Oath page login page

This PR adds a custom Oath login component and also makes the Header component render null when the current href includes a string. It fixes: #54

I don't know if this is something that should be merged to master because it is very specific to vietnam

@FrankApiyo most probably not.  What you need to do is arrange all the Vietnam-specific code to all be merged into one branch.  Once we have it all in one branch, we will have an easier time figuring out what to do.  But we are probably going to use packages.
cc: @cKellyDesign @p-netm

Just a heads up: I have merged this into miecd_vietnam branch cc @FrankApiyo


BUGFIX: Allow DateTime for unserialization of form state

Fixes #126

Ready for merge and release? Or do you still have any objections @bwaidelich ?

A test would be nice of course, but no general objections.

I wonder if using serialize()/unserialize() to pass the form state is a good idea at all, but

Fair point, but what would you suggest instead?

I wonder if using serialize()/unserialize() to pass the form state is a good idea at all, but

Fair point, but what would you suggest instead?

For the CR node properties we switched to JSON ages ago. But… 🤷♂

For the CR node properties we switched to JSON ages ago

Yes, true that.. Would be a breaking change though because currently you can basically put any object into the form state

you can basically put any object into the form state

..OTOH you actually can't as we see with this fix o.O

Yes. When I added that restriction I (casually) checked FormState and assumed it only contains "harmless" things. Date objects might still count as harmless and that was just an oversight from my side.
But I did not realize one might actually have objects in a form that need to be stored in the FormState in a way that needs serialization…


Client::getAddServiceOptions without service doesnt return any data

Detailed description
\Inspirum\Balikobot\Services\Client::getAddServiceOptions called without service returns empty array.
Without serviceType the api returns options nested for all services under service_types key:
{
    "status": 200,
    "service_types": [
        {
            "service_type": "F",
            "service_type_name": "Fofr",
            "services": [
                {
                    "code": 1,
                    "name": "křehké"
                },
                {
                    "code": 2,
                    "name": "neklopit"
                },
                {
                    "code": 3,
                    "name": "deštník"
                },
                {
                    "code": 4,
                    "name": "SMS před svozem"
                },
                {
                    "code": 5,
                    "name": "SMS před doručením"
                }
            ]
        }
    ]
}

...
Your environment
inspirum/balikobot: v5.4.0

Thank you for reporting this issue.
It have been solved in v5.4.1 by commit 440314e


:zap: Don't unnecessarily repeat regex in sorting

The regex to extract the number would run on every iteration of sort, which resulted in almost 500ms of just regex computations in some cases.
This introduces an anonymous struct that stores the number and its key. By this we can run regex once and later sort according to the number in the struct.

Coverage increased (+0.1%) to 86.204% when pulling 65f10b144606a6a69f18270df9c13c345834c188 on efficient_umbr_sort into 8ef0ac6e572592b75a537dc260045a1932f762ee on master.

Closes https://github.com/AndreasSko/go-jwlm/issues/67


The user can change the patient information(site, patient sequence, trial name) before uploading the data, which causes the data saved under a wrong patient

It's not a safe option to allow user change patient information. For example, a patient from center 1, which have a patient sequence of 2 and a TROG id of 0000001. When inputting the correct TROG id the correct information of this patient will show in the window. But the user still can change the information of this patient, like choosing center2 before uploading, then the data will be uploaded to center2 patient 2.
Better not allow users have the ability to do that.

Contentuploadertool will be used by the assigned RTs/physicists, so this should be fine. They will know the correct patient sequence and the TROG ID.


[en] Add definite article for object of HassTurnOn/HassTurnOff responses

To me at least, it sounds much more natural with a "the" I.e "Turned on the light(s)"

Fair enough, but you need to alter the expected responses in all tests, too.

Tests updated


Kill terminal button should not close/hide the Panel view

Panel view has many tabs. Terminal is one of them. When I kill a terminal, why it closes the whole view?

"Kill Terminal" and "Close Panel" are 2 separate buttons and it's OK, but "Kill Terminal" shouldn't do both.

Also, when opening back Panel View, it automatically opens a new terminal session. There is no way to open the view without having 0  terminals open.
As a suggestion, when there is no terminal open, what about having a text + button letting the user know that there is no terminal open and asking if they want to open a "new terminal"; similar or same functionality as the "New terminal" button, but bigger and centered (since there is now space to do it). Something like this (but with a better design):

Totally makes sense. Great job ;)

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


WinUI 3 Compatibility

Hi
I'm working on WinUI 3 Templates for Windows Template Studio Issue 3807.
UWP Apps created with Windows Template Studio use Microsoft.Xaml.Behaviors.Uwp.Managed to use EventToCommand features in MVVM Frameworks and I would like this lib also in WinUI 3 apps.
I've seen that there are some branches to prepare the code to WinUI 3, have you planned to publish any preview version of the library or probably an alternative MyGet feed? I'd like to know if we can use event to command behaviors in initial templates.
Thank you ;)

There's a preview package over at https://www.nuget.org/packages/Microsoft.Xaml.Behaviors.WinUI.Managed/
-Daniel

Thank you Daniel

It looks like event to command is not working https://www.nuget.org/packages/Microsoft.Xaml.Behaviors.WinUI.Managed/
https://github.com/CommunityToolkit/WindowsCommunityToolkit/discussions/4448


Shouldnt there be some consideration of Llama 2 now?

Now that Llama2 has been released, looks like an update is in order.

Its not really open source, please see attached
https://opensourceconnections.com/blog/2023/07/19/is-llama-2-open-source-no-and-perhaps-we-need-a-new-definition-of-open/
On Thu 20. Jul 2023 at 12:41, Andy Miller @.***> wrote:

Now that Llama2 has been released https://ai.meta.com/llama/, looks
like an update is in order.
—
Reply to this email directly, view it on GitHub
https://github.com/eugeneyan/open-llms/issues/63, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEZSDSQ7YSON5GINAMW6IALXREDOBANCNFSM6AAAAAA2RHD6CY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Well, the description of this repo states:

These LLMs (Large Language Models) are all licensed for commercial use [...]

