webpack-hmr never received on the Browser

Bug report
Any time i start my Next.js app locally (haven't seen if this affects production yet) the tab remains permanently in a loading state even after everything is loaded. I opened dev tools and looked at networking and found that "http://localhost:3002/_next/webpack-hmr" is never returned (the only network call without any response).
Describe the bug
http://localhost:3002/_next/webpack-hmr never gets returned to the browser, which is causing all sorts of issues.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Load Next.js app in dev mode

Expected behavior
Loading state finishes in tab when everything works, and normal usage of Next.js app is possible.
System information

OS: macOS
Browser Firefox
Version of Next.js: 7.0.1

Additional context
Potential contributors?

Version of Webpack: 4.23.1
Version of dotenv-webpack: 1.5.7
Version of ESLint: 5.8.0

If anyone could suggest a quick fix, or has information about when a patch will be released that would be fantastic. Thanks

I've updated the title of this issue. If something is "critical" and a "bug" always provide a clear and concise reproduction.
There is no reproduction included and we have tests for HMR, these tests are passing.
If you're saying webpack-hmr is never finished, this is correct, it's an https://developer.mozilla.org/nl/docs/Web/API/EventSource endpoint that keeps sending data.

Hello @timneutkens, Thank you for the feedback, I shall bear that in mind in future.
However, I'm not entirely sure how to offer a reproduction because I do not understand how to replicate the Issue I am seeing. But, I am still seeing it, and it is causing a lot of issues for me / halting my work (despite efforts to rollback dependency versions with no luck).
I believe that you are correct that I inaccurately identified webpack-hmr as the cause. What I am seeing, which was not the case before, is:

Much longer load times
A continual loader on any tabs that my app is open on
Unable to use dropdowns and other interactive inputs for some reason
All routing functionality is unavailable

After waiting for a few minutes I see the following warning in the console:
Invalid HMR message: {"action":"reload","data":["/"]}
Error: No router instance found.
You should only use "next/router" inside the client side of your app.

I haven't modified my usage of next/router in a long time, and it has been working as normal until today.

I'm not sure what we can do based on this description, we really need a reproducible example to be able to look into this issue, also for when there is an issue to add tests for an edge case (if there is any).

It's pretty strange that I'm having exact same issues as you describe and it started to happen after migrating to the 7.0.0 and continues with the 7.0.2
My app is pretty big and getting dynamically created by API's so, it will be pretty difficult to create a reproducible version but I will try whenever I find a time to mock API responses.

Some info that may help debug: I am seeing the same issue within Firefox only within the last day or two, but Chrome continues to work as expected on the same localhost URL.

Like I said, I can't debug without a clear reproduction, so I'll probably have to close this issue as not reproducible.

Issue hasn't re-appeared yesterday or today, consequently I'm not entirely sure what caused the issue, or even how it was resolved. Hopefully it was simply a firefox bug that was patched in the background.


Upgrade Deno version to 1.31.1

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

@alexeagle Can you please help cut a release for this upgrade?

Sure but you can always depend on HEAD.


About traffic_light_unprotected_left_turn in Apollo Planning module

Hello,developers. Recently, I am working on a project about planning module and when I learnt Apollo's code, a question occurred. In scenario TRAFFIC_LIGHT_UNPROTECTED_LEFT_TURN, I notice there exists a transition from stage_approach to lane_follow. This code can be found in stage_approach.cc in code about TRAFFIC_LIGHT_UNPROTECTED_LEFT_TURN.
The condition of this transition is GetContext()->current_traffic_light_overlap_ids.empty(). But in my opinion, once Apollo Planning module decided to enter TRAFFIC_LIGHT_UNPROTECTED_LEFT_TURN scenario, there must be an overlap. So I do not understand why current_traffic_light_overlap_ids() can be empty. The overlap cannot disappear during stage_approach in  TRAFFIC_LIGHT_UNPROTECTED_LEFT_TURN. So I do not think this transition can be achieved during driving procedure.
So is this code below a dead code?
if (GetContext()->current_traffic_light_overlap_ids.empty()) {
return FinishScenario();
}
Or there exists some real driving scenarios that can trigger this transition？I hope for your guide.
Thank you very much.

Maybe it was added to make sure Apollo doesn't "accidentally" go into TRAFFIC_LIGHT_UNPROTECTED_LEFT_TURN with no traffic light. This safe-check pattern can also be found in other scenario stage, for example https://github.com/ApolloAuto/apollo/blob/a3c851fc5844e0684b9c5108231fcc2c15cebb8e/modules/planning/scenarios/bare_intersection/unprotected/stage_approach.cc#L56C1-L58C4


[Discuss] Is there any  encode & decode functions in ohter coding languages?

Hi , I tried this repo from starter, and find it so nice !
Is there any  encode & decode functions in ohter coding languages?
So that we can submit a string to backend and then using other coding language to decode it !
Thanks!

This repository is for base2048, a JavaScript implementation of the Base2048 encoding. There may be implementations of Base2048 in other programming languages but if there are I haven't been told about them. I suggest a Google search.


Support iOS Simulator on M1 Mac (aarch64-apple-ios-sim)

This PR add support for iOS Simulator on M1 Mac ( aarch64-apple-ios-sim ).

Thanks!
bors r+

@flfymoss how to use it? I just tried it doesn't work I'm getting error build: Entry point (_main) undefined. for architecture arm64 what I'm doing wrong?


Send a email to Partner/Requestor when their application has been approved.

Any recommendations about the body of the email?
So far, I have
Hi <partner name>

<org name> has approved your application.

The recertification  requested email has a link to login, but that one requires action where this one really isn't a call to action. Should I include a link here too?

Going with a link to their dashboard at Scott's suggestion


Incremental update engine.

Hi ,
Does Fairseq support incremental updates? If so, is there relevant documentation.
thanks

What are incremental updates?
We support delayed updates (i.e., accumulate multiple batches of gradients before each update), is that what you mean? This is documented here: https://fairseq.readthedocs.io/en/latest/getting_started.html#large-mini-batch-training-with-delayed-updates


fix nearest-neighbor rounding in Util.toFixed

Behavior of Math.round (and therefore dot.Util.toFixed) is currently:
Math.round(1.5) -> 2, Math.round(-1.5) -> -1.
This is not desirable for PhET sims.  The desired behavior is one that treats positive and negative values symmetrically. Take care of this in dot.Util.toFixed.

The desired behavior (which I've implemented in Util.toFixed) is IEEE 754 "Round half away from zero" algorithm, see https://en.wikipedia.org/wiki/Rounding#Round_half_away_from_zero. It treats positive and negative values symmetrically.
It occurred to me that it would be nice to have  a round function that behaves this way, and could be used by Util.toFixed.

Work completed.  I added Util.roundSymmetric, and used it in Util.toFixed.  I added documentation about the problem with Math.round, and references to the relevant IEEE 754 specs.
Assigning to @jonathanolson to review.

Summary for developers, which I will also send in an email and Skype:
JavaScript’s Math.round uses “round half up”, which does not treat positive and negative numbers symmetrically. For example:

Math.round( 1.5 )
2
Math.round( -1.5 )
-1

That behavior is problematic for PhET sims, where we want to treat positive and negative numbers symmetrically.
I’ve added dot.Util.roundSymmetric, which treats positive and negative numbers symmetrically and uses the "round half away from zero“ algorithm. Here’s an example:

Util.roundSymmetric( 1.5 )
2
Util.roundSymmetric( -1.5 )
-2

Util.roundSymmetric is also used in Util.toFixed, so that formatting of numbers will also be treat positive and negative numbers symmetrically. Example:

Util.toFixed( 1.56, 1 )
“1.6”
Util.toFixed( -1.56, 1 )
“-1.6"

Recommendations:
• Don’t use Math.round unless you want “round half up” behavior
• Inspect uses of Math.round in existing sim code, and change to Util.roundSymmetric where appropriate

Re:

• Look for inappropriate uses of Math.round during code reviews

I've added this section to the Code Review Checklist (https://github.com/phetsims/phet-info/blob/master/code_review_checklist.md):
Common Errors

[ ] Is Math.random used where dot.Util.randomSymmetric should be used?  Math.random does not treat positive and negative numbers symmetrically, see https://github.com/phetsims/dot/issues/35#issuecomment-113587879
[ ] Is toFixed used where dot.Util.toFixed or dot.Util.toFixedNumber should be used? JavaScript's toFixed is notoriously buggy, behavior differs depending on browser, because the spec doesn't specify whether to round or floor.

Re:

Inspect uses of Math.round in existing sim code, and change to Util.roundSymmetric where appropriate

Addressing in https://github.com/phetsims/tasks/issues/275.

Looks good to me.
The only case where it really otherwise deviates seems to be -0:
Math.round( -0 ); // -0
roundSymmetric( -0 ); // 0

Feel free to close if it was just pending on review.

@jonathanolson I purposely did not round -0 to -0 because generally we don't want to display -0 in sims.  Do you disagree? Is the issue only with -0, or do you think that -1.2 should be rounded to -0?

I purposely did not round -0 to -0 because generally we don't want to display -0 in sims. Do you disagree? Is the issue only with -0, or do you think that -1.2 should be rounded to -0?

Sounds fine to me, just wanted to note it.

I'll note the -0 behavior in the documentation.

https://github.com/phetsims/dot/commit/65da3f573d6d13ae776d93aed25eed022079f33d
Closing.


SqlClient support for Windows on ARM32 for IoT scenarios

Currently there is no native implementation of SNI for ARM32.
I am creating this issue to track this because it is one of the platforms supported by .NET Core for IoT scenarios. We don't have data on customer demand to estimate the priority, so this can be in the backlog.
If you try to use SqlClient on this platforms, as shown in https://github.com/dotnet/corefx/issues/33999, you get a TypeInitializationException.
In the future, support could be provided, by either shipping a native implementation or using the managed implementation. At least, SqlClient could ship with a shim that throws PlatformNotSupportedException for a more graceful experience.

We do have an arm based sni.dll:
Dump of file sni.dll

PE signature found

File Type: DLL

FILE HEADER VALUES
             1C4 machine (ARM)

https://www.nuget.org/packages/System.Data.SqlClient.sni-arm/4.0.0-beta-23225. That said, that package has a win7 specific RID.

We recently released support for ARM for .NET Core and .NET Standard in Microsoft.Data.SqlClient v2.0.0-preview4. Closing the issue as addressed.


[modify] hide "permission_level" at default

Coverage decreased (-17.4%) to 50.846% when pulling 0f8c5833b0d8e14e1ccd13c19634ce5220a8137d on sunny4381:features/hide-permission-level into e4286d56c493cf2bb14989f15b63df65d9846dd9 on shirasagi:master.


Files get copied with Archive and Hidden flags added (xattrs)

Hi, I have syncthing running in Kubernetes and I use your dirver (latest version) to sync files into my FreeNas SMB share. Some reason files get copied with Archive and Hidden flags added. Did anyone noticed something like that before?
Please see my original post on FreeNas forum for more details.
Thanks!

more details here would be useful.
but according to this https://github.com/kubernetes-sigs/azurefile-csi-driver/issues/259 Azure File doesn't support xattrs (not sure if you use Azure Files)


Name Bikeshed

Currently this is proposing compact as the name.
This issue is to allow for bike shedding of a different name, as I am sure there will be a desire to consider alternate names.

Another name for this may be discard.


Possibility to set custom API version in EphemeralKeyRoutes

Custom API version in that request is required to be implemented, because ephermalKeys.create is sent by mobile application which API version may differ from framework's one.
E.g. iOS application may have 2015-01-01 api version and it will need to receive reply using that api version from Stripe, framework just proxies reply from Stripe to iOS app without actual processing.
Custom API version for that request is implemented in all Stripe-powered frameworks like stripe-php/.../EphermalKey.php

@Sorix thanks! This is helpful since ephemeral keys isn’t documented. I’ll get it merged and tag a release in the next couple hours.
Sent with GitHawk

@Sorix 👍 Nice work.
@Andrewangeta I'll get this tagged

@anthonycastelli This looks good I'm going to go ahead and merge it.


cleanup: Simplify deeply nested handlebars templates

The following handlebars templates have very deep nesting:
admin_tab.handlebars
settings_tab.handlebars
single_message.handlebars
Ideally we can simplify the HTML itself, but more realistically we can break out some partials.

For admin_tab and settings_tab we can probably use the upcoming re-design of our settings screens as a good opportunity to think about simplifying or breaking up the corresponding templates.  For single_message, there may be some minor re-design changes, but even without re-design, I think we should decide if we really need a zillion divs around each message.

@brockwhittaker has been doing some work on those two to make them simpler to design, which I think may have the side effect of decreasing the div crazyness...

I think the admin_tab and settings_tab ones are now resolved since they've been broken into a bunch of subcomponents.

I'm going to close this ticket.  If the only remaining deeply-indented template is the single_message one, I'd still be inclined to do 4-space indents for all of our templates.  I'm not sure how actionable this is right now--I wouldn't want to mess with the template unless it was part of improving the message view (which might be coming up as part of the re-design.)


Update ext4 formatting options

We should add -C 16384 -O bigalloc to the ext4 formatting options.
16384 is the native page size on most modern SSDs, forcing file system to use it instead of inferred 512 or 4096 will improve performance and reduce write amplification.
Something new I learned today :slightly_smiling_face:

Fixed in https://github.com/autonomys/subspace-docs/pull/774.


Return mock outputs when skip_outputs is set to true

When doing validate in CI pipeline, we disable the remote state initialization with :
remote_state {
  # ...
  disable_init = tobool(get_env("TERRAGRUNT_DISABLE_INIT", "false"))
}

So we need to pass dependency.mock_outputs with skip_outputs set to true. But when set to true, dependency doesn't have output.
With this PR, we return the mock output when skip_outputs is set to true. The skip_outputs should be used only to not pull outputs from remote state and not to disable mock outputs.

@yorinasub17  @brikis98 any thoughts ?

@yorinasub17 Could you review?

@yorinasub17 ready for review.
PS: I didn't run all tests.

Thanks for getting the updates in! Kicked off our build.

Looks like TestDependencyOutput, TestDependencyOutputSkipOutputs, and TestDependencyOutputSkipOutputsWithMockOutput failed in CI. Don't have time to dig in, but see if you can repro locally?

For TestDependencyOutputSkipOutputs I think it's failing normally because of :
-- FAIL: TestDependencyOutputSkipOutputs (0.06s)
    integration_test.go:1992: Copying fixture-get-output to /var/folders/r8/smx4f8_x0hsfh4rqzv3d_w340000gn/T/terragrunt-test224902107
    integration_test.go:1641:
        	Error Trace:	integration_test.go:1641
        	Error:      	Received unexpected error:
        	            	/var/folders/r8/smx4f8_x0hsfh4rqzv3d_w340000gn/T/terragrunt-test224902107/fixture-get-output/integration/app1/terragrunt.hcl is a dependency of /var/folders/r8/smx4f8_x0hsfh4rqzv3d_w340000gn/T/terragrunt-test224902107/fixture-get-output/integration/empty/terragrunt.hcl but detected no outputs. Either the target module has not been applied yet, or the module has no outputs. If this is expected, set the skip_outputs flag to true on the dependency block.
        	Test:       	TestDependencyOutputSkipOutputs

By reading https://github.com/gruntwork-io/terragrunt/blob/master/config/dependency.go#L217-L220
// This will attempt to get the outputs from the target terragrunt config if it is applied. If it is not applied, the
// behavior is different depending on the configuration of the dependency:
// - If the dependency block indicates a mock_outputs attribute, this will return that.
// - If the dependency block does NOT indicate a mock_outputs attribute, this will return an error.

It sounds like it normal to fail because, https://github.com/gruntwork-io/terragrunt/blob/master/test/fixture-get-output/integration/empty/terragrunt.hcl skip outputs, but doesn't have mock outputs.

Is this worked before as expected ?

Yes this worked before as expected, and I would want to support this interface where you can use skip_outputs without setting mock outputs. This supports the following use cases:

If we remove dependencies block in the future, you can replace them with dependency block with skip_outputs = true if you are still using terraform_remote_state to avoid the performance cost of looking up the outputs.
If we enhance dependency to read the terragrunt config and load various configurations that you can reference (e.g using dependency.vpc.inputs.aws_region to read the inputs from another configuration for example), setting mock_outputs doesn't make sense because we have no intention of reading them.

The comment was consistent before because skip_outputs skipped calling that routine, which made sense because skip_outputs was intended to be used to mean "skip output pulling routing", not "return mock outputs".
So given all that, I think the logic needs to be updated so that when skip_outputs is true, but mock_outputs is not set, it should return empty object for outputs instead of erroring. Can you also update the comment of the routine to indicate this behavior? Thanks!

@yorinasub17 Thanks for your explanation. The PR is ready for review.

Sorry for the delay in getting back. Kicked off another build!

Ok the build passed, so going to merge and release this. Thanks for your contribution!


Add gatsby-plugin-htaccess for deployment to Apache-based server. (see: https://www.gatsbyjs.org/packages/gatsby-plugin-htaccess/)

The puzzle 1-fb05d954 from #1 has to be resolved:
https://github.com/codeforthailand/election-live/blob/12cc5ec75942427a48303dacff7356b138bc3970/gatsby-config.js#L35-L36
The puzzle was created by Thai Pangsakulyanont on 19-Mar-19.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 1-fb05d954 has disappeared from the source code, that's why I closed this issue.


Failures on [pkg/vm] Handle switch statements in unreachable code eliminator

There are new test failures on [tests][web-fixit] Fix date_time_extremes_test....Reland "[pkg/vm] Handle switch statements in unreachable code eliminator.".
The tests
language/nnbd/boolean_conversion/boolean_conversion_weak_test RuntimeError (expected Pass)

are failing on configurations
dartkp-weak-asserts-linux-release-x64

Log: https://dart-ci.appspot.com/log/vm-kernel-precomp-linux-release-x64/dartkp-weak-asserts-linux-release-x64/15831/language/nnbd/boolean_conversion/boolean_conversion_weak_test
exit code:
255

stderr:
Unhandled exception:
Expect.throws(AssertionError) fails: Did not throw
#0      Expect._fail (package:expect/expect.dart:721)
#1      Expect.throws (package:expect/expect.dart:629)
#2      Expect.throwsAssertionError (package:expect/expect.dart:638)
#3      check (file:///b/s/w/ir/tests/language/nnbd/boolean_conversion/boolean_conversion_lib1.dart:27)
#4      main (file:///b/s/w/ir/tests/language/nnbd/boolean_conversion/boolean_conversion_weak_test.dart:18)
#5      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297)
#6      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184)

--- Re-run this test:
python3 tools/test.py -n dartkp-weak-asserts-linux-release-x64 language/nnbd/boolean_conversion/boolean_conversion_weak_test

Will bisect locally.
tools/bisect.dart \
-Dend=262311772b2128ef778d0a1d189f0c6c51780132 \
-Dstart=751a47f942268c3c61561f4ee77466f1e5066930 \
-Dtest_command="python3 tools/test.py --build -n dartkp-weak-asserts-linux-release-x64 language/nnbd/boolean_conversion/boolean_conversion_weak_test" \
-Dfailure_string="Expect.throws(AssertionError) fails: Did not throw"

It's likely that the following regressions were caused by the same change. These are also all related to bools and nulls in legacy mode.
There are new test failures on [tests][web-fixit] Fix date_time_extremes_test....[cfe] Update ast-to-text.
The tests
co19/Language/Expressions/Logical_Boolean_Expressions/syntax_t01 RuntimeError (expected Pass)
co19_2/Language/Expressions/Logical_Boolean_Expressions/syntax_t01 RuntimeError (expected Pass)
language/regress/regress34147_test RuntimeError (expected Pass)
language_2/if_null/precedence_runtime_test RuntimeError (expected Pass)
language_2/regress/regress34147_test RuntimeError (expected Pass)

are failing on configurations
dartkp-linux-debug-x64
dartkp-linux-release-x64
dartkp-weak-asserts-linux-release-x64


dawPlugins: init

A new package set for DAW plugins such as LV2 plugins.
We have quite a lot of plugins, but they're spread out. Some
time ago someone even noticed we had a plugin twice. Let's
put them all together in a set.

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

I wonder whether we should have different sets per plugin type. That may make more sense.
Note I don't work with any DAW, I just want all-packages.nix to get a bit cleaner.

@Infinisil this is an OK method for creating an easily overrideable package set?

@FRidh This has come up a couple of times now, so thanks for doing it!
Two suggestions:

Rename the package to DAW-plugins, sine DAW-packages to me implies it contains the DAW's that run the plugins. It seems that was the original name you had too.
Include all ladspa, lxvst and vst plugins too, because:

the DAW's usually support all, or most of these.
a lot of plugins include multiple formats in the same repo.

Rename the file to DAW-plugins, to be consistent with the package name.

Done!

Include all dssi, ladspa, lxvst and vst plugins, because the DAW's usually support all, or most of these, and a lot of plugins include multiple formats in the same repo.

Right. I am going to need help there identifying packages. But, before I make any further changes, I am going to wait a bit for more feedback.
One could be critical and ask What makes these libraries (they're just .so's) different that they should be in a separate set?. Maybe a naming scheme would be sufficient, considering a subset is a bit more of a hassle to override.

I am going to need help there identifying packages.

OK, here we go:
These have LV2 plugins, though in some cases they are also hosts and often they also have other formats.
artyFX
bjumblr
bsequencer
bshapr
bslizr
calf
distrho
dragonfly-reverb
drumgizmo
drumkv1
ensemble-chorus
eq10q
fmsynth
fomp
foo-yc20
guitarix
helm
hybridreverb2
infamousPlugins
ingen
linuxsampler
lsp-plugins
mod-distortion
ninjas2
noise-repellent
qmidiarp
samplv2
setbfree
sfizz
sorcer
spectmorph
speech-denoiser
stone-phaser
string-machine
synthv1
tambura
wolf-shaper
x42-avldrums
x42-gmsynth
x42-plugins
yoshimi
zam-plugins

These have ladspa plugins:
AMB-plugins
FIL-plugins
caps
cmt
csa
distrho
jamin
ladspaPlugins
lsp-plugins
nova-filters
zam-plugins

These have dssi:
wolf-shaper
xsynth_dssi

These have vst and or lxvst:
lsp-plugins
ninjas2
wolf-shaper
zam-plugins

There are also a couple of plugins in the pipeline:
https://github.com/NixOS/nixpkgs/pull/82308
https://github.com/NixOS/nixpkgs/pull/82835
https://github.com/NixOS/nixpkgs/pull/85776
https://github.com/NixOS/nixpkgs/pull/88898
https://github.com/NixOS/nixpkgs/pull/89171

But, before I make any further changes, I am going to wait a bit for more feedback.

Makes sense.

Maybe a naming scheme would be sufficient, considering a subset is a bit more of a hassle to override.

I didn't know that.
I want/need to override some plugins sometimes, so that makes me strongly prefer a naming scheme.
Are there any significant downsides?


input-group buttons are misaligned

When using this code in v4-alpha6:

  <form class="form-inline my-2">

      Monitoring:

        <button class="btn btn-outline-primary" type="button">All</button>

        <button class="btn btn-outline-success" type="button">Yes</button>

        <button class="btn btn-outline-danger" type="button">No</button>

  </form>

I get this:

As you can see, the add-on buttons are overlapping by 2-3 pixels.
I tested it in both Firefox 44 and Chrome 59 on Ubuntu 17.04

https://jsfiddle.net/enwfc3q5/

Confirmed on my end. Looks like we're giving all those left and right negative margin. Will need to revisit some selectors there.

could this work?
https://codepen.io/gijsbotje/pen/pwxbXx


At the request of the entire mod community.

How close are we to 1.20.1 coming out? Or else, is an update planned for those versions?.
I ask you this because the entire community is intrigued by it, don't take this the wrong way, we don't want to rush you or anything, it's just for the intrigue, thank you very much for everything you do for the mod, it's one of the best there is and I really appreciate your job.
Sorry if my English is bad it's because I used Google Translate.
I await a response from you, thank you very much for everything.

I just released that version now. Enjoy.
Closing


jBPM Form Builder (guvnor integration)

This pull request should be done after pull request https://github.com/droolsjbpm/jbpm/pull/51 is finished. It provides jBPM Form Builder integration with guvnor using a similar scheme from the process designer.

Looks pretty good. I would just like to give you few tips. No need to change anything, just something you can do with the next pull requests.
Commit your changes with:
JIRA-number : Jira title
-Additional comments
Example:
GUVNOR-1817 : Screen service
-Added few unit tests
This makes it easier for us to track the changes.
Another thing is rebasing. If you use rebase, the "Merge branch" commits will disappear and the commit history will be cleaner. There are several ways to use rebasing.
This is how I do them with the topic branches:
Create the topic branch
git checkout -b myLocalBranchName
Do some changes.
Commit the changes with the jira info
git commit -m "JIRA-number: Jira title"
git checkout master
git fetch
I merge the origin master to my local master. Because all my changes are in the topic branch, after this my master just has all the commits that are in the remote master.
git merge origin/master
git checkout myLocalBranchName
This puts the commits in your topic branch and inserts them between the commits in the master.  Please check :)


⚠ Bofrost.at has degraded performance

In 17554b6, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1971 ms

Resolved: Bofrost.at performance has improved in 27fd358 after 13 minutes.


(maint) Update CODEOWNERS for bolt_server

Sets @puppetlabs/skeletor as owners for bolt_server

CLA signed by all contributors.


Upgrading from angular 11 to 12

I'm trying  upgrade to angular 12 and i when run the "ng update @angular/core@12 @angular/cli@12", i get the following error:
Package specified by '@angular/core@12' does not exist within the registry.
Running "ng version" shows the following:

I am unable to replicate this using the public NPM registry. If you are using a private NPM registry make sure that it is not stalled.


Update resource once after CNS changed

Codecov Report

Merging #78 into release-rc4 will decrease coverage by 0.16%.
The diff coverage is 13.33%.

@@                Coverage Diff                @@
##             release-rc4      #78      +/-   ##
=================================================
- Coverage          36.99%   36.82%   -0.17%
  Complexity           357      357
=================================================
  Files                 48       48
  Lines               3568     3595      +27
  Branches             310      314       +4
=================================================
+ Hits                1320     1324       +4
- Misses              2158     2179      +21
- Partials              90       92       +2

Impacted Files
Coverage Δ
Complexity Δ

.../com/webank/wecross/stub/bcos/AsyncCnsService.java
2.08% <ø> (ø)
2.00 <0.00> (ø)

...a/com/webank/wecross/stub/bcos/BCOSConnection.java
66.79% <13.33%> (-1.65%)
25.00 <0.00> (ø)

...wecross/stub/bcos/config/BCOSStubConfigParser.java
84.69% <0.00%> (-4.56%)
7.00% <0.00%> (ø%)

...va/com/webank/wecross/stub/bcos/abi/ABIObject.java
78.84% <0.00%> (-0.23%)
93.00% <0.00%> (ø%)

.../java/com/webank/wecross/stub/bcos/BCOSDriver.java
19.67% <0.00%> (-0.11%)
31.00% <0.00%> (ø%)

...ross/stub/bcos/performance/guomi/HelloWeCross.java
0.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

...oss/stub/bcos/performance/normal/HelloWeCross.java
0.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

...nk/wecross/stub/bcos/contract/FunctionUtility.java
55.38% <0.00%> (+1.41%)
16.00% <0.00%> (ø%)

Continue to review full report at Codecov.

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


Benchmark and optimize on large datasets

[x] Choose and download locally one of Nick's huge datasets.
[x] Optimize the cluster store (generation time and loading time)

Initialize all arrays in the cluster store
Loop over all spikes
Copy over the features and masks in the cluster store

[ ] Benchmark

Some work has been done in #160 concerning benchmarking and optimization of the cluster store generation (happens only once, when a dataset is first loaded into phy).
Recall that the cluster store stores one HDF5 file per cluster. This file contains the features and masks of that cluster in dense format (for now). The files are currently saved to ~/.phy/cluster_store/my_dataset/. The cluster store is generated when opening a dataset for the first time on a given computer. Re-opening the dataset on the same computer allows to reuse the existing cluster store. There is some partial consistency check to be sure that the KWIK file and the cluster store haven't diverged, otherwise the cluster store has to be re-generated.
The current implementation uses very little RAM but is very slow. The HDF5 cluster files are first initialized and contain empty arrays of the right size. Then, there is a loop over spikes. For every spike, the features and masks are loaded from the KWX file and copied to the corresponding HDF5 cluster file.
On small dataset 1 (HDD), it takes 15 seconds. On huge dataset 3, it takes 35 minutes. Using a SSD leads to virtually no improvement.
Ideas for improving the implementation:

Pre-load a big contiguous chunk of features_masks in memory (100,000 spikes or whatever) instead of fetching every spike straight from HDF5.
Instead of preallocating the HDF5 cluster files, write the data to temporary flat binary files. Appending data to such files is much faster than appending to an HDF5 array. At the end, copy these binary files into the HDF5 cluster files.
Write to the HDF5 cluster files in chunk instead of spike-per-spike.
Forgetting about HDF5 completely and using flat binary files for the cluster store. However this is not trivial because we need to keep information about the array metadata somewhere, so we'll end up inventing our own file format.

opinions @cgestes @nippoo ?

 I think we need something else.
One possibility would be to design our own file format, but that's risky.
bcolz is an interesting option. It can be easily installed with conda.
Here is a gist with a quick and dirty benchmark script.

@cgestes is that something you'd want to look into once you're done with the GUI? That would give me more time to make progress on the rest of the Python API.
Let me explain what to benchmark (see the gist above):

Start from a big (n_spikes, n_channels) array in HDF5 (the KWX file, we can't change the format for now)
You have a cluster assigned to each spike
The end-result must be a set of files, one per cluster, containing the sub-array corresponding to the spikes in that cluster
Eventually there will be several arrays in each file (typically 2, features and masks), but for benchmark it should be enough to use only one
In the gist above, I process the data chunk by chunk, and I save the results incrementally on the disk (appending is fast on flat binary files)
Finally, I put back the binary files into HDF5 (this is slow)

It would be better if we could get rid of the last step. So we want a unique file format such that:

appending data is fast
I/O is fast
don't care about file size

For profiling you can use line_profiler. Don't forget to clear the OS cache too.

OK this is fixed in #160, closing.
The cluster store generation is now limited by I/O speed. It takes 3 minutes on Nick's dataset instead of more than 30 min with the previous implementation. Here is what I did:

I switched from HDF5 to flat raw binary files for the cluster files (one file for the features, one for the masks)
I don't store any metadata like dtype or shape: it is up to the code to know which shape and dtype to use. This makes everything much simpler.
I go through the original features_masks array in chunks of 10,000-100,000 spikes.


Installation Instructions for Ubuntu

How to burn & install from the latest LTS of Ubuntu (LTS for convenience of not having to update screenshots every 6 months)

I take this one :-)


Training the lyft dataset error!

Hi !
First, according to the content prompted by this repo, I completed the configuration of the environment.
Second,  I downloaded the lyft dataset，and used ‘tools/create_data.py’to preprocess this dataset. After preprocessing, I got several pkl files：lyft_infos_test.pkl、lyft_infos_train.pkl、lyft_infos_val.pkl and several json files: lyft_infos_train.coco.json、lyft_infos_val.coco.json.
My training command is python tools/train.py /home/lyb/DataServer/upload_tool/Project/mmdetection3d-master/configs/pointpillars/hv_pointpillars_fpn_sbn-all_2x8_2x_lyft-3d.py --work-dir /home/lyb/DataServer/upload_tool/Project/mmdetection3d-master/train_dir
When I try to use this framework to train the lyft dataset, I encountered this error：
Traceback (most recent call last):   File "tools/train.py", line 222, in <module>     main()   File "tools/train.py", line 218, in main     meta=meta)   File "/home/lyb/DataServer/upload_tool/Project/mmdetection3d-master/mmdet3d/apis/train.py", line 34, in train_model     meta=meta)   File "/home/lyb/DataServer/upload_tool/Project/mmdetection-2.11.0/mmdet/apis/train.py", line 170, in train_detector     runner.run(data_loaders, cfg.workflow)   File "/home/lyb/Project/mmlab/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 125, in run     epoch_runner(data_loaders[i], **kwargs)   File "/home/lyb/Project/mmlab/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 47, in train     for i, data_batch in enumerate(self.data_loader):   File "/home/lyb/Project/mmlab/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 363, in __next__     data = self._next_data()   File "/home/lyb/Project/mmlab/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 989, in _next_data     return self._process_data(data)   File "/home/lyb/Project/mmlab/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1014, in _process_data     data.reraise()   File "/home/lyb/Project/mmlab/lib/python3.7/site-packages/torch/_utils.py", line 395, in reraise     raise self.exc_type(msg) ValueError: Caught ValueError in DataLoader worker process 2. Original Traceback (most recent call last):   File "/home/lyb/Project/mmlab/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 185, in _worker_loop     data = fetcher.fetch(index)   File "/home/lyb/Project/mmlab/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch     data = [self.dataset[idx] for idx in possibly_batched_index]   File "/home/lyb/Project/mmlab/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>     data = [self.dataset[idx] for idx in possibly_batched_index]   File "/home/lyb/DataServer/upload_tool/Project/mmdetection3d-master/mmdet3d/datasets/custom_3d.py", line 378, in __getitem__     data = self.prepare_train_data(idx)   File "/home/lyb/DataServer/upload_tool/Project/mmdetection3d-master/mmdet3d/datasets/custom_3d.py", line 153, in prepare_train_data     example = self.pipeline(input_dict)   File "/home/lyb/DataServer/upload_tool/Project/mmdetection-2.11.0/mmdet/datasets/pipelines/compose.py", line 40, in __call__     data = t(data)   File "/home/lyb/DataServer/upload_tool/Project/mmdetection3d-master/mmdet3d/datasets/pipelines/loading.py", line 409, in __call__     points = points.reshape(-1, self.load_dim) ValueError: cannot reshape array of size 265728 into shape (5)
It's strange that the training process has been started for a while, and the training iteration has already started. I think it may be because of the feature dimension of a certain data loaded during the training process，but it is difficult for me to find which data has the problem.
Could you tell me in more detail how to solve this problem?  I thought of using the “try....except..”  to avoid the termination of training due to this problem, but I am not sure where in the code should be used.
Looking forward to your reply, thank you very much！

