MB-7052 Service item calculations for Domestic Linehaul (DLH)

Description
Implements the ServiceItemCalculations component on the payment request and payment service item review page. This only applies to the Domestic Linehaul service item at the moment. Other service items will be implemented in future stories. Check out the jira story for more details below.
Reviewer Notes
Is there anything you would like reviewers to give additional scrutiny?

Essentially, makeCalculations() in the ServiceItemCalculations/helpers.js file parses the payment service item params. I made a const for each "calculation" which can be reused for future service items. Let me know what you folks think about the approach.
I refactored createHHGMoveWithPaymentRequest to createDefaultHHGMoveWithPaymentRequest to make it more reusable. createHHGMoveWithPaymentRequest can now accept assertions.
One thing I forgot to do was to include the alert to show if we're missing data. Maybe we can create another story to include that?

Setup
Add any steps or code to run in this section to help others prepare to run your code:
make db_dev_e2e_populate

make server_run
make office_client_run

To test:

Log in as TIO, locally

Search for payment request with move code: SidDLH, and click on it

Click on Show request details

Click on the "right" chevron icon on domestic linehaul service item

Code Review Verification Steps

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Screenshots

Messages

:book:
:link: MB-7052

  Generated by :no_entry_sign: dangerJS against 998b69fc2dd1f1ea59cc3225d113825163777601

Let's take care of the alert in another story

On the horizontal calculations it looks like the next to last column is not aligned with amount.  We may need to distribute the width evenly among the middle 3 calculations or something like that since it can't just be the price escalation factor that is set to flex grow.
Mock:

Actual:


Vec2.rotate(degrees), Vec2.angle, Vec2.angleTo methods

Adds two methods to Vec2 to help with converting to radians and rotating it.
New APIs:
// pc.Vec2
vec.angle() // returns Euler angle of a vector
vec.angleTo(vector) // returns shortest Euler angle from one vector to another
vec.rotate(degrees) // rotate a vector by degrees (by Euler angle)

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

I think rotate should take an angle in degrees, like all public facing functionality in math. And the radians should be get angle that returns the angle in degrees as well.

Good point. I've updated the PR and added additional method: angleTo.

Also, please update the PR's title.

Could you add a src = this param to rotate()? I did this for some vec2, vec3 and quat functions recently, eg https://github.com/playcanvas/engine/blob/main/src/core/math/vec2.js#L416. It makes the interface a little more consistent, a little more flexible and in some cases will result in one fewer vector copy.

@slimbuck, not sure where would src argument would go in rotate method. As this method is within semantics of mulScalar or addScalar, where only modifier argument is provided.

It would go like this:
    rotate(degrees, src = this) {
        const angle = Math.atan2(src.x, src.y) + (degrees * math.DEG_TO_RAD);
        const len = Math.sqrt(src.x * src.x + src.y * src.y);
        this.x = Math.sin(angle) * len;
        this.y = Math.cos(angle) * len;
        return this;
    }

You're right rotate could be considered closer to mulScalar than normalize since rotate takes takes a parameter like mulScalar, but I'd say we could easily add src parameter to mulScalar one day too, why not?

but I'd say we could easily add src parameter to mulScalar one day too, why not?

Sure, shall then this be left as is, to ensure consistency. And if src to be added to similar methods, that would come from a future PR?

Sure :)


[1.12.2] Docking Pads not appearing in "Select Destination" screen on rocket guidance computer GUI

Minecraft Version:

1.12.2
Forge Version:
forge-1.12.2-<IP_ADDRESS>13-universal
Advanced Rocketry Version:
AdvancedRocketry-1.12.2-1.2.6-55
LibVulpes Version:
LibVulpes-1.12.2-0.2.8-27-universal

is this the latest curseforge build?

yup

Crash Report: N/A
Explanation of issue in detail:
Placing a docking pad on a space station and then attempting to land on it via the "Select Destination" button in the rocket guidance computer does not function. When the "Select Destination screen is opened, there are no landing pads listed as being available.
I've attached what the destination select screen looks like when I attempt to land on a docking pad on my station, as one can see nothing is listed.

Also a picture of the docking pad to make sure I am not building it wrong. I've also tried it surrounded by launch pad blocks, but I am not sure if the block tests for nearby block dimensions when determining if a docking pad is viable or not.

I have also attached my advancedRocketry.cfg file, in the event that the information from it may be useful.
advancedRocketry-config.zip
Things I have tried:

Placing the docking pad with a name, placing it without a name
Placing the docking pad down on the station, traveling to the overworld to unload dimension -2, and then attempting to select a destination back on the docking pad pad
Placing the docking pad down on the station, traveling back to the overworld to unload dimension -2, stopping the minecraft server, restarting the minecraft server, and then attempting to select the destination.
Placing the docking pad down on the station, traveling back to the overworld to unload dimension -2, stopping the minecraft server, restarting the minecraft server, assembling a new rocket to make sure the rocket entity isn't loading destinations improperly, and then attempted to select a destination.
Starting minecraft in windowed mode to make sure that the destination selection screen was not loading improperly on 21:9 aspect ratio

At this point I have run out of ideas of more ways to test and make sure that I'm not being the idiot here somehow, but if there is any more information that I can provide regarding this issue, please let me know.

Is this in multiplayer or single player?


Add a Gitter chat badge to README.md

stnolting/neorv32 now has a Chat Room on Gitter
@stnolting has just created a chat room. You can visit it here: https://gitter.im/neorv32/community.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

For consistency, I recommend using a shield.io badge, instead of the one suggested by gitter's bot. See, for instance:

https://github.com/ghdl/ghdl
https://github.com/VUnit/vunit
https://github.com/hdl/containers
https://github.com/olofk/edalize/


Skip projected token mount for gardenlet pods

How to categorize this PR?

/area robustness
/kind bug
What this PR does / why we need it:
This PR fixed a bug which could prevent gardenlet pods from coming up in case the projected-token-mount webhook served by gardener-resource-manager is unavailable or broken. One example why the webhook could be broken is if a shoot used as managed seed gets hibernated for longer than 30d (after 30d the seed CA expires and this breaks the webhook until gardenlet comes up again and generates a new CA).
Given that the projected token for gardenlet is anyways never mounted by the webhook since it already exists, we can exclude gardenlet pods entirely: https://github.com/gardener/gardener/blob/36354063ffb7d173efab4db5c6999a291e8f25c0/charts/gardener/gardenlet/charts/runtime/templates/deployment.yaml#L169-L186
Special notes for your reviewer:
/cc @plkokanov
Release note:

A bug has been fixed which could prevent `gardenlet` pods from coming up in case the `projected-token-mount` webhook served by `gardener-resource-manager` is unavailable or broken.

/cherry-pick release-v1.47

/cherry-pick release-v1.49


Skip signature files in assembly

This PR fixes #231
If the fat jar produced by assembly contains signature files (see: https://docs.oracle.com/javase/tutorial/deployment/jar/signing.html), running it will throw a SecurityException.
The solution (copied by what sbt-assembly does) is to explicitly skip those files (which end in .sf, .rsa and .dsa).
I've tested this locally (with mill dev) on a project which has a signed jar (bouncycastle) and now the exception is not thrown anymore 🎉

thanks!


Simple change to bring chat window to bottom when rolling stress and fallout

Added ui.chat.scrollToBottom in a couple places to bring the chat window down after new results are posted from rolls.
Added setFalloutRoll so the Message would behave more like the stress roll as I was finding it hard to guarantee message was updated before calling scrollToBottom

Should be done I believe


Fix metadata availability testing for parameterized existentials and implement it for @isolated(any) function types

The existing testing was pretty broken: we were diagnosing all sorts of things that don't require type metadata (like using a tuple with an extended existential in a value position in an API signature) and not diagnosing several things that do (like covariant function conversions that erase types).  There's therefore some risk to this patch, but I'm not too worried because needing metadata like this is pretty uncommon, and it's likely that programs won't build correctly anyway --- it'll just get caught by the linker instead of the compiler.

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test

It seems like the first flag argument of swift_getExtendedFunctionTypeMetadata is somehow represented as i64 on 32-bit arch 🤔 As far as I checked, the argument is constructed as SizeTy, so I'm not sure what makes it to be i64.
https://ci.swift.org/job/oss-swift-pr-test-crosscompile-wasm-ubuntu-20_04/66/
/home/build-user/swift/test/IRGen/isolated_any_metadata.sil:24:20: error: CHECK-ACCESSOR: expected string not found in input
// CHECK-ACCESSOR: call ptr @swift_getExtendedFunctionTypeMetadata([[INT]]<PHONE_NUMBER>, [[INT]] 0, ptr null, ptr null, ptr getelementptr inbounds {{.*}} @"$sytN"{{.*}}), ptr null, i32 2, ptr null)
                   ^
<stdin>:28:73: note: scanning from here
define linkonce_odr hidden swiftcc %swift.metadata_response @"$syyYAcMa"(i64 %0) #1 {
                                                                        ^
<stdin>:28:73: note: with "INT" equal to "i32"
define linkonce_odr hidden swiftcc %swift.metadata_response @"$syyYAcMa"(i64 %0) #1 {
                                                                        ^
<stdin>:28:73: note: with "INT" equal to "i32"
define linkonce_odr hidden swiftcc %swift.metadata_response @"$syyYAcMa"(i64 %0) #1 {
                                                                        ^
<stdin>:35:5: note: possible intended match here
 %3 = call ptr @swift_getExtendedFunctionTypeMetadata(i64<PHONE_NUMBER>, i64 0, ptr null, ptr null, ptr getelementptr inbounds (%swift.full_existential_type, ptr @"$sytN", i32 0, i32 1), ptr null, i32 2, ptr null) #2
    ^


Enemy shuffle softlock on vanilla 8-1

Settings: MTEzMjYzNzA5IDA=
Seed:<PHONE_NUMBER>
Level: Shuffled 1-9 (vanilla 8-1)
About 2/3 into the level, there is a section of Bullet Bill launchers over pits (a short one on the left, a tall one on the right). Crossing this pit is either incredibly difficult or impossible as you get no powerups in that level. And, even if you did, the spinning discs that the Bills got replaced with are a real pain.
I only got across because I got a Leaf earlier, and a lot of save scumming.

i wouldnt really call this a softlock since it is possible to make it through without any powerups but it is incredibly hard.
i excluded enemy spawners from enemies that are randomized, but there is no guarantee that will always make it easier.

I won't disagree that it might be technically possible if hard, but I think having the bullet bills there will already be a huge help. Thanks!


Remove the voter election process

Abstract
This PR remove the voter election process from Ostracon. This make it easier to bump up. Changing the documents about this is in #544.
Problem
Currently the voter election process is executed in Ostracon, however this process is not originally the role of Ostracon. Tendermint does not have the voter election process, so voter was introduced as a new role to Ostracon. As a result, it became harder to bumping up Ostracon.
Changes

Remove the voter election process
Remove the proto field related to voter election

voting_weight, voter_params, voters, last_voters, voters_hash, voter_set

Remove RPCs related to voter

Voters, ValidatorsWithVoters

I can then accept this PR if the details of the backgrounds and objectives of this modification are written.

@torao
I updated PR description. Please comment if anything is missing.

@ulbqb
Does LINE Blockchain no longer support Voter elections? If so, how about the reward payout would? Or if not, how to implement voter election? This should be important information for product design.

@ulbqb
Does LINE Blockchain no longer support Voter elections? If so, how about the reward payout would? Or if not, how to implement voter election? This should be important information for product design.

@torao , we need to move this voter selection function to lbm-sdk layer later.

@ulbqb
Does LINE Blockchain no longer support Voter elections? If so, how about the reward payout would? Or if not, how to implement voter election? This should be important information for product design.

Voter selection and reward logic can be freely implemented with abci app(lbm-sdk). Updating validators is perform in EndBlock. See tendermint docs for details.

@zemyblue @ulbqb All right. We have an implicit agreement in our private discussion about how to conduct voter elections, but this PR only contains bits and pieces of information, which is why I asked the question.
To state our conclusion for those interested in LINE Blockchain, we plan to move the behaviour known as voter election from ostracon to the lbm-sdk. This is because in Tendermint, the selection of Validators is the responsibility of the Cosmos-SDK and we have chosen to follow that approach. In this PR, we'll remove the voter election from Ostracon and implement it in a future update to the `lbm-sdk.

Hi guys~
Wow, this is amazing!
If so, do you give up functions such as selecting proposer according to probability? I don't think the sdk layer can be involved in selecting the proposer.

@egonspace
Hello.

If so, do you give up functions such as selecting proposer according to probability?

No. This PR removed only the voter election from ostracon. The proposer election is still run by ostracon.


Angular: cannot update slides when using virtual

Swiper Version: ^6.5.0
Platform/Target and Browser Versions: Chrome

What You Did
https://stackblitz.com/edit/swiper-angular-virtual-njutzo?file=src/app/app.component.ts
Expected Behavior
Virtual slides should be updated when data is changed.
Remove [virtual]="true" from stackblitz to get expected behavior.
Actual Behavior
It does not update. It works fine when virtual is not activated.
I cannot get it to update the new content - i tried:
        this.cdr.detectChanges();
        this.swiperRef.updateSlides();
        this.swiperRef.update();
        this.swiperRef.virtual.update(true);

And tried getting the ref either from the (swiper) event or viewchild.
Also tried looping in ng-container, ng-template and div.
Tried with both regular data binding and async binding. Neither works. Async binding works without virtual.

is it bc i have not implemented renderExternal()? Not sure how to do that in angular, will give it a try though.

Ok after several hours i got the whole shabang working - but only with ngr-swiper-wrapper!
I followed the suggestions here, which makes use of renderExternal().
I've tried several hours to get the same behaviour from the regular swiper, but cannot seem to succeed. I think the problem is that the swiper-angular-component never calls renderExternal() even though supplied in the config?
Please see: https://stackblitz.com/edit/swiper-angular-virtual-jpppq8?file=src/app/app.component.ts
(sorry about the mess, notice that the console("FIRE") is never called).
Could anyone confirm my suspicion (and fix? :) ) since ngr-swiper-wrapper has announced EOL in favour of the original package?