But realistically: do you have 700M users? Likely, no; so for most people, who want to use LLaMA 2, this is of no concern. Also, people who are looking for LLMs to actually use e.g. for support chatbots will not care if you cannot use it to train another LLM (why would they, given that it's super expensive and you already have LLaMA).
As a user of this repository, I'd actually be a bit disappointed if LLaMA didn't appear in here. Perhaps you might add a footnote, like "only for <700M users; not for training other LLMs".

@eugeneyan @LudwigStumpp what's your take on this?

I agree that the license is not open-source, especially the clauses below:

Additional Commercial Terms. If, on the Llama 2 version release date, the monthly active users of the products or services made available by or for Licensee, or Licensee’s affiliates, is greater than 700 million monthly active users in the preceding calendar month, you must request a license from Meta, which Meta may grant to you in its sole discretion, and you are not authorized to exercise any of the rights under this Agreement unless or until Meta otherwise expressly grants you such rights.

v. You will not use the Llama Materials or any output or results of the Llama Materials to improve any other large language model (excluding Llama 2 or derivative works thereof).

Nonetheless, I believe a majority of users aren't part of that FAANG clause, and are likely focused on using Llama2 directly (instead of using it to generate demonstration data).
Thus, I would be inclined to include Llama with a link to Llama2's license, and to call out that "not for >700M MAU orgs; not for improving other LLMs".
Would either @andymiller-og or @Artur-Galstyan like to make a PR?

I've created a PR


Harmony Hub Communication Lost

I seem to have lost the ability for the bridge to communicate with my harmony hubs (2 within the household).
By RPI was crashed this morning (related?), and upon coming back up, no Harmony 'Activities' or 'Devices' are present.
I went through the obligatory rebooting of both hubs, followed by a restart of the bridge with no luck.  I then rebooted my router, restarted bridge, no luck.  I can ping both hubs w/o issue, the the bridge appears unable to communicate.
I was running 5.2.1, but upgraded to the current RC (5.2.2RC), with the same results.
For what it's worth, I also use and depend greatly on your Harmony Restful API and it too can no longer communicate.
Here's a link to pertinent DEBUG logs for failure to communicate with both hubs:
https://pastebin.com/MPNrEZDQ
Specific error message after what appears to be multiple retry attempts:
"Failed communicating with Harmony Hub"

Yes, this is an issue and a duplicate of #945. The new code goes half way there in the new RC so still working on it. Post any relevant info to #1017 please

Pft, I searched on 'harmony' so as to make sure this was not a duplicate.
That post is so darn old that I did not see it as a "recent" post to
regretfully not was an hour of my life debugging... :-(
Thanks for looking into it.
On Mon, Dec 17, 2018 at 12:17 PM BWS Systems<EMAIL_ADDRESS>wrote:

Closed #1034 https://github.com/bwssytems/ha-bridge/issues/1034.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bwssytems/ha-bridge/issues/1034#event-2031005768, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADlZI1FAaSw1UuVjQ3cSs92nYEh5TtJtks5u59_CgaJpZM4ZW3oL
.

https://www.reddit.com/r/homeassistant/comments/a6u6ep/psa_harmony_hub_firmware_v415206_breaksremoves/


Add kube client oidc authentication support for testing

Changes
Currently, the test client in Tekton test doesn't support Kubernetes cluster with oidc authentication.
I tried to run e2e test for my Tekton build, and I found the test can only use the kubeconfig which in ~/.kube/config, and my kube cluster use oidc for auth but the current Tekton client doesn't support that.
I take a look the knative serving and eventing, their clients have the config for oidc:
https://github.com/knative/serving/blob/78995f561c50acb87c9f5d386e07dbb3c597aeeb/test/clients.go#L25
But tekton test client doesn't have that:
https://github.com/tektoncd/pipeline/blob/master/test/clients.go
Without this oidc package,all tests will fail like:
--- FAIL: TestEventListenerCreate (0.00s)
    eventlistener_test.go:48: Failed to create kubernetes clientset from config file at /home/travis/.kube/config: No Auth Provider found for name "oidc"

So I follow what knative repo did in this PR:
1, Use dep to add oidc package:
dep ensure -add k8s.io/client-go/plugin/pkg/client/auth/oidc
2, Add import in test/init_test.go
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[ ] Includes tests (if functionality changed/added)
[ ] Includes docs (if user facing)
[x] Commit messages follow commit message best practices

Hi @vdemeester ,
Pls review by using this one. Thanks!

/ok-to-test


Extensions: Add URI.stripUserInfo()

Signed-off-by: Frank Viernau<EMAIL_ADDRESS>

So what about dropping this completely in favor of using the existing fun String.stripCredentialsFromUrl()?

So what about dropping this completely in favor of using the existing fun String.stripCredentialsFromUrl()?

Oh sure, missed that. Good point, thanks!

Oh sure, missed that. Good point, thanks!

That's why I had already mentioned in this comment, but it seems you missed that, too :wink:


Creating vote_controller

Knocked out one of the todos at the top of observer_controller by creating vote_controller.

Looks good to me.


Use correct command for docker compose

docker-compose (V1) has been deprecated since July 2023, and Compose V2 is its replacement. Since V2 was announced, it was always available as docker compose rather than the single command docker-compose. Modern installations of Docker no longer even ship with docker-compose itself.

📑 Context
See Docker's page titled "Migrate to Compose V2" which explains that the single command docker-compose with a hyphen was part of V1 and is now deprecated. Users should instead use docker compose, and the page mentions that this process started a while back:

From July 2023 Compose V1 stopped receiving updates. It’s also no longer available in new releases of Docker Desktop.

I can confirm that I was unable to follow the README to start 13ft, since docker-compose is not available on my machine:
$ docker-compose
zsh: command not found: docker-compose

✅ Checks

[X] I was able to run the service using docker compose up just as expected.

ℹ Additional Information
A possible improvement here would be to also mention docker-compose as a fallback if anyone is running a very old version of Docker, but then you'd have to decide also how long to keep this mention in the README for… overall this doesn't really seem worth it. docker-compose has been deprecated for a while and is well on its way out.
The new line added after the list is to make sure it doesn't bring the one right after next to it. See this demo without the new line and notice how there's a single line reading "Docker Compose (available as docker compose) First, clone the repo to your machine then run the following commands:" – instead of two, as intended.

Thank you, and yeah I would rather keep docker compose. If someone for some reason uses a older version that's on them.

Sorry, mistook the close with comment button for merge with comment 😅


Sorry guys, how to use it?where is app.py

Not my problem if you don't understand how Python works


[VS Code] Response status code does not indicate success: 407 (Proxy Authentication Required ( Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied.  )).

<!--
For Visual Studio problems/feedback, please use the Report

@chamaraonline: thanks for filing this issue! A couple of questions to help us help you:

Were you able to use the VS Live Share extension successfully before the latest release or have you always hit this issue?
Can you please provide the log files so we can get more info? To collect these, from VS Code, run the "Live Share: Export Logs" command and either drag-and-drop the zip here or email it to<EMAIL_ADDRESS>
@Priya91 to investigate proxy issues

@chamaraonline Looks like you are behind an authenticating proxy, can you please set the http_proxy and https_proxy environment variables, of the form, http://username:password@proxyaddress:port

I'm behind an authenticating proxy - but neither HTTP_PROXY=http://username:password@proxyaddress:port nor HTTPS_PROXY=http://username:password@proxyaddress:port really helps. Now I get a timeout error...

Performing proxy network check failed with exception: System.Net.Http.HttpRequestException: Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat
(German)

We got around the problem, by removing the need for authentication from the proxy for calls to insiders.liveshare.vsengsaas.visualstudio.com - but this is not a solution for my company :(

@WolfgangKluge What does the error message say? Can you please translate to english..

Migrating the comment and logs from #821

I was trying the extension for the first time in VS Code, I was prompted to login via the browser and that seemed to be successful yet when switching back to VS Code I did get the error in the title:
liveshare.logs.zip

Yes, I did setup the environment variables as described in the link you have provided but I still get this error:
[Agent.Http E] > POST https://insiders.liveshare.vsengsaas.visualstudio.com/api/v0.2/workspace (c11ms s<null>ms) => 407 authenticationrequired

I am trying to figure out whether my proxy settings are incorrect/not set properly or whether the proxy server is actively blocking the connection to liveshare.
When I am not connected to my corporate LAN (i.e. with no proxy) liveshare works OK, therefore I think this means that the proxy is denying access to https://insiders.liveshare.vsengsaas.visualstudio.com, however the troubleshooting instructions state:

Ensure your corporate or personal network firewall allows you to connect to this domain. Enter https://insiders.liveshare.vsengsaas.visualstudio.com in a browser and verify you land at the Visual Studio Live Share home page

When I do this the live share landing page is displayed, but from a redirected url: https://visualstudio.microsoft.com/services/live-share/, is this to be expected?
On the other hand if I try https://insiders.liveshare.vsengsaas.visualstudio.com/api/v0.2/, I get 404.

@alexvaccaro try hitting https://insiders.liveshare.vsengsaas.visualstudio.com/auth/login from browser on your corpnet, it should take you to auth process for liveshare..

Thanks, I figured out the issue was with the proxy configuration, a few months ago I had to set  "http.proxy" in VS Code settings to allow it to download extensions, by clearing this value VS Code is now able to pick up the proxy settings from the browser settings without having to set the environment variables (I am on Win 10) and I am able to initiate a Live Share session.
The only other issue I have is that our proxy blocks connections to download.microsoft.com, I assume to stop windows updates running on the company's PCs - so I need to install the extension when off my work network - if this is a one off it will not be a problem but if the extension requires to download updates frequently from this url it will become a pain - any chance that the extension can be downloaded in full from the Marketplace like the one for VS2017?

so I need to install the extension when off my work network - if this is a one off it will not be a problem but if the extension requires to download updates frequently from this url it will become a pain - any chance that the extension can be downloaded in full from the Marketplace like the one for VS2017?

@lostintangent @Chuxel will be able to help you on that..

Hi @lostintangent @Chuxel, can you help?


Any plans to submit this to the official nvim-treesitter repo?

https://github.com/nvim-treesitter/nvim-treesitter
Would be nice to have this in the official repository, as it makes the installation process easier for neovim users.

I will look into this.
I need to look over thus again for ensuring base functionality is complete enough for people pulling it in and expecting it to work :P
Good idea though, and I agree!

I've started this, so closing this issue for now.


Support multiple volumes for user home directories

Areas
--> /area administration
--> /area configuration
--> /area user-management
Description
Support multiple volumes (ANF or files) for User home environment. Automatically distribute users amongst multiple volumes.

There is a mount section in the config file that can be used to automatically NFS mount theses on compute nodes and add new items in the OnDemand file menu. Users won't be distributed.


Why using string rather than keyof O in Omit/Pick/etc?

🤔 Question
I get type errors unless I set my Typescript to skipLibCheck. Specifically around the types that operate on keys.
For example Omit is defined as:
export type Omit<O extends object, K extends string> =
    Pick<O, Exclude<keyof O, K>>

Why do you not use a keyof based restriction?
i.e.
export type Omit<O extends object, K extends keyof O> =
    Pick<O, Exclude<keyof O, K>>

You are obviously a Typescript god, so I assume there must be a solid reason for this decision?

Hi @ctrlplusb,
No no no, this is a problem :laughing: !
However, it has/had a purpose:

You can pass any string value and the error will be gracefully handled for you
You can pass another type that can compute the keys for you without casting

Which is a problem if you use number indexes in objects and is a design problem (from my side) that was introduced by https://github.com/microsoft/TypeScript/pull/23592. For info, at that time I was starting to design this library.
But I will be fixing this in the v3 (soon). But in the mean time, you can add this to your tsconfig.json:
"keyofStringsOnly": false
Thank you very much!

"keyofStringsOnly": true, sorry.

@ctrlplusb
Can you give me the steps that lead you to this compilation error?

your tsconfig.json
your piece of code

I tried to reproduce the errors with no luck. This is might be because TS handles backwards compatibility, otherwise it would break many existing types... Waiting for your feedback.

@ctrlplusb never mind, strangely, I get very inconsistent error reports. I can't see why it does report errors and sometimes it just does not... Very confusing and looks like a bug.

New version will be out soon, with spectacular performance

Hi, dear bug reporters @regevbr @ctrlplusb @tonivj5 :bug:
I've published the latest version. I'd be thankful if you can install it and give your feedback.
npm i ts-toolbelt@next --save
This version brings out:

Increased performance
100% type soundness
Breaking API changes
No packed errors #15

However, these breaking changes don't affect Tuple, Union or Object and concern only String, Number, Boolean & some of the Function types that were renamed.
Index the next days, I will focus on the docs, tests and your feedback. Then release the v3 :tada:
Thanks!

Amaze, thanks @pirix-gh, I will try this out and feedback asap. 👍

Wow 😍- works perfectly. I have a pretty extensive set of tests around my Typescript definitions too on my lib.
No errors, and I am doing full lib checking too.
Thanks for looking into this so fast!
I know how stressful maintaining a lib is, and can only imagine the complexity of managing a lib that operates on a typing system is exponentially more difficult. Huge kudos to you, and don't burn yourself out! ❤

@ctrlplusb thank you a lot. And thanks for your tests too, this is really coool :sunglasses:.
Yhea, sometimes I feel a bit burnt out but then I think that it is a good return on investment as I will be less likely to burn out on my future projects if they are strongly typed. Then I feel much better :laughing:

Hi @pirix-gh I have just installed the latest version (3.0.0-6) and using it with ts 3.5.2 and the following example fails :-(
import { Object, Any, Union } from 'ts-toolbelt';

export function getProp<O extends object, P extends string[]>(obj: Union.Nullable<O>,
                                                              ...keys: Any.Cast<P, Object.PathValid<O, P>>)
  : Object.Path<O, P> | undefined {
  return keys.reduce(
    (result: any, key: string | number | symbol) => (result === null || result === undefined) ? undefined : result[key],
    obj);
}

interface IFoo {
  a: {
    b: {
      c: number;
    };
  };
}

const a: IFoo = undefined as unknown as IFoo;
getProp(a, 'a', 'b', 'c'); // works fine  - number | undefined
getProp(a as any, 'a', 'b', 'c'); // error TS2589: Type instantiation is excessively deep and possibly infinite.

Seems to be an issue with handling the any type.
Can you please check why that happens?

Hey @regevbr, glad to see you again!
It's been fixed, I added the tests this time so this won't happen again. Sorry for this!
I invite you to update :timer_clock:

@regevbr I updated again, reverting the At type to what it used to be. The At type caused TS to hang.
For more details https://stackoverflow.com/questions/56942865/is-it-correct-that-anynever-is-of-type-any

@pirix-gh thanks! it is working now (or at least for now :-) ) will keep you posted as I migrate more projects

@pirix-gh upgraded in some more projects and it seems to work well :-) thanks!

Thanks again @regevbr for your help. I'm so glad it's all ok :tada:
Have a nice day


Write some e2e tests for Contact page to avoid regressions

Hello, I have a little experience in writing e2e testing by using Cypress. Is there any consideration on using some particular library to do the e2e?

Hello, I have a little experience in writing e2e testing by using Cypress. Is there any consideration on using some particular library to do the e2e?

The only considerations are:

It should work well with Cypress
It should comply with this testing guiding principles defined by the Testing Library community

Hi, @fauzialz do you wanna take this ticket?

Hi, @fauzialz do you wanna take this ticket?

Hello. Sorry for late response. You can take it if you want 👍

Hi @zainfathoni , I can write a few e2e tests for the Contact page. Is /kontak-darurat the contact page? And what sort of tests are you expecting?
Thanks.

Hi @zainfathoni , I can write a few e2e tests for the Contact page. Is /kontak-darurat the contact page? And what sort of tests are you expecting?
Thanks.

No, Contact page is the details page for each entry in a given province.
e.g., https://www.wargabantuwarga.com/provinces/dki-jakarta/bantuan-kebutuhan-pokok-layanan-antar-pangan-gratis-banten-act-humanity-care-line-08001165228
You can refer to the unit testing scenarios for the page and come up with your own end-to-end testing scenarios.

Btw, this project is considered dormant.
If you want to contribute to a recent project that I am actively maintaining at the moment, you can look at this project instead: https://github.com/zainfathoni/senar.ai.

Ok. I will look into that project instead.


Value cannot be null (parameter 'source') when running idl.json created via Devnet

When running the anchorgen command with the json file the following error is thrown:
Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'source')
at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable1 source, Func2 selector)
at Solnet.Anchor.ClientGenerator.GenerateGetAccounts(Idl idl) in /home/runner/work/Solnet.Anchor/Solnet.Anchor/Solnet.Anchor/ClientGenerator.cs:line 1524
at Solnet.Anchor.ClientGenerator.GenerateClientSyntaxTree(Idl idl) in /home/runner/work/Solnet.Anchor/Solnet.Anchor/Solnet.Anchor/ClientGenerator.cs:line 904
at Solnet.Anchor.ClientGenerator.GenerateSyntaxTree(Idl idl) in /home/runner/work/Solnet.Anchor/Solnet.Anchor/Solnet.Anchor/ClientGenerator.cs:line 71
at Solnet.Anchor.ClientGenerator.GenerateCode(Idl idl) in /home/runner/work/Solnet.Anchor/Solnet.Anchor/Solnet.Anchor/ClientGenerator.cs:line 84
at AnchorSourceGenerator.<>c.b__0_1(CommandLineOptions opts) in /home/runner/work/Solnet.Anchor/Solnet.Anchor/Solnet.Anchor.Tool/AnchorSourceGenerator.cs:line 56
at CommandLine.ParserResultExtensions.MapResult[TSource,TResult](ParserResult1 result, Func2 parsedFunc, Func`2 notParsedFunc)
at AnchorSourceGenerator.Main(String[] args) in /home/runner/work/Solnet.Anchor/Solnet.Anchor/Solnet.Anchor.Tool/AnchorSourceGenerator.cs:line 19

The idl json that we were using did not have the data for the field:
public IIdlTypeDefinitionTy[] Accounts { get; set; }
We were just creating a quick hello world demo hence the small scale.

Just fixed it. You should have a new version of the tool available in a few minutes in nuget :)


CloudFormation Registry resource support - GetAtt rules broken

CloudFormation Lint Version
cfn-lint 0.73.1
What operating system are you using?
Mac
Describe the bug
Currently the -s switch brings in the schemas for custom resource extensions.  This allow some cfn-lint rules to work but not all.
As soon as !GetAtt rules are evaluated they start breaking.  For example, E1010, breaks with a custom resource.
I have added logging locally and diagnosed it down to this line being the issue causing GetAtt to fail.
Furthermore, the real issue is cfnlint.helpers.RESOURCE_SPECS is using these to determine which parameters are valid.
Realistically, if we want to support this in pre-v1, the right answer is to find a way to combine the schemas and CloudFormationResourceSpecification as a source of truth for specifications so the rules get the right models.  However in practice this might be difficult.
@kddejong  asked me to open via discord
Expected behavior
All cfn-lint rules work with CloudFormation Registry resource custom extensions.
Reproduction template
I dont have any public extensions I can share.  So cannot easily provide a YAML here that is usable by someone else.
With that said, this snippit here shows the problem:
  IDPGroup:
    Type: xxxxx::AzureAD::Group
    Properties:
      GroupName: "mycustomgroup"
      GroupType: SECURITY
      Owners:
        - OwnerType: USER
          Name: !Ref OwnerEmail
      CredentialAppClientId: !Ref IDPAutoAppClientId
      CredentialAppAPIToken: !Ref IDPAutoAppAPIToken
      CredentialTenantId: !Ref IDPTenantId
  GroupAssignment:
    Type: xxxxx::AzureAD::GroupAssignment
    Properties:
      GroupId: !GetAtt IDPGroup.GroupId
      AppName: !Ref IDPAppName
      CredentialAppClientId: !Ref IDPAutoAppClientId
      CredentialAppAPIToken: !Ref IDPAutoAppAPIToken
      CredentialTenantId: !Ref IDPTenantId
      AppRoleName: "User"

Is there any update on this issue? Having similar issues with GetAtt.


Align singleton word use in our codebase

What is needed?
Deprecate master-copies endpoint or add a new alias using singletons
Background
Currently there is a missalignment between docs and codebase related to the term master copy and singleton. This creates confusion between developers as both terms refer to the same thing. As singleton is the way to go we should align all places where this reference is used. Not necessary to remove the master-copies endpoint directly but it should be possible to make this call also using singletons
Endpoint
If applicable, description on the endpoint and the result you expect:
Have a /singletons endpoint that returns exactly the same as the current master-copies
URL
GET /api/v1/about/singletons/

@fmrsabino @hectorgomezv you should be aware of this 😉


[BUG] Cursor not locking (shift lock and turning camera and first person)

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[x] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
v2.8.1
What problem did you encounter?
Cursor not locking at all (didnt know cursor wouldnt show in video but imagine it just moving around freely in shift lock and stuff)

Bloxstrap Log
N/A

does this happen with regular roblox

turns out it does i swear it wasnt happening w/o


Some more docs and tutorials

[x] jvp docs, jacfwd docs, hessian docs
[x] jvp tutorial (to go along with PyTorch's forward-mode AD tutorial)
[x] functorch use cases tutorial

[x] ensemble - mnist?
[x] per-sample-grads - mnist?
[x] jacobian, hessian

[ ] figure out google analytics for pytorch.org/functorch

Do we want to expose forward mode docs to the website? Should be a small change but a couple months ago, we thought it was too experimental of a feature

Yes - the question is if we need to do some versioning for our website or not, jvp works on the main branch and will work in the release but not on the version of functorch that works with pytorch 1.10

Complete


Correct typo

Paradigm/Machine Failure detection task
should be:
Paradigm/Machine failure detection task

Fixed.


no valid session error

What is the current behavior?
running graphcool auth and graphcool info returns "no valid session" error. as you can see in the screenshot, graphcool init works just fine.

What is the expected behavior?
running graphcool auth opens the browser for authentication, graphcool info prints information.

can we get a response on this issue ?
it was closed with no explanation as to what's the problem and I am still seeing this with the new graphcool@next module.

Apologies for the confusion @rwatts3. We’re looking into it!

The CLI now reauthenticates if an invalid session is found.
This will be released in the 0.7 release this afternoon


OpenSSL 1.1 support

On current archlinux with the goaccess-ssl package, the build fails because of:
configure:4165: checking for SSL_library_init in -lssl
configure:4190: gcc -o conftest  -pthread   conftest.c -lssl  -lpthread  >&5
/tmp/ccCmpW2t.o: In function `main':
conftest.c:(.text+0xa): undefined reference to `SSL_library_init'

The reason may be missing support for the newer openssl version, as noted in ponylang/ponyc#1838.
Please add openssl 1.1 support.

Thanks for reporting this. This has been added per this commit and request #591. It will be shipped in the upcoming version. Feel free to build from development to test this out.

Damnit, didn't see it :) Thanks!


Enforce redirect_uri by allowed prefix

Check to make sure that any redirect_uri that is passed in is allowed for that particular client_id.

The existence of req.query.redirect_uri is enforced in /oauth/authorize but isn't used. What's the intended behavior there? All the basic pieces are working for me but it's not feeling totally joined up, I'll try to help clarify usage if I can.

The existence is enforced, but really the value should be checked to ensure that the redirect_uri is either an exact match or a prefix (application-dependent) of allowed values for that particular client_id.
I'm thinking of adding an enforce_redirect_uri event that will be passed the client_id and redirect_uri so the implementation can itself perform the check.

Apologies, I didn't properly see that var authorize_url = req.url; passes all the existing query parameters through. There was an error in my own template code for my login pages that was confusing me. Sorry for crashing this issue :)


Annotate std/range/package.d to please dlang/dmd#12520

Part of #8076

Mind the doc typo

Done. Ready now.

removing automerge, druntime fails consistently. Maybe this needs stuff in stable?

removing automerge, druntime fails consistently. Maybe this needs stuff in stable?

Broken because of linker error triggered caused by now reverted https://github.com/dlang/phobos/pull/8103.
Rebasing to see if build passes again.


Single character string matches

How do you indicate that two one character strings match, since the transition matrix starts at the first character?
In typical string distance dynamic programs we start before the transition matrix starts before the first character so we can indicate matches.

Yes this implementation differs in that regard. If there are two classes the the lattice will be:
class 0         class 1
A   .              A  .

    B                 B

If the characters A=B match then the match feature on this single lattice position will fire and you'll get the expected result, for example that class 0 will be less likely than class 1.
I think the current implementation is general enough that you can get the same effect as the more standard way by setting up a more complicated state machine with a dedicated start state that can only transition diagonally (1, 1), and by always prepending strings with some start character.

Got it! Thanks.


How to access a second serial interface (Serial1)?

I am porting a code from Arduino UNO to the XMC4700. The project requires two serial interfaces. The second interface was implemented in Arduino with SoftwareSerial, however I see that the XMC has up to 6 Universal Serial Interface Channel, so I would like to use a second interface as in Arduino MEGA (Serial1, Serial2, etc.)
The platform compiler throws the following error:
'Serial1' was not declared in this scope.
I looked in the examples for some serial communication example but there is only for SPI and i2c.
How can I access the additional Serial Interfaces?
THANKS!

We are using the Upstream version.
[env:xmc4700_relax_kit]
platform = https://github.com/Infineon/platformio-infineonxmc.git
board = xmc4700_relax_kit
framework = arduino

This code runs properly without Serial1.begin(115200), but we need a second UART port.
#include <Arduino.h>

void setup()
{
    Serial.begin(115200);
    Serial1.begin(115200);
    delay(2500);
    Serial.println("Hello world");
}

void loop()
{
    if(Serial.available())
    {
        char c = Serial.read();
        Serial.println(c);
     }
     delay(100);
}

The version for the Arduino IDE access the second UART with Serial1, how can we access it in PlatformIO?

Come on guys!
At least a clue, any files that I need to modify? Any log files to share or review?
Having access to Serial1 is the only remaining requirement for the code to compile.

Okay,
I'm leaving this here in case someone else runs into the problem.
Apparently it was a conflict in the HardwareSerial definition.
On other boards (ESP, ST) it was necessary to #include <Arduino.h>; in the case of XMC it causes conflict and should not be added.
The following code compiles with 2 serial ports.
//#include <Arduino.h> <-- Remove
#include <HardwareSerial.h>

void setup()
{
  Serial.begin(115200);
  Serial1.begin(115200);
}

void loop()
{
  Serial.println("Hola Mundo");
  Serial1.println("Hola mundo Serial1");
  delay(1000);
}


Replace mentions of Avro with pb

Update the protobuf branch of schemas to remove some mentions of Avro. A following PR is needed describe in details the changes to the wire protocol and to update all the internal links to documentation generated from the .proto files. @calbach

Thanks for this. Just a few small comments.

@calbach updated :)

Looks good to me. +1 after the AVDL fix.

+1, merge at your leisure once Jerome's comment has been addressed (since this is onto the protobuf topic branch).


Spelling mistake: Image "shrinked"...should be "shrunk"/"shrunken"

Hey there, did not use the app. Just noticed in your slideshow the above mentioned spelling mistake. For your convenience check out the conjugation of the verb shrink here:
https://conjugator.reverso.net/conjugation-english-verb-shrink.html
Cheers, Martin

Thanks for the hint! :)


[IOS]We once found a bug in emoji, which is above ios 15

As shown in the video, after typing an emoji, the position of the cursor went wrong: the cursor should appear behind the emoji, but actually the cursor was displayed in front of the emoji. At this time, when you hold SPACE button to drag the cursor, it cannot be moved behind the emoji. And when you press DELETE button, the deletion logic was wrong: the text in front of the cursor should be deleted, but in fact the emoji was deleted.
Only some of the emoji have been tested so far, and the following 4 are found to have the above problem: 👩🎓👮♀👮♂👷♀
The iOS version of the device in the video is 15.2.1. The same problem exists in iOS 16.2 after testing.
https://user-images.githubusercontent.com/9430366/223048036-697d8eec-c835-4ced-b943-bfdb8dbb8552.MP4
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.9, on macOS 13.0.1 22A400 darwin-arm, locale
    zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.74.2)
[✓] VS Code (version 1.69.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!

code：
Padding(
              padding: EdgeInsets.only(
                left: 50,
                right: 50,
              ),
              child: TextField(),
            )

Hello @kutian. I see you're using 3.3. Could you try this on the latest stable 3.7.6?

The problem still exists on the latest stable 3.7.6

Looks like a duplicate of https://github.com/flutter/flutter/issues/50563. Therefore, I'll close this issue. Thank you


Broken link to installed soft in ubuntu-latest agents

link to software installed on any ubuntu latest agent is broken.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 61db3371-6395-88a2-fb78-09f98790ab1b
Version Independent ID: ef6f1bf7-02b8-9093-b84e-c9bde7d98e57
Content: Microsoft-hosted agents for Azure Pipelines - Azure Pipelines
Content Source: docs/pipelines/agents/hosted.md
Product: devops
Technology: devops-cicd-agents
GitHub Login: @steved0x
Microsoft Alias: sdanie

Duplicate of MicrosoftDocs/azure-devops-docs/issues/11771 - fixing now.


Iprogress not found

newClient.summarization_query("Please summarize original text")
|- Preprocessing data...
Traceback (most recent call last):

  File "<ipython-input-16-fc357368ba3d>", line 1, in <module>
    newClient.summarization_query("Please summarize original text")

  File "/usr/local/lib/python3.8/site-packages/libra/queries.py", line 961, in summarization_query
    self.models["summarization"] = summarization_query(

  File "/usr/local/lib/python3.8/site-packages/libra/query/nlp_queries.py", line 327, in summarization_query
    tokenizer = T5Tokenizer.from_pretrained("t5-small")

  File "/usr/local/lib/python3.8/site-packages/transformers/tokenization_utils.py", line 911, in from_pretrained
    return cls._from_pretrained(*inputs, **kwargs)

  File "/usr/local/lib/python3.8/site-packages/transformers/tokenization_utils.py", line 981, in _from_pretrained
    resolved_vocab_files[file_id] = cached_path(

  File "/usr/local/lib/python3.8/site-packages/transformers/file_utils.py", line 253, in cached_path
    output_path = get_from_cache(

  File "/usr/local/lib/python3.8/site-packages/transformers/file_utils.py", line 439, in get_from_cache
    http_get(url, temp_file, proxies=proxies, resume_size=resume_size, user_agent=user_agent)

  File "/usr/local/lib/python3.8/site-packages/transformers/file_utils.py", line 324, in http_get
    progress = tqdm(

  File "/usr/local/lib/python3.8/site-packages/tqdm/notebook.py", line 218, in __init__
    self.container = self.status_printer(

  File "/usr/local/lib/python3.8/site-packages/tqdm/notebook.py", line 96, in status_printer
    raise ImportError(

ImportError: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html

I see. Could you try to run the command below and retrying?
from ipywidgets import IntProgress
If ipywidgets is not found do:
pip install ipywidgets
jupyter nbextension enable --py widgetsnbextension


QR and 1D codes take to long to read.

Hi,
Trying to scan QR and 1D codes take a long time to read from a distance.
1D codes take long to read when close to the camera as well.
Is it possible to make it faster to read or process close up for 1D codes and from a distance for 1D codes and QR codes?
Thanks.

This is not easy to achieve with the library. With some effort you may be able to use different resolutions for different formats (e.g. crop or scale the image down before trying to read the 1D barcode), but I'm not sure if that will improve anything.


chore: bump WWS to 1.5.0

Bump WWS to 1.5.0

Need a rebase

Smoke test working fine, this is ready for review :)

PR updated with an explanation on the Makefile with a dedicated commit :)

CI seems to be failing due to a transient issue with GH actions.

@ereslibre could you please sign your commits?

@ereslibre could you please sign your commits?

I'm sorry again 🙏 I forgot 🤦
I just updated the PR, both commits signed with GPG and signed off too.

Thank you! @ereslibre I will merge once the CI passes


Blockly.getMainWorkspace() not persisted

Describe the bug
Blockly.getMainWorkspace() is not persisted. As a consequence, the dropdown from swagger enums are getting with errors when  changing values
To Reproduce
Steps to reproduce the behavior:

Go to https://localhost:4200/BlocklyAutomation/automation/loadexample/err38
Click on JSON dropdown. It opens
OPen developer tools
Click on "none"
See error

Expected behavior
The dropdown should show values
Screenshots
Additional context
See log in the developer tools :
here in loadSwagger from api is ok
here in GenerateBlock from api is not ok

I will do a hack  to deploy in production. To reproduce, do the following

Search for fix for #38
Comment (Blockly as any)["mainWorkspace"] = ws;


tests involving properties are pathologically slow

They routinely take ~4200ms instead of ~700ms

Building, you mean?

Yup, I think properties-related code in middle-end return 'Response LOOP' a lot, which makes the whole thing a lot slower

Alright. We run a number of tests on Travis CI, and those each take several seconds to build, but I never thought it was due to properties (we use them a lot). Interesting.

Ya, whole rock is on travis too, and that's what I'm talking about:
[PASS] [651ms, 2ms] compiler/preprocessor/namespaced-import-function.ooc
[PASS] [649ms, 2ms] compiler/preprocessor/namespaced-import-type.ooc
[PASS] [648ms, 1ms] compiler/preprocessor/oocdocs-not.ooc
[PASS] [647ms, 2ms] compiler/preprocessor/version-apple.ooc
[PASS] [696ms, 0ms] compiler/properties/call-properties.ooc
**[PASS] [3240ms, 2ms] compiler/properties/extend-pdfe.ooc**
**[PASS] [3171ms, 2ms] compiler/properties/extend-properties.ooc**
**[PASS] [3195ms, 2ms] compiler/properties/no-generic-initialization-for-properties.ooc**
[PASS] [665ms, 2ms] compiler/properties/operator_assign_setter.ooc
[PASS] [658ms, 2ms] compiler/properties/pdfe-cover.ooc
[PASS] [652ms, 2ms] compiler/properties/pdfe.ooc

So it's not all properties tests, just some


Removed underscoreThrottle function

This fixes the bug mentioned in steveathon/bootstrap-wysiwyg#73 where the hyperlink button does not work correctly.

@steveathon can you test this before merging? It looked good before I made the PR but I was unable to replicate the results a second time when I made the same changes to my code-cleanup branch.

@steveathon I looked over this again..and things look good on this branch shipit:
I think what happened was I just screwed something up on the other branch. Oh well I'll get it figured out haha.


Why are tree nodes and DataArrays treated equally by getitem() and setitem()?

Hello everyone! I have recently discovered your project and I'm very excited about the direction it is going! I see a lot of ways it can help me to better organize my Xarray Datasets and write cleaner code.
Being new to DataTree, I was quite confused when I discovered that my Datasets are not actually stored in the tree nodes. It took me some time to dig into the development history of the project and discover that this behavior was mainly introduced because of the name collision problem. After reading this page, the commit history, and a lot of related discussions, I believe I can now more or less understand why the things were implemented the way they are.
However, I can't stop thinking about one thing: why does DataTree even allow us to access DataArrays directly like this dt["data_array"] in the first place? As a new user I would expect that __getitem__() and __setitem__() would only work to navigate the tree nodes, and that's it. Intuitively I would then access a particular DataArray via the Dataset variable: dt.ds["data_array"].
In fact, I was wondering about this behavior even before I knew about the name collision issue, namely when I was learning how to polulate my tree with data. It turned out that creating a new node via dt["level1/level2/level3"] = something would either create a new node at level3 as expected, or in some cases it would instead create a new Dataset at level2 and put my data into a DataArray named "level3", which I found quite confusing.
Since a logical separation of tree nodes and DataArrays could help solve the name collision problem (at least before we try to write the result to NetCDF) and in my opinion would be more intuitive, I assume that this "equivalence" of tree nodes and DataArrays has a very strong reason to be implemented, thus I feel like I'm missing something important. I'd be thankful if someone could point me to the right direction on this one. I need to clarify, that even though I am an active Xarray user, I am not particularly familiar with the NetCDF format or with the CF conventions. So maybe my confusion comes from the fact that I am viewing this issue mostly from the Xarray user perspective.

Hi @shaprann - thanks for taking the time to raise this thoughtful issue! Let me try and respond to your individual points.

Being new to DataTree, I was quite confused when I discovered that my Datasets are not actually stored in the tree nodes.

The design of DataTree is somewhat similar to xarray.Dataset itself in this sense - I would be interested to know if you were similarly confused to discover that xarray.Dataset doesn't actually store DataArray objects? (Instead it actually stores Variable objects and reconstructs DataArray objects on __getitem__.)

It took me some time to dig into the development history

For reference, the first mention of the name collision problem was here, and the original suggestion for storing variables at the node level was here.

It turned out that creating a new node via dt["level1/level2/level3"] = something would either create a new node at level3 as expected, or in some cases it would instead create a new Dataset at level2 and put my data into a DataArray named "level3", which I found quite confusing.

I'm sorry to hear this was confusing. The basic rule here was intended to be that if "something" is a mapping (Dataset or DataTree) you are creating a new node, if it's a single variable-like object you are creating a DataArray. There is definitely a usability issue here in that the __setitem__ method is very overloaded. (And if we implemented https://github.com/xarray-contrib/datatree/issues/200 it would be further overloaded still...)

However, I can't stop thinking about one thing: why does DataTree even allow us to access DataArrays directly like this dt["data_array"] in the first place? As a new user I would expect that __getitem__() and __setitem__() would only work to navigate the tree nodes, and that's it. Intuitively I would then access a particular DataArray via the Dataset variable: dt.ds["data_array"].

I assume that this "equivalence" of tree nodes and DataArrays has a very strong reason to be implemented

I don't know about "very strong" reasons, but there were definitely some reasons:

Matching file format specifications

This design maps onto Zarr model, as in:
>>> root['foo/bar']
<zarr.hierarchy.Group '/foo/bar'>
>>> root['foo/bar/baz']
<zarr.core.Array '/foo/bar/baz' (10000, 10000) int32>

In conjunction with each node's contents being entirely separate, this means there is a one-to-one correspondence between a single Zarr store and a single DataTree object. This is a very very nice property to be able to guarantee.

I am not particularly familiar with the NetCDF format

The requirement that node names and variable names don't collide is also present in netcdf, and I think comes from the fact that a HDF5 file is basically pointing to folders in an actual filesystem underneath (zarr groups are stored in a similar way on disk too).

or with the CF conventions

Those we are not actually obeying in datatree (or in xarray). Technically obeying them would imply "inheritance" of individual variables from parent nodes, which is a whole other topic.

Neatly solving the name collision problem

There are two main options for avoiding name collisions:
(a) store variables and nodes to as separate mappings (i.e. dt vs dt.ds), or
(b) store at the same level but restrict choices of name.
In order to have a simple correspondence with Zarr/netCDF (see (1)) you need to restrict the names. If you restrict the names it would be weird to store them in seemingly-unrelated mappings, i.e. you should use (b). In that case  dt alone as a mapping interface then is technically sufficient, and dt.ds is just for convenience.

Allowing you to pretend a node is a Dataset

Accessing DataArrays via dt['var'] allows you to mostly treat a node like a Dataset, and if it turns out to contain children then dataset method operations are automatically mapped down to them too. If you have a node with no children (i.e. a leaf node), it literally behaves identically to an xarray.Dataset but has some extra tree-related properties and methods. This also means that your code can look like dt['child']['var'] instead of dt['child'].ds['var']. (I acknowledge that there is some redundancy in treating a node like a dataset and also having a .ds property.)

@shaprann do you have a specific suggestion of how you think it should work instead? Forbid variable access on dt in favour of access only via dt.ds?
If we were to make a change like this it should happen now, before integration into xarray upstream.
cc @shoyer @jhamman @keewis @dcherian for opinions

Hey @TomNicholas, thank you for such a detailed response, it totally answers my question and gives me some valuable insights into the project as a whole!
Actually, this

This design maps onto Zarr model

is already enough for me to justify that access syntax, I just wasn't that much aware of the Zarr data model.
But my confusion also came from the fact that I conceptually thought of a DataTree object as a "container" for multiple Datasets, similar to how a Dataset is a "container" for multiple DataArrays, at least from the user point of view. However, now I realize that a DataTree object actually represents the current node, which can be thought as a "replacement" for the Dataset proper. So it totally makes sense that we can access DataArrays using __getitem__(). What led to this initial confusion was the lack of conceptual separation between the "DataTree" as a whole and a particular "NodeDataset" (which essentially acts like an xr.Dataset), since in current implementation both are the same thing.
I believe that this issue can be closed, since my original question has been answered.
As for your last question, I think I'd better join the the discussion in https://github.com/xarray-contrib/datatree/issues/80 because it would be a more appropriate place. Thank you for the answer once again!

I'm glad that answered your question @shaprann !

What led to this initial confusion was the lack of conceptual separation between the "DataTree" as a whole and a particular "NodeDataset" (which essentially acts like an xr.Dataset), since in current implementation both are the same thing.

Yes, I should try to make this clearer in the documentation somewhere.
Given that we already have a place to discuss this in #80, I'm going to close this for now.


[Feature Request]: Improve Font Weight on Rules Card in Games List Section

How would you like to enhance the existing project.
GSSOC'23
Feature Description

Commonly add 3 Rule Points for Every Game.
So, Much Space is there for Possibility to Improving Font Weight of Rule Points
I want to Improve Little Bit Font Improvement for Rule Points

Describe breifly how would you implement the same.
Solution_steps:

Go To 'https://games.ieeessitvit.tech/'
Scroll Down to 'Games Projects List'
Hovering on Games Card List. Then, Rule Points are came out and Observe Font Lists.
So, Better to improving Font Weight for Better Eye Vision

Are you contributing for a program?
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

NOTE: I want to work on this ISSUE

Hi @NarendraKoya999 , I am assigning this issue to you. Kindly complete your work within a week. Good luck!

Sure @panwar8279

Hey @panwar8279 . Please close this Related Issue and Merged PR Also.


pytest error - please see body context

___________________________ ERROR collecting tests/test_p_value.py ___________________________
ImportError while importing test module '/Users/minkyuchoi/repos/SwarmLab/Swarm-Visualization/tests/test_p_value.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../../.asdf/installs/python/3.8.16/lib/python3.8/importlib/init.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_p_value.py:12: in
from swarm_visualizer.utility.statistics_utils import add_wilcoxon_value
swarm_visualizer/utility/statistics_utils.py:1: in
from statannot import add_stat_annotation
E   ModuleNotFoundError: No module named 'statannot'

I think that is added by OA in the newest pull request


[AutoPR eventgrid/data-plane] Replacing # with #

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3174

(message created by the CI based on PR content)

Codecov Report

Merging #2679 into restapi_auto_eventgrid/data-plane will not change coverage.
The diff coverage is 100%.

@@                        Coverage Diff                         @@
##           restapi_auto_eventgrid/data-plane    #2679   +/-   ##
==================================================================
  Coverage                              55.88%   55.88%
==================================================================
  Files                                   7161     7161
  Lines                                 150710   150710
==================================================================
  Hits                                   84228    84228
  Misses                                 66482    66482

Impacted Files
Coverage Δ

...d/models/device_life_cycle_event_properties_py3.py
40% <ø> (ø)
:arrow_up:

...ntgrid/models/iot_hub_device_deleted_event_data.py
80% <ø> (ø)
:arrow_up:

...ntgrid/models/iot_hub_device_created_event_data.py
80% <ø> (ø)
:arrow_up:

...tgrid/models/device_life_cycle_event_properties.py
40% <ø> (ø)
:arrow_up:

...id/models/iot_hub_device_deleted_event_data_py3.py
80% <ø> (ø)
:arrow_up:

...id/models/iot_hub_device_created_event_data_py3.py
80% <ø> (ø)
:arrow_up:

azure-eventgrid/azure/eventgrid/version.py
100% <100%> (ø)
:arrow_up:

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 8fc953a...a9ce3a6. Read the comment docs.

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/2687


Fix driver and selenoid Docker labels

After having added support to retrieve latest drivers, the driver and selenoid Docker labels in the Browser images had the wrong value of latest instead of the actual version. This PR fixes that issue.

@vania-pooh I rebased on top of master.

@ruescar thank you for contribution!


Custom page classes for pagination

Love the library! However, I was surprised to find no option for easily adding custom class attributes to a pagination item for styling purposes, e.g. instead of using only the default classes:

        1

    ...

I wanted to add some Bootstrap class names:

        1

    ...

This could be achieved by allowing tweaks to the following line in pagination.js:
https://github.com/javve/list.js/blob/52afe2db0d018df3009acf49b6cbb56943b28024/src/pagination.js#L85
This could, for example, be achieved by adding two new options during list initialization, similar to the paginationClass option.

Hey @javve! 👋
I found myself in the same situation as @cdekkers. I want to change the styling of the pagination and I'm not able to do so with the current version.
I saw that there's multiple PR that should solve this issue.
May I help somewhere to get this feature in your library?

Having the same issue here. Does anyone start working on that? I can help!

Hey @fccoelho7!
I made a fork that allow me to use Bootstrap styling.
It's not perfect because you cannot customize the styling, but it's working for my use-case.

Hey, is there any update to this issue? I need also to add custom classes to
.
Which file should I edit in order to add it manually?

Update?

update ?

https://github.com/javve/list.js/issues/744#issuecomment-1086039470
I hopes it can help :)


Updated installation section and titles

This PR:

Updates Installation procedural modules as per latest updates.
Deleted an image and updated another as per changes
Modifies title headings as per Siamak's input
This PR does not modify the Using Pipelines section, this will be updated through another PR, along with other changes (CLI etc.) coming in to the workflow.

@joaedwar please review. Please note, I have updated the Index.adoc with the content from the Understanding OpenShift Pipelines assembly to remove duplication of content from the 2 sections. Let me know if this is a concern when publishing the doc and if it is, let's discuss and work it out.


New package: CZML v1.0.0

Registering package: CZML
Repository: https://github.com/Stoops-ML/CZML.jl
Created by: @Stoops-ML
Version: v1.0.0
Commit: 45d0b482cb573b6222a41b1959acf5e9e160b4ce
Reviewed by: @Stoops-ML
Reference: https://github.com/Stoops-ML/CZML.jl/issues/2#issuecomment-1667412063
Description: Create CZML files in Julia

Reason for not fixing AutoMerge issues:
I would like to keep the name of the package as CZML.jl. I believe this is an appropriate name for the Julia package that's goal is to create CZML files. More information about CZML files can be found here.


DTYPE and MACTYPE

Hi, thank you for your project.
What kind difference should be  between DTYPE and MACTYPE. In your example char (8 bit) and int (32 bit).
If I want to use DTYPE short (16 bit), what MACTYPE I should choose ?
Long int (64 bit) ? Or need to rounding and truncate immedietly after every multiplication ?

DTYPE is the data type you truncated for weight and activation.
MACTYPE refers to the precision of the accumulator. You need to make sure that the precision of the accumulator are high (long) enough to avoid possible overflow


Minor issues in user_guides/debugging/local_variables.html

At the end of the page https://intelpython.github.io/numba-dppy/latest/user_guides/debugging/local_variables.html, the script ends before the function review() is called:
@dppy.func
def revive(x):
    return x

@dppy.kernel(debug=True)
def data_parallel_sum(a, b, c):
    i = dppy.get_global_id(0)
    l1 = a[i] + 2.5
    l2 = b[i] * 0.3
    c[i] = l1 + l2
    revive(a)   <--- This line is missing

Below the above script, annotations seem to have mismatch with line numbers:
# --- LINE 24 ---    <--- This should refer the line 21 in the above script

@dppy.kernel(debug=True)

There is also another annotation example in this page, and that seems to have similar issue with line numbers mismatching with the associated script.

Thank you @mpuputti.

@roxx30198 Can you please update the docs as suggested?


bump sync to 0.1.14

@bparees @tdawson FYI
@jim-minter - this will pull into the openshift jenkins centos image the sync plugin change to be more prudent on when bc's are updated

[test]

@stevekuznetsov sorry, but something happened since the successful test run in the last PR ... there are some ruby NoMethodError's in this test log.

@gabemontero I sent out another e-mail -- the previous one was a little premature. I'll either fix Rosie this morning or get her out of this repo.

Ah - gotcha - I misinterpreted the timing between that email and the last successful test run; yeah, just let us know, thanks

@gabemontero we're back in business baby

cool deal @stevekuznetsov !
going for broke ..... [merge]


Include sampler to PyMC3?

Just writing to test the waters of whether you think this would make a good addition to PyMC3: https://github.com/pymc-devs/pymc3. Creating a new sampler is pretty straight-forward and would allow it to run on a large variety of models. Specifically, nested samplers were requested here: https://github.com/pymc-devs/pymc3/issues/719

I made a short comment high-lighting some differences between nested SMC (inherently a particle filter) and the nested sampling algorithm as first presented by Skilling. Maybe sequential Monte Carlo algorithms are not what you are after? Could of course be potentially interesting to implement particle MCMC algorithms: http://www.stats.ox.ac.uk/~doucet/andrieu_doucet_holenstein_PMCMC.pdf
These are a way of using SMC samplers/particle filters to construct invariant MC kernels.


Identity component

<Identity/>
Shows the Skype profile picture and first name of the holder of a given address, if available.
This component should be created in Storybook, with designs TBD.
Input props

address: the wallet address of which to display an identity

Wrapper ready, merged in #53


DRONE_RESOURCE_REQUEST_MEMORY The setting does not take effect

I ran drone in K8s and set DRONE_RESOURCE_REQUEST_MEMORY to 1000MIB; but it didn't seem to work.
This is my runner configuration:
# drone-runner-kube/values.yaml
...
env:
  DRONE_NAMESPACE_DEFAULT: drone
  DRONE_RESOURCE_REQUEST_CPU: 500
  DRONE_RESOURCE_REQUEST_MEMORY: 1000MiB
...

It looks like its request configuration:

Hi @guolong123 our internal team is working on it and will get back to you ASAP.
Thanks!

Hi @guolong123 our internal team is working on it and will get back to you ASAP.
Thanks!

OK, I look forward to your reply.


grafana: 5.3.2 -> 5.3.4

Motivation for this change
Includes a closed vulnerability in 5.3.3 and some bugfixes in 5.3.4.
(Backport PR for 18.09 coming up)
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: grafana
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: grafana
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/dbn76838ghkmdgnhcff2q6n7q5261f78-grafana-5.3.4-bin
shrinking /nix/store/dbn76838ghkmdgnhcff2q6n7q5261f78-grafana-5.3.4-bin/bin/build
shrinking /nix/store/dbn76838ghkmdgnhcff2q6n7q5261f78-grafana-5.3.4-bin/bin/grafana-cli
shrinking /nix/store/dbn76838ghkmdgnhcff2q6n7q5261f78-grafana-5.3.4-bin/bin/grafana-server
shrinking /nix/store/dbn76838ghkmdgnhcff2q6n7q5261f78-grafana-5.3.4-bin/bin/release_publisher
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/dbn76838ghkmdgnhcff2q6n7q5261f78-grafana-5.3.4-bin/bin
patching script interpreter paths in /nix/store/dbn76838ghkmdgnhcff2q6n7q5261f78-grafana-5.3.4-bin
checking for references to /build in /nix/store/dbn76838ghkmdgnhcff2q6n7q5261f78-grafana-5.3.4-bin...
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip

@GrahamcOfBorg test grafana

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: tests.grafana
Partial log (click to expand)
Cannot nix-instantiate `tests.grafana' because:
error: while evaluating 'recursiveUpdate' at /var/lib/gc-of-borg/nix-test-rs-15/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-15/lib/attrsets.nix:415:26, called from /var/lib/gc-of-borg/nix-test-rs-15/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-15/lib/attrsets.nix:148:28:
while evaluating 'recursiveUpdateUntil' at /var/lib/gc-of-borg/nix-test-rs-15/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-15/lib/attrsets.nix:384:37, called from /var/lib/gc-of-borg/nix-test-rs-15/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-15/lib/attrsets.nix:416:5:
while evaluating 'zipAttrsWith' at /var/lib/gc-of-borg/nix-test-rs-15/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-15/lib/attrsets.nix:347:21, called from /var/lib/gc-of-borg/nix-test-rs-15/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-15/lib/attrsets.nix:394:8:
while evaluating 'zipAttrsWithNames' at /var/lib/gc-of-borg/nix-test-rs-15/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-15/lib/attrsets.nix:332:33, called from /var/lib/gc-of-borg/nix-test-rs-15/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-15/lib/attrsets.nix:347:27:
while evaluating the attribute 'grafana' at /var/lib/gc-of-borg/nix-test-rs-15/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-15/nixos/tests/all-tests.nix:87:3:
while evaluating 'handleTest' at /var/lib/gc-of-borg/nix-test-rs-15/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-15/nixos/tests/all-tests.nix:17:22, called from /var/lib/gc-of-borg/nix-test-rs-15/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-15/nixos/tests/all-tests.nix:87:13:
while evaluating 'discoverTests' at /var/lib/gc-of-borg/nix-test-rs-15/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-15/nixos/tests/all-tests.nix:13:19, called from /var/lib/gc-of-borg/nix-test-rs-15/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-15/nixos/tests/all-tests.nix:18:5:
access to path '/nix/store/b9rbnpf84xf6xzj403nn0h5pi1mwjysj-grahamc-aarch64-community-15' is forbidden in restricted mode

Success on aarch64-linux (full log)
Attempted: grafana
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/5836d80vsfrk6zh3i7q4vwa11ib3b8c2-grafana-5.3.4-bin
shrinking /nix/store/5836d80vsfrk6zh3i7q4vwa11ib3b8c2-grafana-5.3.4-bin/bin/release_publisher
shrinking /nix/store/5836d80vsfrk6zh3i7q4vwa11ib3b8c2-grafana-5.3.4-bin/bin/build
shrinking /nix/store/5836d80vsfrk6zh3i7q4vwa11ib3b8c2-grafana-5.3.4-bin/bin/grafana-cli
shrinking /nix/store/5836d80vsfrk6zh3i7q4vwa11ib3b8c2-grafana-5.3.4-bin/bin/grafana-server
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/5836d80vsfrk6zh3i7q4vwa11ib3b8c2-grafana-5.3.4-bin/bin
patching script interpreter paths in /nix/store/5836d80vsfrk6zh3i7q4vwa11ib3b8c2-grafana-5.3.4-bin
checking for references to /build in /nix/store/5836d80vsfrk6zh3i7q4vwa11ib3b8c2-grafana-5.3.4-bin...
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip

No attempt on x86_64-linux (full log)
The following builds were skipped because they don't evaluate on x86_64-linux: tests.grafana
Partial log (click to expand)
error: while evaluating 'recursiveUpdate' at /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/lib/attrsets.nix:415:26, called from /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/lib/attrsets.nix:148:28:
while evaluating 'recursiveUpdateUntil' at /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/lib/attrsets.nix:384:37, called from /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/lib/attrsets.nix:416:5:
while evaluating 'zipAttrsWith' at /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/lib/attrsets.nix:347:21, called from /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/lib/attrsets.nix:394:8:
while evaluating 'zipAttrsWithNames' at /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/lib/attrsets.nix:332:33, called from /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/lib/attrsets.nix:347:27:
while evaluating anonymous function at /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/lib/lists.nix:113:41, called from /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/lib/attrsets.nix:347:46:
while evaluating the attribute 'grafana' at /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/nixos/tests/all-tests.nix:87:3:
while evaluating 'handleTest' at /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/nixos/tests/all-tests.nix:17:22, called from /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/nixos/tests/all-tests.nix:87:13:
while evaluating 'discoverTests' at /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/nixos/tests/all-tests.nix:13:19, called from /var/lib/gc-of-borg/nix-root/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/gleber-bastion/nixos/tests/all-tests.nix:18:5:
access to path '/nix/store/nsz6b1hs47qlgsphwxycq990xzpv1hgw-gleber-bastion' is forbidden in restricted mode

Thanks for taking care of this!


Time series classification

Hi，
Your work is great. I have a little question about TCN.  I am trying to apply TCN to time series classification (feed the output of the last time step to a Fully connected layer, but the results seem not good as the conventional CNN with global pooling). I do not know if that is normal? Maybe I did something wrong. Could you please give me some help? Thanks a lot.

Hi，
Your work is great. I have a little question about TCN. I am trying to apply TCN to time series classification (feed the output of the last time step to a Fully connected layer, but the results seem not good as the conventional CNN with global pooling). I do not know if that is normal? Maybe I did something wrong. Could you please give me some help? Thanks a lot.

Multiple variable input? Which parameter did you modify？


refactor(dataset): remove the deprecated method "get_segment_by_name"

Pull Request Test Coverage Report for Build 927478823

0 of 0   changed or added relevant lines in 0 files are covered.
31 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.5%) to 84.996%

