Pysal 23.1 and Numpy 1.23.5

With these 2 packages, import gives error ImportError: cannot import name 'asscalar' from 'numpy'
A quick conversation with chatgpt says that "The latest release of PySAL (as of my knowledge cutoff in September 2021) is version 2.4.0, and it is compatible with NumPy 1.20 or later." So with newer versions of pysal, this might work with numpy 1.23. However, it seems like I cannot install a newer pysal package no matter what conda install or conda update I input on my cmd.

Thanks for reporting this.
Could you provide a minimum working example so that we might better investigate this issue?
It seems asscalar has been deprecated in numpy since 1.16.

It seems like I cannot provide the code snippet as I already removed it from my jupyter notebook.


It would be nice to be able to change palette colors

I'd like to switch smoothly between 2 color palette. It does not seams to be possible.
Just to try, I made "bn_palettes_manager.h" and "palette_bank.h" public and I use bn::palettes_manager::bg_palettes_bank().set_colors(0,colors);
It seams to work, but it would be nice to be able to do that with vanilla code.

bn::palettes_manager namespace is part of the private API, you should avoid using it.
You can change the colors of any background palette with bn::bg_palette_ptr::set_colors.

Sorry, I'm stupid, I saw it was possible to change the palette_item but then looked for a way to change the colors of the palette items. I didn't realize, I just had to instanciate a new one :(
I guess you can close this issue.


Adding script fix

Fix an issue where the script would cause SplashBuddy to come forward and allow for possible password disclosure during after the change in focus.
Added:

Checks to see if the application is running, and does not launch if it is already running.

Issues Solved:

Change in focus if focus on one app, and application gets activated again
Fixes the possibility of passwords or sensitive data from being exposed during key entry and the application focus gets changed.

thank you @cybertunnel  !


add support for devices linp.remote.k9b11, linp.switch.qt1db1, linp.sw…

add support for devices
linp.remote.k9b11,
linp.switch.qt1db1, #1257
linp.switch.qt1db2,
linp.switch.qt1db3,
linp.switch.qt1db4

You don't need channel_1 and wireless_1 for single channel device. It's just a switch and wireless

Thanks!

https://github.com/AlexxIT/XiaomiGateway3/releases/tag/v4.0.5


[Proposal] Add new 'empty' project template that has no boilerplate code or comments

Use case
As a developer, I want to create a project without the boilerplate example code and comments.  This applies to the main.dart file and the pubspec.yaml file.
It would be super helpful to just call 'flutter create -t empty' and it generates a new project but with a main.dart with only a main() method and a pubspec.yaml with only the most minimal of fields and very little commenting.
This is more a feature for the more seasoned developers who regularly create projects and don't want to be encumbered by boilerplate.
Proposal
Update the 'flutter' tool to include a new template 'empty' which, like 'app' and 'skeleton' will create a new project but only include the most basic main.dart and pubspec.yaml files.
flutter create -t empty my_empty_project
main:dart:
void main() { }
pubspec.yaml:
name: {{projectName}}
description: {{description}}

publish_to: 'none'

version: 1.0.0+1

environment:
  sdk: {{dartSdkVersionBounds}}

dependencies:
  flutter:
    sdk: flutter

  cupertino_icons: ^1.0.2

dev_dependencies:
  flutter_test:
    sdk: flutter

  flutter_lints: ^1.0.0

flutter:
  uses-material-design: true

I plan to work on https://github.com/flutter/flutter/issues/77104 in Q1 2022, and I think this should be implemented after that project.

fwiw we've been working on package:mason and package:mason_cli which enable developers to define/consume their own templates (bricks) in a standard way (support for publishing templates is coming very soon). I mentioned this on #77104 and hoped that flutter_tools would consider leveraging package:mason to standardize how templates are defined, distributed, and consumed.

Shouldn't this ideally be done by flutter create --empty? Currently it creates the test directory for example, which makes no sense when running flutter create in an already existing project.

Related: https://github.com/flutter/flutter/issues/80598


What does the feature "Update Frequency" do?

"Update frequency" is how often Fermata will check to see if it should disable or re-enable Lid Close Sleep.


Error while selecting nodes

Hello. I have an error, while changing nodes:
TypeError: this._data.core.last_clicked.state is undefined (jstree.min.js:3:9609)
ways to reproduce:

open 1-st root tree
select (click on) child of 1st root
open 2nd root tree
select (click on) child of 2nd root
select (click on) child of 3rd-st root
open 3rd root tree
close 1st root tree
open 1st root tree
error blocks opening of trees, which were opened  before
May be smth wrong with my tree creation parameters/data structure? please, see attachment (server.js called tree.html. root/child data in *.json files)

error text from browser:
a.jstree.core.prototype.activate_node()    jstree.min.js:3
a.jstree.core.prototype.bind/<()   jstree.min.js:2
.proxy/e()   jquery.js:2
m.event.dispatch()   jquery.js:3
m.event.add/r.handle()   jquery.js:3
jstree.zip

Hi, this is because you are using lazy loading in the wrong way - you can't load children of different parents in a single request (as you are trying to do). What happens is that every time a root node is opened a new AJAX request is made, which messes up the internal ID structure, as the received data contains children of multiple root nodes.


Support "is null" and "is not null" in where clause

Right now we cannot evaluate whether a value is (not) NULL is where clause:
postgres=# create table a(id int, value varchar);
create table a(id int, value varchar) 0
postgres=# insert into a values(1, 'hi');
insert into a values(1, 'hi') 1
postgres=# select * from a where value is null;
Error parsing SQL statement
postgres=# select * from a where value is not null;
Error parsing SQL statement
postgres=#

Merged in #842


samples/plugins/gke: prefix buildtemplates

The resulting buildtemplate from running ./samples/plugins/gke/push-images.sh is simply push. That doesn't make a ton of sense if someone were to look at the buildtemplates via kubectl get buildtemplates.
Therefore to make it obvious the buildtemplate is actually a kf plugin, it should have some sort of prefix.

We got rid of plugins, so I'm closing this.


Current line and current selection could use a bit more contrast

I'm using the latest stable PHPStorm 2018.1.6 version and I think that it would be better to increase the contrast between the current line and the current selection because currently, it's hard to distinguish them:

(the selected word is function on line 36)
Also, the comments are hard to read. I think a color like the one I have set in vim would work very nicely (which is a little bit brighter):

For it I have this setting in my .vimrc file:
let g:nord_comment_brightness = 12

Thanks for your contribution 👍
I'll see how to improve the recognizability of the selected text on the current line, maybe the selection will be brighter to stand out from the background color.
Regarding the comment color: There is arcticicestudio/nord#94 that deals with improving the contrast of comments for all port projects. It'll be implemented for this project as soon as the decision has been made.

I find "snowstorm" region highlight style in the Emacs version of Nord theme looks kind of cool. I'm thinking maybe we can use that as a reference. Just not sure if it can be easily implemented in jetbrain's editors. :)

@seraphlive Unfortunately there is no way to implement theme configurations since all definitions are simply XML and JSON files. It is not possible to implement any logic like functions for conditions based on user configurations. Emacs on the other hand are defined in Lisp so they can implement logic based on settings made by the user.
@axelitus The comment color contrast was finally increased in #41 and released in version 0.4.0. I'll close this issue for now until there is either a way to implement theme configurations or the background color of the currently active cursor line can make use of color opacity (alpha layer).

@axelitus I've submitted IDEA-215064 that requests an implementation of the highlighting feature like in VS Code: Hide the background color of the active line when selecting text.

@arcticicestudio great to hear! Hopefully, JetBrains gets this done, as it is a nice idea that would great without messing up with the color palette. I've given it the first thumbs up!


unrecognized arguments: group

I used this command:
az deployment create group --resource-group AZ-T-RGPRESITE --name blanktemplate --template-file /Users/simone/ARM-Templates/azuredeploy.json --location westeurope
I get the error: "az: error: unrecognized arguments: group --resource-group AZ-T-RGPRESITE"

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

ID: 7bf283cd-65c2-09ad-0af2-37bf95fe4d90
Version Independent ID: 46451ccf-174a-e4da-433f-aa8c5570557d
Content: Tutorial - Create & deploy template - Azure Resource Manager
Content Source: articles/azure-resource-manager/templates/template-tutorial-create-first-template.md
Service: azure-resource-manager
Sub-service: templates
GitHub Login: @mumian
Microsoft Alias: jgao

Nevermind, my bad I had switched group create with create group

@simonech Glad to know that you have self resolved and closed the issue. Thanks for the update.


feat(link): add router-link-inactive

Resolves #2648
Hello!
💁 This PR adds an inactive-class prop to <router-link>, which will add a class to all inactive links (by default, uses .router-link-inactive)
Example:
<router-link :to="link" class="all links" active-class="active only" inactive-class="inactive only">
  Click me
</router-link>

This feature would be killer for anybody using Tailwind CSS.
Please let me know if you would like me to add any additional e2e tests covering this. I don't know if there are any special behaviours around exact-match links or things like that we should cover.

Super helpful for everyone using a utility-based css framework like Tailwind.

Just stumbled upon this. Looks like this was already solved a long time ago and just needs to be merged?

@tobihagemann At the time (more than a year ago now) that this was submitted, there was a lot of working going into vue-router@4 and @posva was very busy. Check out the related issue above for more detail, but ultimately, a solution is posted in the documentation for Vue Router 4: https://next.router.vuejs.org/guide/advanced/extending-router-link.html.
This documentation details an <AppLink> component that extends RouterLink and gives you everything needed to implement an inactive-class property. With that said, I still think a flavor of this belongs in vue-router because I've now implemented this component 10+ times in different project. It's an absolute requirement if using TailwindCSS (or TailwindUI).
I'd be happy to dig into this again and help move it forward if the maintainers are interested.

I'm closing this out; clearing lines of work with no clear path forwards resolution. If there is renewed interest in this feature, I am happy to contribute but reimplementing this in every project is not too bad.

For anyone using Tailwind CSS, if your classes are not too numerous you can emulate this feature by using the important modifier for active classes, e.g:
<router-link
  :to="{ name: 'root' }"
  active-class="!border-red-500 !text-gray-900"
  class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium"
>
  Home
</router-link>


Upgrade to Node 8

Updated so Travis runs on Node 8 and upgraded packages.

This has some failing tests at the moment. I'll update when ready.

@likangning93 this is fixed now. Ready to go once CI passes.

Changes Unknown when pulling c4b73b4ffff257f8276b538fb9c96509f483c9f2 on node-8 into ** on master**.

Changes Unknown when pulling c4b73b4ffff257f8276b538fb9c96509f483c9f2 on node-8 into ** on master**.

thanks @lilleyse!


PsMoveService for head tracking only

can i use psmoveservice to track my head only?

Yes, but it depends on your what you are using for the orientation tracking solution.
See https://github.com/cboulay/PSMoveService/wiki/Virtual-HMDs for details.
Please post future questions in the google group:
https://groups.google.com/forum/#!forum/psmoveservice


Predict method for test set.

The main Lightning module requires to define the test_dataloader function. But I'm not able to find any method that requires the test loader as input. Is there a model.predict() method to call on the test set?

