dosbox-x: 2024.03.01 -> 2024.07.01

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/dosbox-x/versions.
meta.description for dosbox-x is: Cross-platform DOS emulator based on the DOSBox project
meta.homepage for dosbox-x is: https://dosbox-x.com
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2024.07.01 with grep in /nix/store/a0ya803n8178b572rim7zps05ybyzgyk-dosbox-x-2024.07.01
found 2024.07.01 in filename of file in /nix/store/a0ya803n8178b572rim7zps05ybyzgyk-dosbox-x-2024.07.01

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

dosbox-x

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/a0ya803n8178b572rim7zps05ybyzgyk-dosbox-x-2024.07.01 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A dosbox-x https://github.com/r-ryantm/nixpkgs/archive/be64909f7844fcc6137b0382ce69040657697b72.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/be64909f7844fcc6137b0382ce69040657697b72#dosbox-x

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/a0ya803n8178b572rim7zps05ybyzgyk-dosbox-x-2024.07.01
ls -la /nix/store/a0ya803n8178b572rim7zps05ybyzgyk-dosbox-x-2024.07.01/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

dosbox-x

Maintainer pings
cc @hughobrien @OPNA2608 for testing.


Fix act docs links

While trying to reproduce https://github.com/esp-rs/xtensa-toolchain/issues/29 I noticed that act changed their docs

CI is failing due to: https://github.com/esp-rs/espup/issues/460


Add a way to import css in the files

Developed the logic to import CSS files and create a test file for it.
Updated README file with proper steps to successfully set up the environment to develop it locally.

@sansyrox Please review.

Hey @SuelenKarbivnychyy 👋
Great work on the PR! There were a few minor suggestions, which I have addressed in a combined commit. The PR is almost ready for merging.
Can you please rebase the latest changes from main to this branch?

@sansyrox hey, Would you mind addressing the other suggestions here as well. I got lost on the combined commit you did.
I already got the latest version to this branch.

@SuelenKarbivnychyy , the final suggestion was merging the latest changes 😄


add shell completion

add shell completion for bash, zsh, and probably other shells as well.

If switching to spf13/cobra as CLI is an option I'd be easy to provide the completion out of the box: rootCmd.GenBashCompletion(os.Stdout)
@autero1 is this an option or too big for a change? On the other hand we could also quickly rebuild the structure of the terragrunt commands and generate the completion. The downside is that is has to be kept in sync with the code.

urfave/cli supports bash completion, but I think we will need something custom regardless of the underlying CLI library for this to work intuitively because of the way terragrunt works. E.g if you take a look at how the commands are implemented, we aren't defining them as direct commands in the cli struct. This is because we can't define all the available options for most of the commands, since they are passed through to terraform.
Additionally, we need to somehow merge the terragrunt completion with the terraform completions. Otherwise, you get completion for terragrunt specific commands like plan-all, but not for terraform commands that are not explicitly defined in terragrunt.

I started the project oh-my-zsh plugin of terragrunt. I have complete about zsh completion for terraform subcommands, options and resources (especially when you type -target option). But  I haven't complete all the options of terragrunt yet (only complete subcommand).
I hope it is helpful to who are using oh-my-zsh. Thanks.

Until this is implemented one can just set up terragrunt to at least complete terraform commands in bash by adding this line to .bashrc or .bash_aliases:
complete -C ~/.bin/terraform terragrunt
Of course with the appropriate path to the terraform binary.
It also works fine with aliases:
alias tg='terragrunt'
complete -C ~/.bin/terraform tg

This didn't work for me. I've instead use this brute-force solution
In .bashrc or .bash_aliases add this:
complete -W "$(terragrunt | grep -A123 "COMMANDS" | head -n-7 | grep '^   ' | awk '{ print $1 }' | grep -v '*' | xargs)" terragrunt tg

Resolved in v0.53.4 release.
How enable tab completion docs.

Is there a way to specify the .bashrc file to use when calling terragrunt --install-autocomplete?
I would like to add this to my dockerfile, but the final user of the OS is different than the root user who is installing everything, so I would like to specify an output .bashrc file explicitly. I guess I can just add complete -C /usr/bin/terragrunt terragrunt myself to the bashrc file, but it would be nice to have a solution that doesn't drift from the proper one.

@antspy not tested this, but I reckon it could work.
bash --rcfile /home/rcfile -i -c "terragrunt --install-autocomplete"

Thank you, I can try! :)


blend_color is wrong

If the chroma or luma component is too low, the color will not be applied.

Use https://docs.rs/palette/0.4.1/palette/blend/trait.Blend.html#method.overlay?

#26 addresses some stuff but I think there is still a linear problem, tackling in another PR


Toggle flash mode

Hey, is there any way to toggle the flash mode without using FotoapparatSwitcher?

Hey, in short no. It's not possible to update the flash or the focus mode without the switcher.

Closing that in favor of #71


Short version

@eschrom This is the short derivation I was thinking of:

Collapse a few of the probabilities
Tweak the notation (to deal with the fact that "N" kind of sounds like population size, "not vaccination," "not infected," and "test negative")
Include imperfect sensitivity and specificity
Be a little more careful about the definition of VE and estimators

@eschrom I updated this PR to create two documents:

primer.md, which should be unchanged here (but will be changed after the migration in #2)
primer_short.md, which is the new content here.

We can figure out better names later.

The only reason I did not approve is because many of the equations do not render properly

I forgot to fix this. This is a known problem with GitHub's rendering of _ in $$ blocks. GH does something funny where it first converts _ to mean italics, then renders math, which causes problems. The old-school solution was to write \_ in all the $$ blocks, but this was a GitHub-specific solution and would cause other renderers (e.g., for static docs) to fail. The new solution is to use math blocks. See https://github.com/CDCgov/cfa-tnd-ve-widget/pull/3/commits/28495f6ac1e62f3c3f9c80567d7da098df2d6a39

@eschrom I simplified a number of things, but I'm now getting results I didn't expect. Would you have time to check through this math?


Introduce release branch documentation

Modify the import docs script to import from a release branch.
Transform the patch release level docs into minor release level docs.

@drsm79 I have tested it locally but I am not able to display the documentation - I am not sure it is a cache issue (I am not an expert of this framework as you know :) ).


Checklist

[x] Timeline
[x] Add social media links to the footer
[x] Sponsor section enhancement
[ ] Prizes enhancement
[x] Restore Video section to be the same as past year's
[ ] Add workshop section

[ ] Update dates in About Innohacks
[ ] Fix Dates in Schedule Outline
[ ] Update Prize pool: 10 lakh TBI + 40,000/- 5ire.
[ ] Include a "Our Mini-event" section (MySphere card and Programming Pathshala card).
[ ] Include 5ire Sponsor track.
[ ] Add the organizing team, judges, and speakers with photos.


Accessing JsonbContainer

I'd like to access a JSONB value as a JsonbContainer, not a Jsonb. Is this possible?

I was hoping I could work around it using anyelement and FromDatum, but sadly this gives me an error (using plrust-trusted-1.2.6_1.72.0-debian-pg16-amd64.deb):
cannot find type `AnyElement` in crate `pgrx`

Correct, there is not.  There's also not a way to do so with the "untrusted" variant of PL/Rust either.  It still applies the full set of lints, which includes #[deny(unsafe_code)].
If this is the type of thing you find yourself needing to do, it probably makes sense to look at developing an actual extension (and hopefully with pgrx!).

Thanks for your quick reply. Would it not be conceivable to expose JsonbContainer (and JsonbIteratorNext etc.), or a safe wrapper around these, in plrust?

Perhaps some day we'll gain that ability in pgrx and then can safely expose it here in pl/rust land too.  I agree it'd be nice.  The level of effort is quite high so it's not something I'd expect to come into existence tomorrow.

Perhaps I could help bring it into existence. May I ask why you estimate the effort to be high, doesn't the JsonIterator family of functions already provide most of what we'd need?

I think the effort is high based on the effort required to safely (and correctly!) wrap Postgres' ARRAY type.  Plus just years of doing this kind of thing with Postgres.
I'm not intimately familiar with the internals of the JSONB type, but I think it'll require a quite a bit more effort than ARRAY support did.  Off the top of my head I don't know how much of the Postgres internal support functions we can lean on v/s writing our own.
@workingjubilee and I have briefly talked about this in the past, so they may have a better feel.
I'd like to encourage you to take a stab at this.  We are here to help in any way that we can and would happily merge a working implementation into pgrx.  At that point, it'd be easy to expose it in plrust.

I might give it a try. Would you mind a few words to my question about JsonbIterator -- to me it looks like it would let us sidestep any questions about JSONB internals, but clearly I'm missing something. Is it not implemented, or not efficient?

I think anything from https://github.com/postgres/postgres/blob/7606175991f8ed5ae36eecf6951cb89dcfb2156e/src/include/utils/jsonb.h is going to require a lot of work to safely wrap with Rust.  JsonbIterator is just one of many things that'll need to be handled.  JEntry will require a lot of attention itself.
Like I said, I'm not sure exactly how much of the internal Postgres support functions we can use v/s having to essentially implement our own safe JSONB decoder in Rust.

OK, makes sense. Thanks so far, I'll poke around a bit.

I might give it a try. Would you mind a few words to my question about JsonbIterator -- to me it looks like it would let us sidestep any questions about JSONB internals, but clearly I'm missing something. Is it not implemented, or not efficient?

In general, it is safe to assume it is not very efficient to call a C API during iteration in Rust. Iteration is always "hot", and modern C compilers often benefit greatly by exploiting inlining. So does Rust, but Rust code struggles to inline C unless certain very specific invariants are met, starting with "The Rust you use was built against the same LLVM as the clang you used to compile Postgres... you did use clang, not gcc, right?" For this and more reasons, historically, PGRX's use of C APIs that iterate series-of-varlenas reprs has not been very fast.
But what is most problematic is that Rust code must become effectively bulletproof in a way that C code helps with less often than I like: virtually no C code is expected to be incapable of memory unsoundness, whereas 100% of safe Rust is expected to be so... assuming the underlying unsafe Rust is correctly written. This affects how the final safe Rust layer that wraps unsafe { .. } should be designed, so what is a sound and good design when wrapping C FFI might become less desirable if the layout is instead handled directly in Rust.