That's a problem about the raw data provided by Lyft. We are just prepared to add a trouble shooting issue for it. Please refer to the PR #546 .

#546 has been merged, then you can refer to this file and new instructions about data preparation for Lyft in the doc.

Thanks a lot! I have resolved this problem. Looking forward to you posting more tutorials on mmdetection3D!


Add array_cum_sum function

Adds Presto array function array_cum_sum. Resolves https://github.com/prestodb/presto/issues/20293 .

@pramodsatya : Please can you rebase and get a clean test run.

@Yuhta @kagamiori : Would be great to get your review/merge help.

Hi @pramodsatya it looks like we lost track of this change as it was never merged, could you rebase and update the PR?

Hi @pramodsatya it looks like we lost track of this change as it was never merged, could you rebase and update the PR?

Hi @kevinwilfong, I have rebased the PR, thanks for helping with the merge.


Can this be used to enhance object detection?

Thanks for your open source code. Can this work be used to merge frames of a time series to get a higher dectection accuracy. For example, I have a lidar with 16 lines. Can I use this work to combine two frames to simulate a Lidar with 32 lines?

hi,
Point cloud registration does exactly the job of "merging frames", and it has been confirmed in nuScenes paper that we can get a higher accuracy by merging multiple frames. However, you will have to adapt our model to your data sparsity for robust and accurate registration.

