feature/#702 - sign up page

New file:

sign_up_page.dart: Sign Up Page

Impacted files:

login_page.dart: added a call to new page SignUpPage
smooth_text_form_field.dart: added parameter textInputType (for emails); fixed the "obscure" bug
user_management_helper.dart: added validation methods for email, username and password

info • Prefer const with constant constructors • packages/smooth_app/lib/pages/user_management/sign_up_page.dart:46:16 • prefer_const_constructors
info • Prefer const with constant constructors • packages/smooth_app/lib/pages/user_management/sign_up_page.dart:144:13 • prefer_const_constructors
info • Prefer const with constant constructors • packages/smooth_app/lib/pages/user_management/sign_up_page.dart:160:21 • prefer_const_constructors
info • Prefer const with constant constructors • packages/smooth_app/lib/pages/user_management/sign_up_page.dart:164:30 • prefer_const_constructors
info • Prefer const over final for declarations • packages/smooth_app/lib/pages/user_management/sign_up_page.dart:171:27 • prefer_const_declarations
info • Prefer const with constant constructors • packages/smooth_app/lib/pages/user_management/sign_up_page.dart:201:22 • prefer_const_constructors
info • Prefer const with constant constructors • packages/smooth_app/lib/pages/user_management/sign_up_page.dart:229:22 • prefer_const_constructors
info • Avoid escaping inner quotes by converting surrounding quotes • packages/smooth_app/lib/pages/user_management/sign_up_page.dart:230:19 • avoid_escaping_inner_quotes
info • Prefer const with constant constructors • packages/smooth_app/lib/pages/user_management/sign_up_page.dart:300:15 • prefer_const_constructors
info • Prefer const with constant constructors • packages/smooth_app/lib/pages/user_management/sign_up_page.dart:302:18 • prefer_const_constructors

New CI output
line 187, column 93 of packages/smooth_app/lib/pages/user_management/sign_up_page.dart: Expected to find ','.
╷
187 │                       'You have to agree if you'd like to get an account. Note that you can still use the app and contribute anonymously.',
│                                                                                ^^^^^
╵
line 187, column 138 of packages/smooth_app/lib/pages/user_management/sign_up_page.dart: Expected an identifier.
╷
187 │                       'You have to agree if you'd like to get an account. Note that you can still use the app and contribute anonymously.',
│                                                                                ^^
╵
line 187, column 59 of packages/smooth_app/lib/pages/user_management/sign_up_page.dart: Expected to find ','.
╷
187 │                       'You have to agree if you'd like to get an account. Note that you can still use the app and contribute anonymously.',
│                                                           ^^^
╵
line 187, column 126 of packages/smooth_app/lib/pages/user_management/sign_up_page.dart: Expected to find ','.
╷
187 │                       'You have to agree if you'd like to get an account. Note that you can still use the app and contribute anonymously.',
│                                                                                ^^^^^^^^^^^
╵
line 187, column 63 of packages/smooth_app/lib/pages/user_management/sign_up_page.dart: Expected to find ','.
╷
187 │                       'You have to agree if you'd like to get an account. Note that you can still use the app and contribute anonymously.',
│                                                               ^^
╵
line 187, column 66 of packages/smooth_app/lib/pages/user_management/sign_up_page.dart: Expected to find ','.
╷
187 │                       'You have to agree if you'd like to get an account. Note that you can still use the app and contribute anonymously.',
│                                                                  ^^^^^^^
╵
line 188, column 23 of packages/smooth_app/lib/pages/user_management/sign_up_page.dart: Expected to find ','.
╷
188 │                       style: TextStyle(color: Theme.of(context).errorColor),
│                       ^^^^^
╵
line 187, column 99 of packages/smooth_app/lib/pages/user_management/sign_up_page.dart: Expected to find ','.
╷
187 │                       'You have to agree if you'd like to get an account. Note that you can still use the app and contribute anonymously.',
│                                                                                ^^^
╵
line 187, column 103 of packages/smooth_app/lib/pages/user_management/sign_up_page.dart: Expected to find ','.
╷
187 │                       'You have to agree if you'd like to get an account. Note that you can still use the app and contribute anonymously.',
│                                                                                ^^^
╵
line 187, column 107 of packages/smooth_app/lib/pages/user_management/sign_up_page.dart: Expected to find ','.
╷
187 │                       'You have to agree if you'd like to get an account. Note that you can still use the app and contribute anonymously.',
│                                                                                ^^^
╵

@teolemon Don't worry: it's just some suggestion made by @M123-dev that I agreed to merge from github - the problem was that there was a typo with a quote. I'm about to commit.

@teolemon @M123-dev Thank you guys for your code review and suggestions!
The tricky part here is testing; I guess there should be a naming convention for all the users we're supposed to create during the tests.

test-xyz !

test-xyz ?

Hey it's a food app: what about taste-xyz? ;)
Anyway the hyphen is forbidden.
Let's say "testoffXYZ", with XYZ being whatever with lowercase and digits.

The signup button does not open the view

@teolemon Which view would that open?
If the register process failed, you see an error dialog, and stay on the screen.
If it is successful, you see a congratulations dialog, and go back one screen (to Login page) and back another screen (to Food Preferences).


Ionic React app issue in paymet sheet and payment flow

Platform

[x] Web

Describe the bug
Accept payment is not working on  ionic react js app. i have two issues:
1 - when i present payment sheet for the first time it appears like this

but when close and open again it appears fine and this is a bad experience for the user
2 - when i try to test the card payment using the test api keys and test data on stripe official documentation the page is redirect to the same page appended to it the query of zip code http://localhost:8100?zipCode=00000 and no completation callback is called and i try this for payment sheet and payment flow and i think my server code is fine and my stripe account is fine, cause i test it on the official react js  api and it success. also when i click on presentPaymentSheet it logs this error

client side package.json

  "dependencies": {
    "@capacitor-community/stripe": "^3.7.2",
    "@capacitor-firebase/authentication": "^0.3.0",
    "@capacitor/android": "3.5.1",
    "@capacitor/app": "1.1.1",
    "@capacitor/core": "3.5.1",
    "@capacitor/geolocation": "^1.3.1",
    "@capacitor/google-maps": "^1.0.0",
    "@capacitor/haptics": "1.1.4",
    "@capacitor/keyboard": "1.2.2",
    "@capacitor/status-bar": "1.0.8",
    "@ionic/react": "^6.1.7",
    "@ionic/react-router": "^6.1.7",
    "@reduxjs/toolkit": "^1.8.2",
    "@stripe-elements/stripe-elements": "^1.1.0",
    "@stripe/react-stripe-js": "^1.8.1",
    "@stripe/stripe-js": "^1.31.0",
    "@testing-library/jest-dom": "^5.11.9",
    "@testing-library/react": "^13.3.0",
    "@testing-library/user-event": "^14.2.0",
    "@types/jest": "^27.5.1",
    "@types/node": "^17.0.36",
    "@types/react": "^16.14.3",
    "@types/react-dom": "^16.9.10",
    "@types/react-router": "^5.1.11",
    "@types/react-router-dom": "^5.1.7",
    "firebase": "^9.8.2",
    "ionicons": "^6.0.1",
    "prop-types": "^15.8.1",
    "react": "^17.0.1",
    "react-dom": "^17.0.1",
    "react-redux": "^8.0.2",
    "react-router": "^5.2.0",
    "react-router-dom": "^5.2.0",
    "react-scripts": "^5.0.0",
    "typescript": "^4.7.2",
    "web-vitals": "^2.1.4",
    "workbox-background-sync": "^6.5.3",
    "workbox-broadcast-update": "^6.5.3",
    "workbox-cacheable-response": "^6.5.3",
    "workbox-core": "^6.5.3",
    "workbox-expiration": "^6.5.3",
    "workbox-google-analytics": "^6.5.3",
    "workbox-navigation-preload": "^6.5.3",
    "workbox-precaching": "^6.5.3",
    "workbox-range-requests": "^6.5.3",
    "workbox-routing": "^6.5.3",
    "workbox-strategies": "^6.5.3",
    "workbox-streams": "^6.5.3"
  },

client side code
App.tsx
import { IonApp, setupIonicReact } from "@ionic/react";
import { FC } from "react";
import { FirebaseAuthProvider } from "./contexts/FirebaseAuthContext";
import { CapacitorStripeProvider } from "@capacitor-community/stripe/dist/esm/react/provider";
import Routes from "./routes";
import PageLoading from "./components/PageLoading";

/* Core CSS required for Ionic components to work properly */
import<EMAIL_ADDRESS>
/* Basic CSS for apps built with Ionic */
import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>
/* Optional CSS utils that can be commented out */
import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>
/* Theme variables */
import "./theme/variables.css";

setupIonicReact();

const App: FC = () => (
  <CapacitorStripeProvider
    publishableKey={process.env.REACT_APP_STRIPE_API_KEY}
    fallback={<PageLoading />}
  >
    <IonApp>
      <FirebaseAuthProvider>
        <Routes />
      </FirebaseAuthProvider>
    </IonApp>
  </CapacitorStripeProvider>
);

export default App;

import { useCapacitorStripe } from "@capacitor-community/stripe/dist/esm/react/provider";
import { PaymentSheetEventsEnum } from "@capacitor-community/stripe";
import { PaymentIntentResult } from "src/interfaces/PaymentIntentResult";
import { IonContent, IonButton } from "@ionic/react";
import { FC, useCallback, useEffect, useState } from "react";

const Content: FC = () => {
  const {stripe} = useCapacitorStripe();

  const [isLoading, setIsLoading] = useState(true);
  const [paymentIntentResult, setPaymentIntentResult] =
    useState<PaymentIntentResult>();

  const createPaymentIntent = useCallback(async () => {
    const result = await fetch(
      process.env.REACT_APP_API_BASE_URL,
      { method: "GET" }
    );
      setPaymentIntentResult((await result.json()) as PaymentIntentResult);
      setIsLoading(false);
  }, []);

  useEffect(() => {
    createPaymentIntent();
    stripe.addListener(PaymentSheetEventsEnum.Loaded, () => {
      console.log("loaded");
    });
    stripe.addListener(PaymentSheetEventsEnum.Canceled, () => {
      console.log("Canceled");
    });
    stripe.addListener(PaymentSheetEventsEnum.Completed, () => {
      console.log("Complete");
    });
    stripe.addListener(PaymentSheetEventsEnum.FailedToLoad, () => {
      console.log("failed to laod");
    });
  }, [createPaymentIntent, stripe]);

  const handlePay = async (
  ): Promise<void> => {
      if (!paymentIntentResult) return;
      const {
        customerEphemeralKeySecret,
        customerId,
        paymentIntentClientSecret,
      } = paymentIntentResult;
      await stripe.createPaymentSheet({
        paymentIntentClientSecret,
        customerId,
        customerEphemeralKeySecret,
        merchantDisplayName: "app name",
      });
      await stripe.presentPaymentSheet();
  };

  return (
    <IonContent fullscreen>
      <IonButton onClick={handlePay} disabled={isLoading}>PAY</IonButton>
    </IonContent>
  );
};