Files with Coverage Reduction
New Missed Lines
%

tensorbay/utility/common.py
31
44.35%

Totals

Change from base Build 927252813:
-0.5%

Covered Lines:
4832

Relevant Lines:
5685

💛  - Coveralls


Migrate project to Python

Migrate the project from TypeScript and JavaScript to Python.

Main Application and Server Setup

Add app.py as the main application entry point.
Add server.py for server setup and configuration.

Dockerfile

Update Dockerfile to use Python instead of Node.js.
Install necessary Python dependencies.
Set the entry point to run the Python application.

Utility and Logger Modules

Add lib/utils.py for utility functions.
Add lib/logger.py for logging configuration.

Security and Challenge Utilities

Add lib/insecurity.py for security functions.
Add lib/challenge_utils.py for challenge utility functions.

Bot and Accuracy Utilities

Add lib/bot_utils.py for bot utility functions.
Add lib/accuracy.py for accuracy functions.

Coding Challenges

Add lib/coding_challenges.py for coding challenge functions.

Startup Modules

Add various startup modules in lib/startup for validating dependencies, cleaning up folders, customizing the application, registering websocket events, restoring files, and validating configurations.

Jenkinsfile

Add Jenkinsfile for deploying the app to Azure Web App.

For more details, open the Copilot Workspace session.