Thanks for your reply! I am pretty new about point cloud registration. Actually, I am carring a wireless related project. and I need to use Lidar as a ground truth. My lidar data is pretty simliar to KITTI so I want to try overlapPredator with my own Lidar of 16 lines.
By inplement your project and run
python scripts/demo.py configs/test/indoor.yaml

I see that two frames has been merged with a transform matrix.  Is there a similar visualization demo with KITTI?


Allow to use custom extra_plugins

By example, use:
          extra_plugins: |
          @semantic-release/commit-analyzer
          @semantic-release/git
          @semantic-release/github

Instead of
extra_plugins: |
          @semantic-release/commit-analyzer
          @semantic-release/release-notes-generator
          @semantic-release/git
          @semantic-release/github

For that, I plan to wait until #3 implementation in order to use the configuration to calculate the needed extra_plugins based on repository configuration to stay opinionated 😄
With this issue, the default (and opinionated) configuration will be
extra_plugins: |
          @semantic-release/commit-analyzer
          @semantic-release/release-notes-generator
          @semantic-release/git
          @semantic-release/github

And if you have (let say) a .releaserc file with the following content
{
  "plugins": [
    "@semantic-release/commit-analyzer",
    "@semantic-release/release-notes-generator",
    "@semantic-release/npm",
    "@semantic-release/git"
  ]
}