export default Content;

server side code which has no issues by the way
    const stripe = new Stripe(STRIPE_TEST_SECRET_KEY, {
      apiVersion: "2020-08-27",
    });
    const customer = await stripe.customers.create();
    const { secret: customerEphemeralKeySecret } =
      await stripe.ephemeralKeys.create(
        { customer: customer.id },
        { apiVersion: "2020-08-27"}
      );
    const { client_secret: paymentIntentClientSecret } =
      await stripe.paymentIntents.create({
        amount: 2000,
        currency: "usd",
        customer: customer.id,
      });
    if (!customerEphemeralKeySecret || !paymentIntentClientSecret) {
      throw Error();
    }

    const result: PaymentIntentResult = {
      paymentIntentClientSecret,
      customerEphemeralKeySecret,
      customerId: customer.id,
    };

    res.json(result);

@mostafa3ly  Thanks for issue. I released next version, please try this:
npm i @capacitor-community/stripe@latest @stripe-elements/stripe-elements@latest

This is https://github.com/stripe-elements/stripe-elements issue. If you have next issue, please ask here.

This worked for me!

@hmarquez-solutions @mostafa3ly I'm glad you got it sorted out!
Did you use this plugin for production? If yes, please tell us what app. This help development this plugin.
👉 https://github.com/capacitor-community/stripe/issues/145
Thanks.


PT should start as normal user if starting as Administrator failed.

If restarting as administrator (either when initiated form the settings screen or by the "always run as administrator" setting) fails, PT should fall back to running as a normal user instead of exiting.

Fix available in 0.15.0 https://github.com/microsoft/PowerToys/releases


Support auto-scale of distributed scheduler

In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release

Describe the feature
Distributed scheduler runs with both Etcd and job scheduler together in the same binary. Today, to change the number of replicas, there are two limitations:

Etcd must run with an odd number of replicas, having 5 as a practical limit.
Dist scheduler must be aware of how many instances there are total, forcing all instances to restart with a new setting if any instance is added or removed.

This feature is to allow distributed scheduler to scale up or down the number of replicas automatically based on a given metric (via KEDA, for example) - the min number of replicas is 1 for non-HA and 3 for HA mode.
Release Note

RELEASE NOTE: ADDED support for auto-scale of scheduler service

For the etcd limitation, we can solve it by having only the first scheduler instance to run embedded etcd in non-HA mode and the first 3 instances in case of HA mode. There is little gain for running more than 3 etcd instances.

To solve the limitation of forcing a restart of all instances when a new member is added/removed, I recommend to add a virtual partitioning layer. It means that the total number of leaders would be an upper bound of how many instances there can be (37, for example), then the number of instances would "compete" for being a leader of a subset of those. The only scenario that requires all instances to restart is if the number of partition changes, which should be a rare event.

To solve the limitation of forcing a restart of all instances when a new member is added/removed, I recommend to add a virtual partitioning layer. It means that the total number of partitions would be an upper bound of how many instances there can be (37, for example), then the number of instances would "compete" for being a leader of a subset of those. The only scenario that requires all instances to restart is if the number of partition changes, which should be a rare event.

Active competition of keys eats into db QPS and degrades throughput of jobs which I think we should avoid. We also have a balance of jobs across replicas currently- it's not clear if virtual partitions would continue that.
I'd recommend continuing with the current strategy of the leadership table, but now replica count can be discovered from the leadership key namespace with a watch.  Upon a new replica joining (or replica going down), other replicas would observe this change, write their new known partitionTotal, and reconfigure its queue accordingly. Like today, a replica would not process its queue until it has observed other replicas overlapping queues have observed the new partitionTotal.

To solve the limitation of forcing a restart of all instances when a new member is added/removed, I recommend to add a virtual partitioning layer. It means that the total number of partitions would be an upper bound of how many instances there can be (37, for example), then the number of instances would "compete" for being a leader of a subset of those. The only scenario that requires all instances to restart is if the number of partition changes, which should be a rare event.

Active competition of keys eats into db QPS and degrades throughput of jobs which I think we should avoid. We also have a balance of jobs across replicas currently- it's not clear if virtual partitions would continue that. I'd recommend continuing with the current strategy of the leadership table, but now replica count can be discovered from the leadership key namespace with a watch.  Upon a new replica joining (or replica going down), other replicas would observe this change, write their new known partitionTotal, and reconfigure its queue accordingly. Like today, a replica would not process its queue until it has observed other replicas overlapping queues have observed the new partitionTotal.

I did not advocate for active competition of keys. I advocated for making the partitionTotal virtually larger than the number of replicas and have each of them "compete" for a subset. Most of the time is only one instance per entry. It is not competing for each job key.

To solve the limitation of forcing a restart of all instances when a new member is added/removed, I recommend to add a virtual partitioning layer. It means that the total number of partitions would be an upper bound of how many instances there can be (37, for example), then the number of instances would "compete" for being a leader of a subset of those. The only scenario that requires all instances to restart is if the number of partition changes, which should be a rare event.

Active competition of keys eats into db QPS and degrades throughput of jobs which I think we should avoid. We also have a balance of jobs across replicas currently- it's not clear if virtual partitions would continue that. I'd recommend continuing with the current strategy of the leadership table, but now replica count can be discovered from the leadership key namespace with a watch.  Upon a new replica joining (or replica going down), other replicas would observe this change, write their new known partitionTotal, and reconfigure its queue accordingly. Like today, a replica would not process its queue until it has observed other replicas overlapping queues have observed the new partitionTotal.

I did not advocate for active competition of keys. I advocated for making the partitionTotal virtually larger than the number of replicas and have each of them "compete" for a subset. Most of the time is only one instance per entry. It is not competing for each job key.

After thinking about this, either way, there would need to be some sort of sync cross scheduler instances to coordinate the total number of replicas. Partitioning the leadership table might help with the rebalancing.

/assign

/nostale


Maven plugin throws a NullPointerException on purge

Describe the bug
When running mvn org.owasp:dependency-check-maven:6.0.1:purge it throws a NullPointerException.
Version of dependency-check used
Maven plugin version 6.0.1 on macOS 10.15 with AdoptOpenJDK 11 and Maven 3.6.3_1.
Log file
Debug output: https://gist.github.com/jashaj/d5077e2291049b166dc4c9cea4615916
To Reproduce
Steps to reproduce the behavior:

First build the project with mvn clean install
Run the check with mvn oorg.owasp:dependency-check-maven:aggregate. No vulnerabilities found.
Purge the database with mvn org.owasp:dependency-check-maven:purge

Expected behavior
The purge should succeed even if there's nothing to purge

Thanks for pointing this out - a fix will be included in the next release.


[NEW ALGORITHM] Add DFS and BFS Algorithm

Issue will be closed if:

You mention more than one algorithm. You can create a separate issue for each algorithm once the current one is completed.
You propose an algorithm that is already present or has been mentioned in a previous issue.
You create a new issue without completing your previous issue.

Note: These actions will be taken seriously. Failure to follow the guidelines may result in the immediate closure of your issue.

Name:
DFS and BFS
About:
I want to add Breadth First Search (BFS) and Depth First Search a graph traversal algorithm. This are fundamental algorithms used for traversing or searching graphs and trees.

Labels:
new algorithm, gssoc-ext, hacktoberfest, level1

Assignees:

[x] Contributor in GSSoC-ext
[x] Want to work on it

Hey i would like to work on this can you assign this to me


Create ci-pipeline.yml

Trying to add the first Github Action. For now, this pipeline will just test the ui.
Eventually, we will build this pipeline out to also test and build the go code as well.

Looks like this PR will actually run the new pipeline! So I don't have to merge it to see how it behaves! I will continue to work on this pull request to update the pipeline to also test and build the go code as well


SwiftyJSON.swift is deleted?

Found SwiftyJSON deleted in current Spring folder, any reasons?

We never included SwiftyJSON in the Spring folder.


[FLINK-29532][Connector/Pulsar] Update Pulsar dependency to 2.10.1

What is the purpose of the change

Update the Pulsar dependency to 2.10.1 to benefit of the fixes highlighted at https://github.com/apache/pulsar/releases/tag/v2.10.1

Brief change log

Update dependencies

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): yes
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

@syhily @imaffe Can one of you have a look at this PR?

I think some test dependencies may need extra check. I'll review this PR latter today in China.

@syhily Thanks, I've made the changes. Please check again, I'll wait for CI to pass


Two Autoscale Group issue

It looks like we're not picking the rally point up correctly anymore.  This might be related to the two groups.

Haven't been able to recreate this.  Not sure what it is.

This is the same as this issue: https://github.com/couchbase-partners/amazon-cloud-formation-couchbase/issues/20


erroneous 122 "mutating read-only global variable 'ngx'" on correct lua-nginx code

When running against our lua-nginx codebase I have to add ignore = {"122/ngx"} to .luacheckrc since luacheck flags a number of valid lua-nginx calls as wrong.
Simple example:
$ cat lua/test.lua
ngx.status = ngx.HTTP_CREATED
$ luacheck --std ngx_lua lua/test.lua
Checking lua/test.lua                             1 warning

    lua/test.lua:1:1: mutating read-only global variable 'ngx'

Total: 1 warning / 0 errors in 1 file

But according to https://github.com/openresty/lua-nginx-module#ngxstatus this is completely valid lua-nginx code.  It seems like having ngx as a read-only global isn't fine-grained enough or not quite accurate.

Probably related to #46, as it would require the same refinement on checking table-type globals. Here, setting a specific (member) field obviously is okay, while other assignments might be undesired.

It's not fine-grained enough but for as a temporary fix I'll remove remove read-only status of ngx global in ngx_lua std.


Update website theme

Discuss better themes to use. The current one is very minimal and bare-bones.

https://github.com/McGill-NLP/project-page-template


Feature Request: Include 'Composerize' in the Stacks page