Why?


backend serving of CXG/tiledb objects

Add CXG/tiledb support to the multi-dataset/mulit-user backend.

Resolved by chanzuckerberg/cellxgene#1140


cs/Adds a try-catch to prompt user errors

Adds a try/catch to catch the exception and prompt to the users

The PR: https://github.com/Esri/arcgis-maps-sdk-flutter-samples/pull/196/files


Compression fields in both in Chunk Index and Chunk

Which of these is the authoritative one?

related thought discussed in slack: should the compression be in a new "chunk_stats" or similarly-named field in statistics, instead of its current location in the chunk index record where it is more like a covering index or included column (in pg for instance).
Arguments in favor:

the compression info is not required for the use of the index that is reading chunk data. It's only needed as an included field for the "summary" operation.

Arguments against:

the compression field is not the only field required by the summary operation, so either the new chunk_stats field needs to further duplicate information in the preceding chunk index records, or the chunk_stats field will not be comprehensive enough to serve the needs of the summary operation, which will then need to depend on both sources of data.

We will leave these fields and document that these fields are the non-authoritative versions.

Add message count field.

Captured in by branch: https://github.com/foxglove/mcap/tree/roman/spec-format/docs/specification


Dsm again

Description

Motivation

Reviewer checklist

[ ] If this PR modifies anything else than strictly the default scenario, then add the run-all-scenarios label (more info).
[ ] CI is green