@workingjubilee thanks for your thoughtful comment. I hear you about performance and safety, but supporting JSONB natively should be a last resort from my perspective. There's a lot of work waiting there, and messages like this one read like the Postgres team (understandably) isn't interested in making any commitments regarding stability of the internal representation across versions, so it would potentially be a moving target. That's why I would like to explore the iteration route first.
Here is a proof of concept. Let me know what you think and don't be too harsh, I've only spent a few hours on it and it's obviously not meant to be polished, much less ready for anything. In fact I haven't spent any time reasoning about safety yet and you'll probably find a gaping memory leak immediately if you care to look, or worse. The API isn't meant to be set in stone either. Still, I hope it can serve as a basis for further discussion.
This is currently a smidge slower than existing JSONB->JSON->Serde, which is disappointing but I also haven't looked into optimizing it yet. It's entirely possible that the iterator itself is a bottleneck as suggested by you @workingjubilee. However, it should avoid the extra allocation that the existing conversion incurs and also allow skipping over uninteresting parts of the document. (You'll probably crash if you try, though, since support for Binary isn't there yet.)
(It currently iterates over all the leafs. It can probably be sped up easily by reading whole arrays and objects, but then we're back to a tradeoff with memory overhead. I will have to profile this all more to better understand what the implications are.)
Feel free to move this conversation over to the pgrx repo.

I can't "just" move issues between organizations, unfortunately.
It's usually easier to hold extended conversations with lots of small possible digressions on chat-centric platforms.


feat: Adding Next.js app following the agreed directory structure

Adding Next.js app following the agreed directory structure
Description
We will use apps/endatix-hub to setup the Endatix management UI.
To run the app:

cd into apps/endatix-app
run npm install
run npm run dev

Related Issues
unblocks #84
Type of Change

[x] New feature (non-breaking change which adds functionality)

@dspetrov this is done. Also added the auth WIP piece. Step 1 to 3 are done, but stopping here to keep scope clean:


dont animaiton in splash screen

hi when add transtion in splash screen next home page screen with
this.props.navigation.replace('Login')
not work. but only work in
this.props.navigation.push('Login')

This is an issue with react-navigation itself. replace and reset do not worth with animations. You can read more here


You should update the section about VM Availability with Availability Zones

"If your VM runs critical applications that need to have high availability, we strongly recommend that you use multiple VMs. For better availability, use an availability set" ==> "If your VM runs critical applications that need to have high availability, we strongly recommend that you use multiple VMs. For better availability, use an availability set or even better availability zones if the Azure Region has Availability Zones"

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

ID: e97e5ffd-b094-f193-058b-03647ece4bb8
Version Independent ID: 81fca061-3a10-f425-1ab0-d52c21f37f4d
Content: Security best practices for IaaS workloads in Azure
Content Source: articles/security/azure-security-iaas.md
Service: security
GitHub Login: @barclayn
Microsoft Alias: barclayn

@squasta Thank you for your feedback . We will have this reviewed and accordingly action the request.

As per the best practice described in above documentation, how ideal it is to redeploy VMs to force a fresh version of the OS? What will happen to the already installed software and various settings made to that VM? If my application is relying on certain COM component, IIS handlers, modules etc. then do I need to keep re-installing the COM component every-time I upgrade VM OS? In my opinion this is seriously not a good idea, as it would require reinstalling various software, re-validating (for sanity testing) and re-deploying apps on the VM. Simply putting it would require enormous amount of work, specially when you have hosted business critical application on IaaS. Any better solution, instead of forcing VM to install new OS version?


Removed @EnableZeebeClient and switched to AutoConfiguration

Context: https://github.com/camunda-community-hub/spring-zeebe/issues/275

removed lifecycle/proxy for ZeebeClient from production setup, as it make things way easier to understand, and I do not see any value of it currently
use lifecycle only for annotationRegistry to start workers at the right time
introduced SpringZeebeTestContext marker bean to exclude lifecyle it in test cases (as there workers need to be started/stopped for every test case)

Works fine for me here, also tested a couple of my sample applications successfully.

@namero999: I am missing the biggure picture when you want to enable ZeebeClient exactly, but basically the SpringZeebeAutoConfiguration does all the work, if you exclude this configuration, the ZeebeClient will not be created/connected. Also I will add an own configuration property to switch off ZeebeClient connection, this could be also something you leverage for your scenario?

Thank you Bernd! I would not know right off the bat how to exclude SpringZeebeAutoConfiguration (is it an independent jar?) but having a flag such as zeebe.client.enabled (which can default to true) seems like a very ergonomic thing to have, and can be configured via spring profiles.
The scenario I was referencing is simply that I want to exclude the creation of the client in specific test environments because it can be the case that in some cases I can't access the cluster and therefore won't have the logs spammed with connection errors. The combination of @Profile("!test") and @Configuration proved to be effective but I can see how it's semantically equivalent to zeebe.client.enabled.
In general I think it's a fallacy to assume that people want everything enabled always. Giving very clear configuration switches makes the whole architecture much more flexible and intuitive, so thanks for that.

Thanks for the feedback. Just noting, that for tests you can run your own test engine by adding @ZeebeSpringTest (still I see it valid to switch ZeebeClient off for certain tests - just wanted to comment on it :-) )

@ZeebeSpringTest might be something I've not yet been exposed to. We make extensive use of @ZeebeProcessTest and yes, we reduced our services' dependency to only ZeebeClient as opposed to ZeebeClientLifecycle for easy swapping between the real one and the test one, but the scenario is precisely to bypass completely the creation of the real one when I'm running tests and injecting the mock one :)


Discussion: Razor.Evolution and the future of Razor extensibility

Opening this issue at the suggestion of @daveaglick and @guardrex to explain a little more about our future plans.
What is Razor.Evolution?
We're current undertaking an effort as part of the Razor Pages effort to improve the fundamentals, and extensibility of Razor. Much of the Razor codebase was ported as-is from the original implementation and hasn't had a fresh coat of paint in a long time. Our intention here is to start fresh with APIs for using Razor and build a set APIs that meet our extensibility goals and can be stable for the future.
This is taking place in the Microsoft.AspNetCore.Razor.Evolution project. We don't currently have a release date/version that we can share publicly for this work.
You shouldn't expect to see any Razor language changes as part of this work. This isn't a revision of what Razor is or how to write view code, this is as all happening in the implementation of the compiler and language services.
Tooling
One of the primary outcomes we're hoping to support is better support for design time tooling (Visual Studio, VS Code, others?). Right now Visual Studio is hardcoded to use MVC's version of Razor, and in fact it's bundled with Visual Studio so it always has a copy. We want to be able to use the version of Razor that your project depends on directly.
We've also got a lot of great ideas about how to make the tooling experience well rounded and more complete. I'm not going to share any of that publicly right now because it's a ways off. What we're planning right now is a prerequisite.
There's a significant amount of work going in to this repository to improve the design and fundamentals of how Razor language support works. An equivalent amount of work is going to go into Visual Studio as well for now. We'll be pulling more of those things out into reusable packages as appropriate.
Extensibility
As we do this work we're optimizing for the kinds of extensibility commonly asked for. This includes things  like customizing code generation for a different framework and adding new directives with meanings that you define.
If you've done Razor extensibility in the past, imagine that things were less monolithic. Rather than replacing the default functionality, you will add a code generation pass, or add a directive parser.

Thanks for opening this one @rynowak --
Not necessarily a "Razor thing" as it might be more on the MVC side, but having a way to tap the final generated markup after Razor processing but before markup is returned to the client would be helpful for markup minification. @NTaylorMullen told me about a spot in MVC where "lambda expressions are hoisted" after the Razor engine is finished that might be the right spot to get a crack at the markup before being returned.
The reason that minification was difficult for me within the Razor engine was that Razor chunks break up the markup in ways that make the algorithm for minification difficult to pull off. Any minification algorithm will find itself having to work across Razor chunks in a complex (and easy to mess up) way. E.g., https://github.com/GuardRex/GuardRex.MinifyingMvcRazorHost (ugh ... hacks ... orf! ... :poop: )
Another possibility is to have a spot on the front-end of the Razor engine where the incoming View file can be minified before the Razor engine even sees it. I used to do something like this with a folder of Default_Views and then using Gulp (with a watch on that folder) to pre-minify those into our normal Views folder that Razor would then act upon. Maybe there is a front-end spot on Razor that we could tap into for it?
The backlog issue for minification is at https://github.com/aspnet/Razor/issues/444, and I definitely went TL;DR on it (oops), but the thing to just mention here is that if Razor.Evolution has anything possibly to do with a good spot for minification processing, then I hope it will remain under consideration and come off the backlog at some point.

Thanks @guardrex!
Part of this work for us to improve chunks into a better IR. This includes including both more information and less information 😆 (depending on the specifics).
One of the top level goals here is that doing something like what you're doing would just be adding a pass. In theory all of the code in https://github.com/GuardRex/GuardRex.MinifyingMvcRazorHost/blob/master/ChunkVisitorMinifyingMvcRazorHost.cs that does something other than modify a chunk would just melt away!
Given that any Razor function is a series logical "HTML" writes interspersed with logical "dynamic" writes I'm curious how you'd want us to represent that information for you? I think that this will inherently have some challenges.
If you have ideas let me know. If you want to plug in before the parser, that's something that would be possible.

that does something other than modify a chunk would just melt away!