A handy feature to add to the Stacks page would be this project:
https://github.com/magicmark/composerize
Perhaps added to the 'Web Editor' section so you can enter your docker run line and have it auto-fill in the composer code. Maybe a simple text field above the "You can get more information about Compose file format in the official documentation." line?
I would also like to see this issue included in the Portainer version (https://github.com/magicmark/composerize/issues/138), but I'm not sure whether you'd want to add that youselves or leave that up to the Compozerize maintainer.

Hi there @STaRDoGG, Thanks for the feature request!
Can you please open a separate feature request for this behaviour:
It would also be cool to have an "export" button added to that stacks page that when clicked, exports the current code in the window to a docker-compose.yml file (best if an actual standard "save as..." dialog box opens when clicked first to allow choosing where to save it, and giving the ability to rename the file if wanted. It would save the steps of having to manually highlight, copy, create new file, paste, save file, rename file, etc. =)


feat: Implement RLP Encoding and Decoding

Feature Request
Describe the Feature Request
Recursive Length Prefix (RLP) serialization is used extensively in Ethereum's execution clients. RLP standardizes the transfer of data between nodes in a space-efficient format. The purpose of RLP is to encode arbitrarily nested arrays of binary data, and RLP is the primary encoding method used to serialize objects in Ethereum's execution layer.
Doc source : https://ethereum.org/en/developers/docs/data-structures-and-encoding/rlp/

Describe Preferred Solution

Describe Alternatives

Related Code

Additional Context

If the feature request is approved, would you be willing to submit a PR?
(Help can be provided if you need assistance submitting a PR)

[X] Yes
[ ] No

@Quentash check https://github.com/kkrt-labs/kakarot-ssj/commit/7d150bff87ebf1e47b7733eaa854bfef12c36cd7


test win arm64 ci

Hello, I am a code review bot on flows.network.
It could take a few minutes for me to analyze this PR. Relax, grab a cup of coffee and check back later. Thanks!


[Unknown Item] - Flasks

Unknown Item
Flasks
Item Text
Please provide the item's description

Can be copied with ctrl+shift+c
Can also be copied from below the error message

Item Class: Life Flasks
Rarity: Magic
Abundant Gargantuan Life Flask of the Copious
--------
Recovers 1129 (augmented) Life over 5 Seconds
Consumes 10 of 102 (augmented) Charges on use
Currently has 102 Charges
--------
Requirements:
Level: 40
--------
Item Level: 42
--------
59% increased Amount Recovered
36% increased Charges
--------
Right click to drink. Can only hold charges while in belt. Refill at Wells or by killing monsters.

Item Class: Mana Flasks
Rarity: Magic
Effervescent Colossal Mana Flask of the Wide
--------
Recovers 165 Mana over 2.50 Seconds
Consumes 10 of 93 (augmented) Charges on use
Currently has 93 Charges
--------
Requirements:
Level: 30
--------
Item Level: 36
--------
24% of Recovery applied Instantly
24% increased Charges
--------
Right click to drink. Can only hold charges while in belt. Refill at Wells or by killing monsters.

Need to update python script to grab flasks it seems


Implement Tag Function for Notes

Implement Tag Function for Notes
Issue:
We need a tag function, similar to how hashtags work on most apps. This would allow users to add tags to a note and make notes searchable by tags.
Acceptance Criteria:

Users can add tags to a note.
Notes become searchable by tags.

Reference:
Hashtags functionality on most apps

Tagging branch has taken care of this. Merged into deliverable-5 branch.


Implement use of Sentry

https://flask.palletsprojects.com/en/2.1.x/errorhandling/

Not implementing at this time.


🧾 Better Issue Reports

This PR introduced formatted issue reports. Pictures below show what the issue creation process will look like after this PR.
Note: You won't be able to see the below images on Github, as Github only shows those views when committed on the main branch.


Networking - Enable support for docker macvlan networking

From @sameo on May 11, 2017 14:1
From @mcastelino on August 24, 2016 16:13
Enable macvlan networking support. This will allow CC containers to directly access the underlay (vlan seperated) so that they can communicate with other VM's, Host machines or containers which have access to the underlay.
https://github.com/docker/libnetwork/blob/master/docs/macvlan.md
Copied from original issue: 01org/cc-oci-runtime#163
Copied from original issue: containers/virtcontainers#248

From @sameo on May 11, 2017 14:1
From @mcastelino on March 1, 2017 18:37
macvlan does not work today due to macaddress related issue. The macaddress on the interface cannot be moved to the VM. I will work on trying to upstream changes to CNM to allow for creation of macvlan vs macvtap interfaces based on the runtime type leveraging --network-opt based on this PR https://github.com/docker/docker/pull/27638#issuecomment-281742437

From @sameo on May 11, 2017 14:1
From @mcastelino on March 22, 2017 0:41
Exploring extending the docker libnetwork to support runtime hints.
https://github.com/docker/libnetwork/pull/1697
Also exploring extending CNI to support runtime hints
https://github.com/containernetworking/cni/pull/384


Added ZREVRANGEBYLEX command

Added the ZREVRANGEBYLEX command and tests. Closes #200.

Good catch, thanks.
Please fix flake8 errors (run make flake to see the list)

Codecov Report

Merging #201 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #201      +/-   ##
==========================================
+ Coverage   95.42%   95.43%   +<.01%
==========================================
  Files          55       55
  Lines        7173     7227      +54
  Branches      584      592       +8
==========================================
+ Hits         6845     6897      +52
- Misses        239      240       +1
- Partials       89       90       +1

Impacted Files
Coverage Δ

aioredis/commands/sorted_set.py
100% <100%> (ø)
:white_check_mark:

tests/sorted_set_commands_test.py
99.58% <100%> (+0.03%)
:white_check_mark:

aioredis/pubsub.py
93.12% <0%> (-1.06%)
:x:

aioredis/sentinel/pool.py
79.37% <0%> (-0.78%)
:x:

aioredis/commands/server.py
76.59% <0%> (+1.41%)
:white_check_mark:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bc44c9a...431146e. Read the comment docs.

The flake8 errors have been fixed

Thanks


Disable cookies on outbound requests

Codecov Report

Merging #258 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #258      +/-   ##
==========================================
+ Coverage   74.79%   74.79%   +<.01%
==========================================
  Files         231      231
  Lines       10521    10523       +2
==========================================
+ Hits         7869     7871       +2
  Misses       2652     2652


Export Issues

Problem
I am really excited about this new 6.0 version of NLT.
But I found that .table files cannot be exported neither into fixed html/pdf  format or editable csv files.
Solution
Is it possible that in the future .table files can be compatible with pandoc plugin?
Additional details
No response

I would like the possibility to flatten the table to markdown or render as pdf

@Lithen7 @Oblique82 @Aanuol Added markdown/csv export in 6.13.0 :)

May I kindly ask if there is a possibility to have the DataLoom file exported as a PDF or image (so I can share an uneditable overview with the others)?


Migrate to Vapor 2.0

🤕 I totally missed this! I will take a look at this when I'm ready to upgrade it.

Recently migrated to Vapor 3, closing this.


Error do not implement Serialize Deserialize

Hi, I need to put a anyhow::Result in a struct that derive the traits serde::Serialize and serde::Desrilize but anyhow::Error do not implement these traits so is impossible to derive them in my struct.
There is a way around? These traits will ever be implemented?

For your use case, could you share how you would expect anyhow::Error to be represented from serde's perspective? For example what would be your expectation for what the following program should print?:
fn main() {
    let io_e = std::io::Error::new(std::io::ErrorKind::Other, "...");
    let any_e = anyhow::Error::from(io_e);
    println!("{}", serde_json::to_string(&any_e).unwrap());
}


Visualization tracker

Open PR's for code review

[ ] @rinku-kumar-psl https://github.com/opensearch-project/observability/pull/784
[ ] @rinku-kumar-psl https://github.com/opensearch-project/observability/pull/780
[ ] @ruchika-narang  https://github.com/opensearch-project/observability/pull/778
[ ] @deepaknevdepsl  https://github.com/opensearch-project/observability/pull/776
[ ] @pratibhapandey16 https://github.com/opensearch-project/observability/pull/759
[ ] @ruchika-narang https://github.com/opensearch-project/observability/pull/743
[x] @mrunal-z https://github.com/opensearch-project/observability/pull/693

List of issues/features

Legend

🟢 In progress
🟡 Delayed
🔴 Blocked

 On hold

[ ] https://github.com/opensearch-project/observability/issues/774  🟢
[ ] https://github.com/opensearch-project/observability/issues/773  🟢
[ ] https://github.com/opensearch-project/observability/issues/772  🟢
[ ] https://github.com/opensearch-project/observability/issues/777
[ ] https://github.com/opensearch-project/observability/issues/682

General list of issues

[ ] https://github.com/opensearch-project/observability/issues/774
[ ] https://github.com/opensearch-project/observability/issues/773
[ ] https://github.com/opensearch-project/observability/issues/772
[ ] https://github.com/opensearch-project/observability/issues/777
[ ] https://github.com/opensearch-project/observability/issues/682

Open PR's for code review

[ ] https://github.com/opensearch-project/observability/pull/784
[ ] https://github.com/opensearch-project/observability/pull/780
[ ] https://github.com/opensearch-project/observability/pull/778
[ ] https://github.com/opensearch-project/observability/pull/776
[ ] https://github.com/opensearch-project/observability/pull/759
[ ] https://github.com/opensearch-project/observability/pull/743
[ ] https://github.com/opensearch-project/observability/pull/693

OpenSearch | Team distribution

`

Sr. No
Owner Name
Tasks / Deliverables
Status
Comments / Blockers
Available for next tasks

1.
Nidhi Singhai
Cypress testing PR for trace analytics dashboard
Done
Team will prepare the test cases on operational and notebook
Available

2.
Pratibha Pandey
Cypress testing PR for trace analytics dashboard
Done
Team will prepare the test cases on operational and notebook
Available

3.
Rinku Kumar
Showing Toast message to user on save button click. (when user didn’t select any of the value options)
Dev Complete
Review Approval pending
Available

Line Chart
Dev Complete
Review Approval pending
Available

Bar Chart
Dev Complete
Review Approval pending
Available

4.
Abhay Pandey
Nginx
On Hold
As per discussion with Anirudha keep this on hold
Available

5.
Zishan Khan
Kafka
On Hold
As per discussion with Anirudha keep this on hold
Available

6.
Kuldeep Bhise
Apache
On Hold
As per discussion with Anirudha keep this on hold
Available

7.
Mrunal Zambre
Exploration of config options
In Progress
Awaiting confirmation from Anirudha
Available

Tree Map Chart
Dev Complete
Review Approval pending

Node Graph
On Hold
As per discussion with Anirudha keep this on hold

8.
Ramneet Chopra
Table view replacement
On Hold
As per discussion with Anirudha keep this on hold
Available

9.
Deepak Nevde
Exploration of alert list
On Hold
As per discussion with Anirudha keep this on hold
Available

Pie Chart
Dev Complete
Review Approval pending

10.
Ruchika Narang
Histogram Chart
Dev Complete
Review Approval pending
Available

Logs View
On Hold
As per discussion with Anirudha keep this on hold

Heat Map
Dev Complete
Review Approval pending

11.
Amruta Basatwar
Bar Chart
Dev Complete
Review Approval pending
Available

12.
Tejal Borase
Project overview and rampup
In Progress

13.
Naman Chaturvedi
Project overview and rampup
In Progress

14
Mounika Erri
Project overview and rampup
In Progress

`

Daily task status 09 | June | 2022

Sr. No
Owner Name
Tasks / Deliverables
Status
Comments / Blockers

1.
Nidhi Singhai
Cypress test case for HeatMap are done and internal PR is raised
In Progress

2.
Pratibha Pandey
Created internal PR for trace analytics dashboard cypress test cases
In Progress

