Implements get_foreign_keys with SHOW CONSTRAINTS

Implementation of the get_foreign_keys method using SHOW CONSTRAINTS.
Note on the referred schema: I don't know if it may appear in the
Details column of SHOW CONSTRAINT, e.g., by prefixing the referred
table name. I assume not, so the regexp doesn't try to match it.
The implementation uses row.Type.startswith("FOREIGN KEY") to filter
rows that contains foreign key constraints. It uses the startswith
method to consider UNVALIDATED foreign keys. If UNVALIDATED foreign
keys should not be considered, then the implementation may use string
equality instead.
Tested with CockroachDB  1.1.2

Thanks! The code looks good to me, but it looks like our CI configuration for this repo has gotten messed up; I'm looking into it.
I don't think the table name in the details column will ever get prefixed with a schema name, but this is probably a bug on our side. I think there's also a way to get this same information from the (standard) information_schema tables as well. Using these tables tends to require more complicated SQL queries but less string parsing.

I think there's also a way to get this same information from the (standard) information_schema tables as well.  Using these tables tends to require more complicated SQL queries but less string parsing.

It sounds a better idea. Relying on regexp may be fallible since SHOW CONSTRAINTS is marked as under development.


Select new tile as foreground when editor closes

Fixes https://github.com/microsoft/pxt-arcade/issues/2381
This one goes out to @jwunderl

Also fixes https://github.com/microsoft/pxt-arcade/issues/1634


fix: ff onboarding route

Try out this version of the Hiro Wallet - download extension builds.

Hopefully this is a better solution for hitting the right route while waiting for the VaultLoader to set the wallet state. There is a method we can export from the vault to check if hasSetPassword is true/false in local storage, so if that is false we can route the user to onboarding rather than home as the first index. This seems to work in both Chrome and FF, and in both full page and popup view modes.
cc/ @kyranjamie @beguene

Had to add some delays here in the integration tests to get them to pass. One was for switching accounts which I know just had changes merged.


[wrangler dev] HTTP status client error (400 Bad Request)

🐛 Bug Report
Environment

operating system:

Darwin xxxxx 19.6.0 Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6<IP_ADDRESS>~1/RELEASE_X86_64 x86_64

output of rustc -V: Not available
output of node -v: v15.3.0
output of wrangler -V: wrangler 1.12.2
contents of wrangler.toml:

type = "javascript"
account_id = "78ab5493f4bafb4b7b027542995bb87d"
workers_dev = false
route = "httpbin.chriswang.me/anything/wrangler"
zone_id = "2a0086b5c6e89ce13797f1af8c8fa88a"

Steps to reproduce
Run  wrangler dev
What did you expect to see?
What's described in the blog post
What did you see instead?
$ wrangler dev
Error: HTTP status client error (400 Bad Request) for url (https://chriswang.me/cdn-cgi/workers/preview/?s0=AfHYCyYtW01NMCmfbyLEEQ__pEX_5IXQjlCWo5pLoB06J0hYK8Mim0aocaUyLAPOOVlAQtHsT8yJwMh7B-FJ2L8obFpEKOXk3hTtfkZH53CmGv-OhnS8tFsS_d7PUNRhOgFaS0i4vzu6yiD1AJ9NUf31Aa_jQbq_7WRgSYwYroYDozTal-tF4ncVKRH4Do63KZrtq8lr9H2yLXgqvoBtqnOWpEb_envUse9PdDNQnr-DtWFXC2OUnm4_6biNLUtZP-rYbGXJoHICixMg_v-SLJs)

In contrast, wrangler preview works as expected.
$ wrangler preview
💁  Opened a link in your default browser: https://cloudflareworkers.com/?hide_editor#1d64ed6f85411b047b005ac33f8edc74:https://example.com/
👷  Your Worker responded with: Hello worker!

The issue persists on the latest verison.
wrangler -V
👷 ✨  wrangler 1.12.3

I was able to work around this by deleting ~/.wrangler/config

I was able to work around this by deleting ~/.wrangler/config

Thanks. I just tried. Unfortunately,  deleting ~/.wrangler/config did not help with my case.

Thanks. I just tried. Unfortunately,  deleting ~/.wrangler/config did not help with my case.

I faced the exact same problem after adding my root domain to Cloudflare Pages as custom domain. Deleting ~/.wrangler/config did not fix the problem.

me too

OK, I got a solution. The command wrangler dev --host=localhost  works.

Same issue here using localhost works but that doesn't let me use the KV-store so not really an option

Had the same issue. Spent hours & hours debugging and re-doing login etc when in practice this line broke it in a file where it's used exactly the same in another
const DataAPI = require('./data');

FWIW seems to be a cloudflare network issue. The edge preview not available.
wrangler dev --host=localhost also does not use authentication, so things like secrets and KV not working.
Basically, come back in 5 minutes. Working intermittently for me RN.

Changing type = javascript to type = webpack in wrangler.toml fixed this issue for me

In my case, the worker route is configured at a subdomain (jsonp.afeld.me), while my second-level domain (afeld.me) is configured to be DNS only. wrangler dev tries to access access https://afeld.me/cdn-cgi/workers/preview/?..., which then gives a 404 from my [second-level domain] hosting provider. Two workarounds:

Running wrangler dev --unauthenticated

Re-enabling *.wrangler.dev and moving my route configuration in the wrangler.toml under an environment, like so:
workers_dev = true

[env.production]
route = "jsonp.afeld.me/*"


[domaintools/dnsdb] add new connector

Add a connector to enrich domain-name and IPv4-addr using domaintools and dnsdb api.
dnsdb records are also saved inside ES with all the historic. In OpenCTI, only the first and last ever seen date are saved (current limitation of OpenCTI).
Proposed changes

Add domaintools and dnsdb enrichment.

Related issues

N/A

Checklist

[x] I consider the submitted work as finished
[x] I tested the code for its functionality using different use cases
[ ] I added/update the relevant documentation (either on github or on notion)
[ ] Where necessary I refactored code to improve the overall quality

Further comments

This connector should be in external-import folder, no ?

This connector should be in external-import folder, no ?

I don't think so, since it is only triggered on enrichment. For me, it is the same principle as with virustotal or the dt-lookup connector.


#146 added stateRegion to ContactData as an option for Addresses

Summary

Adds stateRegion as an attribute to ContactData.cs for use in generating meCard/vCard payloads that include the State or Region values for Address.
Additionally, reorganized houseNumber and street to more closely follow the <houseNumber> <street> convention for addresses.
This PR fixes/implements the following bugs/features:

[x] Feature #146 (vCard State)
[x] Bug - houseNumber and street backwards

What existing problem does the pull request solve?
Adds State or Region as an option when generating a Payload for vCard/meCard
Fixes issue with House Number and Street being backwards in the payload

Test plan
vCard
Using this code to generate a payload
 var vCard = new ContactData(ContactData.ContactOutputType.VCard3, "John", "Smith", "Johnny", "1234567890",
                "1234567890", "1234567890"<EMAIL_ADDRESS>DateTime.Now, "www.google.com", "Pennsylvania Avenue NW", "1600",
                "Washington", "20500", "DC", "US", "this is a test");

Generates the following payload:
BEGIN:VCARD
VERSION:3.0
N:Smith;John;;;
FN:John Smith
TEL;TYPE=HOME,VOICE:1234567890
TEL;TYPE=HOME,CELL:1234567890
TEL;TYPE=WORK,VOICE:1234567890
ADR;TYPE=HOME,PREF:;;1600 Pennsylvania Avenue NW ;Washington;20500;DC;US
BDAY:20181028
URL:www.google.com
<EMAIL_ADDRESS>NOTE:this is a test
NICKNAME:Johnny
END:VCARD

meCard
Using this call:
var meCard = new ContactData(ContactData.ContactOutputType.MeCard, "John", "Smith", "Johnny", "1234567890",
                "1234567890", "1234567890"<EMAIL_ADDRESS>DateTime.Now, "www.google.com", "Pennsylvania Avenue NW", "1600",
                "Washington", "20500", "DC", "US", "this is a test");

Generates this payload:
MECARD+
N:Smith, John
TEL:1234567890
TEL:1234567890
TEL:1234567890
<EMAIL_ADDRESS>NOTE:this is a test
BDAY:20181028
ADR:,,1600 Pennsylvania Avenue NW ,Washington,20500,DC,US
URL:www.google.com
NICKNAME:Johnny

Importing the vCard case into Google contacts:

Closing issues

closes #146

Hi @DevonJSmith,
thanks for you help. I really like to merge the state/region change, but before I do so, let's talk about the second change (street-housenumber) order. I get your point in re-ordering both values, but this makes only sense for American users.
In Germany (my homeland) as in most other European countries the housenumber is written after the street's name. e.g.

John Doe
Königsallee 1
40210 Düsseldorf
Germany

So I see there no fixed solution that works for all. What do you think about adding an additional switch/flag (either bool or enum) parameter to the method, which allows the users to choose for European/American address type? Would you mind adding it to this PR?

IMHO, I think that implementing an option for region could be a good thing, as long as it is optional to use. Region is not used everywhere.
Regarding the street number and address sequnce, I agree with @codebude. European countries uses the notation of streetname and then housenumber. Perhaps an option to choose wich notion to use could be a good idea?
No where in the vCard spec. does it say in which order this MUST be: https://tools.ietf.org/html/rfc6350

@codebude Thank you for the feedback! I apologize for not considering the European address formats when making this change. Obviously the research I did into it skimmed over this fact (it may be possible to mail to an address from North America using the [number] [streetname] format, but that is not necessarily what is used within each European country).
Additionally, I see from my research and your example that the ZipCode and City are also transposed.
I think that an enum to specify the address format would be sufficient. I'll work some more on this PR.
@Ruffio , the Region variable is indeed optional, but I do apologize for my ignorance in asserting there was a singular address convention. I will amend my PR to reflect the dynamic nature of address formats.

@codebude if I do add this enum switch to specify European/American address format, this parameter will  likely need to be optional (in order to be consistent with the rest of the address fields.) If this value is optional, which format should be "default"?
I don't want to be presumptuous and assume that the NA address format should be default, but I suppose it depends on what the expected behavior is among the intended audience of this project. I'm interested in hearing yours and others opinions on this.

I've amended the PR. I've added an AddressOrder enum to switch between address orders as discussed above. Here's a few examples of how these calls might work (I've also moved stateRegion to the end of the constructor to avoid impacting existing function calls).
Default Order
var defaultPayload = new ContactData(ContactData.ContactOutputType.VCard3, "John", "Smith",
                "Johnny", "1234567890", "1234567890", "1234567890"<EMAIL_ADDRESS>DateTime.Now, "www.google.com",
                "Pennsylvania Ave NW", "1600", "Washington", "20500", "US", "This is a note", "DC", ContactData.AddressOrder.Default).ToString();