Then the action extra_plugins configuration will be like
extra_plugins: |
          @semantic-release/commit-analyzer
          @semantic-release/release-notes-generator
          @semantic-release/npm
          @semantic-release/git

In addition, the following plugins are already bundled, we do not need to add it as extra_plugins in the associated sub-action
"@semantic-release/commit-analyzer"
"@semantic-release/release-notes-generator"
"@semantic-release/npm"
"@semantic-release/github"


error when running with 1.7.0

$ /home/mxdl/venv/bin/mangadex-dl -dr 1 -ngn --language en --save-as cbz --folder /comics/Manga https://mangadex.org/title/78abd677-3058-4a71-8dd4-1d687e5a1e64/how-to-kill-a-god --start-chapter 50 --end-chapter 51
Error: 'None' is not valid value, available values are ['cloudflare', 'cloudflare-security', 'cloudflare-family', 'opendns', 'opendns-family', 'adguard', 'adguard-family', 'adguard-unfiltered', 'quad9', 'quad9-unsecured', 'google']

Yep confirmed, it is broken because of DNS-over-HTTPS thing. You can temporary fix by using -doh <provider>  option.
On my way to fix this.

Fixed in https://github.com/mansuf/mangadex-downloader/commit/73d80914fb24714317a695591d7fbeb787a29f4e and https://github.com/mansuf/mangadex-downloader/commit/e00a89ec557e5eae5c561f9ee3b2812f375cf9db

Released in v1.7.1

Does this new version force usage of dns over https?  Or does it only do it if I give that option?

Nope, optional only. You can enable dns over https by providing -doh or --dns-over-https option


Action status methods are autobound

Action status methods, like action.resolve(), or action.reject() are now auto-bound. This means that you can pass them directly into a callback, and the scope of the method will remain as the action. This is particularly useful when working with AJAX libraries. For example, when working with superagent:
import superagent from 'superagent'

function getPlanets () {
  return action => {
    let request = superagent.get('/planets')

    request.on('request', action.open)
    request.on('progress', action.update)

    request.then(action.resolve, action.reject)
  }
}

I also added a strict-mode warning for when you try to complete an action that has already finished:

Related issues:
https://github.com/vigetlabs/microcosm/issues/144

Codecov Report

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

@@          Coverage Diff          @@
##           master   #298   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          22     22
  Lines         807    801    -6
=====================================
- Hits          807    801    -6

Impacted Files
Coverage Δ

src/action.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Handshake icon is missing in lucide-react

Package

[ ] lucide
[ ] lucide-angular
[ ] lucide-flutter
[ ] lucide-preact
[X] lucide-react
[ ] lucide-react-native
[ ] lucide-solid
[ ] lucide-svelte
[ ] lucide-vue
[ ] lucide-vue-next
[ ] Figma plugin
[ ] source/main
[ ] other/not relevant

Version
0.294.0
Can you reproduce this in the latest version?

[X] Yes
[ ] No

Browser

[X] Chrome/Chromium
[ ] Firefox
[ ] Safari
[ ] Edge
[ ] iOS Safari
[ ] Opera
[ ] Other/not relevant

Operating system

[ ] Windows
[ ] Linux
[X] macOS
[ ] Other/not relevant

Description
Handshake icon is missing.
Note that HeartHandshake exists.
Steps to reproduce
import { Handshake } from 'lucide-react'
=> Module '"lucide-react"' has no exported member 'Handshake'.

Checklist

[X] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)

You need to update, as the site indicates, handshake was only added in v0.321.0

Ahh thanks! Somehow I assumed it was created before HeartHandshake :)


Publish on Open VSX

This extension works great, but I'm using VSCodium so I'm unable to use the VSCode Marketplace and I have to download the .vsix file everytime.
Could you please publish this extension on the Open VSX Registry so installation and updating becomes easier for users of all OSS builds of VSCode?

Sorry for the delay. Yes, I'll have this published on Open VSX soon and will automate this publish step for future releases.

Closing this out since the latest version is now live of the open-vsx registry. I opened an issue to start the namespace verification process.
https://open-vsx.org/extension/cmoog/sqlnotebook
https://github.com/EclipseFdn/open-vsx.org/issues/783


gRPC: Implement max_receive_message_length in envoy gRPC

Over-frame-limit error can now be surfaced from gRPC codec level after PR #32511
Envoy gRPC client can leverage this to implement max_recevie_meassage_length with config field. This field is defaulted to 0, which means no limits.

When the message is over limit, it can be rejected  before frame data is fully decoded (i.e. expanded).
This can prevent malicious attack , for example, unbounded and huge message is sent over channel and is injected and buffered in Envoy over Envoy-gRPC.

error status will be improved by https://github.com/envoyproxy/envoy/pull/32676

/retest

/retest

/assign @yanavlasov @htuch

/retest

/wait

/retest

/wait-any

/retest

Will wait for Lizan's comment to be addressed.
/wait

/wait

Sorry for delay. Release note has been added.
PTAL @htuch @yanavlasov @lizan

/nowait

gentle ping @htuch @yanavlasov @lizan

gentle ping on merge (probably @soulxu ?)
I think all the reviewers have approved this PR. Thanks!


AvatarGroup component doesn't show anything if only one item provided

https://github.com/EightfoldAI/octuple/blob/main/src/components/Avatar/AvatarGroup.tsx#L114
AvatarGroup is used to display manager(s), but typically there is only one to display. In this scenario, AvatarGroup shows nothing.

https://github.com/EightfoldAI/octuple/pull/604


Fall back to default popup value for extension if tab specific value not available

Fixes https://github.com/brave/browser-laptop/issues/10224
To be merged into Muon 4.3.x (for use with browser-laptop 0.18.x hotfix)
Auditors: @jonathansampson

@jonathansampson @kevinlawler ready for re-review after feedback implemented 😄
Also, I assigned milestone + labels