3.
Rinku Kumar
Showing toast message to user on save button click, when they have not selected any of the value options
Pull Request raised
got one approval and waiting for another.

4.
Abhay Pandey
Nginx
In Progress
Added the nginx on the VM including fluentd.

5.
Zishan Khan
Nginx
In Progress
Added JSON format for the data and added the data validation part.

7.
Mrunal Zambre
Exploration of config options
In Progress
Working on verifing and uploading document with findings.

8.
Ramneet Chopra
Table view replacement
On Hold
table view visualization column alignment via config panel

9.
Deepak Nevde
Exploration of alert list
On Hold
As per discussion with Anirudha keep this on hold

10.
Ruchika Narang
Histogram Chart
Dev Complete
Review Approval pending

11.
Amruta Basatwar
Bar Chart
Dev Complete
Review Approval pending

12.
Tejal Borase
Project overview and rampup
In Progress

13.
Naman Chaturvedi
Project overview and rampup
In Progress

14
Mounika Erri
Project overview and rampup
In Progress

Daily task status 10 | June | 2022

We have few queries to newly added tickets and need your inputs on those.

Topic/ Ticket id
Dev
Status
Comments/Queries
what are you going to do today?
Any impediments?

Cypress testing - Notebook
Nidhi
In Progress
Analysed and started testcases for this.
Analysed and started testcases for this.

Cypress testing - Operational Panels
Pratibha
In Progress
Analysed and started testcases for this.
Analysed and started testcases for this.

Opensearch Server logs
Abhay
In Progress
analysing opensearch server logs to find our what metrics can be derived.
analysing opensearch server logs to find our what metrics can be derived.

Nginx
Abhay
In Hold

Apache +Fluent-bit
Kuldeep
In-progress
Configured the Fluent-bit  and exploration in progress.
Configured the Fluent-bit and exploration in progress.

Kafka
Zishan
In-progress
Integration in progress

Exploration of config options
Mrunal
On hold
Created new tickets based on explored config options - https://github.com/opensearch-project/observability/issues/788, https://github.com/opensearch-project/observability/issues/789, https://github.com/opensearch-project/observability/issues/790

Need further discussion on created issues for this.

Table view replacement
Ramneet
On hold

Github status tracker creation
Deepak
Done
Created github status tracker

Enhancement of Pie chart UI
Mrunal
In-progress
Created new ticket - https://github.com/opensearch-project/observability/issues/793

Enhancement of Treemap chart UI
Mrunal
In-progress
Created new ticket - https://github.com/opensearch-project/observability/issues/796

Enhancement of Heatmap chart UI
Ruchika
In-progress
Created new ticket - https://github.com/opensearch-project/observability/issues/791

Enhancement of Histogram chart UI
Ruchika
In-progress
Created new ticket - https://github.com/opensearch-project/observability/issues/795

Enhancement of Bar chart UI
Amruta
In-progress
Created new ticket - https://github.com/opensearch-project/observability/issues/792

Enhancement of Time Series UI
Rinku
In-progress
Created new ticket - https://github.com/opensearch-project/observability/issues/794

UI changes #797
Deepak
In-progress
Created new ticket - https://github.com/opensearch-project/observability/issues/797

PPL and UI communication as per # 787
Ramneet
In-progress
Created new ticket - https://github.com/opensearch-project/observability/issues/798


Some question

I have setup your project successfully, however I don't understand some thing, please guide me :)

I register an account on https://blockchain.info. after select a file from my computer, it generate hash code such as "mnvky8Pk9YVNBREki14cdL58DAAqNUNih7". I tried to use my account send 0.0005 BTC to this address but blockchain website inform "Invalid Bitcoin Address".

Why is  0.0005 BTC and can I send lower price  ?

Thank you.

ok.
I found the aswser for my first question.
By modify code
$scope.address = new bitcore.Address(publicKey, bitcore.Networks.testnet).toString();

to
$scope.address = new bitcore.Address(publicKey, bitcore.Networks.livenet).toString();

Great! Maybe @msalcala11 can answer your second question?

Can anyone please help me to answer second my question ?

@bachvtuan - Yes, you may send less than 0.0005 BTC. Just make sure that whatever amount you send is slightly above the market miner fee at the time so that your transaction makes it into a block. You can specify your preferred amount here: https://github.com/bitpay/i-made-this/blob/master/app.js#L130.
Or better yet, you could submit a pull request with logic that determines the current market fee dynamically and requests that amount from the user.
Let me know if that helps!

Thank you. I made a search yesterday and I know the minimal fee is 10k satoshis. https://en.bitcoin.it/wiki/Transaction_fees#Technical_info


Validation problem

User on TG @hyperattractive
Idena address: https://scan.idena.io/address/0xDee206F974F89D87127b43f11ef7c819BA0F59d6
Used my shared node.

https://user-images.githubusercontent.com/37978870/110619101-b0221300-8197-11eb-9327-a9dddd11f1ff.MP4

Hi, there was a problem with our shared nodes during this validation. If the problem still exists, please make another issue.


Allow per-layer explanation text for map modal sidebars

Make it possible to explain each layer, and make the text stand out from any intro/outro text for the entire layer list, possibly through indentation or different font, style, etc.

The functionality to do this is in place (see #334) via the layers slot in MapBlock.


Can we have date range zooming as subpanel like highstock chart?

if we can have date range zooming for line type chart like highstock or google finance, that will be great.
This is new feature but widely used.
Thanks team.

I think this is best added in a plugin.

I agree, this is very useful.
sample:

more: https://www.highcharts.com/stock/demo

Hi there I just want to say stock business is huge area using charts and particularly this is what blocks my pretty big app migrate from highcharts to chart.js
+1

A similar feature has been requested for chartjs-plugin-zoom (chartjs/chartjs-plugin-zoom#160), which I think makes more sense to implement as part of the plugin than in the core library.


npm start and yarn start fail

This is the result of yarn start after I run yarn

I also notice that package.json is cleaned after yarn start

Any ideas ?

I have solved the problem by replacing node-sass with sass package because node-sass is deprecated.
https://stackoverflow.com/questions/70281346/node-js-sass-version-7-0-0-is-incompatible-with-4-0-0-5-0-0-6-0-0


Service which exposes size state

Hey, would like to be able to use ng2-responsive in my TypeScript code as well. Is there any service that exposes this right now?
For instance, would like to be able to do:
if( this.responsive.isLg() ) {
   // ...
}

Interesting, thank you.
I will look to give this functionality to the library. ; )

Interesting, thank you.
I will look to give this functionality to the library. ; )

We are going to need this as well in our project, I can see if I could make this today.
BTW. ManuCutillas whats the status of responsive-css? Have you done any work with that and has there been some problems implementing it? We need this as well and I could have try with adding this if you are not actively working with this.

Hi Janne!
I am not currently working on this. If you want to implement
Responsive-css and perform a pull-request, great!
You are free to create what you need.
Thanks Janne. ; )
El 13/01/17 a las 14:11, Janne Julkunen escribió:

We are going to need this as well in our project, I can see if I could
make this today.
BTW. ManuCutillas whats the status of responsive-css? Have you done
any work with that and has there been some problems implementing it?
We need this as well and I could have try with adding this if you are
not actively working with this.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ManuCutillas/ng2-responsive/issues/53#issuecomment-272439706,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AExn9_WkDkUU7H61uvPRCCnXc5CwDMk2ks5rR3f0gaJpZM4LReDx.

Hi Janne!
I am not currently working on this. If you want to implement Responsive-css and perform a pull-request, great!
You are free to create what you need.
Thanks Janne. ; )

I deleted my message since I noticed that angular team has release flex-layout library which might solve both of these problems for us.
At least they are saying that it would have similar feature to responsive-css in near future using ngClass or similar mechanism.
And since that library already provides a service to get the current size alias so that will also fill my current needs.
If the flex-layout library does not seem to offer everything I need then I will definitely look at implementing those for this library.

This feature, to have a service, is a requirement for us. Any plans to implement this @ManuCutillas  ?

Yes, during this week I will work on it.
Thanks! ; )

any update on this feature?

I can't wait to have that feature too. Hope it will be implemented soon :)

Would be really interested in this feature too. Any updates on it? Any help needed with it?

Hi,
use ResponsiveState and then subscribe to changes with observables like this:
import { Component } from '@angular/core';
import { ResponsiveState } from 'ng2-responsive';

/**
 * This class represents the main application component.
 */
@Component({
  moduleId: module.id,
  selector: 'sd-app',
  templateUrl: 'app.component.html',
  styleUrls: ['app.component.css'],
})
export class AppComponent {
  public sideMode = 'over';
  public sideOpen = false;
  constructor(public thestate: ResponsiveState) {

    // flag if its a mobile
    let mobile = true;

    this.thestate.deviceObserver.subscribe((val) => {

      if (val !== 'mobile') {
        mobile = false;
        this.sideMode = 'side';
        this.sideOpen = true;
      }
    });

    this.thestate.orientationObserver.subscribe((val) => {

      if (mobile === false) {
        if (val === 'landscape') {
          this.sideMode = 'side';
          this.sideOpen = true;
        } else {
          this.sideMode = 'over';
          this.sideOpen = false;
        }
      }
    });
  }
}

I've moved away from ng2-responsive due to this not being resolved, I've created my own service. On window.resize I trigger change detection. Works like a charm, I can use it in both TS as well as in HTML, and it works on resize.
Sorry for hijacking this issue but I hope it's beneficial to people.
@Injectable()
export class MatchMediaService
{
  constructor (private applicationRef: ApplicationRef) {
    window.onresize = () => {
      this.applicationRef.tick(); // running change detection manually
    };
  }

  private rules = {
    print: "print",
    screen: "screen",
    phone: '(max-width: 767px)',
    tablet: '(min-width: 768px) and (max-width: 1024px)',
    desktop: '(min-width: 1025px)',
    portrait: '(orientation: portrait)',
    landscape: '(orientation: landscape)',
    retina: '(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)'
  };
  get isPhone() { return window.matchMedia(this.rules.phone).matches; }

  get isTablet () { return window.matchMedia(this.rules.tablet).matches; };

  get isDesktop () { return window.matchMedia(this.rules.desktop).matches; };

  get isPortrait () { return window.matchMedia(this.rules.portrait).matches; };

  get isLandscape() { return window.matchMedia(this.rules.landscape).matches; };

  get isRetina() { return window.matchMedia(this.rules.retina).matches; };
}

Here's a gist of another variant of the service given by @rolandoldengarm - it doesn't rely on application ref, but rather subscriber functions. I also thought about using an event emitter - but I like the simplicity of the subscriber functions. I was getting errors when calling applicationRef.tick 😢. Mine also is opt-in for subscription, so it doesn't do anything if you don't subscribe (although usually you will want to, in case user resizes the window or other funky things happen).
Cheers!

+1 for this request. It will be really useful in many common use cases!


Figure out how to populate ADTs with C++ souffle interface.