Output
BEGIN:VCARD\r\nVERSION:3.0\r\nN:Smith;John;;;\r\nFN:John Smith\r\nTEL;TYPE=HOME,VOICE:1234567890\r\nTEL;TYPE=HOME,CELL:1234567890\r\nTEL;TYPE=WORK,VOICE:1234567890\r\nADR;TYPE=HOME,PREF:;;Pennsylvania Ave NW  1600;20500;Washington;DC;US\r\nBDAY:20181111\r\nURL:www.google.com\r\nEMAIL:johns@test.com\r\nNOTE:This is a note\r\nNICKNAME:Johnny\r\nEND:VCARD
Reversed Order
var reversedPayload = new ContactData(ContactData.ContactOutputType.VCard3, "John", "Smith",
                "Johnny", "1234567890", "1234567890", "1234567890"<EMAIL_ADDRESS>DateTime.Now, "www.google.com",
                "Pennsylvania Ave NW", "1600", "Washington", "20500", "US", "This is a note", "DC", ContactData.AddressOrder.Reversed).ToString();

Output
BEGIN:VCARD\r\nVERSION:3.0\r\nN:Smith;John;;;\r\nFN:John Smith\r\nTEL;TYPE=HOME,VOICE:1234567890\r\nTEL;TYPE=HOME,CELL:1234567890\r\nTEL;TYPE=WORK,VOICE:1234567890\r\nADR;TYPE=HOME,PREF:;;1600 Pennsylvania Ave NW ;Washington;DC;20500;US\r\nBDAY:20181111\r\nURL:www.google.com\r\nEMAIL:johns@test.com\r\nNOTE:This is a note\r\nNICKNAME:Johnny\r\nEND:VCARD
If this PR is accepted, we also need to make sure to update the corresponding documentation over at the Wiki (I would be happy to take care of that if needed).
Please let me know if any additional adjustments are needed.

This looks really good. Thanks for your help! I'll merge your changes now.
Regarding the documentation - feel free to update it. If you won't find time for it, let me know. Latest next weekend I'll update it on myself.

@DevonJSmith - I think this is the only place in the Wiki, where changes have to be done: https://github.com/codebude/QRCoder/wiki/Advanced-usage---Payload-generators#35-contactdata-mecardvcard

@codebude I have added the two new parameters to that section. Please let me know if you would like any additions or further clarification!


software package

Any help with this?
Trying to install package, using LuCI Master (git-18.096.73721-9304042)
Need this to get info of each IP connected, data use etc.
Collected errors:

satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-nlbwmon:
kernel (= 4.9.91-1-32f977e15ddea593ee4fcb1dca2e5862) * 	kernel (= 4.9.91-1-32f977e15ddea593ee4fcb1dca2e5862) *
opkg_install_cmd: Cannot install package luci-app-nlbwmon.

Please see here: https://openwrt.org/faq/after_installation#cannot_satisfy_dependencies
In practise if you need custom kernel modules for your snapshot, you need to compile the whole kernel/firmware at the same time. Or use the latest release ...

fixed the problem.
updated my snapshot and installed latest luci .
everything ok now


Can i use aqueduct 3.0 in production?

Hi joe!
I recently started playing with flutter and i want to build a REST API with dart 2 . I was wondering if I could use this in production (aqueduct 3.0).
I really liked this framework.  Looks powerful and easy to use.

Not yet. A beta will be published to pub.dartlang.org when Dart 2 fully supports Aqueduct 3, and vice versa.

I install aqueduct 3.0.0-beta.1 and Dart VM version: 2.0.0-dev.68.0. So how can switch to aqueduct 2.5

3.0 has been deployed to beta channel on pub, and there are no further breaking changes planned before release, and dart 2 integration is complete.


Fix git blame ignore for GitHub

Current GitHub blame doesn't work.

Seem like a full commit hash is needed to play well with GitHub.

coverage: 91.209%. remained the same
when pulling de6cfd65ad6ced092a68616c1885aeca6952ce40 on wusatosi:blame-fix
into 5765b9db1487d836c25a5da22ef6465916ccecfb on bemanproject:main.


Hourly Rebuild of site

I have added the do not merge label to this so we do not waste our github action minutes on rebuilding the development site, this branch should be merged in before we hand over the project to The Lemon Press


Hangs after return from sleep in macOS

After return from sleep in macOS, app is not responsive, no sound, no activity. Only way to exit is killall somafm mplayer

Can you quit by pressing q or ctrl/cmd+c?
Does it also happen when you start mplayer or mpv directly?
$ mplayer http://ice1.somafm.com/groovesalad-256-mp3

After sleep mplayer resume playback.
In new somafm version hang is gone, after sleep it will play fragment from before sleep until cache is empty and quit.

Nope, still here, had to killall -9 mplayer

надо дебажить, у меня не получилось воспроизвести :(


Unusuably slow transitions on Android

Even after applying the idea from https://github.com/facebook/react-native/issues/1953 I'm seeing transitions between two screens more or less lock up my device and the simulator in an in-between state for 2 or 3 seconds while JS FPS drops to -2. Is there anything I can be doing to better understand what's going on?  One of the screens has multiple images and ScrollViews, but really isn't that complicated. This code runs great on iOS.

(FWIW, the initial screen is also pretty slow in even showing the highlight indicating the touch registered.)

Are you debugging in the Chrome debugger? Animations have been alright on JSC.

No, this is running a compiled bundle not attached to Chrome.
On Fri, Sep 25, 2015 at 7:11 PM James Ide<EMAIL_ADDRESS>wrote:

Are you debugging in the Chrome debugger? Animations have been alright on
JSC.
—
Reply to this email directly or view it on GitHub
https://github.com/facebook/react-native/issues/3049#issuecomment-143391389
.

Try ?dev=false which helps a lot. We've been testing with some older Android phones (Nexus 5) and have been getting OK animation performance.

You're right, that's much better! It's a still a little slow, though, is
there hope of it getting better? I have a first gen moto x, but most apps
runs smoothly on it.
On Fri, Sep 25, 2015 at 7:36 PM James Ide<EMAIL_ADDRESS>wrote:

Try ?dev=false which helps a lot. We've been testing with some older
Android phones (Nexus 5) and have been getting OK animation performance.
—
Reply to this email directly or view it on GitHub
https://github.com/facebook/react-native/issues/3049#issuecomment-143392487
.

There are longer-term plans to delegate some of the Animated code to the native layer, and there's one more level of the JIT compiler we may be able to turn on. The prop checks are also a big drain so there could be different tiers of dev mode. The animation demo on the UIExplorer doesn't run well on an iPod touch 5th gen / iPhone 4s either FWIW so we've been targeting mostly newer devices 1-2 yrs old.

The lockups usually happen when with navigator screen transitions, as react is rendering the new screen while the animation is happening.
I worked around it by having intializing the new screen with empty data and showing only a spinner. So it doesn't have to render much.
Then the component is initialized with data using InteractionManager.runAfterInteraction, which defers it. The animations are pretty good when I use them this way.
I'm on a Moto G 3 and development mode is on.
Here is a link to the component - https://github.com/scrollback/io.scrollback.neighbor/blob/master/views/discussions-controller.js
It's all temporary code there, but the approach will be the same.

@satya164 is spot on. Until we get Navigator transitions running on the main thread (probably not ready in the near future), this is the recommended practice - and even when that is done, you might want to still use this approach.

You can also try using renderToHardwareTextureAndroid: true on the screens (top level Views within Navigator) you're navigating between (and false afterwards) in case it's the GPU being overloaded. Otherwise I'd need to see a systrace to figure out where the bottleneck is -- unfortunately, we haven't created docs for how to capture these yet, I'll create an issue for that.

Just adding to the conversation... Animations using react-tween-state are seamless in Android. Not sure if they can be used in Navigator though

I'm having the same issues. The UI is crisp in general, but there's huge lag whenever there is a change of scene involved. I noticed no FPS drops, in the debugger. @kushal @satya164 @brentvatne any help?
I tried the InteractionManager method. Still no improvement.

@sankhadeeproy007 InteractionManager improved it for me a lot, and after turning of dev mode, there is no lag at all. Are you sure you're not doing any work in the JavaScript thread while the transition is happening?

@satya164 Fixed. Actually there was nesting of Navigators in my earlier code. A slight refactor made things smooth. Both on the emulator as well as my device. Thanks.

Even using the InteractionManager, dev mode off, nearly no content on render and single Navigator I still have a 1sec lock between transitions on Android testing with a Nexus 5.
I know it sounds not significant but I think it is, takes a lot off the native user experience that is what react-native is all about.
I will downgrade to older version to get the other transitions (#3669), maybe other things that are not a fade can be better to smooth the problem visually.

I'm having a similar problem with the transitions between scenes pretty much making my app unresponsive. On another note, I get a blank white screen on my Android emulator when I load it up, it's only when I debug in Chrome that my app actually displays anything, is this normal behaviour?

Again, make sure you're running with dev mode off. The build in Navigator (if you're not nesting them ;) ) should work well. If not, I have just published https://facebook.github.io/react-native/docs/android-ui-performance.html which gives some steps for debugging android UI issues in react native.