thanks for bringing that up! we use different scripts for test  set, but makes sense to add a .predict function to trainer.
The proposed flow would be:
# CASE  1: train, then predict
trainer = Trainer(...)
trainer.fit(model)

# the optional prediction call  which  will use  test set
# this makes sure  the  research is 100%  sure  the test set  was  not used in training
# linking  predict to trainer means multi-gpu and cluster  support  for test set  is  free
trainer.test()

# CASE  2: test from saved model
model = CoolModel. load_from_metrics(weights_path='path/to/weights/', tags_csv='path/to/hparams.csv')
trainer=Trainer()
trainer.test(model)

Yes, they are. And I like the idea that you can define the test_step freely.
Regarding the 3rd case: it's fine, but it might happen that the way you make predictions might be different from the training phase. For instance: you have two images referring to the same object (so same label) and in that case you want to take the most confident one among the two.

@lorenzoFabbri so define another  method (optional) .predict in cases where your .forward and .predict behavior is different?
so, if no .predict is defined, the model uses .forward. otherwise .predict?

Yes, it's a possibility. But I was just wondering whether it was already available. Sometimes you just forget to put model.eval() and nothing works as expected: the less code I have to write the better :)

not yet, but will add for next release this week. just want to make sure the API and usage are intuitive.
i agree, separate test script is a PITA right now.

Otherwise, i'll look at it later this week

@lorenzoFabbri  https://gitter.im/PyTorch-Lightning/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge

I've been looking into adding a predict/test function. To have it work like case 2, I think we would need to extract all the setup that is done in fit into another function or generalize it somehow

Is anyone working on Case 1? I would like to use the functionality soon, so I can give it a try.
@williamFalcon Could you explain what you mean by

and change where the forward calls get routed to (training_step, etc...)

I don't get it :) Or does it simply mean to take care that validation_end() is not called when  test=True?

I'm not working on it at the moment.

Thanks, I am working on it!

Sure, makes sense!
I guess it would also make sense to rename validate to evaluate and pass on the flag? (at least from my current understanding of the code)

So for testing we can also have multiple test_dataloaders? In the docu it's only mentioned for the val_dataloader

Great, I agree :)

Should I create a WIP pull request or should I wait until I think I am done?

For case 2 the current output would look like this:
1it [00:00, 78.39it/s, batch_nb=0, epoch=0, gpu=0, loss=0.000, test_loss=0.0152, v_nb=0]
(I am not sure where '1it' comes from yet)
I guess it would make sense to not show batch_nb, epoch, loss?
Also v_nb (what is that by the way?)

i think the validation call takes care to not log irrelevant stuff. 1it means 1 iteration. that number changes with the number of batches.
v_nb is experiment version number.
there’s a blacklist in the code, let’s just show what doesn’t get blacklisted.
WIP PR if you want. i’ll review it once the PR is completely done with tests (and has passed tests). then i’ll do a code review at that point

I have added 3 test functions:

test_multiple_test_dataloader (analogous to test_multiple_val_dataloader)
test_multiple_test_dataloader
test_running_test_after_fitting
Where the last two are only there to check whether the code runs. I couldn't find any code that tests the functionality of the validation functions so I am not sure how to properly test the testing code. Looking forward to suggestions.

One thing that could easily be checked is whether it still runs when the model does not have a test_step but a validation_step by creating a new model.

Regarding the documentation: The structure of the Trainer documentation is not clear to me - where should I put the test() documentation? Create a new section below Validation loop in index.md?

@expectopatronum awesome PR! very key feature we were missing. Thanks for your work on this!
Merged to master

Is there any documentation on the predict functionalities implemented in the PR?

I am not sure what you mean. This PR implements test which is documented here

so this test functionality can only return metrics and is not the same as inference/predict?

any updates on a proper infernce with returning predictions?


ARTEMIS-2097 Pause and Block Producers

Added new methods to AddressControl and ServerControl to allow users
to block sending on addresses. Once blocked, any messages sending
to the blocked addresses will get rejected with an exception. The
senders can catch the corresponding exception and handle properly.
For example, keep resending or send messages to some alternative
addresses.

closing it for now, it needs more discussion.


Custom HttpClient for ManagementClient

Motivation
Currently there is no way how to customize HttpClient in ManagementClient.
Proposed solution
Allow user to customize ManagementClient's HttpClient. For inspiration you can see delivery sdk

The current workaround is to use the approach used in Kentico.Kontent.Management.Tests.Unit.Base.FileSystemFixture.


Removed env github_oten

Purpose

For reviewers

Related Github issues

Changes

Tests

Deployment Considerations
Version Notes
{ major | minor | patch }

NOTE: Include the version notes in the squash commit message

/deploy

Failed to deploy prnet

Deployed prnet successfully


crystal: 0.23.0 -> 0.23.1

Motivation for this change
Update the package to the latest version (0.23.1-3).

NOTE: Due to crystal-lang/crystal#4719, when building Crystal with LLVM 4 with debug infos from prebuilt binary (w/ LLVM 3.8) will always be failed.
The temporary solution is to build a LLVM 4 version without debug info, then use it to build Crystal with debug info on LLVM 4.
This will cause building phrase going longer than normal. But we can remove this hack after Crystal fix the issue.

Things done

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

[ ] NixOS
[x] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Does it build with llvm_39 or llvm_38 in a single pass?

@orivej No, still need twice on llvm_39

llvm_5 has been merged into master two days ago. Maybe we can try llvm_5 with llvm5 patch provided by upstream?

I think by applying the patch I mentioned above, this version of crystal can use llvm5, and this is what archlinux does currently.