Done, we are successfully populating ADTs from C++.


🎁 Import Image Resizer for Windows

❄ ❄ ❄ ❄
  ❄ ❄ ❄ ❄
🏔   🏔   🏔
🎄  🎅🏻 ⛄   🦌
  🎄    🤶🏻       🎄
Part of #53
cc @crutkas

🔥🔥🔥🔥🔥🔥🔥🔥🔥

@ryanbodrug-microsoft here is the code drop from @bricelam  for image resizer.  It is in a dedicated branch.  I'm merging it in and then your team can start working with it when they have free cycles

Thanks @crutkas.  @arjunbalgovind will be looking into this.


Road to complete IRCv3 support

http://ircv3.net/irc/
IRC Version 3.1

[x] Capability Negotiation
[x] multi-prefix
[ ] account-notify
[ ] away-notify
Requested but we don't do anything with it
[ ] extended-join
Requested but we don't do anything with it
[ ] tls

IRC Version 3.2

[ ] Capability Negotiation
Being worked on in https://github.com/kiwiirc/irc-framework/tree/cap_32
[x] Message Tags
[ ] metadata
[ ] monitor
[ ] account-tag
[ ] batch
[ ] cap-notify
This should be done in irc-fw
[ ] chghost
[x] echo-message
Also supports self-message for ZNC
[ ] invite-notify
[ ] sasl
Broken kiwiirc/irc-framework#43
[x] server-time
[ ] userhost-in-names

@xPaw, should we close this now that we have entries in http://ircv3.net/software/clients.html#web-clients or do you want to keep this around still? I'm fine either way.

This issue was made for our own tracking, not their site.

Yes I get that, but I sense some duplication, hence my question. We can add more details here though, as you did.
On the contrary, I see that their tables has less columns than your lists. Is there anything worth doing on their side?

We choose to not explicitly track Message Tags on that table because it's better for us there to track the features actually allowed by it there -- stuff like server-time and account-tag (it also just didn't fit in there nicely!).

https://github.com/thelounge/lounge/projects/1


Allow user to change import settings after hub has been created

This is really easy, but will take some time to make the UI look pretty.
I'll work on this feature after version 3.0.0 is released 👍

Will it retroactively regenerate all previously imported videos? 🤔

I don't think it should. It will affect only new videos (I'll need to check it doesn't cause problems with different image heights). It will probably add all the missing clips if the user enables clips.
I don't see this as an important feature, but if it works well without much effort I'll add it.
If the user wants to re-generate all the images they could delete the contents of the "filmstrips" folders 🤷

@whyboris This feature will be only after 3.0.0 is released right?
just wondered about this, import settings are actually the wizard settings when creating new hub right?
so maybe the easy way is to use this screen.
we can use the history list, to add a new "edit" button to each line which will load the settings of the hub on the creation form, and buttons will changed to save and/or save and open.
also can edit hub from file (like open from file),
what do you think?

I'm eager to release 3.0.0 which is why I'd probably push this change until later. This change doesn't interfere with anything, so it's not like I need to get it out before 3.0.0 is finalized 🤔
I think I have a vague picture of what you're describing: letting users edit the settings by clicking a newly-added Edit button next to items on the "Recently Opened" list.
My initial thoughts about how it would look:
The "Statistics" tab in 2.X.X is now "Current Hub" tab in 3.X.X and it still shows the statistics about all files and the extraction settings. I was imagining an "Edit" mode there which would change the numbers in those columns to dropdowns & number-input fields. It would be very clear about what each one does.
I'm thinking conceptually it makes sense to edit the hub settings in the place where you can add/remove folders to/from the hub. The UI is almost ready -- just a mater of toggling input boxes.
While we could let users edit hub settings from the wizard-like interface, I think it may be less elegant than the "Current Hub" location I had in mind 🤔
I'm open to a discussion on this. Sorry I didn't make it clear what I had in mind initially.

i'm with you it sound better, this is full description of what need to be done. let's see who will get to it first 😄

I'm going to push this back for a while -- I am too eager to release 3.0.0 first, and then to work on the server aspect of the app 😎

I'm a big fan of this. If I recreate my hub incorrectly, I hate to have to scrap it and start over.  For example, I'd like to be able to change it from 5 thumbnails to 10 thumbnails without starting all over.

Thanks for chiming in @adamwinn -- now that version 3.0.0 is released, we can get started on more features 😁
From the code perspective this feature is rather straight forward -- just will take some time to update the UI (and make it look nice) and take care to delete all thumbnails if thumbnail settings change 👌


Cross-check if min/max calibration for mag is safer than complete sphere fit

The sphere fit can be pulled into a wrong direction by too many samples from one orientation. We probably need to use bins (where min/max would be number of bins = 2) to robustify the procedure.

We should at least thin the samples to avoid fitting the sphere to an unevenly distributed set of points.


Tokens should not always be active

Reported by simo on 12 Dec 2013 16:05 UTC
To avoid shoulder surfing by others tokens should stay in inactive status until pressed.

Comment by npmccallum on 13 Dec 2013 14:52 UTC
As discussed privately, this will be addressed in the next major UI revision.

Modified by npmccallum on 10 Jan 2014 22:00 UTC

Comment by npmccallum on 28 Mar 2014 18:06 UTC
Fixed here: [7f02f57572149f243be526788987aced6a6626ba/android].

Comment by npmccallum on 28 Mar 2014 20:26 UTC
Fix released v1.4 (r13).


code added for student's study portal

Fix to  Issue # 21
===============================
This is a study portal for students where they can write their notes, todo's, see videos, books and all.
===============================
Checklist

[x] I read the contributing guidelines
[x] I structured my project as stated in the contributing guidelines
[x] My project uses dependencies
[ ] I starred the repo
[x] I had fun contributing!

Thanks mate!
Fell free to add another project and star the repo.


del the linux_rootfsPropagation case ,need further modify

I'm thinking we need to have a 'dev' branch.


Add the eval-time GC roots to release.nix so they're cached.

Otherwise they'll get GCd very quickly, which means people will need to
build a lot to even open the shell.

we use an updated nix config based on flakes, perhaps this can be closed


[logging] remove spdlog submodule which resolves many issues

Remove spdlog as logger and replace with simple logging implementation.

rerun tests


Fixes #593.

Coverage increased (+0.1%) to 71.57% when pulling f1a407b5a89c4140d0b801ad3143099672ca3fd5 on radiolips:bugfix/593 into 8e4898557ee9f09b0f0bd576535d3f6ad277660d on troolee:develop.


built-in feature to sort contents of file

Please implement built-in sorting for vscode.  At the moment, I rely on an extension but it would be really nice to have this feature built-in. As a guide, please refer to screenshot below showing that Notepad++ (also a great editor) has this built into the edit menu.  This will ultimately make comparing 2 or more files much easier especially when they are from the interweb and aren't always sorted.

There are built-in commands to sort lines. If that's not enough, extensions are recommended over adding them into Code itself.


Compatibility with infinite technology mod adjustments

Amador Phasma's Nuclear seems to mess with infinite technology,  and I'm not sure if this is a problem on Maraxsis end or theirs,  but it only seems to happen when the two are together with no other mods.
Thanks for taking a look, I'll make this on that mod authors page instead if that is more appropriate.
4.496 Loading mod apm_nuclear_ldinc 0.30.7 (data-final-fixes.lua)
4.526 Error ModManager.cpp:1741: Failed to load mod "apm_nuclear_ldinc": apm_lib_ldinc/lib/utils/technology.lua:284: bad argument #1 of 3 to 'insert' (table expected, got nil)
stack traceback:
[C]: in function 'insert'
apm_lib_ldinc/lib/utils/technology.lua:284: in function 'science_pack'
apm_nuclear_ldinc/lib/functions.lua:143: in function 'update_infinite_technologies'
...ear_ldinc__/prototypes/integrations/final-overwrites.lua:99: in main chunk
[C]: in function 'require'
apm_nuclear_ldinc/data-final-fixes.lua:10: in main chunk
4.580 Loading mod core 0.0.0 (data.lua)

@PTx86 Seems to be a bug with Amador Phasma's Nuclear

Thanks!


Server: add OpenAPI generation

Alternatives:

https://github.com/tamasfe/aide
https://github.com/juhaku/utoipa

I think aide looks more promising, but haven't given either a deep enough look.

Just a quick note on where this is: aide was integrated into svix-webhooks, so it generates a crude spec, it is missing the following still:

[ ] Operation descriptions - #811
[ ] Operation summaries
[ ] Operation IDs
[ ] Code examples

@tasn the Python API automatically adds all of the HTTP error responses used in the API to all operations. There's no easy way to do this with aide, only by manually iterating over all operations once the API docs have been constructed and then manually adding each error response to all operations. Is this something that must be retained?

Can't it be part of the macro you added and just add all of them (or only a subset if defined)?
I know OpenAPI also supports a "default error", which essentially shows the structure of the error struct without specifying specific codes. To be honest, this is probably preferable if can be easily done.

Done.


Feature Request: Terrain Rendering

Partially moved from #1

Some helpful projects

https://github.com/fintelia/terra
https://github.com/kurtkuehnert/bevy_terrain

If you are interested, I have the source for a parser for https://github.com/CesiumGS/quantized-mesh written in Rust lying around somewhere.

Please, bring it on. Any help would be welcome when I get to work on this (which is still not very soon).

More helpful project:

https://github.com/timoore/vsgCs
https://github.com/pelicanmapping/rocky

One more for ideas:

https://github.com/StrandedKitty/streets-gl


Wrong or no input. Default settings.

Describe the bug
Wrong or no input.
In keyboard mode , with AHK or NirCmd it does nothing then put the mouse in top left of my screen.
In mouse mode , with AHK or NirCmd it falsely clicks positions on screen leading to failure.
To Reproduce
im not sure , maybe its my screen seize ( 1680 x 1050 ) , but i have the right screen selected.
Expected behavior
Solve without issues.
Software information

Operating System: Win10
Cyberpunk 2077 platform: native
BPA version: 2.10.0
relevant BPA settings: nothing changed except the input mode and engine , to see if it resolves my issue.

Additional note
it reads the breach perfectly and finds a valid route , just the input dosnt work as expected.
https://cdn.discordapp.com/attachments/974231454106124288/1165125093245075456/image.png
the version of https://gitlab.com/jkchen2/cpah works just fine in default state and the ahk input version , but i would love to use this project instead.