Hey, thanks for opening an issue and sorry for the delay. I've opened PR with a fix for this.
And you cant use renderExternal(), as this is set by Angular component. Same in react/vue/svelte swiper components.

Ok tried your demo and seems to work well, thanks for the quick fix. So you mean that renderExternal is only usable when using the directive? I don't know vue or react - in what situation would i want to use directive + renderExternal instead of the angular component directly?
Maybe this section could be expanded just a little bit?
https://swiperjs.com/swiper-api#render-external-example

renderExternal is usable only if you're using core version. What do you mean by directive?
You're very welcomed to contribute to docs https://github.com/nolimits4web/swiper-website
https://github.com/nolimits4web/swiper-website/blob/master/src/pages/swiper-api.mdx#renderexternal-example

Looks like this is still an issue when using [virtual]="true" in angular. Anyone come up with a fix? I'm trying to force Swiper to re-render the slider with the updated date when ngOnChanges fires but no luck..

Looks like this is still an issue when using [virtual]="true" in angular. Anyone come up with a fix? I'm trying to force Swiper to re-render the slider with the updated date when ngOnChanges fires but no luck..

Any news about this issue???? Any hack???

Looks like this is still an issue when using [virtual]="true" in angular. Anyone come up with a fix? I'm trying to force Swiper to re-render the slider with the updated date when ngOnChanges fires but no luck..

Any news about this issue???? Any hack???

I think i got it working in a branch i made, but i haven't been using it in a long time. Check the diff out here:
https://github.com/wiegell/ngx-swiper-wrapper/commit/bd7055c308042d606a580a68f6f51feb05caf5ec
Sorry for the many linter changes. Check out the .component file and .directive file.


Build automated QA checks

As @Kirkman found in #597 , a scraper can stop producing output without triggering an error in workflow.
While a few states keep WARN and non-WARN layoffs in the same database it's unlikely that many states would ever have a reduction in the number of incidents reported in the files getting scraped. So if a state moves from 283 reports to 123 reports or 0 reports that should get flagged. Simple row counts of CSVs compared to earlier snapshots would have caught Missouri problem.
Weekly Github Action built in warn-support repo, perhaps?

Looks like how to approach this problem is being considered over in https://github.com/biglocalnews/warn-transformer/issues/236


Document runtime error handling

I think the best way to handle errors in Jou is:

return special values (e.g. NULL or -1) in stdlib
use assert in quick and dirty scripts (e.g. AoC solutions)
use a custom error handling function in larger projects (e.g. Jou compiler).

Advantages:

Super simple
Requires no special features in language/compiler
User chooses how to handle errors

Disadvantages:

No standard way to get a human-readable error message string
No compiler warning if you forget to handle error case

This seems like a reasonable tradeoff for Jou, even though it's not a good solution in most other languages. It's also basically what C does.
This should be documented.

Will there be a way to try/except for assertion errors?


Regarding running basic example_render_opengl.py

Hi all,
Thanks for sharing this library. I have downloaded the latest version of warp (master branch). I am trying to run the example_render_opengl.py on my Windows 10 x64 PC with CUDA v11.6. I have done the warp setup from src and all warp tests succeeded. I then ran the command that was written on the readme page that is
python -m warp.examples.core.example_render_opengl.py
But this fails and gives me the following error.
C:\python38\python.exe: Error while finding module specification for 'warp.examples.core.example_render_opengl.py' (ModuleNotFoundError: __path__ attribute not found on 'warp.examples.core.example_render_opengl' while trying to find 'warp.examples.core.example_render_opengl.py')
When I opened the example_render_opengl.py in VSCode to run it from there, I get this error.
Exception has occurred: AssertionError
Warp not initialized, call wp.init() before use
  File "E:\warp-main\warp\examples\core\example_render_opengl.py", line 99, in <module>
    with wp.ScopedDevice(args.device):
AssertionError: Warp not initialized, call wp.init() before use

I tried to find this error in the issues before posting but there seems to be nothing on this. How can i solve this issue?
Thanks,
M. Mobeen

I think the first command needs to omit the .py: python -m warp.examples.core.example_render_opengl
For the second issue, try inserting a wp.init() near the top of the example. Is there anything else in the logs from the case without a wp.init() besides the error you shared?
We changed the code recently not to require an explicit wp.init() except in rare cases, so something was probably overlooked by us here.

Thanks for a prompt reply @shi-eric yes indeed the .py is not needed and it works fine.

I think the first command needs to omit the .py: python -m warp.examples.core.example_render_opengl

For the second issue, try inserting a wp.init() near the top of the example. Is there anything else in the logs from the case without a wp.init() besides the error you shared?
Yeah I added wp.init() before the with wp.ScopedDevice(args.device) and it works fine. thanks. Here is the output that i see in my VSCode. Both issues are resolved.


Add cached writer.

Please answer these questions before submitting pull request

Why submit this pull request?
[ ] Bug fix
[ ] New feature provided
[x] Improve performance

I found that every time we get log, we need exe whole getLogWriter.
Add cached writer. so we need not call whole method always.

At today, provide a static writer pointer may be safe for now. I am not sure about the future yet. Do you face any real issue about this?

At today, provide a static writer pointer may be safe for now. I am not sure about the future yet. Do you face any real issue about this?

Actually not. It is just my idea from code point.

org.apache.skywalking.apm.agent.core.conf.Config.Logging#OUTPUT is modifiable at runtime and the real writer may change, after your patch the modification of Config.Logging#OUTPUT takes no effect.
Although I think we hardly ever change the Config.Logging#OUTPUT at runtime, but the unit tests do this in order to verify, so I think you should either modify the unit test accordingly, or keep everthing unchanged, WDYT @wu-sheng

@kezhenxu94 I see.  But why we change the output type at runtime? is there a real scene?

org.apache.skywalking.apm.agent.core.conf.Config.Logging#OUTPUT is modifiable at runtime and the real writer may change, after your patch the modification of Config.Logging#OUTPUT takes no effect.
Although I think we hardly ever change the Config.Logging#OUTPUT at runtime, but the unit tests do this in order to verify, so I think you should either modify the unit test accordingly, or keep everthing unchanged, WDYT @wu-sheng

@kezhenxu94 I see. But why we change the output type at runtime? is there a real scene?

I think the answer is NO, but you have to make the CI pass, it changes the output type at runtime, just for verification :)

org.apache.skywalking.apm.agent.core.conf.Config.Logging#OUTPUT is modifiable at runtime and the real writer may change, after your patch the modification of Config.Logging#OUTPUT takes no effect.
Although I think we hardly ever change the Config.Logging#OUTPUT at runtime, but the unit tests do this in order to verify, so I think you should either modify the unit test accordingly, or keep everthing unchanged, WDYT @wu-sheng

@kezhenxu94 I see. But why we change the output type at runtime? is there a real scene?

I think the answer is NO, but you have to make the CI pass at least, it changes the output type at runtime, just for verification :)

ok

/run-ci

@wu-sheng PatternLoggerTest this is one of the unstable unit tests AFAIK, other unstable tests like TraceSegmentServiceClientTest are all singletons, so I think the reason why they fail sometimes is the states they hold are changed somewhere else (in other unit tests), I'll just re-run the CI here and will get some time to dig more into this

/run ci


Enable vintage engine on all projects to make sure Junit 4 and 5 are …

…run.
@jorgheymans This supercedes https://github.com/openzipkin/zipkin/pull/2822
Fixes #2824

thanks. will visually verify on green!


lzip: 1.23 -> 1.24

Description of changes
Changes in version 1.24:

The option '--empty-error', which forces exit status 2 if any empty
member is found, has been added.

The option '--marking-error', which forces exit status 2 if the first
LZMA byte is non-zero in any member, has been added.

File diagnostics have been reformatted as 'PROGRAM: FILE: MESSAGE'.

Diagnostics caused by invalid arguments to command-line options now
show the argument and the name of the option.

The option '-o, --output' now preserves dates, permissions, and
ownership of the file when (de)compressing exactly one file.

The option '-o, --output' now creates missing intermediate directories
when writing to a file.

The variable MAKEINFO has been added to configure and Makefile.in.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Thanks for your hard work on this, closing the issue, r-ryantm fixed it!
https://github.com/NixOS/nixpkgs/pull/284905


Can I use Osmnx to visualize moving entities ?

Hi,
I would like to know if Osmnx allows the visualization of moving entities like pedestrians , cars, etc...
If not, what tool would you recommend using instead?
Cheers,

Yes. OSMnx produces a networkx multidigraph. Networkx can analyze and model network dynamics. For more, check out their documentation.

Thank you!

I have searched the networkx documentation, and it looks like the visualization features are not that advanced especially in space-time.
The visualization I am trying to build is like this one in the header that uses d3.js.
I don't think of any other alternatives except loading the svg city file from d3, and continue working this it.


Broken links

Hello, I found some broken hyperlinks:

[ ] http://dokku.viewdocs.io/dokku/ (file: README.md, status code: 503)
[ ] https://wsvincent.com/django-rest-framework-tutorial/ (file: README.md, status code: 404)
[ ] https://wsvincent.com/django-rest-framework-react-tutorial/ (file: README.md, status code: 404)

@ndsvw thank you for pointing these out. these should be fixed now.
^^ cc @wsvincent - I looked to see if both of these articles were moved and I'm not seeing them. cc'ed you in case you want to re-link them to their new homes.


Multiple updates for build tools.

Removing duplicate references.
Making test class from internal to public.
Updating common references.
Misc updates.

@azuresdkci retest this please

@azuresdkci retest this please

@azuresdkci retest this please

@azuresdkci retest this please

@azuresdkci test this please

@azuresdkci retest this please


Crash when opening detail view for non https website.

Problem Description
Application crashes when open Detail tab of website with non secure connection.
Steps to reproduce the behavior:

open in browser http://example.com/
go to flow
open Detail tab

Traceback (most recent call last):
  File "/Users/alex/work/code/python/mitmproxy/mitmproxy/master.py", line 56, in run_loop
    loop()
  File "/Users/alex/work/code/python/mitmproxy/venv/lib/python3.9/site-packages/urwid/main_loop.py", line 287, in run
    self._run()
  File "/Users/alex/work/code/python/mitmproxy/venv/lib/python3.9/site-packages/urwid/main_loop.py", line 385, in _run
    self.event_loop.run()
  File "/Users/alex/work/code/python/mitmproxy/venv/lib/python3.9/site-packages/urwid/main_loop.py", line 1494, in run
    reraise(*exc_info)
  File "/Users/alex/work/code/python/mitmproxy/venv/lib/python3.9/site-packages/urwid/compat.py", line 58, in reraise
    raise value
  File<EMAIL_ADDRESS>line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/Users/alex/work/code/python/mitmproxy/venv/lib/python3.9/site-packages/urwid/raw_display.py", line 416, in <lambda>
    wrapper = lambda: self.parse_input(
  File "/Users/alex/work/code/python/mitmproxy/venv/lib/python3.9/site-packages/urwid/raw_display.py", line 515, in parse_input
    callback(processed, processed_codes)
  File "/Users/alex/work/code/python/mitmproxy/venv/lib/python3.9/site-packages/urwid/main_loop.py", line 412, in _update
    self.process_input(keys)
  File "/Users/alex/work/code/python/mitmproxy/venv/lib/python3.9/site-packages/urwid/main_loop.py", line 513, in process_input
    k = self._topmost_widget.keypress(self.screen_size, k)
  File "/Users/alex/work/code/python/mitmproxy/mitmproxy/tools/console/window.py", line 316, in keypress
    k = super().keypress(size, k)
  File "/Users/alex/work/code/python/mitmproxy/venv/lib/python3.9/site-packages/urwid/container.py", line 1135, in keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/Users/alex/work/code/python/mitmproxy/mitmproxy/tools/console/window.py", line 50, in keypress
    ret = super().keypress(size, key)
  File "/Users/alex/work/code/python/mitmproxy/venv/lib/python3.9/site-packages/urwid/container.py", line 1135, in keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/Users/alex/work/code/python/mitmproxy/venv/lib/python3.9/site-packages/urwid/container.py", line 1135, in keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/Users/alex/work/code/python/mitmproxy/mitmproxy/tools/console/tabs.py", line 41, in keypress
    self.change_tab((self.tab_offset + 1) % n)
  File "/Users/alex/work/code/python/mitmproxy/mitmproxy/tools/console/tabs.py", line 34, in change_tab
    self.show()
  File "/Users/alex/work/code/python/mitmproxy/mitmproxy/tools/console/tabs.py", line 73, in show
    body = self.tabs[self.tab_offset % len(self.tabs)][1](),
  File "/Users/alex/work/code/python/mitmproxy/mitmproxy/tools/console/flowview.py", line 176, in view_details
    return flowdetailview.flowdetails(self.view, self.flow)
  File "/Users/alex/work/code/python/mitmproxy/mitmproxy/tools/console/flowdetailview.py", line 58, in flowdetails
    c = sc.certificate_list[0]
IndexError: tuple index out of range

mitmproxy has crashed!

System Information
Mitmproxy: 7.0.0.dev (+281, commit 4909198)
Python:    3.9.0
OpenSSL:   OpenSSL 1.1.1i  8 Dec 2020
Platform:  macOS-10.15.7-x86_64-i386-64bit

Fixed by ff624d0. Thanks for testing mitmproxy from master! 😃

Fixed by ff624d0. Thanks for testing mitmproxy from master! 😃

Thanks for awesome tool!

Thanks for awesome tool!


Register

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/80185
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 4fb142b219145458ac81bd0c276f9eded0ef9f20
git push origin v0.1.0


buildtag changes for z/OS

This PR enables readline to be built on z/OS
unit test passed:
bash-5.2$ go test .
ok  	github.com/chzyer/readline	(cached)

Hi @chzyer, can you please review my PR? thank you


Translations fix

PR Details
Description
PR fixes translations by using dlls and updated code from my gettext fork : https://github.com/Jklawreszuk/gettextnet.

Additional context
Although, It works correct and imho it could be merged I would say that is only temporary fix.
There are couple things need to do in the future:

[x] Merge PR: https://github.com/stride3d/gettextnet/pull/2

[x] Publish nuget packages: GNU.Getopt, GNU.Gettext
[ ] optional: Publish nuget tools: GNU.Gettext.Msgfmt nad GNU.Gettext.Xgettext

[ ] Remove unnecessary dlls in deps/gettext.net folder
[ ] Update teamcity pipeline or force to install required dotnet tools through msbuild if missing

[x] Consume packages in Stride repo

Related Issue
#1714
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Is this PR large because of the additon of the GNU.Gettext dependancies? if we were to merge your other PR would that shrink this down?

@Doprez Exactly, I've added so many files as a temp fix, because @xen2 has to review and release nuget packages. Other that that I think it will affect around 3 files 🙂

Alright, so I've reduced the size of the commit and It's finally ready for review 👌

Works great, thanks !


Move npm package under @electron/ scope

https://www.npmjs.com/package/@electron/fiddle-core is now live. 🥳


Backstop-like reporter for the service

Used the BackstopJS for a long time and then switched to the wdio-image-comparison-service
It is excellent, but I really miss a reporter in which it would be convenient and quick to see the changes in the layout. it seems to me how the BackstopJS was done would be very suitable here too.
Or already exist reporter like BackstopJS for wdio-image-comparison-service? I will be grateful for the links
Environment:

Node.js version: 13.11
NPM version: 7.0.11
Browser name and version: any
Platform name and version: Win 10
WebdriverIO version: 6.6.2
wdio-image-comparison-service version: 1.13.6

Hi @orandzheviyman
Thanks for your request. I'd like to keep this module as simple as possible and don't have this on my future roadmap. Maybe you can create a module on top of this module that does the Backstop magic.
Going to close it for now, but it's still open for discussion


Create template based on environment ID

https://github.com/rancher/rancher/issues/8701

cc/ @vincent99

Won't this let you read any other environments templates? I think this should be restricted to just images.

@amy Can you add a test to cover that images are successfully loaded? Shoiuld just need to check that you get a 200 response code
Also, I heard you synced with @vincent99. From that convo, you need to update the image link in the template resource. let me know if you need more info on that.
Finally, to @joshwget's point, we should make sure this is secure and users cannot get templates from other environments. BUT, we may not need to do this in catalog-service. I think rancher will automatically validate that the request is scoped to the appropriate project if the URL contains /projects/{project id}. I'm not 100% sure that this is true. I will validate if thats true now. But regardless, I think we need an approach that securely prevents pulling from other catalogs.

@amy I verified the cattle behavior. It will give us automatic authorization checks if we pass projectId as a query parameter (projectId=1a5), but not if we pass it as a path parameter (/projects/1a5). So, you'll need to implement it as query parameter.

Wow, that's a really convenient behavior.

heh yeah @joshwget, for once our incessant overengineering in cattle pays off

You still need to add a test for retrieving the image of environment specific template's image. Actually, you may need to simply modify this test:
https://github.com/rancher/catalog-service/blob/master/integration/core/test_api.py#L373
That test should not send the environment Id as a header; it should send it as a query param.
To be sure this is sufficient testing, run the modified test against the old code and it should fail. Then, run the test against your code and it should pass.

LGTM


np.broadcast support

The np.broadcast function looks at the inputs and produces an object (namedtuple really) that has attributes giving the shape, size, and some iterators.
https://docs.scipy.org/doc/numpy/reference/generated/numpy.broadcast.html
Also used are the broadcast_* functions.
(This was a request from SciPy 2018)

The relevant code snippets can be found in the rowan package at https://bitbucket.org/glotzer/rowan/src


Title Bar is always black

Hi
I am using the AeroWizard as a UserControl. For some reason, the color of the TitleBar is always black. I have ClassicStyle set to Automatic. See screenshot 1 below.

I tried setting this.titleBar.SupportGlass to false and this partially fixes the problem as shown in screemshot 2 below.

Any help would be appreciated.
Thanks,
Ralph
Originally posted: 2016-06-18T04:23:22

I just wanted to add a few more points.
When I try ClassicStyle Aero, I get this:

When I try ClassicStyle Basic, I get this:

I am running on Windows 10.
Finally, in Visual Studio during Design Mode, the wizard looks perfect:

Originally posted: 2016-06-18T04:33:47

The WizardControl is designed to be used only on a Form. It has internal logic that attaches to the Form for closing logic and painting instructions, including using the DWM API for the title bar. You can use the WizardContainer as part of a UserControl, but you will lose some of the button logic.
Originally posted: 2016-06-20T13:53:57


feat: adding reserved headers to proxies

Description

Adding reserved headers for invoking a proxy

Testing required outside of automated testing?

[ ] Not Applicable

Screenshots (if appropriate):

[ ] Not Applicable

Rollback / Rollforward Procedure

[ ] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

:tada: This PR is included in version 1.75.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


ImageRecordIOParser2 Assertion failed

I use python3 and try to get images by .rec file.
I use ImageRecordIter. After 3000000 images I have got, I see OpenCV Error: Assertion failed .
Also I tried only go by iterator and do nothing, but saw the same error on same image.
Here is part of my code.
data_iter = mx.io.ImageRecordIter(
path_imgrec=data_path, # the target record file
data_shape=(3, 112, 112), # output data shape. An 227x227 region will be cropped from the original image.
batch_size=BATCH_SIZE # number of samples per batch
)

data_iter.reset()
for batch in data_iter:
for i in range(BATCH_SIZE):
img = Image.fromarray(batch.data[0][i].asnumpy().astype(np.uint8).transpose((1, 2, 0)))
img.save(path)
Full Error message.
[18:27:27] src/io/iter_image_recordio_2.cc:170: ImageRecordIOParser2: Data/faces_vgg_112x112/train.rec, use 1 threads for decoding..
OpenCV Error: Assertion failed (!buf.empty() && buf.isContinuous()) in imdecode_, file /home/travis/build/dmlc/mxnet-distro/deps/opencv-3.3.0/modules/imgcodecs/src/loadsave.cpp, line 637
terminate called after throwing an instance of 'cv::Exception'
what():  /home/travis/build/dmlc/mxnet-distro/deps/opencv-3.3.0/modules/imgcodecs/src/loadsave.cpp:637: error: (-215) !buf.empty() && buf.isContinuous() in function imdecode_

same issue. Gerkam, have you solved this?

can you share the .rec file that is throwing this error? It would be ideal if you could share a minimal .rec file that can reproduce the error rather than the whole dataset that you may be using.

@mxnet-label-bot Update [Bug, Data-loading, pr-awaiting-response]
@foamliu Can you share a minimal .rec file to reproduce the error here as requested by @anirudhacharya ?


how to change texture and scale for .obj model containing id of it ?

[ ] Review the documentation: https://virocore.viromedia.com/
[ ] Search for existing issues: https://github.com/viromedia/virocore/issues
[ ] Use the latest ViroCore release: https://virocore.viromedia.com/docs/releases
[ ] Turn off Instant Run in Android Studio

Environment
Please provide the following information about your environment:

OS: Mac, Windows, Linux
Version: ViroCore version
Device(s): What device(s) are you are seeing the issue on (i.e. Samsung Note 8, Pixel 2 XL, etc)

Description
Describe your issue in detail. Include screenshots if needed. If this is a regression, let us know.
Reproducible Demo
Let us know how to reproduce the issue. Include a code sample, screen capture, video recording. The more information you provide, the better we can support you.

You can change the scale of an OBJ 3D model through ViroNodes.
Likewise, you can set the textures of geometry through Viro Materials.
Closing due to in-activity.


Whether Dropblock is used?

In paper and official code, the Dropblock is used in protocol B. But I can't find in this repo, so whether the Dropblock is used?

@Vericoware
Hello, I think protocol B in object detection & instance segmentation didn't use Dropblock.
Therefore, this repo only implement protocol B (w/o Dropblock, [0.5, 2.0] scale, 350 epochs)


Unable to resolve

I'm attempting to use this repo as shown in the github marketplace
name: Docker Build And Push To Docker Hub

on:
  push:
    branches:
      - main

jobs:
  build:
    name: Publish to Docker Hub
    runs-on: ubuntu-latest
    steps:
      - name: Git Checkout Code
        uses: actions/checkout@v1
        id: git_checkout

      - name: Build Docker Image
        id: buildAndPushImage
        uses<EMAIL_ADDRESS>        with:
          registry_url: 'docker.io'
          repository_name: 'spuder/openscad'
          user_name: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
          image_version: 'v0.0.1'
          docker_file: '.'
      - name: Get pre step result output image_pull_url
        run: echo "The time was ${{ steps.buildAndPushImage.outputs.image_pull_url }}"

Yet the pipeline always fails with this error.
Current runner version: '2.285.1'
Operating System
Virtual Environment
Virtual Environment Provisioner
GITHUB_TOKEN Permissions
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Getting action download info
Error: Unable to resolve action<EMAIL_ADDRESS>repository not found

It works
uses<EMAIL_ADDRESS>


Swipeable tabs have a fixed size

So here's the page
It seems like the swipeable tabs' content size is fixed. I need some help getting around this. I've tried for the past 2 days but for some reason I can't figure it out. Basically, I added the swipeable tabs, but the tables are touching and they don't scroll vertically. It's like it doesn't just wrap the content of each tab, but has a fixed size for all tabs with the overflow hidden.
I'm wanting it to where when you swipe to the next tab it slides over to the next table, but the height of the container is the same as the height of the table. Basically be exactly as the regular tabs, but with a swipe effect.

Do you just mean you want each tab to have the same size? Or to fill the whole screen? Could you elaborate more

@acburst I just want to be able to swipe from one table to the next and the height to actually wrap the table. Plus, it doesn't even let you to scroll on touch-enabled devices.

Duplicate of https://github.com/Dogfalo/materialize/issues/4148


Fix bug

Issue No: #138
What does this pull request do?

What is the relevant issue link:

Screenshot if applicable

Any additional information?

For context #138


date tm_mon validation failure

zip fails to validate a zero tm_mon produced by the filesystem, e.g.
let meta = unwrap! (file.metadata());
if !meta.is_file() {continue}
let modified = unwrap! (unwrap! (meta.modified()) .duration_since (std::time::UNIX_EPOCH));
let modified = time::Timespec::new (modified.as_secs() as i64, modified.subsec_nanos() as i32);
let modified = time::at_utc (modified);
let lm = unwrap! (zip::DateTime::from_time (modified));

Line
https://github.com/mvdnes/zip-rs/blob/003440bfe3823a01f11047c42e441999f0554daf/src/types.rs#L114
looks like a copy-paste error to me.

Thanks :+1:


[SEO] Add sitelinks searchbox snippet

Google sometimes renders a searchbox for a given result. This box can either return search results based on google's engine, or it can return results based on your site's internal search. To use your site's search you need to add a particular script. Unfortunately this won't increase our chances of having a searchbox in the results, but it means that our search will be used if that ever happens.
In the event that we do get a searchbox we can have this code ready to go so that our own search is leveraged.
More info here
Acceptance Criteria

[ ] Add a script tag with structured data in the theme seo component. google advises that this is done on the homepage and only done once
[ ] Update the theme in Docs
[ ] Test that it is added correctly using https://search.google.com/test/rich-results
[ ] cross your fingers that we get a searchbox one of these days 🤞

https://github.com/newrelic/docs-website/pull/4710
@LizBaker it looks like we can just add this to each individual page we want the search for, but not 100% sure if that is something we want to do, or if it makes more sense than putting it in the theme? Checkout my PR

@rudouglas I think it would be super sweet in the theme! you could add it to the theme SEO component and make it dynamic using the siteUrl which will update based on the site it's in. additionally we can make sure it's only inserted on the homepage of the site similar to how we insert crazy egg https://github.com/newrelic/docs-website/blob/develop/src/components/SEO.js

cool no worries thanks :D

Keeping this open while #547 gets released and merged into the sites

This is merged, once the docs site is released we can check if this is correct using https://search.google.com/test/rich-results

Yay this is now being added correctly 🥳
https://search.google.com/test/rich-results/result/r%2Fsitelinks-searchbox?id=--ZgEt7OyvT5qRWaWHoApg

Just need this merged now https://github.com/newrelic/docs-website/pull/4848


User will be signed out after being offline for a time

After 30 minutes the app is unable to use the refresh token to generate a new access token - so the user is logged out. We need to add a check to skip attempting to renew the token if the network is offline (i.e. Networking.isOnline returns false).

Raised here: https://community.esri.com/message/836146-re-quickcapture-mobile-will-not-upload-data?commentID=836146#comment-836146


UltraPermissions Support

Hello!
Since in the config there is this:
`# It will allow 16 characters before the user's Username.
hooks:
worldguard: true
nametagedit: false
serverlistplus: false
This allows you to configure how nametags will work in game with NameTagEdit.
You can also display a guild's prefix by using {prefix} instead of {guild}.
nametagedit:
prefix:
enabled: true
prefix: "&8[&b{guild}&7]&r "
suffix:
enabled: false
suffix: "&7[&b{guild}&7]&r "`
I'd like to suggest the addon of the UltraPermissions plugin, that is a GUI Permission plugin
Basically recognize Prefixes and Suffixes automatically.
Thanks a lot and good bye c:

Couple things,
I don't really understand what you mean by this. You can just modify the config and then reload the plugins config and you're good, no need for a GUI. I talked to the Dev of UP and he agrees what you're asking doesn't make sense.
Feel free to elaborate.


Search Query Configuration

I have a query that searches through >42000 rows of data.  How can I set up a wild card in the expression so that when a user starts typing the results are filtered to find the right field  this would work like auto complete.
EX:
name: 'Search Airport by Name',
searchFields: [
{
name: 'Name',
label: 'Name',
expression: '(Name LIKE '%[value]%')',
//unique: true
required: true,
minChars: 3

Are you asking for type-ahead functionality like you get when you do a search with the Esri search widget (aka geocoder widget)? You might be able to do that with the Esri search widget if you turn on type-ahead for your Service though I suspect it would be very slow with 42,000 features in a MapService/FeatureService layer. You might want to consider a geocoding service to speed up the lookups/type-ahead.
Type-ahead is something I have considered adding to the search widget but not sure it would be usable with 42,000 rows for the same limitations.

Yes.  I have been trying to figure out how to render this data in a faster manner.  We like all the other capabilities in the widget for our search.  I really like your widget.  Unfortunately, this capability is one of my most popular widgets in Flex.  I need to figure the mystery out. Thanks

So type-ahead works well with the Flex widget? Then we can definitely make it work better within a JavaScript-based widget. 😄

:).  It is using the eSearch widget.  I get about 500 hits per day on this widget.  My team also needs to work on faster data rendering options.

This widget 'almost' does what I need it to do.  The results do not display in the attribute table.  It also displays this error that I want to eliminate,  Unable to get property 'toLowerCase' of undefined or null reference.  This is why I need to migrate to your search widget.
https://geonet.esri.com/docs/DOC-6889

Your link is for the eBookmarks widget but I think you are referring to the JavaScript WAB version of the eSearch widget. That widget doesn't work with my AttributesTable widget. The widget makes assumptions that the WAB AtttributesTable widget is being used. I know other devs had modified an older version of the eSearch widget to pass the results to my AttributesTable widget though I don't know the full effort involved.
Is the type-ahead the only issue holding you back from using my Search widget? I looked the other day for a type-ahead implementation either in the old Flex version or the newer JavaScript version of eSearch and did not find it. Can you point me to an exampel of what you are currently using?

Shoot the wrong link copied.  https://geonet.esri.com/docs/DOC-1731-enhanced-search-widget-version-211-080116.  that is confusing.  I am going to use your widget. It does everything I need it to do.  I thought that looking through RS's code would help with the type-ahead function.  It was only friendly help suggestion. This is the expression i am using in the config.json that allows for type-ahead,  "sqltext": "Upper(arpt_name) LIKE Upper('%[value]%')", "operation": "stringOperatorIs", "uniquevalsfromfield": "arpt_name".  I tried replacing ')' with '' as your examples suggested.  I could not get the query to work right.  I may not be doing something correct on my end. It may not be your widget.

Thanks. I definitely took it as "friendly help". I would like to include type-ahead. That's the eSearch widget I assumed you were talking about. I saw this discussion in geonet which led me to believe that type-ahead isn't included with the eSearch widget either. I'll dive in further.

:)  thank you


add filterBy() shortcut methods

Hi,
first of all, I really want to thank you, your work is wonderful.
Back to the topic, I meet this scenario very often:
StreamEx.of(persons)
    .filter(p -> Objects.equals(p.getProperty(), someValue))
    ...

but I'd like to write:
StreamEx.of(persons)
    .filterBy(Person::getProperty, someValue)
    ...

I already created my utils class so that I can:
StreamEx.of(persons)
    .filter(Predicates.filterBy(Person::getProperty, someValue))
    ...

But it's still cumbersome.
So, I'm asking to add to AbstractStreamEx the following shortcut methods (maybe the 2nd and 3rd are too specific):
public <R> S filterBy(Function<? super T, R> mapper, R value)
{
    return filterBy(mapper, value, Objects::equals);
}

public <R> S filterBy(Function<? super T, R> mapper, R value, BiPredicate<R, R> predicate)
{
    return filter(x -> predicate.test(mapper.apply(x), value));
}

public <R> S filterBy(Function<? super T, R> mapper, Predicate<? super R> predicate)
{
    return filter(x -> predicate.test(mapper.apply(x)));
}

Thank you, and keep up the excellent work.

I don't like adding 2nd and 3rd case (see also #117), but first one seems to be quite common case. It's usually unnecessary for primitive streams and for anyMatch can be easily expressed via map(mapper).has(value), so there's no obligation to add the corresponding versions for other methods consuming predicate. Also unlike 2nd and 3rd case this may actually add usefulness if you want to compare with value which is not effectively-final, so you cannot write filter(t -> t.getSomething().equals(v)) without reassigning v to intermediate final variable.
I will implement it, though I will add it in StreamEx now, not in AbstractStreamEx. I doubt it's too useful for EntryStream in this form and don't want to pollute its API unnecessarily. If we find it useful, we can pull it up later.

Thank you!!


Services: first build: abs added

{package} {version} {:snowflake:}
Destination channel: {Snowflake | defaults}
Links

{ticket_number}
Upstream repository
Upstream changelog/diff
Relevant dependency PRs:

...

Explanation of changes:

...

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_0d2q3lyq41/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:33: python_build_tool_in_run: The python build tool setuptools is in run depends
clone/recipe/meta.yaml:34: python_build_tool_in_run: The python build tool setuptools is in run depends
clone/recipe/meta.yaml:56: missing_description: The recipe is missing a description

===== ERRORS =====

clone/recipe/meta.yaml:56: missing_home: The recipe is missing a homepage URL
clone/recipe/meta.yaml:46: has_run_test_and_commands: Test commands are not executed when run_test.sh (.bat...) is present.
clone/recipe/meta.yaml:56: missing_documentation: The recipe is missing a doc_url or doc_source_url
clone/recipe/meta.yaml:56: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:29: missing_wheel: For pypi packages, wheel should be present in the host section
clone/recipe/meta.yaml:56: missing_dev_url: The recipe is missing a dev_url
clone/recipe/meta.yaml:34: remove_python_pinning: On arch specific packages, python deps should not be constrained.
clone/recipe/meta.yaml:29: remove_python_pinning: On arch specific packages, python deps should not be constrained.
===== Final Report: =====
8 Errors and 3 Warnings were found


Dask Dashboard not loading with strange error message

I'm trying to reproduce the Dask benchmarking done here: https://github.com/EthanRosenthal/medium-data-bakeoff
To test, I've created a new environment and run conda install coiled-runtime python-duckdb kaggle loguru tqdm.
When I launch a cluster and try to open up the dashboard I get the following error message:
Dask needs bokeh >= 2.1.1 for the dashboard.
Install with conda: conda install bokeh>=1.0
Install with pip: pip install bokeh>=2.1.1

Besides the fact that the conda instructions are incorrect, this is an odd message because bokeh==3.0.1 is installed in the environment.
Running conda update bokeh doesn't solve this because conda says all packages are updated.

Just tried again with an env created using conda install coiled dask python-duckdb kaggle loguru tqdm. In this env, the Dask dashboard is working. This env solves with bokeh==2.4.3.

Sounds like duplicate of https://github.com/coiled/coiled-runtime/issues/520 (the problem there wasn't pip specific as far as I can tell)

Thanks @ntabris - looks a duplicate indeed. closing.


Extracted health store logic

Extracted health store to a isolated class

Current coverage is 46.56% (diff: 14.06%)

Merging #22 into master will increase coverage by 0.06%

@@             master        #22   diff @@
==========================================
  Files             9         10     +1
  Lines           400        408     +8
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            186        190     +4
- Misses          214        218     +4
  Partials          0          0

Powered by Codecov. Last update d5ea48a...5b377e6


Controlling Parameters

Hello, Thanks for your great work :)
Could you please let me know how we can control Suppression intensity k and Symmetry ceiling λ?
I found two parameters below in the code, but I'm not sure if they are related to k and λ:

Could you please explain about this?

No, they are not used in our experiments (branch: experiment). The master branch are updated, and the curves are actually implemented in speed.diffusion.speed.Speed_IDDPM.


Update script

Purpose
make the upgrade of ZPUI from ZPUI as safe as possible.
See #34 for discussion
Implementation

fixes import in ui/test/* files
reformat ui/test/* files
additions to update.sh

adds set -e to fail on any error encountered
adds actual branch name when pulling from git
ensure the script is run from the right CWD
adds dependency update/installation using pip
ensure creation of the install dir (in case the name changes)

** Issues**
The checkbox test fails for some reason. Needs to be fixed but not sure how to proceed yet. It's ignored for now (see bpast-copy of the error stack )
Maybe the script should create the folder where personal data is stored as well (~/.phone/ ? )

Quick glance: the one feature that hasn't yet been implemented is reverting the changes done if the update process fails. For example, if the update process fails during installation of packages from requirements.txt, or tests won't pass, the user will most likely end up with a broken ZPUI install. In this case, reverting the git tree to the previous commit (and re-installing everything from the old requirements.txt) should solve the issue.

My last commit of update.sh changes the behaviour a bit :

the git repo is cloned locally into TMP_DIR (default:/tmp/zpui_update)
that git repo is then updated using git pull -ff-only

Since it rolls the rest of the update (pip installs, and tests) before copying it back to the install dir, in the worst case scenario, the process fails and the ends up having :

his old installation intact in INSTALL_DIR
an invalid installation in TMP_DIR

I'm a bit unsatisfied by the second point but didn't have a good way to deal with it. Any suggestion ?

There's one more thing it's going to leave behind - new requirements, from new requirements.txt. If we're upgrading a big library which is going to break stuff, that's no good.

Almost merged:

Need to integrate running tests into the app
Need to test it on another ZeroPhone before merging into master

@monsieurh Some notes:

Your PR refers to a requirements.txt file, but doesn't actually contain one, so the update.sh would never complete if I were to merge it straight away. Fixed!
The script calls the pytest2 executable, which is not available on Raspbian. Replaced with pytest - any suggestions?
Your commit also does git pull origin master --ff-only, and this command-line doesn't seem to work with versions of git that Raspbian currently has - the correct syntax is git pull --ff-only origin master. Any suggestions?


what is pCryptoType?

[Enter feedback here]
Could you describe what is pCryptoType used for and what is the value of it?

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

ID: c544fc6e-03be-95f2-7913-a37a86028061
Version Independent ID: 1a0687a0-fcb1-822a-75d7-32321c83d5a8
Content: D3DWDDM2_0DDI_VIDEO_CAPABILITY_DECODER_CAPS (d3d10umddi.h) - Windows drivers
Content Source: wdk-ddi-src/content/d3d10umddi/ns-d3d10umddi-d3dwddm2_0ddi_video_capability_decoder_caps.md
Product: windows-hardware
Technology: wdk-api-reference
GitHub Login: @lorihollasch
Microsoft Alias: loriwhip

Thanks for reporting the missing info, @yantangx! I've updated the page.


Plugin not working for me.

Hey,
The plugin is really cool but I think I'm missing something in the configuration and it doesn't work for me. Here's the screenshot with the plugin configuration which also demonstrates that it's not working for me. I'm likely missing something really obvious. Thanks for your help!

Hi @eldar, thanks for opening this issue. Could you try something real quick for me?
Copy the object you're passing to require("lualine").setup() on your left buffer, and then comment out the entire thing, including tmux-status. In fact, comment out the whole file.
Then go to your file on the right buffer, and paste the object into a brand new opts property (i.e: opts = { ...object goes here... } after dependencies where you're including lualine.nvim.
You want something like this:
return {
  {
    'nvim-lualine/lualine.nvim',
    dependencies = {  ... }
    opts = { ...paste your object here... }
  },
  {
    'christopher-francisco/tmux-status.nvim',
   ...etc
}

Hi,
I also have issues. Here is my config
return {
  {
    "nvim-lualine/lualine.nvim",
    opts = {
      sections = {
        lualine_a = { "mode" },
        lualine_c = {
          {
            require("tmux-status").tmux_windows,
            cond = require("tmux-status").show,
            padding = { left = 3 },
          },
        },
        -- lualine_x = { "diagnostics" },
        lualine_y = {},
        lualine_z = {
          {
            "filename",
            path = 3,
          },
          function()
            return " " .. os.date("%R")
          end,
        },
      },
    },
  },
  {
    "christopher-francisco/tmux-status.nvim",
    lazy = false,
    opts = {},
  },
}

I use nvim 0.10.1 and LazyVim.
When I include only one component, loading the plugin crashes:
.config/nvim/lua/plugins/lualine.lua:9: module 'tmux-status' not found:
	no field package.preload['tmux-status']
cache_loader: module tmux-status not found
cache_loader_lib: module tmux-status not found
	no file './tmux-status.lua'
	no file '/home/runner/work/neovim/neovim/.deps/usr/share/luajit-2.1/tmux-status.lua'
	no file '/usr/local/share/lua/5.1/tmux-status.lua'
	no file '/usr/local/share/lua/5.1/tmux-status/init.lua'
	no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/tmux-status.lua'
	no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/tmux-status/init.lua'
	no file './tmux-status.so'
	no file '/usr/local/lib/lua/5.1/tmux-status.so'
	no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/tmux-status.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'

# stacktrace:
  - .config/nvim/lua/plugins/lualine.lua:9 _in_ **load**
  - .config/nvim/lua/config/lazy.lua:9
  - .config/nvim/init.lua:2
09:48:09 PM msg_show 33 lines yanked
09:48:06 PM ms

@christopher-francisco Hey! I did what you suggested and I'm getting this now:
Error detected while processing /users/eldar/dotfiles/.config/nvim/init.lua:
Failed to load `plugins.lualine`

/users/eldar/.config/nvim/lua/plugins/lualine.lua:20: module 'tmux-status' not found:
^Ino field package.preload['tmux-status']
cache_loader: module tmux-status not found
cache_loader_lib: module tmux-status not found

Gotcha @eldar @Dronakurl  -  thank you both. I'll try installing it with Lazyvim and post my findings

I've followed the instructions in LazyVim docs for installing a new plugin, but I'm seeing a similar issue.
I think we may need to figure out whether require() can or cannot be used with LazyVim, as it seems to be the cause
This is my file:
// ~/.config/lazyvim/lua/plugins/ui.lua

return {
  {
    "christopher-francisco/tmux-status.nvim",
    lazy = true,
    opts = {},
  },
  {
    "nvim-lualine/lualine.nvim",
    opts = {
      sections = {
        lualine_c = {
          {
            require("tmux-status").tmux_windows,
            cond = require("tmux-status").show,
            padding = { left = 3 },
          },
        },
      },
    },
  },
}

I have configured another plugin, battery.nvim. I also has a require, but I packed it to a local function. I tried something similiar with tmux-status.nvim, but still could not get it to work.
The errors stopped, but the show condition was never positive. When I removed the condition, I saw not windows, but (very strange) a command prompt in the lualine.
local nvimbattery = {
  function()
    return require("battery").get_status_line()
  end,
  -- color = { fg = colors.violet, bg = colors.bg },
}
local activated_venv = function()
  local venv_name = require("venv-selector").venv()
  if venv_name ~= nil then
    -- objectmvp--ytfYSZ4-py3.12
    local res = string.gsub(venv_name, ".*/pypoetry/virtualenvs/", "")
    res = string.gsub(res, "%-%-.*%-py3%.", "--py3.")
    return res
  else
    return "venv"
  end
end

return {
  {
    "justinhj/battery.nvim",
    enabled = true,
    config = function()
      ---@diagnostic disable-next-line: missing-fields
      require("battery").setup({})
    end,
  },
  {
    "nvim-lualine/lualine.nvim",
    enabled = true,
    event = "VeryLazy",
    opts = {
      sections = {
        lualine_a = { "mode" },
        lualine_b = { "branch" },
        lualine_c = {
          {
            "filename",
            path = 3,
          },
        },
        lualine_x = { activated_venv },
        -- lualine_x = { "diagnostics" },
        lualine_y = {},
        lualine_z = {
          nvimbattery,
          function()
            return " " .. os.date("%R")
          end,
        },
      },
    },
  },
}

@Dronakurl - I tried your approach and it's working now. See code below
(PS: note my config dir is .config/lazyvim instead of .config/nvim because I'm using NVIM_APPNAME env variable so that I can boot LazyVim without deleting/uninstalling/backingup my own config)
-- ~/.config/lazyvim/lua/plugins/ui.lua

return {
  {
    "christopher-francisco/tmux-status.nvim",
    lazy = true,
    opts = {},
  },
  {
    "nvim-lualine/lualine.nvim",
    dependencies = { "christopher-francisco/tmux-status.nvim" },
    opts = {
      sections = {
        lualine_c = {
          {
            function()
              return require("tmux-status").tmux_windows()
            end,
            cond = function()
              return require("tmux-status").show()
            end,
            padding = { left = 3 },
          },
        },
      },
    },
  },
}

So for me, there is no error message, the tmux line gets hidden, but there is no window name that is displayed. I copied it directly into my config, overriding my lualine config completely.
I tried with a clean lazyvim install with only this config and found that it displays the folder I am currently in. It seems, that the prompt of my shell is somehow used.

@christopher-francisco The latest code snippet you shared still doesn't work for me. No error messages but tmux's own bar is still there and nothing is shown in Lualine.

@Dronakurl - that's good then. It's showing you the current dir. You can make it display the tmux window name instead. Take a look at the config object in the README!

@eldar it sounds like the configuration file itself isn't being evaluated.
If you just try to override lualine with a "hello world", does it work?

@eldar I'm out of ideas to be honest. If there are no errors, and the tmux status is still showing, the only thing I can think of is that the plugin is not being loaded.  Could it be maybe be accidentally overriden by a different one or the default one?

hello，how colud i only show current window name not all window in current session, require("tmux-status").tmux_windows will show all window

@christopher-francisco
The plugin is loaded for me and so is Lualine which does work - they are defined in the same file, so there is no overwriting. Here's the Lazy plugin manager output:

Here is the config again:
return {
  {
    'nvim-lualine/lualine.nvim',
    dependencies = { 'nvim-tree/nvim-web-devicons' },
    opts = {
      sections = {
        -- Other Status Line components
        -- lualine_a = { ... },
        lualine_b = {
          {
            "filename",
            path = 1,
          }
        },
        lualine_c = {
          {
            function()
              return require("tmux-status").tmux_windows()
            end,
            cond = function()
              return require("tmux-status").show()
            end,
            padding = { left = 3 },
          },
        }
      }
    }
  },
  {
    "christopher-francisco/tmux-status.nvim",
    lazy = false,
    opts = {},
  },
}

I'm not sure if it's something in my config that I'm missing or it is some problem with my setup (tmux on the remote machine, neovim built with Nix, etc).

Hey @eldar  - did you manage to solve this? If not, it may be worth creating a reproduceable sandbox so I can play around. It definitely sounds like a config issue


integration-cli: Fix style of swarm test name

A recent change fixed integration tests to use "API" in test names
instead of "Api". A new test was added in a PR opened before this
change, and didn't benefit from the cleanup. Fix its name.
Signed-off-by: Aaron Lehmann<EMAIL_ADDRESS>

LGTM


back arrow from metadata page returns to page 1

When the back arrow is clicked on viewing the landing page of a dandiset after browsing dandisets, it takes one to the first page of listings. in that case the icon should be replaced with a home icon. if not, it should take you back to the last state.

do we want this to return to the home page or the last state?

i think the arrow was removed. there may be an open PR to this effect. #690

Yes, I will work on getting #690 merged asap.

Since the arrow was removed, this is solved.


Add documentation for the 1.0 version.

The site (http://jamesarmes.com/php-ews/) should be updated to include documentation for the 1.0 version. It should at least be on par with the 0.1 version documentation before this version is released.

The landing page for the documentation on the site has been created (http://jamesarmes.com/php-ews/1.0.x/). Examples have been created in the code (see https://github.com/jamesiarmes/php-ews/tree/master/examples) rather than on the site. I feel this will be more useful to developers and allow for easier maintenance, preventing those examples from becoming stale as the library evolves. The current set of examples is on par with those for the 0.1 version, so this issue can be closed.


Make automatic side car injection work properly in multicluster

automatic side car injection does not function properly in multicluster.  A full mailing list thread with two proposed solutions is covered here: https://groups.google.com/forum/#!topic/istio-environments/7mpzajbGh4c

Proposals courtesy of @ayj:

replicate the sidecar injector deployment, service, mutatingwebhookconfiguration, configmap, etc. into the remote cluster.
copy the mutatingwebhookconfiguration into the remote cluster and modify that webhookclientconfig to use the explicit URL field instead of the ServiceReference. You'll need to expose the sidecar injector in the local cluster (e.g. via ILB or type=LoadBalancer).

@Rigdon had expressed interest in working on the implementation of this work.

Yup, I'm working on an implementation of (1) and we'll see how it goes.

It seems I can't assign either - but thanks for working on it, looking forward for the PR.
"Assigned" is mostly informative, we don't have any formal use. For P0s we want to be sure
we know who's working on them.

Quick update on this: I have an installation process that seems to be working very well but I'm currently hung up on #6313 that isn't directly related to multi-cluster but may involve additional work to support multiple clusters with different cluster domains. I've also incorporated an ILB and the RBAC guidelines from this PR but will keep those separate form the eventual PR from this.

@sdake Can we close this now?

Any update on this? What is the left-over work?


Simplify Sector Class by Removing Redundant Parameters

Overview: What does this pull request change?

This pull request refines the Sector class by removing the redundant parameters inner_radius and outer_radius, simplifying the constructor to accept only a single radius parameter. The inner_radius is now automatically set to 0, reflecting the true geometric nature of a sector.

Motivation and Explanation: Why and how do your changes improve the library?

Currently, the Sector class in Manim inherits parameters, including inner_radius and outer_radius, from the AnnularSector class.
This makes the Sector class exactly the same as the AnnularSector class. This is why the examples given in the Manim Documentation for the Sector class are examples of AnnularSector.
Actually, the Sector is conceptually a special case of AnnularSector where inner_radius should always be 0. This means that the Sector class should only require a single parameter, radius, which is then directly passed to outer_radius of AnnularSector.
Links to added or changed documentation pages

Further Information and Comments

The examples provided in the Manim documentation for the Sector class actually depict scenarios that are more representative of the AnnularSector class. This highlights the confusion caused by the redundant parameters.

Current Documentation Example of Sector:

That example is similar to Example of AnnularSector:

Correct Sector Representation
The following image depicts what a Sector should look like when only the radius is provided, with inner_radius set to 0. It accurately represents a sector, demonstrating how the simplified constructor correctly models this geometric shape.

Reviewer Checklist

[ ] The PR title is descriptive enough for the changelog, and the PR is labeled correctly
[ ] If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
[ ] If applicable: newly added functions and classes are tested

This seems fine to me, thanks

Thanks for reviewing and accepting the changes! I appreciate it.


Remove "@react-native-async-storage/async-storage" dependency

This dependency adds 200MB to npm installs because it also pulls in react-native. It's more than 10x bigger than any other dependency. This makes anything that uses walletconnect as a package need 500mb+ in wasted storage. Can you please find a way to include this type of dependency without pulling in this package which pulls in react-native unecessarily?

Hey @nlnw, this dep is defined as peer and only downloaded in dev mode https://github.com/WalletConnect/walletconnect-utils/blob/master/misc/keyvaluestorage/package.json#L51 It shouldn't be present in prod builds.
How are you measuring the bundle size?

It's not present in the final bundle, but it's still a waste to make all developers download this giant dependency (the next largest dependency is 10x smaller). I mostly pick this up through viem. You can see how big that dependency is through this tool: https://pkg-size.dev/viem


Problems with noisy sensor data for localization

Hello, I am a student studying cartographer. After mapping, localization is in progress, but the lidar value and map do not match like in the video. I tried parameter tuning by looking at the tuning guide on the cartographer site, but it didn't work, so I'm asking. Can you give me some advice on what parameters can be adjusted to compensate for the distortion of the sensor values?
To improve the chances that other Cartographer users can help you,
here are some guidelines for describing your tuning problem:

check the tuning guide on the documentation page and previous issues -
some problems might have been solved already by other people.

run rosbag_validate which does some checks on your sensor data. This
tool often finds issues that can explain poor performance and must be fixed
at recording time. Please post the full output of the tool into a
GitHub Gist at https://gist.github.com/, then link it in the issue even if
it does not report anything. You can run the tool like this:
rosrun cartographer_ros cartographer_rosbag_validate -bag_filename

post a link to a Git repository containing a branch of
cartographer_ros containing all the configuration, launch, and URDF files
required to reproduce your issue.

post a link to a bag file we can use to reproduce your issue. Put it on
Google Drive, Dropbox, any webserver or wherever it is publicly
downloadable.

remove this boilerplate text before submitting your issue.

PLEASE NOTE: tuning issues are not necessarily handled by the maintainers and
can be closed after a period of inactivity.

Hi @choyoungjin0928 , I shortened your title a bit to make it more readable for everyone. Feel free to change the title again, if I misunderstood your issue.


OPA 0.34 breaks Multi-Entry Points Tests

https://github.com/open-policy-agent/opa/releases/tag/v0.34.0
Todo: figure out what they changed (this is getting annoying)

@eshepelyuk did you try 0.34? I just tried the simple thing of stripping the entrypoints of '' to see if that makes the unit tests work again, but: some entrypoints no longer exist, calling even into the default entrypoint gives me an empty output json.

https://github.com/open-policy-agent/opa/issues/3953#issuecomment-957245627 cmd line change


Replace two cases of jQuery ajax with fetch

Dropzone attachment removal, pretty simple replacement
Image diff: The previous code fetched every image twice, once via img[src] and once via $.ajax. Now it's only fetched once and a second time only when necessary.

Likely should move the DOMParser and XMLSerializer to some shared functions.

I guess we can backport as an enhancement to image diff which should now load twice as fast and use half the bandwidth.

Ready again.

I think it's better to wrap some await with try-catch.
Because now we show the unhandled rejected promise error to end users. But for this case (get SVG size), it doesn't need to show the errors.

Maybe add an option into request to catch the error there?
Not sure if related but I noticed that sometimes when you log out on the notification page, a NetworkError toast is briefly visible.

We should use https://github.com/sindresorhus/is-network-error to detect network errors.

We should take out the logic rather than full functionality, mostly this file in utils.js
https://github.com/sindresorhus/is-network-error/blob/main/index.js#L1

I am not in favour of installing the full lib.

Why not? Minified, this will be like sub 1kB of additional JS. Would you rather like to maintain a brittle list of strings yourself?

Why not? Minified, this will be like sub 1kB of additional JS. Would you rather like to maintain a brittle list of strings yourself?

Not a blocker for me.
Size is not a problem, but support for this library/repo is crutial. So Just a thought.

Again this is ready.
The backend now exposes the sniffedType to the template code, which I needed to access the mime type so i can propagate it to JS.
BTW, this while diff code seems ripe for a rewrite/refactor.

There seems to be a existing bug where image renders with 0x0, not caused by this PR.

So I rewrote this image loading completely. The bug with the 0x0 images seems to be gone with that.


ICU message format for translations

[x] I have read the contributing guidelines and I agree with the Code of Conduct
[x] Have you checked that there aren't other open pull requests for the same changes?
[x] Have you tested that the committed code can be executed without errors?

Added support for MessageFormat from ICU for all the translation lines.

Can you further explain what ICU does? Thanks!

Here in description of library that I used (see Supported formats) some good examples of formats which can be used. Most used case for russian language for example would be plurals, cause in english you have only two cases - 1 item is without "s" ending and the others - with "s", which you are handling right now directly in the code with "if's". In russian (also almost all the slavic languages) there are more cases with different endings, f.e. "яблоко" (an apple) with different numerals before would be "1 яблоко", "2 яблока", "5 яблок" and so on. Also, you can format dates, numbers in different locales, currencies and more.

One more note - Tolgee already handles ICU format: it has highlighting and it shows readable result when translation is saved

No, we can just use new functions when translating the lines in Tolgee, old ones will work as before. But there can be one issue - if you support all the old versions and they can fetch new translation lines, if they will use ICU - old versions of WingetUI would not handle them properly, not sure what is the best way to resolve this.

Hello @flatron4eg, I am afraid this PR would break older versions of WingetUI. Therefore, I can't merge it.

@marticliment But since you already changed path to language files with UniGet rebranding (https://github.com/marticliment/WingetUI/blob/527a35a77bd0f86dc820dd33acd09c8dea55a00a/src/UniGetUI/Core/Data/LanguageData.cs#L101), older versions will not get any updates from github, cause there are not files on that old path.

That is true, I did not think about that...

Resolved all the conflicts, is there anything else have to be done before merge?

No, everything should be fine. I will review changes and merge it as soon as I have a moment to do some testing

Thanks❤
I will check the tests and merge


Downgrade Visual Studio for Mac

Is there anyway to downgrade Visual Studio for Mac? I want to downgrade from 8.9 to 8.8.

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

ID: b8f3608c-d434-e892-85db-032af35f919b
Version Independent ID: d546284e-5cd8-6a41-790b-5302b628d357
Content: Updating Visual Studio for Mac - Visual Studio for Mac
Content Source: mac/update.md
Product: visual-studio-mac
Technology: vs-ide-install
GitHub Login: @heiligerdankgesang
Microsoft Alias: dominicn

@tsequeira-vhs thanks for your patience. Right now, there isn't a way in the product for you to downgrade to an older version. If you email me, though, I can help you downgrade.
<EMAIL_ADDRESS>I'll keep an eye out for your email. When you reach out, could you please let me know if there's a particular issue you're hitting in 8.9 that has caused you to want to downgrade.
Thanks!
#please-close


Update mentions of range_{min,max}_size

Fixes #7367.
Related to #5971, #7173, #7443.
Summary of changes:

Update all mentions of range_min_size and range_max_size to use
the new default values of 134217728 and 536870912, respectively.

Fix a dangling prose mention of the previous value in MiB.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/c23bd5085ae4684ba577cf6c1271ece4d99618b6/
Edited pages:

v20.1/configure-replication-zones.md
v20.1/demo-low-latency-multi-region-deployment.md
v20.1/partitioning.md
v20.1/show-partitions.md
v20.1/show-zone-configurations.md

Thank you Eric!


n_jobs for PyNNDescentTransformer

I saw that n_jobs is a parameter for NNDescent but not the transformer. Can you add number of jobs to the transformer if possible? Thanks!

Unless if this is automatic. I do see a lot of threads. Perhaps as had been mentioned, maybe making it multiprocess through a dask scheduler

I don't have time to get to it right now, but I suspect it is not hard -- I would happily accept a PR if you have time to submit one.

As to the use of dask -- I believe the threading is now handled by joblib which can optionally use dask as a backend, so from a multi-threading perspective we are using dask (or can be using dask). The more tricky dask option would be to support out-of-core or distributed computation on arrays too large for memory on a single compute node of a cluster. That requires a little more work.

I see, thanks for the discussion. I may not have the time now to PR but will keep this in mind


Do we have plan to rewrite logic in typescript for more clear structure?

https://github.com/node-formidable/formidable/pull/899
on the way


HMIHandling: skip test if CPU/revision not supported

Skip the test if the proper CPU/revision is not being tested.
Comment out paths that can produce interactive dialogue for now.
Signed-off-by: Deb McLemore<EMAIL_ADDRESS>

Closing, will submit a new PR with interactive opal-gard support which obsoletes this.


Distro: add initial support for el10/c10s (COMPOSER-2185)

To unblock c10s development, add a quick and dirty version of RHEL-10/c10s.
Fix #501

repo needs to be added, but blocked on https://github.com/osbuild/rpmrepo/pull/94


Damping

Hey, great library I love how it's focused on just doing one thing and doing it well.
Though I have a question about the 'damping' option and what it should be used for. Could you give more examples on it's use case and why the default is 1.6 ? Is this some kind of "sensitivity" option or something?

damping is used to simulate the spring effect in a naive way

Let's try it in pull-element playground
Said we start touching in here

What if the damping value is 1

It shows that the moving distance is almost equal to the distance of the user's touch-move. It may be too sensitive, sometimes boring.
What if the damping value is 1.6

It looks like there exists a reaction force interacting with the user.
What if the damping value is 4

Oh, too sluggish! It's hard to move an element. the user got a bad experience.
The default value 1.6 is selected by my testing:-)

Woah thanks for the great explanation. So it's almost a bit like "friction" so the touch isn't a 1/1 but feels like there is some kind of resistance to it. Hope I understood that correct, thanks once again 👍


Remove implicit casts from the language

Currently we allow implicit casts from u8 or s8 to byte and allow implicit casts *any to *byte. Honestly this just makes the language clunkier and the compiler more complex. Remove implicit casts from the language and require users to be explicit in their intent when writing code.

Fixed in 32a1ea76f4e55cd835d7ad5c70e23c72a995f712.


Add Cleanup for requests

Requests should last for defined days, default 30
count in main entity should be used as indexed value of requests - so update them also when cleanup is called

resolved with https://github.com/tinect/TinectRedirects/commit/cf934ac51fb6726c3e9f5a94e3d08a7c005e95a0


Incompatibility with numpy 2.0.0

When using autograd in my tool with numpy 2.0.0, I get the following error message:
  File "/home/.../lib/python3.11/site-packages/autograd/__init__.py", line 2, in <module>
    from .differential_operators import (
  File "/home/.../lib/python3.11/site-packages/autograd/differential_operators.py", line 16, in <module>
    import autograd.numpy as np
  File "/home/.../lib/python3.11/site-packages/autograd/numpy/__init__.py", line 5, in <module>
    from . import numpy_vjps
  File "/home/.../lib/python3.11/site-packages/autograd/numpy/numpy_vjps.py", line 563, in <module>
    defvjp(anp.msort, grad_sort)  # Until multi-D is allowed, these are the same.
           ^^^^^^^^^
  File "/home/.../lib/python3.11/site-packages/autograd/tracer.py", line 48, in f_wrapped
    return f_raw(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/.../lib/python3.11/site-packages/numpy/__init__.py", line 410, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'msort'. Did you mean: 'sort'?

I think numpy introduced the new numpy.sort function, maybe this is just a single replacement?
Any help on this incompatibility would be very much appreciated, since currently autograd is restricting my tool to numpy<2. Thanks so much!

Thanks for raising this. FYI we're currently attempting to arrange a new allocation of maintenance duties. Will aim to fix this issue as soon as we have that set up, hopefully within the next few weeks.

According to numpy release notes:
np.msort has been removed. For a replacement, np.sort(a, axis=0) should be used instead.
(gh-24494)

A new release is up: https://github.com/HIPS/autograd/releases/tag/v1.7.0, which includes NumPy v2 support from #618. It should be available on PyPI soon.


Error when compiling

Error:
Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_SparkColourPickerUtils", referenced from:
      objc-class-ref in Tweak.xm.b1b545ed.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

You need to add the library to both your tweak and prefs makefiles.
“LIBRARIES = sparkcolourpicker”

Found the problem. I used 'TWEAK_NAME' rather than the variable.


Extension for Visual Studio 2022 (not VS Code)

Is it a lot of trouble to release this as an extension for Visual Studio 2022 ?
Or is the difference between VS Code and the Bigger IDE too big?

It's a much different process making extensions for vs2022. Although it's not on the roadmap for now, if there's enough of a demand for it I will definitely look into it! Closing as duplicate of https://github.com/saoudrizwan/claude-dev/issues/63


fix(metrics): :impl Atomic for AtomicU64

fix the error when using Gauge<u64, AtomicU64> type, revert the impl Atomic<u64> fro AtomicU64 from #105

If I recall correctly, I removed this implementation, given that the protobuf definition does not support u64, but only i64. With your patch, how would one encode a u64::MAX in a protobuf?
https://github.com/OpenObservability/OpenMetrics/blob/1386544931307dff279688f332890c31b6c5de36/proto/openmetrics_data_model.proto#L100-L107

Ok, If the protobuf definition does not support u64, why not add impl Atomic<u32> for AtomicU32, at least we could use Gauge<u32, AtomicU32>

Ok, If the protobuf definition does not support u64, why not add impl Atomic<u32> for AtomicU32, at least we could use Gauge<u32, AtomicU32>

Sorry for the late reply. I am fine with adding u32 to Gauge @koushiro.


NER problem

Hi steve, thank for this great repo first.
i am wondering do you add bilstm+ crf layer after xlnet for NER task?

@martin3252 I haven't add Bi-LSTM + CRF layers after XLNet, only dense layer is added

@stevezheng23 ok, thank you!!


Make a version toggle

Similarly to ujust devmode and ujust toggle-nvk, let's make one that shows the branches for whatever image you're on and let's the user select:
ujust toggle-release
Current release: bluefin-dx:latest
Options to rebase to:
`latest` - Currently F39
`gts` - Currently F38
`39` - Lock device to F39
`38` - Lock device to F38

And then use the same charm selector.

Probably should be a new issue but it would also be cool if you just had the last 5 days of images by date in there too so you could just quickly rewind on the spot if you need to.

I'm a bit confused by this idea.
Haven't we rejected similar "switch version" concepts in the past?
Also, "branches" ... are you referring to image tags or git branches?
I'm thinking image tags... so some github GHCR API queries?

Image tags is what we should do so we don't have to keep track of the versions in here, so probably "skopeoing" the right version and tags?

Image tags is what we should do so we don't have to keep track of the versions in here, so probably "skopeoing" the right version and tags?

hmm... skopeo inspects image metadata once you already have a URL for one but doesn't let you query the registry. I think that's required to get a dynamic list.

If we do something like this, it should be a move forward. You can move from gts -> latest. Or latest -> beta. Or move from the same image version to the convenience tag.
Going backwards has possibilities of breaking and isn't a supported feature upstream.

If i'm not mistaken, this has been implemented

Only in bluefin/Aurora/Bazzite


request: rewrite anime/manga to use AniList

Is your feature request related to a problem? Please describe.
Right now we're using Kitsu and need to show a lot of fields in the embed. The AniList API gives a nice splash image of the search result which will cut down the embed fields by a lot, greatly improving the command response.

Describe the solution you'd like
Migrate from Kitsu to AniList

Describe alternatives you've considered

Stick with Kitsu

Additional context
API: https://github.com/AniList/ApiV2-GraphQL-Docs

Fixed a long time ago with #1989


flutter doctor -v  [Bad state: Future already completed]

**$ flutter doctor -v
Building flutter tool...
Unhandled exception:
Bad state: Future already completed**
#0      _AsyncCompleter.complete (dart:async/future_impl.dart:39)
#1      _NativeSocket.connect.<anonymous closure>.connectNext.<anonymous closure> (dart:io-patch/socket_patch.dart:494)
#2      _NativeSocket.issueWriteEvent.issue (dart:io-patch/socket_patch.dart:802)
#3      _NativeSocket.issueWriteEvent (dart:io-patch/socket_patch.dart:809)
#4      _NativeSocket.multiplex (dart:io-patch/socket_patch.dart:830)
#5      _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)
Error: Unable to pub upgrade flutter tool. Retrying in five seconds...

bogon:flutter wanghang$ flutter doctor
Downloading Dart SDK from Flutter engine ead227f118077d1f2b57842a32abaf105b573b8a...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100 43.3M  100 43.3M    0     0  7489k      0  0:00:05  0:00:05 --:--:-- 9223k
Building flutter tool...
Unhandled exception:
Bad state: Future already completed
#0      _AsyncCompleter.complete (dart:async/future_impl.dart:39)
#1      _NativeSocket.connect..connectNext. (dart:io-patch/socket_patch.dart:494)
#2      _NativeSocket.issueWriteEvent.issue (dart:io-patch/socket_patch.dart:802)
#3      _NativeSocket.issueWriteEvent (dart:io-patch/socket_patch.dart:809)
#4      _NativeSocket.multiplex (dart:io-patch/socket_patch.dart:830)
#5      _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)
Error: Unable to pub upgrade flutter tool. Retrying in five seconds...

@wanghang199112 , If you are in China, you need to make sure your network can connect flutter resources directly.
简单来说，需要翻墙

@wanghang199112 If you are using Flutter in China, please try the instructions here: https://github.com/flutter/flutter/wiki/Using-Flutter-in-China
Let us know if that works for you.

dup of #15014 ?

https://github.com/flutter/flutter/wiki/Using-Flutter-in-China
It also does not work.

still happening

Switching from DNS-over-HTTPS to unencrypted DNS fixed this for me.

I connected to VPN，but it also show "Bad state: Future already completed"!

@bianxiang same problem with me before. you may change the protocol from 'OpenWeb' to 'StealthVPN' , and choose node which one with star ( such as, USA - Los Angeles 1).

@bianxiang same problem with me before. you may change the protocol from 'OpenWeb' to 'StealthVPN' , and choose node which one with star ( such as, USA - Los Angeles 1).

soo greaaaaaat!!!!


Prevent memory leak in TicketGrantingTicketImpl

Closes https://github.com/Jasig/cas/issues/493

Just commenting that the change needs to go into 4.1.x and possibly 4.0.x too.

For 4.1.x: https://github.com/Jasig/cas/pull/1184

For 4.0.x: https://github.com/Jasig/cas/pull/1185

I updated the PR according to latest comments: new property name, just a flag in the grant method and host/path comparison.
One thing remains: updating the UI. But I want to be sure we all agree on this before.
As it's a breaking change in the API, we won't be able to backport that for 4.0.x and 4.1.x so I propose to close: #1184 and #1185

As it's a breaking change in the API, we won't be able to backport that for 4.0.x and 4.1.x so I propose to close: #1184 and #1185

:+1:

This looks good. We simply have the UI to update, and then docs, right? Thanks for taking this on.

Closed PR for 4.1.x and 4.0.x

Yes, validate we want a per-service configuration (breaking change) and not a general configuration (no breaking change), update the UI and the docs...

@mmoayyed @leleuj Any plans to backport this to 3.6.x?