Provide an interactive class for mixing training and inference.

There's a lot of instructions here about how I could train/fine-tune t5 itself directly on natural language tasks and datasets, but I'm interested in training another model which would take t5 embeds of language as an input.
In order to do this, I would need to interleave t5 inference with my training script, which means I need a way to run t5 on a single batch not just on an entire dataset. How should I go about this?

@kkenealy is working on an InteractiveModel class that will make this easier to do along with a Colab demo.
In the meantime, you should take a look at the Model class interface, which provides a predict_batch method for inference and the Trainer class, which provides a train method that supports single-batch training.

Given an instance of the Model class, you can load a checkpoint using a CheckpointConfig; see these lines for an example: https://github.com/google-research/t5x/blob/999fccbfda10c107de7e4c071c976999621d8a79/t5x/train.py#L268

Hello, should this be closed? Seems that UL2 can now be loaded as InteractiveModel: https://github.com/google-research/t5x/issues/1226


WebGL warning: drawElements in Firefox

Although everything appears to work fine, i'm getting this error in Firefox when rendering sprites:
Error: WebGL warning: drawElements: This operation requires zeroing texture data. This is slow.
Is there a more optimal solution?

This usually is logged in firefox when you try to read pixels from an out-of-viewport location and render them.
Can you provide a minimal code pen/jsfiddle that shows this issue happening please?

I have same error.  All code is here:
mainApp.zip

http://pixijs.github.io/examples/#/basics/basic.js exibits this.

FYI, this message shows up on the Khronos WebGL tutorial called "SpiritBox" :
https://www.khronos.org/registry/webgl/sdk/demos/webkit/SpiritBox.html
No message is shown with that same page on Microsoft Edge.  Can't try with chrome.

No message in Chrome either

Still got this message with the basic example on Firefox 57, macOS 10.13.1 and the demo cause the laptop heat up although no significant CPU activities.

in the last version of Firefox , there is a warning about SpriteRenderer  too:
Error: WebGL warning: drawElements: This operation requires zeroing texture data. This is slow.

closing as this has been fixed in v5 👍

@GoodBoyDigital  could you tell me how to fix it? I want to fix it in my fork-v4 . thanks

You can safely ignore this error.
This comes from the diffuseTexture of the ground taking time to load. So the RTT cannot render because the meshes are not ready (waiting for the diffuse texture to load). Then when you run the main rendering, the RTT are used as texture but need to be zero out as they don't have data yet (which will be fixed as soon as the diffuseTexture is ready)

How to get this since the v5 has not been released yet ?

You can safely ignore this error.
This comes from the diffuseTexture of the ground taking time to load. So the RTT cannot render because the meshes are not ready (waiting for the diffuse texture to load). Then when you run the main rendering, the RTT are used as texture but need to be zero out as they don't have data yet (which will be fixed as soon as the diffuseTexture is ready)


Support importing libraries (or functions) in a CODE block

Adding support for external dependencies in code blocks would be great for pre/post-processing steps.
A couple of example would be:

https://www.npmjs.com/package/html-to-text to convert html input into a more readable format while preserving links
https://www.npmjs.com/package/json-difference to compare expected versus obtained results

Yea that would be great. We’ll slowly converge to that by removing js_sandbox and integrating directly to Deno 👍

@cmirdesouza Ideally I can prototype the full pipeline and get a comprehensive report of the regressions in dustt than having multiple separate steps.


Deduplication for items

It would be great if you could deduplication the copied items.

Some keywords for search: duplicate, deduplicate, duplication

Resolved in https://github.com/mattDavo/Yippy/releases/tag/2.7.0. For now I have done this without any setting to restore the original behaviour. If that is required please raise a new issue.
This should also solve the problem for all types of pasteboard items but could cause some issues due to bad pasteboard data types. If there are any problems please raise a new issue.


Remove app.set('port', port); in express generator 4