i havent changed any navigation keys in game (https://gitlab.com/jkchen2/cpah works with the same keys just fine)
i think the issue is that the mouse dosnt goes over the first Code so the navigation key dont get registered, since u cant move in the breach with navigation keys until u move u mouse over a code.
i also disabled all mods and made double checks but with no success.
the timeout /t 3 & %localAppData%\Programs\breach-protocol-autosolver\resources\win32\nircmd\nircmd.exe sendkeypress 0x1b test worked as expected and did press ESC/ open Pause menu
btw where is the settings file for the tool ? i wanted to reset them just to be sure , i reinstalled the tool but the settings keept the same , also i for future , if we manage to fix the issue or the tool works , i would like to reset the stats it shows.

yeah im starting to get the feeling
"i think the issue is that the mouse dosnt goes over the first Code so the navigation key dont get registered, since u cant move in the breach with navigation keys until u move u mouse over a code."
is actually the issue , the mouse get moved top left of my screen , if im quick and move my mouse fast to the breach codes , it does navigate in them.
maybe there is a issue with getting the right position / sending input in the right position.
those are my screens:
1th screen , Left , 1280 x 1024 , not main screen.
2th screen , right , 1680 x 1050 , my main screen.
cyberpunk is played on my main/2th screen , and in beach protocol auto solver it is selected as my screen.
cyberpunk is played in 1680 x 1050 and windowed borderless.

You're right to some extend. This is an issue with the game. To reproduce this, just move cursor to the top left corner and try to use arrow keys to select codes. Spoiler, you cannot. I already had an issue with 1360x768 resolution, but the workaround was easy there.
So when cursor is moved to top left corner by either ahk or nircmd, breach protocol does not register any input. This only applies to some specific resolutions tho like yours.
The cursor must be moved away to not mess ocr up. Maybe I could move it to either one of the bottom corners?

this could work ,i have an idea too:
it could move the courser away for the image scanning . and once it has it valid rout it could move the course to the top right of the breach protocol codes and start from there ? i have u understand what i mean.

@marcincichocki i just checked (by myself) if i move courser to the bottom i can use navigation keys . if i move it to top i cant , so moving it in the bottom area should work.
2 more things.
a reset to default settings and reset stats buttons would be nice.
as soon as the problem is fixed i wanna reset my stats so they are accurate.
i appropriate the time and help from u and im looking forward of using the tool with fixed version ^^

@LeaLangley Fix was deployed in version 2.11.0. Reset for settings and stats is also there. Thank you for opening this issue.

i just tested it and it works great , thank you a lot! ^^


MongoDB connection documentation needs help

@keyscores :  "There are different env variables for mongo. So just need examples for
using each. I haven't yet managed to get my app to run with this docker
image, while a mongo instance runs on the same host."

This is better documented, now.

@Ulexus  thanks. BTW how does Git authentication work? For private repos...

@keyscores Set the DEPLOY_KEY environment variable to the path of the private key for your SSH authentication.  The path should be from the point of view of the container.  The systemd unit file example has this setup.


Make lock API compatible with v1

This makes the upgrade path from v1 to v3 simpler for places that vendor fsctl.

@mafintosh This is ready for review.


How to solve this problem

[ERROR] [launch]: Caught exception in launch (see debug for traceback): init() missing 1 required keyword-only argument: 'node_executable'

If you are using a ROS2 distribution before foxy, you need to replace all 'executable' with 'node_executable' in the launch file you are using

这是来自QQ邮箱的假期自动回复邮件。

您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。


Upgrade to Spring Boot 3.4.x

Spring Boot 3.4.0 is scheduled for release on November 21, 2024.
Todos

[ ] Bump version to 4.0.0-SNAPSHOT
[ ] Update Spring dependencies
[ ] Remove deprecated code parts
[ ] Refactor tests: Move controllers into related test classes

@wimdeblauwe let me know if anything is missing.

On my other project https://github.com/wimdeblauwe/error-handling-spring-boot-starter/, I have set up separate documentation per version. I wonder if we should introduce the same (or similar) mechanism here so that people on older versions can still find the documentation for their version?


Update Version

Update Version, for some Reason version with 0.10 dont appear to update on App Loader

0.10 is available on development apploader. The "stable" apploader will be updated in few days.

Yes, there's no need for this.
I usually wait a bit before updating the 'normal' app loader in case something got broken :)


Port from CRABServer code Throttled classes; add unit test for them

test this please

Alan,
I submitted first round of changes, we'll review once new report will be available.

@amaltaro , please review again as we need this to enable throttling for DBS

@amaltaro
Could you commit this patch tp branch 1.1.16_dbs? and tag it too?  I am think that I should on this branch for now since there are a lot of new stuff going on. I should not moving to the WMCore head for now.

@vkuznet
Could you add the time limit on the count? It would be nice to make the time limit configureable.

Yuyi,
I revisited the code and add my changes in new PR: https://github.com/dmwm/WMCore/pull/9211
Please see an example over there.
On  0, Yuyi Guo<EMAIL_ADDRESS>wrote:

@vkuznet
Could you add the time limit on the count? It would be nice to make the time limit configureable.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/dmwm/WMCore/pull/9158#issuecomment-494419802

Thanks Valentin, will try it.


Base64 encoding not parsed correctly