[ ] If not, failing jobs are not related to this change (and you are 100% sure about this statement)

Workflow

⚠⚠ Create your PR as draft
Follow the style guidelines of this project (See how to easily lint the code)
Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
Mark it as ready for review

Once your PR is reviewed, you can merge it! :heart:

You should really try to run the typescript app locally to find what's wrong, the system tests CI won't give you the error, you need to do it locally and it will tell you exactly which line is wrong

All the failing tests are unrelated to the PR, @cbeauchesne could you approve it?


[EventHubs] Make Event Processor Live Tests more deterministic

Summary
Event Processors, once initialized, demand some time before stabilizing. This happens because of the internal load balancing, which tries to distribute partition processing responsibility among Event Processors in the most balanced way.
The Event Processor Live Tests currently rely only on delays to assert stability before actually performing assertions, an approach that may result in flaky behavior.
https://github.com/Azure/azure-sdk-for-net/blob/b65ef0889c7b0492b88d3865e6838636d4f99ab8/sdk/eventhub/Azure.Messaging.EventHubs/tests/Processor/EventProcessorLiveTests.cs#L68-L71
For reference purposes: all aforementioned delays are preceded by a comment with the word stabilize.
Goal
Reduce the flakiness by monitoring the partition distribution instead of relying on delays. Once a balanced status has been achieved, proceed with the testing.
Things to keep in mind:

We should only recognize a balanced status when it hasn't changed for a certain amount of time.
We should have a timeout to abort the verification in case it takes too long. In this situation, something unexpected has happened.

Issue solved by: #7414
New related issue: #7458


Thank-you!

Hey @DecliningLotus - I just wanted to say this is a great resource and thank-you for the work on it.  I have noticed the problems with typeface that you have also noted. Thanks for the work into this.  Feel free to close this issue once you see it.  Just wanted to note the effort you have put into this!
I am using it on my project gatsby-theme-catalyst now for one theme and will transition some of the other fonts/projects I have to this.
Keep it up!

Appreciate the support @ehowey. glad you find use in this project! Let me know if you ever have any issues with it. :)


Ensure there is a variable + ignore imports

@ryanbahniuk any chance to merge this ?

Hi guys, I created a fork to update this repo! https://github.com/jairmedeiros/scss2json


Split E2E test workflows

What this PR does / why we need it:
A minor fix for e2e workflows, run full e2e suite on push and nightly and short suite only for PR.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Checklist:

[ ] squashed commits into logical changes
[ ] includes documentation
[ ] adds unit tests
[ ] adds or updates e2e tests

Please address https://github.com/rancher-sandbox/rancher-turtles/pull/137/files#r1334528249


Improve LineReader with custom delimiters

Please don't be angry for [$line, $this->buffer] thing, I will change it if you let me know.
Just tried to simplify code a bit.

@kelunik
Please see updated.

@kelunik Thank you for review!

@userqq @hlib-kuznetsov Seems like committer and PR author account don't match, I hope that's fine.

@kelunik Oh, sorry for confusing, it's both my accounts, i've created PR from this account by mistake.


feat(git changelog): resolve contributors' GitHub profile URL

Resolve GitHub profile URL based on a contributor's GitHub no-reply email
Document how contributor information is resolved

@giladgd I have made some changes based on this PR, please see #295 , comments and suggestions are welcome.


How can I build an openvino image that supports Debian System of  Raspberry Pi?

currently we don't have plans for adding the image for Raspberry Pi in docker_ci tools. This should be however doable while OpenVINO does support ARM architecture. https://github.com/openvinotoolkit/openvino_contrib/tree/master/modules/arm_plugin
You can read more about building ARM plugin in https://github.com/openvinotoolkit/openvino_contrib/wiki/How-to-build-ARM-CPU-plugin


FIX-#3616: Remove setup.py platform-specific logic to make distribution pure Python

What do these changes do?
Deletes platform-specific logic in setup.py so that the Python wheel file is pure python so that all platforms can use the same wheel.

[ ] commit message follows format outlined here
[ ] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[ ] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[ ] signed commit with git commit -s
[x] Resolves #3616?
[ ] tests added and passing
[ ] module layout described at docs/developer/architecture.rst is up-to-date

@jeffreykennethli please update the "how to release" document as well: https://github.com/modin-project/modin/blob/master/docs/release-procedure.md


no "window" in react native

There is no "window" in react native. And by the way fix the indent.

window.alert('blah') works fine in React native and it's a lot cleaner to reference a common global, than to just say alert imo.  I added this because alert trips my linting, but window.alert is known.

@facebook-github-bot shipit


Combining add/remove with saving grid layout to LS

I am trying to implement the react-grid-layout where I can add/remove grid items and also save the layout to local storage using an individual username as a key. I have tried to implement this but am getting errors which ever way I try it, below is my code for the react grid, could someone advise where I am going wrong...
const ReactGridLayout = WidthProvider(Responsive);

//Find username form localstorage (uuid string)
const username = localStorage.getItem('username')

const Dash = (props) => {
  //Variable used for id of grid component:
  const id = uuid()

  //Hook to set layout state
  const originialLayouts = getLayout("layouts") || {}
  const savedLayout = JSON.parse(JSON.stringify(originialLayouts))

  //column size is static
  //layouts taken from local storage via function
  const [ state, setState ] = React.useState({
    cols: { lg: 12, md: 10, sm: 6, xs: 4, xxs: 2 },
    rowHeight: 30,
    layouts: {},
    layout: [].map(function(i, list) {
      return {
        i: i.toString(),
        x: i * 2,
        y: 0,
        w: 3,
        h: 3,
        add: i === (list.length - 1)
      }
    })
  })

  //function ammends layout array with additional grid item
  const addItem = (item) => {
    console.log('adding: ' + id);
    const newLayout = state.layout;
    newLayout.push({
      i: `${id}`,
      x: (state.layout.length * 3) % (state.cols || 12),
      y: 0,
      w: 3,
      h: 3
    })
    setState({layout: newLayout})
  }

  //function to remove grid item on click
  const removeItem = (i) => {
    console.log(i)
    setState({ layout: _.reject(state.layout, { i:i }) })
  }

  // function to calculate where to add items based on the cols
  const onBreakpointChange = (breakpoint, cols) => {
    setState({
      cols: cols,
      breakpoint: breakpoint
    })
    console.log(state)
  }

  //function to save layout to LS everytime a grid item is moved.
  const onLayoutChange = (layout, layouts) => {
    saveLayout("layouts", layouts)
    setState({ layout: layout})
  }

  return (

      <button onClick={addItem}>Add Item</button>
        <ReactGridLayout
          className="layout"
          layouts={state.layouts}
          breakpoints={{ lg: 1200, md: 996, sm: 768, xs: 480, xxs: 0 }}
          onLayoutChange={(layout, state) => onLayoutChange(layout, state)}
          onBreakpointChange={onBreakpointChange}
          cols={{ lg: 12, md: 12, sm: 6, xs: 4, xxs: 2 }}
          resizeHandles={['s', 'w', 'e', 'n', 'sw', 'nw','se', 'ne']}
          compactType={"vertical"}
          draggableHandle=".dragHandle"
      >
        {_.map(state.layout, (item, i) => (

Drag From Here

            <DashItem>
            <button onClick={() => removeItem(item.i)}>Remove Item</button>
                 <CreateGraph data={state.layout[i]}/>
            </DashItem>

Drag From Here

        ))}
        </ReactGridLayout>

  );
}

//function to get user layout from LS
const getLayout = (key) => {
  let ls = {};
  if (global.localStorage) {
    try {
      ls = JSON.parse(global.localStorage.getItem(username)) || {};
    } catch (error) {
      console.log('error with getLayout')
    }
  }
  return ls[key]
}