This patch fixes adds support for LLVM 5 but does not fix the build:
Using /nix/store/5l8xwhsmngm9d7ama59a1f1z3s31f52y-llvm-5.0.0/bin/llvm-config [version=5.0.0]
g++ -c  -o src/llvm/ext/llvm_ext.o src/llvm/ext/llvm_ext.cc `/nix/store/5l8xwhsmngm9d7ama59a1f1z3s31f52y-llvm-5.0.0/bin/llvm-config --cxxflags`
gcc -fPIC    -c -o src/ext/sigfault.o src/ext/sigfault.c
./bin/crystal doc src/docs_main.cr
--: 1: --: git: not found
ar -rcs src/ext/libcrystal.a src/ext/sigfault.o
./bin/crystal build --release  -o .build/crystal src/compiler/crystal.cr -D without_openssl -D without_zlib
crystal: /var/cache/omnibus/src/llvm/llvm-3.8.1.src/lib/CodeGen/LexicalScopes.cpp:160: llvm::LexicalScope* llvm::LexicalScopes::getOrCreateRegularScope(const llvm::DILocalScope*): Assertion `cast<DISubprogram>(Scope)->describes(MF->getFunction())' failed.
/place/vartmp/nix-build-crystal-0.23.1-3.drv-0/crystal-0.23.1/../crystal-0.23.1-3/bin/crystal: line 102: 272951 Aborted                 "$INSTALL_DIR/embedded/bin/crystal" "$@"
make: *** [Makefile:115: .build/crystal] Error 134

The next thing I wanted to check is if the previous release of crystal could compile this release.

It works, I pushed the result to this pull request. Could you test it on macOS?

Oh, so I misunderstood the problem, what make archlinux successfully build 0.23.1 is make --no-debug, not llvm_5. (By the way, they use --no-debug for the reason other then this issue)
I did a quick testing to build crystal using old version of crystal ( https://gist.github.com/sifmelcara/c5d5b0670bf82693a5bdc9468bb16fb9 )
It builds, but the compiled binary seems to report wrong version...

It builds, but the compiled binary seems to report wrong version...

Indeed. That's ridiculous! Can you distinguish 0.23.0 from 0.23.1 not looking at the version number?

https://github.com/crystal-lang/crystal/pull/4687
I just found that crystal will try to find its version from .git directory, if there is no .git directory, it inherits the version of compiler used to compile itself.
So I guess we need to manually patch the version of compiler.


Darwin: Print the relative CPU load produced by each thread

@julianoes This allows to properly print the load of all threads. Doesn't include thread names yet.

Rebased and applied.


Security Layer

Currently Onomate requires an additional software out of process to handle authentication and authorization (IE: proxied behind nginx or Apache).  A security layer should be added to optionally offer these features in process.

Fixed by #12


Can't View Log or Execute Shell in containers

Steps:

Add a container
Try to view logs or execute shell

Results:
Error
e.doAction is not a function
Expected:
See Log, execute shell

v0.18.2
Verified fixed


Add Response Component to add to card detail wiew

When Card is shown in detail view, there are responses shown which are displayed differently from the main card.


Create Spotify Strategy

Hi!
I implemented the Spotify strategy on a personal project and wanted to share it 😄

@marcelscr hey! thanks for this, it's really great. Since v3 strategies are not going to live inside this packages anymore (old strategies are still in the repo so people can copy them) and instead they will be published in independent packages like remix-auth-oauth2 or remix-auth-github.
I suggest you to use the template repository http://github.com/sergiodxa/remix-auth-strategy-template to create a remix-auth-spotify repo, copy your code there (install remix-auth-oauth2) and publish it to npm by yourself.
Again, thanks for the work here and I hope to see a new remix-auth-spotify package soon!


Crash With New Forge: Gasses must be registered before postInit

crash-2017-12-01_14.15.13-client.txt
crash report says everythin

Duplicate of #4827


The isle Evrima requires updating

Module Request
Note: Please try setting up a configuration yourself before raising an issue to request a configuration:  ~~https://config.getamp.sh/~~
***There is a newer beta version available at https://iceofwraith.github.io/GenericConfigGen/
Game Information:
Game Title: the isle Everima
How to obtain: https://
Suppoted OSs:
Supports RCON/Console input?
updated server comands for server
main one bEnableMutations=true // Enable mutations.
Below is an updated Game.ini for Server Owners:
[/Script/TheIsle.TIGameStateBase]
AdminsSteamIDs=Admin steam ID here // SteamID64 format
WhitelistIDs=White list steam ID here // SteamID64 format. NOTE: Must be enabled in the game session below. Keep this empty if whitelist is disabled
// List of all enabled classes. Remove a line to remove a class from spawning. - Can also be managed in Admin Panel in real time.
AllowedClasses=Hypsilophodon
AllowedClasses=Pachycephalosaurus
AllowedClasses=Stegosaurus
AllowedClasses=Tenontosaurus
AllowedClasses=Carnotaurus
AllowedClasses=Ceratosaurus
AllowedClasses=Deinosuchus
AllowedClasses=Omniraptor
AllowedClasses=Pteranodon
AllowedClasses=Troodon
AllowedClasses=Beipiaosaurus
AllowedClasses=Gallimimus
AllowedClasses=Dilophosaurus
AllowedClasses=Herrerasaurus
HERE
// List of all enabled mutations and values. Keep commented out to have all mutations enabled. Enabling any mutations means you must include all mutations you would like available on your server. Listed below are all modifiable mutations with default values. Altering these values may produce unstable gameplay.

// EnabledMutations=Pit Organ, 1 ******// Value must be 1 or remove from this list to disable it.
// EnabledMutations=Cannibalistic, 1 ******// Value must be 1 or remove from this list to disable it.
// EnabledMutations=Barometric Sensitivity, 1 ******// Value must be 1 or remove from this list to disable it.
// EnabledMutations=Social Behavior, 1 *****// Value must be 1 or remove from this list to disable it.
// EnabledMutations=Traumatic Thrombosis, 1 *****// Value must be 1 or remove from this list to disable it.
// EnabledMutations=Reniculate Kidneys, 1 *****// Value must be 1 or remove from this list to disable it.
// EnabledMutations=Paratrepsis, 1 ****// Value must be 1 or remove from this list to disable it.
[/Script/TheIsle.TIGameSession]
ServerName="Server name here" // Server name.
MaxPlayerCount=100 // 100+ player servers is not recommended.
bEnableHumans=false // Set to true if you want to run around with a flashlight and kick an animal.
bQueueEnabled=true // Enable queue if server slots are all filled.
QueuePort=1000 // Queue port.
bServerPassword=false // Set to true if you want a server password.
ServerPassword="password here" // Your server password.
bRconEnabled=true // Enable RCON.
RconPassword="password here" // RCON password. Do not give this out.
bServerDynamicWeather=true // Temporarily disabled. Changing this will do nothing.
ServerDayLengthMinutes=45 // Set in minutes.
ServerNightLengthMinutes=20 // Set in minutes.
bServerWhitelist=false // Set the server whitelist. If true, will look for whitelistID's in the above category.
bEnableGlobalChat=false // Enabling the Global Chat panel.
bSpawnPlants=true // Enable plant food spawns.
bSpawnAI=true // Enable AI spawns.
AISpawnInterval=40 // Set how frequently AI can spawn in seconds.
bEnableMigration=true // Enable patrol zones, species migrations, and mass migrations.
MaxMigrationTime=5400 // Value is in seconds. This controls how long the migration zones should last.
GrowthMultiplier=1 - Universal multiplier for growth. Putting this number too high will break it. Recommendation is no higher than 20, even for lulz.
bEnableMutations=true // Enable mutations.
// Add the names of each AI class that should be disabled, one line for each.
// DisallowedAIClasses=Compsognathus
// DisallowedAIClasses=Pterodactylus
// DisallowedAIClasses=Boar
// DisallowedAIClasses=Deer
// DisallowedAIClasses=Goat
// DisallowedAIClasses=Seaturtle
I confirm:

[x] that I have searched for an existing module request for this application.
[x] that the server is an official server distributed by the games publishers/developers.
[x] that the server is available to the general public.
[x] that the server can be run headless (without a GUI).
[x] I have already attempted to create a configuration myself using the configuration tool
[x] that my checkboxes above look like the one on the left (remove this line when done)

also a slight bug the game is not fully starting in web console

#927


(chore) - remove closure-compiler

Fixes: https://github.com/FormidableLabs/urql/issues/1552
Summary
The current rollup plugin isn't really maintained and we were seeing frequent issues with metro and bundles compiled by closure
Set of changes

remove rollup-plugin-closure-compiler

Removing Closure Compiler (and Babel Plugin Closure Elimination) in this PR. Added a transformation to clean up arrow functions. Instead of having a lot of function expressions, a lot of those are now converted to function declarations which leads to a net negative bundle size on average


URL encode identity identifier

Should fix #189.
Note that I have been unable to test due to inability to run the FE on ARM infrastructure.

@kyle-ssg I wonder if there's a better way of doing this so that you don't have to decode each time but this works for now. Perhaps doing the decoding in the constructor would be better?


Can't update user with no compary

In examples/test_users.py, we grab the user via self.client.user.get().  We then proceed to update the user:
        updated = self.client.user.update(
            firstName=user.firstName,
            lastName=user.lastName,
            company=user.company
        )

In my case, however, user.company is None, and the update fails with the following exception:
Traceback (most recent call last):
  File "test_users.py", line 219, in test_mono_example
    company=user.company
  File "/home/ndavis/devel/textmagic-rest-python/python/lib/python2.7/site-packages/textmagic-2.0.3-py2.7.egg/textmagic/rest/models/user.py", line 74, in update
    response, instance = self.request("PUT", self.uri, data=kwargs)
  File "/home/ndavis/devel/textmagic-rest-python/python/lib/python2.7/site-packages/textmagic-2.0.3-py2.7.egg/textmagic/rest/models/base.py", line 156, in request
    response = make_tm_request(method, uri, auth=self.auth, **kwargs)
  File "/home/ndavis/devel/textmagic-rest-python/python/lib/python2.7/site-packages/textmagic-2.0.3-py2.7.egg/textmagic/rest/models/base.py", line 121, in make_tm_request
    response = make_request(method, uri, **kwargs)
  File "/home/ndavis/devel/textmagic-rest-python/python/lib/python2.7/site-packages/textmagic-2.0.3-py2.7.egg/textmagic/rest/models/base.py", line 81, in make_request
    raise ValueError('data should be an integer, '
ValueError: data should be an integer, binary, or string, or sequence

If I comment the company=user.company line above, the request is sent to the server, but fails to validate:
ERROR: test_mono_example (__main__.TestUsers)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_users.py", line 218, in test_mono_example
    lastName=user.lastName#,
  File "/home/ndavis/devel/textmagic-rest-python/python/lib/python2.7/site-packages/textmagic-2.0.3-py2.7.egg/textmagic/rest/models/user.py", line 74, in update
    response, instance = self.request("PUT", self.uri, data=kwargs)
  File "/home/ndavis/devel/textmagic-rest-python/python/lib/python2.7/site-packages/textmagic-2.0.3-py2.7.egg/textmagic/rest/models/base.py", line 156, in request
    response = make_tm_request(method, uri, auth=self.auth, **kwargs)
  File "/home/ndavis/devel/textmagic-rest-python/python/lib/python2.7/site-packages/textmagic-2.0.3-py2.7.egg/textmagic/rest/models/base.py", line 133, in make_tm_request
    msg=message, errors=errors)
TextmagicRestException:
HTTP Error 400
Your request was:

PUT https://rest.textmagic.com/api/v2/user

Validation Failed

{u'fields': {u'company': [u'Please enter a valid company name.']}}

You need to fill the 'Company' field in Account Details > Billing Details in your TextMagic Account to be able to update Users details using API. This field refers to Billing Details field. We recommend not to leave it blank.


Update fluentd base Dockerfile

Setting fluent-plugin-opensearch to v1.1.0. Version v1.1.1 is broken.

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #814
Does this PR introduced a user-facing change?

Additional documentation, usage docs, etc.:

We can regularly upgrade the plugin version to a stable version.

@kaiohenricunha Thank you!


[WIP] V10x/V20x/V30x support

ch32v003fun.h and ch32v003fun.c now have support for the other chips,
but everything is basically untested except for a blink sketch.
A blink example can be found in examples_v20x etc.
You can check the branch out and test it on your own hardware, let me know if you find errors or better solutions. 👍
There are also some changes to minichlink in here but they are not completely ready yet.

:)


Add perplexity to metrics

Adding perplexity metric
This code differs from the code in this HF blog post because the blogpost code fails in at least the following circumstances:

returns nans whenever the stride = 1
hits a runtime error when the stride is significantly larger than the max model length (e.g. if max_model_length = 512 and stride = 1024)

Note that:

As it is, it only works for causal models. Pseudoperplexity can be added later as another metric to work with masked language models.
It takes in a list of strings so that it can be dataset independent. This does mean that it doesn't currently batch inputs, and is therefore relatively slow.
It overwrites the metrics compute() function for a specific perplexity compute() function. This is because the current general metrics compute() function requires model-generated predictions, which doesn't make sense in the context of perplexity

Awesome thank you ! The implementation of the parent Metric class was assuming that all metrics were supposed to have references/predictions pairs - I just changed that so you don't have to override compute(). I took the liberty of doing the changes directly inside this PR to make sure it works as expected with perplexity.
Other than that it looks all good :) I just did minor changes like remove a remaining print as well as fixing the Features defined in _info(). I also renamed input_text to input_texts since it makes it more obvious that it's a list of strings - let me know if it sounds good to you.
Let me know if you'd like to make other changes or if it's all good for you !

The test with the full test set seems to take too much time in the CI - maybe we can just select split="test[:few_examples]"


Docker 1.5.0 package must require proper device-mapper version

Hi fellas,
I've tried to install docker 1.5.0-28.el7.centos on my Centos7 machine but it's don't work.
error is:
/usr/bin/docker: relocation error: /usr/bin/docker: symbol dm_task_get_info_with_deferred_remove, version Base not defined in file libdevmapper.so.1.02 with link time reference
So the problem is that docker 1.5.0-28.el7.centos require newer version of device-mapper than I have but package it self does not require any other, which is wrong. I understand that this problem isn't for docker devs but I don't know where I should register such.
In the irc @cpuguy83  recommended to ping there @lsm5
NOTE: It works well after update device-mapper to 7:1.02.93-3.el7

Docker 1.5.0-28.el7.centos is a 7.1.1503 update, which requires/expects that you have fully updated to 7.1.1503. If you're doing selective updates, you will run into issues like this.

in theory a 'yum update' should resolve what you're seeing.

what @jperrin said :) , this happened on my machine too, and a yum update fixed this

This is a packaging bug from RH. The new docker package should require the correct version of device mapper in it's package dependencies.

like what @jperrin said, I'd guess people would do a full system update whenever a major update goes out and things would just work, but ya, this sure is a packaging bug considering selective updates. Thanks for reporting.
also, may I interest you in 2 other docker rpms with quicker releases compared to the RHEL recompiled variant? See this page for details: http://wiki.centos.org/Cloud/Docker . Add the repository mentioned in there and then you'll see the docker (upstream release) and docker-master (daily upstream master branch rebuild) packages. These (probably) won't have any of the RH features/patches that are available in the RHEL-recompiled build, so there's that.

@robbyt Correct, I didn't install any updates, I've just installed docker 1.5.0 and docker package must require correct version of all deps.

Here is the RH bug for this issue
https://bugzilla.redhat.com/show_bug.cgi?id=1207839

ahh, i see this was already reported. Sorry about the memory lapse. This will get fixed in the next update

yum install device-mapper-devel fixed this for me.

Could you please tell me your recipe to solve the problem? Unfortunately I read the thread after I  upgraded the docker package.
The current packages are:
docker-1.5.0-28.el7.centos.x86_64
device-mapper-event-libs-1.02.93-3.el7.x86_64
device-mapper-1.02.93-3.el7.x86_64
device-mapper-devel-1.02.93-3.el7.x86_64
device-mapper-libs-1.02.93-3.el7.x86_64
But I have:
systemctl enable docker.service
Failed to issue method call: Access denied
systemctl status docker.service
docker.service
Loaded: not-found (Reason: No such file or directory)
Active: failed (Result: exit-code) since Thu 2015-05-07 08:23:58 UTC; 1h 35min ago
Main PID: 18796 (code=exited, status=127)
May 07 08:23:58 docker docker[18796]: time="2015-05-07T08:23:58Z" level="info" msg="+job serveapi(unix:...ock)"
May 07 08:23:58 docker docker[18796]: /usr/bin/docker: relocation error: /usr/bin/docker: symbol dm_tas...rence
May 07 08:23:58 docker systemd[1]: docker.service: main process exited, code=exited, status=127/n/a
May 07 08:23:58 docker systemd[1]: Failed to start Docker Application Container Engine.
May 07 08:23:58 docker systemd[1]: Unit docker.service entered failed state.
May 07 08:50:14 docker systemd[1]: Stopped Docker Application Container Engine.
May 07 08:50:50 docker systemd[1]: Stopped docker.service.
May 07 09:11:43 docker systemd[1]: Stopped docker.service.
May 07 09:30:45 docker systemd[1]: Stopped docker.service.
Hint: Some lines were ellipsized, use -l to show in full.
Have you only upgrade device-mapper to the newest version? Which yum repos have you specified to get the right packages?

I have just solved the problem by installing the packages device-mapper-event device-mapper-event-devel.
After that:
systemctl enable docker.service
ln -s '/usr/lib/systemd/system/docker.service' '/etc/systemd/system/multi-user.target.wants/docker.service'
systemctl status docker.service
docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled)
Active: failed (Result: exit-code) since Thu 2015-05-07 08:23:58 UTC; 1h 58min ago
Docs: http://docs.docker.com
Main PID: 18796 (code=exited, status=127)
May 07 08:23:58 docker docker[18796]: time="2015-05-07T08:23:58Z" level="info" msg="+job serveapi(unix:...ock)"
May 07 08:23:58 docker docker[18796]: /usr/bin/docker: relocation error: /usr/bin/docker: symbol dm_tas...rence
May 07 08:23:58 docker systemd[1]: docker.service: main process exited, code=exited, status=127/n/a
May 07 08:23:58 docker systemd[1]: Failed to start Docker Application Container Engine.
May 07 08:23:58 docker systemd[1]: Unit docker.service entered failed state.
May 07 08:50:14 docker systemd[1]: Stopped Docker Application Container Engine.
May 07 08:50:50 docker systemd[1]: Stopped docker.service.
May 07 09:11:43 docker systemd[1]: Stopped docker.service.
May 07 09:30:45 docker systemd[1]: Stopped docker.service.
Hint: Some lines were ellipsized, use -l to show in full.
systemctl start docker.service

this can be closed, it is fixed in 1.6.0-11.0.1.el7.centos
more info:
http://pastebin.com/raw.php?i=FTNfhTMy

@tmm1, thx it helped me
yum install device-mapper-devel
CentOS 7
docker --version
Docker version 1.7.1, build 786b29d
sudo systemctl start docker
sudo systemctl status docker
docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled)
Active: failed (Result: exit-code) since Вс 2015-08-02 23:47:50 MSK; 2s ago
Docs: https://docs.docker.com
Process: 5324 ExecStart=/usr/bin/docker -d -H fd:// (code=exited, status=127)
Main PID: 5324 (code=exited, status=127)
авг 02 23:47:50 violin systemd[1]: Started Docker Application Container Engine.
авг 02 23:47:50 violin docker[5324]: /usr/bin/docker: relocation error: /usr/bin...ce
авг 02 23:47:50 violin systemd[1]: docker.service: main process exited, code=exi.../a
авг 02 23:47:50 violin systemd[1]: Unit docker.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
sudo systemctl status docker -l
docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled)
Active: failed (Result: exit-code) since Вс 2015-08-02 23:47:50 MSK; 36s ago
Docs: https://docs.docker.com
Process: 5324 ExecStart=/usr/bin/docker -d -H fd:// (code=exited, status=127)
Main PID: 5324 (code=exited, status=127)
авг 02 23:47:50 violin systemd[1]: Started Docker Application Container Engine.
авг 02 23:47:50 violin docker[5324]: /usr/bin/docker: relocation error: /usr/bin/docker: symbol dm_task_get_info_with_deferred_remove, version Base not defined in file libdevmapper.so.1.02 with link time reference
авг 02 23:47:50 violin systemd[1]: docker.service: main process exited, code=exited, status=127/n/a
авг 02 23:47:50 violin systemd[1]: Unit docker.service entered failed state.

I am running on centos 7 after running yum update, and using docker 1.7.1. I see the same details as @vvkuznetsov when trying to start docker and it is not working. @vvkuznetsov is yours actually working? It looks like it is failing...

Docker 1.7.1 works on CentOS 7 (  3.10.0-229.el7.x86_64) . However on  Red Hat (3.10.0-123.el7.x86_64 ), it failes with the same detail as @vvkuznetsov

Docker version 1.7.1, build 786b29d
CentOS Linux release 7.0.1406 (Core) (3.10.0-123.20.1.el7.x86_64)
The above doesn't work for me and gives same errors as @vvkuznetsov

@shubham-sakuja-mt  Did you  upgrade the device-mapper-event package of your CentOS 7.
The dm_task_get_info_with_deferred_remove is NOT IN   the  libdevmapper.so.1.02 of the  device-mapper-event version  1.02.84  ( my Red Hat) but it is IN the device-mapper-event version 10 1.02.93 (Cent OS).

I tried, however the latest available version through yum is the former:
[root@ftp-sim ~] 3# yum install device-mapper-event
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package 7:device-mapper-event-1.02.84-14.el7.x86_64 already installed and latest version
Nothing to do

Ok I found and installed the below packages to upgrade to 1.02.93 and all is working well!
for rpm in $(echo 'ftp://rpmfind.net/linux/centos/7.1.1503/updates/x86_64/Packages/device-mapper-libs-1.02.93-3.el7_1.1.x86_64.rpm' 'ftp://rpmfind.net/linux/centos/7.1.1503/updates/x86_64/Packages/device-mapper-1.02.93-3.el7_1.1.x86_64.rpm' 'ftp://rpmfind.net/linux/centos/7.1.1503/updates/x86_64/Packages/device-mapper-event-1.02.93-3.el7_1.1.x86_64.rpm'
)
do
wget $rpm
rpm --nodeps --force -Uvh $rpm
done

using --nodeps and --force is nearly always how you break things. A simple 'yum update' to ensure you're running the latest version is all that's needed.

@jperrin as i explained, that didn't work as it would just install 1.02.84, which was obv not what was needed...

Then  you've somehow configured the system to not get updates. That's the problem to fix. Ignoring dependencies with --nodeps and --force WILL lead to breakage and tears. 1.02.84 is from 7.0, You've pulled the new packages from 7.1 with none of the required updates that go along with them, because you've somehow stuck yourself to 7.0.

@shubham-sakhuja-mt yes, after installing device-mapper-event I have no problems.
P.S. It was not a fresh installation. I uninstall docker 1.6.(2?) and then installed 1.7.1.

yum install lvm2 works for me in centOS7 instead of yum update :)

Thanks @shubham-sakhuja-mt and @jperrin . But the links above are broken. Is there any way for CentOS 7.0 to upgrade device-mapper-libs-1.02.84?

@tmm1 works for me


multiple components with cabal-install <IP_ADDRESS>

What happened?
carrying on from https://github.com/MercuryTechnologies/ghciwatch/issues/308 - cabal-install <IP_ADDRESS> is out now, and the multiple component repl seems to work. unfortunately, ghciwatch crashes:
ghciwatch --command "cabal repl --enable-multi-repl mylib mylib:mylib-test" --watch src --watch test  --test-ghci main

...ghci loading elided...

Ok, 13 modules loaded.
Error:   × Tasks failed:
  │ • run_ghci: Failed to parse `:show targets` output

running cabal repl --enable-multi-repl mylib mylib:mylib-test and running :show targets, it shows my library modules and my test modules, but also 'test/Main.hs' in the list, so perhaps not surprising ghciwatch crashes if it's expecting a module name.
What did you expect to happen?
expected ghciwatch to load and run my tests.
Steps to reproduce the issue
i think you can replicate this with any library with a test component.
The version of ghciwatch with the bug
ghciwatch 1.0.1

playing around with it a bit, even if i manually filter test/Main.hs, it still chokes on my test module, which makes sense given that the test source folder isn't in the search_paths at that point.

(if i'm totally off-base here and there's a good workaround for having ghciwatch reload both tests and code that doesn't require multi-components, please let me know!)

ah, so the current hack in https://github.com/MercuryTechnologies/ghciwatch/tree/main/tests/data/simple is to just have a single component that pulls in everything? ok, that makes sense.

This shouldn't crash, I'd like to support multiple components.

Seems like the problem here is that :show paths gives only the paths for a single component and not all of the components so targets from other components can't be found.
Dunno if there is another way of finding the component paths to hack around this?

@eddiemundo Would you paste some example output? It'll help when I have time to look into this.

cabal repl --enable-multi-repl component-a component-b component-c
ghci> :show paths
current working directory:
  /home/jon/projects/my-project
module import search paths:
  src
  /home/jon/projects/my-project/dist-newstyle/build/x86_64-linux/ghc-9.6.6/my-project-<IP_ADDRESS>/opt/build
  /home/jon/projects/my-project/dist-newstyle/build/x86_64-linux/ghc-9.6.6/my-project-<IP_ADDRESS>/opt/build/autogen
  /home/jon/projects/my-project/dist-newstyle/build/x86_64-linux/ghc-9.6.6/my-project-<IP_ADDRESS>/opt/build/global-autogen

cabal repl --enable-multi-repl component-b component-c
ghci> :show paths
current working directory:
  /home/jon/projects/my-project
module import search paths:
  modules/component-b/src
  /home/jon/projects/my-project/dist-newstyle/build/x86_64-linux/ghc-9.6.6/my-project-<IP_ADDRESS>/l/component-b/opt/build/component-b
  /home/jon/projects/my-project/dist-newstyle/build/x86_64-linux/ghc-9.6.6/my-project-<IP_ADDRESS>/l/component-b/opt/build/component-b/autogen
  /home/jon/projects/my-project/dist-newstyle/build/x86_64-linux/ghc-9.6.6/my-project-<IP_ADDRESS>/l/component-b/opt/build/global-autogen

So seems like when using cabal repl --enable-multi-repl :show paths only returns the module search paths for the first component listed, and so ghciwatch can't find targets of the non-first components because it only searches through the first component's search paths. There may be other problems afterwards, but this is the source of the crash I'm pretty sure.

I'd love to see this! I'm finding multi-component support in GHCID to be broken, with file changes often not picked up. And I'd rather just switch to this project than debug that one.

@georgefst Unless we can find a way to query GHCi for all the search paths, I'm not sure this is fixable. This might need a patch to GHC or Cabal (not sure which one) before it's usable with either ghcid or ghciwatch.

This might need a patch to GHC or Cabal (not sure which one) before it's usable with either ghcid or ghciwatch.

I haven't looked in to how it works (or why it doesn't for me), but it's been stated here and here that it already works with GHCID.

@georgefst Ahh, good point, I wasn't thinking carefully. I suspect that the reason it works with ghcid is that ghcid takes the naïve approach of waiting for files to change and issuing a :reload when they do. ghciwatch is much more careful and actually tracks which files are loaded and what modules they correspond to, so it needs to know all the search paths.


Ensure the back link works in all scenarios

There are cases where the back link doesn't behave as a user might
expect.
eg. when a form renders a validation message like a field is blank, then
the back link currently goes back to the same page but without the
error.
This is strange from a user's point of view.
Instead, we want the back link to return to the last unique page the
user was on.
I've opted to use Javascript to approximate this. The implicit
assumption here is that when the referer for a request is the same, we
assume that we need to go back 2 pages in the browser history.
This doesn't work if the form has failed validation multiple times.
For this iteration, I decided that this will handle more of the error
cases than we currently are, without having to use a session variable to
store the page of origin.
Checklist

[ ] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

Closing in favor of https://github.com/DFE-Digital/find-a-lost-trn/pull/104


python312Packages.teslajsonpy: 3.10.3 -> 3.11.0

Diff: https://github.com/zabuldon/teslajsonpy/compare/refs/tags/v3.10.3...v3.11.0
Changelog: https://github.com/zabuldon/teslajsonpy/releases/tag/v3.11.0
Description of changes

Things done

Built on platform(s)

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 314757 run on x86_64-linux 1

4 packages built:

python311Packages.teslajsonpy
python311Packages.teslajsonpy.dist
python312Packages.teslajsonpy
python312Packages.teslajsonpy.dist


SSH winget error

winget command through SSH give me this error:
$ ssh<EMAIL_ADDRESS>PS C:\Users\user> winget
Program 'winget.exe' failed to run: The file cannot be accessed by the systemAt line:1 char:1
+ winget
+ ~~~~~~.
At line:1 char:1
+ winget
+ ~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
    + FullyQualifiedErrorId : NativeCommandFailed

Winget information:
Windows Package Manager v0.2.2521 Preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19041.508
Package: Microsoft.DesktopAppInstaller v1.11.2521.0

Duplicate of #513
/cc @denelon

Duplicate of #513


Deployment tests for VLAN networks need to be rewritten

With the fix introduced in #882, the vlan deployment tests (tests/deployment/vlan_networks.py) fail for Dell NOS9 based switches. We need to rewrite the deployment tests so that they work with both kind of switches.
(Whoever takes this should, ideally, run the tests on every switch we support).

If we're no longer expecting every switch to work the same way, then it isn't necessarily valid to assume that all of the deployment tests should work for all of the switches. We should either generalize these or write some tests that work with the nos9 switches, but it may make sense to have some conditional logic to skip certain tests based on the hardware available.

write some tests that work with the nos9 switches

Right, I did add some unit tests specifically for the nos9 switches.
But I still want to be able to test the regular functionality that the vlan deployment tests were testing. I guess I could put some checks there (if type == dellnos9 then do certain things) and tweak the tests a little.

Maybe instead of if type == dellnos9 we should be querying switch caps when we have those.

#895 closes this


Change default location of WebView2 folder on Windows

Problem
Dioxus desktop currently creates a <application name>.exe.WebView2 upon startup.
(e.g. https://github.com/DioxusLabs/dioxus/issues/966 )
However, it creates that folder right next to the .exe file, which is unusual. This becomes worse when one places it in a usually somewhat restricted folder, like a C:\Program Files folder.
When working in a multi-user setup (rare, but it happens in companies or schools), then this becomes even more important. Then, it's important to separate executables from user data. One doesn't want to accidentally leak the private data of one user to another user on the same PC.
Steps To Reproduce
Steps to reproduce the behavior:

Compile a Dioxus application for a Windows desktop
Start it

Expected behavior
I would have expected Dioxus desktop to automatically pick an appropriate folder, either AppData/Roaming or AppData/Local.

(Damn, that's arguably an upstream issue. Feel free to open issues in upstream libraries, because I really do believe that this could be problematic. For example, Tauri really enjoys this whole security aspect. Kinda sucks if they ever were to accidentally leak info from one user to another through this vector.)

Having the same issue here. Since I currently create an installer with Dioxus this is really unfortunate since this folder will be created on the users Desktop...

I'll take a look at this for 0.6 release. In our bundler we might be able to configure the directory where the webview2 data gets dropped based on how we manage the bootstrap installer. But I agree, it should be Tauri's purview and there's probably an issue for this somewhere in Tauri.


make required directories if not existing

torrent and logs directories are required but not created nor in the README

Thanks to make me aware of this, I will better use .gitkeep special files to store these folders.

Resolved with commit 21f94569fb428b192c3f87ccb31927825793e6b6. .gitkeep logic added to store folder structure.


added space between text and image in about.html

Fixed issue: #124
Here what I changed in this PR:-
I added an appropriate space from top side of image to maintain an equal space between text and image in about page. Now You can compare both the screenshots, before the changes and after the changes.
Screenshot(before my work):

Screenshot(after my work):

As you can see, in the above screenshot that about page is looking more beautiful than previous.
@thevirengarg kindly review my work and merge this PR.

@vishal02527 This pull request can't even qualify to get level1 tag under GSSoC'24. I can merge it, but it will be considered just a open source contribution and you won't get any points.


Chained environment with FMS legacy I/O turned off

Is your feature request related to a problem? Please describe.
This came up in the Oct 18 UFS code managers meeting. We should build a stripped-down environment (can be chained from spack-stack-1.8.0, or 1.9.0 later) without the FMS legacy I/O options enabled. The reason we enable those legacy I/O options (which are off by default) is that JEDI doesn't use the new FMS2 I/O yet. The legacy FMS I/O will be removed entirely in 2025, therefore it's time to test this and update JEDI!
Describe the solution you'd like
See above
Additional context
None

Tagging @srherbener @fmahebert for your awareness

@dusanjovic-noaa FYI


How to use source map?

My deployed file is obfuscated,
So it's kinda mess in logrocket
How to use source map?
https://docs.logrocket.com/docs/stacktraces

sure, that's what I want, not loading it to the web.
Only upload it through the cli.
I thought it could upload automatic when generating builds, something like fastlane does for mobile applications

sure, that's what I want, not loading it to the web.
Only upload it through the cli.
I thought it could upload automatic when generating builds, something like fastlane does for mobile applications


Conflicting _FillValue and missing_value on write

What happened?
see also #7191
If missing_value and _FillValue is an attribute of a DataArray it can't be written out to file if these two contradict:
ValueError: Variable 'test' has conflicting _FillValue (nan) and missing_value (1.0). Cannot encode data.

This happens, if missing_value is an attribute of a specific netCDF Dataset of an existing file. On read the missing_value will be masked with np.nan on the data and it will be preserved within encoding. On write, _FillValue will be added as attribute by xarray (if not available, at least for floating point types), too. So far so good.
The error first manifests if you read back this file and try to write it again. There is no warning on the second read, that the two _FillValue and missing_value are differing. Only on the second write.
What did you expect to happen?
The file should be written on the second roundtrip.
There are at least two solutions to this:

Mask missing_value on read and purge missing_value completely in favor of _FillValue.
Do not handle missing_value at all, but let the user take action.

Minimal Complete Verifiable Example
import numpy as np
import netCDF4 as nc
import xarray as xr

with nc.Dataset("test-no-fillval-01.nc", mode="w") as ds:
    x = ds.createDimension("x", 4)
    test = ds.createVariable("test", "f4", ("x",), fill_value=None)
    test.missing_value = 1.
    test.valid_min = 2.
    test.valid_max = 10.
    test[:] = np.array([0.0, np.nan, 1.0, 8.0], dtype="f4")
with nc.Dataset("test-no-fillval-01.nc") as ds:
    print(ds["test"])
    print(ds["test"][:])

with xr.open_dataset("test-no-fillval-01.nc").load() as roundtrip:
    print(roundtrip)
    print(roundtrip["test"].attrs)
    print(roundtrip["test"].encoding)
    roundtrip.to_netcdf("test-no-fillval-02.nc")

with xr.open_dataset("test-no-fillval-02.nc").load() as roundtrip:
    print(roundtrip)
    print(roundtrip["test"].attrs)
    print(roundtrip["test"].encoding)
    roundtrip.to_netcdf("test-no-fillval-03.nc")

MVCE confirmation

[X] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
[X] Complete example — the example is self-contained, including all data and the text of any traceback.
[X] Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
[X] New issue — a search of GitHub Issues suggests this is not a duplicate.

Relevant log output
<class 'netCDF4._netCDF4.Variable'>
float32 test(x)
    missing_value: 1.0
    valid_min: 2.0
    valid_max: 10.0
unlimited dimensions:
current shape = (4,)
filling on, default _FillValue of 9.969209968386869e+36 used

<xarray.Dataset>
Dimensions:  (x: 4)
Dimensions without coordinates: x
Data variables:
    test     (x) float32 0.0 nan nan 8.0
{'valid_min': 2.0, 'valid_max': 10.0}
{'zlib': False, 'szip': False, 'zstd': False, 'bzip2': False, 'blosc': False, 'shuffle': False, 'complevel': 0, 'fletcher32': False, 'contiguous': True, 'chunksizes': None, 'source': 'test-no-fillval-01.nc', 'original_shape': (4,), 'dtype': dtype('float32'), 'missing_value': 1.0}

<xarray.Dataset>
Dimensions:  (x: 4)
Dimensions without coordinates: x
Data variables:
    test     (x) float32 0.0 nan nan 8.0
{'valid_min': 2.0, 'valid_max': 10.0}
{'zlib': False, 'szip': False, 'zstd': False, 'bzip2': False, 'blosc': False, 'shuffle': False, 'complevel': 0, 'fletcher32': False, 'contiguous': True, 'chunksizes': None, 'source': 'test-no-fillval-02.nc', 'original_shape': (4,), 'dtype': dtype('float32'), 'missing_value': 1.0, '_FillValue': nan}

File /home/kai/miniconda/envs/xarray_311/lib/python3.11/site-packages/xarray/coding/variables.py:167, in CFMaskCoder.encode(self, variable, name)
    160 mv = encoding.get("missing_value")
    162 if (
    163     fv is not None
    164     and mv is not None
    165     and not duck_array_ops.allclose_or_equiv(fv, mv)
    166 ):
--> 167     raise ValueError(
    168         f"Variable {name!r} has conflicting _FillValue ({fv}) and missing_value ({mv}). Cannot encode data."
    169     )
    171 if fv is not None:
    172     # Ensure _FillValue is cast to same dtype as data's
    173     encoding["_FillValue"] = dtype.type(fv)

ValueError: Variable 'test' has conflicting _FillValue (nan) and missing_value (1.0). Cannot encode data.

Anything else we need to know?
The adding of _FillValue on write happens here:
https://github.com/pydata/xarray/blob/d4db16699f30ad1dc3e6861601247abf4ac96567/xarray/conventions.py#L300
https://github.com/pydata/xarray/blob/d4db16699f30ad1dc3e6861601247abf4ac96567/xarray/conventions.py#L144-L152
Environment

INSTALLED VERSIONS
------------------
commit: None
python: 3.11.0 | packaged by conda-forge | (main, Jan 14 2023, 12:27:40) [GCC 11.3.0]
python-bits: 64
OS: Linux
OS-release: 5.14.21-150400.24.55-default
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: de_DE.UTF-8
LOCALE: ('de_DE', 'UTF-8')
libhdf5: 1.14.0
libnetcdf: 4.9.2
xarray: 2023.3.0
pandas: 1.5.3
numpy: 1.24.2
scipy: 1.10.1
netCDF4: 1.6.3
pydap: None
h5netcdf: 1.1.0
h5py: 3.8.0
Nio: None
zarr: 2.14.2
cftime: 1.6.2
nc_time_axis: None
PseudoNetCDF: None
rasterio: None
cfgrib: None
iris: None
bottleneck: None
dask: 2023.3.1
distributed: 2023.3.1
matplotlib: None
cartopy: None
seaborn: None
numbagg: None
fsspec: 2023.3.0
cupy: 11.6.0
pint: 0.20.1
sparse: None
flox: None
numpy_groupies: None
setuptools: 67.6.0
pip: 23.0.1
conda: None
pytest: 7.2.2
mypy: None
IPython: 8.11.0
sphinx: None

how about not adding _FillValue when missing_value is present? Is that a good idea? Is it standards compliant?

The recommendation is to use _FillValue if there is only one value describing missing/fillvalue.
https://cfconventions.org/Data/cf-conventions/cf-conventions-1.10/cf-conventions.html#missing-data
It's also written that missing_value is

This attribute is not treated in any special way by the library or conforming generic applications, but is often useful documentation and may be used by specific applications.

https://docs.unidata.ucar.edu/netcdf-c/current/attribute_conventions.html
Not sure, if xarray is a conforming generic application or a specific application.


Rename ResourceNotFound property in LocalizedString

One of the comments in this PR - https://github.com/aspnet/Mvc/pull/2701 was that ResourceNotFound name is confusing and negative naming should we avoided. LocalizedHtmlString class in MVC localization follows the same pattern. We should re-name both properties to something more appropriate

Comments also suggested the property may not be necessary at all. In a similar vein, should revisit whether LocalizedString.Key and LocalizedHtmlString.Key are needed.

Going to keep this the way it is.


Update name to clarify difference with the integration

Hopefully this is the place make the name change!

It also needs to be adjusted in the add-on config (for all 3 addons)
https://github.com/music-assistant/home-assistant-addon/blob/main/music_assistant/config.yaml


Fix to issue #473

Fixes issue #473. When the renderTab() function's "name" parameter is "undefined", it generates the same key ("undefined") for each <Button ../> component (inside the renderTab function) thus returning "Each child in an array or iterator should have a unique "key" prop." Error. This fixes that generating a key by index.

Why no merged this pr?


I'm

[x] I have marked all applicable categories:

[x] exception-raising bug
[x] RL algorithm bug
[ ] system worker bug
[ ] system utils bug
[ ] code design/refactor
[ ] documentation request
[ ] new feature request

[ ] I have visited the readme and doc
[ ] I have searched through the issue tracker and pr tracker
[ ] I have mentioned version numbers, operating system and environment, where applicable:import ding, torch, sys
print(ding.__version__, torch.__version__, sys.version, sys.platform)

What is your issue about DI-engine?

What is your issue about DI-engine?

Sorry no issues. Still new at this.


Building kubecost fails due to go1.16 being used in go.mod

I am trying to package kubectl-cost for openSUSE, but the build fails (with go1.22):
[    5s] + go build -mod=vendor -buildmode=pie -o bin/kubectl-cost ./cmd/kubectl-cost
[    6s] # golang.org/x/exp/constraints
[    6s] vendor/golang.org/x/exp/constraints/constraints.go:13:2: embedding interface element ~int | ~int8 | ~int16 | ~int32 | ~int64 requires go1.18 or later (-lang was set to go1.16; check go.mod)
[    6s] vendor/golang.org/x/exp/constraints/constraints.go:20:2: embedding interface element ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr requires go1.18 or later (-lang was set to go1.16; check go.mod)
[    6s] vendor/golang.org/x/exp/constraints/constraints.go:27:2: embedding interface element Signed | Unsigned requires go1.18 or later (-lang was set to go1.16; check go.mod)
[    6s] vendor/golang.org/x/exp/constraints/constraints.go:34:2: embedding interface element ~float32 | ~float64 requires go1.18 or later (-lang was set to go1.16; check go.mod)
[    6s] vendor/golang.org/x/exp/constraints/constraints.go:41:2: embedding interface element ~complex64 | ~complex128 requires go1.18 or later (-lang was set to go1.16; check go.mod)
[    6s] vendor/golang.org/x/exp/constraints/constraints.go:49:2: embedding interface element Integer | Float | ~string requires go1.18 or later (-lang was set to go1.16; check go.mod)
[    9s] # github.com/opencost/opencost/pkg/collections
[    9s] vendor/github.com/opencost/opencost/pkg/collections/blockingqueue.go:13:20: type parameter requires go1.18 or later (-lang was set to go1.16; check go.mod)
[    9s] vendor/github.com/opencost/opencost/pkg/collections/blockingqueue.go:13:22: predeclared any requires go1.18 or later (-lang was set to go1.16; check go.mod)
[    9s] vendor/github.com/opencost/opencost/pkg/collections/blockingqueue.go:39:25: type parameter requires go1.18 or later (-lang was set to go1.16; check go.mod)
[    9s] vendor/github.com/opencost/opencost/pkg/collections/blockingqueue.go:39:27: predeclared any requires go1.18 or later (-lang was set to go1.16; check go.mod)
[    9s] vendor/github.com/opencost/opencost/pkg/collections/blockingqueue.go:46:23: type parameter requires go1.18 or later (-lang was set to go1.16; check go.mod)
[    9s] vendor/github.com/opencost/opencost/pkg/collections/blockingqueue.go:46:25: predeclared any requires go1.18 or later (-lang was set to go1.16; check go.mod)
[    9s] vendor/github.com/opencost/opencost/pkg/collections/blockingqueue.go:46:32: type instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod)
[    9s] vendor/github.com/opencost/opencost/pkg/collections/blockingqueue.go:57:10: type instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod)
[    9s] vendor/github.com/opencost/opencost/pkg/collections/blockingqueue.go:66:10: type instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod)
[    9s] vendor/github.com/opencost/opencost/pkg/collections/blockingqueue.go:139:19: type parameter requires go1.18 or later (-lang was set to go1.16; check go.mod)
[    9s] vendor/github.com/opencost/opencost/pkg/collections/blockingqueue.go:66:10: too many errors
[   12s] # golang.org/x/sys/unix
[   12s] vendor/golang.org/x/sys/unix/mremap.go:42:10: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
[   12s] vendor/golang.org/x/sys/unix/syscall.go:83:16: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
[   12s] vendor/golang.org/x/sys/unix/syscall_linux.go:1009:20: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
[   12s] vendor/golang.org/x/sys/unix/syscall_linux.go:2289:9: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
[   12s] vendor/golang.org/x/sys/unix/syscall_unix.go:118:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
[   12s] vendor/golang.org/x/sys/unix/sysvshm_unix.go:33:7: unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)
[   86s] error: Bad exit status from /var/tmp/rpm-tmp.Jt70Nr (%build)

Could you increase the go version in go.mod to 1.18, please? That should be fairly common and should fix those errors...
Thanks in advance
Johannes

Hey @johanneskastl yes! thank you so much for this PR!

Thanks @AjayTripathy for merging this quickly. Could you cut a new release including those changes?

Sorry for the late response; we'll get one out soon.

How about that new release? Any ETA in sight?

Hi @kastl-ars we will likely target one next week.

@cliffcolvin let's clean up any CVEs and release on 1.16?

This has been released

This has been released

Sorry, but where was that released?

Sorry for the late response @kastl-ars , it is here https://github.com/kubecost/kubectl-cost/releases/tag/v0.6.5

Thanks a lot!


language/regexes - predefined subrule <|wb> should be  or <?wb>

Correction to be made at end of section: https://docs.perl6.org/language/regexes#Backslashed,_predefined_character_classes
There is no implementation of <|wb> just <|w> and either (preferably) the '|' should be removed or <|wb>, <ww> are converted, as suggested during the 8/10 IRC discussion, to <?wb>, <?ww>.
The nqp implementation of "<|" seems to be in src/QRegex/P6Regex/Actions.nqp - method assertion:sym<|>.  Only <|w> appears to be implemented there.  Other identifiers seem to always match.  The '|' assertion is only mentioned in the user facing docs in the context of <|w> and is not fully implemented as a generic boundary between a rule and its negation as described in S05.  The '|' assertion is not simply a zero width assertion as suggested in the IRC discussion. While <|w> seems to work, <|wb> does not appear to behave differently from <|nonesuch>.
ron@ws-ubuntu:~/perl6/nqp$ perl6 -e 'say so "abc\ndef" ~~ /ab<|w>c/'
False
ron@ws-ubuntu:~/perl6/nqp$ perl6 -e 'say so "abc\ndef" ~~ /ab<|wb>c/'
True
ron@ws-ubuntu:~/perl6/nqp$ perl6 -e 'say so "abc\ndef" ~~ /ab<|nonesuch>c/'
True
ron@ws-ubuntu:~/perl6/nqp$ perl6 -e 'say so "abc\ndef" ~~ /abc<|w>/'
True

Just removing the '|' would allow <wb> to capture but use of <? to suppress capturing is not otherwise covered in the doc and the capture may make debugging easier.  If one wants to suppress
named capture for word break then it should be applied to both rules - perhaps something like:
<?wb>               Word Boundary (zero-width assertion, ? suppress capture)
<?ww>               Within Word (zero-width assertion, ? suppress capture)

I have prepared a branch with this doc change and will pull and merge on request.
https://github.com/ronaldxs/doc/tree/non-capture-wb

:+1: for merging that branch.

If it's merged, can we close this?

I am just waiting for issue #1457 so I can see that it looks right.
Thanks


adb outdated

when ı try to adb qr this happens any idea ?

 when ı try to adb qr this happens any idea ?

open CMD and run adb --version and check which version you have of ADB


Driver container

A few little things to check, but otherwise looks good.
plugin.py needs to be moved to an integration directory - the idea is that's we'll have a different directory for each integration - libnetwork, mesos, kubernetes, rkt etc...


wheelZoom ev.deltaY can be -0

When using a laptop touchpad, it's common that ev.deltaY is -0, which gives a zoomAmount of NaN.
There is two resolutions, one is to ignore wheelZoom when ev.deltaY is -0 another is to allow wheelZoom on another axis.
The former is the quick fix which I will try to get away with. But perhaps it makes sense to support other axis wheelZoom?

On my laptop its working nicely. Having -0 basically means there was no scroll. So we dont need to scroll.
Zoom is always on the y axis in all applications I know. Do you know an application where something is zoomed on x zoom?


delete me

This is a test. Please delete

Test labels

test 10

test config

test config2

need to try another case

xx

jsjsj

test a comment


Copy-paste for Path2D Curve values in editor not working

Godot version
v4.0.2.stable.official [7a0977ce2]
System information
Linux Ubuntu 22.04.1 LTS
Issue description

When I create a Path2D and try copying or pasting values for/from its Curve, nothing happens.

Intention: I wanted to create a Figma-plugin that allows me to copy path data for Godot, which would be really handy but can't work if pasting data doesn't work.
Clipboard data: I also used an online Clipboard tester and it seems that no values are actually stored in the clipboard.
Unsure: It might be that Godot doesn't store anything in the clipboard which might make my idea obsolete, but in any case copy-pasting doesn't work for me.

Steps to reproduce

Create a Path2D
Add points
Right click and select "Copy Value"
Adjust curve in any way (e.g. add points)
Right click and select "Paste Value"
Nothing happens

Minimal reproduction project
Path-Copy-Paste.zip

Related to https://github.com/godotengine/godot/issues/75124.


Critical security vulnerability in react-dev-utils

Improper Neutralization of Special Elements used in a Command in Shell-quote
Need to update to react-dev-utils 12.0.1 to fix this issue, I can set up a PR if needed

Yeah can you do it please?


Search Hint Location

Hello,
I want to make the search hint like the below image:
http://imgbox.com/BjBcuXrG
Anyone please tell me how to make that hint?
Thank you

This sample has been migrated to a new location and updates are happening there (check README for more information).
As recommended by GitHub, we are closing all issues and pull requests now that this older repo will be archived.
If you still see this issue in the updated repo, please reopen the issue/PR there. Thank you!


Add full testing suite for BanishManager

I want to refactor BanishManager, so here are some tests for it to make sure nothing breaks.

You might want to add a test to check the Banish Manager doesn't error horribly in case of an unparseable preference, but I don't think it's necessary to block refactoring work (as I don't think it needs to work the same as it did, necessarily -- just "don't crash").


docs: resolve jest preset via require

Relative paths rely on hoisting to work (which especially in monorepos might not behave as expected in this case)

(signed the CLA, no idea how to retrigger)

Thanks @SimenB !


unable to download video data: HTTP Error 403: Forbidden

D:>\youtube-dl --no-check-certificate -f 137 https://www.youtube.com/watch?v=bgH26x0fDOI
[youtube] bgH26x0fDOI: Downloading webpage
[youtube] bgH26x0fDOI: Downloading video info webpage
WARNING: unable to download video info webpage: <urlopen error EOF occurred in violation of protocol (_ssl.c:600)>
ERROR: unable to download video data: HTTP Error 403: Forbidden

I'm sorry I didn't check the notes carefully before asking.
I looked at the same problem in issues and tried to solve it.
Try to add the parameter -- no check certificate is still invalid, and also consider the network problem.
I used the shadowsocksr proxy and turned on the global proxy mode, and also confirmed that the network is stable.And I can get a list of videos.
So I need your help to solve this problem.
Software version:
D:>youtube-dl -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v']
[debug] Encodings: locale cp936, fs mbcs, out cp936, pref cp936
[debug] youtube-dl version 2020.01.01
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: none
[debug] Proxy map: {'https': 'https://<IP_ADDRESS>:1080', 'http': 'http://<IP_ADDRESS>:1080', 'ftp': 'ftp://<IP_ADDRESS>:1080'}

I was getting this just now.  Running youtube-dl passing just the --rm-cache-dir option made the following commands work.


NameError: name 'LlavaMetaModelAdapt' is not defined.

When I run the robustness_eval.py, I meet this bug;
May be lack of the defination of LlavaMetaModelAdapt

And, Can you share your evaluation code for fair comparison! thanks !

Hi, we have fixed the bug, thanks a lot for pointing it out.

Thanks a lot~


Volto 17 is unable to connect to backend

Describe the bug
Volto 17 is unable to connect to backend
First of all, what  I want to say, is: thank you! I tried out the very fresh Volto 17 release and everything is very smooth and looks very polished!
I was only hit by a small issue just before reaching the target, when I wanted to perpare for the trainings and sprints.
I know you are very busy now just before the conference, but do you have a quick tip for me? @sneridagh
To Reproduce
For starting the backend I used the examples found here
https://6.docs.plone.org/volto/getting-started/install.html#run-a-volto-ready-plone-docker-container
docker run -it --rm --name=plone \
  -p 8080:8080 -e SITE=Plone -e \
  ADDONS="plone.restapi==8.18.0 plone.app.iterate==4.0.2 plone.rest==2.0.0a1 plone.app.vocabularies==4.3.0 plone.volto==3.1.0a8" \
  -e PROFILES="plone.volto:default-homepage" \
  plone/plone-backend

raises folling error:
zope.configuration.config.ConfigurationConflictError: Conflicting configuration actions
  For: ('utility', <InterfaceClass zope.schema.interfaces.IVocabularyFactory>, 'plone.app.vocabularies.Catalog')
    File "/app/lib/python3.11/site-packages/plone/app/vocabularies/configure.zcml", line 103.2-106.6
        <utility
          factory=".catalog.CatalogVocabularyFactory"
          name="plone.app.vocabularies.Catalog"
          />
    File "/app/lib/python3.11/site-packages/plone/app/querystring/configure.zcml", line 67.2-70.8
        <utility
            factory=".vocabularies.CatalogVocabularyFactory"
            name="plone.app.vocabularies.Catalog"
            />

so I replaced version-pins with >=:
docker run -it --rm --name=plone \
  -p 8080:8080 -e SITE=Plone -e \
  ADDONS="plone.restapi>=8.18.0 plone.app.iterate>=4.0.2 plone.rest>=2.0.0a1 plone.app.vocabularies>=4.3.0 plone.volto>=3.1.0a8" \
  -e PROFILES="plone.volto:default-homepage" \
  plone/plone-backend

This works fine. Backend is up and running:
http://localhost:8080/Plone/prefs_install_products_form
shows plone.restapi and plone.volto as activated, but if I access http://localhost:3000 Volto shows following message:
Connection refused
http://localhost:3000
The backend is not responding,
please check if you have started Plone,
check your project's configuration object apiPath (or if you are using the internal proxy, devProxyToApiPath)
or the RAZZLE_API_PATH Volto's environment variable.

But http://localhost:3000/++api++ responses JSON:
{
  "@components": {
    "actions": {
      "@id": "http://localhost:3000/@actions"
    },
    "aliases": {
      "@id": "http://localhost:3000/@aliases"
    },
    "breadcrumbs": {
      "@id": "http://localhost:3000/@breadcrumbs"
    },
...

Seems to be fine. Isn`t it?
To install volto I cloned the repository:
git clone -b mtoepfl-typescript-support git@github.com:plone/volto.git volto-typescript-support-17