Hi,
When sending mail from a specific email client (MIUI Mail / WPS mail in android). Postal does not seem to parse the data correctly on incoming connection for outbound mail.
Email arrives as:
v+݊�m�7����v+݊�b�[kn�݊�b�ث��ۯ�b�دv*嶶��دv+ܕ�,,� ڶ��I��~�&�#"�'{�b��%j������r��b��Z�z'z������ܧ�w�j�"�JZuا�Ib��^�m�)���!����brK-y�'r���h?u���f	��	�˚��
Yet it should be:
Test

Sent from my Mi phone

Mails are being routed via an exim server first. Which handels also an internal router. When adding my own mail account to the CC, the email gets routed correctly to my inbox, which shows the correct markup.
Mail data when routed correctly:
Return-path<EMAIL_ADDRESS>Envelope-to<EMAIL_ADDRESS>Delivery-date: Fri, 08 Feb 2019 15:38:09 +0000
Received: from [xxx] (helo=[xxx])
	by xxx.com with esmtpa (Exim 4.91)
	(envelope-from<EMAIL_ADDRESS>	id 1gs8EC-0007L5-DK; Fri, 08 Feb 2019 15:38:09 +0000
Date: Fri, 08 Feb 2019 16:37:44 +0100
Subject: test
Message-ID<EMAIL_ADDRESS>From: xxx<EMAIL_ADDRESS>To<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: base64
X-Antivirus-Scanner: Clean mail though you should still use an Antivirus
X-Spam-Note: SpamAssassin invocation failed
X-Spam-Score: -1.8 (-)
X-Spam_Score_Int: -17
X-Spam-Report: Spam detection software, running on the system "xxx.xxx.com",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.

 Content preview:  Test Sent from my Mi phone [...]

 Content analysis details:   (-1.8 points, 5.0 required)

  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                             [score: 0.0000]
  0.0 HTML_MESSAGE           BODY: HTML included in message
  0.7 MIME_HTML_ONLY         BODY: Message only has text/html MIME parts
  0.4 HTML_MIME_NO_HTML_TAG  HTML-only message, but there is no HTML tag

PGRpdiBkaXI9Imx0ciI+VGVzdDxicj4KPC9kaXY+PGRpdiBkaXI9Imx0ciI+PGJyPgo8L2Rpdj48
ZGl2IGRpcj0ibHRyIj48YnI+CjwvZGl2PjxkaXYgZGlyPSJsdHIiPjxicj4KPC9kaXY+PGRpdiBj
bGFzcz0id3BzX3NpZ25hdHVyZSI+U2VudCBmcm9tIG15IE1pIHBob25lPC9kaXY+

Any clue on this matter?

Are you able to see the message in the Postal UI or database? is it readable there?


Custom selected option with :multiple=false

Hello,
I'm trying to deal with slot template to customize the multiselect
:multiple="false" in my case
I want to add a span with a color from the selected object on the selected option.
I've been able to do it on the option list but not in the selected tag
See the example here:
https://jsfiddle.net/ssbz2tr5/
How can I solve this ?
Thanks
Benoît

Did you find a way to do this ? It looks like this is not possible yet, no tag slot with :multiple="false"

Hi,
Not yet, I'm waiting for a feedback from the author.

Le 11 sept. 2017 à 22:57, Arend de Boer<EMAIL_ADDRESS>a écrit :
Did you find a way to do this ? It looks like this is not possible yet, no tag slot with :multiple="false"
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Same issue here!

Crap. Wrong issue number for the commit.
https://jsfiddle.net/hrbft25k/
This is the closest I could get. As for now, please use the loading slot.
Notice I also added a small change to the styles.

Hi !
Your solution looks good for me, result is ok.
But since I add it into my app, I have the following error:
`[Vue warn]:  can only be used on a single element. Use  for lists.
found in
--->
 at C:\Users\xxx\Code\xxx-Desktop\app\src\renderer\views\planning\Modals\Event\index.vue
 at C:\Users\xxx\Code\xxx-Desktop\app\src\renderer\views\planning\index.vue
 at C:\Users\xxx\Code\xxx-Desktop\app\src\renderer\components\layout\AppMain.vue
`
The multiselect is used with other componants inside a transition tag
Any idea ?

Have you wrapped the inside of the <transition> element into a single div? That might be the problem.

It is inside a transition like this:
`

{{ title }}

      <button class="delete" @click="cancel"></button>

      <slot>

            Type
            <multiselect
              v-model="eventType"
              :options="eventTypes"
              :multiple="false"
              :close-on-select="true"
              :show-labels="false"
              v-on:close="getEventTypeIdFromEventTypeSelected"
              placeholder="Select an event type"
              label="name"
              track-by="_id">
              <template slot="option" scope="props">

                {{ props.option.name }}
             </template>
             <template slot="loading">

               {{ eventType.name }}
            </template>
            </multiselect>

            Title
            <input class="input" type="text" placeholder="Title of the event" v-model="eventFromForm.title">

            Description
            <textarea class="textarea" placeholder="Description of the event" v-model="eventFromForm.description"></textarea>

                From
                <datepicker
                  placeholder="DD/MM/YY"
                  :config="{
                    dateFormat: 'Y-m-d H:i',
                    static: false,
                    enableTime: true,
                    enableSeconds: false, // disabled by default
                    time_24hr: true, // AM/PM time picker is used by default
                    defaultHour: 7,
                  }"
                  v-model="eventFromForm.start">
                </datepicker>

                To
                <datepicker
                  placeholder="DD/MM/YY"
                  :config="{
                    dateFormat: 'Y-m-d H:i',
                    static: false,
                    enableTime: true,
                    enableSeconds: false, // disabled by default
                    time_24hr: true, // AM/PM time picker is used by default
                    defaultHour: 7,
                  }"
                  v-model="eventFromForm.end">
                </datepicker>

            Assign to

              <multiselect
              v-model="resources"
              :options="options"
              :multiple="true"
              :close-on-select="true"
              :clear-on-select="false"
              :hide-selected="true"
              :show-labels="false"
              placeholder="Pick someone"
              :custom-label="usersMultiselectLabel"
              track-by="id"
              group-values="resources"
              group-label="office"
              v-on:close="getResourceIdsFromResourceSelected"
              v-on:remove="removeResourceFromResourceSelected">
            </multiselect>

              <input id="confirmed" type="checkbox" name="confirmed" v-model="eventFromForm.confirmed">
              Confirmed event

      </slot>

      {{ okText }}
      {{ cancelText }}

        {{ deleteText }}

`

I think this might be useful: https://vuejs.org/v2/guide/transitions.html#List-Transitions

Sorry, my previous comment isn't really readable...
In principe I did like this:
The Multiselect is used inside a componant
The code principe:
-> Template
-> Transition
-> div
-> multiselect
-> multiselect
-> Datepicker
-> inputs
I don't know if problem come from my side, but it can.

No list inside my template, the only list that I can see, can be done by the multiselect to display the options

Oh! I think this line has to be changed:
<template slot="loading">

  {{ eventType.name }}
</template>

to
<template slot="loading">

</template>

The label will be present anyway.

That was the point !
Thanks very much ! Problem solved.

Glad it’s resolved. Happy to help! Good luck with your project. :)

I'm sorry to necro, but to anyone that gets here through search engines, a cleaner solution I've found follows the following steps:

Set :taggable='true'
Set :multiselect='false'
Set @tag='setValue' where setValue is a function that updates the same property as v-model

This can be done with object-like options as well, just set the v-model property to the specific format 😉


Add api_operation to only render docs for a single operation on an endpoint

What’s changed

Add the option to include a single API operation from openapi spec
Document existing ability to document schema object from openapi spec

Identifying a user need
I would like to add some supporting content between operations. Also, get and post on the same endpoints are used by different types of consumers for some of our endpoints. I would like to be able to split these out into consumer specific pages

I've also opened https://github.com/alphagov/tdt-documentation/pull/199 for the documentation to go along with this


Trino 406 upgrade altered connectivity - unable to execute parameterized queries (FailedToObtainAddedPrepareHeader)

The organization I work for just updated to trino 406, which seems to have changed the way connections work.
I am using aiotrino to make asynchronous queries, the queries are using qmark substitution and am getting the following error:
  File "/Users/snag/code/oneoff/trino/main.py", line 218, in <module>
    asyncio.run(main())
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/Users/snag/code/oneoff/trino/main.py", line 208, in main
    await cur.execute(query, params=params)
  File "/Users/snag/code/oneoff/venv/lib/python3.9/site-packages/aiotrino/dbapi.py", line 385, in execute
    added_prepare_header = await self._prepare_statement(
  File "/Users/snag/code/oneoff/venv/lib/python3.9/site-packages/aiotrino/dbapi.py", line 283, in _prepare_statement
    raise aiotrino.exceptions.FailedToObtainAddedPrepareHeader
aiotrino.exceptions.FailedToObtainAddedPrepareHeader

I am not sure how to debug this issue, but it looks like trino will return no response body under certain conditions from 406 onwards

It looks like cursor._prepare_statement executes - but I am no longer getting an api response with headers.
I added the following print statements:
        print(f"stats: {query._stats}")

result:
stats: {'queryId': '20230718_191655_07572_grym9', 'state': 'QUEUED', 'queued': True, 'scheduled': False, 'nodes': 0, 'totalSplits': 0, 'queuedSplits': 0, 'runningSplits': 0, 'completedSplits': 0, 'cpuTimeMillis': 0, 'wallTimeMillis': 0, 'queuedTimeMillis': 0, 'elapsedTimeMillis': 0, 'processedRows': 0, 'processedBytes': 0, 'physicalInputBytes': 0, 'peakMemoryBytes': 0, 'spilledBytes': 0}
Traceback (most recent call last):
  File "/Users/d/code/oneoff/trino/main.py", line 61, in <module>
    asyncio.run(main())
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/Users/d/code/oneoff/trino/main.py", line 48, in main
    await cur.execute(pquery, params=param)
  File "/Users/d/code/oneoff/trino/venv/lib/python3.9/site-packages/aiotrino/dbapi.py", line 387, in execute
    added_prepare_header = await self._prepare_statement(
  File "/Users/d/code/oneoff/trino/venv/lib/python3.9/site-packages/aiotrino/dbapi.py", line 285, in _prepare_statement
    raise aiotrino.exceptions.FailedToObtainAddedPrepareHeader
aiotrino.exceptions.FailedToObtainAddedPrepareHeader```

I reached out to the infrastructure team managing trino and was told:
"Trino 406 has changed to no response for ddl statement executed in trino python client"

@dnullify The fix was released in version 0.2.2

Thanks @mvanderlee ! I learned a lot digging through your code!


Research how to detect and report localization (language info) for candidate sites

Helpful pointer https://sqa.stackexchange.com/questions/15890/how-to-find-out-which-languages-are-supported-by-a-website
Another simpler approach is to look for string matching https://help.localizejs.com/docs/quickstart-for-web


Add -o json/yaml option support for odo service list

[kind/Feature]
Which functionality do you think we should add?
add option -o json/yaml for odo service list

@kadel @girishramnani Is there any update on this issue ? Is this fixed by any other issue ?

This issue has been fixed in https://github.com/openshift/odo/pull/2098


[Footer Enhancement]: Enhance Footer Styling

Is your feature request related to a problem? Please describe.
Description: The current styling of the footer is basic and does not align with the overall aesthetic of the website. Enhancing the footer's design will improve user experience and contribute to a cohesive look across the site.
I would like to work on this issue.
@aditya-bhaumik Please assign this to me under gssoc-ext and hacktoberfest
Describe the solution you'd like.
Proposed Enhancements:
Color Scheme:
Update the background color to better match the site's theme.
Choose contrasting text colors for better readability.
Typography:
Use more visually appealing fonts for footer text.
Adjust font sizes and weights for hierarchy (e.g., larger for headings, smaller for links).
Layout:
Organize footer content into clear sections (e.g., About, Links, Contact).
Use Flexbox or CSS Grid to create a responsive layout that adapts to different screen sizes.
Add Hover Effects:
When clicked on various sections on the footer, i would like to add hover effect for better visual interactivity.
Describe alternatives you've considered.
No response
Additional context.
No response
Show us the magic with screenshots

Checklist

[X] I have checked the Existing Issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

I would like to work on it
@aditya-bhaumik Please assign me this issue with label hacktoberfest and gssoc-extd

this issue has been solved, so we are closing this issue.


Make application asynchronous using Rx  (for #1269)

Fixes #1269
Changes:

Make database operations reactive

Changes -

Correct shared elements regarding the asynchronous loading of data in Session Detail view
Make Session Adapter reactive

Please review @the-dagger

@iamareebjamal
squash the commits!

@arp95 Done :+1:

As many PRs are getting merged, some have merge conflicts. Please help to resolve them here.

Done @mariobehling :smile:


Please update article to include Windows Server 2022 as supported OS

Can we please get this page updated to include Windows Server 2022 as a supported OS for the Azure AD Connect install?
The article currently says :
note that Windows Server 2022 is not yet supported
Windows Server 2022 has been out for almost two years now, can we please get this updated?  This has caused some confusion for customers asking why they cannot use Windows 2022.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 06faa428-c7b6-ca5c-271e-3f98d9536d4f
Version Independent ID: 63adb39a-c4fa-92bb-480d-59bee8e2dc24
Content: Azure AD Connect: Prerequisites and hardware - Microsoft Entra
Content Source: articles/active-directory/hybrid/how-to-connect-install-prerequisites.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@tomdan-MSFT
Thanks for your feedback! We will investigate and update as appropriate.

@tomdan-MSFT
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly

@billmath
Can you please check and add your comments on this doc update request as applicable.

Thanks for raising this issue.  This should be fixed now.
#please-close


Sticky footer AngularJS

I know this is going to have issues with JQuery/AngularJS, but has anyone else witnessed a footer problem in window? Actually sticky footer works fine If I touch the browser window to resize and move even 1px to any direction, or If I just refresh the page. It doesn't work when navigating in my SPA application's pages. Any help is appreciated.

Have you made sure that your HTML is correct and that you included all the required css and js?
CSS to check:

Bootstrap
AdminLTE

JS:

jQuery
Bootstrap
AdminLTE's app.js
In that order.

I have set ng-view with the class wrapper but I should have moved this class one step before ng-view in order to wrap propery,,,,


Button colour changing after filling the inputs

After filling in the otp code, the colour of the button after otpInputs component changes. I have no idea why it is showing this weird behaviour.
Please find the attached screenshot for detailed view. Here you can see a greyish background colour around the continue button. I've added any backgroundcolor to touchable opacity but it is still showing.

@vinaynarayankutty It's not package-related issue. Also, I'm not seeing any backgroundColor here, more like borderColor.

@dsznajder Hi, see the problem is I've given the whole background a white color. See the touchable opacity I've given any grey color and of you look at the simulator screen you can see a grey color around the continue button. Please find the attached screenshots for clarity.

@vinaynarayankutty It's still not related to the package, as it's just TextInput's components, I have no idea what is actually happening here, but it's related more to React-Native. It's just in "selected" state. Check on a real device.


Bounding box plugin update to TF2

This PR updates the ravenML-train bbox plugin rmltraintfbbox to use Tensorflow2 and the new TF2 updates to the Object Detection API. The old TF1 bbox plugin is preserved as rmltraintfbboxlegacy.
Notables changes to the plugin:

uses new 'Keras-like' detection models
training loop less obfuscated
restoring from frozen graph replaced with SavedModel restore
evaluation is optional
TFRecord data no longer copied to artifact directory

I have trained a few models using the updated bbox plugin, and it works well. LGTM!


Update Spring dependencies

Spring Framework 5.2.12.RELEASE -> 5.2.13.RELEASE
https://github.com/spring-projects/spring-framework/releases/tag/v5.2.13.RELEASE
Spring Boot 2.3.6.RELEASE -> 2.3.7.RELEASE
https://github.com/spring-projects/spring-boot/releases/tag/v2.3.7.RELEASE
Spring Security 5.3.6.RELEASE -> 5.3.8.RELEASE
https://github.com/spring-projects/spring-security/releases/tag/5.3.8.RELEASE
https://github.com/spring-projects/spring-security/releases/tag/5.3.7.RELEASE
Spring Cloud Hoxton.SR9 -> Hoxton.SR10
https://github.com/spring-cloud/spring-cloud-release/wiki/Spring-Cloud-Hoxton-Release-Notes#hoxtonsr10

For now, we have to keep the Spring version lower or equal to what we use internally, so holding off on this PR for now.


Contribution to BUG041

#BUG041
Proposing fix for #source/BUG/logic.py

Reason:  logical_and should return True if both a and b are True, not if either of them is True.
Fix: by changing the 'or' to 'and', the issue can be solved.

Buon lavoro!


make get_nvidia_gpu_stats public

What does this PR do?

This can be a public method so that it can be used when training with Lite.
Does your PR introduce any breaking changes? If yes, please list them.

Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

Looks good 😃 Could you also update the forwarding references in
https://github.com/PyTorchLightning/pytorch-lightning/blob/e61a98a3d0cbe28f1df41841b4766166dd9ea531/pytorch_lightning/utilities/memory.py#L111

good catch. thanks 😃

@rohitgr7 I'm not sure about this. The accelerator api for accessing device stats is already public.

This can be a public method so that it can be used when training with Lite.

Is there an issue connected to this? This to me does not seem sufficient for a motivation. In theory, everything in Lightning can become a utility. But should it?

I was just trying out Lite over the weekend. Comparing lite/lightning. So was trying to check the GPU usage on kaggle. But couldn't find a way, so thought this might be a good utility. There is no issue related to it.

@rohitgr7 Such a problem like you describe would have been perfect for a GitHub issue to discuss. For example, if this was one, then I would have asked what the reasons are for a user to access

the utility in a device specific way, as opposed to a device agnostic way
why rely on a particular call to nvidia-smi when one could simply call built-in functions https://pytorch.org/docs/stable/cuda.html#memory-management

@awaelchli opened an issue here: https://github.com/PyTorchLightning/pytorch-lightning/issues/10414


feat(shim-sev): get rid of build.rs

By moving start.S into a naked function, build.rs is not needed
anymore.
Signed-off-by: Harald Hoyer<EMAIL_ADDRESS>

@haraldh Looks like this needs a rebase, otherwise LGTM I think.

@connorkuehl @lkatalin : rebased to current master, please re-approve


feat: add log format configuration options through helm chart

This PR

adds a new sidecarConfiguration.logFormat helm value that is handed over to the operator as an env var
sets the default sidecar log format to json both in code and in the CRD itself, as well as the helm chart

Fixes #334

The Merge method in apis/core/v1alpha1/flagsourceconfiguration_types.go should be extended to ensure this configuration isn't dropped.
if new.DefaultLogFormat != "" {
	fc.DefaultLogFormat = new.DefaultLogFormat
}

I may also be worthwhile adding this configuration to one of the existing tests in /webhooks/pod_webhook_test.go as this will catch the above issue in future PRs

@james-milligan thanks for the review!
I fixed your remarks, adjusted the mutating webhook tests, and also re-generated the helm chart (not sure if that's needed or not)
pls re-review :)

the failing test work for me locally... can somebody maybe start a re-run?

the failing test work for me locally... can somebody maybe start a re-run?

Done! Note: there's an issue for this flakey test https://github.com/open-feature/open-feature-operator/issues/347


Remove closing bracket at line 47 of hello_ioctl.c file in src folder

Remove the closing bracket of the hello_ioctl.c to make the build process successful when running the build.sh script in the home directory.

Well, that's embarrassing... Thanks for catching it!


Fix issue #5080: [Bug]: lint-fix.yml github action doesn't work on a branch not from this repo

This pull request fixes #5080.
The issue has been successfully resolved. The original problem was that the GitHub Action was failing when trying to check out code from PRs originating from forks because it couldn't properly access the source repository. The fix implemented adds the correct repository parameter to the actions/checkout action, specifically using ${{ github.event.pull_request.head.repo.full_name }} which dynamically references the source repository of the PR.
This solution:

Addresses the core issue by ensuring the action can access code from forked repositories
Still maintains compatibility with PRs from the same repository
Fixes the specific error where the action couldn't find the branch checkout-a-non-main-branch-option

The PR reviewer should know that this is a straightforward configuration change to the GitHub Actions workflow that improves the robustness of the lint-fix action by making it work with PRs from both internal branches and external forks. No code changes were required, only workflow configuration updates.
Automatic fix generated by OpenHands 🙌

To run this PR locally, use the following command:
docker run -it --rm   -p 3000:3000   -v /var/run/docker.sock:/var/run/docker.sock   --add-host host.docker.internal:host-gateway   -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:a8ab4bf-nikolaik   --name openhands-app-a8ab4bf   docker.all-hands.dev/all-hands-ai/openhands:a8ab4bf

This shouldn't run on forks. People have their forks' own potential clones and this may interfere unwantedly with their work.
In addition, this mostly won't be able to commit anyways as security wouldn't be set up for this cross-repo access.

Thanks for the comment @tobitege , but could you elaborate? This will only be run if we set the lint-fix label, and it can only be pushed to their forks' branch of they check the box saying maintainers can push to their branch. So I think the towel of allowing this is probably minimal?

Thanks for the comment @tobitege , but could you elaborate? This will only be run if we set the lint-fix label, and it can only be pushed to their forks' branch if they check the box saying maintainers can push to their branch. So I think the danger of allowing this is probably minimal?

I just don't like this personally, and it's another thing that isn't obvious to a user/contributor and needs documentation.

OK, thanks for approving anyway @tobitege !


Refined readme

See here https://github.com/whiskeysierra/logbook/tree/feature/readme

Coverage remained the same at 100.0% when pulling 5478c76f85397274d4eb4063c1e2bf3091c473e9 on whiskeysierra:feature/readme into 961284934f416108b3fe4fff08f3f225241abbc5 on zalando:master.

Coverage remained the same at 100.0% when pulling 1ec70637441fa6c499b33af071d287c54f2a9ea6 on whiskeysierra:feature/readme into 961284934f416108b3fe4fff08f3f225241abbc5 on zalando:master.

Coverage remained the same at 100.0% when pulling 4d4211d229d5631e581ae55f0b0fb9ed82c95a2e on whiskeysierra:feature/readme into 961284934f416108b3fe4fff08f3f225241abbc5 on zalando:master.

Coverage remained the same at 100.0% when pulling 4d4211d229d5631e581ae55f0b0fb9ed82c95a2e on whiskeysierra:feature/readme into 961284934f416108b3fe4fff08f3f225241abbc5 on zalando:master.

Coverage remained the same at 100.0% when pulling f2877229dc0c2d48c804bd6a71613c92a9569760 on whiskeysierra:feature/readme into 961284934f416108b3fe4fff08f3f225241abbc5 on zalando:master.


rocketmq-dledger model : ExpiredFile are  not deleted byTime

BUG REPORT

Please describe the issue you observed:
the ScheduleTask of cleanFilesPeriodically failed :  disk space will be full soon, but delete file failed when change to dledger model

What did you do (The steps to reproduce)?
the broker config file eg :
storePathRootDir=../store
storePathCommitLog=../store/commitlog
dLegerSelfId=n1
enableDLegerCommitLog=true

What did you expect to see? What did you see instead?
the commitlog file will be the path of "../store/commitlog", but actually the commitlog file in the path  of "../store/dledger-n1/data/ . so  the ScheduleTask of cleanFilesPeriodically delete the files fails .
the config of storePathCommitLog is not used .

@duhenglucky  hi , I add " dledgerConfig.setDataStorePath(defaultMessageStore.getMessageStoreConfig.getStorePathCommitlog()) to  DLedgerCommitlog Constructor Method .
it can fix the bug . About the  index path , I must change openmessage-Dledger's code.

DLedger lack the logic to delete the index file by now. Welcome to submit the relevant PR to OpenMessaging DLedger.


docs: added section to api page about private endpoint use

We should be directing developers to use private endpoints instead of public endpoints. The free plans have more than enough Requests per day to get them started.

I've improved the styling a bit. Looks good, thanks @CharlieMc0!


Lifting shape-castable objects

Rendered

An implementation of this RFC is available in https://github.com/amaranth-lang/amaranth/pull/780.

Code like this stops working and it's not clear how to replace it:
class RGBLayout(data.View):
    def __init__(self, target=None, *, r_bits, g_bits, b_bits, **kwargs):
        super().__init__(data.StructLayout({
            "red":   unsigned(r_bits),
            "green": unsigned(g_bits),
            "blue":  unsigned(b_bits)
        }, target, **kwargs))

    def brightness(self):
        return (self.red + self.green + self.blue)[-8:]

This was a piece of code from the doc I just wrote and the answer is that it doesn't work in first place, at all. I rewrote the example to be:
class RGBPixelLayout(data.StructLayout):
    def __init__(self, r_bits, g_bits, b_bits):
        super().__init__({
            "red":   unsigned(r_bits),
            "green": unsigned(g_bits),
            "blue":  unsigned(b_bits)
        })

    def __call__(self, value):
        return RGBPixelView(self, value)

class RGBPixelView(data.View):
    def brightness(self):
        return (self.red + self.green + self.blue)[-8:]

and this will work just fine with the proposed RFC. (It is also nicer in first place!)

We've discussed this RFC on the 2023-05-15 weekly meeting. The disposition was to merge.


🐛 Bug Report: Error: Invalid URL

👟 Reproduction steps
PS C:\Users\User> npm install -g appwrite-cli
added 118 packages in 2s
PS C:\Users\User> appwrite -v
6.0.0
PS C:\Users\User> appwrite login
? Enter your email<EMAIL_ADDRESS>? Enter your password ****
ℹ Info: For detailed error pass the --verbose or --report flag
✗ Error: Invalid URL
👍 Expected behavior
....
👎 Actual Behavior
PS C:\Users\User> appwrite login --verbose
? Enter your email<EMAIL_ADDRESS>? Enter your password ***************************
TypeError: Invalid URL
at new URL (node:internal/url:775:36)
at Client.call (C:\Users\User\AppData\Roaming\npm\node_modules\appwrite-cli\lib\client.js:149:17)
at accountCreateEmailPasswordSession (C:\Users\User\AppData\Roaming\npm\node_modules\appwrite-cli\lib\commands\account.js:1016:29)
at loginCommand (C:\Users\User\AppData\Roaming\npm\node_modules\appwrite-cli\lib\commands\generic.js:57:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'ERR_INVALID_URL',
input: '/account/sessions/email'
}
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
Windows
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

@jack-theripper, thanks for creating this issue! 🙏🏼 BTW, version 6.0.0 of the CLI is meant to be used with Appwrite 1.6, but Appwrite Cloud is currently on 1.5. As such, you might run into compatibility problems. It would be best to install version 5.0.5 instead.
Anyways, your endpoint might be wrong. What's the endpoint when you run appwrite client --debug? Since you're using Appwrite Cloud, it should be https://cloud.appwrite.io/v1.

Endpoint is empty. I thought that the CLI should be immediately configured (npm install) for use with Appwrite Cloud. I understood the problem
Thanks for the reply. The issue can be closed

Looks like configEndpoint ends up being an empty string here:
https://github.com/appwrite/sdk-for-cli/blob/aa696219ab06b8834d8a54c882050e23c2d62ba3/lib/commands/generic.js#L16
Because globalConfig.getEndpoint() returns an empty string which doesn't trigger the ?? to set it to the default value.


Support for 32-bit applications

Hi,
I assume that windows-registry doesn't support 32-bit applications.... mainly because I kept getting ACCESS VIOLATIONS (C000 0005) until I changed the prototype of RegOpenKeyExA from uint64 to uint32. Assuming supporting both 32-bit and 64-bit is something that I can figure out, how do I go about contributing this?
Cheers,
Russell.

Seem to have it working. I'll fork and create a pull request.

Closed via 807408f