Yes, indeed, that would be helpful. @Anderman did it in a matter of hours for me, and it certainly would have taken a small-brained T-Rex a few days just to get the Razor engine replacement setup.
The challenge doing it that way was that Razor chunks are really tough to minifiy around. I favored either a front-end or back-end approach to get out of having to deal with Razor chunks.
Front-end
If Razor.Evolution has a feature where devs can get access to the whole View file ... do the minification (or whatever other mods they want to make at compile time) ... then Razor goes to work on it and all of the Razor language bits don't break in the process, that would be good.
The nightmare here is NOT breaking the Razor language ... @statement and @{...} bits mixed with markup. Ugh.
Back-end
I have a real lack of understanding on the other end what's happening between what Razor puts out that MVC gets back and what goes on within MVC (e.g., "raising lambdas," etc.) before the final markup is rendered and sent to the client. As far as I know, that :sparkles: just works by magic :sparkles:.
My nightmare on the back-end is that compiled, Razor-processed Views just don't exist in a form that makes minification any easier (or even possible) given that we do want minification to happen at compile-time and not runtime.
If you tell me that its :turtle: "chunks all the way down" :turtle: or :turtle: "funky compiled code mixed with markup all the way down" :turtle:, then a back-end approach might not even be possible ... or at least no easier to deal with than Razor chunks.
TL;DR
Yes, front-end then if that seems easiest. I just need a crack at the View file just before the Razor engine goes to work. I'll just look for the first < angle bracket, go work, and try to avoid all of the Razor language bits, possibly even pulling Razor constructs, putting markers in their place, minfiying the markup, and then returning the Razor constructs.

I'm not sure if you opening this to let us know, asking for suggestions or what. Don't even understand the whole picture of where this is going, so sorry is this misplaced.
I want to tell my current pain points when using razor.
1 - Collections
There is no easy/intuitive way to deal with collections on views. So a model with IEnumerable is not "razor friendly" like other types. Html does have a notion of collections but creating forms for them rely heavily on javascript. I think razor, templates, modelbinder and javascript? can be improved in such a way that collection are first class citizen. Model Validation plays a key role on this story.
2 - Consuming Model Metadata from Javascript.
Right now we have a great experience with data validation with unobstrusive javascript but as soon as we want to do something outside of that, there's no built in way to consume such metadata.
3 - Spa is not a full in or out.
I believe that current MVC can be much more powerful with the only addition of data binding on client side. While a whole admin site might as well wants or requires a full spa framework, I see a lot of value of include and embrace data binding only into the framework, for simple crud or to add some magic. There's already a great library (knockout) that tackles this problem, but it's not close to the tooling or framework as one would expect, like manual serialization, build custom elements tags, etc.
There was an approach (previous to knockout) on MVC with Html Helpers like AjaxForm that started a work on this direction.
4 - Cache
There's a great story on cache right now, one key feature I'm missing is "clear this cache part when X happen". Let's say I have a list of movies on a view surrounded via  tag. I would love to have some easy mechanism to say at (for example) Post new movie, delete the cache. Something like:
View:
<cache id="MovieListCache">...</cache>

Controller:
ViewCache.Clear("MovieListCache")

5 - @@addTagHelper directive
this is more of a tooling thing, but it's like working with string. Strong type all the things :)
6 - Dependency Injection on client.
This may be more a template thing: Make it so you only include a bootstrap.js file and then use your own site.js with it with require("jQuery")
7 - ViewComponents as render parts
There could be a hook into mvc so that one can call a ViewComponent from ajax and update it content seamslessly.
8 - Minification.
This is similar to what @GuardRex just said, I think there are 2 things going on on minification of razor.
a) Minification code, stuff that you write. Like visual studio creates a file.min.js when you save file.js, there could be a similar mechanism on razor so you get Index.min.cshtml when you save Index.cshtml with the corresponding tooling to minify views, while i must be done at the parser/compilation step, this I think will also work.
b) then you have dynamic data, like stuff coming from code (aka from database). Sometimes you want to minify that too. Right now you read the output, minify and write it again or you deal with razor chunks. I super easy extensibility point here, like a ChunkTransformer that takes an input and returns an output would be awesome. Or anything along the lines with including something in the pipelining.
TL;DR:

Collections as first class citizen on razon
Model Metadata available on client-side scripting
Two way client data binding for MVC.
Enhance cache manipulation
Strongly type @addTagHelper directive
Add  dependency injection to Client-side libraries
ViewComponents as client-side consumables
Easy extensibility for any razor processing. (like minification, or style inlining, possibilities are endless)

I know these the things can be done already. Maybe some can just be better.
Again, sorry if this is out of place.

This will be great! I've thought the extensibility was bearable so far though some freshening up coild help. The design time host extensibility will open up :door: :door: :door:

Thanks @Bartmax - this issue is specifically about the extensibility and implementation details of Razor. We are not making changes to the Razor Language as part of this work.
However I do think this is a good list of pain points with current MVC and Razor, some of these points we've heard pretty often. I'll pass on your feedback. As I alluded to earlier, we're doing this work because we think there's a lot more power in Razor that we haven't unlocked yet.

I super easy extensibility point here, like a ChunkTransformer that takes an input and returns an output would be awesome. Or anything along the lines with including something in the pipelining.

Yes, this is something we're targeting to make easier. I still think that writing a minifier based on Razor will have some inherent challenges, but if you look at the link provided @GuardRex - I think we can eliminate 95% of that code that isn't actually doing minification.

The design time host extensibility will open up 🚪 🚪 🚪

This is really important to keeping Razor relevant for other .NET web frameworks without dirty dirty hacks.
In fact one of the cases we ran into this recently was adding support for View Components as TagHelpers in 1.1.0-preview. We needed to extend the way we 'find' TagHelpers and there was just no great way to do it, but ultimately we can because we control what goes into Visual Studio.

I'm not sure if this is better mentioned in a ticket, but comparing razor to other templating languages, there is clearly a lot of ground to be made up.
When you look at some of the features and syntaxes on offer in other environments, razor seems quite "last-gen": https://laravel.com/docs/5.3/blade
Just visit that link and read the page top-top bottom.  Rather than having nice syntax, razor seems to force people to write what almost looks like defensive code everywhere.  Extending or overriding sections is built into the templating language itself.  You have niceties like forelse which looks a lot better than if checks and then render blocks nested underneath (code complexity in templates should be avoided at all costs).
I guess my comment overall is: Razor itself is already dated, why not look at creating a new engine or a razor 2.0?  Then you can hit all your goals in this ticket while also actually offering improved features.

@atrauzzi: doesn't look too different to me. A 'foreach' block followed by an 'if (!items.Any())' block is just as straightforward, and terse enough to boot. We have the coalescing operator built into C# as well for the whole 'isset(variable) ? ...' thing in the Laravel docs. Not to knock on Laravel; they had to make up for stuff that wasn't as nice about PHP in order to bring the spirit of Razor to PHP :wink:

@Bartmax , Collections can be handled with Razor and with ModelBinding sice the early versions of Asp.net Mvc as explained here http://haacked.com/archive/2008/10/23/model-binding-to-a-list.aspx/. Of course additions of elements and deletes MUST use either JavaScript or server roundtrips. Since you must change your client side Html, either you do it on the client side with JavaScript, or you go back to the server to render the pagae again.  Since server roundtrips would be very painful, the only option is Javascript.
A lot of the stuff you are asking for would imply a kinda automatic js generation to handle client side stuffs in a completely transparent way.
However this out of Razor scope, you should use Razor as it is to implement TagHelpers or HtmlHelpers that rely on page JavaScript files to do some Magic.
Availability of Metadata on the client stuff would be great! However, it's more a kinda compilation of C# classes int JavaScript (or better TypeScript) than a Server Templating stuff.

@tuespetre - There's more than just forelse.  The section extending and overriding is also a lot nicer.

@frankabbruzzese yes exactly that! :)

@atrauzzi:
Blade

        <title>App Name - @yield('title')</title>

        @section('sidebar')
            This is the master sidebar.
        @show

            @yield('content')

@extends('layouts.app')

@section('title', 'Page Title')

@section('sidebar')
    @parent

This is appended to the master sidebar.

@endsection

@section('content')

This is my body content.

@endsection

Razor

        <title>App Name - @ViewBag.Title</title>

        This is the master sidebar.
        @RenderSection("sidebar")

            @RenderBody()

@{
    Layout = "_Layout";
    ViewBag.Title = "Page Title";
}

@section sidebar {

This is appended to the master sidebar.

}

This is my body content.

Thoughts
I see that Blade seems to offer a construct for section overriding that Razor doesn't (at least not without some weird calls to IsSectionDefined or whatever.) Razor could be extended with such a construct, though.
What I don't see is how any of this shows that Razor is 'dated' or 'doesn't have nice syntax' or needs a '2.0'.

