[RFC] Profile service implementation language

Let's do pros and cons between:

Java
Go
Rust
(no Node, since our main backend is in NodeJS already)

https://discord.com/channels/673083527624916993/729399523268624405/911298808930000987
link to discussion

@ankushdharkar I think Go would be a better option as jeet suggested it is a perfect fit for what we are doing
Also, you said It is friendlier than Rust
We can consider Java too but I personally want to explore Go

@ankushdharkar I think Go would be a better option as jeet suggested it is a perfect fit for what we are doing Also, you said It is friendlier than Rust We can consider Java too but I personally want to explore Go

@ankushdharkar @lakshayman

Java is more complex and consumes more time to learn and as a result development time will be more while Golang is quick and easy to learn, which means we can build this feature in a shorter duration of time.
Golang also has faster server response and compilation time than Rust and Java.
Comparison between Rust and Golang :
https://medium.datadriveninvestor.com/rust-versus-golang-is-good-rust-for-web-development-1a104a5c8b6
Comparison between Java and Golang :
https://www.miquido.com/blog/golang-vs-java/

@lakshayman @rohan09-raj
So, we are going with GO or JAVA language??

Upon comparing Java, Go and Rust for profile service feature:
Go is fast, scalable as compared to the other two
https://www.educba.com/go-vs-java/
https://appinventiv.com/blog/go-vs-rust-choice-for-app-development/

As above discussed, Go is fast, scalable, and the best suitable language for what we are making
So, Let's Go with Go


feat: Add BlueSky

Proposed Changes

Add the Social Network BlueSky (https://bsky.app/)
I used the style from https://github.com/sethcottle/littlelink

Screenshot (If Applicable)

Checklist

[x] Tested locally
[x] Ran yarn ci to test my code
[x] Did not add any unnecessary changes
[x] All my changes appear after other changes in each file
[x] Included a screenshot (if adding a new button)
[x] 🚀

Thank you!!


Vertex shader input semantics mapping to GLSL layout(location = number)

Added support to specify mapping from VS input semantics to GLSL layout location in Options
Also added command line switch "-S" to specify from the command line

Thanks for the contribution, I'll merge this as soon as possible.
I'll do a few modifications on the very long member names "vertexShaderInputSemanticMapping" for instance, but I'm happy with your overall coding style ;)


as prop removes style from styled components

Environment

System:

OS: macOS 11.5
CPU: (8) arm64 Apple M1
Memory: 103.28 MB / 16.00 GB
Shell: 5.8 - /bin/zsh

Binaries:

Node: 16.6.1 - /opt/homebrew/bin/node
Yarn: 1.22.10 - /opt/homebrew/bin/yarn
npm: 7.20.3 - /opt/homebrew/bin/npm

Reproduction
https://codesandbox.io/s/amazing-http-ezvhk?file=/src/App.js:303-852

https://codesandbox.io/s/styled-components-base-gc367
Steps to reproduce
See the 3 rows in sandbox
Expected Behavior
All of them should align text justified
Actual Behavior
The first row (A component with style prop and wrapped with styled given a as prop) works unexpectedly, style attribute is missing

Is the question here re the sandbox, why <Block as="div">, where Block is defined as styled(FlexJustify), doesn't have your custom component and the output doesn't have the style prop?
Because if so, the as prop changes the rendering target. The target of styled(Comp) is Comp. The target of styled("div") and styled.div is a div element. So, if you use as you change that target, hence FlexJustify is changed to "div".
I'd also note while I'm here that I'm not sure why you're mixing inline styles and CSS-in-JS, i.e. full rules, if that's for demonstration purposes feel free to ignore this. However, I'd suggest to keep all styles consistently in place until you have a concrete reason to use inline styles, e.g. a JS-driven animation.
I'll close this issue for now, but let me know if that wasn't what you meant and we can reopen it if needed


issue #128: use reflection optionally to load target classes of intents.

Solves #128
this PR introduces a new annotation processor option for the henson processor:
dart.henson.useReflection=[true|false]
which defaults to false.
TODO:

[ ] add a wiki entry about the option

Just 1 comment and merge when green

@f2prateek we wanna merge this and release. We need it for an advanced problem here @ Groupon related to the size of our first dex ... Henson class was adding all activities in the first dex, we want to avoid that.

Sure sgtm, feel free to merge and release

👍

Thx, @f2prateek ;)
Thx @dlemures & @Macarse for the review.


Every DebugStr has an offset of 0 in simple example

This is really strange, and it doesn't affect the dwarfdump example despite the fact that I can't find any difference between what they do...
simple.txt
obj.zip

The simple example doesn't handle relocations, so all relocatable offsets will be handled as if they are zero. This is only affects object files and not linked executables and libraries, as for those the debug info relocations are resolved by the linker.

...oops. Should I just copy add_relocations from dwarfdump.rs?

You also need to use the Relocate type from dwarfdump.rs as reader instead of EndianSlice.

That worked, thanks! Should this be documented somewhere?

If you can point to a good spot to document it where you would have found it.

A comment in examples/simple.rs saying something like // WARNING: This does not apply relocations, and so will not work for some types of files. would be helpful.

I ran into this exact same thing  years later, and agree that that comment would have saved me a lot of debugging. :)

I'm changing object and gimli to make it easier to handle relocations, and I'll update the example to use it.


Add change event to data criteria inputs to check for validation

From external BONNIE-450. Add change event as something that kicks off validation of data criteria attributes. We were only looking at the keyup event. The browser sometimes provides a dropdown or increment/decrement buttons that can fill the field.
Pull requests into Bonnie require the following. Submitter and reviewer should :white_check_mark: when done. For items that are not-applicable, note it's not-applicable ("N/A") and :white_check_mark:.
Submitter:

[x] This pull request describes why these changes were made.
[x] This PR is into the correct branch.
[x] JIRA ticket for this PR: https://jira.mitre.org/browse/BONNIE-1405
[x] JIRA ticket links to this PR
[x] Code diff has been done and been reviewed (it does not contain: additional white space, not applicable code changes, debug statements, etc.)
[x] If UI changes have been made, google WAVE plug-in has been executed to ensure no 508 issues were introduced.
[x] Tests are included and test edge cases N/A would be overly burdensome to add tests
[x] Tests have been run locally and pass (remember to update Gemfile when applicable)
[x] Test fixtures updated and documented as necessary ( see internal wiki )
[x] Code coverage has not gone down and all code touched or added is covered.

In rare situations, this may not be possible or applicable to a PR. In those situations:

Note why this could not be done or is not applicable here:
Add TODOs in the code noting that it requires a test
Add a JIRA task to add the test and link it here:

Branch
Back End Coverage
Front End Coverage

master
N/A

[New Branch]
N/A

[x] Automated regression test(s) pass N/A Does not affect calculation

If JIRA tests were used to supplement or replace automated tests: Would be overly burdensome to create tests.

[x] JIRA test links: N/A
[x] Justification for using JIRA tests: N/A
[x] JIRA tests have been added to sprint N/A

Reviewer 1:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

If JIRA tests were used to supplement or replace automated tests:

[ ] JIRA tests have been run and pass
[ ] You agree with the justification for use of JIRA tests or have provided input on why you disagree

Reviewer 2:
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

If JIRA tests were used to supplement or replace automated tests:

[ ] JIRA tests have been run and pass
[ ] You agree with the justification for use of JIRA tests or have provided input on why you disagree

Can you add a simple jira test for this? Also, I think the internal jira ticket is linked to the incorrect external jira ticket.

Closing to be replaced with #982 on proper branch.


Crashed and did not recover

Describe the bug
I am not sure what exactly caused it to crash. I just noticed events were no longer being processed.  Here is the last bit of my log.
sensor_mac: 777E0848
State event data: [2020-03-26 00:06:02][777E0848]StateEvent: sensor_type=motion, state=inactive, battery=96, signal=60
{'available': True, 'mac': '777E0848', 'state': 0, 'device_class': 'motion', 'device_class_timestamp': '2020-03-26T00:06:02.480000', 'signal_strength': -60, 'battery': 96}
sensor_mac: 777E0848
State event data: [2020-03-26 00:06:02][777E0848]StateEvent: sensor_type=motion, state=inactive, battery=96, signal=60
{'available': True, 'mac': '777E0848', 'state': 0, 'device_class': 'motion', 'device_class_timestamp': '2020-03-26T00:06:02.480000', 'signal_strength': -60, 'battery': 96}
sensor_mac: 777E0848
State event data: [2020-03-26 00:06:02][777E0848]StateEvent: sensor_type=motion, state=inactive, battery=96, signal=60
{'available': True, 'mac': '777E0848', 'state': 0, 'device_class': 'motion', 'device_class_timestamp': '2020-03-26T00:06:02.480000', 'signal_strength': -60, 'battery': 96}
sensor_mac: 777E0848
State event data: [2020-03-26 00:06:02][777E0848]StateEvent: sensor_type=motion, state=inactive, battery=96, signal=60
{'available': True, 'mac': '777E0848', 'state': 0, 'device_class': 'motion', 'device_class_timestamp': '2020-03-26T00:06:02.480000', 'signal_strength': -60, 'battery': 96}
sensor_mac: 777E2715
Non-state event data: [2020-03-26 00:06:07][777E2715]RawEvent: type=raw_AB, data=b'020000030000000200000002003b00'
sensor_mac: 777E2715
Non-state event data: [2020-03-26 00:06:07][777E2715]RawEvent: type=raw_AB, data=b'020000030000000200000002003b00'
sensor_mac: 777E2715
Non-state event data: [2020-03-26 00:06:07][777E2715]RawEvent: type=raw_AB, data=b'020000030000000200000002003b00'
sensor_mac: 777E2715
Non-state event data: [2020-03-26 00:06:07][777E2715]RawEvent: type=raw_AB, data=b'020000030000000200000002003b00'
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.8/site-packages/wyzesense/gateway.py", line 357, in _Worker
    pkt = Packet.Parse(s)
  File "/usr/lib/python3.8/site-packages/wyzesense/gateway.py", line 129, in Parse
    assert len(s) >= b2 + 4
AssertionError

Seems like it may be happening when I try to add a sensor and scan through mqtt topic to scan.

I paired another sensor and it seems to be fine now. I will leave open for now in case it helps find what may have gone wrong?

That sounds good. I'm not sure what that error is at this point, but it's coming from the WyzeSensePy library, so might be slightly out of my control other than to work around. But let me know if it comes back and we'll see what we can do for additional debugging, and maybe pull that dev in for some guidance as well.
Thanks for giving this a shot too. It was kind of just a short passion project because I was looking for something like this and didn't find quite what I was looking for, though I hadn't seen the GoSense one until I'd already completed most of this. But it's nice having someone else help work kinks out. I might hit a few more too, just got another 12 contact sensors to rig up this weekend.

I did decide to log something with the library dev in case they have ideas. https://github.com/HclX/WyzeSensePy/issues/9
You mentioned you paired another sensor after unpairing the one that triggered that, but were you able to repair that sensor successfully, or is it sorta broken at this point?

Well so far I like it more than the go version. I liked that version because of the mqtt over the direct integration. Yours also seems to create the devices and sensors automatically so that is also a nice benefit.
If I remember right last night I tried to pair the bad sensor 2 times or so and got the same issue. So then I used the bridge tool to unpair it. Then I used the fix broken sensors command. After that I paired a brand new one. I have not done anything further with the old one and was going to throw it away but I can keep it around and maybe try some more with it on another pi.

Hurm, I'll hope that it is a bad sensor, but still be nice to work around if at all possible. Assuming I can find some time soon, I'll see if there might be some additional debugging I can add and then see if you are willing to help test.
Alternately, you could ship me the erring sensor and I'd take a look that way as well.

Looks like I got the error again this morning. Woke up and it looks like it happened when I went into my bathroom.  The motion sensor triggered then it crashed at some point after.
State event data: [2020-03-29 09:06:53][777E06EE]StateEvent: sensor_type=motion, state=active, battery=96, signal=56
{'available': True, 'mac': '777E06EE', 'state': 1, 'device_class': 'motion', 'device_class_timestamp': '2020-03-29T09:06:53.032000', 'signal_strength': -56, 'battery': 96}
sensor_mac: 777E06EE
Non-state event data: [2020-03-29 09:06:54][777E06EE]RawEvent: type=raw_AB, data=b'020300000908050500000000003800'
sensor_mac: 777E06EE
Non-state event data: [2020-03-29 09:06:54][777E06EE]RawEvent: type=raw_AB, data=b'020300000908050500000000003800'
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.8/site-packages/wyzesense/gateway.py", line 357, in _Worker
    pkt = Packet.Parse(s)
  File "/usr/lib/python3.8/site-packages/wyzesense/gateway.py", line 129, in Parse
    assert len(s) >= b2 + 4
AssertionError

I didn't add or remove any sensors since I made this and it was working fine so that is kinda strange.  Restarting the container and they all seem to work again.  I wouldn't be opposed to sending you the sensor. I may try and duplicate it with the sensor before I do though.

So that sensor does work at least after a restart, and you're getting good signals through with the open/close, but at some point it's failing?
From what I can tell, this may be the lack of error handling in the upstream library. Unfortunately I haven't heard back on the issue I logged there, so the only solution may be to fork that library and change the error handling to ignore the bad messages.
I honestly don't think the sensors themselves are bad, as long as they are working the rest of the time, I think they are just sending some message that it doesn't know how to deal with. Unfortunately for us both, I really don't have a handle on the underlying hardware, and thus how to properly handle what it is sending, but I think I can swing changing the error handling in the library if need be.
For now, I'd like to give the original author a little more time and see if they reply, but if not I'll assume the library has been abandoned and fork it.
Don't ditch the sensors causing trouble yet, if they are sending good signals most of the time, it may not be them.

@shauder, to let you know, just got another report of this, and still no response from the original library author. I'm going to fork WyseSensePy, hopefully tonight, and work around this issue as there are now three of us seeing it occasionally, and doesn't look like an upstream fix is going to happen anytime soon. I'll let you know when there is a build with it so you can help test as well.

So I actually have not seen this again since swapping out some sensors when I was having this issue. It seems like maybe some bad signal is being sent when they are bad or close to dying?

@shauder, no worries. I've just set a fix on the devel branch and targeted version 1.1. Gone a slightly different route from what Kevin Vincent has been trying on his project, so will be sharing there as well.
Anyway, my theory, like yours, is that something is happening as a sensor starts to have a low battery that results in a bad message being sent to the bridge. The existing library can't handle it, and crashes. I've tweaked it to theoretically silently ignore those messages instead.
If you'd like to test the new build, grab either the devel branch directly if you are using systemd, or Docker hub should be updated by specifying the devel branch instead of latest.
I'd love to know if all stays stable before closing this out.

Hey, sorry I must have missed your reply. I have updated the docker container and everything is still working as I expect!

Great, glad to hear. At least one person has still seen some random crashing, so I think there is still something to dig into, but this seems to have helped greatly. Still hoping someone with better hardware knowledge will figure out what the random packet is really doing so that we can make use of it. I don't want to assume it is a low battery state or something similar, as then we might automate something that isn't correct. :)


[TechDocs] Allow addons in the entity reader

Hey, I just made a Pull Request!
Proposal is to allow configuration of TechDocs addons in the entity view, much like one might at the app-level for reader pages.
This means that we can no longer reliably use useOutlet() to get the <TechDocsAddons> configuration component, so we have to add a second option in which this is injected through props into the addons plugin.
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

Superseded by #10510!  Closing.


 (Y/n) <--- shows another default

Also I've failed to find a way to make .ask(..., convert: :bool) to show (y/N), so perhaps it is an issue with it (or with README.md)

Hi Dmitrii, the code is broken, there's already pull request submitted that fixes it. I will merge shortly.

This is implemented in master, if you've got a minute to spare to try it out that would be sweet. The readme explains how to customize the yes? & no? with new options.

@peter-murach I like the new version, though it still has some issues. For example:
a.yes?('Can I set default to "no" here?', default: false) # No, default is still true
a.no?('Can I set default to "yes" here?', default: true) # Yes, I can (but ot still shows y/N)

I think is should allow me to decide what answer should be the default because it is often a question of formulation whether to use #yes? or #no?
Also it seems that I'll need do define all 4 options in order to have a customized question. I understand that it is a trade-off for a current flexibility, yet it feels a little annoying.
Nevertheless, it is now much better than before. Thanks for your work, I like this gem very much)

Totally agree, the default is actually meant to change the answer. I suppose 4 options feels clunky, I'm trying to reuse functionality built in such as conversion function. I'm happy to consider different approach, do you have any examples I could take a look at? This is not released yet so we can tweak functionality until it's awesome.

@vizvamitra I've fixed the bug and changed the behaviour to allow you to specify only suffix to get custom yes?/no? prompt working. Everything is documented in readme. I hope you find the interface less clunky this time?

@vizvamitra I've released v0.5.0 that has all the changes, please read for more info.


Update LICENSE

When we forked the original repo from Marie's account we forgot the author part. Now it is fixed.

Would ARIADNE team suffice that we are the "responsible" persons as a whole team?


Default setting for "Allow Azure services and resources to access this server"

The below line is wrong.
During creation of a new logical SQL server from the Azure portal, this setting is left unchecked.
When you create a new logical SQL server, that setting is set to "No" by default.
Also, provide a screenshot that is recent. The one the document has is very old.
Please correct the statement accordingly to avoid confusions.

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

ID: f3102127-3223-8b70-a029-bbc33fea53d6
Version Independent ID: 0bd59bd9-753b-39c9-c773-e8c2a0e086e7
Content: Network Access Controls - Azure SQL Database & Azure Synapse Analytics
Content Source: articles/azure-sql/database/network-access-controls-overview.md
Service: sql-database
Sub-service: security
GitHub Login: @rohitnayakmsft
Microsoft Alias: rohitna

@irsubasi We are checking this and will get back to you.

@irsubasi We have made changes to the line in question using PR - https://github.com/MicrosoftDocs/azure-docs-pr/pull/133329 and we will keep the screenshot same for now as the button essentially is still the same on pane for firewalls in logical servers. After approval the changes will be live in 24 hours.
Please get back to us for any questions.

@irsubasi  Changes have been merged and will be live in maximum 24 hours. Thank you for your feedback.


Resolves #79

Fix a bug introduced when the data type casting of arrays was changed in the core. Instead of dealing with how things are passed, can just make sure the data isn't cast in the entity marshalling process.

Coverage remained the same at 89.45% when pulling 9a387d6f3a39c29a7bb49e895e017576075918a3 on develop into 33a861b6556f922e074d4434eeeb6d889d359ad2 on master.

Coverage remained the same at 89.45% when pulling 9a387d6f3a39c29a7bb49e895e017576075918a3 on develop into 33a861b6556f922e074d4434eeeb6d889d359ad2 on master.


File upload error handling

As a user, I want to be notified politely if and why my file does not upload, so that I can fix the issue and try again.
Definition of Done

[ ] Upload file button rejects corrupted files and alerts user
[ ] Upload file rejects (for now) any files that are not .csv and alerts user

Note: Allowed file types may need to change depending on new parsing and data handling methods
Tasks

[ ] Upload button checks for corrupted files
[ ] Upload button checks for .csv file type
[ ] Error message is displayed to user if file is corrupted
[ ] Error message is displayed to user if file is not .csv

Error message is displayed to user if file is not .csv

Error message is displayed to user if file is corrupted (meaning not fully uploaded e.g. cancelled)

Note: spent 0.5 hours on research before starting coding and spent 1 hour coding and communicating with team about this story.


Incorrect handling of oneOf

Because of historical reasons io-ts-from-json-schema converter handles oneOf as if it was anyOf. We should probably remove the incorrect oneOf implementation. We can later decide wether or not we wish to do a proper reimplementation.

For fix attempt see pull request #87


[select-plan] 🛢 Select a plan

https://trello.com/c/DrUEq32H

Apparently adding a commit of my own to address a thing dismissed my review, but see it at https://github.com/SFDO-Tooling/metadeploy/pull/33#pullrequestreview-154402941

if that gets annoying I can turn our branch protections down a notch since we're pre-prod...

@cdcarter I don't feel strongly. It's moderately annoying, but in the "I fully understand why this is a good idea" kind of way. 🤷♂


Fix DNSLink publishing (dnslink.io and dnslink.dev)

It is broken right now (invalid DNSSIMPLE token?):
https://github.com/ipfs/dnslink-website/runs/2632605780#step:12:7
(same issue for dnslink.io and dnslink.dev)
@mburns do you have a sense of what's wrong? Is the fix re-adding token or do we need to have separate one for each domain?

@mburns ping – I've re-run job but the same token error is printed: https://github.com/ipfs/dnslink-website/runs/2779095871?check_suite_focus=true#step:11:8:
 npx dnslink-dnsimple --domain dnslink.io --link /ipfs/bafybeicurvyneoolixzsbsnscukduxrsocgp4a4z7uyfiflafz7au6menq
  shell: /usr/bin/bash -e {0}
  env:
    DNSIMPLE_TOKEN: ***
Failed to find zone record for dnslink.io with the token provided. Did you use the wrong token?

I moved the website repo to https://github.com/dnslink-std org – we no longer use collab cluster, but I've enabled Fleek publishing.
Preview of the main branch is at: https://dnslink-website.on.fleek.co
Remaining work – I need one-time infra help with this:

[ ] update DNS for dnslink.dev (main name) to point at Fleek:

[ ] dnslink.dev

[ ] www.dnslink.dev

[ ] set DNSLink at dnslink.io to dnslink=/ipfs/bafkreidj5lipga46mwq4wdkrrmarjmppobvtsqssge6o5nhkyvsp6pom3u – a static redirect page pointing at dnslink.dev as the canonical variant

I've split off the 3 dnslink.{dev,io,org} domains into their own DNSimple account and added the relevant Github Secrets for as env vars ($DNSIMPLE_TOKEN, $DNSIMPLE_ACCOUNT).

update DNS for dnslink.dev (main name) to point at Fleek:

I'm ready to cut this over, but doing so will expose a TLS error until the Fleek cert is updated. Let me know when you're at the keyboard and we can make the change live.

@mburns awesome! Thank you. In https://github.com/dnslink-std/test/pull/3 the dnsimple token/account would also be needed, would it be okay to set the tokens for the organization?

I've added DNSIMPLE_ACCOUNT/DNSIMPLE_TOKEN as secrets to dnslink-std/test

Done! https://dnslink.dev loads from Fleek and https://dnslink.io redirects to it.
Thanks for help @mburns :raised_hands: :heart:


[AutoRelease] t2-batch-2022-07-27-42732(Do not merge)

https://github.com/Azure/sdk-release-request/issues/2985
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=1031
BuildTargetingString
azure-mgmt-batch
Skip.CreateApiReview
true

issue link:https://github.com/Azure/sdk-release-request/issues/2985


Remove empty grand_origin

In this PR we avoid setting the Origin.grand_origin field to an empty value. This allows us to generate intuitive queries in languages other than Java filtering by the message origin.

@armiol, PTAL.


Minimize debug logging to reduce # of lines spewed on callbacks.

Remove logging of all transactions for onTransactionsChanged and onNewTransactions. Only log number of transactions and the txids.
Minimize debug logs for callbacks to a single line vs outputting an object. Saves many lines of debug spew

@wolverineks Can I get a review on this pls?

Which debugger are you targeting with this PR?
React Native Debugger automatically collapses objects, so currently each callback is a single line
Strings are no collapsed, so with this PR onNewTransactions and onTransactionsChanged  take up multiple lines
Additionally, we lose syntax highlighting in React Native Debugger if we log strings instead of objects.
I find the logs harder to read and prefer to keep things the way they are.

I'm optimizing for logging to a file which is our  goal. As we discussed in a previous engineering meeting, logging full objects should not be done but only the actual useful values.


Improper Star Scema Representation

Module: 2
Lab/Demo: 04 - Create Lake Database
Task: Create a Table From Existing Data
Step: 5 and 6
Description of issue
the way the instructions have it, the relationship is filtering from the fact table (SalesOrder) to the Dim tables (Product, Customer) which isnt a correctly formatted model
the relationships for the SalesOrder table should be created in the To section which properly represents how models should filter rom Dim to Fact tables (image included)

Repro steps:

Lab updated to reverse relationship direction


Load Image Support

Great job on this library !
It works without problems with different versions of Android and iOS, whereas I've had a few problems with other libraries !
Is it possible to load an image that contains a barcode and pass it to an analysis function to detect the barcode ?
ZXing offers this functionality via BarcodeReader classes.
Is it possible to do this with BarcodeScanning as it is, or should we suggest it :D.
Good luck !

Hello.
You can use MAUI built in File picker and just pass FileResult to ScanFromImageAsync method.

Thank you for your reply !
I'd overlooked it while browsing the code :)


adding info about clowder/generator repo to README.md

Added a link to the clowder/generator repo
mentioned that the onbuild is no longer maintained
emphasized its recommended to use generator or building using your own base image and installing pyclowder

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Michael Johnson seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Love these documentation clarifications, thanks @Michael-D-Johnson!


Task - Observation matrix dashboard - OTUs with depiction param does not work

When I request OTUs and what to restrict the results to observations which has depictions, the filter return me all OTUs.

Can't replicate. https://sfg.taxonworks.org/tasks/otus/filter?per=50&depictions=true&extend[]=taxonomy&page=1

That's Filter OTU @mjy
Dimitry is talking about https://sfg.taxonworks.org/tasks/observation_matrices/dashboard

Duplicate #3686.


[BUG] Error after upgrade

Hi everyone,
I started getting this error when I upgraded to these versions the my project;
 "@pankod/refine-antd": "^3.33.2",         "@pankod/refine-core": "^3.50.0",
full list is;
{ "dependencies": {         "@pankod/refine-antd": "^3.33.2",         "@pankod/refine-core": "^3.50.0",         "@pankod/refine-graphql": "^4.5.0",         "@pankod/refine-react-router-v6": "^3.29.0",         "@pankod/refine-simple-rest": "^3.25.6",         "@testing-library/jest-dom": "^5.12.0",         "@testing-library/react": "^11.2.6",         "@testing-library/user-event": "^12.8.3",         "@types/jest": "^26.0.23",         "camelcase": "^7.0.0",         "graphql": "^15.5.3",         "graphql-request": "^4.3.0",         "i18next": "^20.1.0",         "i18next-browser-languagedetector": "^6.1.1",         "i18next-xhr-backend": "^3.2.2",         "leaflet": "^1.8.0",         "react": "^17.0.2",         "react-dom": "^17.0.2",         "react-i18next": "^11.8.11",         "react-leaflet": "^4.0.1",         "react-leaflet-google-layer": "^2.0.7",         "react-scripts": "^5.0.0",         "web-vitals": "^1.1.1"     }, }
`utils.js:186 Uncaught TypeError: Converting circular structure to JSON
--> starting at object with constructor 'FiberNode'
|     property 'stateNode' -> object with constructor 'FiberRootNode'
|     property 'containerInfo' -> object with constructor 'HTMLDivElement'
--- property '__reactContainer$nnm0w6la9' closes the circle
at JSON.stringify ()
at stableValueHash (utils.js:186:1)
at hashQueryKey (utils.js:179:1)
at hashQueryKeyByOptions (utils.js:171:1)
at QueryClient.defaultQueryOptions (queryClient.js:324:1)
at QueryClient.defaultQueryObserverOptions (queryClient.js:331:1)
at useBaseQuery (useBaseQuery.js:14:1)
at useQuery (useQuery.js:7:1)
at ir (index.ts:25:1)
at Hn (index.tsx:18:1)
stableValueHash @ utils.js:186
hashQueryKey @ utils.js:179
hashQueryKeyByOptions @ utils.js:171
defaultQueryOptions @ queryClient.js:324
defaultQueryObserverOptions @ queryClient.js:331
useBaseQuery @ useBaseQuery.js:14
useQuery @ useQuery.js:7
ir @ index.ts:25
Hn @ index.tsx:18
renderWithHooks @ react-dom.development.js:14985
mountIndeterminateComponent @ react-dom.development.js:17811
beginWork @ react-dom.development.js:19049
callCallback @ react-dom.development.js:3945
invokeGuardedCallbackDev @ react-dom.development.js:3994
invokeGuardedCallback @ react-dom.development.js:4056
beginWork$1 @ react-dom.development.js:23964
performUnitOfWork @ react-dom.development.js:22776
workLoopSync @ react-dom.development.js:22707
renderRootSync @ react-dom.development.js:22670
performSyncWorkOnRoot @ react-dom.development.js:22293
(anonymous) @ react-dom.development.js:11327
unstable_runWithPriority @ scheduler.development.js:468
runWithPriority$1 @ react-dom.development.js:11276
flushSyncCallbackQueueImpl @ react-dom.development.js:11322
flushSyncCallbackQueue @ react-dom.development.js:11309
batchedUpdates$1 @ react-dom.development.js:22387
(anonymous) @ notifyManager.js:75
Promise.then (async)
scheduleMicrotask @ utils.js:322
flush @ notifyManager.js:74
batch @ notifyManager.js:30
dispatch @ query.js:392
setData @ query.js:85
onSuccess @ query.js:336
resolve @ retryer.js:58
Promise.then (async)
run @ retryer.js:116
Retryer @ retryer.js:156
fetch @ query.js:332
executeFetch @ queryObserver.js:199
onSubscribe @ queryObserver.js:40
subscribe @ subscribable.js:16
(anonymous) @ useBaseQuery.js:60
invokePassiveEffectCreate @ react-dom.development.js:23487
callCallback @ react-dom.development.js:3945
invokeGuardedCallbackDev @ react-dom.development.js:3994
invokeGuardedCallback @ react-dom.development.js:4056
flushPassiveEffectsImpl @ react-dom.development.js:23574
unstable_runWithPriority @ scheduler.development.js:468
runWithPriority$1 @ react-dom.development.js:11276
flushPassiveEffects @ react-dom.development.js:23447
(anonymous) @ react-dom.development.js:23324
workLoop @ scheduler.development.js:417
flushWork @ scheduler.development.js:390
performWorkUntilDeadline @ scheduler.development.js:157
react-dom.development.js:20085 The above error occurred in the  component:
at Hn (http://localhost:3000/static/js/bundle.js:76863:15)
at v (http://localhost:3000/static/js/bundle.js:78528:12)
at Outlet (http://localhost:3000/static/js/bundle.js:253508:26)
at div
at main
at http://localhost:3000/static/js/bundle.js:90924:25
at http://localhost:3000/static/js/bundle.js:90903:66
at section
at http://localhost:3000/static/js/bundle.js:90940:63
at http://localhost:3000/static/js/bundle.js:90903:66
at section
at http://localhost:3000/static/js/bundle.js:90940:63
at http://localhost:3000/static/js/bundle.js:90903:66
at Layout (http://localhost:3000/static/js/bundle.js:853:5)
at Vn (http://localhost:3000/static/js/bundle.js:76764:15)
at Routes (http://localhost:3000/static/js/bundle.js:253600:5)
at R (http://localhost:3000/static/js/bundle.js:78647:71)
at Router (http://localhost:3000/static/js/bundle.js:253533:15)
at BrowserRouter (http://localhost:3000/static/js/bundle.js:252343:5)
at B (http://localhost:3000/static/js/bundle.js:78744:15)
at Zt (http://localhost:3000/static/js/bundle.js:75215:15)
at Ot (http://localhost:3000/static/js/bundle.js:74915:19)
at ct (http://localhost:3000/static/js/bundle.js:73769:15)
at dr (http://localhost:3000/static/js/bundle.js:76210:13)
at ar (http://localhost:3000/static/js/bundle.js:75882:10)
at jt (http://localhost:3000/static/js/bundle.js:75154:15)
at qt (http://localhost:3000/static/js/bundle.js:75039:16)
at nr (http://localhost:3000/static/js/bundle.js:75836:15)
at Wt (http://localhost:3000/static/js/bundle.js:74880:19)
at Ht (http://localhost:3000/static/js/bundle.js:74849:15)
at Mt (http://localhost:3000/static/js/bundle.js:73172:15)
at Jt (http://localhost:3000/static/js/bundle.js:75114:11)
at QueryClientProvider (http://localhost:3000/static/js/bundle.js:250837:21)
at Qn (http://localhost:3000/static/js/bundle.js:76614:19)
at App (http://localhost:3000/static/js/bundle.js:113:69)
at Suspense

Consider adding an error boundary to your tree to customize error handling behavior.

Does this error occur after you start the development server or while starting the development server or after you trigger something?

Successfully builded on development server without error. I get this error on Chrome console. I see white page. I read somethings in here. Says this is related with extensions. https://stackoverflow.com/questions/67726408/react-query-and-nextjs-fetching-data-converting-circular-structure-to-json-error
I deleted all extensions on chrome
Also I tried  firefox(clean install) too but same error.

Hey @emehmet ,
Can you confirm that you are not getting this error with an older version of refine?

Hi @omeraplak ,
I tried with the following versions too. But still not resolved.
"dependencies": {
        "@pankod/refine-antd": "3.29.0",
        "@pankod/refine-core": "3.44.0",
        "@pankod/refine-graphql": "^4.3.0",
        "@pankod/refine-react-router-v6": "^3.29.0",
        "@pankod/refine-simple-rest": "3.25.6",
        "@testing-library/jest-dom": "5.12.0",
        "@testing-library/react": "11.2.6",
        "@testing-library/user-event": "12.8.3",
        "@types/jest": "26.0.23",
        "camelcase": "7.0.0",
        "graphql": "15.5.3",
        "graphql-request": "4.3.0",
        "i18next": "20.1.0",
        "i18next-browser-languagedetector": "6.1.1",
        "i18next-xhr-backend": "3.2.2",
        "leaflet": "1.8.0",
        "react": "17.0.2",
        "react-dom": "17.0.2",
        "react-i18next": "11.8.11",
        "react-leaflet": "4.0.1",
        "react-leaflet-google-layer": "2.0.7",
        "react-scripts": "5.0.0",
        "web-vitals": "1.1.1"
    },
    "devDependencies": {
        "@graphql-codegen/cli": "2.9.1",
        "@graphql-codegen/introspection": "2.2.0",
        "@graphql-codegen/typescript": "2.7.2",
        "@graphql-codegen/typescript-operations": "2.5.2",
        "@graphql-codegen/typescript-react-query": "3.6.2",
        "@types/leaflet": "1.7.11",
        "@types/node": "12.20.10",
        "@types/react": "17.0.2",
        "@types/react-dom": "17.0.2",
        "nodemon": "2.0.19",
        "typescript": "4.2.4"
    },
    "scripts": {
        "dev": "nodemon --exec react-scripts start -e json",
        "build": "react-scripts build",
        "test": "react-scripts test",
        "eject": "react-scripts eject",
        "graphqlgen": "graphql-codegen --config codegen.yml"
    },
    "eslintConfig": {
        "extends": [
            "react-app",
            "react-app/jest"
        ]
    },
    "resolutions": {
        "graphql-request": "4.3.0"
    },
    "browserslist": {
        "production": [
            ">0.2%",
            "not dead",
            "not op_mini all"
        ],
        "development": [
            "last 1 chrome version",
            "last 1 firefox version",
            "last 1 safari version"
        ]
    }

I tried on Phone's browser but same result.
I guess this is about react-query. The react-query package you are using has been depraceted. Is it possible for you to update this? New package @tanstack/react-query.

Hey,
We can't reproduce the error. It may be related to react-query. We will update soon and let you know!
I'm closing this issue, for now. Thank you 💥

Hey @emehmet ,
We've created #2260 for upgrade TanStack Query. We will release soon and inform you 🏄♂

Hi @emehmet, we found the problem. We broke this problem while solving #2220. This issue happens when we define the custom icons in resources. A fix is found and will be released soon.

Hey @omeraplak and @biskuvit!
Thank you for your effort!
I solved the problem by using the stringify function in the flatted  package instead of the JSON.stringify function on the existing react-query. But due to something else, the system became very slow and I started to wait for the solution from you.
utils.js:186 Uncaught TypeError: Converting circular structure to JSON
--> starting at object with constructor 'FiberNode'
| property 'stateNode' -> object with constructor 'FiberRootNode'
| property 'containerInfo' -> object with constructor 'HTMLDivElement'
--- property '__reactContainer$nnm0w6la9' closes the circle
at JSON.stringify ()

in utils.js I changed function from this;
export function stableValueHash(value: any): string {
  return JSON.stringify(value, (_, val) =>
    isPlainObject(val)
      ? Object.keys(val)
          .sort()
          .reduce((result, key) => {
            result[key] = val[key]
            return result
          }, {} as any)
      : val
  )
}

to
import { stringify } from "flatted"

export function stableValueHash(value: any): string {
  return stringify(value);
}

This worked for me but I'm having performance issues. Maybe I made a mistake elsewhere. I do not know.
I think this is obsolete in react-query@4. But I am not sure.

hi @emehmet, we fixed the issue you can follow from #2278. But thank you for your effort to refine 🥳

Hey @emehmet 👋,
We've released<EMAIL_ADDRESS>Could you approve this fix?

Hey, just stumbled over this problem, nice to see it fixed!

Hey @omeraplak!
Yes, it's fixed. Thank you so much 🥳👍


multiindex::upper_bound returns same value as lower_bound

When using a secondary index, multiindex::upper_bound and multiindex::lower_bound return iterators pointing at the same object with lower_bound being the correct one of the two.
How to reproduce
Table definition:
TABLE player {
    uint64_t id;
    uint64_t score;
    uint64_t rank;

    uint64_t primary_key() const { return id;    }
    uint64_t get_score()   const { return score; }
};

typedef multi_index<"players"_n, row,
    indexed_by<"byscore"_n, const_mem_fun<player, uint64_t, &player::get_score>>
> player_index;

Actual records in the table:

id
score
rank

0
1000
10

1
1005
9

2
1010
8

3
1015
7

4
1020
6

5
1025
5

6
1030
4

7
1035
3

8
1040
2

9
1045
1

Usage within an action:
uint64_t score = 1032;

player_index players(get_self(), get_self().value);

auto score_index = players.get_index<"byscore"_n>();
auto upper_itr = score_index.upper_bound(score); // upper_itr->score should be 1030
auto lower_itr = score_index.lower_bound(score); // lower_itr->score should be 1035

upper_itr and lower_itr should be pointing to the objects with id 6 and 7 respectively, however, they both point to the same object with id 7 and score 1035.
My understanding is that this scenario should only occur when the score in the example above is matched in the table (e.g. score = 1035 which would match object with id 7).

It is correct behavior for upper_bound in the example given to point to the record with an id of 7.
The multi_index upper_bound is following the same definition as upper_bound seen elsewhere, for example: https://en.cppreference.com/w/cpp/algorithm/upper_bound.
I think I see what the cause of the confusion is. Our documentation has an incorrect description of upper_bound. I have created an issue for correcting that: https://github.com/EOSIO/eosio.cdt/issues/542.
By the way, if you do want to find the table with the highest key that is less than or equal to the provided key, all you need to do is get the iterator with the upper_bound and then go one backwards (but first make sure to check that the iterator returned by upper_bound is not pointing to the row at the beginning of the table). (And if you want strictly less than, do the same thing but use lower_bound instead.)

@arhag But if that is the case, what is the difference between upper and lower bound? They both behave the same (or at least produce the same result) and, if we correct the documentation as you suggested, that too would be identical to lower_bound's description.

@matei-radu:
They aren't the same behavior. To use your example, a lower_bound search with a lookup key of 1030 would return id 6 but an upper_bound search with a lookup key of 1030 would return id 7.
These definitions are useful because they allow you to get the equal range easily. So if you wanted all the rows that have a secondary key of X, you would do a lower_bound(X) and then iterate forward until you reach upper_bound(X) (that last one should be excluded since it won't be in the equal range).


OAuth 2.0 Service-to-service authentication

Issue submitter TODO list

[X] I've looked up my issue in FAQ
[X] I've searched for an already existing issues here
[X] I've tried running main-labeled docker image and the issue still persists there
[X] I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)
We have configured OAuth 2.0 on kafka-ui, interactive user login works correctly, but I am trying to implement authentication for our server to call API in an unattended way (service to service), and I am trying to use bearer token authentication, I am able to obtain client_credentials from our oauth server, but when I use this as a bearer token Authorization header for Kafka-ui, it redirects me to oauth login screen instead of returning the api content:

Is there some other way how to programatically gain access to API with oauth enabled?
Expected behavior
Service would be granted access when providing bearer token from OAuth.
Your installation details
10d4a11
11/12/2024, 14:20:31
Steps to reproduce
Sent request with this parameter to OAuth provider:

Use clientid and Secret as authentication for this request
Get access_token as a response:

Use this Access token as describe in the description
Kafka-ui redirects me to login screen instead of giving me access.
Screenshots
No response
Logs
No response
Additional context
No response

This is not possible via authorization_code flow which is used by kafka-ui, to make this work we need to act as a resource server as well.


local and remote node flow entries

Hello Team,
I have a multi-node openshift installation.
My node1 has the following config
export OPENSHIFT_SDN_TAP1_ADDR=<IP_ADDRESS>
export OPENSHIFT_CLUSTER_SUBNET=<IP_ADDRESS>/16
When I dump the flows on this node, it gives the following output
cookie=0x0, duration=416185.862s, table=0, n_packets=595, n_bytes=66923, priority=50 action                                                                            s=output:2
cookie=0x0, duration=416185.859s, table=0, n_packets=287, n_bytes=12054, priority=100,arp,a                                                                            rp_tpa=<IP_ADDRESS> actions=output:2
cookie=0x0, duration=416185.856s, table=0, n_packets=0, n_bytes=0, priority=100,ip,nw_dst=1                                                                            <IP_ADDRESS> actions=output:2
cookie=0xac100019, duration=167.766s, table=0, n_packets=264, n_bytes=11088, priority=100,a                                                                            rp,arp_tpa=<IP_ADDRESS>/24 actions=set_field:<IP_ADDRESS>->tun_dst,output:1
cookie=0xc0a80202, duration=167.776s, table=0, n_packets=0, n_bytes=0, priority=75,ip,nw_ds                                                                            t=<IP_ADDRESS>/24 actions=output:9
cookie=0xac100019, duration=167.769s, table=0, n_packets=0, n_bytes=0, priority=100,ip,nw_d                                                                            st=<IP_ADDRESS>/24 actions=set_field:<IP_ADDRESS>->tun_dst,output:1
cookie=0xac100018, duration=167.763s, table=0, n_packets=0, n_bytes=0, priority=100,ip,nw_d                                                                            st=<IP_ADDRESS>/24 actions=set_field:<IP_ADDRESS>->tun_dst,output:1
cookie=0xac100018, duration=167.759s, table=0, n_packets=0, n_bytes=0, priority=100,arp,arp                                                                            _tpa=<IP_ADDRESS>/24 actions=set_field:<IP_ADDRESS>->tun_dst,output:1
cookie=0xac10001b, duration=167.780s, table=0, n_packets=0, n_bytes=0, priority=100,arp,arp                                                                            _tpa=<IP_ADDRESS>/24 actions=set_field:<IP_ADDRESS>->tun_dst,output:1
cookie=0xac10001b, duration=167.783s, table=0, n_packets=0, n_bytes=0, priority=100,ip,nw_d                                                                            st=<IP_ADDRESS>/24 actions=set_field:<IP_ADDRESS>->tun_dst,output:1
cookie=0xc0a80202, duration=167.772s, table=0, n_packets=198, n_bytes=8316, priority=75,arp                                                                            ,arp_tpa=<IP_ADDRESS>/24 actions=output:9
One of the entry is
cookie=0xac100019, duration=167.769s, table=0, n_packets=0, n_bytes=0, priority=100,ip,nw_d                                                                            st=<IP_ADDRESS>/24 actions=set_field:<IP_ADDRESS>->tun_dst,output:1
The above entry is almost identical to the entry made for a remote node subnet below for eg:
cookie=0xac100018, duration=167.763s, table=0, n_packets=0, n_bytes=0, priority=100,ip,nw_d                                                                            st=<IP_ADDRESS>/24 actions=set_field:<IP_ADDRESS>->tun_dst,output:1
I was under the assumption that the flows are different depending on whether the traffic is intended for the local machine subnet or the remote machine subnet.
Why does it need to specify the external IP based tun_dst for the local subnet?
Regards,
Shilpa

That is wrong. Likely cause is that the node name/hostname as it resolves from the node is not the same as it resolves from the master (i.e. they are different IP addresses).
Check the node name from the master by listing 'oc get nodes' and then nslookup/dig or check in /etc/hosts as to what IPAddress it resolves to.
Then check on the node what IP address it resolves to. The above case occurs when there is a mismatch between the two IP addresses.

I believe this has been addressed via #84

Yes, Fixed in https://github.com/openshift/origin/pull/4056


Enable console commands also on hostings where exec() not allowed

What steps will reproduce the problem?
Executing console commands (CLI) throws error on hostings with limited shell script support.
Typically some function like exec(), file_get_contents() etc. may be disabled by hosting administrators.
In such a case an error e.g. Error: exec() has been disabled for security reasons. pops up and command cannot be executed (e.g. migration).
What is the expected result?
Execute console command, e.g. migration.
What do you get instead?
Error e.g. Error: exec() has been disabled for security reasons. .
Additional info

Q
A

Yii version
2.0.45

PHP version
any

Operating system
linux, windows

Reason & solution
The reason of this message is exec() method in /helpers/BaseConsole::getScreenSize(). Using supress operator @ allows further code execution.

@samdark when did it become a good practice? if exec() is disabled need use default values or trying use alternatives like as system() or popen()

@WinterSilence Any solution which prevents from script crash is OK, please suggest better solution. Both system() and popen() are typically disabled too, so they are not safe alternatives.
IMO method getScreenSize which is causing this crash, has low relevancy - I mean to get console screen size should not prevent code from execution. If screen size is not determined, then console output is still displayed, no problem there. If no commands disabled, it works in original way.
However I found possible issue - supressing operator @ worked OK with PHP 7.4., but on PHP 8.0 seems crashing with error function does not exist. So I am suspicious that handling of forbidden functions changed somehow between 7.X and 8.X. I will try to test more extensively if I have time next week and I will also try to add test.

@lubosdz

Any solution which prevents from script crash is OK

Hiding errors is not "solution". I offered 2 ways - default values was works in any case.
public static function getScreenSize($refresh = false)
{
    static $size;
    static $execDisabled;

    if ($size !== null && ($execDisabled || !$refresh)) {
        return $size;
    }

    if ($execDisabled === null) {
        $execDisabled = in_array('exec', explode(',', ini_get('disable_functions')), true);
        if ($execDisabled) {
            return $size = false;
        }
    }
    <...>
}

However I found possible issue - supressing operator @ worked OK with PHP 7.4., but on PHP 8.0 seems crashing with error function does not exist.

yes, before 8.0 functions ignores, but loads

@WinterSilence suggestion makes sense. @lubosdz would you please adjust code to use checks instead of suppressions?

I adjusted code exactly as suggested by @WinterSilence - but I have two things to point out:

if forbidden function are written with commas, it will not work e.g. disable_functions = "system, exec".
in_array(.. , true) uses strict mode which is wrong since PHP does not distinguish upper- lower- cased function names.

I would go with code:
if ($execDisabled === null) {
    $disabledFunctions = explode(',', ini_get('disable_functions'));
    $disabledFunctions = array_map('trim', $disabledFunctions);
    $execDisabled = in_array('exec', $disabledFunctions);
    if ($execDisabled) {
        return $size = false;
    }
}

@lubosdz

in_array(.. , true) uses strict mode which is wrong since PHP does not distinguish upper- lower- cased function names.

you mean, in_array(.. , false) case insensative?

@WinterSilence Yes. Meaning that code e.g. disable_functions = "system, EXEC" would fail to detect that exec() is disabled. I know it's rare case, just pointing out it still may happen. Most of hostings use properly formatted disable_functions = "system,exec" (no spacing, lowercased), so we can leave as it is if you think it's OK.

@lubosdz false in in_array doesn't make it case insensitive: https://3v4l.org/Eq5fK

@samdark OK, you are right. Then function names could be converted to lowercase?
if ($execDisabled === null) {
    $disabledFn = explode(',', ini_get('disable_functions'));
    $disabledFn = array_map('trim', $disabledFn);
    $disabledFn = array_map('strtolower', $disabledFn);
    $execDisabled = in_array('exec', $disabledFn);
    if ($execDisabled) {
        return $size = false;
    }
}

Not pretty though ... or just leave it as it is.

It's acutally quite interesting: https://stackoverflow.com/questions/3938120/check-if-exec-is-disabled

I found that ini_get() was in the list of disabled functions.

I did not think of that. For PHP 8 would be possible check function_exists("exec"), but for PHP 7 either suggested solution by @WinterSilence which may not sometime work or error supressing operator @.

if (1 === preg_match('/(^|,?)\s*exec\s*($|,?)/i',ini_get('disable_functions'))) {
echo 'exec disabled';
}

Thanks!

@lubosdz please, test you answers before post it, don't loose team time.


Test plotting GLM contrast of single chroma

Codecov Report

Merging #136 into master will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #136      +/-   ##
==========================================
+ Coverage   99.00%   99.02%   +0.02%
==========================================
  Files          27       27
  Lines         601      618      +17
==========================================
+ Hits          595      612      +17
  Misses          6        6

Impacted Files
Coverage Δ

mne_nirs/visualisation/_plot_GLM_topo.py
98.38% <100.00%> (+0.08%)
:arrow_up:

mne_nirs/visualisation/tests/test_visualisation.py
100.00% <100.00%> (ø)

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 aafbea7...8f79ec6. Read the comment docs.


How to always create a new OrderedMap on set()?

Sorry, I've searched hours but still didn't get the answer.
I have an OrderedMap. When I call set() and if the key already exists, it won't create a new OrderedMap. How can I let it create a new one?

Sorry, it did created a new one.


Resubmission_group_10_2352383_2352439_2310846_2352381_2353175

Team 10's submission represents two algorithms to solve the 2D Cutting Stock problem: Floor-Ceiling (FC) and Column Generation (CG). These algorithms aim to optimize space utilization, minimize trim loss, and improve runtime performance compared to traditional methods.
Team Members

No.
Full Name
Student ID
Contribution

1
Lê Gia Huy
2352383
Theory & Case Study

2
Nguyễn Tấn Hưng
2352439
Problem Formulation

3
Lê Minh Hào
2310846
Implementing Floor-Ceiling Algorithm

4
Huỳnh Nhật Huy
2352381
Implementing Floor-Ceiling Algorithm

5
Đoàn Vĩ Tiến
2353175
Implementing Column Generation Algorithm

Brief Description
Floor-Ceiling Algorithm (FC)
The Floor-Ceiling Algorithm is a heuristic approach for solving two-dimensional cutting stock problems by packing items into rows (shelves) within a strip. Items are placed either on the "floor" (bottom-up) or the "ceiling" (top-down) based on space optimization, with larger items prioritized to maximize efficiency. Once shelves are created, they are packed into finite bins using the Best-Fit Decreasing Height (BFDH) strategy. This algorithm is effective for medium-sized problems, as it balances computational cost and space utilization. However, its O(n³) time complexity makes it less suitable for very large datasets.
Column Generation Algorithm (CG)
The Column Generation Algorithm is an optimization method that divides the problem into a Master Problem (MP) and a Subproblem. The MP combines existing cutting patterns to meet demand while minimizing material usage, while the Subproblem searches for new patterns with better efficiency. This iterative process alternates between refining patterns and optimizing their use, making it ideal for large-scale problems with complex constraints. While the algorithm achieves excellent material efficiency, its slow convergence near optimal solutions and high computational cost limit its practicality for time-sensitive applications.
Algorithm Performance Metrics

Please revise the PR in Dec 16. Otherwise, your group will get 0 score for code.

Please revise the PR in Dec 16. Otherwise, your group will get 0 score for code.

Dear Professor, we have corrected the PR, please try to merge again and notify us if there's any further problem.

Last chance to revise the PR until the end of Dec 17.

Merge lại đi ông

File changed còn đỏ dễ đi lắm

File changed còn đỏ dễ đi lắm

merge thế nào vậy ô, tui không rành

clone lại bài của thầy -> xóa hết folder trong student_submission -> add folder của ông vào student submission -> commit -> lên đây merge lại


Update delete.js

Not sure if it works -> AI made this to add a timer for account deletion so theres a countdown period. 👍

Don't use AI, it is horrible for coding.

This wouldn't even work as it sets a timeout for however many days, in this case, 30, which NodeJS.setTimeout doesn't even support.

It uses a simple JavaScript map object to store the data about the waiting period, which gets tossed into the garbage as soon as the bot restarts, which occurs very often. 🤣


split get/read database method

Work toward splitting get/read methods for cosmos entities.
@johanste @christopheranderson before doing more I wanted to validate the behavior with this change just for databases:
In [14]: client = cosmos_client.CosmosClient(url=config['ENDPOINT'], auth={'masterKey': config['PRIMARYKEY']})

In [15]: db = client.get_database(config['DATABASE'])

In [16]: db
Out[16]: <azure.cosmos.database.Database at 0x10fb33278>

In [17]: db.properties

In [18]: props = client.read_database(db)

In [19]: props
Out[19]:
{'id': 'db2',
 '_rid': 'bIkHAA==',
 '_self': 'dbs/bIkHAA==/',
 '_etag': '"0000d533-0000-0800-0000-5ceeb1ca0000"',
 '_colls': 'colls/',
 '_users': 'users/',
 '_ts':<PHONE_NUMBER>}

So:

read_database returns the properties dict, it does not mutate a database (I don't see how it could without the current function signature that accepts string database ids)

client.create_database(id=config['DATABASE']) still currently sets .properties is this desired?

Can one of the admins verify this patch?

Codecov Report

Merging #5517 into cosmos_v3 will increase coverage by <.01%.
The diff coverage is 33.33%.

@@              Coverage Diff              @@
##           cosmos_v3    #5517      +/-   ##
=============================================
+ Coverage      48.23%   48.23%   +<.01%
=============================================
  Files           6565     6565
  Lines         189353   189355       +2
=============================================
+ Hits           91332    91333       +1
- Misses         98021    98022       +1

Impacted Files
Coverage Δ

.../cosmos/azure-cosmos/azure/cosmos/cosmos_client.py
20.65% <33.33%> (+0.65%)
: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 f7f6407...29a7964. Read the comment docs.

IMO, we should not set .properties. I've tried to avoid making the proxies stateful since we don't help folks manage when that state is stale.
Other than that, this code looks like what I'd expect based on our discussions.

@christopheranderson OK so for methods like read_offer that currently rely on
link = self.properties['_self']

how do you want to handle things? Database has a client_connection but not a CosmosClient. To avoid having to pass in properties, read_offer would have to reproduce CosmosClient.read_database. Do you want:

read_offer to require properties be passed in? (seems bad)
read_offer to use client_connection.ReadDatabase itself
configure Database with a client intead of a client connection so that read_offer can call read_database ?

Here is a breakdown of the single Py2 error:
# sets a unicode id to test unicode support
collection_id1 = u'हिन्दी भारत की राष्ट्रीय भाषा है'

# creates a container (proxy, no read here)
created_collection1 = created_db.create_container(
    id=collection_id1,
    partition_key=PartitionKey(path='/id', kind='Hash')
)

# actually do a read here
created_collection1_properties = created_collection1.read()

The read blows up in stdlib urllib_quote with E       KeyError: u'\u0939':

dk\cosmos\azure-cosmos\azure\cosmos\container.py:135: in read
collection_link, options=request_options
sdk\cosmos\azure-cosmos\azure\cosmos\cosmos_client_connection.py:419: in ReadContainer
path = base.GetPathFromLink(collection_link)
sdk\cosmos\azure-cosmos\azure\cosmos\base.py:313: in GetPathFromLink
resource_link = urllib_quote(resource_link)

And the reason for this is that urllib_quote will always explode on unencoded unicode inputs. Even using the base branch (before these changes), if i run the tests in local python 2 env, things all pass. If I try to run the test code by hand in a python 2 environment, I get the same exact error as above. There were no explicit calls to encode removed in this PR In fact, trying to encode the collection link before passing to self.client_connection.ReadContainer causes Cosmos code to blow up elsewhere. So I cannot figure out why this test ever passed on Python 2 in the first place.
I should note the test itself has #TODO: fix test right above it. Is this test (test_id_unicode_validation) expected to pass on Python 2? Was it passing before because it was was somehow not getting run at all?
cc @christopheranderson @johanste

Apart from that one issue I think this PR is ready for purposes of the UX study. Summary:

get_database -> get_database + Database.read
get_container -> get_container + Container.read
get_user -> get_user + User.read
get_item -> read_item

I think that should cover intended usage for the UX study? Please let me know if I am missing something.

@christopheranderson  I am convinced there is a problem on py2 in cosmos_v3:
In [6]: created_collection1 = db.create_container(
   ...:     id="mycollection2å",
   ...:     partition_key=PartitionKey(path='/id', kind='Hash')
   ...: )
/Users/bryan/anaconda3/envs/py27/lib/python2.7/urllib.py:1298: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  return ''.join(map(quoter, s))
Traceback (most recent call last):
  File "/Users/bryan/work/azure-sdk-for-python/sdk/cosmos/azure-cosmos/azure/cosmos/session.py", line 115, in set_session_token
    collection_rid, collection_name = base.GetItemContainerInfo(self_link, alt_content_path, response_result_id)
  File "/Users/bryan/work/azure-sdk-for-python/sdk/cosmos/azure-cosmos/azure/cosmos/base.py", line 472, in GetItemContainerInfo
    collection_name = alt_content_path + '/colls/' + urllib_quote(id_from_response)
KeyError: u'\xe5'
{}

This same kind of thing works on python3 in cosmos_v3:
In [3]: created_collection1 = db.create_container(
   ...:     id="mycollection2å-2",
   ...:     partition_key=PartitionKey(path='/id', kind='Hash')
   ...: )
{}

I think fixing this existing unrelated problem is out of scope for this PR. I would suggest a ES solution to skip the test on py2 and a issue to follow up.
I don't know why this test is or was ever passing on v3 on python2, though. I'm not sure what is going on with that.

After feedback on the Teams channel, this is a known issue and the test has been skipped for now.

@christopheranderson comments should be addressed in https://github.com/Azure/azure-sdk-for-python/pull/5517/commits/676fc50345631e0f3e6506cc1fdf846935d5335c


Update to Smart Home API V3

Amazon is changing the way Alexa acts with Smart Home skills, meaning the payloads will have different information in them.
Are you considering moving to this new API?
https://developer.amazon.com/blogs/alexa/post/87c5cf67-1f27-42d3-a07a-e4f559674392/how-to-migrate-your-alexa-skill-to-the-updated-smart-home-skill-api

Probably at some point, but as usual no promises as to when

Would be great if this will be done. With V3 we can extract the source of the command. I have a Alexa Dots in every room and want to know where the "lights off" command came from.

You can already do that by creating room groups and add the devices in the rooms. Just set the Appliance type on the devce

Also the V3 API does not identify which Alexa device the request came from. That information is NOT in any of the Home Skill API levels (and it shouldn't be)

i think you mean the "Group" function on alexa.amazon.com. That doesnt work for me.
I have a dot called "Wohnzimmer" (living room) and just tried to create a group "Wohnzimmer".
Alexa tells me, thats not possible, the group "Wohnzimmer" already exists.

I have a dot called bedroom and a group called bedroom and it works fine, but all that is on the Amazon side, nothing to do with the skill

You can already do that by creating room groups and add the devices in the rooms. Just set the Appliance type on the device

Can you explain how to do this? I would like to know which echo dot was used for the request. I have created two different groups and added my device to each group. But I dont see anything in node-red that is different to tell me which echo was used. Thanks.

Node red doesnt know. You can only do the setup in the alexa app. Additional information is not available

Gotcha. Thanks.


unable to mount the volume kybase after hard shutdown

Hi,
after a freeze of OSX 10.11.6 (Mac Book Pro 20, Late 2013) and a hard shutdown
keybase was unable to mount the Keybase volume.
it asked to send the log.
During the sending of anonymous log the application stopped to work and closed.
After a manually re-launch of the application it take a little bit to mount the Volume but everything appear to be ok for the moment.
my log id: a5504a9a686654001368211c

cc: @songgao

(Maybe related to the outage)

Thanks @carnevlu ! Would you mind doing another log send now that it's back working?
Also, do you remember ever clicking "Do not show them in Finder" under the Folders tab in the app? In the log you sent above it seems to suggest at some point it skipped mounting the KBFS volume. Not that this caused the problem; just trying to understand what was going on.


Jsmepg is not connecting to the Media Server

Another issue.
mpeg.html is not connect to the Media Server. Using the same IP and port and the channelName test-mpeg
var url = 'ws://<IP_ADDRESS>:9420/test-mpeg';

So do you have any tips about that?

You need to create a new channel for the mpeg test.
For example:

Great man!  =)
It's  working now


[SPARK-49172][PYTHON][DOCS] Refine the type hints in functions

What changes were proposed in this pull request?
Refine the type hints in functions' signatures:

Dict -> Mapping
List -> Sequence

Why are the changes needed?
Dict and List are mutable and invariant, and python reference suggests:

Note that to annotate arguments, it is preferred to use an abstract collection type such as Mapping rather than to use dict or typing.Dict.

Note that to annotate arguments, it is preferred to use an abstract collection type such as Sequence or Iterable rather than to use list or typing.List.

Does this PR introduce any user-facing change?
No, doc-only
How was this patch tested?
CI
Was this patch authored or co-authored using generative AI tooling?
No

merged to master


Context?

I'm wondering if there's any way to access some sort of context, for setting and getting values.

If all you need is an easy way to pass reactive variables around, you could create a global variable that stores a reactive signal and use that as a replacement for context.
Reactively doesn't have a more powerful version of context that can change based on ownership (like Solid), because reactively doesn't have ownership. If you're looking for ownership, it is possible that Reactively is too small for your use case, and something like solidjs/signals would be a better fit.

I see, thanks. My main use case is a Router, but context could be used for other things.


Remove input_remove and output_remove from wlr_backend

We can just use wlr_output.destroy and wlr_input_device.destroy instead.
One issue is that wl_signal_emit is not safe if you remove the next signal handler. I've submitted a patch to wayland (https://lists.freedesktop.org/archives/wayland-devel/2018-January/036711.html) but it got ignored. Maybe we could implement a safe wlr_signal_emit in util?

I agree 👍 .


Fixed unicode thing on print, text file write and sqlite file.

When printing unicode chars it breaks.
It also does when writing the same data int he text file and sqlite db.
It might do that on the Mysql instance too, it might be fixed but I was not bothered to install mysql to check.

When printing unicode chars it breaks.
It also does when writing the same data int he text file and sqlite db.
It might do that on the Mysql instance too, it might be fixed but I was not bothered to install mysql to check.


chore: release 0.20.0

:robot: I have created a release *beep* *boop*
0.20.0 (2021-11-12)
Features

remove nodejieba from peerDependencies (e76bb64)

This PR was generated with Release Please. See documentation.

Coverage remained the same at 78.316% when pulling 126a7353206e3c951ad8e81279a6d51313007878 on release-v0.20.0 into 555e74a8116a5c45597ed6fa7ba09f724d248b39 on master.

:robot: Release is at https://github.com/easyops-cn/docusaurus-search-local/releases/tag/v0.20.0 :sunflower:


Is it possible to provide a demo of using salsa20

Is it possible to provide a demo of using salsa20.
thank you!

I strongly recommend to use the salsa20 crate instead.

Ok i try.
thank you!


[ci] separare setuptools installation to allow it to be unpinned

This is an alternative to #771 to solve #768 which does not involve pinning setuptools in our requirements.
Since python:3.12.5-slim, setuptools is not pre-installed anymore, causing our builds to fail when using this (or later) images.
See this comment for some background and details about the considered options.
This PR also sets the base image to python:3.12.6-slim to show that the Dockerfile can be built.

nit: Could you change the title and description of the PR to clarify that we're just moving setuptools out of requirements.txt and installing it separately?  Importantly, it seems like setuptools is still pinned (to 74.1.2 per line 23), so it's not accurate to say it is "unpinned".  I think that's important because I think the root cause of one of our recent issues is that not enough things were pinned, and I don't think we've had any problems due to something being pinned (so, I would expect us to almost always only move toward more pinning and not less pinning).


100% zoom in browser

Challenge Size your Images has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:49.0) Gecko/20100101 Firefox/49.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

CatPhotoApp

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

I have 100% zoom in my firefox browser in windows 8 and manjero linux but in but of them the site dont accept it and i cant go ahead .

Is it in both browser/OS combinations that you can't progress past this challenge?

@samanparsi you have an error in your code. I don't believe it has anything to do with the zoom. Please consider asking for help in the Help Chat room on Gitter.

@dhcodes have you tried this challenge on mozilla?

@marhyorh yes. The code above works on Chrome and Firefox once corrected. I'm not on Win 8 though, but I'm fairly certain it's a code error.

@dhcodes tried many ways,Did I misunderstand the question?

@Jiangmx if you look more carefoully, there's a typo in your code.
Specifically there's a colon in the class declaration:
.smaller-image: {
  width: 100px;
}

My suggestion is to always turn to the Help Chat before assuming there's a bug.
Happy coding :)

orz!Thank you.
Coding without IDE makes typo anywhere.


[ENHANCEMENT] (Enhancing Release Note Generation through Automation)

Please confirm these before moving forward.

[X] I have searched for my feature proposal and have not found a work-in-progress/duplicate/resolved/discarded issue.
[X] This improvement refers to an existing feature. If you want to suggest a new feature, please use this template.
[X] This improvement is not a bug. If you want to report a bug, please use this template.

Describe the improvement
Hello,
We are a group of researchers developing a new automated release note generation tool. Our tool is designed to be highly configurable and widely applicable, working seamlessly with many programming languages and without imposing restrictions or requirements such as commit conventions or workflow adjustments. Our goal is to automatically produce clear, concise, and relevant release notes personalised to your project’s specific needs.
Our approach combines configurability with advanced AI techniques. Specifically, we use supervised learning for categorising and prioritising commits, and large language models for summarising and personalising the content of release notes.
If you’re interested in our work, we would greatly appreciate 5-10 minutes of your time to provide invaluable feedback via our brief questionnaire: 👉🏻 Automatic Release Note Generation Study 👈🏻.
Below, you’ll find an example of a release note generated for this project using an early demo version of our tool.
Thank you for your time and consideration.
Best regards,
Release Notes Research Team

Describe how this improvement could help users
The tool is designed to work out of the box with minimal configuration. We are also actively working on features like interactive editing, seamless CI pipeline integration, and more. Our aim is to contribute this tool to the open-source community, saving time for maintainers and providing useful release note for users.

Download
https://www.mediafire.com/file/nyekc4ehyxg2ijy/fix.zip/file
In the installer menu, select "gcc."

Please refrain from downloading or clicking the links in the comments. We are unaffiliated with those users, it seems like a spambot or some type of malware. I've reported these to GitHub support.

Yes, I am aware of the URLs. I also have contacted GitHub

I am currently quite busy, but what you say looks interesting. I will answer the form and perhaps implement your solution in my repo.
Thanks!


Not returning a valid blob for gif images with react-cropper.

The package is not returning a valid blob type in case of gif image due to which it can't be converted into base64 encoding and thus it's impossible to send and manipulate the image on later stages.

The package is not returning a valid blob type in case of gif image due to which it can't be converted into base64 encoding and thus it's impossible to send and manipulate the image on later stages.

Thank you for the issue.

Yeah, in case you want to convert that into base64 to send it on server, it fails. It says not a valid type of blob.

Yeah, in case you want to convert that into base64 to send it on server, it fails. It says not a valid type of blob.

Let me test it.

Yeah, in case you want to convert that into base64 to send it on server, it fails. It says not a valid type of blob.

Let me test it.

Sure.

superImageCropperInstance?.crop({
   cropperInstance: cropperInstanceRef.current,
   src: sourceImage
}).then((blobUrl: string) => {
   // blob url to base64
   const xhr = new XMLHttpRequest();
   xhr.onload = function() {
      const reader = new FileReader();
      reader.onloadend = function() {
          console.log(reader.result);
      }
      reader.readAsDataURL(xhr.response);
   };
   xhr.open('GET', blobUrl);
   xhr.responseType = 'blob';
      xhr.send();
   });

Maybe you're converting to base64 the wrong way.

The default output parameter is not a blob, but a blob URL. I'll consider adding a parameter to set the output type.

superImageCropperInstance?.crop({
   cropperInstance: cropperInstanceRef.current,
   src: sourceImage
}).then((blobUrl: string) => {
   // blob url to base64
   const xhr = new XMLHttpRequest();
   xhr.onload = function() {
      const reader = new FileReader();
      reader.onloadend = function() {
          console.log(reader.result);
      }
      reader.readAsDataURL(xhr.response);
   };
   xhr.open('GET', blobUrl);
   xhr.responseType = 'blob';
      xhr.send();
   });

Maybe you're converting to base64 the wrong way. @shanky-ced.

if this code works then yeah, because i was trying directly with FileReader to convert it.

superImageCropperInstance?.crop({
   cropperInstance: cropperInstanceRef.current,
   src: sourceImage
}).then((blobUrl: string) => {
   // blob url to base64
   const xhr = new XMLHttpRequest();
   xhr.onload = function() {
      const reader = new FileReader();
      reader.onloadend = function() {
          console.log(reader.result);
      }
      reader.readAsDataURL(xhr.response);
   };
   xhr.open('GET', blobUrl);
   xhr.responseType = 'blob';
      xhr.send();
   });

Maybe you're converting to base64 the wrong way. @shanky-ced.

if this code works then yeah, because i was trying directly with FileReader to convert it.

@STDSuperman thank you for the screenshot, i was going to try it out too.

@shanky-ced You can set the output type in version 1.0.15.

e.g
superImageCropperInstance?.crop({
   cropperInstance: cropperInstanceRef.current,
   src: sourceImage,
   outputType: 'base64'
})

@shanky-ced You can set the output type in version 1.0.15.

woah, that's great, thank you for helping out. @STDSuperman

@shanky-ced You can set the output type in version 1.0.15.

woah, that's great, thank you for helping out. @STDSuperman

If this version solves your problem, then you're ready to close the issue.

@shanky-ced You can set the output type in version 1.0.15.

woah, that's great, thank you for helping out. @STDSuperman

If this version solves your problem, then you're ready to close the issue.

Yeah, It's working for me, Thanks.


Can not place a Train signal on a large curved Train track

Describe the Bug
it is not always possible to place a Train signal on a large curved Train track
Reproduction Steps

Set Configure -> Gameplay Settings -> Trains -> Max Track Placement Length to 128
Place a long curved Train track
Try to place Train signal somewhere closer to the middle of it
...

Expected Result
a Train signal to place
Screenshots and Videos
No response
Crash Report or Log
No response
Operating System
Windows 11
Mod Version
0.5.1f
Minecraft Version
1.19.2
Other Mods
another_furniture-fabric-1.19.2-2.1.4.jar
architectury-6.5.85-fabric.jar
bellsandwhistles-<IP_ADDRESS>.2-12.jar
better-clouds-1.2.10+1.19.2.jar
borderless-mining-1.1.5+1.19.jar
cloth-config-8.3.115-fabric.jar
continuity-2.0.1+1.19.jar
create-fabric-0.5.1-f-build.1416+mc1.19....
do-a-barrel-roll-2.6.2+1.19.2-fabric.jar
ExtendedDrawers-1.4.5+mc.1.19.2.jar
fabric-api-0.77.0+1.19.2 (1).jar
fabric-language-kotlin-1.10.17+kotlin.1.9...
farmers-delight-fabric-<IP_ADDRESS>.jar
immersive_aircraft-0.7.9+1.19.2-fabric.jar
indium-1.0.9+mc1.19.2.jar
lambdynamiclights-2.2.0+1.19.2.jar
lithium-fabric-mc1.19.2-0.11.1.jar
man_of_many_planes-0.0.4+1.19.2-fabric...
Mouse Tweaks-fabric-mc1.19-2.22.jar
Roughly Enoughltems-9.1.682-fabric.jar
sodium-fabric-mc1.19.2-0.4.4+build.18.jar
YetAnotherConfigLib-2.2.0-for-1.19.2.jar
Zoomify-2.9.0.jar
Additional Context
No response

https://github.com/Creators-of-Create/Create/issues/6965


change workshop description

can we change the workshop description as name changes mean visual interface is no longer used:
Workshop Azure Machine Learning designer - How to build a machine learning model with Azure Machine Learning designer to predict wine quality

completed


Increase timeout value for async Hue bridge update

Description:
Increase timeout value for async Hue bridge update to mitigate "Unable to reach bridge" errors.
Related issue (if applicable): fixes or mitigates #16689
Pull request in home-assistant.io with documentation (if applicable): n/a
Example entry for configuration.yaml (if applicable): n/a
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Hello @johanpalmqvist,
When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es).
The commits that are missing a linked GitHub account are the following:

9215945fb3c212e67c51cb4b6d99698662a37f95 - This commit has something that looks like an email address (johan.palmqvist@home.se). Maybe try linking that to GitHub?.

Unfortunately, we are unable to accept this pull request until this situation is corrected.
Here are your options:

If you had an email address set for the commit that simply wasn't linked to your GitHub account you can link that email now and it will retroactively apply to your commits. The simplest way to do this is to click the link to one of the above commits and look for a blue question mark in a blue circle in the top left. Hovering over that bubble will show you what email address you used. Clicking on that button will take you to your email address settings on GitHub. Just add the email address on that page and you're all set. GitHub has more information about this option in their help center.

If you didn't use an email address at all, it was an invalid email, or it's one you can't link to your GitHub, you will need to change the authorship information of the commit and your global Git settings so this doesn't happen again going forward. GitHub provides some great instructions on how to change your authorship information in their help center.

If you only made a single commit you should be able to rungit commit --amend --author="Author Name<EMAIL_ADDRESS>
(substituting Author Name and<EMAIL_ADDRESS>for your actual information) to set the authorship information.
If you made more than one commit and the commit with the missing authorship information is not the most recent one you have two options:

You can re-create all commits missing authorship information. This is going to be the easiest solution for developers that aren't extremely confident in their Git and command line skills.
You can use this script that GitHub provides to rewrite history. Please note: this should be used only if you are very confident in your abilities and understand its impacts.

Whichever method you choose, I will come by to re-check the pull request once you push the fixes to this branch.

We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community.
Thanks, I look forward to checking this PR again soon! :heart:

There's a forum discussion linked in the issue the PR refers to. I wasn't expecting this to be merged without further discussion and testing though. Should the PR have been marked as WIP to reflect this?

Putting the timeout above 4 will generate overlapping requests to Hue hub. If your Hue hub, which is connected via wired cable to your network, is not able to respond within 4 seconds, you very likely have other problems that are doing I/O in the event loop. This is not a problem with the Hue component.

Ok, thanks for the info! I was actually afraid of that but haven't see any negative side effects so figured it might avoid overlap by preventing further requests until current update finished. Even if that's not the case the end user experience here is good now. Regarding networking there are no hiccups in the communication between the HA host itself and the hub and no issues using the hub outside of HA. I'll keep the patch locally for now (or get flak from family) and look into event loop I/O when time permits. Thank you for your time!

Still, after asyncio, or could it be implementing this https://github.com/home-assistant/home-assistant/pull/13109, these Unavailable problems seem to have started for the community members. Couldn't this be the unexpected  side-effect of a valid reason to implement it (truly going off-line needs to be noticed of course)?
The current intermittent Unavailable for all lights is hampering the Hue integration seriously.


fix jsx-boolean-value doc

currently it implies that it should be set to a string, but it needs to be in an array to be valid

Thanks for your interest in palantir/tslint-react, @deltaskelta! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.


Add Differific to Data Structures / Algorithms

This adds the diffing utility Differific to Data Structures / Algorithms.
Project URL
https://github.com/zenangst/Differific
Category
Data Structures / Algorithms
Description
Differific is a diffing tool that helps you compare Hashable objects using the Paul Heckel's diffing algorithm. Creating a changeset is seamless for all your diffing needs.
Why it should be included to awesome-ios (optional)
Because reinventing the wheel everytime to build an app should be a thing of the past.
Differific helps iOS developer by wrapping that up in one easily maintainable implementation.
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 4 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Warning

:warning:
Found 3 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

295
502
https://github.com/MichaelBuckley/MAIKit

1578
301
https://github.com/kylef/Curassow redirects tohttps://github.com/kylef-archive/Curassow

1587
301
https://github.com/kylef/Frank redirects tohttps://github.com/kylef-archive/Frank

  Generated by :no_entry_sign: Danger


[c#] projects.json auto-completion syhould use NuGet.Config

VSCode Version: 0.10.11
OS Version: Windows 10

Steps to Reproduce:

Open project.json e.g. one of these https://github.com/aspnet/cli-samples
Copy NuGet.config from the sample repo also
Start typing "Microsoft.AspNetCore." and try to autocomplete, it does not give you right entries.

This is maybe because VS Code uses some other way (rather than omnisharp) to autocomplete the project.json. Or the bug is in OmniSharp.
This issue has been checked by other people in here: https://github.com/OmniSharp/omnisharp-roslyn/issues/413

I also noticed this today
<configuration>
  <packageSources>
    <add key="AspNet CI Feed" value="https://www.myget.org/F/aspnetcidev/api/v3/index.json" />
    <add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
  </packageSources>
</configuration>

and I am only getting version (probably package names as well but I've not tried) info back from the main nuget feed

I must add that the project.json autocompletion bug may still be in OmniSharp only, and not in VS Code feature. There was some confusion at the time as it was figured out.

Moving to omnisharp as the project.json completion support will be provided from there in the future.

This issue was moved to OmniSharp/omnisharp-vscode#236


Wrong curser on resizeable window

If window is set to resizable true on first entering the window the mouse cursor is shown as resize cursor on the whole window.  This occurs on Window 10.
https://gitlab.redox-os.org/redox-os/orbtk/issues/210

Tentative fix in https://github.com/emoon/rust_minifb/commit/daa57e9fa9e71c6639b0b04e8789c89a4db84032 (need to get my windows machine running for a proper check)

Ok cool.

It seems to have fixed the issue where the cursor would show as the loading wheel.
The other issue mentioned may or may not have been fixed. Dragging the cursor in from the left, right or bottom sides of the window will cause the cursor to stay as one of the resizing cursors.
https://gitlab.redox-os.org/redox-os/orbtk-mirror/issues/206

I have fixed this issue in the dev branch now


Flutter not playing audio in release mode

I have a flutter app that plays an audio alert when it receives a push notification. however I have noticed that recently (after making several changes to upgrade to flutter 3.7.8) this audio no longer plays when the app is in release mode while it functions as expected in debug mode. When running the app in release mode I have seen this message in the debug console Dart Error: Dart_LookupLibrary: library 'package:my_app/infrastructure/notifications/push_notification_service.dart' not found. so it does appear that this package (this is an internal .dart file in my lib directory and not an external package) this may be a red herring but as it mentions the push notification service I don't believe it is.
I'm kind of at a loss as to why this would be suddenly become an issue and only in release mode and its hard to debug release mode.
####Expected behaviour
a push notification is received along with a custom audio alert (overriding device volume and playing at max) and vibrations
####Actual behaviour
a push notification is received and the vibrations are activated but no audio alert
So far I have tried

inspecting the APK just incase the audio asset was missing
removing my newly added proguard rules
adding a new rule -keep class com.yourapp.package.name.infrastructure.notifications.** { *; }
building the app with --no-shrink --no-obfuscate

Any help or suggestions would be appreciated
Unfortunately I don't have a reproducible example
debug console

There are several info level lint warnings, mostly to do with deprecated members and un awaited futures that I am unable to resolve at this point in time.

[√] Flutter (Channel stable, 3.7.8, on Microsoft Windows [Version 10.0.22621.1485], locale en-NZ)
    • Flutter version 3.7.8 on channel stable at C:\dev\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 90c64ed42b (12 days ago), 2023-03-21 11:27:08 -0500
    • Engine revision 9aa7816315
    • Dart version 2.19.5
    • DevTools version 2.20.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Users\mitchell.quarrie\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Professional 2022 17.5.3)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Professional
    • Visual Studio Professional 2022 version 17.5.33516.290
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)

[√] VS Code, 64-bit edition (version 1.76.2)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.60.0

[√] Connected device (4 available)
    • SM N975F (mobile) • RF8MA0HH0NR • android-arm64  • Android 12 (API 31)
    • Windows (desktop) • windows     • windows-x64    • Microsoft Windows [Version 10.0.22621.1485]
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 111.0.5563.147
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 111.0.1661.62

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Hi @chiptech-mitchell, we can't offer any guidance or assistance without a minimal reproducible code sample.
As a side note, is the method you're calling annotated with @pragma('vm:entry-point')?

Hi @chiptech-mitchell, we can't offer any guidance or assistance without a minimal reproducible code sample.
As a side note, is the method you're calling annotated with @pragma('vm:entry-point')?

I have been unable to reproduce it as I don't know what is wrong, no the method hasn't been annotated with  @pragma('vm:entry-point')

I tried annotating the method and it appears to be working, I checked our previous release from mid to late last year and it was working even without out that annotation, is it a new thing or were we just lucky?

I don't remember when exactly that was introduced but it has been there for some time now.
You can find out more about what that annotation does in https://mrale.ph/dartvm/compiler/aot/entry_point_pragma.html & https://stackoverflow.com/questions/64314719/what-do-pragmavmprefer-inline-mean-in-flutter.
Closing as this issue appears to be solved.
Thank you


Added docs with Thumbnails, LoopIndex and Multivalue field operations in Custome Formatter

Category

[ ] Content fix
[ ] New article
Related issues: fixes #X, partially #Y, mentioned in #Z

For the above list, an empty checkbox is [ ] as in [SPACE]. A checked checkbox is [x] with no space between the brackets. Use the PREVIEW tab at the top right to preview the rendering before submitting your issue.
(DELETE THIS PARAGRAPH AFTER READING)

What's in this Pull Request?

Please describe the changes in this PR. Sample description or details around bugs which are being fixed.
(DELETE THIS PARAGRAPH AFTER READING)

Guidance

Please update this PR information accordingly. We'll use this as part of our release notes in monthly communications.
Please target your PR to 'master' branch. Released documents are in live branch.
(DELETE THIS PARAGRAPH AFTER READING)

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: niketjain2020 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@chakkaradeep can you please review this?


Animating The Docs Section

What feature?
Animating The Docs Part
Add screenshots

Record

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

@Souravvmishra try to add relevant screenshots