yarn install

yarn start

nodejs shows:
webpack 5.76.1 compiled successfully in 25722 ms
sswp> Handling Hot Module Reloading
✅  Server-side HMR Enabled!
Volto is running in SEAMLESS mode
Proxying API requests from http://localhost:3000/++api++ to http://localhost:8080/Plone
🎭 Volto started at <IP_ADDRESS>:3000 🚀

In the browsers network-tab in dev-tools, I do NOT see any requests to:
http://localhost:3000/++api++
And no messages in console.
Expected behavior
Volto is able to connect to backend.
Software (please complete the following information):

Volto Version 17.0.0 (clone of master/main branch)
Plone Version 6.0.7 (6018)
Plone REST API Version 8.43.3
plone.volto 4.1.0

@mtoepfl You can use the convenience backend provided in the Makefile
make start-backend-docker

That one liner you are using is old, we need to do a full pass in the docs to fix things.
Then, regarding the connection problem, check this out:
https://github.com/plone/volto/issues/5168
We still haven't pinpoint why it does happen apparently randomly to some people (MacOS, linux, etc... eg. it didn't happened to me yet).
Hope this helps.
BTW, remember that I have https://github.com/plone/volto/pull/4949 ongoing...

Thank you, for your very fast response. Why I`m not suprised ;-).
Thank you for clarification. Something we can work on next days. I will try, but just found out:
Seems to be only when the response is server-rendered. If I click to to search-icon in the upper right, this works and then back to the Plone-icon the front-page works like a charm too. If iIreload the page the connection error appears again.

Then, regarding the connection problem, check this out: #5168

Sorry for not finding this myself. Thought this might be a quite new issue and only looked at the last 10 issues.

We still haven't pinpoint why it does happen apparently randomly to some people (MacOS, linux, etc... eg. it didn't happened to me yet).

As I said above. It only appears in server-side rendering. I`m on node 18 on Fedora Linux.