Setting the port, like, `app.set('port', port), is not supported in express 4, so should be removed.

Can you explain how is it not supported in Express 4?

How is it utilised in the generated app? At the very least, it's superfluous.

It's just a very common convention to know what port your app is on to provide links in your layouts. Adding that makes {{port}} available in your layouts automatically, so you can do <a href="http://localhost:{{port}}/blah"> and it'll work for your development.

I appreciate that, but it needs to either be used for something in the app, an explanation given on why it has been included, or omitted altogether. The generator is often a new user's first example of a working app. Anything in it that they don't understand can be very off-putting.

It was only added after tons and tons of requests for it; I'm not going to remove it and go through that again. If there is a PR you want to make to add more information to this line, or use it somewhere in the app, that would be accepted :)


localStorage editor mode

This PR allows Lyra to be booted into editor mode by launching it with a query argument identifying a slot in localStorage where the data previously transmitted by postMessage() is stored.
This adds the localStorage functionality without changing the earlier postMessage() method.

@arvind I am no longer using the postMessage() approach in Sitar.  If no one else is either, I can add a commit stripping it out.  Otherwise, there is probably little or no harm from leaving it in.


Fix build issue with UAPI header of pre-v5.16 kernel

322cdfa7 ("Fixup generated BTF for older kernels") added with PR #2934 allowed the generated BTF to work stable v5.4 kernel. However, the newly added btf_type_size() requires definition of struct btf_decl_tag (v5.16) and struct btf_enum64 (v6.0), which were not available in UAPI header of v5.4 kernel; which will cause build to fail.
Similar to libbpf/libbpf@85f8b7c, we can fix this by treating the structs as an array, and thus calculate their respective size without require their definition being present in the kernel UAPI header.
(CC @viktormalik)
Checklist

[x] Language changes are updated in man/adoc/bpftrace.adoc and if needed in docs/reference_guide.md
[x] User-visible and non-trivial changes updated in CHANGELOG.md
[x] The new behaviour is covered by tests

Technically the oldest supported kernel is v4.19, which would further require the definition of struct btf_param, struct btf_var, and struct btf_var_secinfo. But it seems better to align with the original 322cdfa and target v5.4 instead.

Alternatively we can also add feature detection in cmake/FindLibBcc.cmake to check if those struct are defined. But since we're not accessing the member fields and they're part of UAPI, I opted for the simpler approach here.

Added the UAPI definitions of struct btf_decl_tag and struct btf_enum64 into the comment to make it clearer why the expression within sizeof() is chosen as suggested. Also drop the array syntax [1] that comes after __s32 to make code a tiny bit cleaner.


syntax fix for dataSources in inputDevices

dataSources can be nil, so it needs to be checked before access.

Thanks very much!  Always nicer to have a pull request than an issue! :)


Parsing an empty filter crashes

This seems to be a problem in ariadne:
$ jaq ''
Error: Unexpected end of input while parsing value, expected if, reduce, -, {, (, def, ., [
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', /home/mfaerber/.cargo/registry/src/github.com-1ecc6299db9ec823/ariadne-0.1.5/src/source.rs:109:25

This is now fixed by ac21d2ef80ae639378af5951c59ef78c4d3b0e38.


Database is cleared once you add the data for the very first time locally and close the APK

Duplicate Check

[X] I have searched the opened issues and there are no duplicates

Describe the bug
When you compile the apk using flet build apk command and you have database stored locally. For a very first time if you add something to the database or a log file and display it in the App it is visible once you close the app from the background task/ by comming back  the data gets vanished. From the second time it works similessly. This happens mostly on android version 11,12,14 but works without any issue sometimes on android version 13.
If we run same code on windows it will run without any issue but once it is converted to APK the data gets cleared for very first time
Code sample
Code
[Paste your code here]

To reproduce

Generate an APK by using flet build apk command
Make sure that this APK has data stored locally in a log file or sqlite database and display it somewhere.
Now add your data into DB by entering data into textfield and saving it into DB and immediately displaying it on same page or create alog file and display it on another page.
It will be visible to you. Now go back and close the app
Now open it again... The data should not be visible.
It is a crucial on as the clients data is really important..

Expected behavior
Data should not be cleared even if I close the APk
Screenshots / Videos

Captures
[Upload media here]

Operating System
Windows
Operating system details
Windows 11
Flet version
Flet 23.0.2
Regression
No, it isn't
Suggestions
No response
Logs
Logs
[Paste your logs here]

Additional details
No response

Have you tried these steps on flet v0.24.1?

Yes, Still faced the same issue..

Flet pre-release might solve data location issue: https://flet.dev/blog/flet-new-packaging-pre-release#data-and-temp-directories-for-the-app


Question: Is this crate official?

I want to know if this is maintained by the rust team

No, it's not "official". I do happen to be a member of several Rust teams, including the library team, and this code originally came from the standard library before it was extracted in the stabilization for Rust 1.0. However, the ongoing maintenance of all of the rust-num crates is separate from the official rust-lang project.

Thank you for the fast response. Would I be able to use this crate while having in mind that it won't suddenly disappear one day?

Yes, it should remain available, even as maintenance efforts may wax or wane.
In general, crates.io never removes packages. Even if a developer were to yank all past versions, you could still use them if they're already in your Cargo.lock.


Performance issues - batch processing

Hi!
Thanks for an awesome package I love it!
I wanted to use it in my dashboard project showing tens of certificates with tens to hundreds alternative domains - turned out the processing is just too slow :(
I also used lodash _.memoize function to tabulate the get method results but I am still on 13 seconds processing time on i7 proc.
I was wondering whether it could be possible to improve the search in the rule database as it seems to be the most expensive part.
It comes to my mind to somehow init the searching structure before use and then just use pre-processed rule database. E.g., the profiler shows Punycode.toASCII is quite expensive - 86.8% of the get processing time in the findRule method:
return internals.rules.reduce(function (memo, rule) {
    var punySuffix = Punycode.toASCII(rule.suffix);  // <--- overhead
    if (!internals.endsWith(punyDomain, '.' + punySuffix) && punyDomain !== punySuffix) {
      return memo;
    }
    // ...
}

The Punycode.toASCII call is called on static rules each time the get is called. PunySuffix could be pre-computed for static rules to optimize batch requests which saves a lot of time. Also the if condition can be swapped to firstly evaluate punyDomain !== punySuffix. If it fails the lazy evaluation skips the endsWith check.
Profiler shows this is the critical path with significant overhead. There are also further improvements possible - e.g., to sort the database / build a suffix tree and reduce O(N) to O(lg(N)) where N is the database size.
My profiller results:
total: 12963 ms
findrule: 12937 ms (99.8%)
findrule -> reduce: 12934 ms (99.8%)
toASCII: 11248 ms (86.8%)
just for illustration, without memoizing 993 domains took 15980 ms.
Pls let me know what you think about this improvement. I could also do a PR later if you let me know how do you like to have it implemented.
Thanks for considering!

Many thanks for the contribution. The PR has now been merged 🎉


Add note about gevent on Fedora

Adding solution to potential problem on Fedora.

I'm my case I'm using Fedora 25 and pip install gevent worked, maybe this fix is only suitable for Fedora <25

Ok, in that case we don't need it in the Readme.


OBJLoader how to add .mtl and .png texture

I and thank you for your amazing work.
I have an .obj model that comes with a .mtl and a .png texture and I don't know how to add those two in a declarative way.
This is what I have in my scene for the moment :
    <th-object3D loadObj                  url="assets/models/test.obj"> </th-object3D>
The model is loaded but comes with no textures. Is there a way to add the .mtl and .png declaratively, or do I have to grab a reference to the object3D with a template variable, and manipulate it from the controller ?
Thanks !
Edit :
I tried this, according to the doc :
    <th-mesh>
      <th-bufferGeometry loadObj
                         url="assets/models/test.obj"> </th-bufferGeometry>
      <th-meshStandardMaterial [args]="{ color: '#0055ff', flatShading: true }"></th-meshStandardMaterial>
    </th-mesh>

But the model still stays white 🧐

According to a three.js comment (https://discourse.threejs.org/t/load-texture-to-obj/32451/2)
you could inject a TextureLoader and ObjLoader in your class and then recursively apply the texture.
Simplified Example:
ExampleComponent.ts
// ...
public async load() {
    const [ texture, obj ] = await Promise.all( [
		this.textureLoader.loadAsync( 'models/obj/texture.png' ),
		this.objLoader.loadAsync( 'models/obj/model.obj' ),
	] );

	obj.traverse( function ( child ) {

	if ( child.isMesh ) {

	    child.material.map = texture;
	    child.geometry.computeVertexNormals();

	}

    });
    this.obj = obj;
}
// ...

TestComponent.html
<th-object3D objRef="obj"> </th-object3D>


Rename forest.txt to nltu.txt

@denusdisa Could you please give us a link to a page on the school official website proving that old email domain is no longer in use? If not, I would suggest to add a new domain, not to rename an old one to the new one. Thank you!

@denusdisa I think that merging #2947 was enough, and I can close this request without merging. Please reopen and comment if this request is still actual.


user/password in dockerfile

On line 18 of the dockerfile, there's a hardcoded user and password. I'm not sure if this container is meant to be used by the general public or personal consumption but that's not a good thing. It might be worth moving that out or moving to something akin to what tutum does in its mysql containers:
https://github.com/hiroakis/docker-sensu-server/blob/master/Dockerfile#L33-35&v=3
https://github.com/tutumcloud/tutum-docker-mysql/blob/master/5.6/Dockerfile#L39
https://github.com/tutumcloud/tutum-docker-mysql/blob/master/5.6/run.sh#L29-L41
In general if you wrap your actual executable in a containing script, you can make things much more secure.

Another way is to make very clear that this isn't meant for production usage and is to be played with and thrown away locally. Security constraints around a spike varies a lot from a long lived system.

:+1: @scottmuc As someone else pointed out, Vagrant is very explicit about this:
https://github.com/mitchellh/vagrant/tree/master/keys


Experimental reproduction problem

I'm very sorry. It's still me this time. This time I had a problem with reproduction.
I reproduce the AE->IDN->IPT process, with only change the ratio of semi-hard loss, and then I got some unexpected results which are different form the reported results in paper. Here are the settings and results:
--->exp 1. keep the ratio as 1, just as the original code in this repo:
NO Reuslt: the loss will explode quickly because the semi-hard loss will reduce rapidly. I can't train in this setting.
--->exp 2.keep the ratio of AE as 0.1, keep all ratios in IDN as 0.01 for  semi-hard loss:(0.1 for all will make the loss explode too)
Final IPT Result (epoch-29):

--->exp 3.remove all semi-hard loss in the code:
Final IPT Result (epoch-29):

These results are quite different from those in the paper and I don't know why. I want to reporduce the whole training process (AE->IDN->IPT) and get the right results. So I have 3 questions:
1: What is the detail training setting of IDN_IPT_hico/epoch_30.pth ？ Especially with regard to this unstable semi-hard loss value？
2: I still have some questions about the IPT dataloader module in 'dataset.py' file, and I send an E-mail to @gmail of Liu Xinpeng, I hope you can check it.
3: Are these problems caused by code version problems? I hope you can update the code to the same version that producing 'IDN_IPT_hico/epoch_30.pth'.
Finally, thanks again for releasing all codes of this wonderful work! I really hope that I can reproduce your results and then make something different. Thank you for your patience！

Thanks for using! I have just checked my emails and made my reply! Please check.

Thank you very much for your patience！ We are looking forward to your update on this project.


chore(release): v1.2.3 🎉

:robot: I have created a release beep boop
1.2.3 (2024-08-03)
Bug Fixes

async: catch errors on breach log promise to avoid uncaught exceptions (6442686)
practs: bump practs to latest best (860e4a8)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ehmpathy/visualogic/releases/tag/v1.2.3 :sunflower:


Use lodash instead of merge, unbreaking the component (for us)

Not sure if others are experiencing this, but a few of us (@emibob, @ilanasufrin, @benmidi & I) could not get any videos to play at all (iOS, React 0.10).
We tracked it down to this line in Video.ios.js that was using the merge library. For whatever reason, the third param was being ignored. Using underscore/lodash's extend method fixes it for us.

Works for me, will push update to npm momentarily!

@jcfrancisco - ok this is on npm with 0.6.1

@brentvatne Thanks!


feat(CategoryTheory/Monoidal): Cat is monoidal with the cartesian product of categories

feat(CategoryTheory/Monoidal): Cat, the category of categories, is monoidal with the cartesian product of categories
Co-authored-by<EMAIL_ADDRESS>Co-authored-by<EMAIL_ADDRESS>

Maybe this should all live in a new file CategoryTheory/ChosenFiniteProducts/Cat.lean as an analogue to the file FunctorCategory.lean in that folder. Since you're defining a monoidal category structure, you might want to provide some API lemmas for it, leftUnitor_hom_app etc. Look at the FunctorCategory file for inspiration.

According to Morisson, register ether Lammas as simp would interfere with coherence tactic so I removed the attribute

maintainer merge

bors merge


[QUERY]Suggestion on make "BlockCountExceedsLimit" for specific

Query/Question
How can we help?
In Document
https://docs.microsoft.com/en-us/rest/api/storageservices/blob-service-error-codes
we have Error Code "BlockCountExceedsLimit" listed twice for different User message. One with "The committed block count cannot exceed the maximum limit of 50,000 blocks." and the other comes with "The uncommitted block count cannot exceed the maximum limit of 100,000 blocks".
In this request I'm talking about Error Code with User Message "The uncommitted block count cannot exceed the maximum limit of 100,000 blocks". The ask is can we make the Error Code more specific? for example in our case the Error Code customer got is "RequestEntityTooLargeBlockCountExceedsLimit". Is that possible we use more detailed Error Code to differentiates "committed block count exceed 50,000 blocks" and "uncommitted block count exceed 100,000 blocks".
Thank you!

This is not an ask specific to the SDK, this an ask specific towards the service. I would suggest that this would be posted somewhere that would be brought to the service's attention.
https://azure.microsoft.com/en-us/support/community/


add synthetic testing blog

I wrote a short blog on using the Collector for http ping tests

Thanks for the feedback @svrnm. I'm about to go OOO and heads down with work so won't have time to add prom if it's optional. lmk if anything else is needed

Thanks for the feedback @svrnm. I'm about to go OOO and heads down with work so won't have time to add prom if it's optional. lmk if anything else is needed

Then let's keep the part with prom out and leave it as is 👍

Hrm.  Your changeset doesn't include the submodule changes, so I see no reason why it would fail to build? Or maybe it's some git metadata in your branch and that's causing it to barf.

Should I try copying the content into in a fresh branch and reopen? @cartermp

I think so, yeah. From my perspective this is good to go, so if you're up for it then I'll approve and merge. Sorry for the headache, I really hate our submodules 🙁

https://github.com/open-telemetry/opentelemetry.io/pull/3347
Ready to go! 😌


Question about get input and send output from my custom USB device.

Here are my codes:
import pywinusb.hid as hid
from ctypes import *

class hidHelper(object):
    def __init__(self, vid=0x0483, pid=0xa005):
        self.alive = False
        self.device = None
        self.report = None
        self.vid = vid
        self.pid = pid

    def start(self):
        _filter = hid.HidDeviceFilter(vendor_id = self.vid, product_id = self.pid)
        hid_device = _filter.get_devices()
        if len(hid_device) > 0:
            self.device = hid_device[0]
            self.device.open()
            self.out_report = self.device.find_output_reports()
            self.in_report = self.device.find_input_reports()
            self.alive = True
    def stop(self):
        self.alive = False
        if self.device:
            self.device.close()
if __name__ == '__main__':
    myhid = hidHelper()
    myhid.start()
    input_interrupt_transfers = False
    if myhid.alive:
        send_list = [0xFF]*1101
        send_list[0] = 0xfd
        myhid.out_report[0].send(send_list)
        myhid.in_report[0].get()
        import time
        time.sleep(0.5)
        myhid.stop()

I used bus hound to monitor the communication. I get output that PC sent to the device with full 0xFF and 0xFD in the first place twice, and I only expect once. Then there are response from my USB device but my code can not get that, is there any thing wrong with my code? @rene-aguirre @j3hyde  @c1728p9  @ElectricRCAircraftGuy  Thank you for your time!

Seems this quite excessive:

send_list = [0xFF]*1101

That'd cause to create a list of more than 1kB for your output report.
For the input report check the examples. Input reports are
asynchronous, only feature reports can be polled.
You need to prepare a handler (callback) to receive the input reports.
On Mon, Aug 24, 2020 at 11:36 PM zhji2822<EMAIL_ADDRESS>wrote:

Here are my codes:
import pywinusb.hid as hid
from ctypes import *
class hidHelper(object):
def init(self, vid=0x0483, pid=0xa005):
self.alive = False
self.device = None
self.report = None
self.vid = vid
self.pid = pid
def start(self):
    _filter = hid.HidDeviceFilter(vendor_id = self.vid, product_id = self.pid)
    hid_device = _filter.get_devices()
    if len(hid_device) > 0:
        self.device = hid_device[0]
        self.device.open()
        self.out_report = self.device.find_output_reports()
        self.in_report = self.device.find_input_reports()
        self.alive = True
def stop(self):
    self.alive = False
    if self.device:
        self.device.close()

if name == 'main':
myhid = hidHelper()
myhid.start()
input_interrupt_transfers = False
if myhid.alive:
send_list = [0xFF]*1101
send_list[0] = 0xfd
myhid.out_report[0].send(send_list)
myhid.in_report[0].get()
import time
time.sleep(0.5)
myhid.stop()
I used bus hound to monitor the communication. I get output that PC sent
to the device with full 0xFF and 0xFD in the first place twice, and I only
expect once. Then there are response from my USB device but my code can not
get that, is there any thing wrong with my code? @rene-aguirre
https://github.com/rene-aguirre Thank you for your time!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rene-aguirre/pywinusb/issues/66, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAF3G7VDJVSDM2BT4IMCBJDSCNLYVANCNFSM4QKJEIVA
.

Seems this quite excessive:
send_list = [0xFF]1101
That'd cause to create a list of more than 1kB for your output report. For the input report check the examples. Input reports are asynchronous, only feature reports can be polled. You need to prepare a handler (callback) to receive the input reports.
…
On Mon, Aug 24, 2020 at 11:36 PM zhji2822 @.**> wrote: Here are my codes: import pywinusb.hid as hid from ctypes import * class hidHelper(object): def init(self, vid=0x0483, pid=0xa005): self.alive = False self.device = None self.report = None self.vid = vid self.pid = pid def start(self): _filter = hid.HidDeviceFilter(vendor_id = self.vid, product_id = self.pid) hid_device = _filter.get_devices() if len(hid_device) > 0: self.device = hid_device[0] self.device.open() self.out_report = self.device.find_output_reports() self.in_report = self.device.find_input_reports() self.alive = True def stop(self): self.alive = False if self.device: self.device.close() if name == 'main': myhid = hidHelper() myhid.start() input_interrupt_transfers = False if myhid.alive: send_list = [0xFF]*1101 send_list[0] = 0xfd myhid.out_report[0].send(send_list) myhid.in_report[0].get() import time time.sleep(0.5) myhid.stop() I used bus hound to monitor the communication. I get output that PC sent to the device with full 0xFF and 0xFD in the first place twice, and I only expect once. Then there are response from my USB device but my code can not get that, is there any thing wrong with my code? @rene-aguirre https://github.com/rene-aguirre Thank you for your time! — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#66>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAF3G7VDJVSDM2BT4IMCBJDSCNLYVANCNFSM4QKJEIVA .

Thank you for your help! I am afraid that i can not change the output/input report size since it is fixed on the USB device that I am communicating with. About the handler, I found in core.py file there are event handler and raw handler. And I found some custom handler in examples like: https://github.com/mcquoidellum/Emokit/blob/master/read.py    . However, I cannot see how they are related with my problem. Since this is a very large report length I am afraid that I cannot find a helpful example without long time searching. Would you mind give me some hint or example about how to prepare a (callback) handler for such a large input report? Thank you!

Thank you for your help! I am afraid that I cannot change size of the input and output report size since it is fixed for the device I am communicating with. And for the handler part, do you mean use function that is written in core.py to define a handler for input report? it is copied below:
 def add_event_handler(self, full_usage_id, handler_function,
            event_kind = HID_EVT_ALL, aux_data = None):
        """Add event handler for usage value/button changes,
        returns True if the handler function was updated"""
        report_id = self.find_input_usage(full_usage_id)
        if report_id != None:
            # allow first zero to trigger changes and releases events
            self.__input_report_templates[report_id][full_usage_id].__value = None
        if report_id == None or not handler_function:
            # do not add handler
            return False
        assert(isinstance(handler_function, collections.Callable)) # must be a function
        # get dictionary for full usages
        top_map_handler = self.__evt_handlers.get(full_usage_id, dict())
        event_handler_set = top_map_handler.get(event_kind, dict())
        # update handler
        event_handler_set[handler_function] = aux_data
        if event_kind not in top_map_handler:
            top_map_handler[event_kind] = event_handler_set
        if full_usage_id not in self.__evt_handlers:
            self.__evt_handlers[full_usage_id] = top_map_handler
        return True

It works! But I got duplicated output and input during the communication. I used bus hound for monitoring and it is shown in the image. Is this because of some default setting? that I need to change? I also uploaded my edited code below.

import pywinusb.hid as hid
import time

class hidHelper(object):
    def __init__(self, vid=0x0483, pid=0xa005):
        self.alive = False
        self.device = None
        self.report = None
        self.vid = vid
        self.pid = pid

    def setcallback(self):
        '''
        设置接收数据回调函数
        '''
        if self.device:
            self.device.set_raw_data_handler(self.read)

    def read(self, data):
        '''
        接收数据回调函数
       '''

        print([hex(item).upper() for item in data[1:]])

    def start(self):
        '''
        开始，打开HID设备
        '''
        _filter = hid.HidDeviceFilter(vendor_id = self.vid, product_id = self.pid)
        hid_device = _filter.get_devices()
        if len(hid_device) > 0:
            self.device = hid_device[0]
            self.device.open()
            self.setcallback()
            self.out_report = self.device.find_output_reports()
            self.in_report = self.device.find_input_reports()
            self.alive = True

    def stop(self):
        '''
        停止，关闭HID设备
        '''
        self.alive = False
        if self.device:
            self.device.close()

if __name__ == '__main__':
    myhid = hidHelper()
    myhid.start()
    input_interrupt_transfers = False
    if myhid.alive:
        send_list = [0xFF]*1101
        send_list[0] = 0xfd
        myhid.out_report[0].send(send_list)
        myhid.in_report[0].get()
        time.sleep(0.5)
        myhid.stop()

The monitor shows you report is only 100 byte long, this shows there is
something wrong with your descriptor.
Usually the report size limit is the endpoint transfer size limit.
Remove the .get() is not required.
On Wed, Aug 26, 2020 at 6:28 PM zhji2822<EMAIL_ADDRESS>wrote:

It works! But I got duplicated output and input during the communication.
I used bus hound for monitoring and it is shown in the image. Is this
because of some default setting? that I need to change? I also uploaded my
edited code below.
[image: Capture]
https://user-images.githubusercontent.com/28940774/91372846-5edbb300-e847-11ea-8945-9bb26ffc6fa2.PNG
import pywinusb.hid as hid
import time
class hidHelper(object):
def __init__(self, vid=0x0483, pid=0xa005):

    self.alive = False

    self.device = None

    self.report = None

    self.vid = vid

    self.pid = pid

def setcallback(self):

    '''

    设置接收数据回调函数

    '''

    if self.device:

        self.device.set_raw_data_handler(self.read)

def read(self, data):

    '''

    接收数据回调函数

   '''

    print([hex(item).upper() for item in data[1:]])

def start(self):

    '''

    开始，打开HID设备

    '''

    _filter = hid.HidDeviceFilter(vendor_id = self.vid, product_id = self.pid)

    hid_device = _filter.get_devices()

    if len(hid_device) > 0:

        self.device = hid_device[0]

        self.device.open()

        self.setcallback()

        self.out_report = self.device.find_output_reports()

        self.in_report = self.device.find_input_reports()

        self.alive = True

def stop(self):

    '''

    停止，关闭HID设备

    '''

    self.alive = False

    if self.device:

        self.device.close()

if name == 'main':
myhid = hidHelper()

myhid.start()

input_interrupt_transfers = False

if myhid.alive:

    send_list = [0xFF]*1101

    send_list[0] = 0xfd

    myhid.out_report[0].send(send_list)

    myhid.in_report[0].get()

    time.sleep(0.5)

    myhid.stop()

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rene-aguirre/pywinusb/issues/66#issuecomment-681237144,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAF3G7STTDJVGR3PFVR6E6DSCWZE3ANCNFSM4QKJEIVA
.

Thank you. I am confused about where did you get that my report is 100 byte long. if you got that by looking at the length of input/output data, you were mislead by my mistake. Sorry, to make fewer screening shots I limited the number of bytes bus hound show. and here are the complete screen shots. The actual data is 1101 bytes long but we can find it sent out same output data twice to the USB device. and I only have one send order.


[WIP] Upgrade Nitro package version

Part of https://www.notion.so/Upgrade-go-nitro-to-v0-1-2-ts-port-0-1-8-and-ts-nitro-to-v0-1-15-in-the-stack-ba300986e92e4f198c72c46a1861d8e4

Closed by https://github.com/cerc-io/ponder/pull/19


use proper c char types

related: https://github.com/tonarino/innernet/issues/50
helps with building on systems like Raspberry Pi (ARM)

Thanks!


Fix bug of multi-gpu training in lm finetuning

Current code will raise error when running multi-gpu training (n_gpu > 1 & local_rank = -1).

Codecov Report

Merging #1040 into master will increase coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1040      +/-   ##
==========================================
+ Coverage   79.55%   79.61%   +0.05%
==========================================
  Files          42       42
  Lines        6863     6863
==========================================
+ Hits         5460     5464       +4
+ Misses       1403     1399       -4

Impacted Files
Coverage Δ

pytorch_transformers/file_utils.py
74.1% <0%> (+2.87%)
:arrow_up:

Continue to review full report at Codecov.

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

Make sense, thanks @FeiWang96!


After upgrading to 0.49, the vscode extension does not work

The 0.48 version is fine

Just to assist in troubleshooting, I believe this may be related to if you have an include config option defined in your uno.config.ts file.
I'm using the PrimeReact component library in my project, and rather than load their entire icon and utility stylesheets I opted to use unocss and presetIcons to only include the icons/styles I'm actually using.
By default, this means that without their icon stylesheet loaded, internal components imported from Prime will not have their icons visible because unocss is not parsing those files to check for icon matches.
To solve this, I added this option to my uno.config.ts file:
import { defineConfig } from 'unocss';

export default defineConfig({
  include: [/(.*\/)primereact(.*)\.(c|m)?(js)(x?)$/, 'src/**/*.tsx']
});

And here it what it looks like with the rest of the config:
import { FileSystemIconLoader } from '@iconify/utils/lib/loader/node-loaders';
import { presetIcons, presetWind, defineConfig } from 'unocss';
import presetPrime from 'unocss-preset-prime';

// https://uno.antfu.me/
export default defineConfig({
  presets: [
    presetWind(),
    presetPrime(),
    presetIcons({
      collections: {
        app: FileSystemIconLoader('src/assets/icons'),
      },
      extraProperties: {
        display: 'inline-block',
        'vertical-align': 'middle',
        scale: '1.75',
      },
    }),
  ],
  include: [/(.*\/)primereact(.*)\.(c|m)?(js)(x?)$/, 'src/**/*.tsx'],
  shortcuts: [
    [/^pi-(.*?)$/, ([, d]) => `i-prime-${d}`]
  ],
});

When I have this include option entered, all editor tools like autocomplete/hover info/underlined classes stop working. If I comment that line out and reload VSCode, it starts working again.

Just to assist in troubleshooting, I believe this may be related to if you have an include config option defined in your uno.config.ts file.只是为了帮助故障排除，我相信这可能与您在 include 文件中定义了 uno.config.ts 配置选项有关。
I'm using the PrimeReact component library in my project, and rather than load their entire icon and utility stylesheets I opted to use unocss and presetIcons to only include the icons/styles I'm actually using.我在我的项目中使用 PrimeReact 组件库，而不是加载他们的整个图标和实用程序样式表，我选择使用 unocss 和 presetIcons 只包含我实际使用的图标/样式。
By default, this means that without their icon stylesheet loaded, internal components imported from Prime will not have their icons visible because unocss is not parsing those files to check for icon matches.默认情况下，这意味着如果没有加载其图标样式表，从 Prime 导入的内部组件将不会显示其图标，因为 unocss 不会解析这些文件以检查图标匹配。
To solve this, I added this option to my uno.config.ts file:为了解决这个问题，我将此选项添加到我的 uno.config.ts 文件中：
import { defineConfig } from 'unocss';

export default defineConfig({
  include: [/(.*\/)primereact(.*)\.(c|m)?(js)(x?)$/, 'src/**/*.tsx']
});

And here it what it looks like with the rest of the config:这是配置其余部分的样子：
import { FileSystemIconLoader } from '@iconify/utils/lib/loader/node-loaders';
import { presetIcons, presetWind, defineConfig } from 'unocss';
import presetPrime from 'unocss-preset-prime';

// https://uno.antfu.me/
export default defineConfig({
  presets: [
    presetWind(),
    presetPrime(),
    presetIcons({
      collections: {
        app: FileSystemIconLoader('src/assets/icons'),
      },
      extraProperties: {
        display: 'inline-block',
        'vertical-align': 'middle',
        scale: '1.75',
      },
    }),
  ],
  include: [/(.*\/)primereact(.*)\.(c|m)?(js)(x?)$/, 'src/**/*.tsx'],
  shortcuts: [
    [/^pi-(.*?)$/, ([, d]) => `i-prime-${d}`]
  ],
});

When I have this include option entered, all editor tools like autocomplete/hover info/underlined classes stop working. If I comment that line out and reload VSCode, it starts working again.当我输入此 include 选项时，所有编辑器工具（如自动完成/悬停信息/带下划线的类）都将停止工作。如果我注释掉该行并重新加载 VSCode，它会再次开始工作。
EDIT: After a touch more troubleshooting, I now think it's related to the path src/**/*.tsx. If I modify that line to not include a path and only match on files **/*.tsx is starts working again as well. I am using a multi-root workspace setup and have configured unocss to use a custom root, so I wonder if something about how that path is resolving is messing things up.编辑：经过更多的故障排除，我现在认为它与路径 src/**/*.tsx 有关。如果我将该行修改为不包含路径并且仅在文件 **/*.tsx 上匹配，则也会再次开始工作。我正在使用多根工作区设置，并将unocss配置为使用自定义根，所以我想知道该路径如何解决是否使事情搞砸了。

Thank you very much for your kind answer, but unfortunately I didn't configure the include option. 😑

We temporarily close this due to the lack of enough information.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required

We temporarily close this due to the lack of enough information. Please provide a minimal reproduction to reopen the issue. Thanks.

Why reproduction is required

My development environment is Windows WSL. After upgrading to version 0.49, the VSCode extensions for my Nuxt and Vite projects stopped working. I have recently created a new vitesse-lite project to confirm this.


Room - Sending reply in thread message for specific room system message error is shown

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.56-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:

Go to https://staging.new.expensify.com/home
Open a room chat
Tap header -- description
Enter ~🙂🙂🙂~ and save
Tap share - copy url
Navigate to description and paste the url below the description which is entered previously and save it
Navigate to conversation
Long press the system message and open reply in thread
Send a message

Expected Result:
Sending reply in thread message for specific room system message error must not be shown
Actual Result:
Sending reply in thread message for specific room system message error is shown
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Standalone
[ ] Android: HybridApp
[x] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/user-attachments/assets/556ae969-9586-4373-b8fe-eda6e18d3183
View all open jobs on GitHub

@MitchExpensify  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

This is not a core flow, closing


UINavigationBar isTranslucent set to true causes text view's first line to be hidden

Solution: https://github.com/yoha/Notes/commit/d3c97485fe6afb59c29cd88c0f945e37aa01f5ea


Entire bar crashes when switching window via launcher.

Nothing logged, seems to be a hard panic from Wayland itself:
gdk-message error 71 (protocol error) dispatching to wayland display

Looks like this is a problem with the latest version of sway/wlroots since I'm running the git packages. Using the latest release versions works.
Leaving this open as I suspect the next Sway/Wlroots release will cause issues.

Bit more info on this one:
[1674922370.680254] -> zwlr_foreign_toplevel_handle_v1@4278190081.activate(8)
[1089357.488] wl_display@1.error(nil,<PHONE_NUMBER>, "surface was destroyed before its role object")
Gdk-Message: 16:12:50.680: Error 71 (Protocol error) dispatching to Wayland display.

Also occurs on hyprland-git with wlroots-git.

The smithay-client library has updated to support wayland-protocols 0.30, which hopefully resolves this.

Re-opening because this seems to still be happening rarely. I think it's possibly related to a race condtition where the popup tries to close itself while already closed, but needs investigation.


Young Capital Academy added to the list

New school in the Netherlands, based on Novi Hogeschool stuff.

@DarwinCheese Please provide us with:

the university official website URL, if different from the domain you are submitting
an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the university
an URL of a page or another proof (.pdf or a screenshot are OK) showing that the university recognizes the domain which you are submitting as an official email domain for the students.

Hey @philipto,
Sorry for the late reply. Here are the 2 links you were looking for.

https://academy.youngcapital.nl/en/
https://academy.youngcapital.nl/en/studieprogramma/hbo-bachelor-ict/
I don't really know how to show that the university recognizes this domain,do you have anything you are specifically looking for?

@DarwinCheese Thank you for the update. There are two issues with this domain:

Young Capital Academy is an educational institution, but also it says that

YoungCapital is the largest employment agency for young people.

(at the bottom of this page, for example: https://academy.youngcapital.nl/en/faq/algemeen/)
Please notice that free JetBrains educational license is for educational purpose only; it is illegal to use it for any work which is not a part of education, including commercial work for companies, even if a company employs a user as an intern.

I found only one page mentioning youngcapitalacademy.nl as a domain related to Young Capital Academy in the internet, https://www.linkedin.com/in/anouar-azzouz-6b98a4154/. It is not enough to ensure that this domain actually belongs to Young Capital Academy. Is there any page or internal instruction for students which says that Young Capital Academy provides its students with an email address in this domain?

@DarwinCheese You might miss my previous comment. Please react. If the organization is not actually a university, nor a college, I have to close the request without merging.

I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the abovementioned issue.
You also can apply for the free license by email to<EMAIL_ADDRESS>even if this school is not a college, nor a university. Feel free to communicate with us, we really wish to offer you the best licensing option, which fits your needs and follow this repository rules.
Thank you for the understanding!

Hi @philipto ,
I talked to my teachers and organizers, they told me that the school is sort of unique. You go to school (boot camp style) for the first 4 months and then you work 4 days a week and have school 1 day a week. This study takes 3-4 years to complete and you get your bachelor's at the end of the study. So, I guess it's kind of an internship. The school offering the courses is called Novi Hogeschool, this school offers the courses while the Young Capital Academy offers you the workplaces. I don't know if this falls under an internship or something like that, though.

@DarwinCheese Thank you for the clarification. I reopened the request, and we'll reconsider it once again. I am sorry for the delay: this is a special case indeed. Thank you!

@DarwinCheese We carefully considered your request again. Regrettably, this school does not qualify to be added to this repository. However, the academy teachers can request free coupons for the initial four months boot camp at https://www.jetbrains.com/shop/eform/training, and the students can use the IDEs for free at the boot camp, and then buy a license with a 25% discount. This license will not limit them in using it for education only, they can continue using it at work.


Post authentication redirect to last view breaks when deployed under context path

Reproduce:
when not logged in

goto splash page
click manage
click login from unauthorized view

referrer redirect back from service provider is missing context path
https://labs.library.tamu.edu/management/internal-metadata?jwt=[token]

This will need an accompanying Weaver UI Core card.


How to change conversation title

Describe the feature
As the title above says, I have no idea about how to change conversation title after creating a conversation with using chatgpt-api. I find that chatgpt official website use a end point to change conversation title in the case. If you do not change conversation titles after creating a massive conversations, you will find a lot of conversations named New chat on left side of chatgpt official website. In addition, It tends to a uncomfortable user experience.

This project is aimed at programmatic usage of the core ChatGPT functionality only.
All of the UX-related features of the webapp are out of scope for this package, as they will very likely not be part of the official API once it's released.


Running VNN Partseg on ShapeNet data

Hey there!
I'm interested in using this model for my own project, but I've run into a small problem during training for both the example/Shapenet dataset and my own dataset.
Example data / ShapeNet data
So I've tried to run the example part segmentation on the ShapeNet data to see if it would even run on my system.
However, during training it returns a RunTimeError. If I remember correctly, the dimensions it returned were the following:
Traceback (most recent call last):
  File "/home/~/VNN/train_partseg.py", line 321, in <module>
    main(args)
  File "/home/~/VNN/train_partseg.py", line 205, in main
    seg_pred, trans_feat = classifier(points, to_categorical(label, num_classes))
  File "/home/~/.conda/envs/VNN/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/~/VNN/models/vn_dgcnn_partseg.py", line 86, in forward
    l = self.conv7(l)
  File "/home/~/.conda/envs/VNN/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/~/.conda/envs/VNN/lib/python3.9/site-packages/torch/nn/modules/container.py", line 141, in forward
    input = module(input)
  File "/home/~/.conda/envs/VNN/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/~/.conda/envs/VNN/lib/python3.9/site-packages/torch/nn/modules/conv.py", line 302, in forward
    return self._conv_forward(input, self.weight, self.bias)
  File "/home/~/.conda/envs/VNN/lib/python3.9/site-packages/torch/nn/modules/conv.py", line 298, in _conv_forward
    return F.conv1d(input, weight, bias, self.stride,
RuntimeError: Given groups=1, weight of size [90, 45, 3, 2], expected input[1, 15, 16, 32] to have 45 channels, but got 15 channels instead

Is this a known error for the example set?
Kind regards

No idea what changed, but it somehow ran on the Shapenet data without giving this error.


Company/Markets subpage

The order of icons in the first section is incorrect.
One icon is missing: "IoT & Embedded" This icon is also missing from the section describing this topic further down the website: https://tf-3mdeb.netlify.app/markets/#iot-embedded

Please remove lpn linking, leads to 404 page: https://3mdeb.com/shop/product/lpngate/

Consumer section: please center the two logos on the phone view

confirmed


fix(runCommand): Filter out empty string arguments

Resolves an issue in runCommand where execa treated empty string arguments as literal arguments, causing commands like bun add to fail. This change filters out any explicit empty string arguments to avoid this behavior.
Related Issue: https://github.com/nicoalbanese/kirimase/issues/18

Thanks @kddige