Thanks I'll have a read through that. How do I find the application logs file to turn off dev mode?

Use adb logcat to print the application logs.

Mark...

I'm also bitten by this. RN 1.6 on android, Dev-mode and debugging of but perf monitor on I see JS-FPS drop to -2 (!) when transitioning between two scenes with Navigator. It's superslow.. and it also kind of feels like it's getting slower the longer I test back and forth between 2 scenes. I'm testing on the first nexus 5 which isn't a slouch.

I've got similar problem and I've written more about it @ https://github.com/facebook/react-native/issues/4666#issuecomment-170015141
tl;dr:

debug mode off
release build
navigator is used for transitions
changing view takes from 4 to 10 seconds or sometimes just hangs.
android
no heavy computations while I'm changing the view, basically just a request to API

Thank in advance, much appreciated! :heart:

Anyone here using redux-logger should make sure it is disabled on dev=false builds.

omg, that was it! THANK YOU @tomauty :heart: :heart: :heart_eyes: :dancer:

I was hoping that would fix it for someone :) There was some discussion about it in December, but nothing came of it. Either a memory issue due to not being able to GC logged objects, or something about the formatters it uses. In any case, cheers!

@tomauty that also fixed issues on our end here, too. Nice thinking!

@arathunku :+1: AWESOME

@tomauty 🍻  this made my day

Are transition animations still being calculated on the JS thread for Android?
Apparently for iOS the animation were moved to the native thread in 0.29.0:

Add support for native animations on iOS (19e2388) - @buba447

But, the summary of that commit says:

This ports animations over to the native thread and performs them natively. A lot of this work has already been done on Android, but this PR enables a few animation nodes that Android doesn't yet support such as Transform, Multiplication, and Addition nodes.

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/unusuably-slow-transitions-on-android
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub. GitHub issues have voting too, nevertheless
Product Pains has been very useful in highlighting the top bugs and feature requests:
https://productpains.com/product/react-native?tab=top
Also, if this issue is a bug, please consider sending a pull request with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.

Turning off the remote js debugging worked for me.

Any suggestions if it's slow in production?

Check you are not doing any unnecessary debugging. Youcan use the DEV flag to prevent debugging in production

With:

no console.logs
production mode, on a real device
using InteractionManager
low quality images

Still getting the drops to JS: -2.0 fps on transitions on Perf Monitor.
My systrace:

No idea why this is so hard to find but https://reactnavigation.org/ seems to be the new official navigator, which also uses native animations for transitions. Just started using it the other day but I'm happy with it so far.

@Jickelsen The only thing holding me back from using this is passing initialProps to the Navigator and then to the first scene, which is super important for our workflow.

I'm still getting mega-slow navigation transition animations on a physical android device running RN0.42.
Tried turing off dev mode, which did improve it slightly but not much.  Any other suggestions?

@npomfret yes, this issue is really bigger than I thought.
My version is 0.43.3 and it's extremely slow as well as dropping fps while transition with animation.
I also tested with Navigator (from react-native), react-native-router-flux, wix/react-native-navigation and even facebook-community/react-navigation.
The issue's still there. :(

Just to add, I was running the app over wifi. I switched it to USB by running adb reverse tcp:8081 tcp:8081 and the navigator transitions work great now. Don't know how wifi was causing issue


Support dependencies and remote registration in the typescript SDK.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @damccorm

Run Python PreCommit

I suspect that the change to pipeline options here broke Python load tests. First failure is here: https://ci-beam.apache.org/job/beam_LoadTests_Python_ParDo_Dataflow_Streaming/659/
With error log:
06:01:37 usage: pardo_test.py [-h] [--runner RUNNER] [--streaming]
06:01:37                      [--resource_hint RESOURCE_HINTS]
06:01:37                      [--beam_services BEAM_SERVICES]
06:01:37                      [--type_check_strictness {ALL_REQUIRED,DEFAULT_TO_ANY}]
06:01:37                      [--type_check_additional TYPE_CHECK_ADDITIONAL]
06:01:37                      [--no_pipeline_type_check] [--runtime_type_check]
...
06:01:37                      [--iterations ITERATIONS]
06:01:37                      [--number_of_counter_operations NUMBER_OF_COUNTER_OPERATIONS]
06:01:37                      [--number_of_counters=0 NUMBER_OF_COUNTERS=0]
06:01:37 pardo_test.py: error: argument --number_of_counters=0: expected one argument
06:01:37
06:01:37 > Task :sdks:python:apache_beam:testing:load_tests:run FAILED

I haven't root caused this yet. I'll keep digging myself, but if you have any insight it would be appreciated.


Is there any way to make the robots.txt dynamic?

From the nuxt.config.js file I get the robots dynamically consuming them from our backend.
The problem that we have detected is that the robots are indeed generated with the deployment, but when doing an update of this data on the backend side, they are not reflected in robots.txt.
Among the conclusions we have drawn, we know that the robots are generated when the project is compiled, making it really is not dynamic to obtain this data and forces us to deploy the project to be updated. Is this correct?
What suggestion or recommendation would you give us to solve the generation of robots dynamically obtaining the information from the backend?

Was this question posted before or after the v3 prerelease? https://github.com/nuxt-community/robots-module#robots-config should give an answer.

Was this question posted before or after the v3 prerelease? https://github.com/nuxt-community/robots-module#robots-config should give an answer.

Before the v3 prerelease

If v3 works for you, you might want to close this issue.


testcases: add CVE-2024-0567

Adds a testcase for CVE-2024-0567.
Outstanding items:

This probably needs a license disclaimer, since I integrated it directly from GnuTLS's own testcases. GnuTLS is LGPL so I think integration without modification is fine, so long as I add a license reference.
This currently fails on cryptography-x509-validation, but for unrelated reasons (some of the certs in the chain use Ed25519 signatures, which aren't included in the CABF profile yet).

The Ed25519 sigs mean that this won't be easy to integrate, so I'm just going to recreate the chain to conform with CABF.

Confirmed that this testcase passes on Cryptography 42 as well (which is expected, since we already had a pathological cycle case.)


Renamed test_width/height settings to window_width/height

One of the planned renames from:
https://github.com/godotengine/godot/issues/16863#issuecomment-412308210
width/height is also renamed to render_width/height

I was reading that thread and noticed there was some feedback on the suggestion buried deep within: https://github.com/godotengine/godot/issues/16863#issuecomment-538108094. I assume you missed it because the thread is way too long, so I wanted to bring it to your attention just in case. What are your thoughts?

@WARIO-MDMA I missed it but thought about "viewport_width" too

Closed. (I need to re-create it since too many changes have been made in master.)


Bump version to 0.4.15

Codecov Report
Patch and project coverage have no change.

Comparison is base (2e19324) 15.88% compared to head (d3c455f) 15.88%.

:exclamation: Current head d3c455f differs from pull request most recent head 1d77842. Consider uploading reports for the commit 1d77842 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #100   +/-   ##
=======================================
  Coverage   15.88%   15.88%
=======================================
  Files           5        5
  Lines         957      957
  Branches        2        2
=======================================
  Hits          152      152
  Misses        805      805

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


FLEX-2058 ~ Removes nested exception and duplicate parameter

[@PublicLighting,@Common,@TariffSwitching]

Removes nested exception to prevent possible deserialization issues.
Removes unused method.
Removes duplicate parameter.
Adds FunctionalInterface annotation to resolve Sonar issue.

SonarQube analysis reported 5 issues

 5 major

Watch the comments in this conversation to review them.
2 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 DeviceRequestMessageProcessor.java#L114: Method has 7 parameters, which is greater than 6 authorized.
 PublicLightingGetPowerUsageHistoryRequestMessageProcessor.java#L147: Method has 8 parameters, which is greater than 6 authorized.

SonarQube analysis reported 5 issues

 5 major

Watch the comments in this conversation to review them.
3 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 DeviceRequestMessageProcessor.java#L113: Method has 7 parameters, which is greater than 6 authorized.
 PublicLightingGetPowerUsageHistoryRequestMessageProcessor.java#L145: Method has 8 parameters, which is greater than 6 authorized.
 PublicLightingResumeScheduleRequestMessageProcessor.java#L108: Remove this unused method parameter "dto".

SonarQube analysis reported 14 issues

 13 major
 1 minor

Watch the comments in this conversation to review them.
Top 10 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 DeviceRequestMessageProcessor.java#L113: Method has 7 parameters, which is greater than 6 authorized.
 PublicLightingGetPowerUsageHistoryRequestMessageProcessor.java#L145: Method has 8 parameters, which is greater than 6 authorized.
 OslpChannelHandler.java#L170: The Cyclomatic Complexity of this method "isOslpResponse" is 22 which is greater than 10 authorized.
 OslpChannelHandler.java#L171: Reduce the number of conditional operators (21) used in the expression (maximum allowed 3).
 OslpDeviceService.java#L83: The Cyclomatic Complexity of this class is 249 which is greater than 200 authorized.
 OslpDeviceService.java#L490: Method has 10 parameters, which is greater than 6 authorized.
 OslpDeviceService.java#L716: Method has 10 parameters, which is greater than 6 authorized.
 OslpDeviceService.java#L742: Method has 9 parameters, which is greater than 6 authorized.
 OslpDeviceService.java#L743: Remove these unused method parameters.
 OslpDeviceService.java#L801: The Cyclomatic Complexity of this method "convertToOslpSchedules" is 11 which is greater than 10 authorized.

SonarQube analysis reported 14 issues

 13 major
 1 minor

Watch the comments in this conversation to review them.
Top 10 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 DeviceRequestMessageProcessor.java#L113: Method has 7 parameters, which is greater than 6 authorized.
 PublicLightingGetPowerUsageHistoryRequestMessageProcessor.java#L145: Method has 8 parameters, which is greater than 6 authorized.
 OslpChannelHandler.java#L166: The Cyclomatic Complexity of this method "isOslpResponse" is 22 which is greater than 10 authorized.
 OslpChannelHandler.java#L167: Reduce the number of conditional operators (21) used in the expression (maximum allowed 3).
 OslpDeviceService.java#L83: The Cyclomatic Complexity of this class is 249 which is greater than 200 authorized.
 OslpDeviceService.java#L490: Method has 10 parameters, which is greater than 6 authorized.
 OslpDeviceService.java#L716: Method has 10 parameters, which is greater than 6 authorized.
 OslpDeviceService.java#L742: Method has 9 parameters, which is greater than 6 authorized.
 OslpDeviceService.java#L743: Remove these unused method parameters.
 OslpDeviceService.java#L801: The Cyclomatic Complexity of this method "convertToOslpSchedules" is 11 which is greater than 10 authorized.


feat(linter): enable errcheck linter in golangci-lint

We are also bumping the linter version to the latest available version.

PTAL @thaJeztah


Rename invalid to... something else?

Describe the problem
One side-note from #7956: invalid(422, {...}) is natural, but invalid(500, {...}) — which you need to do in order to show inline error UI along with repopulated form values — feels a bit weird. The error isn't that the data was invalid, it's that something went wrong on the back end.
Describe the proposed solution
Rename it to something that covers both 4xx and 5xx errors:

fail(status, data)
failed(status, data)
nope(status, data)

Suggestions welcome. (Note that we can't return error(status, data) because data must conform to App.Error in that case.
Alternatives considered
No response
Importance
nice to have
Additional Information
No response

halt(status, data)?

I like invalid, because it's a very good fit for 90% of use cases.

+1 for failed(status, data)

You could keep invalid as it is, but then add an error() which took only the error data, and returned a 500 for you. Ie
invalid(420, { status: "Too high" });

or
error({ status: "Something broke }); // returns a 500

on a second thought, I kind of regret the boom proposal due to some reasons.

it feels a little cryptic
it is kind of informal
is used by hapi and it might bring confusion over time

So, I would rather recommend a more generic failure(status, data) instead of fail, failed
return failure(status, data) seems more natural

fauxpas, please.
Really though, I like either invalid or failure. I'm mostly ok with invalid because it describes how you're choosing to handle the error. The invalid function takes some backend reality and decides it will hand it to the client-side +page to handle it as a bad response, rather than as the +error page. If it wraps a 500 that seems fine to me because the 500 describes what went wrong, and the use of invalid describes how we're passing it forward. I could see failure too, and in any case ValidationError should probably be changed.
Alternatively, I could see changing error/invalid to something like panic/error to capture that one is disrupting the usual flow of your app and the other is passing on a bad message.

And while we 're at it, may I boldly suggest we revisit the naming for validationError, since this could also be an upstreamError or a connectivityError or someOtherReasonError

handlingError would also be a fits-both proposal, and also solves the interface naming problem for ValidationError; it is renamed HandlingError.
 This means what it says -- you have an invalid form that the user can fix in the context of the form itself.  Overloading that with errors like

"make sure your WiFi is in range" or
"hey, bad actor, you can't launch the missile, you should never have even seen that button"

is IMO bad UX and bad DX.
The fact that 400 Bad Request and 403 Forbidden share a 4 is academic -- what matters is the difference in the business logic.

fail(status, data) sounds ok

I like fail (failed feels wrong -- it would imply we should also have errored and redirected, which sound terrible). I like nope most of all, but I also know the serious-minded folk would hate it. 😆

Actually, there is one more aspect to this...
The problem is that invalid is the wrong term to describe a 5xx error. But on the other hand, invalid is a perfect fit for the 4xx, and I would not be very pleased if I had to live without it, let alone it would be confusing if we replace it with something errorish...
So, maybe it would be better to keep the invalid and add an alias to it with the new name.
This way, the following code would be much more self explanatory and a pleasure to read, leaving no room for misunderstanding.
import { invalid, failure } from '@sveltejs/kit';

export const actions = {
  setName: async ({ cookies, request }) => {
    const data = await request.formData();
    const name = data.get('name');

    if (!name) {
      return invalid(400, { name, missing: true });
    }
    try {
      result = await postToExternalAPI(name);
    } catch(error) {
      return failure(504, {name, message: 'Upstream server coul not be reached. Try again later'});
    }

    return { success: true };
  }
}

Considering 4xx and 5xx status codes being for all client and server error responses,invalid is indeed insufficient to cover even the 4xx errors. Since we're literally returning either a client or server error and the word is apparently taken, how about a synonym?
Among many funny or fancy options, i think a single synonym stands out: failure. It covers the exact meaning, is neutral (whose fault?), short enough and is a common word, which is good for non-native english speakers.

I prefer fail(status, data). This is better naming convention wise.

Rename error to exception and invalid to error.
The migration would be funny 🤣
On a serious note, of the suggestions, I like failure the best.

failure please

Opened a PR that renames invalid(...) to fail(...) and ValidationError to ActionFailure — #8012.
Having gone through the process of updating the code, I'm convinced that this is the right move even if it's a late breaking change. Another couple of reasons presented themselves:

'invalid' is used elsewhere in the framework to refer to data that is out of date and needs to be refetched. It's arguably confusing to have invalid(...) and invalidate(...) to refer to different meanings of the word
The type of an ActionResult can be success, failure, redirect or error. failure is a better counterpart to success than invalid. (Also, all four are now nouns, instead of three nouns and an adjective. It's a happy coincidence that redirect and error are also verbs*, making them suitable as function names as well.)

*if someone wanted to be persnickity they could challenge the notion that 'error' is a verb, but I think it's used as a verb often enough in programming that I can claim it with a straight face

failed(status, data)

Still not fully convinced. In the ActionResult example I now have a harder time to distinguish between error and failure, since they are much closer connected.

it just feels that
return failure(...

is more natural than
return fail(...

And something more obvious like HttpError(status, data)? 🤔

I like this
return failure(status, data)


DDIM sampling mistake

I think there is a mistake in the code for DDIM sampling, in particular for the generation of time steps and selection of alpha_cumprod's. Currently, the time_pairs list ends with (0, 0), which doesn't make sense to me in my current understanding of the matter. I also don't understand why self.alphas_cumprod_prev is being used instead of self.alphas_cumprod, which is what it seems we need according to the equations.
I fixed this and can make a pull request but I before that I wanted to ask how we can verify that my implementation is correct.
I looked at sampling trajectories generated for a simple 1D task with the old code and my fixed code, and my code appears to give smoother trajectories whereas the old code had trajectories with unnecessary bends.
Can someone check if the current DDIM code makes sense?

@lukovnikov Hi Denis
I do believe you are correct, once I checked it against https://github.com/openai/glide-text2im/blob/18bf97a07446874693263715af6a73a09cbe81e2/glide_text2im/gaussian_diffusion.py#L484
As for the (0, 0) in the time pairs list, how many timesteps and sampling timesteps was set on your gaussian diffusion class?
I put in an extra precautionary filter, but it is a weird edge case

Thanks for checking it so quickly!
I was using 100 timesteps and left sampling timesteps to default but it also occurs whith 1000 steps. I think with the current version, we still miss the last step corresponding to timestep 0 in the code (which would be t=1 in the equations and still has supertiny but nonzero noise and x_T added to it), and somehow it makes it skip the first "jump" if you use fewer steps to speed up DDIM.
I made a pull request (#83) with some fixes that I think give the correct time steps.


Improving the Samples page or Getting started page

I quite like practical examples in the doc. For example:
vivliostyle build https://vivliostyle.github.io/vivliostyle_doc/samples/gutenberg/Alice.html -s A4 -o Alice.pdf

By using this command, I can see the result. However it stops there. The commands after this example are generic and I can't see the results.
My suggestion is that using the Samples page. I tried HTML with the above code but I didn't get the image you mentioned in the page.

Is it possible to post commands how to create this or this as a PDF?
It will be very hands-on and new uses like me can benefit from it.
What do you think?

Is it possible to post commands how to create this or this as a PDF?

vivliostyle build https://vivliostyle.github.io/vivliostyle_doc/samples/webmag/index.html \
  --style https://vivliostyle.github.io/vivliostyle_doc/samples/webmag/css/viv-style-v.css

vivliostyle build https://vivliostyle.github.io/vivliostyle_doc/samples/webmag/index.html \
  --style https://vivliostyle.github.io/vivliostyle_doc/samples/webmag/css/viv-style-h.css

Your suggestion is to put these examples to the CLI document, the Specifying additional style sheets section?

Yes, that will be a good place to put them.
I can see how to use to style a html page.
It will be great to see more of these.
Thanks.


Observing changes in the MockFileSystem

Describe the solution you'd like
I'd like to be able to observe common/interesting events (from a testing perspective) that happen into a MockFileSystem.
Why? I'm creating a cache service that uses an IFileSystem and I need to test that a file is only written once.
Describe alternatives you've considered
I've tried to implement my own MockFileSystem using System.Reactive, but the work is a bit overwhelming.

This is the same as https://github.com/TestableIO/System.IO.Abstractions/issues/168 which has gone stale.
As mentioned over there I generally like the idea and would accept a contribution here unless it's getting overly complex.


Replace coingecko with kodaprice

we should use price source from

https://github.com/kodadot/nft-gallery/pull/8036

hope it's oka, merging bc release for drop stuff
Originally posted by @yangwao in https://github.com/kodadot/nft-gallery/pull/8086#issuecomment-1814355033

nothing to do here
already using kodaprice


Options

What should they be!

For repo, account/repo: jlord/offline-issues muan/github-gmail
For specific issue account/repo#number: jlord/offline-issues#1
For open, closed or all: -o -c --all
For label: -l <LABEL>
For author: --by <USER>

offline-issues -r jlord/offline-issues muan/github-gmail --by jlord --all
cc @muan

I didn't expect that the default (in fact the only option) is to only sync open issues!  Had to edit the source to get all. Just want to have this posted somewhere so it's obvious.
This is a really cool tool though, which I'm excited about getting the chance to use while traveling this weekend :)


edit (mark previous as read) from the one you tap on

Describe your suggested feature
hold on chapter and mark previous as read from the one you tap on to all previous
Other details
when you need to migrate manga/anime to another source you need to mark all chapters as read and for that you need to mark as read two times when you tap on last chapter

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an official extension, I should be opening an issue in the extensions repository.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I will fill out all of the requested information in this form.

you can click the select all button in the top right after selecting an item and then mark all as read.

ok i forgot that option
thanks


Generic commit author emails used by bots omitted from checks with a regex pattern match

exclude pattern argument added similar to exclude emails
pattern checked against commit author email for omitting checks
unit tests updated and pattern check included in email exclusion test
README.md updated

fixes #123

Released as 0.4.0: https://github.com/christophebedard/dco-check/releases/tag/0.4.0


NIFI-1814 Extended caught exceptions

In some cases, when trying to
session.exportTo(flowFile, response.getOutputStream());
It seems that response.getOutputStream() has been somehow modified by
Jetty resulting to a FlowFileAccessException encapsulating the
EofException of Jetty.
Extended the exceptions caught and added a unit test to reproduce this
case.

Once the contrib check is fixed I'm a +1.
Go ahead and squash it into one commit and I'll merge it into 0.x and 1.0 branches


Apnathreatre.com must be responsive.

Responsive website is a website which adjust itself according to screen size so that all user can interact easily irrespective of there screen size .

this website must be responsive so that it content can adjust itself according to screen size .

@royalleads15 this issue is already open. See issue number https://github.com/QAZIMAAZARSHAD/Movie-Streaming-Website/issues/2.
Before opening any issue please make sure that any similar issue is not already open.


fix image operations create http method

The call to "images/create" was set as an http get unless you passed a stream source. This results in a 404 when trying to pull an image from a registry.
repro snippet:
using System;
using Docker.DotNet;
using Docker.DotNet.Models;

namespace Docker_API_Testing
{
  class Program
  {
    static void Main(string[] args)
    {
      var client = new DockerClientConfiguration(new Uri("tcp://<IP_ADDRESS>:2375")).CreateClient();
      IProgress<JSONMessage> report = new Progress<JSONMessage>(msg =>
      {
        Console.WriteLine(msg.Status);
      });

      var parms = new ImagesCreateParameters { FromImage = "alpine", Tag = "3.5"};

      client.Images.CreateImageAsync(parms, null, report).GetAwaiter().GetResult();

    }
  }
}

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Did not see the other PR, #209,  before I submitted this, closing as dupe PR.


Don't break if _ua is not a string

hey shawn! let try to not use try catch here, try catch can create extreme slowness in your program, so if possible try to avoid ;)

@jimdebeer Just pushed a modification: using typeof instead of try-catch


Missing readOnly assertion

Hello Martin,
It seems there is no methode to check for readOnly. I was looking for something like _assertReadOnly but only found _assertEnabled/assertDisabled.
Best regards
Stefan

Yup, you're right. I'll add these functions.


At closing consumer: make pendingRead false when no consumer is connected to SingleDispatcher

Motivation
In case of Exclusive consumer is disconnecting and if it doesn't flip havePendingRead=false at  PersistentDispatcherSingleActiveConsumer, then on next reconnection consumer will not receive new messages and it will be blocked.
So, we should make havePendingRead=false at the time of disconnect-consumer if there is no consumer available

next time when new consumer will connect it will anyway read more entires  without considering pendingRead
however, in case of Exclusive subscription: if havePendingRead=true and cursor.cancelPendingReadRequest()=false (which will be the case if there is no pendingReadOp present at ManagedCursor), havePendingRead will be always true and next time when new consumer will connect, it might get blocked at pickAndScheduleActiveConsumer while addConsumer() and at consumerFlow

Modifications
Always clear pendingRead at Exclusive consumer disconnect.
Result
Avoid possibility of exclusive consumer blocking.

CLA is valid!


Download artifacts is missing authentication

Hello,
While trying to download artifacts with this extension, I get a file with the proper name, but its contents are must be logged in instead of the actual contents.
Browsing into the code, I have seen that it's using downloadFile method, using a simple http GET, hence it's missing the apiToken that would contain the authentication details.
Would it be possible to fix this?

Ooh, I hadn't considered this. I'll see about passing along authentication for this request. Thanks for reporting!


fix: avoid badges with undefined class

Description
In the actual Starlight documentation at https://starlight.astro.build/fr/getting-started/, the "New" badge in the sidemenu contains a class named "undefined".

This PR suggests a possible fix in the SidebarSublist Astro component directly to create an empty string if the entry.badge.class var is undefined.
Please note that:

I'm not too much familiar with Starlight's codebase, so maybe this fix must be done at another level in the code
there's maybe another syntax that would be better for this fix

Don't hesitate to nuke this PR or update it directly if there's a better way to fix that. I can also just close it if the quality is not there, and just create an issue instead :)

Thanks @julien-deramond! I remember seeing this bug before and forgot about it.
It’s technically a more general Astro bug, so I opened this issue: https://github.com/withastro/astro/issues/11413
Ideally, we should fix it in Astro so that our usage can remain unchanged (because this bug could impact various Astro users, not only Starlight), but I’ll see what the feedback is on that issue. If it looks like we won’t be able to fix it upstream in a timely manner, we can use this PR in Starlight instead.

Proposed a fix: https://github.com/withastro/compiler/pull/1014

This should be fixed by https://github.com/withastro/astro.build/pull/1167 in the next release of the compiler.
Thanks again for bringing our attention to it!

Great job fixing it upstream! 💪


2 dlls missing when building DemoParser-UI

CSGO-Analyzer-master\DemoParser\bin\Debug\DemoParser-Core.dll & CSGO-Analyzer-master\DemoParser-Model\bin\Debug\DemoParser-Model.dll aren't found when building the DemoParser-UI.sln file.
(also if you are still active I wanted to chat about how to get this working - you can email me at<EMAIL_ADDRESS>

i would like to have this too

Hi,
This library is out of date.
You should look at https://github.com/akiver/CSGO-Demos-Manager and/or https://github.com/StatsHelix/demoinfo/
Regards


netstandard support

Is there any particular reason for not publishing for netstandard?
I tested with a simple hello world program in a netstandard2.0 lib and it worked, but it's annoying to have the warning 'Package 'IronPython 2.7.8-beta1' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.'

We have an issue open for this already. See #225

Also, just as an FYI, there are some things that don't work under netstandard that need to be looked at before we can target it directly


Move file.ts to core/base from generator/base

ISSUE=#227

This PR is created by me but actual patch author is @hwanseung.
Once this PR is merged to master, the author will be represented to his name in git log.

Hmm...... really sorry. I didn't change author name but github merge system seems to be changed to PR's owner automatically.


Make python dependencies more lenient

I cannot run pipenv run e2b-code-interpreter as I get a dependency conflict with an existing package which requires attr >= 24.0
This change will allow e2b-code-interpreter to be used in more places

Hi @brendanator, for pointing this out! There probably isn't a reason to be so strict here. We use only very basic functionality from those packages, so it should be fairly safe.
I fixed the major version for httpcore and httpx, there may be breaking changes.
Thanks for your contribution!


Demo - Can't select any goods in ASN

Dear GreaterWMS,
the projects look very interesting to me. Create work !!
I'm just playing a little bit with the demo, but I can't create a valid ASN. I Can select a supplier but the goods selection is always empty :-(
I've already created a Row in the Goods List.
I don't know what's wrong.
Best Regards

Hi Areman:
The goods selection is a Match search input .

Input arbitrary word which your goods include
sellect which one you want
input the qty which you want to create in this ASN
confirm the submit

You will find the ASN status is 1 . It means you create 1 ASN which can be edit & delete.
While your Mouse Move To this ASN . It appear a purple tip . Reason is system does not match the transportation freigth. I'm not add payment website yet . But the payment api is ok for system . The system will match the city to city freight and caculate the ASN freight , Show everyone to see the freight easily . If ASN detail be changed , the freight will caculate again .
After you click confirm delivery . ASN status will change to 2 . ASN can net be edit & delete as well. It means ASN waiting for Loading , ASN has arrive you warehouse . Think: you can give your supplier a account , and let them create the ASN . When the ASN arrive warehouse , your confirm the ASN .
Release Version will be released before this month .
Tks for your support !!

Hi Areman:
The goods selection is a Match search input .

Input arbitrary word which your goods include
sellect which one you want
input the qty which you want to create in this ASN
confirm the submit

You will find the ASN status is 1 . It means you create 1 ASN which can be edit & delete.
While your Mouse Move To this ASN . It appear a purple tip . Reason is system does not match the transportation freigth. I'm not add payment website yet . But the payment api is ok for system . The system will match the city to city freight and caculate the ASN freight , Show everyone to see the freight easily . If ASN detail be changed , the freight will caculate again .
After you click confirm delivery . ASN status will change to 2 . ASN can net be edit & delete as well. It means ASN waiting for Loading , ASN has arrive you warehouse . Think: you can give your supplier a account , and let them create the ASN . When the ASN arrive warehouse , your confirm the ASN .
Release Version will be released before this month .
Tks for your support !!

Great !!
I understood.
Thank you for the great work !!

Great !!
I understood.
Thank you for the great work !!


Fix sending formdata arrays

What this fix is for? What issue?

Pull requests generally need to be linked to an issue.

When I send an array to the Rails server he takes an array as an associative array, instead of real array ("0" => "some value", etc.). So I just added one check to detect an array and added '[]' to the end of formdata key.

You can use arrayKey option for that.


Apply small array optimizations to device_array

For small array instantiations of device_array, don't use a stack array member but instead regular member variables that are accessed using if-else if statements. This can help registerization on device if the indexed id cannot be inferred by the compiler at compile time.
device_array is used by core classes such as id and range, so this can have a massive impact.
A similar issue likely exists with our sycl::vec implementation, but that needs more investigation.

@hipSYCL-ci-bot test


[Hopsworks-624] ProxyServlet classes do not match properly on upper case letter in urls

Make sure there is no duplicate PR for this issue

Please check if the PR meets the following requirements

[ ] Adds tests for the submitted changes (for bug fixes & features)
[ ] Passes the tests
[ ] HOPSWORKS JIRA issue has been opened for this PR
[ ] All commits have been squashed down to a single commit

Post a link to the associated JIRA issue

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

Testing:
https://github.com/hopshadoop/hops-testing/pull/129


What is the licence for this?

I am not seeing what license babble is being placed under. Is it GPLv3 (I prefer that)?

Its the "do whatever you want" license :)
Just be careful because the algorithm is patented in the US and they have some applications pending in Europe. We do not take any responsibility for legal issues that might arise from using the Hashgraph algorithm without authorization for the patent holders (Swirlds).

Thanks for the reply. Noted about the software patents they have. It is not applicable in the jurisdiction I am in (Singapore). Instead of focusing on the tech, it is a pity that we are discussing software patents.

Glad to help. Well I hope you find Babble useful for your projects!

If there is no license, it keeps all rights reserved to the copyright holders, meaning that modifying and redistribution are copyright infringements in most legislations.
If you want the software to be freely usable by anyone, add an MIT license. Note, however, that since you have two external contributors, you have to ask their permission in order to apply a license to the current project, or exclude their contributions.


Addition of 'Service' Section

I will be creating a  page 'service' section for this medical website that highlights key features like:
online appointment booking, location profiles, virtual consultations, symptom checkers, emergency services, and other facilities.
(I  will be using  HTML and CSS to design the page.)
Please assign this task to me.

kindly create one issue for all


Misleading instructions

Where you say: "Add the following markup to the end of the Pages/Courses/Index.cshtml Razor Page:"
Shouldn't it read: "Add the following markup to the end of the Pages/Instructors/Index.cshtml Razor Page:"

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

ID: d0026f69-7e5d-0d3e-5586-16ecc0656ff0
Version Independent ID: 3cb264da-2ff1-1256-572f-aa4ebca6e255
Content: Razor Pages with EF Core in ASP.NET Core - Read Related Data - 6 of 8
Content Source: aspnetcore/data/ef-rp/read-related-data.md
Product: asp.net-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Sorry, just saw that this was already reported by Pangar

Dup of #6427
Thanks @mcfin ... I just fixed it on #7137.


Add nullable creator and updater's user ids to the table in Blueprint…

Add nullable creator and updater's user ids to the table in Blueprint.php.
Now we can only add $this->authors(); in migration files to add creator_id and updater_id columns in database.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Bring back internal scribe tool

I found that scribejs wasn't generating correct HTML, and was incompatible with the meeting index generation we use. Unfortunately, scrawl.js was quite out of date WRT the way we use IRC now, so updated it to allow for the :+- variations on scribe, present, regrets, and so forth.
While doing so, I found that scribejs wasn't properly keeping track of the in-scope scribes, so this version will only treat a line as scribed if it's surrounded by scribe+ and scribe-.
Note sure if a version of scrawl.js (from @msporny I think) is used anywhere else, but some of the updates may be useful. It will continue to work with the Markdown output from scribejs, if it is present.

Note sure if a version of scrawl.js (from @msporny I think) is used anywhere else, but some of the updates may be useful.

It's used in at least 4-5 groups in the W3C Credentials CG, and has been updated a bit over the past two or so to use features available in our Jitsi meeting software:
https://github.com/w3c-ccg/meetings/commits/main/scribe-tool/scrawl.js
We now have auto-scribe (using Google Transcriber), integration w/ Jitsi chat and IRC (via CGBot), and I think added some things like scribe+. I haven't had the time to look at these PRs, but I expect they'd be very useful to the CG... and perhaps it's time to think about pulling all this out into a common code base? We're definitely duplicating work at this point.

Note sure if a version of scrawl.js (from @msporny I think) is used anywhere else, but some of the updates may be useful.

It's used in at least 4-5 groups in the W3C Credentials CG, and has been updated a bit over the past two or so to use features available in our Jitsi meeting software:
https://github.com/w3c-ccg/meetings/commits/main/scribe-tool/scrawl.js

You probably have some better code structure and more comprehensive features than I've added, and I'm sure there are improvements to be taken from both code bases.

We now have auto-scribe (using Google Transcriber), integration w/ Jitsi chat and IRC (via CGBot), and I think added some things like scribe+. I haven't had the time to look at these PRs, but I expect they'd be very useful to the CG... and perhaps it's time to think about pulling all this out into a common code base? We're definitely duplicating work at this point.

Most definitely. The C14N group may end up using this too, I suspect, and there's probably more automation and integration that can help.

@msporny: You might want to look at the processPeople method, which is used for all present|chair|scribe|regrets|...[:+\-] processing (inspired by scribejs):
https://github.com/json-ld/minutes/blob/f807713512584544d864ebefc1d8c0749c63278a/scribe-tool/scrawl.js#L67-L105.
Also, the scribe rules were updated for scribe- in addition to scribe: and scribe+, so that the currently active list of scribes is considered when processing a line.

@msporny I added much of what you have in the CCG version. The alias accounting, and handling of present/regrets/char/etc. has diverged and probably requires more thinking. I generally prefer what I've done, as it modularizes the data better, but it does not include as many potential aliases as your version.


Proposed updates to mem.c

Changed alloc_mem() and mostly free_mem() to account for moving pages up to occupy free'd slots. free_mem() now uses new_v_addr and old_v_addr to determine the from and to when moving, updates v_index in moved pages to reflect the new virtual address and updates regs with matching old address to the new address.

lgtm


GHA migration: secrets check

This PR adds the steps that will use the migrated secrets,  and a release.yml workflow that will be used for the releases.
The FOSSA secret with the API key is used during the CI workflow.
The Docker Hub username and password will be used during the release. At the moment we are just going to login to see that they are working fine.
This PR is needed because the branched of the CLI repo are protected, and we need PRs for them.
This is a first step "soft" PR used for the migration with no side-effects.

Thanks for the review @andreas-kupries . I checked with @Anarkis and the error is expected because of the run on a different repo. Once merged we can check that the secrets are ok.
Do you think I should open the PR on a different branch? It's safe to merge on purpose.

Thanks for the review @andreas-kupries . I checked with @Anarkis and the error is expected because of the run on a different repo. Once merged we can check that the secrets are ok. Do you think I should open the PR on a different branch? It's safe to merge on purpose.

For my migration I actually did a test PR on a non-forked branch to check that the creds worked, and, of course the actions after also. For the FOSSA this might not be as important, as it is a code check, and not pushing anything.

Secrets are working fine :+1:

FOSSA API key: https://github.com/rancher/cli/actions/runs/8818987612/job/24209107810
Docker login: https://github.com/rancher/cli/actions/runs/8818997011/job/24209139489


The best loss weighting coefficients

Since thess is no description about the best loss weighting coefficients {λ1, λperc, λgrad} used in training, I wonder whether it is the value set in the ”run_train.sh“ that λ1=1.0, λperc=0.1 and λgrad=0.0.

In solver.py line 75:
image_width = params['f'] * np.tan(20.0 * np.pi / 180.0) * np.sqrt(2)
why do we times the np.sqrt(2)?

I think i know why np.sqrt(2). The FOV=40° maybe refers to diagonal FOV.

Since thess is no description about the best loss weighting coefficients {λ1, λperc, λgrad} used in training, I wonder whether it is the value set in the ”run_train.sh“ that λ1=1.0, λperc=0.1 and λgrad=0.0.

Hi, thanks for your interest in our work and apologies for the late reply. I recommend playing around with the loss weighting as I did not find any particular setting to be a clear "best". Nevertheless, I recommend putting most of the weight into λ1 and putting lesser weight into the other coefficients.

I think i know why np.sqrt(2). The FOV=40° maybe refer to diagonal FOV.

In solver.py line 75-78:
 image_width = params['f'] * np.tan(20.0 * np.pi / 180.0) * np.sqrt(2)
 image_width = image_width * params['magnification'] / params['sensor_pixel']
 params['image_width'] = np.int(2*dim * np.ceil(image_width / (2*dim) ))

why do we times the np.sqrt(2)? In my opinion, it should be 2.
why params['magnification'] = 8.1 instead of 10 indicated in Supplementary Figure 7?

You are correct. The quoted FOV refers to the diagonal FOV.
I adjusted the magnification parameter when finetuning for the real captures. This was done to compensate for slight misalignments in the hardware setup. This can be ignored during the design optimization stage.


Bad results generated from stable-diffusion-v2-1

Hi, thanks for opening source this excellent work! I had tried stable-diffusion-v1-4, and the edited results were satisfactory. However, when I switched to stable-diffusion-v2-1, there was no improvement on the edited results and in fact, the results looks like noise. Have you encountered a similar situation before?
result from v1-4:

result from v2-1:

My experimental environment:
cuda 11.7, Pytorch 2.0.1, ,xformers 0.0.21, accelerate 0.22.0.

I have the same problem, any update?


[BUG] arithmetic ops tests failing on Spark 3.3.0

Many arithmetic ops tests failed in the recent Spark 3.3.0 nightly tests against 22.06:
10:24:14  =========================== short test summary info ============================
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[pmod(a, cast(0 as {}))-Decimal(7,3)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[pmod(a, cast(0 as {}))-Decimal(12,2)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[pmod(a, cast(0 as {}))-Decimal(18,0)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[pmod(a, cast(0 as {}))-Decimal(20,2)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[pmod(a, cast(0 as {}))-Decimal(30,2)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[pmod(a, cast(0 as {}))-Decimal(36,5)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[pmod(a, cast(0 as {}))-Decimal(38,0)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[pmod(a, cast(0 as {}))-Decimal(38,10)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[pmod(cast(-12 as {}), cast(0 as {}))-Decimal(7,3)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[pmod(cast(-12 as {}), cast(0 as {}))-Decimal(12,2)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[pmod(cast(-12 as {}), cast(0 as {}))-Decimal(18,0)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[pmod(cast(-12 as {}), cast(0 as {}))-Decimal(20,2)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[pmod(cast(-12 as {}), cast(0 as {}))-Decimal(30,2)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[pmod(cast(-12 as {}), cast(0 as {}))-Decimal(36,5)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[pmod(cast(-12 as {}), cast(0 as {}))-Decimal(38,0)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[pmod(cast(-12 as {}), cast(0 as {}))-Decimal(38,10)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[a % (cast(0 as {}))-Decimal(7,3)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[a % (cast(0 as {}))-Decimal(12,2)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[a % (cast(0 as {}))-Decimal(18,0)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[a % (cast(0 as {}))-Decimal(20,2)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[a % (cast(0 as {}))-Decimal(30,2)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[a % (cast(0 as {}))-Decimal(36,5)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[a % (cast(0 as {}))-Decimal(38,0)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[a % (cast(0 as {}))-Decimal(38,10)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[cast(-12 as {}) % cast(0 as {})-Decimal(7,3)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[cast(-12 as {}) % cast(0 as {})-Decimal(12,2)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[cast(-12 as {}) % cast(0 as {})-Decimal(18,0)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[cast(-12 as {}) % cast(0 as {})-Decimal(20,2)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[cast(-12 as {}) % cast(0 as {})-Decimal(30,2)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[cast(-12 as {}) % cast(0 as {})-Decimal(36,5)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[cast(-12 as {}) % cast(0 as {})-Decimal(38,0)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_mod_pmod_by_zero[cast(-12 as {}) % cast(0 as {})-Decimal(38,10)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_cast_neg_to_decimal_err
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_floor_scale_zero[Double]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_floor_scale_zero[Decimal(18,0)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_ceil_scale_zero[Double]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_ceil_scale_zero[Decimal(18,0)]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_bround[Decimal(7,3)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_bround[Decimal(12,2)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_bround[Decimal(18,0)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_bround[Decimal(20,2)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_bround[Decimal(30,2)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_bround[Decimal(36,5)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_bround[Decimal(38,0)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_bround[Decimal(38,10)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_bround[Decimal(7,-3)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_bround[Decimal(36,-5)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_bround[Decimal(38,-10)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_round[Decimal(7,3)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_round[Decimal(12,2)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_round[Decimal(18,0)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_round[Decimal(20,2)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_round[Decimal(30,2)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_round[Decimal(36,5)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_round[Decimal(38,0)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_round[Decimal(38,10)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_round[Decimal(7,-3)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_round[Decimal(36,-5)][INCOMPAT, APPROXIMATE_FLOAT]
10:24:14  FAILED ../../src/main/python/arithmetic_ops_test.py::test_decimal_round[Decimal(38,-10)][INCOMPAT, APPROXIMATE_FLOAT]

test_mod_pmod_by_zero - Looks like simple fix of changing error message to "Division by zero"
round/bround tests are the ones which might need more work. Looks like bug fix when DecimalType with negative scale is provided. Spark commit - https://github.com/apache/spark/commit/ee0aecca05af9b0cb256fd81a78430958a09d19f. I missed this in audit thinking it's only for RoundFloor and RoundCeil (which we currently fall back to CPU for scales other than 0).  It affects Round and Bround as well. Not sure how much of the code needs to be shimmed here.
I haven't looked into RC of these test failures yet - test_floor_scale_zero,  test_ceil_scale_zero and test_cast_neg_to_decimal_err

test_mod_pmod_by_zero should be fixed by #5781 .

#5786 attempts to fix round problems


Update README.md to fix broken link

New structure for GitHub Pages changed the location of the linked Raspberry Pi guide

Thanks


clean up deps

It seems that I added some packages that are builtin in a previous PR. I also believe that dash-functional is included in dash.
This PR fixes those mistakes.

The package dash-functional is obsolete, and I get deprecation errors. I believe dash-functional can now be removed from the dependencies and replaced with (require 'dash) and Package-Requires: ((dash "2.18.0")).


nanomq: init at 0.13.0

Description of changes
nanomq - an ultra-lightweight and blazing-fast MQTT broker for IoT edge.
Alternative to mosquitto.
Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux (cross)
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 198051 run on x86_64-linux 1

1 package built:

nanomq

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1391


Selecting tab in all codegroups

Is there a way to make EJS select the same tab (either by its name or index, both would work for me) in all code groups when one of them is selected?
Imagine I have several snippets, each in a code group, and a tab represent code in a given language, e.g. either JavaScript or C#. Whenever a user selects C# tab, it means they want to see the C# code in all of the code groups, so I would like to automatically switch to the C# tab in all of them.
Example (using WordPress notation):
[codegroup]
   [js tab="Javascript"]// javascript code, part 1[/js]
   [csharp tab="C#"]// C# code, part 1[/csharp]
[/codegroup]

[codegroup]
   [js tab="Javascript"]// javascript code, part 2[/js]
   [csharp tab="C#"]// C# code, part 2[/csharp]
[/codegroup]

I suppose there is no such built-in feature, so I would be very grateful for a code snippet (I'm not at all familiar with Moo).

Dear Marcin,
such feature requires some internal changes - currently each tab-group is isolated and doesn't use a global event bus or something like this. therefore it is not easy to implement.
at the moment i'm working heavily on EnlighterJS v3 with a new codebase - i will try to add such feature to the new version.
best regards, Andi

Hi Andi,
Thanks a lot for considering it, though I doubt many people will actually need this, so I wouldn't spend too much time on making it work.
In case someone needs something like that, here's a quick and rather dirty method to do it, by cascading the click event on all tabs sharing the same name. Forgive me for what is most likely poor JS code, it's not my area of expertise.
In jQuery:
$('div.controls li').click(function() {
    $(this).addClass('selected');
    $('div.controls li:contains("' + $(this).text() + '"):not(.selected)').first().trigger('click');
});

Or in MooTools (addClass('selected') seems not to be required because the normal click event from EJS is fired prior to this new one, but I'm not sure if the order is guaranteed):
document.getElements('div.controls li').addEvent('click', function() {
    this.addClass('selected');
    var e = document.getElement('div.controls li:contains("' + this.get('text') + '"):not(.selected)');
    e && e.click();
});

Great work on EJS by the way!
Cheers,
Marcin


added mongoDB CRUD scenarios

adds a mongoDB counterpart of #357 scenarios
fixes some small things introduced in #357

@EricBorczuk fyi

@all-contributors please add @EricBorczuk for test design and community support


Deployment

I need to deploy releases.
I want to support bower and commonjs with browserify. I need karma tests, I need to zip the code with uglify and a minimizer. I want to deploy the documentation for different versions, so it won't cause a problem to check whether a previous version had a feature or not. I need a gulp task probably to do all of these. Maybe testing should go to gulp as well instead of nodejs tests.

I have some progress in this: https://github.com/inf3rno/javascript-project-template
It is almost complete, I need to add helper support for jasmine, and add some development to the babel branch too. Maybe later I'll add support of different testing frameworks, but currently cucumber is more than enough.

Some related issues from dataflower:
https://github.com/inf3rno/dataflower/issues/58
https://github.com/inf3rno/dataflower/issues/57
https://github.com/inf3rno/dataflower/issues/56

The project template solved this. I'll use karma by the browsers. I am not sure I want to support bower, webpack and that kind of stuff. I use npm and browserify currently and I don't have time to play with anything else.


Added matplotlib SideAreaPlot

Improves adjoined Distribution plots by reducing their axis offset, e.g.:

Looks good. I don't know what tests might make sense that you might wish to add but I am happy to merge once the tests are green.

Tests are going green. Merging.


Segmentation Fault

Hello:
I got an assembly from MeCAT, then removed removed heterozygous redundancy and assembled scaffolds using redundans. Then after filling gap with PBJelly, I tried to polish my assembly using following commands:
# First Polish
minimap2 -t 70 -cx map-pb ./data/out/jelly.out.fasta ../PacBio.fa |gzip -c >./Racon/Jelly.align.paf.gz
racon ../PacBio.fa ./Racon/Jelly.align.paf.gz ./data/out/jelly.out.fasta -t 70 -u -f 1>./Racon/Racon1.fa

# Second Polish
minimap2 -t 70 -cx map-pb ./Racon/Racon1.fa ../PacBio.fa|gzip -c >./Racon/Racon.align.paf.gz
racon ../PacBio.fa ./Racon/Racon.align.paf.gz ./Racon/Racon1.fa -t 70 -u -f > ./Racon/Racon2.fa

I got following messages after First Polish:
[racon::Polisher::initialize] loaded target sequences
[racon::Polisher::initialize] loaded sequences
[racon::Polisher::initialize] loaded overlaps
[racon::Polisher::initialize] aligned overlap 20755039/20755039
[racon::Polisher::initialize] transformed data into windows
[racon::Window::generate_consensus] warning: contig 131 might be chimeric in window 475!
[racon::Window::generate_consensus] warning: contig 708 might be chimeric in window 82!
[racon::Window::generate_consensus] warning: contig 1066 might be chimeric in window 386!
[racon::Window::generate_consensus] warning: contig 1103 might be chimeric in window 183!
[racon::Window::generate_consensus] warning: contig 1745 might be chimeric in window 632!
[racon::Window::generate_consensus] warning: contig 1765 might be chimeric in window 2234!
[racon::Window::generate_consensus] warning: contig 2321 might be chimeric in window 1146!
[racon::Window::generate_consensus] warning: contig 2793 might be chimeric in window 325!
[racon::Window::generate_consensus] warning: contig 3109 might be chimeric in window 161!
[racon::Window::generate_consensus] warning: contig 3932 might be chimeric in window 171!
[racon::Window::generate_consensus] warning: contig 3939 might be chimeric in window 14!
[racon::Polisher::polish] generated consensus for window 1763070/1763070
Segmentation fault (core dumped)

but still, I got 3998 sequences of totally 880M.
Then, when running racon again, it failed:
[racon::Polisher::initialize] loaded target sequences
[racon::Polisher::initialize] loaded sequences
[racon::Polisher::initialize] loaded overlaps
[racon::Polisher::initialize] aligned overlap 21715775/21715775
[racon::Polisher::initialize] transformed data into windows
Segmentation fault (core dumped)

I installed racon from bioconda, v 1.3.1

It takes about 10 hours in the first round. But in the second round, racon failed.
Now I am trying racon_wrapped script, and waiting for the results.

I tried following commands in the second round:
racon_wrapper --split 876890000 -t 70 -u -f ../PacBio.fa ./Racon/Racon.align.paf.gz ./Racon/Racon1.fa >./Racon/Racon2.fa

and luckily, it succeed!
[RaconWrapper::run] preparing data with rampler
[RaconWrapper::run] processing data with racon
[racon::Polisher::initialize] loaded target sequences
[racon::Polisher::initialize] loaded sequences
[racon::Polisher::initialize] loaded overlaps
[racon::Polisher::initialize] aligned overlap 21713263/21713263
[racon::Polisher::initialize] transformed data into windows
[racon::Window::generate_consensus] warning: contig 102 might be chimeric in window 286!
[racon::Window::generate_consensus] warning: contig 175 might be chimeric in window 575!
[racon::Window::generate_consensus] warning: contig 226 might be chimeric in window 1367!
[racon::Window::generate_consensus] warning: contig 285 might be chimeric in window 606!
[racon::Window::generate_consensus] warning: contig 304 might be chimeric in window 1357!
[racon::Window::generate_consensus] warning: contig 319 might be chimeric in window 8973!
[racon::Window::generate_consensus] warning: contig 319 might be chimeric in window 9913!
[racon::Window::generate_consensus] warning: contig 354 might be chimeric in window 287!
[racon::Window::generate_consensus] warning: contig 391 might be chimeric in window 720!
[racon::Window::generate_consensus] warning: contig 578 might be chimeric in window 2181!
[racon::Window::generate_consensus] warning: contig 591 might be chimeric in window 6399!
[racon::Window::generate_consensus] warning: contig 601 might be chimeric in window 367!
[racon::Window::generate_consensus] warning: contig 788 might be chimeric in window 35!
[racon::Window::generate_consensus] warning: contig 978 might be chimeric in window 1433!
[racon::Window::generate_consensus] warning: contig 985 might be chimeric in window 1026!
[racon::Window::generate_consensus] warning: contig 1019 might be chimeric in window 40!
[racon::Window::generate_consensus] warning: contig 1068 might be chimeric in window 2133!
[racon::Window::generate_consensus] warning: contig 1123 might be chimeric in window 1589!
[racon::Window::generate_consensus] warning: contig 1141 might be chimeric in window 365!
[racon::Window::generate_consensus] warning: contig 1271 might be chimeric in window 1!
[racon::Window::generate_consensus] warning: contig 1355 might be chimeric in window 135!
[racon::Window::generate_consensus] warning: contig 1634 might be chimeric in window 5931!
[racon::Window::generate_consensus] warning: contig 1677 might be chimeric in window 2362!
[racon::Window::generate_consensus] warning: contig 1677 might be chimeric in window 3067!
[racon::Window::generate_consensus] warning: contig 1808 might be chimeric in window 437!
[racon::Window::generate_consensus] warning: contig 2299 might be chimeric in window 22!
[racon::Window::generate_consensus] warning: contig 2319 might be chimeric in window 123!
[racon::Window::generate_consensus] warning: contig 2400 might be chimeric in window 769!
[racon::Window::generate_consensus] warning: contig 2833 might be chimeric in window 767!
[racon::Window::generate_consensus] warning: contig 3203 might be chimeric in window 155!
[racon::Window::generate_consensus] warning: contig 3250 might be chimeric in window 86!
[racon::Window::generate_consensus] warning: contig 3334 might be chimeric in window 962!
[racon::Window::generate_consensus] warning: contig 3482 might be chimeric in window 1564!
[racon::Window::generate_consensus] warning: contig 3713 might be chimeric in window 269!
[racon::Window::generate_consensus] warning: contig 3748 might be chimeric in window 56!
[racon::Polisher::polish] generated consensus for window 1755543/1755543

Well, that is great! But kinda weird that you got segmentation fault instead of killed if it was a memory issue. Let me know if you managr to finish the second iteration as well :)

The memory is more than abundant! I have 256G memory and racon used 160G at most.

If you ran the second iteration on top of the 3000 sequences only, try running the wrapper on the first iterstion as well.


Image is getting clipped

Hi
For some reason the function is not taking the css style into account which makes the chart on pdf clipped.

@adityap86 This seems to be an issue for https://github.com/exupero/saveSvgAsPng. You might want to file an issue there.


Update Game_Doc.txt

Great I am looking forward on your new game doc! Cheers
Date: Thu, 8 Jan 2015 17:38:05 -0800
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Subject: Re: [BoKCG] Update Game_Doc.txt (#1)
Merged #1.
—
Reply to this email directly or view it on GitHub.
	 	   		  =


Source Oscdimg binary directly from Microsoft

As mentioned here https://github.com/ntdevlabs/tiny11builder/pull/43#issuecomment-1501074660, you can automate the download of just the Oscdimg binary directly from Microsoft. Downloading binaries from unofficial sources is generally a bad security practice. Having the script download the binary directly from Microsoft as a first step would increase user trust.
While not the reason for this issue, giving an option and instructions to manually source a Windows 11 disk image file directly from Microsoft would also be preferable.

Thanks for your feedback and indeed I agree with your point of view.
I'm thinking of just removing the use of this binary, because in the first place it doesn't even seems really needed (iirc I've read someone explaining we can do the same work with some PowerShell commands).

@ianis58 Do you have any reference about creating the ISO with only PowerShell? The only solutions I could find: Creating the ISO file structure manually which tedious and error-prone. Or using another Open Source project called DiscUtils which would still include a dll (binary) in this project.
Since downloading oscdimg.exe involves multiple files and an MSI run, downloading a single DLL might be a cleaner solution. But then again I did not find any download (not a powershell expert on how to actually use dependencies).
So in the End, downloading oscdimg.exe might be still the cleaner solution.
I am trying to collect the different improvements people have posted to the original project and throw them all into one new project, which is initially based on your form: https://github.com/dragetd/tiny11builder
I'd like to rename the project (to make it easier to find), document things well, include checksums and more PRs and suggestions from others while keeping it simple and clean. More than happy to chat or re-combine everything into your repo (or a new github organisation) to create 'the final solution' to this. :D

Since downloading oscdimg.exe involves multiple files and an MSI run, downloading a single DLL might be a cleaner solution.

It does involve downloading multiple files, however their combined size only equates to 727 KiB, this is because the Oscdimg MSI is only responsible for creating the Oscdimg binaries while Windows ADK is being installed as a whole. Considering all the other automation this script involves, I can't see why downloading a single DLL would be any simpler than downloading the Oscdimg MSI directly from Microsoft and then extracting it.

In fact, in the way I use the iso once it's build, i don't even need to create an iso at any point:
When I get my iso in the end, I just create a bootable USB flashdrive with it.
As I have an uefi on my motherboard, and not a legacy bios, I can only extract the iso as-is in an empty fat32 or ntfs USB flashdrive, and my system will allow me to boot from that.
Nowadays every PC have an uefi, and except if you have specific hardware or usage, I think you should always prefer using UEFI which allows to use GPT partition table (as opposed to legacy bios boot, which will install windows with an MBR partition table).
So what do you guys think: we could just go one step further and directly create a uefi bootable USB flashdrive, without even creating an iso?
Just have to detect USB drives, check capacity, maybe draw a little list in the PowerShell so the user can choose his drive letter.


odd-looking mapping in readme

in "Configure key mappings":
https://github.com/kakoune-lsp/kakoune-lsp/blob/20b2dcc8465fec12f7464b39ffcf83f8bfa5a6f2/README.asciidoc?plain=1#L93
the LSP mode keymap stops working when any padding is placed between the quoted string:
# breaks the keymap as the spaces inside and around the %{} get interpreted as primitives
map global user l %{ :enter-user-mode lsp<ret> } -docstring "LSP mode"

could the %{} be changed to a double quote string to avoid confusion with %{}s intending to be blocks?
or is there any other reason why it uses that string format?

oh, ok, thanks


feature(proxy): support brotli compression

:pencil: Description

add support for brotli compression

Context
This PR adds the brotli4j library.
Netty 4.x will automatically detect the presence of brotli4j.
When brotli4j is on the runtime classpath, Netty enables brotli compression.
If brotli4j is missing from the runtime classpath, Netty does not provide brotli compression.

cc: @hyperxpro

@kenluluuuluuuuu  this PR is a proof of concept. Please let me know what you think.

@kenluluuuluuuuu is this an active project?

Hi @sullis,
Thanks for attempting to contribute to our project.
However, we're gradually decommissioning the project, and we will only put minimal effort to maintain it.
We won't be adding new features unless there's an absolute need to do so.
Appreciate for the effort and your understanding.
Thanks,
Ken


Tick version to 1.1.0, update template

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.