BTW, remember that I have #4949 ongoing...

Ok thanks. I try to rebase on the registryinownpackage branch. @sneridagh


Lengths of zero?

Lyndsie Wszola is finding some fish with length = 0. Is this an actual length <1 or is this an indicator of NA length.

They are coming from: Mostly MN, 6 IA, 1 MI.


Kindle going to sleep seems to disable WiFi so screenshot update never happens

Hi folks, trying to set this up and I got it working and if I manually execute schedule.sh or update.sh via ssh I see updated screensaver, however if I just let kindle be it seems like it goes to sleep and disables wifi. I verified this by testing ssh and it seems unavailable. Did I miss a step?

to close the loop i found a version of onlinescreensaver that works for PW2+: https://github.com/Kuhno92/onlinescreensaverPW2


Fix apply_sort

Hi @lgebhardt,
We encountered an issue associated with apply_sort method.
Doc is saying (http://jsonapi-resources.com/v0.9/guide/resources.html#Sortable-Attributes) that we can override apply_sort like:
def self.apply_sort(records, order_options, context = {})
  if order_options.has?(:trending)
    records = records.order_by_trending_scope
    order_options - [:trending]
  end

  super(records, order_options, context)
end

But indeed, we can not use super(records, order_options, context) because the super method does not exist. And because of that, any other sorts have not been applied.
I found a problem and modified the apply_sort method and now it's performing default sorting -> passing the results to custom apply_sort (if exist) -> returning custom apply_sort results or if they are nil resulting original results.
So now you can just:
def self.apply_sort(records, order_options, context = {})
  if order_options.has?(:trending)
    order_options - [:trending]
    records.order_by_trending_scope
  end
end

And in fact, this will work as a super but also without a need to call it.

@Exelord Thanks!


Switched guild collection in EmoteImpl to Set

now remove emotes from guild maps properly.

As we spoke about in the JDA Guild, I'd like to test to make sure this actually works as expected if possible.

There is another patch incoming that switches to single guild per emote. But that one needs this to merged before (bug-fix)

According to night, emotes can not share two guilds.

The current code has been on Momo for 2 hours without any unexpected behavior and all emotes returned by JDA are available to the bot.

I'm assuming that means that this should be working, yes?

Yes this should be working according to the data my bot has collected.

:+1:


Add ability to reference Kubernetes ConfigMap / Secret values from container component

Is your feature request related to a problem? Please describe.
As a devfile author, I would like to be able to reference ConfigMap & Secret values defined in the cluster, e.g. a maven repository password.
Describe the solution you'd like
The syntax doesn't fit into the existing devfile schema.
I'd like to see syntax, e.g. like:
Individual variables - Secret
components:
  - name: mycomp
    container:
        env:
        - name: MY_USER
          valueFrom:
            secretKeyRef:
              name: my-secret
              key: user
        - name: MY_PASSWORD
          valueFrom:
            secretKeyRef:
              name: my-secret
              key: password

RELATED VARIANTS
(Starting at JSONPath: components[n].container)
Individual variables - ConfigMap
env:
- name: APP_NAME
  valueFrom:
    configMapKeyRef:
      name: my-app-name
      key: app-name

All variables - Secret
  envFrom:
  - secretRef:
      name: my-secret

All variables - ConfigMap
  envFrom:
  - configMapRef:
      name: my-configmap

Describe alternatives you've considered

Building passwords into container images creates a level of exposure.

I guess in theory this function could be pushed onto the specific tools' UI but that seems more cumbersome. Plus it misses the opportunity to capture this as an important descriptive property of the devfile.

Another approach would be to provide a syntax for "consuming" a secret/configmap value as a "global attribute" (as discussed in: https://github.com/devfile/api/issues/240).   Then for each container env it would simply "consume" the global attr value.  I think my suggestion promotes this use case as more of a "first class" scenario so is preferable.

Additional context
I don't understand well enough to   appreciate whether this would make sense for another component type besides 'container.... like 'kubernetes'-type or others?

Might be good to support envFrom syntax too:
  envFrom:
  - secretRef:
      name: mysecret

Might be good to support envFrom syntax too:
  envFrom:
  - secretRef:
      name: mysecret

Community call discussion 3/28:

Not part of the devfile 2.2 spec. There are some concerns on including this as part of the devfile will make the devfile only work in certain environments. @amisevsk will provide more information on how devWorkspace approach this problem.

c.f. https://github.com/devfile/api/issues/1033


Cannot extract data from squashfs file with offset if data is in a symlinked file

Describe the bug
Cannot extract data from squashfs file with offset if data is in a symlinked file
To Reproduce
This file contains a .DirIcon which is a symlink. The squashfs offset is 193728.
Expected behavior
The data of the .DirIcon gets extracted,
Platform (please complete the following information):

Operating System: FreeBSD
Version 13.1

Additional context
I am using code similar to https://github.com/Gottox/libsqsh/blob/main/examples/read_file_ll.c.
If this is not possible with ll, then either I need to know how to (recursively) resolve symlinks on my own, or it should become possible to use an offset in the high level version.

I actually just fixed a bug in the symlink handling, but your use case is actually not triggering it. sqsh_open() should resolve symlinks just fine:
diff --git a/examples/read_file_ll.c b/examples/read_file_ll.c
index 7275a9d0..3dada32d 100644
--- a/examples/read_file_ll.c
+++ b/examples/read_file_ll.c
@@ -25,7 +25,7 @@ main(int argc, char *argv[]) {
                        .mapper_block_size = 0,
                        .mapper_lru_size = 0,
                        .compression_lru_size = 0,
-                       .archive_offset = 0,
+                       .archive_offset = 193728,
        };
        struct SqshArchive *archive =
                        sqsh_archive_new(argv[1], &config, &error_code);

# build/examples/read_file_ll Kraft-v1.0-x86_64.AppImage /.DirIcon | wc
   1568    8959  148760

I also added the -o OFFSET flag to the sqsh-* tools in main:
build/tools/sqsh-cat -o 193728 Kraft-v1.0-x86_64.AppImage /.DirIcon | wc
   1568    8959  148760

Could you post code, that triggers the issue?
Also just in case, could you retry with the current main?

It is working fine. Sorry for the noise.
Turns out the issue was neither in your nor in my code; that particular (third-party) AppImage is indeed shipping a HTML file with a .svg suffix, symlinked as .DirIcon. No wonder this won't work. The data gets extracted fine, but my code has issues making an icon out of it ;-)


Bump spotless-maven-plugin from 2.1.0 to 2.6.1

Bumps spotless-maven-plugin from 2.1.0 to 2.6.1.

Commits

See full diff in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Author: dependabot[bot]. Timestamp: 2021-01-05T02:02:20Z

Superseded by #14.

Author: dependabot[bot]. Timestamp: 2021-01-05T02:02:20Z

Superseded by #14.


Ensure Envoy recommended edge proxy settings are set by default

Description:
Ensure we are setting Envoy Edge Proxy settings by default to the values specified in https://www.envoyproxy.io/docs/envoy/latest/configuration/best_practices/edge#configuring-envoy-as-an-edge-proxy
TCP proxies

[x] restrict access to the admin endpoint, https://github.com/envoyproxy/gateway/pull/206
[ ] overload_manager,
[x] listener buffer limits to 32 KiB, https://github.com/envoyproxy/gateway/pull/1306
[x] cluster buffer limits to 32 KiB. https://github.com/envoyproxy/gateway/pull/1325

HTTP proxies:

[x] use_remote_address to true  (to avoid consuming HTTP headers from external clients, see HTTP header sanitizing for details) https://github.com/envoyproxy/gateway/pull/1029,
[ ] connection and stream timeouts,
[ ] HTTP/2 maximum concurrent streams limit and HTTP/3 maximum concurrent streams limit to 100
[ ] HTTP/2 initial stream window size limit to 64 KiB,
[ ] HTTP/2 initial connection window size limit to 1 MiB.
[ ] headers_with_underscores_action setting to REJECT_REQUEST, to protect upstream services that treat ‘_’ and ‘-’ as interchangeable.
[ ] Listener connection limits.
[ ] Global downstream connection limits.

If Envoy is configured with RBAC filter or makes route selection based on URL path it is recommended to enable the following path normalization options to minimize probability of path confusion vulnerabilities. Path confusion vulnerabilities occur when parties participating in request use different path representations.

[ ] Enable normalize_path setting.
[ ] Enable merge_slashes setting.
[ ] Additionally the path_with_escaped_slashes_action setting should be set

I will work on it.

Hey @Xunzhuo, I would also like to help out with this issue if it's fine with you. I can take up a few of the tasks.

@tanujd11 can you tell which subtasks you want to assign?

@Xunzhuo I could start from bottom with if it works for you

Enable normalize_path setting.
[ ]  Enable merge_slashes setting.
[ ]  Additionally the path_with_escaped_slashes_action setting should be set

Sure @tanujd11

Hey @Xunzhuo , I shall start working on the HTTP proxy tasks. Have you picked any so we don't duplicate the work?

Feel free please @tanujd11

@arkodg, EG don't support Http3 yet. So I am skipping the h3 connection settings. We can set it once https://github.com/envoyproxy/gateway/issues/422 is done.

hey @tanujd11 checking in to see if you plan on working on the remaining sub tasks before v0.5.0 releases (end July 2023), else will move this issue into the backlog, thanks in advance !

Hey @arkodg, I will take a look at it on the weekend.

awesome thanks !

hey @tanujd11 still planning on working on this in the next few weeks ?
if not, will move this into the the next v0.6.0 release milestone, thanks

Hey @arkodg , Ya I was not able to find time. Could you please move it over to next release. Thanks

thanks for the update @tanujd11 , moving this to v0.6.0-rc1

@arkodg overload_manager can be checked as it is completed with #3082.


[deps] Added support for django4.0rc1

Closes #292

I have to import OrganizationInvitation model as abstract model due to these checks:

Coverage increased (+0.005%) to 97.722% when pulling f13df405de9ca83711cfd4a5d3ec4dbb901957a8 on issue-292-deps-django-supports into 690b28d4e7a228db4f12e9c47550f82869029479 on master.


Implement Remaining Cases of Expr in API Gateway Spec

The spec for the API gateway has the following subtypes of Expr:
enum Expr {
    NewUUID,
	  Literal(String),
    PathVar(String),
    ApiVar,
    AuthVar,
    Concat(Vec<Expr>),
    RequestVar,
    SelectField(Box<Expr>, String),
    SelectElement(Box<Expr>, u32),
    Equals(Box<Expr>, Box<Expr>),
    Cond(Box<Expr>, Box<Expr>, Box<Expr>),
}

Currently only PathVar, Concat, Cond, and Literal` are implemented. We need to implement the remaining ones.

This is already done.
The cases implemented are:
#[derive(Debug, Clone, PartialEq, Encode, Decode)]
pub enum Expr {
    Request(),
    WorkerResponse(),
    SelectField(Box<Expr>, String),
    SelectIndex(Box<Expr>, usize),
    Sequence(Vec<Expr>),
    Record(Vec<(String, Box<Expr>)>),
    Literal(String),
    Number(InnerNumber),
    Variable(String),
    Boolean(bool),
    PathVar(String),
    Concat(Vec<Expr>),
    Not(Box<Expr>),
    GreaterThan(Box<Expr>, Box<Expr>),
    GreaterThanOrEqualTo(Box<Expr>, Box<Expr>),
    LessThanOrEqualTo(Box<Expr>, Box<Expr>),
    EqualTo(Box<Expr>, Box<Expr>),
    LessThan(Box<Expr>, Box<Expr>),
    Cond(Box<Expr>, Box<Expr>, Box<Expr>),
    PatternMatch(Box<Expr>, Vec<ConstructorPatternExpr>),
    Constructor0(ConstructorPattern), // Can exist standalone from pattern match
}


Port  Mappings not working properly

Rancher Version:
1.2
Docker Version:
Docker version 1.12.1, build 23cf638
OS and where are the hosts located? (cloud, bare metal, etc):
Linux  4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
HA rancher, external DB
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
Service uses "Managed Network"
Dockerfile states:
EXPOSE 25 587 8080 3128 1080
docker-compose.yml states:
ports:
- 25:25/tcp
- 587:587/tcp
- 8080:8080/tcp
- 1080:1080/tcp
- 3128:3128/tcp
docker ps states:
CONTAINER ID        IMAGE           COMMAND                  CREATED             STATUS              PORTS               NAMES
66c3e7f2c373        image:develop   "/.r/r /sbin/my_init"    4 days ago          Up 5 hours                              r-image-develop-12-2-ae8394ca
docker inspect  states:
"NetworkSettings": {
[...],
"Ports": {},
[...]
}
In Docker "netstat -tulpen" states:
[...]
tcp6       0      0 :::587                  :::*                    LISTEN 0          43112       29/node
tcp6       0      0 :::22                   :::*                    LISTEN 0          40661       28/sshd
tcp6       0      0 :::1080                 :::*                    LISTEN 0          42644       29/node
tcp6       0      0 :::3128                 :::*                    LISTEN 0          42643       29/node
tcp6       0      0 :::25                   :::*                    LISTEN 0          43111       29/node
[...]
Results:
Port 8080 is not available in Docker although its configured as all other ports that work, but are neither in docker ps nor in docker inspect.
Expected:
To work as expected based on docker standards.
It worked fine on 1.2RC5

Got the same problem on
Rancher Version:
1.3
Docker Version:
Docker version 1.12.1, 1.12.3 and 1.12.6
OS and where are the hosts located? (cloud, bare metal, etc):
Centos 7.3 3.10.0-327.el7.x86_64 and 3.10.0-514.el7.x86_64
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
HA rancher, external DB
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Probably going to rollback to rancher 1.14 soon since I cant find what is causing this...

CNI networking  plugins in Rancher 1.2+ map ports using iptables instead of letting docker do it.  Therefore as far as docker is concerned there are no ports mapped, but that doesn't mean they are not working.

Hmm.. but if docker cant report the ports as per usual my gliderlabs/registrator cant find the mapped ports to report to our consul cluster.


[REVIEW] SeaJell

Project link
https://github.com/seajell/seajell

I'm not really an experienced programmer. Hoping to get feedback from you. The UI is in Malay language.

My project name "SeaJell" is based on the word "sijil"  in Malay or "certificate" in English.

how can I actually hide packages? I can't seems to find the option.
for screenshots, I'm planning to add them in the docs in the future.


fix: 🐛 Expose non-proxied polkadot client

JIRA Link
https://polymath.atlassian.net/browse/DA-244

I was bit in dilemma whether to write a test case for a one liner with almost no logic. And the build also passed so I skipped it. Probably, for such logics sonar is also chill about it.
In all the procedures proxied client is used, which throws error if signing account is not present. That is why I didn't remove it.

:tada: This PR is included in version 14.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: