[RFC] Remove knowledge of fbjs from the packager

As @spicyj mentioned in commit 6a838a4, the ideal state of affairs when it comes to consuming react and fbjs from NPM is for the packager not to have knowledge of either package. This PR addresses the fbjs part of that, and relies on https://github.com/facebook/fbjs/pull/95. DO NOT MERGE until #95 (or a variation) is in fbjs and is released to npm.
This PR does several things:

Adds stub modules within RN that expose fbjs modules to be required using Haste. After discussing a few ideas with @spicyj, this seemed like a good option to keep internal FB devs happy (and not make them change the way they write JS), but allow for removing packager complexity and fit in better with the NPM ecosystem. Note -- it skips stubbing fetch, ExecutionEnvironment, and ErrorUtils, due to the fact that these need to have Native specific implementations, and there's no reason for those implementations to exist in fbjs.
Removes the modules that were previously being used in lieu of their fbjs equivalent modules, but didn't really need to be. These include: Map, isEmpty, crc32, and Promise. Promise is a special case - it has been moved to Promise.native.js in fbjs, so that a package such as Relay can require('fbjs/lib/Promise'), and not cause problems.
Removes the fbjs modules from the packager blacklist (yay!), and removes fbjs from the list of packages that the RN packager consumes Haste modules from. I left in the downstream modules, but I think those should really live within an FB-specific blacklist that you keep in your internal codebase. Let me know your thoughts there.
Adds fbjs to unmockedModulePathPatterns for Jest, to allow tests to not behave weirdly. This matches FB's internal Jest config.
Remove everything except fetch, ExecutionEnvironment, and ErrorUtils from the flowconfig ignore list.
Fix InteractionManager-test to make sure ErrorUtils is mocked. Quite honestly, I'm not sure why this was working before.

This, combined with https://github.com/facebook/fbjs/pull/95 and a yet to be submitted Relay PR, allow for Relay to be used OOTB with React Native. Woo!
Looking forward to your comments :)
/cc @vjeux @spicyj
P.S. - The tests are going to fail here, until the fbjs dep is updated.

@martinbigio

I LOVE this change! wish one day we could remove providesModuleNodeModules support from the packager. We need to run both the oss and internal tests once fbjs#95 lands as many things could break. I don't have much to say from a review point of view, the change is pretty clean.

What if we have have stubs only internally on Facebook. Otherwise, people on OSS may get confused trying to figure out why we expose both CommonJS and Haste modules for fbjs.

@martinbigio the reason I added the stubs here was after talking to @spicyj. We discussed that it would be a good thing to keep RN code using haste, for consistency throughout the RN codebase. Otherwise...you have require('fbjs/lib/keyMirror') next to things like require('TouchEventUtils'). Right now, just about every require in the RN code base (save these new fbjs stubs) uses Haste. This consistency could be good if one day we decided to add a prepublish task that rewrites requires to CommonJS for use in somebody's Webpack build :)

@martinbigio regarding your comment about the tests...for what it's worth, I've run flow and all the tests locally with the fbjs change included (that wasn't an easy task haha)...and the changes required are included in this diff (https://github.com/skevy/react-native/commit/7c00d735a632a207a59d7e5f1e4cdee45f818354, https://github.com/skevy/react-native/commit/42af07e69cf3fd2017bc47a74768ca3c898d65df, https://github.com/skevy/react-native/commit/bc4486a5f31fb2c88f4767e5c82db4ee9351fdde).

@skevy sounds good. I'll import and test this internally once fbjs#95 lands

:rocket:

@martinbigio, just FYI, https://github.com/facebook/fbjs/pull/95 is merged. :-)

@facebook-github-bot import

We might want to keep Promise.js, in order to be able to control warning behavior (for unhandled rejections)

@davidaurelio if we keep Promise, then projects like Relay that import "fbjs/lib/Promise" will break. Not sure if you have any thoughts on how that might be able to be fixed.

I will work around it in YellowBox, then. I tried to land the upgrade to<EMAIL_ADDRESS>yesterday, but I can’t resolve an internal issue :-(

@davidaurelio I saw you updated Promise.js -- I guess I should bring these changes over to fbjs's Promise.native.js?

@davidaurelio PR'ed https://github.com/facebook/fbjs/pull/100

@skevy very cool, thank you! I will probably replace this with a configurable hook in the future, so that we don’t leak too much RN specific stuff into fbjs. That should also make stack trace formatting easier.

@davidaurelio that's totally fine, just in lieu of this getting merged (because it involves so many coordinating PRs and infra changes)...I wanted to make sure we were keeping up to date.

After it lands -- do as much crazy stuff as you want! :)

@facebook-github-bot import

@martinbigio feel free to ping me on messenger if you have any questions while importing this PR! :D

@skevy, sure!. I'm fixing a couple of internal problems to land this...

We need to wait for a fbjs release to land this. Once that's ready we also need to apply this patch internally to blacklist a few of the new modules that collide with internal versions.

FYI<EMAIL_ADDRESS>is now published

FYI to all, just landed Relay/React Native compat in Relay after<EMAIL_ADDRESS>was released. https://github.com/facebook/relay/commit/60c8a76a47385d8f843e35de72d16f758689abc0
We're so close!

@facebook-github-bot import

@martinbigio did this hit a snag somewhere in the commit pipeline? (I wouldn't be surprised -- this is a big diff in several ways...)

There's a problem when running shrinkwrap due to the fact that fbjs major version is 0. Looks like npm treats the ^ as a ~ when the major version is 0. According to this SO post, it's because major version 0 is considered unstable (http://stackoverflow.com/questions/22343224/difference-between-tilde-and-caret-in-package-json). React depends on fbjs 0.6.0. I'd think that if both react and react-native use ~ we should end up depending on both fbjs 0.6.0 and 0.7.1 (0.6.0 would be downloaded inside of react node_modules directory whereas 0.7.1 would be on the root node_modules directory). I tried using ~ for 0.7.1 and fixing the version to 0.7.1 and fully removing and npm installing all the dependencies but still got 0.6.0.
Any npm guru has any clue? Other than this I've tested a couple of apps and things look good  :).

@martinbigio that's expected behavior since 0.6.0 -> 0.7.0 is considered a breaking change, so downloading two copies of fbjs is the correct thing to do until React upgrades its own copy of fbjs.
As long as apps run as expected and there are no bugs at package-time or runtime, I think we can ship this. @zpao mentioned that he wasn't planning on keeping React's version of fbjs up-to-date all of the time because he'd have to republish a new version of React whenever fbjs gets a breaking change, so it's really important that React and RN can use two different copies of fbjs. As I understand it, that is one of the things that this diff accomplishes so we should be good.

@martinbigio @ide is right - one key piece of this diff is removing the knowledge of fbjs in the packager at all, which means that we won't encounter naming collisions. See, react already uses CommonJS requires to access fbjs...which is why things should continue to work regarding having<EMAIL_ADDRESS>as a dep, as long as the packager's DependencyResolver isn't looking at those modules as haste modules and ignoring the @providesModule pragma.
After this commit is merged, the only modules that the packager looks for @providesModule in is react and react-native (well, also parse...not sure why that's there or if it can go away).

Guys, I’ve blocked this internally, because it removes our dependency rejection tracking code. Can we keep promise in React Native for now? The formatting of warnings is very specific to yellow boxes.
I will expose the hook in fbjs some time, so that we can keep the warning code here while using fbjs to pull the promise in.

Per discussion with @davidaurelio, moved rejection tracking code BACK into React Native, and just made fbjs export a RN-compatible promise implementation (https://github.com/facebook/fbjs/pull/111)

@facebook-github-bot import

Looks like #111 has been merged, does anything else blocking this one?
Can I help with it anyhow?

@Kureev we're just dealing with some internal merge issues at the moment...nothing you can do at this point. Should be merged soon though!

Just a quick update: we have some flow errors internally, and I need support to sort them out. Hopefully this will land soon.

I bypassed internal CI. Might need to roll it back. Fingers crossed.

 Let it be known, I did not update this PR. :)

@skevy he lied again? )

Good news. Almost everything is green now. This will be coming soon

So this didn't make it into 0.21?

Yeah, that is a can of worms.
Still in progress
On Tuesday, 1 March 2016, Marc Shilling<EMAIL_ADDRESS>wrote:

So this didn't make it into 0.21?
—
Reply to this email directly or view it on GitHub
https://github.com/facebook/react-native/pull/5084#issuecomment-190909027
.

Using this in our fork and makes working with relay flawless. hope it gets merged soon.

I’m through with all internal failures. CI is running right now, and I’m waiting for review. It’s coming.

@skevy @davidaurelio you guys are heroes! thanks :D
(& fingers crossed we can land this in 0.22)

thanks, guys :heart:

You guys are amazing. Thanks for all the work :+1:


feat: Add support for retrying copa patch on failure/timeout

Problem
Due to network issues, copa patch fails (timed out) often. It is tedious to re-run GitHub actions jobs on failure each time.
Solution proposed
We can add an optional GitHub actions input - max_attempts which would store the number of times the copa patch would be run if it failed. Moreover, at the last the workflow can print the number of attempts before it succeeded.
Additional Information
I would like to work on this issue if the maintainers approve this issue.

@SaptarshiSarkar12 thanks for the issue! I think a better solution to timeout error would be changing the timeout arg in copa which we already support through the copa action. If the timeout is not changed from default (5 min) and copa patch is failing due to network, running it multiple times will still result in the same error.

@SaptarshiSarkar12 thanks for the issue! I think a better solution to timeout error would be changing the timeout arg in copa which we already support through the copa action. If the timeout is not changed from default (5 min) and copa patch is failing due to network, running it multiple times will still result in the same error.

@ashnamehrotra I have changed the timeout to 10 mins, but it still reports timeout error. I am currently using retry-action which seems to handle the issue properly by re-running the step when it fails. But that is a 3rd party solution. I was looking for an official solution from Copa.
You can check these workflow runs where that retry action has automated the re-run of the failed step :point_down:

https://github.com/SaptarshiSarkar12/Drifty/actions/runs/10769290083/job/29860182583#step:6:511
https://github.com/SaptarshiSarkar12/Drifty/actions/runs/10769290083/job/29860181844#step:6:507
https://github.com/SaptarshiSarkar12/Drifty/actions/runs/10766866388/job/29853315644#step:6:506
https://github.com/SaptarshiSarkar12/Drifty/actions/runs/10749862572/job/29815288472#step:6:510

and many more.
I hope these workflow runs are adequate to prove the essence of adding this feature. Please let me know your views on it.

@SaptarshiSarkar12 thats interesting, out of curiosity, if you use the default and remove<EMAIL_ADDRESS>does it still result in the same timeout error?

@SaptarshiSarkar12 thats interesting, out of curiosity, if you use the default and remove<EMAIL_ADDRESS>does it still result in the same timeout error?

@ashnamehrotra They work totally fine, but the overall workflow fails because cache export is not supported by the current docker buildx installed by default.
But the timeout problem occurs in dev-docker-build workflow not for docker-publish workflow as the patch of oraclelinux starts at different time with a difference of approximately 2 mins.

@SaptarshiSarkar12 got it, I will assign this issue to you thanks!

Thank you @ashnamehrotra for assigning the issue to me :smile:.


Authentication Support?

When I add a user with mongodb://user:pass@host:port it shows the power database and size, however when I click the server I get:
If you think you've reached this message in error, please press 0 to speak with an operator. Otherwise, hang up and try again.
Is there a special way to add servers using auth?

Sorry about that, my commit message automatically closed the issue :)
This should be fixed in 0aab7d26d0deb19d83aa0c20f026530a44af425a ... Do me a favor and try out that version, let me know if you run into any trouble?

Authentication support has been merged into develop. It will go in the next release (tonight? tomorrow?).

Works great. Thanks a lot!


TypeError: $(...).ScrollTo is not a function

I am getting the following in Firefox on the latest release. I am on jQuery 1.11.0. I can see jQuery is loaded.
TypeError: $(...).ScrollTo is not a function

It's $(...).scrollTo(), with lower case "s"

Having the same problem with no clue what's wrong. Here are the screen captures

checked the target var, it is ok and returns a jQuery dom el


Support /relative-redirect-to

I would like to test agains an infinite redirect loop.
Currently this can not be tested with /redirect-to?url=/redirect-to
A relative /relative-redirect-to route would allow to setup an infinite redirect
/relative-redirect-to/relative-redirect-to

Can you not simulate an infinite redirect with a /redirect/:n with a high value of n.  As long as n is higher than your client's max redirects then isn't that equivalent to infinite?

In my case it checks if the referrer is == the redirect location. Else the script is supposed to follow the redirect. It successfully redirects and follows http://httpbin.org/redirect/100 ending up at http://httpbin.org/get
So I would love to have a way of testing referrer == redirect location
But my proposal would not work "/relative-redirect-to/relative-redirect-to".

I understand and can sympathize with the request here, I'm just not certain HTTPbin needs to provide endpoints for every situation that can go wrong. I mean, if we did, we'd probably be bordering on the thousands of endpoints. I feel like pathod is what you're looking for.


Clarify obfuscation scope for PSTN reporting

This change clarifies that the listed rules apply only to PSTN reporting. Obfuscation rules may differ in other call reporting products.

@JohanFreelancer9 I have accepted and committed your copyedits.
@SanderSade has approved this change offline as the technical approver.

@JohanFreelancer9 Do you typically merge these? I don't see a merge option to handle this myself.

@JohanFreelancer9 Do you typically merge these? I don't see a merge option to handle this myself.

@scanum, can you please help to get this merged? Thanks.

@CarolynRowe
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Handling messages with empty string as session id inconsistency

Package Name: azure/service-bus
Package Version: 7.9.4
Operating system: windows
[ ] nodejs

version: v20.11.0

[ ] browser

name/version:

[x ] typescript

version: 5.6.3

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://learn.microsoft.com

Describe the bug
Currently there are inconsistencies in behaviors when sending a message with empty string as session id. While when using null as session id the behavior looks right for all.
Logically we expect if the subscription has session enabled, that sending a message with null session id or empty string should have same behavior, and that is for message to go to the DLQ. But that is not what is happening.
The C# library seem to have the correct behavior. As it treats both null and empty string as same on send. At same time if there was already messages with empty string in the active queue, it will allow the client app to process them.
To Reproduce
Steps to reproduce the behavior:

Create a topic, and subscription with sessions enabled

Send message with empty string as session id using js library (Result: message goes to the active queue)

Send message with empty string as session id using Rest API (Result: message goes to the active queue)

Send message with empty string as session id using C# library (Result: message goes to the DLQ)

Try reading the message from the subscription using JS library by passing empty string as session id sbClient.acceptSession(queueName,"sub3" , ""). (Result: The app will NOT be able to read the message.)

Try reading the message from the subscription using JS library by passing empty string as session id sbClient.acceptSession(queueName,"sub3" , ""). (Result: The code will SUCCESSFULLY read the message.)

Expected behavior
Expect the JS library to be consistent with C# behavior on send and receive of messages with empty string as session id. That is:

On send message with empty string session id or with null to a session enabled subscription, then the message should go to DLQ
If there was a message with empty string as session id in the active queue in the subscription, then the client should be able to process it using acceptSession or acceptNextSession

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
This is related to a customer support case. Please contact me over Teams for any details.

Try reading the message from the subscription using JS library by passing empty string as session id sbClient.acceptSession(queueName,"sub3" , ""). (Result: The app will NOT be able to read the message.)
Try reading the message from the subscription using JS library by passing empty string as session id sbClient.acceptSession(queueName,"sub3" , ""). (Result: The code will SUCCESSFULLY read the message.)

@akhudairymicrosoft did you mean to have "C#" in the last bullet point?

@akhudairymicrosoft empty string is actually a valid session id.  .NET SDK is being outlier here by treating it the same as null.  We will not align with .NET SDK's behavior.
The issue of being unable to accept a session with id of "" is actually a bug/regression in JS SDK.  I opened PR #31736 to address it.

Hi @jeremymeng
Thank you for accepting this one.
I fixed the steps to reproduce.
Thanks for opening the PR regarding ability to receive.
I understand your reply here and the cause of it. I think if it was my business decision I would go for treating empty string exactly same as null and just force it to go to DLQ.
Just kindly note one thing. The C# while it can receive the messages. It has a weird behavior. When the message is received to process if you check the session id, you will see it is null and not an empty string. So all in all it make you feel that this whole thing is not consistent.
I just wanted to share my thoughts but I think for this filed Issue here, the PR you created is great to solve cx problem and good enough to close this Issue. Thank you

Just kindly note one thing. The C# while it can receive the messages. It has a weird behavior. When the message is received to process if you check the session id, you will see it is null and not an empty string. So all in all it make you feel that this whole thing is not consistent.

Yes, the C# client normalizes empty string to null before sending requests to the service.


Incorrect subtotal_amount with Paypal and a non-free shipping amount

We found an issue with the latest version of this module on PHP 7.0.13.
It seems to be related to the topological sort implemented in the Mage_Sales_Model_Config_Ordered override.
We have reverted the extension to v2.0.0 and it works properly
To reproduce:

add items to a cart (1 item is sufficient)
select a non-free shipping method (it works fine with free shipping method)
select Paypal as payment method

What happens
When being redirected to Paypal the customer gets an error The totals of the cart item amounts do not match order amounts.
Expected
Totals should be calculated correctly
More details
Below are the totals sent to Paypal in 3 different use cases, with the same cart : with the override (with / without a free shipping method), without the override (with a non-free shipping method).
It seems that the totals calculation error is that the shipping tax amount is subtracted from the subtotal.
// with override
// with non free shipping (12.7€ incl. Taxes)
(
    [AMT] => 25.53
    [ITEMAMT] => 10.34 <-- here is the problem. 10.34 is the items amt (12.46) minus the shipping tax (12.7-10.58)
    [TAXAMT] => 4.61
    [SHIPPINGAMT] => 10.58
    [L_NUMBER0] => julius-k9_162-LRW-G-W
    [L_QTY0] => 1
    [L_AMT0] => 12.46
)
// with free shipping
(
    [AMT] => 14.95
    [ITEMAMT] => 12.46
    [TAXAMT] => 2.49
    [SHIPPINGAMT] => 0.00
    [L_NUMBER0] => julius-k9_162-LRW-G-W
    [L_QTY0] => 1
    [L_AMT0] => 12.46
)

// without override
(
    [AMT] => 27.65
    [ITEMAMT] => 12.46
    [TAXAMT] => 4.61
    [SHIPPINGAMT] => 10.58
    [L_NUMBER0] => julius-k9_162-LRW-G-W
    [L_QTY0] => 1
    [L_AMT0] => 12.46
)

Without the override the amounts are what is expected.

Hi
Same problem here with Paypal Express Checkout
Hoping that revertind to 2.0.0 will not break anything else.
Thanks @real34 👍

@real34 @mokadev This is probably related to the usort issue I ran into, try adding a sort order to the msrp via the config.xml of the module will most likely fix it as it also fixed my issues with the tax being applied wrong acting as if prices where entered including tax instead of excluding it
For an example of what it should look like, check out my opened issue.


move restart_from to fmu.iteration

Solve #307

[X] fmu.case.restart_from -> fmu.iteration.restart_from
[ ] Populate restart_from from input arguments to fmu.iteration.restart_from

Pending further discussions, we merge the schema change now, to prepare for population of restart_from later.


这两天调用接口，连续封了多个账号

如题，应该是调用接口有什么特征泄漏，望大佬更新

I can't answer your question, other than from what I see the User-Agent is "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36")", otherwise looks pretty standard.
Additional items that can get your account blocked;

Using a proxy (if the proxy is either not passing through\faking the required headers, many packets can arrive as bad, contributing to a block)
High volume of requests
Multiple Accounts from the same IP address
VPN or CloudFlare
Flagged queries
Character sets \ queries that imply you may not be accessing the service in either the US or London.

Luck plays a big part....

I can't answer your question, other than from what I see the User-Agent is "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36")", otherwise looks pretty standard.
Additional items that can get your account blocked;

Using a proxy (if the proxy is either not passing through\faking the required headers, many packets can arrive as bad, contributing to a block)
High volume of requests
Multiple Accounts from the same IP address
VPN or CloudFlare
Flagged queries
Character sets \ queries that imply you may not be accessing the service in either the US or London.

Luck plays a big part....

因为是docker部署的，也不太好伪装user-agent啊，docker内挂了代理，之前一直都只用一个账号，也没封，但是这几天就封了4个账号了

Hi, not trying to be argumentative but by default that is not how docker networking works.
By default Docker shares the host network adapter, as such any packet capture or data analysis of outbound traffic performed off the device makes it extremely difficult to identify if the source was a container, as all packets come from the host with no markers of docker.
Docker does NOT set a user-agent, just like an application running out-side of docker, the application is responsible for setting the user-agent.
For in-bound traffic, Deep Packet Inspection particularly relating to TLS may provide some "hints" \ "indications" of containerization, but that's it.

遇到同样的问题使用这个被封号


automatically convert List into String[]

Issue

automatically convert List into String[]
Change

fix: should automatically convert List<String> into String[]

General checklist

[ ] There are no breaking changes
[ ] I have added unit and integration tests for my change
[ ] I have manually run all the unit and integration tests in the module I have added/changed, and they are all green
[ ] I have manually run all the unit and integration tests in the core and main modules, and they are all green

[ ] I have added/updated the documentation
[ ] I have added an example in the examples repo (only for "big" features)
[ ] I have added/updated Spring Boot starter(s) (if applicable)

Checklist for adding new model integration

[ ] I have added my new module in the BOM

Checklist for adding new embedding store integration

[ ] I have added a {NameOfIntegration}EmbeddingStoreIT that extends from either EmbeddingStoreIT or EmbeddingStoreWithFilteringIT
[ ] I have added my new module in the BOM

Checklist for changing existing embedding store integration

[ ] I have manually verified that the {NameOfIntegration}EmbeddingStore works correctly with the data persisted using the latest released version of LangChain4j

Hi @langchain4j , this is the PR to handle LONG_OR_DOUBLE strategy discuss in https://github.com/langchain4j/langchain4j/pull/1353.

Hi @humcqc, thank you!
The first change (long or double) seems to be too risky and I am not sure I understand the upside of it, could you please elaborate? Why is this change required?
The second and third changes are great though!

Hi @humcqc, thank you! The first change (long or double) seems to be too risky and I am not sure I understand the upside of it, could you please elaborate? Why is this change required? The second and third changes are great though!

The first one is to fix this ( that is the second point )
It avoid double conversion , from json to double and double to INT or Long.
And avoid to test int value (2) with double value (2.0)
I understand it's risky but it seems we are doing weird int to double conversion and then double to int . IT seems not good when you are using tools with int parameters and you receive from Json doubles.
I feel it risky too but i think it's the good way to go.
How could we verify that we are not breaking things related to this change ?

Perhaps we can wait when we will move to jackson for this.
I can revert this and keep the test commented and just fix the third point.

The first one is to fix this ( that is the second point )
It avoid double conversion, from json to double and double to INT or Long.

I am not sure this will fix should_use_tool_with_List_of_Integers_parameter as Gson is deserializing it into a List<Long> in this case, not List<Integer>... Same issue with the List<Float>...

I understand it's risky but it seems we are doing weird int to double conversion and then double to int . IT seems not good when you are using tools with int parameters and you receive from Json doubles.

For singular (not collection/array) @Tool method parameters we handle types properly in DefaultToolExecutor.coerceArgument, so the problem is only with collections/arrays, which we can fix in a similar way to coerceArgument.
Since this change

is risky
does not fix the problem completely
we are migriing to Jackson

, let's indeed revert it
Thank you!

Agreed! I will close this PR and handle the 3rd point in the original PR if you are ok.

@humcqc, it would be great if this change can stay in a separate (this) PR. But it is not critical

@humcqc, it would be great if this change can stay in a separate (this) PR. But it is not critical

Done!

You welcome, if you have time we can try to tackle this one: https://github.com/langchain4j/langchain4j/pull/1353 it will help me a lot in my project the time ollama implement it.

@humcqc do you know if ollama has some timelines for implementing tools natively?

I've just asked.


[Question] don't work on Python 2.7 but work on python3.6.8

I have tried installing Dopamine on Ubuntu 18.04.2. I found that it doesn't work when doing test with python tests/dopamine/atari_init_test following the Readme.md(Log 1 was printed on the terminal). I notice that gym was refered in the traceback log and gym-0.11.0 which was automatically install by pip surport python3. So I tried creating a conda virtual environment which using python3.6.8, and it worked.
Is the installing instruction needed to be updated?
Log 1 (when I use virtualenv --python=python2.7 dopamine-env)
~/Desktop/dopamine$ python tests/dopamine/atari_init_test.py
E.
======================================================================
ERROR: test_atari_init (__main__.AtariInitTest)
Tests that a DQN agent is initialized.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/dopamine/atari_init_test.py", line 47, in test_atari_init
    train.main([])
  File "/home/zenith/Desktop/dopamine/dopamine/discrete_domains/train.py", line 55, in main
    runner = run_experiment.create_runner(FLAGS.base_dir)
  File "/home/zenith/dopamine-env/local/lib/python2.7/site-packages/gin/config.py", line 1032, in wrapper
    utils.augment_exception_message_and_reraise(e, err_str)
  File "/home/zenith/dopamine-env/local/lib/python2.7/site-packages/gin/utils.py", line 50, in augment_exception_message_and_reraise
    six.reraise(proxy, None, sys.exc_info()[2])
  File "/home/zenith/dopamine-env/local/lib/python2.7/site-packages/gin/config.py", line 1009, in wrapper
    return fn(*new_args, **new_kwargs)
  File "/home/zenith/Desktop/dopamine/dopamine/discrete_domains/run_experiment.py", line 109, in create_runner
    return Runner(base_dir, create_agent)
  File "/home/zenith/dopamine-env/local/lib/python2.7/site-packages/gin/config.py", line 1032, in wrapper
    utils.augment_exception_message_and_reraise(e, err_str)
  File "/home/zenith/dopamine-env/local/lib/python2.7/site-packages/gin/utils.py", line 50, in augment_exception_message_and_reraise
    six.reraise(proxy, None, sys.exc_info()[2])
  File "/home/zenith/dopamine-env/local/lib/python2.7/site-packages/gin/config.py", line 1009, in wrapper
    return fn(*new_args, **new_kwargs)
  File "/home/zenith/Desktop/dopamine/dopamine/discrete_domains/run_experiment.py", line 185, in __init__
    self._environment = create_environment_fn()
  File "/home/zenith/dopamine-env/local/lib/python2.7/site-packages/gin/config.py", line 1032, in wrapper
    utils.augment_exception_message_and_reraise(e, err_str)
  File "/home/zenith/dopamine-env/local/lib/python2.7/site-packages/gin/utils.py", line 50, in augment_exception_message_and_reraise
    six.reraise(proxy, None, sys.exc_info()[2])
  File "/home/zenith/dopamine-env/local/lib/python2.7/site-packages/gin/config.py", line 1009, in wrapper
    return fn(*new_args, **new_kwargs)
  File "/home/zenith/Desktop/dopamine/dopamine/discrete_domains/atari_lib.py", line 77, in create_atari_environment
    env = gym.make(full_game_name)
  File "/home/zenith/dopamine-env/local/lib/python2.7/site-packages/gym/envs/registration.py", line 171, in make
    return registry.make(id, **kwargs)
  File "/home/zenith/dopamine-env/local/lib/python2.7/site-packages/gym/envs/registration.py", line 123, in make
    env = spec.make(**kwargs)
  File "/home/zenith/dopamine-env/local/lib/python2.7/site-packages/gym/envs/registration.py", line 87, in make
    env = cls(**_kwargs)
  File "/home/zenith/dopamine-env/local/lib/python2.7/site-packages/gym/envs/atari/atari_env.py", line 47, in __init__
    self.action_space = spaces.Discrete(len(self._action_set))
  File "/home/zenith/dopamine-env/local/lib/python2.7/site-packages/gym/spaces/discrete.py", line 15, in __init__
    super().__init__((), np.int64)
TypeError: super() takes at least 1 argument (0 given)
  In call to configurable 'create_atari_environment' (<function create_atari_environment at 0x7fb8b0476a28>)
  In call to configurable 'Runner' (<unbound method Runner.__init__>)
  In call to configurable 'create_runner' (<function create_runner at 0x7fb8b041bde8>)

----------------------------------------------------------------------
Ran 2 tests in 0.343s

FAILED (errors=1)

you are correct, thank you for raising this.
we're currently updating the instructions and verifying they work.
i'll update this thread when documentation has been updated.

this should be addressed in https://github.com/google/dopamine/commit/0ce07095840b5cb6686dcfebbc9f95bc5e4fed36
let us know if you run into any other issues.


Upgrading the module for API V1 (release scheduled for May 1, 2023)

stagetimer.io's V1 of the API is scheduled to release on May 1, 2023 with the following features:

more endpoints (create/update/delete timers and messages)
return values for all endpoints
socket.io endpoint for push events
support for OSC protocoll in addition to HTTP (maybe)

Once it is released I'll post the full spec here.

Awesome! Can't wait


Failed to load API definition Failed to fetch

Asp.Net Core version:

.netcoreapp2.0

Swagger version:

Swashbuckle.AspNetCore 3.0.0

Error description:
I can access the swagger.json file directly and got 200,but when I access the swagger index,
I met the error as follows:

I've checked every method in controller and there's no method without httpVerboses(HttpGet,HttpPost..) attribute

It was my chrome ad block plugin caused...

I ran into the same issue, can I know what you did to solve it?

Im in guys

I ran into the same issue, can I know what you did to solve it?

Did you solved this?

I ran into the same issue, can I know what you did to solve it?

Did you solved this?

In my case it was wrong configuration in Startup.
code in ConfigureServices was
services.AddSwaggerGen(c =>
           {
               c.SwaggerDoc("v1", new OpenApiInfo
               {
                   Version = "v1"
               });
           var xmlFile = $"{Assembly.GetExecutingAssembly().GetName().Name}.xml";
               var xmlPath = Path.Combine(AppContext.BaseDirectory, xmlFile);
               c.IncludeXmlComments(xmlPath);
           }

and code in Configure method was
               app.UseSwaggerUI(c =>
               {
                   c.SwaggerEndpoint("/swagger/v2/swagger.json", "v2");
               });

Problem was: I made middleware with root  swagger/v2 json, but defined swagger/v1 above.
Maybe you do the same?


add .travis caching

Coverage remained the same at 25.07% when pulling 9c5be8fad4eddb7708993297a6048a9f59815591 on ryan-williams:tc into ee9a7b606528c70481aa107eed85274076b8245f on hammerlab:master.


Python bindings

I am trying to use the python bindings of the library and run the simple example that is provided (libnabo/python/test.py). However, I cannot, since when the user defines the query point: q = np.array([[1.1, 2.]]) it there is a runtime error:
RuntimeError: Query has less dimensions (1) than requested for cloud (2)
I guess that has something to do with the dimension of the query point. If I transpose the query point I get a correct answer but does this make sense?:

res = nns.knn(q.transpose(), 2, 0, SearchOptionFlags.ALLOW_SELF_MATCH)
res
(array([[1, 0]], dtype=int32), array([[0.01, 2.21]]))

Can you please help advise on how to use the python bindings, or maybe update the example with a working one?
Many thanks in advance.

I just can`t install python binding. Could you please tell how to do that.


Support NIO Transport Services

This is the investigation for https://github.com/swift-server/async-http-client/issues/127
This builds on https://github.com/apple/swift-nio/pull/1253 and https://github.com/apple/swift-nio-transport-services/pull/65, mostly motivated by https://github.com/swift-aws/aws-sdk-swift-core/pull/141.
Caveats:

I wasn't able to see how to support ChannelOptions.maxMessagesPerRead; we'll need this to make sure we don't block in testUploadStreamingBackpressure.
As mentioned in https://github.com/apple/swift-nio/issues/674, we're really pushing back on our users to always use NIOTSEventLoopGroup if it's available. We should likely also add a check if we're passed in a .shared() EventLoop that we use the corresponding bootstrap, but figured I'd post this up here for an initial review first.

ping @Yasumoto this is now ready :)

how this works is: You only need one #if ... and then you can
#if canImport(Network)
// Creating the "universal bootstrap" with the `NIOSSLClientTLSProvider`.
let tlsProvider = NIOTSClientTLSProvider(tlsOptions: .init())
let bootstrap = NIOTSClientTLSProvider(NIOTSEventLoopGroup(group: group), tls: tlsProvider)
#else
// TLS setup.
let configuration = TLSConfiguration.forClient()
let sslContext = try NIOSSLContext(configuration: configuration)

// Creating the "universal bootstrap" with the `NIOSSLClientTLSProvider`.
let tlsProvider = NIOSSLClientTLSProvider<ClientBootstrap>(context: sslContext, serverHostname: "example.com")
let bootstrap = NIOClientTCPBootstrap(ClientBootstrap(group: group), tls: tlsProvider)
#endif

// Bootstrapping a connection using the "universal bootstrapping mechanism"
let connection = bootstrap.enableTLS()
                     .connect(host: "example.com", port: 12345)
                     .wait()

Oh heck yah 💪

Hey guys,
I have a version of this working on another branch. There are still a few issues: a couple of tests fail and TLS testing with NIOTS fails but that looks like it is a problem with the TLS testing, not the code.
I have tested it with aws-sdk-swift and it works on both macOS and iOS. Should I open another PR?

I have tested it with aws-sdk-swift and it works on both macOS and iOS. Should I open another PR?

+1 the sooner we get the special Darwin treatment out of aws-sdk-swift the better. I can only imagine @Yasumoto would be supporting this.

@adam-fowler amazing! If you’ve already got a branch ready for review let’s close this out and transition to a new PR 🙇


Integration test for embeded Android views touch support.

This depends on #19907, #20052, and flutter/goldens#10, devicelab configuration will be added in a following PR.
This test verifies that the synthesized motion events that get to embedded
Android view are equal to the motion events that originally hit the FlutterView.
The test app's Android code listens to MotionEvents that get to FlutterView and
to an embedded Android view and sends them over a platform channel to the Dart
code, where the events are matched.
This is what the app looks like:

The blue part is the embedded Android view, because it is positioned at the top
left corner, the coordinate systems for FlutterView and for the embedded view's
virtual display has the same origin (this makes the MotionEvent comparison
easier as we don't need to translate the coordinates).
The app includes the following control buttons:

RECORD - Start listening for MotionEvents for 3 seconds, matched/unmatched events are
displayed in the listview as they arrive.
CLEAR - Clears the events that were recorded so far.
SAVE - Saves the events that hit FlutterView to a file.
PLAY FILE - Send a list of events from a bundled asset file to FlutterView.

A recorded touch events sequence is bundled as an asset in the
assets_for_android_view package which lives in the goldens repository.
When running this test with flutter drive the record touch sequences is
replayed and the test asserts that the events that got to FlutterView are
equivalent to the ones that got to the embedded view.

@tvolkert I split a flutter_goldens_client packages out of flutter_goldens.
Could you take a look just at: 876f907 and 99f8a95
(I'll audit the commit history into a sequence that makes more sense before landing)

@Hixie I think they hit an edge case and the agent stuck in a never ending retry loop on downloading a cache. It will soon timeout and the tasks will be automatically re-run. I will work on a fix for the retry issue. Sorry about that and thanks for letting me know.

@Hixie the infinite retry thing should be fixed now. 🙌


Added AShepherd to Contributors list.

Thanks for the simple and clear tutorial

Hi  @alkalinemusic, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.

Hi Roshan,
Thanks for reaching out about the first contributions project. I appreciate
you putting this together. I have had some minor experience with git for my
own projects so I am familiar with the commands that are in your tutorial.
But, I have not done anything with a repo other than my own, so that was
new. Your tutorial was very easy to follow and made the process seem almost
too easy, makes me wonder why I hadn't done it before.
It was great to see the final merge complete as I knew I'd done it
correctly.
Thanks again,
Alan Shepherd
<EMAIL_ADDRESS>https://github.com/alkalinemusic/
On Sun, Aug 12, 2018 at 2:07 PM, Roshan Jossey<EMAIL_ADDRESS>wrote:

Merged #5938
https://github.com/Roshanjossey/first-contributions/pull/5938 into
master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Roshanjossey/first-contributions/pull/5938#event-1784230540,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASzAVT4Z36tXy_svtlKDRVOWpuGIeIQRks5uQG7bgaJpZM4V5oaD
.

I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://goo.gl/PM1Jdh


[vcpkg] configure debug before release

Since we switched to build debug before release, for symmetry I propose also to configure debug before release when not in parallel mode

Agreed, thanks!


http responded with 404

typings install http --ambient --save doesn't work. Not sure if I'm doing something wrong?
? Found http typings for DefinitelyTyped. Continue? Yes
typings ERR! message https://api.typings.org/versions/dt/http responded with 404, expected it to equal 200

typings ERR! cwd C:\Dev\ARSD\Personal\SailsTestProject\SailsTestProject
typings ERR! system Windows_NT 10.0.10586
typings ERR! command "C:\\nodejs\\node.exe" "C:\\Users\\Andrew Roth\\AppData\\Roaming\\npm\\node_modules\\typings\\dist\\bin\\typings-install.js" "http" "--ambient" "--save"
typings ERR! node -v v4.2.6
typings ERR! typings -v 0.6.8
typings ERR! code EINVALIDSTATUS

typings ERR! If you need help, you may report this error at:
typings ERR!   <https://github.com/typings/typings/issues>

What are you trying to do? There are no typings called http.

I'm trying to use express.d.ts. Line 27 says:
import * as http from "http";
it errors with "Cannot find module 'http'"

The http module comes from node. Try install the node typings: typings install node -SA.

great that worked thanks. What about serve-static? That one's missing too.


Go to icon

Ref discussion in slack EDS should introduce a "go to" icon as it is used in many applications

Will be published when dev resolves #1772


Uncaught TypeError: Cannot read property '_updateTileNodes' of undefined

[Enter steps to reproduce:]

Install Atom
Install Elastic tabstops package
open a file with tabs e.g.

one two
1 2

in the menu, go to Packages > Elastic tabstops > toggle
Error is also thrown after restarting Atom

Atom: 1.25.1 x64
Electron: 1.7.11
OS: Mac OS X 10.12.6
Thrown From: elastic-tabstops package 1.3.1
Stack Trace
Uncaught TypeError: Cannot read property '_updateTileNodes' of undefined
At /Users/bram/.atom/packages/elastic-tabstops/lib/elastic-tabstops.js:106

TypeError: Cannot read property '_updateTileNodes' of undefined
    at disable (/packages/elastic-tabstops/lib/elastic-tabstops.js:106:7)
    at /packages/elastic-tabstops/lib/elastic-tabstops.js:46:5)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:384:49)
    at CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:273:23)
    at AtomEnvironment.dispatchApplicationMenuCommand (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:1343:25)
    at EventEmitter.outerCallback (/Applications/Atom.app/Contents/Resources/app/src/application-delegate.js:339:53)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:197:7)

Commands
     -1:44.7.0 core:backspace (input.hidden-input)
     -1:41.8.0 core:confirm (input.hidden-input)
     -0:37.9.0 elastic-tabstops:toggle (input.hidden-input)

Non-Core Packages
elastic-tabstops 1.3.1

I have the same problem. the package hasn't been usable since version 1.19 (? I think) because of these errors :-(

Same issue here

Two years on, and still no movement on this issue? :-(

Unfortunately I do not have much time on this package now, if anyone could commit PR to fix this I would like to merge it asap.

Maybe we can just delete
https://github.com/hax/atom-elastic-tabstops/blob/956a0a3fd92e3d27364579c70db70c0aea5f119a/lib/elastic-tabstops.js#L105-L109


common test priv dir

ERROR! Priv file "/Users/joe/dev/joedevivo/chatterbox/_build/test/lib/chatterbox/common_test/priv/ct_default.css" could not be copied to "/Users/joe/dev/joedevivo/chatterbox/_build/test/logs/ct_default.css". Reason: enoent

DEBUG=1 && I added a lager statement at https://github.com/rebar/rebar3/blob/master/src/rebar_prv_common_test.erl#L115
Result {could_not_start_process,ct_logs,
           {priv_file_error,
               "/Users/joe/dev/joedevivo/chatterbox/_build/test/logs/ct_default.css"}}

ct_default.css shouldn't be anywhere in my project's directory until it's copied from the erlang distribution, but I think that because rebar3 is an escript, it thinks the erlang distribution is local to my project.
rebar2 runs ct_run or common_test from a new erlang node, like this
   %% Check for the availability of ct_run; if we can't find it, generate a
    %% warning and use the old school, less reliable approach to running CT.
    BaseCmd = case os:find_executable("ct_run") of
                  false ->
                      "erl -noshell -s ct_run script_start -s erlang halt";
                  _ ->
                      "ct_run -noshell"
              end,

but rebar3 calls ct:run_test(Opts) directly, and since rebar3 is an escript, it behaves differently w.r.t. code:lib_dir(), so this https://github.com/erlang/otp/blob/maint/lib/common_test/src/ct_logs.erl#L622
from common_test is looking in the wrong place.
When I add a debug message io:format("Ct: ~p~n", [code:lib_dir(common_test)]),, it outputs
Ct: "/Users/joe/dev/joedevivo/chatterbox/_build/test/lib/chatterbox/common_test"

which is definitely the wrong place.

This essentially means I can't run my common tests with rebar3. Everything else I've tried with http://github.com/joedevivo/chatterbox works great with rebar3

i'm not sure what's going on here. are you modifying the code path anywhere in your tests? code:lib_dir/1 should return your system $OTPROOT

We can try moving the code paths to the end (I'd rather not, currently we ensure your deps take precedence) so not having a dir named common_test would be best :)

Usually the stuff in the standard library has the benefit of being a sticky directory so this kind of accidental reload doesn't happen, though I believe that only guarantees it for beam file.

Yes, naming my directory common_test was the root of this problem. I still think it's a "bug", but documenting it is a sufficient solution for me.
Changing the name to ct got me past this, but using the --dir argument wasn't able to find my tests, so they were not even compiled.
➜ chatterbox git:(master) ✗ env DEBUG=1 rebar3 ct --dir ct
===> Verifying dependencies...
...
===> Running Common Test suites...
===> erl_opts [debug_info,
                      {extra_src_dirs,["ct"]},
                      debug_info,
                      {d,'TEST'},
                      {i,["include"]},
                      {parse_transform,lager_transform},
                      warnings_as_errors]
===> Files to compile first: []
===> common test opts: [{logdir,
                                   "/Users/joe/dev/joedevivo/chatterbox/_build/test/logs"},
                               {dir,
                                   "/Users/joe/dev/joedevivo/chatterbox/_build/test/lib/chatterbox/ct"},
                               {abort_if_missing_suites,true},
                               {auto_compile,false},
                               {verbose,true}]
All 0 tests passed.
===> Cover data written to "/Users/joe/dev/joedevivo/chatterbox/_build/test/cover/ct.coverdata".

Copying my tests into ./test solves the problem completely because I'm no longer using the --dir argument. So, I'm going to just do it that way and move on, but that's probably an issue as well.
Thanks for all the hard work. Aside from this one bug, rebar3 was a joy to upgrade to, and has made my Makefiles obsolete. :D

i fixed the secondary issue you reported. ct wasn't updated properly when we made it possible to have src_dirs and extra_src_dirs at the root of the rebar.config


Infinite Gold/Aura using Vortex Infusion

It seem that using Vortex Infusion it is possible to obtain infinite gold or Aura.
Basically the problems lies in the fact that Aura crystals are made from gold and gold blocks and can be created by Vortex Infusion. It only takes 40,000 power, which each Aura crystal give 1000 Aura, used on a node 16 blocks above pedestal you get about 16,000 power (more or less). This means using only around 2-4 Aura Crystals I can make one gold block, it only cost me only 1-2 nuggets of gold (as 8 nuggets = 16 Crystals). I can then use the new gold to make more crystals and grain free gold and Aura.
Now I know it also takes 4 iron blocks, but using ore doubling, as well as other mods, the Iron can become meaningless in the end. Really considering you can't really control for what resources other mods can mass reproduce, any resource being used can be considered negligible in the quest for infinite gold or Aura.
I really love this Mod and it's ideas, it's one of the few out there as of recent that has such a unique system of energy, I really thank you for thinking out side the box. I would love including it in my server and modpack, but the server uses Gold as it's currency and this would completely break the economy.

Just nerfed the aura crystal recipe to give 2 instead of 16. These 'resupply aura' setups have always been intended, but they might have gotten a bit powerful.
If gold transmutation messes with your server balance, it can be disabled using modtweaker.


update experiment admin button

we need an admin button / view that will update files (and database options) for a given experiment.  This is a significant decision as it will change all instances of the experiment, so it should be done with caution.

This has been done.


Support the assignment operators for BigInt

We already have them for BigUint, so this probably just needs more forwarding impls.
cc rust-num/num#173

Just commenting to say YAY! I check back every couple of days, and excited to see the last issue on the 0.2 milestone track closed out.
Keep up the great work!


Getting "tlsv1 alert internal error" with the client

I have disabled the SSL verification but I am getting ""tlsv1 alert internal error" when downloading https://www.guide-du-chien.com/wp-content/uploads/2016/10/Beagle.jpg. I saw there is an option using openssl_sni_hostname(host) but I can have URLs from multiple unknown hosts and cannot use a new client everytime.
Is there a solution to fix this ?
I am using 0.13 branch.
Thank you,

So I am having the problem with many images like https://media1.popsugar-assets.com/files/thumbor/DUxerwFFhyg8zASXMBujxvyd7wc/fit-in/1024x1024/filters:format_auto-!!-:strip_icc-!!-/2015/12/18/013/n/4981322/cde696d5ef8ec461_l/i/Wedding-Dress-Pictures-Instagram.jpg.
It is quite critical for me, is there a way to hack this ? turning off sni or set dynamically the openssl_sni_hostname(request.host()) as mentionned  ?
Is there any update on #682 ?
Thank you very much,

Would it work all the time if I replaced sni_hostname_ by host here ?

I am ready to make a PR to be able to add a sni_hostname(const std::string &host) method to the request object. What is the best way to send this variable to the client and call SSL_set_tlsext_host_name() ?


Add find use case in DG

Closes #30

Codecov Report

Merging #38 (0961ba4) into master (a0401e1) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #38   +/-   ##
=========================================
  Coverage     72.16%   72.16%
  Complexity      435      435
=========================================
  Files            74       74
  Lines          1394     1394
  Branches        154      154
=========================================
  Hits           1006     1006
  Misses          333      333
  Partials         55       55

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 a0401e1...0961ba4. Read the comment docs.

Please help merge. thanks @e0260222


Add a "favorite" tag

It's functional, and visible in the song view and in Now Playing. Next step is to add sorting/filtering

Added playback queue filtering. Not gonna bother with sorting.


System is not defined

shims.js?1461767721346:formatted:4639: Uncaught ReferenceError: System is not defined

Hi, do you have info when ng2-bootstrap will be ready for production build using system builder? On production SystemJS of course is missing because is not neccessary, but is required by ng2-bootstrap in registering bundled components.

If you use system.js builder use common.js js files, not already bundled

ReferenceError: System is not defined
this one means you forgot to add system.js files in html
this should help:
https://github.com/valor-software/angular2-quickstart


EI version that use for work flow must mention in documentation

In the doc [1] Its mentioned to download and configure  BPM profile , its better to mentioned which version of the EI should user download
[1] https://docs.wso2.com/display/IS540/Configuring+the+BPM+Profile+of+WSO2+EI+as+a+Workflow+Engine

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


Concurrent updates

Hi!
I'm currently using this gem in an app with "Tasks" where completed tasks can be moved to the top of the list when "reopened" by updating the row_order_position attribute with the :first value. This works great if, say, I manually reopen completed tasks one per time, however I also have schedules which automatically reopen certain tasks at some point in time, such as every day at midnight, and this happens asynchronously, meaning that it can easily happen that multiple tasks are moved to the top at the same time. This results in multiple tasks having the same rank/position in the list.
Do you know of any way I can avoid this and ensure each task has a unique rank even in the scenario I described? I tried things like locking and transactions with different isolation levels but with no luck (I'm using Postgres).
Thanks in advance!

It may not solve your problem but per the idea in https://github.com/mixonic/ranked-model/issues/95, a unique index on the row_order column would prevent dups. Some kind of code to handle errors would be needed unless your async tasks can retry upon failure.

You could look at an advisory lock. There is a branch with this in it. Though since I'm talking to 2016-17, this is probably not an issue for you anymore...


Unable to Install TensorFlow on Raspberry Pi Zero W (ARMv6)

Issue type
Build/Install
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.10.1
Custom code
Yes
OS platform and distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I'm trying to install TensorFlow on a Raspberry Pi Zero W with ARMv6 architecture with 32-bit bookworm. However, the installation fails, and I cannot find a version of TensorFlow compatible with ARMv6 architecture. I would appreciate guidance or an official release for ARMv6 support.
raspberrypiwh@raspberrypi:~ $ uname -m
armv6l
raspberrypiwh@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)"
NAME="Raspbian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Standalone code to reproduce the issue
I'm trying to install TensorFlow on a Raspberry Pi Zero W with ARMv6 architecture with 32-bit bookworm. However, the installation fails, and I cannot find a version of TensorFlow compatible with ARMv6 architecture. I would appreciate guidance or an official release for ARMv6 support.

raspberrypiwh@raspberrypi:~ $ uname -m
armv6l
raspberrypiwh@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)"
NAME="Raspbian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Relevant log output
No response

Hi, @chaudhariraj
I apologize for the delayed response, I see community-built TensorFlow binaries which provides an official wheel for Python3.5 on Raspberry Pi 1-3 and Pi Zero. if you're looking for an official wheel for Python3.5 on Raspberry Pi Zero please download from it here and install it on your Raspberry Pi Zero W (ARMv6)
You can also build from source for the Raspberry Pi Zero (ARMv6) and We recommend cross-compiling the TensorFlow Raspbian package. Cross-compilation is using a different platform to build the package than deploy to. Instead of using the Raspberry Pi's limited RAM and comparatively slow processor, it's easier to build TensorFlow on a more powerful host machine running Linux, macOS, or Windows. Please refer this documentation.
If I have missed something here please let me know.
Thank you for your cooperation and patience.

Hi, @gaikwadrahul8
I recently purchased a Raspberry Pi 4 Model B (2018), installed a 64-bit OS (Bookworm, aarch64 architecture), and the default Python version is 3.11. I installed TensorFlow version 2.17 in a virtual environment (venv). However, I'm encountering issues accessing the Pi Camera using the picamera2 library. The error states that the libcamera module cannot be found, even though I have installed picamera2 and its dependencies, including libcamera-apps.
When I attempt to install TensorFlow directly in the root environment (outside of the virtual environment), I encounter errors. How can I resolve these issues to successfully access the Pi Camera while using TensorFlow and also how i install tensor flow specific version like 2.10 in root or is possible to install tensor flow with apt command?
Error:
raspberrypi4b@raspberrypi:~ $ pip install tensorflow-2.18.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

For more information visit http://rptl.io/venv

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
OS Details:
raspberrypi4b@raspberrypi:~ $ uname -m
aarch64
raspberrypi4b@raspberrypi:~ $ uname -r
6.6.62+rpt-rpi-v8
raspberrypi4b@raspberrypi:~ $  cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
raspberrypi4b@raspberrypi:~ $
Wheel: link - https://www.tensorflow.org/install/pip
https://storage.googleapis.com/tensorflow/versions/2.18.0/tensorflow-2.18.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Hi, @chaudhariraj
I apologize for the delayed response, could you please follow the below instructions before installing the TensorFlow and see is it resolving your issue or not ?
1. sudo apt install python3-venv
2. python3 -m venv ~/tf
3. source ~/tf/bin/activate

After trying above instructions if issue still persists please let us know with updated error log to investigate this issue further from our end.
Thank you for your cooperation and patience.

Hi, @chaudhariraj
To confirm, have you got chance to try above provided instructions ? If so please let us know is it working as expected or not ?
Thank you for your cooperation and patience.


Include error descriptions in response

When error happens, display the error in the response. For the authorization endpoint, display the error in the template. For the token endpoint, retunrs the error in the JSON response.
All error messages are defined in the locale file, which is installed along with the doorkeeper:install generator.

There is one typo.
Other than that looks good.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/38651

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/38811

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/56949

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/107899


Saving oofs file when fitting

When we train a model by calling model.fit it would be nice that we can save the predictions of the validation set on the run as oof csv files.
Please see to it.

well, you can do that using the predict function. :)


add MatMulLayer

adds MatMulLayer with both CPU and GPU implementations
uses MKL gemm functions for CPU, CuBLAS for GPU
prototxt params for transposing either input matrix

I tested this on orion and it is working as expected. Still no luck on the cluster.


[travis/s3] Encrypted attachments often fail to download for some reason

"Failed to locate media"

Fixed by https://github.com/turt2live/matrix-media-repo/commit/b6a082622f8763cadcd0b6a071ae3219bc153b42


change default initialize_mth5 to use append mode, issue #92

minor change - see issue #92...
basically with default "w" it is quite easy to lose data from an mth5 when working interactively.

All tests pass except tests/version_2/test_make_mth5.py
The error is here:
mth5.utils.exceptions.MTH5Error: /Experiment/Surveys/CONUS_SoCal does not exist, check survey_list for existing names

@kujaku11 Do you think this is associated with the reorganization at IRIS?


Hyper.is website security error

Issue

I was looking for Hyper themes and came across this Chrome security error. It's not reproducible in Firefox, but I figured you guys would want to know. Using the latest Chrome for macOS (Version 69.0.3497.100)

Thank you for reporting! I have removed the theme causing this issue (due to preloading the image causing this error) and pinged the author for an update


New development workflow

Not every commit should trigger a new release that is published to crates etc.
Investigate and apply a new workflow.

I have changed the release tagging
-> removed auto tags based on anothrnick because it was annoying
-> releasing the program can now be done via another pipeline (manual trigger to release workflow)


I would like a mentor

Question: Have you read the mentoring guide? Please only submit this request for general mentoring (not GSoC).
Answer: Yes I have read the mentoring guide.
What is your background? Any experience with Go, Kubernetes, React, Typescript, etc.?
Answer: I have previous experience in Kubernetes and Typescript.
Is there any particular issue you'd like to work on? You may want to check out the list of good first issues.
Answer: I would like to get Argo Workflows running in development mode on my dev machine and some help to create my first pull request. I'm creating a new artefact connector for Azure Blob Storage.
Do you want to work with your mentor async (i.e. by Slack messaging or issue comments), or sync (e.g. using Zoom video)? Please include your time-zone if you want to work sync.
Answer: async or sync, CEST (Central European Summer Time)

Please let us know if you are having issues setting up your dev environment. Please also pick an issue to work on once it's set up successfully.

I'm having issues setting up my dev environment.
I've added new code, some unit tests and I'm executing the tests without problems but I'm not able to run my changes on my local machine because I've never used vs develop containers.
My dev machine is a virtual machine with Windows server 2019, vs code and docker desktop.
Could you send me some documentation about how to debug changes in local environment?
I miss some details from developer portal pages.

Unfortunately I don’t have much experience with Windows. Perhaps you could try the new dev container setup https://github.com/argoproj/argo-workflows/pull/8677.

Ok. I will try it. I will let you know my advances. Thanks @terrytangyuan

Hi again
I almost have everything ready with my dev machine.
I want to pick this issue: https://github.com/argoproj/argo-workflows/issues/1540

Sounds good.

That may not be a good first issue to work on. Do you want to pick up any other tasks?


TargetGroup no longer needs Port, Protocol, and VpcId for lambda targets

As per the April 18th 2019 update on https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/ReleaseHistory.html
Experimentation also confirms that HealthCheckProtocol is invalid for lambda targets

Fixed via #1376


[2890] add api-docs for openapi documentation generation

Context
Adding rendering of the openapi spec for the public API.
Changes proposed in this pull request

Routes to /api-docs and a controller, lifted from Apply, to handle it.
Views and markdown to turn OpenAPI into HTML documentation lifted from Apply

As this service is api-only, we've ripped out the asset pipeline stuff and add static CSS
Modified to de-integrate with the rest of the site, for example removed navigation components and replaced with generated HTML in the templates

Added & changed documentation to be specific to our service.
Bare OpenAPI spec just for the sake of testing this.

Guidance to review

No tests. Sorry, will have to backfill.
Test this locally by running the server and visiting https://localhost:3001/api-docs
Most of this was lifted from Apply so there may still be Apply-specific bits that aren't relevant to us.

Checklist

[ ] Make sure all information from the Trello card is in here
[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

 Create OpenAPI spec for courses

I just realised that the linter is going to barf on this. Blame Apply. 😛

637 files inspected, 110 offenses detected

😭


Citing Met Station Data

Hi @teixeirak,
I'm making progress on adding data use and attribution sections to each of the climate data sources, and I wanted to ask you about Met Station data.
Should we copy a more generalized attribution, like is currently the case for HKK?
Or should I aim to stick with the more formal data citation?  If so, my approach would be:

data contacts, as listed in directory metadata sheet, as authors
data title/version as file name?
ForestGEO Climate Data Portal as repository name.
no DOI.

What's your preference?
Take care,
Caly

Sorry for the slow reply! Somehow this one slipped past me. I did end up giving some guidance on this under issue #28.
For now, I'd have to say just cite the repo.  Also, let's put a note saying "Please contact site PIs for names of researchers who should be credited for these data." I don't currently have that list for all the sites.

No worries, @teixeirak, and thanks for this guidance!  I will add the language that you shared here, and I can add PI names/e-mail addresses for the relevant site to facilitate that first level of communication.


Create 0000-01-02-MedinaJ13.md

so far i have created branch, created a file and commit and opened a pull request

pull request


Uploaded mp4 video doesn't play in Safari

Describe the Bug
Upload and attach a video in Safari.  The video doesn't play in Safari but does in Chrome and Firefox.
Steps to Reproduce

Edit a page
Upload a video and attach to the page
Save and try to play the video

Expected Behaviour
The attached video should play in Safari.  I have attached one of the videos we used.
https://github.com/BookStackApp/BookStack/assets/10090006/7ade976d-1cf9-4a7f-adea-eea31e3080ff
Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
We are currently on BookStack v24.02.2, but I don't think it ever worked on any version of Safari.

Hi @yuelu714,
I've just tested this, on both Safari on Mac (17.4.1) and Safari on iPad.
In my tests the video played without issue when embedded via an attachment.
Therefore I've not yet been able to replicate the issue.

Within your BookStack .env file (or environment options if running via a docker solution) do you have any options set that start with STORAGE_?
Does the video show up at all on the page when you get this error? (Do you still see the first frame of the video before play is pressed?)
If you drag the video file direct into the URL bar in Safari, does the video show & play okay for you?

Good to hear they play now! I'll therefore close this off.


[ polar grid ] add readme polar grid remove colcon ignore

Description

add readme polar grid
remove colcon ignore

Remarks
Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.

[x] Read pull request guidelines
[x] Code follows coding guidelines
[x] Assign PR to reviewer

Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code follows coding guidelines
[ ] (Optional) Unit tests have been written for new behavior
[ ] PR title describes the changes

Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.

[ ] All open points are addressed and tracked via issues or tickets
[ ] Write release notes

CI Checks

Build and test for PR / build-and-test-pr: Required to pass before the merge.
Build and test for PR / clang-tidy-pr: NOT required to pass before the merge. It is up to the reviewer(s). Found false positives? See the guidelines.
Check spelling: NOT required to pass before the merge. It is up to the reviewer(s). See here if you want to add some words to the spell check dictionary.

@kenji-miyake
can you tell me if you have any idea why this happends?

@kenji-miyake how can I fix it?

Please replace it with the new valid link or remove it (or comment it out?).


Improve name of "NgtxApi" decorator as this is far too general not stating its purpose

Is this a regression?
No
Description
Find a better name for NgtxApi decorator, as no one will probably understand what it does and when to use.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in
No response
Anything else?
No response

Renamed to @TargetCollection()


Use markdown to link to image, so the published result shows it

The relative paths to link to the image are not the same on the published result to that in GitHub due to our use of implied /index.html when publishing.
This means that to do the right transform, we need to use markdown markup for the linking.
This tests right for me in both cases :)

LGTM - thanks for the fix!

LGTM, thanks!


fix(deps): update icr.io/cpopen/ibm-operator-catalog:v4.16 docker digest to f9d7a87

This PR contains the following updates:

Package
Update
Change

icr.io/cpopen/ibm-operator-catalog
digest
8a11283 -> f9d7a87

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

:tada: This PR is included in version 1.4.30 :tada:
The release is available on:

GitHub release
v1.4.30

Your semantic-release bot :package::rocket:


Optimize Parameters

Meshroom / AliceVision has many parameters for each step. We need to find out which ones are crucial and find some good settings for our application. The focus is on speed, and quality second. Let's try to get the best possible quality within ~20 min compute time.
The most relevant steps to speed up are meshing and texturing.
Read this: https://sketchfab.com/blogs/community/tutorial-meshroom-for-beginners/

Texturing
Subdiv Target Ratio: no change

switching to AliceVision is too much work for now


Ambient light update detection: color vector values not [0,1]

Environment
Windows, ViroCore 1_16, Android Studio 3.4.1, Galaxy S8+ running Android 9.
Description
Hi--
The function ARScene.Listener.onAmbientLightUpdate (lightIntensity: Float, v:Vector)
described here:
https://developer.viromedia.com/virocore/reference/com/viro/core/ARScene.Listener.html#onAmbientLightUpdate(float, com.viro.core.Vector)
specifies values for v (r,g,b) as [0,1].
However, the values in my ARScene appear to be ~1,3, 1.2, and 1.1 (see screenshot).
Is this correct behavior? If I plug the r,g,b values into an AmbientLight or OmniLight in the scene, using mLight!!.color = Color.pack(v.x, v.y, v.z), my rendered objects appear pure black.
Should I alter the values before packing? Should an alpha value be updated?
Reproducible Demo
Use

Thanks,
--Marc

Anybody? :)


Add call for maintainers

Hey I know it's not a huge project but I'd be happy to help out with any other methods or documentation backlog you've been wanting to get through.


Updated developers list for usemango-runner

Description
https://github.com/jenkinsci/usemango-runner-plugin
New developers:
@techtrash
@SubodhBorkar
Please also review the permissions for the existing maintainer @jumpalongjim
Thanks

Submitter checklist for changing permissions

Always

[x] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[ ] Add link to resolved HOSTING issue in description above

For a new permissions file only

[ ] Make sure the file is created in permissions/ directory
[ ] artifactId (pom.xml) is used for name (permissions YAML file).
[ ] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[ ] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] Make sure to @mention the users being added so their GitHub account names are known if they require GitHub merge access (see below).
[x] All newly added users have logged in to Artifactory at least once

Reviewer checklist (not for requesters!)

[ ] Check this if newly added person also needs to be given merge permission to the GitHub repo (please @ the people/person with their GitHub username in this issue as well). If needed, it can be done using an IRC Bot command
[ ] Check that the $pluginId Developers team has Admin permissions while granting the access.
[ ] In the case of plugin adoption, ensure that the Jenkins Jira default assignee is either removed or changed to the new maintainer.
[ ] If security contacts are changed (this includes add/remove), ping the security officer (currently @daniel-beck) in this pull request. If an email contact is changed, wait for approval from the security officer.

There are IRC Bot commands for it

We need approval from ian_bisset for being removed from the list.

@slide Unable to get a hold of ian_bisset. We can leave him in for now, will pick up request for his removal later.
Thanks


Not showing the correct tilt in all orientations

The tilt is not always correct, in some cases when the device has rotated it's not calculated correctly.

Looks like a faulty gyro that was the problem, not code


Draw square and draw custom text during error

Draw square and draw custom text during error.
Hi I have successfully drawn a square in the ZXingScannerFragment.cs, customizing the ZXingOverlayView.cs.
But my issue is the text that is used to display some errors is not drawn timely and also is not drawn when calling Invalidate().
PS: I have overrided also Invalidate() method to check if it actually calls it and it successfully calls but unfortunately the text is not drawn the moment I called Invalidate()
Did I miss something?

Any code example?

Oh I already fixed it.
On Oct 31, 2017 9:28 PM, "Konstantin Chuvilyov"<EMAIL_ADDRESS>wrote:

Any code example?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Redth/ZXing.Net.Mobile/issues/639#issuecomment-340761923,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AeAaJlmI6Fs2GWhg32mYLZg7_UVcQQWHks5sxyCRgaJpZM4QLiGz
.

I will provide information later on. For now for others I just used the PostInvalidateDelayed to the coordinates where the draw should happen.


menu driven cpp BST program

@Yaser-123
binary search tree menu driven program with features like :
insert
delete
position
search
?

@Anuraj-IND
👏 Task assigned to you! Please create a Binary Search Tree (BST) program and include the following menu-driven features:
Insert
Delete
Position
Search
Feel free to ask if you have any questions. Looking forward to your contribution! 🚀

@Yaser-123 done btw you need to accept my pull req first coz there were some bugs in ur file i mean it wasnt well tracked and cloning normally was giving error accept my pull req then ill try to clone it again normal way to check now if its working fine or not


Fixes add test

@ivotron  Somehow some redundant tests crept into ci/test/add. Fixing that in this PR. Sorry for not noticing it before.

thanks for noticing!


Duplicate S3 buckets

While working on https://github.com/artsy/force/issues/1429, I realized we are using 2 different buckets for the JSON pages, one is force-staging/force-production grabbed from the APPLICATION_NAME env var, and the other is using artsy-force-staging/artsy-force-production from the S3_BUCKET env var. I think we are also using the S3_BUCKET for compiled assets.
Note that the force-staging/force-production bucket was under<EMAIL_ADDRESS>so an IAM user might not see the bucket.
cc @craigspaeth.

I fixed a similar issue in this PR but it looks like we still do this for partnership pages. I'm going to look into consolidating this on the JSON page component.


Catching Missing Translation File Error

I'm submitting a ...  (check one with "x")
[ ] bug report => check the FAQ and search github for a similar issue or PR before submitting
[x] support request => check the FAQ and search github for a similar issue before submitting
[ ] feature request

Current behavior
When translation file is missing, a console log is thrown reporting file not found error.
Expected/desired behavior
I want to be able to catch this error and process this in a callback handler.
Reproduction of the problem
http://plnkr.co/edit/ftorfSr6MSksHL93LLbN?p=preview,
Here I set the translate.use('Martian') to fetch a non-existing language file. If you pull up the console log you will see martian.json not found error.
What is the expected behavior?
I tried to use try... catch and .catch() on translate.use() but both failed. the try ... catch doesn't catch the thrown error. I tried to .catch() it but output doesn't make any sense to me. Running out of ideas.
What is the motivation / use case for changing the behavior?
To keep console.log clean.
Please tell us about your environment:
Mac OS Yosemite

ngx-translate version: x.x.x
from packages.json:
"@ngx-translate/core": "6.0.0",
"@ngx-translate/http-loader": "0.0.3",

Angular version: 2.x.x
2.4.8

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Test in Chrome only so far

I also had this problem. The temporary workaround was to use translate.getTranslation() instead, which doesn't swallow the error.


Azure Redis Cache - Managed Identity

We are planning to use Azure Redis Cache using managed identity feature.
I am unable to find the official documentation for implementing the same programmatically (using C#).
Moreover, Azure portal indicate this feature is in preview.
Could please help us on this?

Hello @pradeepkumarms
Thanks for reaching out to us , but at this time it does not look like you are referring to a document but to a specific scenario . If that's the case we request you to please post your question on Microsoft Q&A and other forums , we have our engineers and others who are monitoring them and will be happy to help .
If you have a document which you are following and if you think it needs  an update , please let us know about that here .


Support input type payload for timing strategy

As part of timing strategy, this PR adds a new type for --input-file arg.
With this change, user can set --input-file=payload:"path-to-timing-file" to pass the file that has request level timing information.
In the input file, users can set the time at which request should be sent.
For example, {"timestamp":"1"} will send request at 1 second.

Should this be targeting a feature branch or is this the whole feature? Also, could you update the branch off of main?

@dyastremsky Yep sorry, should base off of a feature branch. Thanks for catching that.


KA-3: [node sample] Added error handling

https://sandbox.tradeshift.com/#/apps/Kind.nodesample/
Error handling tab

Had some issues with the new GitHub review system, sorry about that @Fleeck. You should be able to see all my comments now on your several PRs. Thanks again.

Once PR feedback is addressed, 👍

Updated & squashed. Merging now.


why my postgres DB show the "unknown ^UNKNOWN_DB" ? how to slove it ? please help me.

JDK use 1.8
pinpoint use 1.5.2
when i have change the postgres jdbc driver   postgresql-9.4.1208.jre7.jar , nothing DB can show the pages, postgresql-9.1-901.jdbc4.jar and postgresql-9.1-901.jdbc.jar  that the page show  unknown ^UNKNOWN_DB , thinks a lot ..

Hi magicdogs,
I think #1678 is related to what you're experiencing, but I don't think a fix was ever merged.
To clarify, could you which of the postgres jdbc versions are not working (postgresql-9.4.1208.jre7.jar', postgresql-9.1-901.jdbc4.jar, postgresql-9.1-901.jdbc.jar)?
Or are all of them not working?

think for your help , I've change the postgre-driver(postgresql-9.3-1103.jdbc4.jar) , the problem have gone ,

today , i have testd the postgresql driver (postgresql-9.4.1208.jar) and  the main window can't show anything DBMS infomation , so i have rewrote the plugins  accroding to the source , just add some code can slove it ;
just add transform
org.postgresql.jdbc.PgConnection
org.postgresql.jdbc.PgPreparedStatement
:)

Oh awesome, would you like to make a pull request and get your fix merged?


Amazon S3 listing parts of multipart upload failed with 404

What happened?
When running Guardian against a real life cluster this warning message appeared
[WARN ] 15:54:57.878 BackupClient - Failed to upload a chunk into S3 with bucket: guardian-presentation, key: 2022-02-02T20:55:00Z.json, uploadId: 2QL6vb8QzqmelRBByFJUA8vyu.0ZI03luwyWp4_mLIEqvNp4gf2lCVoaptHPU6c6G2wPK8mjn4h6e4RNlLFAfxqCr.Lez_zISoIBCeV8m1HjplKFf9FBesIeCSqjPwl9 and partNumber: 1
java.lang.RuntimeException: Upload part 1 request failed. Response header: (HttpResponse(404 Not Found,List(x-amz-request-id: SRXG6WA7MJ406J0N, x-amz-id-2: Ran4EsJJ23uuehA8GS9j5KNDx8ap7NBjoW1W02wTPjTeWv8TmkcgwLXTcpEipTsxD14Ra9jI580=, Date: Thu, 31 Mar 2022 13:54:57 GMT, Server: AmazonS3, Connection: close),HttpEntity.Chunked(application/xml),HttpProtocol(HTTP/1.1))), response body: (<?xml version="1.0" encoding="UTF-8"?>
<Error>NoSuchUpload<Message>The specified upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed.</Message><UploadId>2QL6vb8QzqmelRBByFJUA8vyu.0ZI03luwyWp4_mLIEqvNp4gf2lCVoaptHPU6c6G2wPK8mjn4h6e4RNlLFAfxqCr.Lez_zISoIBCeV8m1HjplKFf9FBesIeCSqjPwl9</UploadId><RequestId>SRXG6WA7MJ406J0N</RequestId><HostId>Ran4EsJJ23uuehA8GS9j5KNDx8ap7NBjoW1W02wTPjTeWv8TmkcgwLXTcpEipTsxD14Ra9jI580=</HostId></Error>).
        at akka.stream.alpakka.s3.impl.S3Stream$.$anonfun$handleChunkResponse$1(S3Stream.scala:1306)
        at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:467)
        at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:63)
        at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:100)
        at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
        at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:94)
        at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:100)
        at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:49)
        at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:48)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

What did you expect to happen?
This request should automatically be retried, preferably with an exponential backoff.
What else do we need to know?
Its somewhat likely that S3 may be returning the wrong kind of error and in fact this might be due to too many requests and/or some weird case of eventual consistency. This is due to the fact that this tool was being run against a Kafka cluster that had millions of unconsumed records so Guardian was pulling as many Kafka records as it could handle.

So I just had another look at this and it appears that the problem is in fact some sought of concurrency issue, if you look at the entire log at https://gist.github.com/mdedetrich/2696df1be244b571596bc78150a9f9d6 then you can see there are multiple instances of key: 2022-02-02T20:55:00Z.json being printed so this warrants further investigation.


fix #48 isolated auth logic from app

🛠 Fixes #48
Related Issue/Addition to code

create Auth component
created user context to make logged user available globally

👨💻 What's being changed:

added auth component and user context

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

You are right, i replaced the empty file from /src and moved the logo back to the header. but I think our code has an issue in useFlash hook. i tried putting  back in app.jsx but it is not fetching the updated flash message from the state declared in useFlash, you can try deleting the post then you will see the flash message doesn't appear.
i think we can fix this using context because it shares a global state.

I don't see the new changes I requested in PR! Please have a look.
And as for the bug related to Flash messages, I think I'd like to work on it as I am new to Context and Custom Hooks so I want to get some practice with it. Though thanks a lot for being interested in it😊

hey, i have committed the changes you asked for please have a look. we also need to remove all currentUser I guess, because we now have a user in a global context so we can easily use it anywhere in place of currentUser,you can also delete the currentUser props from everywhere.
For reference please have a look at the this link. here I have created a fully functional flash and user flow using context and a custom hook. Hope this will help you in fixing the flash message bug.
Hope this helps. and sorry for making it a little complicated.

For reference please have a look at the this link.

And yeah thanks for this link, it will be helpful if I get stuck implementing context!😊


OrphanRemoval does not work when clearing uninitialized collection

Having Document A and B: A has ReferenceMany to B and orphanRemoval=true.

When I fetch A
Clear its ref-collection to B
Persist A

Then B items remain in the database, because the collection was not initialized so its referenced documents (B) are NOT scheduled for orphan removal:
link

if ($this->initialized && $this->isEmpty()) {
    return;
}

$this->isEmpty() invokes initialization. (see count method).
Did you by any chance forgot to actually flush the manager?

No. It is an existing bug. See, if it is not initialized, $this->isEmpty() will never be invoked. Just ensured with debugger, but it is obvious it does not.

@akomm thanks for the report! Any chance you could hack together a failing test case? It'd help a lot :)

Done

Fixes have been merged in #1498 and #1500 - closing this.


Please invite me to the Jec-Forge GitHub Community Organization

Name
Raviranjan Kumar Singh
Discord Username (if applicable)
raviranjankumarsingh
Additional Context
I want to be a member of this community.
Record

[X] Yes, I am from JEC.
[ ] I complete my Graduation from JEC.
[X] I'm a Web Developer.
[ ] I'm a Flutter Developer.
[ ] I'm a DevOps Engineer.
[ ] Cyber Security Expert
[ ] I'm not from JEC, but I want to join the organization for interaction and collaboration.

Invitation sent to join the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see. You can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/Jec-Forge/people


Constant errors like this: An unexpected noise weight was encountered at prompt

So I'm currently not even using Neutral Prompt, but I constantly get these kinds of errors in the console:
An unexpected noise weight was encountered at prompt #0
Expected :0.4, but got :1.0
This is likely due to another extension also monkey patching the webui noise blending function
Probably related to ADetailer, but why are these popping up since I'm not using Neutral Prompt..
Thanks!

These are warnings, you can safely ignore the messages when not using any feature of the extension. These are mostly useful for debugging, I'll add a checkbox to toggle verbose messages.

Okay, thanks for the headsup!

Added a checkbox to not print warnings by default. Enable it if you want to tradeoff console logs clutter for feedback on accuracy of prompt tree mapping


What' s new 1.8 updates

Updates to the what's new document for Iris v1.8.0 including a showcase sub-section at the top of the features section of the document.
While this might be my commit, the work here is really only a tidy of the sterling work that @lbdreyer (#1578) and @bjlittle (#1580) first undertook.

Good job @dkillick :+1:


NPC names not colour-formatted with "&" in objective completion messages

What is your Quests version / build number (do not say "latest")?
4.0.4
Describe the problem and how to replicate it. Any console errors to post using a pastebin?
If an NPC has a coloured name, Quests does not format it 100% of the time. The only case I've come across is inside objective completion messages. An example is shown in this screenshot:

If applicable, can you provide an example quest from quests.yml using a pastebin?
N/A

Quests does not format NPC names; that task falls on Citizens. However, my testing shows that Citizens automatically converts &e to §e when creating a NPC in-game. Make sure your saves.yml file is in UTF-8 encoding and manually correct any such instances. Starting a string with & can have unexpected consequences as it is considered an anchor symbol in YAML files.

Quests does not format NPC names; that task falls on Citizens. However, my testing shows that Citizens automatically converts &e to §e when creating a NPC in-game. Make sure your saves.yml file is in UTF-8 encoding and manually correct any such instances. Starting a string with & can have unexpected consequences as it is considered an anchor symbol in YAML files.

I get what you're saying. However, my issue is that I manually go into saves.yml and change the "§" symbol to "&".
The reason I do this is because on my server, I have a scoreboard feature enabled that shows players' health above their heads as you can see in this screenshot:

When creating an NPC, they also have this, and I don't want it to be the case:

As well as this, if the NPC name matches that of an actual Minecraft account, if they have a cape, the cape will show, and I don't want that to be the case either.
I have no idea why, but I've figured out that using the "&" symbol instead of "§" in their names fixes both of these issues. Hence why I use it. I understand that it is a bit of a duct tape solution, but I can't think of anything else.

However, my issue is that I manually go into saves.yml and change the "§" symbol to "&".

That is likely not supported by Citizens. Seek help from its developers at https://github.com/CitizensDev/Citizens2


Lightline git status icons

This is more so a question rather than an issue since I cant find any documentation on how to do this but airline allows you to display git icons for how many files have been modified, deleted, and added and also displays an branch icon. Is this doable with lightline?
Below is an example of how my airline looks like right now

https://github.com/itchyny/lightline.vim/blob/d77c94f2152cca6f8ce461150936d8456088a3f4/doc/lightline.txt#L306-L326


Feature: basicAuth Helper is added

Issue #11 Solved.
I have added the basicAuth Helper and written the documentation for it.
Thank you.

Hey @prince-noman, I'll push some changes to the branch and get this merged 🫶

@notrab ,  🤩 Great to see that it is merged and the code refactoring looks just fine. 🙌


Add c sharp support

Hello! 👋
This PR adds support for C# Programming Language.

Thanks for doing this @gokul-the-dev! There was a recent change with the structure of the code and now the boilerplates go in their own folder. Would you be able to take a look and see if you can implement changes to resolve conflicts?

I'll hold off on releasing v0.11.0 for a bit to see if we can get this in prior to that 🙂

@DamianRivas I have made changes based on the modified structure. Please take a review when you get time

Thank you 🎉


fix: skip early error check for ts definition

fix: #214

Thank you for the PR!
Does it make sense to not check .d.ts at all? We can filter it out if this is the case.
https://github.com/Boshen/oxc/blob/3e3cbec1a8a303bae90d71dc79c425958f85d70e/crates/oxc_cli/src/lint/runner.rs#L120-L123

Thank you for sponsoring as well! Much appreciated 😁

Thank you for sponsoring as well! Much appreciated 😁

I really enjoy your JavaScript parser tutorial and I admire your selflessness in contributing to open source community and helping others without expecting anything in return. You are a role model for me!

Does it make sense to not check .d.ts at all

Maybe people create global.d.ts for global scope:
interface myLib {
  arr: Array<string>;
       ^^^ Array type using 'Array<string>' is forbidden. Use 'string[]' instead.
}

Playground

Does it make sense to not check .d.ts at all

Maybe people create global.d.ts for global scope:
interface myLib {
  arr: Array<string>;
       ^^^ Array type using 'Array<string>' is forbidden. Use 'string[]' instead.
}

Playground

Ok, let's merge and see how this turns out. Can you rebase to get the CI going?

Thank you for your first contribution!