Whether you see it or not, the experience in razor falls short of what other templating languages offer.
The whole point of my bringing it up here is to see whether razor can be extended.  So in some weird way, you're hijacking my point and using it as a complaint against itself.
(To that: Your tone seems to be angling for an internet-fight, but I think overall you've proven my point.)
So yes, let's get razor extended with new types of blocks.  That's exactly what I said.

@Bartmax , give a look to my Open Source that contains several already defined advanced TagHelpers(immediate grid, batch grids, etc). At moment it contains just one provider that relies on server side templates, but in the future I'll add providers for generating automatically code from the most famous client frameworks (Angular, knockout.js, etc.) from the TagHeper settings,  and a compiler to generate TypeScipt classes and metadata from C# classes.

This evolutionary direction is very welcome. 🎉
Is the purpose of this new architecture (with explicit extension points and decoupling of concerns) also to encourage others to implement their other HTML pre-processor / superset languages that transpile to HTML via Razor-IR?
When I took a stab at my Needle proposal #78 (a less verbose Slim-like or HAML-like front-end language for ASP.NET) back in 2014, it was bit unclear which APIs provide the extension point and I gave up pretty quickly. The main idea was to derive a language from either Slim's or HAML's well-defined spec and replace the Ruby code blocks with C# ones. If you guys have already started such a work, or there is enough interest in developing a light-weight/clean-markup language for ASP.NET, I would be happy to team up. :)

@am11 - our goals on this as a team haven't changed from the response here https://github.com/aspnet/Razor/issues/78#issuecomment-49671561
As I understand it, what you're talking about would be a different language (ie, not Razor). The right extensibility point for you to plug in would be the MVC view engine, which pretty much gives you full control.

This sounds spot on. Here are some things I'd like to see:

Allow ability to plugin custom directives - easily. (think you mentioned that)
Providing an ability to support other design time language services (that compile to js / html) within the razor file would be nice. I'd like for example to write some TypeScript in my CSHTML file rather than some javascript - just to get the nice intellisense and strong typing. The same hooks could be used to support SASS / LESS at design time etc.
Not being able to use Sections within ViewComponents is a joke that must be solved.
I don't know if this last one is a Razor limitation, or just an MVC design issue, of a constraint thats imposed by the design of both Razor and MVC - but I think it needs to be solved because any non trivial VC author soon meets the need of wanting to include js on the page with their VC and then they discover this problem and it reflects poorly on MVC in my opinion.
Slightly related to 3, but being able to inject a script into the pages head, after the razor file has already rendered the head section. Imagine a component that executes when the Razor page is rendered (e.g a ViewComponent) - if that component is executed at the bottom of the page, how can it include a script / css file in the Head section of the page. I think if understand the concept of "multiple passes" correctly then this might be possible with Razor.Evolution?

Oh yeah and one more thing as per @NTaylorMullen

Ya your custom TagHelperTypeResolver will not work for tooling. It is something we're looking to extend in future Razor releases though. For more info check out: aspnet/Razor#836

As long as there is eventually a solution for this one I'll consider that a win

@rynowak wasn't sure where was a good place to discuss this, but https://github.com/aspnet/Razor/blob/dev/src/Microsoft.VisualStudio.LanguageServices.Razor/DefaultRazorEngineDirectiveResolver.cs looks 🎆 new and exciting. I'm assuming that is some WIP stuff towards making it easier for local customizations to the razor engine to be picked up by the language service. Is that so?

Yes, but the ability to use local customization won't be in VS for a while...

I figured as much, but it makes me happy to see a glimpse of it!


Import NEO to Ledger

How to import NEON wallet 2.0  into Ledger Nano S
I can open my existing NEON wallet 2.0 using my passphrase or private keys. When I open using my ledger nano s it said I have to import my wallet using new ledger public keys. I put all the required information in but nothing showed up in the new ledger wallet.  Can you please give me step by step instructions?
Thank you,

@Sausalitoj wrong project
@MickWang this should be closed


No Click After Selecting Text Field

As a user testing NoMoreClick with an external mouse I sometimes lost the focus of the desired text field I wanted to type in, by having accidentally nudged the mouse after having brought focus to the desired text field with an auto click, so
I want to have the application skip/ignore any automatic click which occurred seconds after a click into a text field
so that the accidental click rate is reduced after clicking into a text field.

6 years unanswered and more than 2k views and still no solution suggests that this may not be that straight forward.
https://stackoverflow.com/q/31897945
Potential option which may be worth exploring is the Microsoft UI Automation framework, leveraging accessibility features.


Not able to hide testdata in cucumber report

Hi, I am using cucumber with Java, JUnit and cucumber.
I am trying to set an option by which the certain test data will not show in the report.
I have username and password in cucumber example data for scenario outline.
I do the want that certain data to be included in the report.
I know I can set this information in any config file but there are lots of other data/fields which I do not want to include in cucumber reports.
Is there any way by which I can force cucumber reports to include such data while I also want few data to be included in reports
Any workaround will be helpful.
Suggestion:
Include one key in cucumber option which invokes such setting and there should be some symbol present in feature file which state which example fields show data and which should not include in the test report.

Are these usernames and passwords legitimate credentials that you'd like to keep private? If so, I would recommend removing them and using fake credentials - and mocking authentication responses, as required.
I'm not a member of the core team, so I can't say for sure, but I really don't believe that this will be implemented.

Also, github issues are intended exclusively for reporting issues with cucumber and requesting features, and are not intended to be used for support. Please visit the following page to find more information about how to get support.
https://cucumber.io/support


[CMake] Add examples/tutorials/mnist to Python package.

Tutorial scripts in examples/tutorials/mnist rely on some classes to be present in the Python package, so added this directory to CMake. Also, fixed code in contrib.learn that caused the MNIST tutorials to fail on Windows.

Can one of the admins verify this patch?

@tensorflow-jenkins test this please.


Multiple private endpoints and weird removal/rejection behavior

Hi folks,
Imagine you have 1 storage account , 1 vnet with multiple subnets and decided to add 1 private endpoint  to that storage account (<IP_ADDRESS> ip , as shown in the picture below):

Then, you go to the private DNS zone and check the current A record for the endpoint to make sure that it's pointed to the just created endpoint:

Now you want for some reason to add the second endpoint to the storage account (<IP_ADDRESS> ip):

And again we check the dns zone and notice that the record has been changed to the <IP_ADDRESS>:

Then, you realize that don't need the first endpoint (<IP_ADDRESS>;) and have to remove it from the storage account page, so the second endpoint only remains. Surprisingly, the removal or rejection of the first endpoint also clears the dns zone and removes the endpoint A record regardless the fact it's pointed to the second endpoint's IP. Actually, it does not matter which endpoint you delete/reject and what subnets/vnets they belong to. The behavior would be the same - no A records in the zone:

So, the user is REQUIRED to control manually Azure private DNS zone in case of multiple endpoints. Now I have to add a record set back for the <IP_ADDRESS> endpoint, for example.
Is it expected behavior? I can't understand the logic behind all this : 1) the record always points to the last added endpoint 2) removal of any configured endpoints clears the DNS zone records for the endpoint. Is it just a way of maintaining a single IP in order to meet this "For a single network using a common DNS server configuration, the recommended practice is to use a single private endpoint for a given private link resource to avoid duplicate entries or conflicts in DNS resolution." ? However, I checked a multiple networks setup and got the same behavior...
I would like to see updated docs on that.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b006a616-2f2f-8ecf-8b80-fd0a3cc62090
Version Independent ID: 92c54dc6-8ddf-b1f7-4a58-d61b8cd7fe25
Content: What is an Azure Private Endpoint?
Content Source: articles/private-link/private-endpoint-overview.md
Service: private-link
GitHub Login: @malopMSFT
Microsoft Alias: allensu

Thanks for the feedback
According to guidance, using 2 private endpoints on the same network (Vnet) and the same private DNS zone is considered a misconfiguration.
It's generally a bad practice for DNS to use the same domain to resolve to more than a single IP address when not necessary, it could lead to unpredictable behavior on the route traffic will take within the private network leading to potentially some firewall or NSG not allowing an specific path.
Complete details on the guidance is included here:
https://docs.microsoft.com/en-us/azure/private-link/private-endpoint-dns

@malopMSFT yeah, I see. but it's not clear after reading the docs. It's the main point. There is just a recommendation "For a single network using a common DNS server configuration, the recommended practice is to use a single private endpoint for a given private link resource to avoid duplicate entries or conflicts in DNS resolution". Why can't I just reject endpoint without resetting the entire private zone? Can you please point me out a quote that prohibits "2 endpoints on the same vnet is a misconfiguration"?  May be just a short "Important.." section in the docs would resolve any misunderstandings...

It's only a recommendation as we have a few customer's taking different approaches with different DNS servers on the same private network, those have custom handlers for resolution.
The quote is the same, basically DNS is a common area for a given domain.
"A single private DNS zone is required for this configuration. All client connections made from on-premises and peered virtual networks must  also use the same private DNS zone."

Got it. Thanks.

I am try to send NSG flow logs to one storage account from 2 different VNets. Is this possible? Using on-premises private DNS.

I would like to bring back this thread.
I have exactly the same behavior. My infrastructure has multiple cases where we have TWO private endpoints pointed to the same resource.
This is because our automation changed how it names private endpoints, and new ones were created for all resources upon an IaC deployment.
Now, we have MANY duplicated, not used private endpoints, and we can't safely delete them. - because removing them affects the second one - used.
This is really misleading behavior. I would assume that I can safely delete not used and duplicated endpoints. And this is not true. This misleading can lead to serious damage to the prod environment. Luckily for us, we caught this in the DEV environment.
How can I workaround this and safely delete these unsued private endpoints?

Why can’t you delete and recreate? Set the static ip parameter and be done with it
Regards,
Andrej

From: Jakub Dropia @.>
Sent: Thursday, November 23, 2023 5:47:27 AM
To: MicrosoftDocs/azure-docs @.>
Cc: Andrej Rosic @.>; Comment @.>
Subject: Re: [MicrosoftDocs/azure-docs] Multiple private endpoints and weird removal/rejection behavior (#58044)
I would like to bring back this thread.
I have exactly the same behavior. My infrastructure has multiple cases where we have TWO private endpoints pointed to the same resource.
This is because our automation changed how it names private endpoints, and new ones were created for all resources upon an IaC deployment.
Now, we have MANY duplicated, not used private endpoints, and we can't safely delete them. - because removing them affects the second one - used.
This is really misleading behavior. I would assume that I can safely delete not used and duplicated endpoints. And this is not true. This misleading can lead to serious damage to the prod environment. Luckily for us, we caught this in the DEV environment.
How can I workaround this and safely delete these unsued private endpoints?
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/58044#issuecomment-1824286880, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHLPLBUI4YTUWBPF64HHE3YF4ZU7AVCNFSM4OLC7XLKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBSGQZDQNRYHAYA.
You are receiving this because you commented.Message ID: @.***>

@Drejmester Can you elaborate? I am not sure if I am following...

You have these private endpoints terraformed already. Just set the private_ip_address to the ip of the PE in each module block, delete all the private endpoints in azure, and recreate them with terraform.
Regards,
Andrej

From: Jakub Dropia @.>
Sent: Thursday, November 23, 2023 6:40:41 AM
To: MicrosoftDocs/azure-docs @.>
Cc: Andrej Rosic @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Multiple private endpoints and weird removal/rejection behavior (#58044)
@Drejmesterhttps://github.com/Drejmester Can you elaborate? I am not sure if I am following...
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/58044#issuecomment-1824364790, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHLPLGG5U3GZP3O76AOXXTYF474TAVCNFSM4OLC7XLKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBSGQZTMNBXHEYA.
You are receiving this because you were mentioned.Message ID: @.***>

Correct me if I am wrong, but my application connect to the resource using DNS name. That DNS is resolved with one of the IPs of created Private Endpoints. One is used, and the second one is not. I am deleting not used one. Immediately, the DNS record is removed, so my application, which is LIVE, can't connect to the resource after refreshing DNS.
I am not using terraform. We have our custom IaC based on arm templates and PowerShell scripts.
Are you suggesting removing PE, and recreating the DNS record of the second Private Endpoint directly in DNS, instead of relying on Private DNS Zone Group?
That probably should work, but this operation is not atomic - I introduce a small window, between removing the private endpoint and recreating the DNS record, where my App can hit the DNS and will not find anything.

@malopMSFT
This is exactly what we need!
When we could test that?

@ivapplyr Could you please kindly provide an ETA for this fix?

Hey Folks,
The fix is a feature update and will need time to be available for mass adoption targeting Q1 next year.
For the time being, we can onboard customers with their subscription FF.
Customers can feel free to email me ivapplyr at Microsoft dot com to onboard to the private preview program

@ivapplyr I've sent you an email, and we have opened a support ticket for weeks. There is any chance to enable this on our subscriptions? :)

Hi @ivapplyr , Can you please update on GA timeline for this fix?


Format env parameters for run_projman_filler correctly

What problems does this PR solve?
Environment parameters for run_projman_filler are now formatted as a dictionary, this should make sure that the workflow does not fail.
How has the changes been tested?
This has not been tested. We have no automatic workflow tests.
Reasons for careful code review
If any of the boxes below are checked, extra careful code review should be inititated.

[ ] This PR contains code that could remove data

@slohse Nice! Feel free to merge when travis is done :)


[BEAM-65] SplittableDoFn prototype.

Work in progress. Currently only runs in direct runner,
and not ready for any use by real users.
No tests for most of the code yet (will add later in this PR) but the rest is ready to take a look.

R: @bjchambers
R: @tgroh
CC: @dhalperi , @kennknowles , @dpmills

Haven't looked at tests, but seems generally reasonable as a first checkin

OK, I rebased, added unit tests, and addressed most comments. I'll address the couple more final comments meanwhile, but as far as I'm concerned this PR should be good to go modulo cosmetics.

Thanks, PTAL!


I want to eat your pancreas - US BD - Timing

After working with the US BD for a few days, I was able to determine that a 1000MS delay to all included subtitles (for both the main movie and the extras) syncs perfectly. Would it be possible to get a note included with the included TXT for future reference? I am sure there would be some people out there who would prefer your amazing work over the included PGS subtitles.

Thanks for the info and feedback. This is really appreciated!
I thought about adding only a note, but it's easy enough to just add versions with the timings adjusted, so I've done that. Would you be able to check if those versions sync up perfectly?

Did a quick runthrough with the "Signs and Songs" and "Honorifics" subtitles, and all looks good from here! Timing and tracking is spot on. Once again, thank you so much for your work 🙂
Main Movie - Signs and Songs:

Main Movie - Honorifics:

"Fanfare":

Great. Glad it worked without issue.
Thanks for all your help.


Recursive directory iterators fail when in a workspace with Unicode rootUri on Windows

Affects workspace diagnostics and initial indexing
Most likely to do with the path encoding. From what I saw, windows fails with "path not found"

Fixed by #561


Use lib file with \MT Flag

What version of OR-tools and what language are you using?
Version: master/v7.7/
Language: C++ / VS2019
Which solver are you using (GLOP)
What operating system (Windows 10
What did you do?
I have a large MFC project which is using /MT for linking files. Now I try to integrate the or-tools.lib into projekt, but I always get compilation error, because the lib is compiled with /MD flag. Is it possible to comple the lib with MT?

We won't do it. But you can recompile from source.
You will need to search for /MD in the makefile s directory.
Le lun. 29 juin 2020 à 23:01, Pavel<EMAIL_ADDRESS>a écrit :

What version of OR-tools and what language are you using?
Version: master/v7.7/
Language: C++ / VS2019
Which solver are you using (GLOP)
What operating system (Windows 10
What did you do?
I have a large MFC project which is using /MT for linking files. Now I try
to integrate the or-tools.lib into projekt, but I always get compilation
error, because the lib is compiled with /MD flag. Is it possible to comple
the lib with MT?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/2089, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3NQZQSK6H7MOYI4YOLRZD6JRANCNFSM4OLSZQDQ
.

Do I need to change only make file in makefolder or makefile from third_party too?

I assume Makefile.third_party.win.mk and Makefile.win.mk.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le mar. 30 juin 2020 à 08:08, Pavel<EMAIL_ADDRESS>a écrit :

Do I need to change only make file in makefolder or makefile from
third_party too?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/2089#issuecomment-651563190,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3MW5O2JUPUTBVLIQBLRZF6NVANCNFSM4OLSZQDQ
.


Working test to check that dockerfile generation is working

I will probably make the "compare files" code generic so we can use it to compare any two generated files

:+1:

Other than the milagro bit, this is fan-tastic. :sparkles:

:+1:

Also, don't worry, history will be cleaned up before rebase.


gitnuro: 1.1.1 -> 1.3.1

Description of changes
https://github.com/JetpackDuba/Gitnuro/releases
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.

fix https://github.com/NixOS/nixpkgs/issues/278507

Dunno if this is the case, but recently @TomaSajt is tracking issues on determinism from Java apps:
https://github.com/NixOS/nixpkgs/issues/278518

Dunno if this is the case, but recently @TomaSajt is tracking issues on determinism from Java apps:
I think this package uses prebuilt jars, so there shouldn't be an issue with reproducibility

Then please set meta.sourceProvenance = with sourceTypes; [ binaryBytecode ];

Sorry, i caused a merge conflict. Please rebase.

Seems like this bump drops support for previously supported platforms like aarch64-linux and darwin. Were those always broken, or can you add download urls and hashes for those platforms as well?
https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.gitnuro.aarch64-linux
https://hydra.nixos.org/job/nixpkgs/trunk/gitnuro.x86_64-darwin
https://hydra.nixos.org/job/nixpkgs/trunk/gitnuro.aarch64-darwin

Seems like this bump drops support for previously supported platforms like aarch64-linux and darwin. Were those always broken, or can you add download urls and hashes for those platforms as well?

I don't know if it ever ran on aarch64-linux or Darwin, but Gitnuro definitely changed something with v1.3.0.
Before that version, they just released a single Gitnuro-linux-X.X.X.jar, now they release two binaries for Linux: Gitnuro-linux-x86_64-X.X.X.jar and Gitnuro-linux-arm_aarch64-X.X.X.jar.
An extra Gitnuro-macos-X.X.X.zip seems to have always existed for Darwin.
At least for the two Linux jars it should be enough to just download the one corresponding to your platform with the correct hash. Don't know about Darwin.

Also: Why was #298099 merged recently, but this PR here is still open?
This PR has the desperately needed fix for #278507 / #302550, which #298099 doesn't. I can't the Gitnuro that is currently in nixpkgs unstable (v1.3.1 from #298099) because of said issues, so I would really like to see this PR merged :smiley: @zendo @pbsds

I go between a lot of PRs, i'm sorry i didn't connect the two.
Can this PR be rebased to include the fix? Would love to have it in time for the 24.05 release.

Looking good!
I tried adding aarch64 support on a copy of this package in my configuration. See this commit. I don't know if this is the proper way to do what we want to do here, but it should work. At least it does for x86_64. I admittedly could not test it on an aarch64 device, as I don't own one (yet).
If these circumstances are acceptable, I would appreciate it if something similar could already be part of this PR, as I plan to get an aarch64 device rather soon. @zendo
Otherwise, this PR looks ready for another review from @pbsds. Thanks!

LGTM
@julius-boettger your diff looks sane. Lets not block this PR any further, please submit it as a separate PR.


Add volume to convex hull computations

I just noticed that no routine was available to compute the volume of a convex hull using qhull whereas these functions are available in qhull.
Unfortunately, I could not contribute directly to a pull request given that on my system Cython 0.22 is not yet available but the following seems to do more or less what I want :
diff --git a/scipy/spatial/qhull.pyx b/scipy/spatial/qhull.pyx
index c369ae9..e52e44a 100644
--- a/scipy/spatial/qhull.pyx
+++ b/scipy/spatial/qhull.pyx
@@ -121,6 +121,8 @@ cdef extern from "qhull/src/libqhull.h":
         realT max_outside
         realT MINoutside
         realT DISTround
+        realT totvol
+        realT totarea
         jmp_buf errexit
         setT *other_points
         unsigned int visit_id
@@ -176,6 +178,9 @@ cdef extern from "qhull/src/io.h":
 cdef extern from "qhull/src/geom.h":
     pointT *qh_facetcenter(setT *vertices) nogil

+cdef extern from "qhull/src/geom.h":
+    double qh_getarea(facetT *facetlist) nogil
+
 cdef extern from "qhull/src/poly.h":
     void qh_check_maxout() nogil

@@ -330,6 +335,18 @@ cdef class _Qhull:
             _qhull_lock.release()

     @cython.final
+    def volume(self):
+      global _active_qhull
+      qh_getarea(self._saved_qh.facet_list)
+      return self._saved_qh.totvol
+
+    @cython.final
+    def area(self):
+      global _active_qhull
+      qh_getarea(self._saved_qh.facet_list)
+      return self._saved_qh.totarea
+
+    @cython.final
     def close(self):
         if _qhull_lock.acquire(False):
             try:

But I think there is a better way to do it, as this patch segfaults the test when trying to compute an area...
If someone could guide me on the right track, I would be glad.
Thanks for your work !
Hervé Audren

That would be an useful addition.
.
How to do it: (i) you need to lock and activate the qhull instance; see
for example get_paraboloid_shift_scale() how to do this. (ii) The area
and volume should be extracted in ConvexHull._update, as the Qhull data
structures are discared after computation except in the incremental mode.

Fixed by merging of #5014.


Fixes an issue where splitting the panel space wrongly triggers on_unload

What changes are proposed in this pull request?

Testing DQ panel shows when splitting the panel's space using [][], the on_unload hook is called
moving the on_unload trigger to PanelCloseEffect function fixes the issue

https://github.com/user-attachments/assets/eb5ae41c-b95c-4c5b-b28a-a29882ea931c
How is this patch tested? If it is not, please explain why.
(Details)
Release Notes
Is this a user-facing change that should be mentioned in the release notes?

[ ] No. You can skip the rest of this section.
[ ] Yes. Give a description of this change to be included in the release
notes for FiftyOne users.

(Details in 1-2 sentences. You can just refer to another PR with a description
if this PR is part of a larger change.)
What areas of FiftyOne does this PR affect?

[ ] App: FiftyOne application changes
[ ] Build: Build and test infrastructure changes
[ ] Core: Core fiftyone Python library changes
[ ] Documentation: FiftyOne documentation changes
[ ] Other

Summary by CodeRabbit

New Features

Enhanced event handling in the Custom Panel for unload actions.

Bug Fixes

Removed cleanup effect for the onUnLoad prop, streamlining lifecycle interactions.

Refactor

Updated state management logic for the Custom Panel.
Introduced conditional checks for event triggers based on schema changes.

So this change affects all custom panels, is that right? Am I right to assume there are several of those?
If so, I'd be very curious to know how you've tested that this doesn't cause any regressions in existing panels.

I searched for on_unload in teams and oss but didn't find much reference - DQ panel is the only one implementing that from the recent CustomPanels.
also made sure all built-in panels (DQ, QP, Lens, etc) can be opened and closed properly after the change.
@imanjra @Br2850 if there are other areas I am missing to test lmk.


Local (ReproHub) python handling of my_nidm.ttl

Would love to be able to have the students load their my_nidm.ttl into the python notebook on the ReproHub, so that can do some additional things over the pynidm 'linear-regression'.
@satra  suggested trying:
import rdflib as rl
g = rl.ConjunctiveGraph()
g.parse("path/to/ttl", format="turtle")
res = g.query(query)
res.bindings --> should be convertable to a dataframe fairly easily

I'm trying to work out what the 'syntax' of the 'query' above would be... @dbkeator pointed me to some that I've yet to try.


Feature request: multiple select for listbox and combobox

Apologies if I've missed something, but after a look through the code I couldn't determine an easy way of hacking together a solution for multiple select.  Primarily I think the issue is needing alternate behavior for use:listbox.items for it to stay open after a selection.
It was implemented in the canonical version a while back:
https://github.com/tailwindlabs/headlessui/pull/1243
Also, there's a slight difference in behavior with selects and menus -- when triggering mouse down on an item and then releasing outside the menu it should remain open.

Along with multiple select, an empty input combobox would be nice (allowing placeholder). Headless ui has this via null

I second this request. @CaptainCodeman Thank you so much for the port btw!


⚠ Site ANTS has degraded performance

In 475143c, Site ANTS (https://ants.gouv.fr) experienced degraded performance:

HTTP code: 200
Response time: 6282 ms

Resolved: Site ANTS performance has improved in 5a2e556 after 6 minutes.


TelegrafClient.send crashes when trying to send UTF8 encoded strings

As per https://github.com/influxdata/influxdb.com/issues/135, the InfluxDB line protocol character encoding is UTF8. I'm wondering why pytelegraf tries to do an ASCII encoding? Also, shouldn't it test whether data needs to be encoded at all? It I'm noot overlooking something, I'm willing to write a patch and tests for it.

Hi @sbi.
I did some research and readings about UTF8 and the line protocol.
The current implementation is pretty naive and it seems that is actually no reason that pytelegraf should encode the output to ascii.
I looked at the line protocol documentation at https://docs.influxdata.com/influxdb/v1.2/write_protocols/line_protocol_tutorial/ and it says (just like you suggested) that he data, measurement names or tag names can be any unicode strings.

Line Protocol does not require users to escape the backslash character . All other special characters also do not require escaping. For example, Line Protocol handles emojis with no problem:

INSERT we⛅ther,location=us-midwest temper🔥ture=82<PHONE_NUMBER>100400200
SELECT * FROM "we⛅ther"

If I understood correctly then these changes:

Would be backwards compatible because UTF8 is a superset of ascii. This means that users do not have to change their code.
And that these changes would not require to add any complexity to the pytelegraf API

Meeting both these conditions would be awesome.
Feel free to submit a pull request that adds UTF8 support for metric data, metric names and tags. It would be much appreciated!

The way I see it I can indeed meet both conditions. I hope to have this finished soon!

#5

Thank you for reporting and resolving this issue. I have uploaded a new version that contains your fixes 👍

Cheers :-)


http backend sample docs

What this PR does:
http backend sample docs

Codecov Report

Merging #91 (05d8efd) into develop (7e8897e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #91   +/-   ##
========================================
  Coverage    41.93%   41.93%
========================================
  Files           33       33
  Lines         1407     1407
========================================
  Hits           590      590
  Misses         733      733
  Partials        84       84

Continue to review full report at Codecov.

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


XMLParserHelper xmlString, nodes with attributes only

I think there is problem in XMLParserHelper class func xmlString in nodes with attributes only.
Suggest change string format "<%1$@>%2$@</%1$@>" to "<%1$@%2$@/>" in
           if !innerXML.isEmpty { return String(format: "<%1$@%2$@>%3$@</%1$@>", nodeName, attributeString, innerXML) } else { return String(format: "<%1$@>%2$@</%1$@>", nodeName, attributeString)}

You are absolutely right! This is a bug.
The fix will be included in the next release as soon as possible.
Thank you.


More than one element with 'external' option unstable bug.

I'm trying to use this plugin with external option on few video (7pcs),  which must play on hover. But I have met the problem - sometimes (50% cases) in some of videos first frame is not displayed. But when I  hover on the video it begins to play and evrething is ok. On less powerfull computer just one or two videos are displayed. Problem is swown in screenshot http://joxi.ru/brRKJ0QFQLNjJm .

Sorry. Wrong issue.  It happens with videos without plugin.


Create a environment for developer use where kcp is running in a container (using kcp's official image)

kcp is running in a pod using official kcp image.
Able to add workload clusters (kubernetes or openshift clusters) the this instance of kcp
Have tekton installed (no new development; this part already exists)
Be able to run PipelineRuns and TaskRuns.

As mentioned by @fgiloux , PRs #68 and #79 have worked on this issue.
Thank you @xinredhat and @ramessesii2 for your work on this.


Static check build fixes

Addresses issues reported from staticcheck which show up on build

Coverage increased (+0.3%) to 89.763% when pulling 021a21d89619930eeb32dd659c8ad590b4269b41 on wallyqs:static-check-fixes into cd0712cc58f7890a0b024168b18dba1cb8eceba0 on nats-io:master.


Windowss 64-bit zip download link of Version 1.31 is broken

Windowss 64-bit zip download link of Version 1.31 is broken. The file has a size of 2,30 MB (2.420.736 bytes) which is wrong.
Thanks.

/duplicate of #68736


Building fails on x86_64-darwin

error: builder for '/nix/store/vndky2g2fxndy6rbg8rcf63bs195j52n-cardano-config-lib-cardano-config-<IP_ADDRESS>.drv' failed with exit code 1;
       last 10 log lines:
       >
       > src/Cardano/Config/Git/Rev.hs:33:35: error:
       >     • Exception when trying to run compile-time code:
       >         git: readCreateProcessWithExitCode: posix_spawnp: failed (Undefined error: 0)
       >       Code: gitRevFromGit
       >     • In the untyped splice: $(gitRevFromGit)
       >    |
       > 33 |         fromGit = T.strip (T.pack $(gitRevFromGit))
       >    |                                   ^^^^^^^^^^^^^^^^
       >
       For full logs, run 'nix log /nix/store/vndky2g2fxndy6rbg8rcf63bs195j52n-cardano-config-lib-cardano-config-<IP_ADDRESS>.drv'.
error: 1 dependencies of derivation '/nix/store/c5wwjy01gsqvpvkjfcwbwv18k4g61q33-cardano-cli-lib-cardano-cli-1.30.0-config.drv' failed to build

It seems that Darwin doesn't return the correct error types when the executable is missing. I propose catching all exceptions and returning "".

This should be fixed incardano-node and cardano-db-sync.


Examples and demo (in /examples)

I'm working on bringing the examples up to date, and fixing up the demo. My idea is that it should be possible to clone the repo, browse to adldap2/examples, stick in a hostname (at the minimum) and get some sort of info about configuration etc. Also log in as a user and see what $info can be found.
Does this sound okay?
Also, such a utility should probably not be included in any production situation, so should I add
"archive": {
    "exclude": ["/examples"]
}

to composer.json?

Hey Sam, that sounds great, push away!
Feel free to push the updated examples to the master branch as well as the composer.json change if you'd like.
-- Steve

(Oops, I forgot to ref this issue in the commit.)
I've pushed the new demo page to master. See what you think.


Renamed titles, added links and improved wording

changed the title for the 3 options on how to set up AWS IAM structure
1-with CF console
2-With AWS CLI
3-with the AWS IAM console
Listed the main components of the AWS IAM structure
In halyard section changed titles to put them in context by using the AWS provider.
I changed the wording to start with actions to perform e.g. Enable the AWS Provider
In Next steps section
I added links to the other AWS compute services: ECS, EKS and lambda

@dorbin Thanks Dave for your suggestions. I have planned some extra improvements to the complete AWS Provider (EC2, ECS, EKS, Lambda). I have been doing progressively and in small chunks. Thanks.
If you have improvement ideas i am happy to read about them.

OK I have created a new PR https://github.com/spinnaker/spinnaker.github.io/pull/1996 with the changes from this PR1964
Hopefully it can be easily merged...


using the -t and -g flags prefers the the -g flag

in the help text for shiny create can we mention that when using the -t and -g flags together, the -g flag takes precedence?

Good catch, I think if the user provides both template and github they probably misunderstood how templates work, so I think an error is better.


Nuke VPC endpoint services

VPC endpoint services, not VPC endpoints directly, as they may be fronting NLBs spun up during testing. As part of deleting the VPC endpoint services, any existing endpoint connections would need to be rejected.
My reasoning for not targeting VPC endpoints is that, in my case, they are potentially tied into how the VPC is designed - such as allowing communication to AWS APIs without going onto the big-wide internet

Hey @wjam, do you want to create a PR for this request? Otherwise, I'll close this comment as there's no other votes on this particular request.

Closing this issue as we've had no interaction on this for a while.


Please support sqlproj

on sqlproj(sql server database project) not work.

@ahdung if you are still interested in this, please compile this repo, install vsix, and give it a try. I've implemented few changes and it now works for me in my nano-sqlproj from Tests.
FYI: all cs files in sqlproj should have Build Action = Compile to be processed.
If everything is OK, I will publish a new version to VS masketplace.

@lsoft EXCITING!! I might try it next tuesday.

@lsoft I tried, not work, nothing happend after click.

@ahdung thanks. I'll take a look once again. Because I'm not familiar with sqlproj (at all), could you share your test project?

@ahdung PTAL:

there are a little chances to fix the issue without your sln, because everything works fine at my end. Also, 1) please confirm that you are using a version from repository (not from VS marketplace). 2) make note you need to build action set to "compile", otherwise Roslyn will not recognize your cs files.

@ahdung I noticed your version is not recognizing your cs files, so 1) you are using version from VS marketplace 2) OR your files has not "Build action = Compile".

@lsoft Sorry it's my fault, I do use the market one, so where is the repo one, link?

@ahdung this repo. clone it, build, and take vsix file from AdjustNamespace\AdjustNamespace.2022\bin\Debug\AdjustNamespace.vsix
then uninstall your current version of AdjustNamespace and install the compiled one. Alternatively, you just can wait for a new version I publish, but I don't know when I'll do that.

My VS does not install the plug-in development environment, and I don't want to install it, so can you please compile one for me?

@ahdung I've published 0.1.11 to VS marketplace with the fix. You can update your Vsix as usual now.

@lsoft Thank you very much! files in folder are ok, but files in root will be empty namespace, not apply RootNamespace property.

Happy to this, I tried it, there are some issue I think.

The first part of namespace maybe should use RootNamespace property, not project name.
If a file not defined any namespace, this extension not apply it, by design? I hope provide a option.

@lsoft

The first part of namespace maybe should use RootNamespace property, not project name.

good point, thanks. I fixed this via VS project system, due to the Roslyn project system does not provide such info for sqlproj. I've created a bug, let's see.
Fixed in 0.1.13.

If a file not defined any namespace, this extension not apply it, by design?

the VSIX is adjusting existing namespaces, adding a new one is unexpected behaviour, I guess. So I prefer to leave this as is.

0.1.14 is perfect, THANK YOU!

Closing as completed.


Upgrade dependencies

Coverage remained the same at 78.782% when pulling 226c97eecf9a212076901eae25aa03a076491d29 on master into 5ae5b7af465ba8bf5b71a483c99479c33a78306f on production.


Integration with validation library?

Is your feature request related to a problem? Please describe.
It's a bit tedious to validate request body and query param and then manually return appropiate error message, it would be nice if there's some kind of integration with validation library that remove boilerplate to validate and return appropiate error message similiar to python web framework like fastapi that integrate with pydantic.
Describe the solution you'd like
Integration with validation library like validator or garde. Currently garde has an integration with axum here that may be used as reference to integrate garde to salvo
Describe alternatives you've considered
Additional context

Duplicate：#168


Nested routes and refresh problem

Hi! I am having trouble with nested routes.
My issue looks very similar to the #86
I'm using version 3.1.2.
When I refresh the page only the top most router handles the event,
nested tag route handlers are not called.
Example:
<app>
  <router>
    <route path="path/foo"><inner-tag /></route>
  </router>
</app>

<inner-tag>
  <p>{ name }</p>
  <script>
    this.name = 'loading';
    var r    = route.create()

    r('path/foo',    changeName   )

    function changeName(){
        self.update({
            name:  "Greg"
        })
    }
  </script>
</inner-tag>

When using links, history or pasting url I can only see 'loading'.
However if I manually remove 'o' and press enter, and then add 'o'
and press enter 'changeName' gets called.
Calling inside 'inner-tag'
route.exec();

seems to solve the problem, but it feels that something wrong.
Bug or rtfm ?

I too ran across this behaviour. Does this illustrate the problem well enough @GianlucaGuarini?
http://embed.plnkr.co/W5VUSaeDgjNHdOTQGDWZ/
In my project calling route.exec() in the child tag mount function worked around the behaviour

plunker with workaround https://embed.plnkr.co/YWnUIwGrevkk2ebIWfjQ/
Add this in the child tag
    <script>
        var tag = this;
        tag.on('mount', function() {
            route.exec();
        });
    </script>

Note this only seems to work for one level of nested tag routing

tag routing works fine

nested tag routing needs a route.exec() in the mount function

double nested tag routing I wish you the best of luck

Similar problem, but adding the route.exec() fixes it. Would be nice if this worked without issues, the tag-based routing is really intuitive to understand.

This is still pretty lightly tested, but I reworked the tag routing stuff so that it works correctly recursively. You can also put multiple child routers on a tag, and they'll all get triggered correctly. It's very much a break from how the current router tags behave, but it seems to work pretty well and is more intuitive to me.
I don't have much time to clean it up or PR it, but hopefully someone finds this useful:
https://gist.github.com/virtuald/ac2fabcc37aeb00ecfe7a94e29035c72

I've updated my gist, it had some inconsistencies in how routes were being propagated -- sometimes the route event was top to bottom (initially), then sometimes it was bottom to top (after mount). Made a host of changes that make it behave a lot more reliably I think.

Fixed in<EMAIL_ADDRESS>many thanks to @aadilhasan


Installer versioning

Right now, a version is manually coded in Setup.nsi and doesn't match the build version. It does look like the osvr-ver.txt file is getting packaged, which contains the official git describe-derived, precise version. Would be preferable to generate the packaging version from this. Use of this version string:

The first three components (specifically, all the numeric tokens separated by . or -) can (and have been, on access.osvr.com) be used as a dotted-decimal version: specifically, the dotted portion is the most recent tagged version, while the number after the dash is the number of commits since the tag.
The last component (the one starting with g) identifies the specific git commit in OSVR-Core corresponding to the version (because due to branches, a tag and number of commits do not uniquely identify a revision, but commit ids are sha hashes and thus not very useful as numeric versions)
The full string, perhaps without leading v, should be used when we can use a string for the version.

installer now uses osvr-ver.txt file located in the distribution directory.


Made plenty of improvements, fixed Workflows and Haxe 4.3

Including a compile fix for Haxe 4.3, upgrading the workflows too to 4.3 since Neko is breaking them, and removing validscore since it's useless, new Difficulty code & a crash fix from 0.7.3 and other general improvements (including some cleanup)
I might work on the new stage system from 0.7 to clean playstate soon, but for now this will do

what the hell
I might merge this later, I'm just taking a break rn.

what the hell I might merge this later, I'm just taking a break rn.

sure thing

Including a compile fix for Haxe 4.3, upgrading the workflows too to 4.3 since Neko is breaking them, and removing validscore since it's useless, new Difficulty code & a crash fix from 0.7.3 and other general improvements (including some cleanup)
I might work on the new stage system from 0.7 to clean playstate soon, but for now this will do

idk why you did a fix for Haxe 4.3 so idk yet if i'm gonna merge this yet and idk what libs i need to update

QUICK NOTE: This will break compilation on any version below 4.3 if it contains any of these PLEASE make sure to convert anything that looks similar to value ?? "fallback"  to looking like value != null ? value : "fallback"so as to maintain compatibility with Haxe versions starting with Haxe 4.2

This commit does not contain any of what was in a previous edit of this message, however, an update to the libraries devs are using are required to compile it seems
Note
I am not an official dev.

well, specifically lock libraries to specific versions because some people just can’t use right versions

This PR causes the pause menu to once again be broken. (On Haxe 4.2.5)
Anytime you try to change difficulties it gives an error

yup, because newer flixel breaks it, and I know a fix for it, just haven’t gotten to it yet

This PR causes the pause menu to once again be broken. (On Haxe 4.2.5)
Anytime you try to change difficulties it gives an error

yup, because newer flixel breaks it, and I know a fix for it, just haven’t gotten to it yet

And you made a PR despite not sorting out the fact that it broke something?

This PR causes the pause menu to once again be broken. (On Haxe 4.2.5)
Anytime you try to change difficulties it gives an error

yup, because newer flixel breaks it, and I know a fix for it, just haven’t gotten to it yet

And you made a PR despite not sorting out the fact that it broke something?

That's understandable, and I wasn't trying to be rude, but if you knew about the issue before the PR, why would you open it before fixing it?

I opened this PR after fixing it, I tested it before I fixed them, I didn’t know about that issue because I didn’t get that issue, but I will fix it soon

Ah. got it.

and also side tangent, it was to fix the chart editor crashing properly since it wasn’t fixed properly, and it still isn’t entirely fixed, just doesn’t crash now, but I’m gonna figure it out later, I work my ass day and night, I’m usually busy with stuff irl, or other things online, so I’m usually either up late or sleeping during the day, but point is, I didn’t have the patience or energy to fix everything yet

Ah, Only other crash fixes done was for the fact that having no vocals crashed it due to missing files.
(At least what I've contributed, and are aware of.)

Ah, Only other crash fixes done was for the fact that having no vocals crashed it due to missing files. (At least what I've contributed, and are aware of.)

the main problem in the chart editor is it’s trying to load from the assets folder, not from the mods folder, it’s not accounting for charts in there, and I don’t know whether to blame that on the shit code that videobot did, or because this uses 0.6.3, btu either way, I’m gonna figure it out, I didn’t test everything because it was 3/4 in the morning, I was and am still tired, and I didn’t account for everything because there’s a lot

Ah, Only other crash fixes done was for the fact that having no vocals crashed it due to missing files. (At least what I've contributed, and are aware of.)

the main problem in the chart editor is it’s trying to load from the assets folder, not from the mods folder whenever you try to load a chart in the mods folder, it’s not accounting for charts in there, and I don’t know whether to blame that on the shit Ctrl C + Ctrl V code that videobot did, or because this uses 0.6.3, btu either way, I’m gonna figure it out, I didn’t test everything because it was 3/4 in the morning, I was and am still tired, and I didn’t account for everything because there’s a lot

i think it crashes bc you didn't select the correct mods folder. in the editor menu use UI_LEFT or UI_RIGHT keys to select a different modpack you can see what modpack you selected at the bottom middle of your screen if you're in the editors menu

Ah, Only other crash fixes done was for the fact that having no vocals crashed it due to missing files. (At least what I've contributed, and are aware of.)

the main problem in the chart editor is it’s trying to load from the assets folder, not from the mods folder whenever you try to load a chart in the mods folder, it’s not accounting for charts in there, and I don’t know whether to blame that on the shit Ctrl C + Ctrl V code that videobot did, or because this uses 0.6.3, btu either way, I’m gonna figure it out, I didn’t test everything because it was 3/4 in the morning, I was and am still tired, and I didn’t account for everything because there’s a lot

i think it crashes bc you didn't select the correct mods folder. in the editor menu use UI_LEFT or UI_RIGHT keys to select a different modpack you can see what modpack you selected at the bottom middle of your screen if you're in the editors menu

usually for me anyways, it usually detects the charts without problem, even if I didn’t do any of that, but if that’s what fixes it fine then, but if it’s a problem despite not being in a mod pack, then it’s definitely a big issue

Ah, Only other crash fixes done was for the fact that having no vocals crashed it due to missing files. (At least what I've contributed, and are aware of.)

the main problem in the chart editor is it’s trying to load from the assets folder, not from the mods folder whenever you try to load a chart in the mods folder, it’s not accounting for charts in there, and I don’t know whether to blame that on the shit Ctrl C + Ctrl V code that videobot did, or because this uses 0.6.3, btu either way, I’m gonna figure it out, I didn’t test everything because it was 3/4 in the morning, I was and am still tired, and I didn’t account for everything because there’s a lot

i think it crashes bc you didn't select the correct mods folder. in the editor menu use UI_LEFT or UI_RIGHT keys to select a different modpack you can see what modpack you selected at the bottom middle of your screen if you're in the editors menu

usually for me anyways, it usually detects the charts without problem, even if I didn’t do any of that, but if that’s what fixes it fine then, but if it’s a problem despite not being in a mod pack, then it’s definitely a big issue

That is, infact, how psych works, I have charts in the main mods/data directory and it loads fine for me

sorry but i wont merge it

sorry but i wont merge it

Okay then

I will add


Add QCArchive datastructures

Description
We want to provide a dataset structure for the most common datasets that are provided through the QCArchive infrastructure. These datasets should play nicely with the pytorch dataloader objects and inherit from torch.utils.data.Dataset.
Todos

[x] Outline general structure
[x] Implement QM9 toy dataset
[ ] Tests are passing

Questions

[ ] How to best query different labels?
[ ] Is there any use case for different datapoints beside coordinates?
[ ] Is a view the best structure to perform queries on?

Status

[ ] Ready to go

I think, after a few minor changes, we should just merge this PR so we can create a separate one aimed at fixing the CI workflow.


Set XCMP Queue Drop Threshold

We currently default to an XCMP drop threshold of 5 which might lead to dropped XCMP messages in case the chain stalls.
We want to change the threshold to the maximum XCMP channel size, so that no messages are dropped in case of stall.
We should also choose a suspend threshold. Something low like 10 or 20 might be good, as we don't expect to have a backlog of XCMP messages.
Todos

[ ] create governance call to adjust storage
[ ] write chopsticks test that verifies it will work fine

Might make sense to account for PoV size:


OpenCV build issue

I am trying to implement media pipe framework. When I run "bash setup_opencv.sh" it downloads all the files but when it starts building it chocks the whole system and does not respond anyhow.
My system specification is Ubuntu 18 LTS, 4GB RAM, Core i5 3rd generation, no GPU.
Could anyone please guide me?

asimzahid1@, I recommend installing opencv by package manager on Ubuntu 18.04.
If you still want to build OpenCV from source, you probably want to limit the number of cores make can use. To do it, please modify the line 52 in the setup_opencv.sh to be make -j$(nproc)

No updates for more than 7 days. Close this issue for now.


Refactor Load More button to fix interactivity on search results with fewer than 20 results

Fixes

Fixes #1235 by @obulat
Replacement of #1236
Description

This PR moves all the logic for VLoadMore button to the VLoadMore component, and heavily uses the data available in the media store.
This solves the problem where because of an error in VLoadMore, there was a server-client mismatch, and the whole app was re-rendering, and was not interactive on SSR-ed search results.
This branch is based on type_base_components because it uses TS and VButton. It is, therefore, blocked by #1233.
Testing Instructions

Go to localhost:8443/search/audio/?q=galah
You should see a single result, but other than that, the page should be interactive (search type button in the header should work), and the waveform should be displayed.
Compare it with the behavior on main by going to https://search-staging/search/audio/?q=galah
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[x] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

For me when I go to http://<IP_ADDRESS>:8443/search/audio?q=galah it also shows a "load more" button. When I click it the page switches to the "no results" page :thinking:

The reason for failures described here is the fact that instead of using the store state from the server, we are re-initializing it on the client, for all the Pinia stores.
This means that even though we got results on the server, the result counts on the client are set to 0 in the beginning. FetchState is in the initial state, and page is set to undefined, so you can click on the Load More button.

This is already an improvement as the page doesn't crash, at least, but there is still something wrong with the load more logic.
When I visit http://localhost:8443/search/audio?q=galah on this branch the page doesn't crash and remains interactive. However there is a load more button (even though there's only a single result). If I click it, then a "no results" page will show.

Sorry for not stating it clearly, but this PR should only work after the media PR is merged.


Cant detect faces without MLVisionFaceModel

Hello,
I was wondering if they could help me, I would like to use your test app without MLVisionFaceModel as directed here but the array of faces is empty when i run whit this configuration. Can you tell me, what did i do wrong?
best regards.

I have same issue.


translation limit?

the script which i made sends around 50-60 sentences (one by one but at the same time) to the modernmt api. However, each time there is a sentence or two that doesn't get translated. Is there some kind of limitation on api receiving end?
my machine has 16GB of ram, 11GB of GPU. There isn't a problem with machine handling so many requests but it fails to do every time with a sentence or two. Is there some kind of help or direction you guys could lead me to solve this problem?

found the answer


Non-dependency on Gazebo

Desired behavior
Separating the SDFormat library from Gazebo, so Gazebo isn't a direct dependency of SDFormat.
Alternatives considered
Alternative SDFormat library from a different vendor which doesn't require a dependency on Gazebo.
Implementation suggestion
I'm not sure what the backend is and if that requires this system to depend on Gazebo, so I won't comment on this.
Additional context
SDF is a format that is ingested by different physics simulation systems (PyBullet, Gazebo, Drake). It's a very useful format and alternative to URDFs for its ability to hardware features such as joint dynamics. It would be nice to programmatically create SDFs without requiring an implied dependence on Gazebo, as many different simulators can ingest them. The Python library appears to depend on the gz module. I don't see a particular reason for why this is necessary. Is it possible to separate these libraries? If not, is there an alternative which acts similarly to SDFormat which doesn't have a dependency on Gazebo? The dependency pinning on gz is also a bit concerning for users stuck on different versions of gz.

The dependency here is not on all of Gazebo, but rather just the gz-math and gz-cmake libraries to provide some basic utility functions. You do not need to install all of gazebo in order to use the sdformat library.

I agree; we split gazebo into separate libraries in order to be able to reuse code. I'm going to close this since we are not planning to remove the dependency on gz-math at this time, but people are welcome to continue commenting here to discuss this further or request a change


IntelXDK Plugin not Working

Hi,
I am trying to use this plugin but it seems that it is not working. When I put this particular page on the server, it seems that it is working fine...
Is it something that I am doing wrong or the plugin does not work on IntelXDK?
Thanks
Keith

IntelXDK has many css/javascript incompatibilities. For what i know many css functions are not supported correctly. Social-feed is intended to be used on websites not mobile app for that reason is not tested on devices nor on android/ios app coding/framework/emulator


Detect Windows 11

In our statistics we take the UserAgent-object, extract the operation system and log it. It turned out, that Windows 11 machines tell, that the operating system is "Windows 10". This was unexpected.
We have to get the real name of the client operating system. This seems to be not easy, as Firefox and Explorer don't support user agent hints (which seem to be needed).
Quote from a Microsoft resource: "User-Agent strings won't be updated to differentiate between Windows 11 and Windows 10, or to differentiate between CPU architectures. We don't recommend using User-Agent strings to retrieve user agent data. Browsers that don't support User-Agent Client Hints won't be able to differentiate between Windows 11 and Windows 10, or between CPU architectures."
See: https://learn.microsoft.com/en-us/microsoft-edge/web-platform/how-to-detect-win11#sample-code-for-detecting-windows-11

Where is this file located?

server side in project OpenRobertaRobot there is in class Statistics a method infoUserAgent, which needs instead of
userAgent.getOperatingSystem().getName(), (which seemed for us to be simply correct, this was so until Win 11)
a more detailed analysis of the data in UserAgend to detect the right os.