//function to save user layout to LS
const saveLayout = ( key, value ) => {
  if (global.localStorage) {
    global.localStorage.setItem( username, JSON.stringify({ [key]: value}) );
  }
}

export default Dash;

Hi,
Yes, I did manage to do this in the end.
I amended the getLayout and saveLayout functions as below:
export const getLayout = (key) => {
  try {
    const serialisedState = localStorage.getItem(key);
    if (serialisedState === null) {
      return [];
    }
    return JSON.parse(serialisedState);
  } catch (error) {
    return [];
  }
};

//function to save user layout to LS
export const saveLayout = (layoutName, state) => {
  try {
    const serialisedState = JSON.stringify(state);
    localStorage.setItem(layoutName, serialisedState);
  } catch (error) {
    console.log("local storage error");
  }
};

So the layout is saved to local storage under a unique key. You can set the local storage layout to update every time it's changed using the onLayoutChange property of RGL.
You can call the layout back from local storage using a useEffect hook that runs on page load. This will set the layout in state every time the page is loaded i.e.:
// Load layout
  const savedLayout = getLayout(props.id);

  //effect will update the dashlayout when you load page
  React.useEffect(() => {
    setState({
      ...state,
      layout: savedLayout,
    });
  }, []);

  // set state
  const [state, setState] = React.useState({
    cols: { xl: 15, lg: 12, md: 10, sm: 6, xs: 4, xxs: 2 },
    rowHeight: 100,
    layout: savedLayout,
  });

Hope this helps!

Hi, thanks.
Unfortunately I'm still stuck (maybe because I'm new to this).
Is there a library to import to remove these errors ?
I've copied your first code, modified the save and get layout functions, but I've got these errors:
 Line 13:14:  'uuid' is not defined         no-undef            Line 91:14:  'DashItem' is not defined     react/jsx-no-undef   Line 93:19:  'CreateGraph' is not defined  react/jsx-no-undef
which import have I missed ?
Thanks a lot !

Hi,
You have import errors as you have not installed some of the relevant packages. uuid creates a unique identifier which I was using to identify each individual grid element. This means that when you add/remove an element to LS each saved element will be unique and you won't end up with 2 keys the same. If you want to use this you will need to npm install uuid.
CreateGraph and DashItem were specific components created to import into the grid elements when they are added/removed. In this case you will just add whatever you are putting into your RGL elements.
I would advise trying to understand what each part of the code is doing and rewriting it in a way that suits your application instead of copying/pasting it straight in.
Hope this helps!

Hello,
Ok, so far here's what I have:
import React from "react";
import { WidthProvider, Responsive } from "react-grid-layout";
import {v4 as uuid} from "uuid";
import _ from "lodash";
import "./styles.css";
import "./example-styles.css";

const ResponsiveReactGridLayout = WidthProvider(Responsive);
const originalLayouts = getFromLS("layouts") || {};

/**
 * This layout demonstrates how to sync multiple responsive layouts to localstorage.
 */
export default class ResponsiveLocalStorageLayout extends React.PureComponent {
  constructor(props) {
    super(props);

    this.state = {
      layouts: JSON.parse(JSON.stringify(originalLayouts)),
      items: [].map(function(i, list) {                                            // I think the problem is here
        return {
          i: i.toString(),
          x: i * 2,
          y: 0,
          w: 2,
          h: 2,
          add: i === (list.length - 1)
        };
      })
    };

    this.onAddItem = this.onAddItem.bind(this);
    this.onBreakpointChange = this.onBreakpointChange.bind(this);
  }

  static get defaultProps() {
    return {
      className: "items",
      cols: { lg: 12, md: 10, sm: 6, xs: 4, xxs: 2 },
      rowHeight: 30
    };
  }

createElement(el) {
    const removeStyle = {
      position: "absolute",
      right: "2px",
      top: 0,
      cursor: "pointer"
    };
    const i = el.i;
    return (

          x

    );
  }

  onAddItem() {
    /*eslint no-console: 0*/
    const id = uuid()
    console.log("adding", id);
    this.setState({
      // Add a new item. It must have a unique key!
      items: this.state.items.concat({
        i: `${id}`,
        x: (this.state.items.length * 2) % (this.state.cols || 12),
        y: Infinity, // puts it at the bottom
        w: 2,
        h: 2
      })
    });
  }

  // We're using the cols coming back from this to calculate where to add new items.
  onBreakpointChange(breakpoint, cols) {
    this.setState({
      breakpoint: breakpoint,
      cols: cols
    });
  }

  onRemoveItem(i) {
    console.log("removing", i);
    this.setState({ items: _.reject(this.state.items, { i: i }) });
  }

  resetLayout() {
    this.setState({ layouts: {} });
  }

  onLayoutChange(layout, layouts) {
    saveToLS("layouts", layouts);
    this.setState({ layout: layout});
  }

  render() {
    return (

        <button onClick={this.onAddItem}>Add Item</button>
        <button onClick={() => this.resetLayout()}>Reset Layout</button>
        <ResponsiveReactGridLayout
          className="layout"
          cols={{ lg: 12, md: 10, sm: 6, xs: 4, xxs: 2 }}
          rowHeight={30}
          onBreakpointChange={this.onBreakpointChange}
          {...this.props}
          layouts={this.state.layouts}
          onLayoutChange={(layout, layouts) =>
            this.onLayoutChange(layout, layouts)
          }
        >
          {_.map(this.state.items, el => this.createElement(el))}
        </ResponsiveReactGridLayout>

    );
  }
}

function getFromLS(key) {
  let ls = {};
  if (global.localStorage) {
    try {
      ls = JSON.parse(global.localStorage.getItem("rgl-8"));
    } catch (e) {
      /*Ignore*/
    }
  }
  return ls[key];
}

function saveToLS(key, value) {
  console.log(value)
  if (global.localStorage) {
    global.localStorage.setItem(
      "rgl-8",
      JSON.stringify({
        [key]: value
      })
    );
  }
}

if (process.env.STATIC_EXAMPLES === true) {
  import("./test-hook.jsx").then(fn =>
    fn.default(ResponsiveLocalStorageLayout)
  );
}

After multiples tries, I'm still unable to find a solution to this. It seems the saveToLS function is triggered correctly, but on the reload, I think the items properties of state is taking the priority. Therefore, when I refresh my page, it's still blank and nothing appears.
Any advices ?
Thanks a lot !


Module not found: Can't resolve 'React' in '/srv/node_modules/semantic-ui-react/dist/umd'

Bug Report
Steps
Upgrade to 0.87 from 0.86

yarn upgrade<EMAIL_ADDRESS>restart webpack

Expected Result
webpack dev server compiles
Actual Result
Failed to compile
./node_modules/semantic-ui-react/dist/umd/semantic-ui-react.min.js
Module not found: Can't resolve 'React' in '/srv/node_modules/semantic-ui-react/dist/umd'
This error occurred during the build time and cannot be dismissed.

Version
0.87.0

Started with a fresh CRA app, and got:
Failed to compile
./node_modules/semantic-ui-react/dist/umd/semantic-ui-react.min.js
Module not found: Can't resolve 'ReactDOM' in '/Users/max/Desktop/cra-sui/node_modules/semantic-ui-react/dist/umd'

steps to reproduce:

npx create-react-app ./
yarn add semantic-ui-react
add import { Button } from 'semantic-ui-react'; to src/App.js

Confirmed, caused by #3566. umd build should not be used by default.

Fixed in #3598, will keep opened until next release.

Release on the way, hang tight...

Fixed in<EMAIL_ADDRESS>


Support type property for dtypes

numpy.dtype instances have a property type which returns the corresponding scalar type.
This is currently not supported so that something like the following does not work directly:
from numba import njit

@njit
def f(a):
    if a[0] != 1:
        return a[0]
    return a.dtype.type(0)
f(np.arange(2))

From mailing list: https://groups.google.com/a/continuum.io/d/msg/numba-users/x2_866BbQ0M/FyfEmeHuAwAJ

Duplicate of #2260, closing.

oops, I missed this issue.


Format code with black

The code written could be formatted better with black.
The black homepage can be found here

Please feel free to create a PR


Get cmrt so name from headers

Need to update build system to automatically parse https://github.com/intel/media-driver/blob/master/cmrtlib/agnostic/share/cm_def.h#L41 and substitute library name in https://github.com/Intel-Media-SDK/MediaSDK/blob/master/_studio/mfx_lib/cmrt_cross_platform/src/cmrt_cross_platform.cpp#L27.

After some consideration, this won't worth bringing additional dependency.


Allow moving between backends

This patch addresses a TODO and allows to move files between backends using get, save and delete.

Tested between local filesystem and S3 backend (s3contents), in both directions.

@ssanderson fwiw we do the same thing for your (1). All notebooks/python code go to one contents manager, all data files/csv/whatever else goes to a different contents manager on the filesystem.


Client losing style sheat

After openening settings client loses style sheat

@micheljung you fixed it in jfonix?

yep


Fix Xcode 10 compilation issue

Since
https://github.com/apple/swift-evolution/blob/master/proposals/0143-conditional-conformances.md
All Range, ClosedRange, CountableRange, CountableClosedRange are merged in one struct so no need to pass range in initializer. And also String[Range<String.Index>] is backward compatible so should work in Xcode 9

I signed it!

Codecov Report

Merging #3 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master       #3   +/-   ##
=======================================
  Coverage   84.04%   84.04%
=======================================
  Files           6        6
  Lines         652      652
=======================================
  Hits          548      548
  Misses        104      104

Impacted Files
Coverage Δ

Source/OpenLocationCode.swift
89.86% <100%> (ø)
:arrow_up:

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 daa17a5...927eff2. Read the comment docs.

Thanks for the contribution! This has been fixed in the current versions.


Currently not possible to use stdin while program is running

I don't know how hard this would be, but it would be useful to me if the area in the main window where stdout is displayed also supported entering text into stdin. Specifically, I klask-ified a program which was using rustyline, a readline-like crate. Of course this gets into the realm of terminal emulators (?) so might be quite challenging, but anyway here goes the suggestion, feel free to close if not in scope.

Unfortunately, I don't think there is an easy way to implement this. It would require more terminal-emulator machinery (I have played with it on other projects, and it was challenging with a lot of edge cases). Also, it might be problematic on the interface end (e.g., I don't think egui supports colored edit fields).
But thanks for the suggestion and for trying out klask!

For the record, the normal enable_stdin on the Settings works well enough for me for most cases!

I'm glad to hear that!