jmol: 16.1.49 -> 16.1.51

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/jmol/versions.
meta.description for jmol is: A Java 3D viewer for chemical structures
meta.homepage for jmol is: https://sourceforge.net/projects/jmol
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 16.1.51 with grep in /nix/store/xjm2fwcr5ksgla3nirds8l96mimywhm4-jmol-16.1.51
found 16.1.51 in filename of file in /nix/store/xjm2fwcr5ksgla3nirds8l96mimywhm4-jmol-16.1.51

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

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath
cantor
jmol
labplot
libsForQt5.cantor
plasma5Packages.cantor
sage
sageWithDoc

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/bf755a20c6f71f5ee1fecaf98b3a019b34f96a59#jmol

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @Mounium @timokau @omasanori @7c6f434c @collares for testing.

@ofborg build sageWithDoc

Thanks! The timeout in src/sage/libs/giac/__init__.py is known and has happened before on our CI (e.g., https://github.com/NixOS/nixpkgs/pull/218014#issuecomment-1556974628).

Yeah, single-platform timeout with a succes on another platform in sage doesn't worry me (unless there are good reasons to expect problem-specific issues)…


photocollage: init at unstable-2023-08-21

Description of changes
Graphical tool to make photo collage posters
Should also close https://github.com/NixOS/nixpkgs/pull/210567 .

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

@AndersonTorres , please re-review.


support distyle all/even on redshift

http://docs.aws.amazon.com/redshift/latest/dg/c_Distribution_examples.html
correct syntax is diststyle all|even, not diststyle (all|even)

👍


nvm 0.12.7 and 0.12.6 have sass issues

libsass has an issue. Maybe there's an update?
08:57:58 hot.1    | Error: `libsass` bindings not found in /Users/justin/a/react-webpack-rails-tutorial/client/node_modules/node-sass/vendor/darwin-x64-14/binding.node. Try reinstalling `node-sass`?

If anybody has a PR that fixes this issue...
Thanks in advance.
Full message
foreman start -f Procfile.dev                                                                                ✹ [8:57:48]
08:57:56 web.1    | started with pid 46827
08:57:56 client.1 | started with pid 46828
08:57:56 hot.1    | started with pid 46829
08:57:57 client.1 | Webpack dev build for Rails
08:57:57 hot.1    | sleep: using busy loop fallback
08:57:57 hot.1    | Listening at localhost:3000...
08:57:58 hot.1    | Error: `libsass` bindings not found in /Users/justin/a/react-webpack-rails-tutorial/client/node_modules/node-sass/vendor/darwin-x64-14/binding.node. Try reinstalling `node-sass`?
08:57:58 hot.1    |     at Object.sass.getBinaryPath (/Users/justin/a/react-webpack-rails-tutorial/client/node_modules/node-sass/lib/extensions.js:148:11)
08:57:58 hot.1    |     at Object.<anonymous> (/Users/justin/a/react-webpack-rails-tutorial/client/node_modules/node-sass/lib/index.js:16:36)
08:57:58 hot.1    |     at Module._compile (module.js:460:26)
08:57:58 hot.1    |     at Object.Module._extensions..js (module.js:478:10)
08:57:58 hot.1    |     at Module.load (module.js:355:32)
08:57:58 hot.1    |     at Function.Module._load (module.js:310:12)
08:57:58 hot.1    |     at Module.require (module.js:365:17)
08:57:58 hot.1    |     at require (module.js:384:17)
08:57:58 hot.1    |     at Object.<anonymous> (/Users/justin/a/react-webpack-rails-tutorial/client/node_modules/sass-loader/index.js:4:12)
08:57:58 hot.1    |     at Module._compile (module.js:460:26)
08:57:58 hot.1    | Error: `libsass` bindings not found in /Users/justin/a/react-webpack-rails-tutorial/client/node_modules/node-sass/vendor/darwin-x64-14/binding.node. Try reinstalling `node-sass`?
08:57:58 hot.1    |     at Object.sass.getBinaryPath (/Users/justin/a/react-webpack-rails-tutorial/client/node_modules/node-sass/lib/extensions.js:148:11)
08:57:58 hot.1    |     at Object.<anonymous> (/Users/justin/a/react-webpack-rails-tutorial/client/node_modules/node-sass/lib/index.js:16:36)
08:57:58 hot.1    |     at Module._compile (module.js:460:26)
08:57:58 hot.1    |     at Object.Module._extensions..js (module.js:478:10)
08:57:58 hot.1    |     at Module.load (module.js:355:32)
08:57:58 hot.1    |     at Function.Module._load (module.js:310:12)
08:57:58 hot.1    |     at Module.require (module.js:365:17)
08:57:58 hot.1    |     at require (module.js:384:17)
08:57:58 hot.1    |     at Object.<anonymous> (/Users/justin/a/react-webpack-rails-tutorial/client/node_modules/sass-loader/index.js:4:12)
08:57:58 hot.1    |     at Module._compile (module.js:460:26)
08:57:58 web.1    | => Booting WEBrick
08:57:58 web.1    | => Rails 4.2.1 application starting in development on http://localhost:4000
08:57:58 web.1    | => Run `rails server -h` for more startup options
08:57:58 web.1    | => Ctrl-C to shutdown server
08:57:59 web.1    | [2015-07-24 08:57:59] INFO  WEBrick 1.3.1
08:57:59 web.1    | [2015-07-24 08:57:59] INFO  ruby 2.2.1 (2015-02-26) [x86_64-darwin14]
08:57:59 web.1    | [2015-07-24 08:57:59] INFO  WEBrick::HTTPServer#start: pid=46827 port=4000
08:57:59 hot.1    | webpack: wait until bundle finished: /comments.json

I tried deleting my node modules and reinstalling. There's a deeper issue here.
09:10:08 hot.1    | ERROR in ./~/css-loader!./~/sass-loader?imagePath=/assets/images!./~/bootstrap-sass-loader/bootstrap-sass-styles.loader.js!./bootstrap-sass.config.js
09:10:08 hot.1    | Module build failed:
09:10:08 hot.1    | // IMPORTANT: Make sure to keep the customizations defined in this file
09:10:08 hot.1    |        ^
09:10:08 hot.1    |       File to import not found or unreadable: Users/justin/a/react-webpack-rails-tutorial/client/node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables.scss
09:10:08 hot.1    |       in /Users/justin/a/react-webpack-rails-tutorial/client/bootstrap-sass.config.js (line 1, column 9)
09:10:08 hot.1    |  @ ./~/style-loader!./~/css-loader!./~/sass-loader?imagePath=/assets/images!./~/bootstrap-sass-loader/bootstrap-sass-styles.loader.js!./bootstrap-sass.config.js 4:14-218 13:2-17:4 14:20-224

Hey Justin have you tried npm rebuild node-sass ?

Same problem for me with node 0.12.4. Also, npm rebuild node-sass does not solve the problem.

Same problem with node v0.10.33. npm rebuild node-sass doesn't solve problem. Deleting and reinstalling node_modules works, but only for first time.

This is fixed in PR #56. I'd love some help getting the tests to pass.


support for PEP 735 (dependency-groups)

Similar to poetry's dependency groups, there's now an official way to specify these in a canonical pyproject.toml and it's supported in uv.

I started adding PEP-735 support to pyproject.nix the other day: https://github.com/nix-community/pyproject.nix/tree/pep735.
It's not done yet (still needs an interface in the project abstraction).


PyCoro binding code test

Description
Tests the python/cpp coroutine binding code (pycoro) to ensure recursive/nested and parallel python and c++ calls can be interleaved without issue, that Python/C++ -mixed tasks can be cancelled from Python, and that exceptions throw from both C++ and Python can be caught in Python. Also allows PyTaskToCppAwaitable to be constructed with a raw python coroutine as opposed to only asyncio tasks.

Closes #1268
By Submitting this PR I confirm:

I am familiar with the Contributing Guidelines.
When the PR is ready for review, new or existing tests cover these changes.
When the PR is ready for review, the documentation is up to date with these changes.

@cwharris Can you get the check stage to pass and then we can merge?

Closing in favor of https://github.com/nv-morpheus/MRC/pull/409


The image does not scale when the available width is exceeded

Need support for scaling the image when the width of the image is greater than the width of the parent container

perhaps the solution is here https://github.com/SeregPie/VuetifyImageInput/pull/6 ?

Any update on this?

Also interested about update on this
I've spent hours to include this component in my projet by I see it is not mobile friendly
Thanks a lot

This would be great. We use VuetifyImageInput component for client uploaded images. In particise your clients don't know what 900 x 300 px recommended image is means. Out of the box the VuetifyImageInput gives you all the tools to handle resizing, zoom etc..  The example provided by @sergeymitrichev is a perfect of that. I have a client right now who is paying $150 / h to resize their photo to fit in the required boundaries. In my case we are targeting 900 x 300 px out of HD 2048x1152 logo. That is 2:1 to 3:1 conversion and that I believe where the problem lies. Cheers.


Initial changes for TeensyEyes

These are 3 commits:

Add more things to .gitignore (emacs and patch under Linux leave other temporary files around)

Add final newline to the files that need it (some of the Linux source tools don't work as well if a file does not have a final newline).

Add files to build under Arduino.

One other change that you need to do to build under Arduino is create a dummy .ino file in the src directory.

Note, I did merge in my pin defaults in config.h which now leaves config.h in conflict.  Obviously keep your definitions, and I'll keep mine in my tree.
But I don't know enough of the git stuff to do that.  When I'm using git within GCC, we don't use pull requests, etc.  Instead, we mail in the patch, and when it is approved, the person doing the patch does the commit.
In terms of the *.cpp files in src/eyes/240x240, I think the issue is if this was structured as a library, the Arduino builder will build the .cpp files in sub-directories.  But since it is a directory with an .ino file, it does not descend into sub-dirs.  Hence, it will compile the various eye files, but the linker will give errors that polarAngle_240, etc. don't exist.


Add truncate method to proto.TestRunner

The proto.TestRunner does not currently have a test for `storage.Truncate1. This test needs to be added and applied to the mongo.TestMongo and postgres.TestPostgres.

Hi @prestonvasquez,I would like to work on this issue. Do I need to be assigned to it or I can writing the tests?

Hi @prestonvasquez ,
I would like to assist with this one !


[NoReturn 2E] Bugfix

Submission Checklist
Required

[X] The pull request title clearly contains the name of the sheet I am editing.
[X] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[X] The pull request makes changes to files in only one sub-folder.
[X] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

[X] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Setting correct value for legacy in sheet.json

Character Sheet Info Roll20 Internal Use only.


Long Loading Times For Timelines Can Lead To Event Nodes Reversing Order

The problem
Describe the bug
When loading a long timeline, clicking into it before its finished loading will cause all the rest of the timeline to insert itself in reverse order after the event node that is clicked on. For example, if a timeline was 100 nodes long, and node 5 was clicked on before it was finished loading, it the order would then be: 1,2,3,4,5,100,99,98,97,96...
If you change to another timeline before the load finishes, then it will begin loading the new timeline fresh. However, if you are unable to do that, once the load is completed on that timeline then it saves those changes, so the file now permanently is in backwards order and you have to either revert it from version control or manually put it back in the right order.
This is mainly a problem from the fact that mainly there is little way to tell if the timeline is finished loading or not. All the visual indicator is to a timeline loading is change to the scroll bar, which is very narrow and subtle in changes for long timelines.
To Reproduce
Click on a long timeline with a lot of nodes
Click on one of the nodes before the timeline finishes loading.
The rest of the nodes of the timeline then insert after the node clicked on in reverse order
File saves with these changes once loading of the timeline is completed.
Expected behavior
Not the nodes loading in reverse order, and not them being saved that way
Screenshots
If applicable, add screenshots to help explain your problem.
Bottom of example timeline:

Bottom of timeline is now at the top, in reverse order, after clicking on the Wait node in step 3 before it was completed loading:

System (please complete the following information):

OS: observed with both Windows 10 and macOS 11
Godot Version: all versions of 3.4.x so far
Dialogic Version: 1.3

Solutions
Workaround
Does not occur as long as the timeline has enough time to completely load. Which can be difficult to tell.
Possible fixes
Either some kind of locking of the timeline before it is completed loading, or some better visual indicator that it is still loading at the least.

Thank you so much for the bug report. This was reported before but we didn't know how to reproduce it. We will be able to fix it without locking the editor 👍🏻

This should be solved in 1.4 by #724. If not, please reopen this


Something i noticed with unrecognized characters

So with whats happening in chats now theres a spam where we do this https://gyazo.com/f4cab53a88c8b8424403f7a9fb678e3a and it seems to be with that you cant go past 50 on chatterino only. it works in native chat but not chatterino. is that so we dont clutter the normal chat or is it a bug? sorry this is the first time ive ever done something like this so itll be shit
benjiPKS

it looks like this in chatterino. sorry i completely forgot https://gyazo.com/cb458082f539a9381be3644987f7b47a

This happens because we handle certain Unicode characters different than web chat. It is probably reasonable to call this a bug so thank you for reporting!

Webchat works differently than Chatterino, webchat will not wait for any confirmation of the message going through or being seen by others. Chatterino uses two connections to see if the message got sent or silently dropped.

Closing in favor of #2771


Minor comment updates and var renames

Update a few comments.
Rename light_block -> verified_block and trusted_state -> trusted_block to clarify the distinction during fork detection.
Also questions about:

(re-) marking the trusted block as verified
reporting evidence to all peers

Just merged master in


enforce determinism in evaluate_ppo.py?

https://github.com/facebookresearch/habitat-api/blob/5679a5dc26d5097eb14658eff91a800e18763fe6/habitat_baselines/evaluate_ppo.py#L118-L123
Why is the flag deterministic set to be False here? Shouldn't it be True for evaluation?
Thanks a lot!

Also, during evaluation, should we also consider calling self.eval() for Net? My understanding is that if Net contains dropout or batch normalization, we need to set model.eval() before evaluation. Any help will be greatly appreciated. Thanks again!
https://github.com/facebookresearch/habitat-api/blob/ac166fa8d706a150666f37a3830505c5fd5c0d4c/habitat_baselines/rl/ppo/policy.py#L62-L85

We use deterministic=False as we found that sampling actions led to better performance than argmaxing.  In the example agent code, we do fix the random seed so that the code is still deterministic (although that seems to have been omitted from the eval code).

Yes, if your model uses batch norm or dropout, you should call model.eval() before evaluation.  This should probably also be done before sampling actions in the rollout.

Thanks for your prompt response. :)


[Enhancement] allin1 supervisor enables stopasgroup option for fe/be/broker

be able to stop as group, killing all children processes
fixes #31840

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[X] I have checked the version labels which the pr will be auto-backported to the target branch

[X] 3.2
[X] 3.1
[X] 3.0
[X] 2.5

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

@Mergifyio backport branch-3.2

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5


Speciality JSON MIME-types Missing

There are over 50 "+json" MIME-types registered with IANA. They should be recognized as JSON like the "+xml" MIME-types are treated as XML in CodeMirror.resolveMode.
    } else if (typeof spec == "string" && /^[\w\-]+\/[\w\-]+\+xml$/.test(spec)) {
      return CodeMirror.resolveMode("application/xml");
    }

Fixed via #4164


expose s3 bucket lifecycle_rule_enabled

Would like to bubble up terraform-aws-s3-log-storage's lifecycle setting so it can easily be controlled in terraform-aws-alb (per https://github.com/cloudposse/terraform-aws-alb/issues/39).

@deadlysyn do you want to expose the boolean or you are interesting on exposing more options ? https://github.com/cloudposse/terraform-aws-s3-log-storage/blob/master/main.tf#L25

i am open to taking this PR in the direction most helpful to the community...  do you think we should expose more?
i minimized scope of change initially because the defaults from terraform-aws-s3-log-storage worked for me. if you think it's better, we can bubble everything up w/ same defaults so it's all tunable but nothing new is required for existing uses.

@jamengual see if this looks better -- to keep the interface as simple as possible, i've maintained some defaults but bubbled up tier/retention-related settings.

/rebuild-readme all

/rebuild-readme

/test all

/test all

/rebuild-readme

/terraform-fmt

/test all

Tests are failing...

/test all

/rebuild-readme

/test all

/test all

@deadlysyn can you update to the latest version 0.11.0 please , thanks

/test all

/test all

hi folks, i don't have full context on the test env (but it looks pretty cool!)... since it seems to fail on creating the bucket due to resource/naming conflict (bucket already exists?) i wonder if we could create a random string w/ terraform, use it as part of the bucket name (attributes?), and then retrieve from state so terratest can validate (vs hard-coded name).
that might not work, it's just an idea on how to avoid the collision...if it is failing to cleanup for reasons we can control, happy to accept input on how existing solution can be improved (don't want to leave junk behind). if it is conflict with other users/tests, then the randomized name might help. i can work on that if it's a good solution.

/test all

hi folks, i don't have full context on the test env (but it looks pretty cool!)... since it seems to fail on creating the bucket due to resource/naming conflict (bucket already exists?) i wonder if we could create a random string w/ terraform, use it as part of the bucket name (attributes?), and then retrieve from state so terratest can validate (vs hard-coded name).
that might not work, it's just an idea on how to avoid the collision...if it is failing to cleanup for reasons we can control, happy to accept input on how existing solution can be improved (don't want to leave junk behind). if it is conflict with other users/tests, then the randomized name might help. i can work on that if it's a good solution.

we are aware of the issue and hopefully, we should have a solution soon

/test all

/rebuild-readme

/test all

@deadlysyn please rebase off master so we can pull in the fixes to the tests

/test all


Can we not load the image at build?

Changes
Add a summary of the changes in this pull request
Checklist

[ ] Attach this pull request to the appropriate card in Trello.
[ ] Update the CHANGELOG.md if needed.

Still cannot get the container name to copy out the file - thought this might work, it doesn't appear to!


Update default variable references in readme.

Oops. Totally missed this was just a fork. Just discard from this and update from the official repo instead!


Add neogit to submitted plugins

Thanks! I also suggest fixing this upstream at https://github.com/rockerBOO/awesome-neovim

Good call. We just merged a huge update - good twin material ;)

Nice! I saw the Reddit post! :)


Good Command system design

[x] I've searched existing issues and couldn't find a duplicate.

I'm thinking of improving the current design of our Command System which looks like this

One Problem for example is to no able to use Async Closures (yet).
Please let me know how do you think a Command System should look like?

Would attribute macro's be something you'd be okay with? that's kind of the thing I would go for.
Something like
#[command(
    names = ["kick"],
    description = "Kicks the player from the server."
)]
struct KickCommand {
    target: PlayerName,
    reason: String,
}

impl CommandHandler for KickCommand {
    pub fn init_command_tree<'a>(...) -> CommandTree<'a> {
        ...
    }
}

What exactly is the use of the Command tree struct? I think we could just have the command handler execute the command and be done with it no?

What exactly is the use of the Command tree struct? I think we could just have the command handler execute the command and be done with it no?

Its pretty useful for tab completion and also a quick and easy way to check permission etc. Look at Mojang's Brigadier API

Yeah I see it now, I think if we use macros we'll need to have a way to handle arguments that require more arguments aswell, it needs to be evaluated in a chain before we execute anything

Macro rules good too
like
command!{
names = ["kick"]
desc = "Kicks player"
{when goes comand tree
}
}


CELX token listing

Contract address: 0x88dc0ca6bCC47c37343bb0560D7616A4bE6986Fe
https://analytics.traderjoexyz.com/tokens/0x88dc0ca6bCC47c37343bb0560D7616A4bE6986Fe
Liquidity: $2.9K
Volume: $622.27

they want to change the image

e


Android app is not updated when changing the language till you refresh the bundle

So here is what happens with Android:

You change the language on your phone settings
You go back to the app and you see still the old language (this is not the default case on Android)

On iOS works by the well.
I saw there are some libraries out there to listen for locale changes, restart the app, etc. I think we could include a solution directly here so we have everything in one dependency.
I also tried react-native-restart and it is not actually working for me so I am working in a solution right now. It restarts the app but not the bundle. I think maybe we won't need to refresh the bundle if we can export some method to the update locale for this library?
Would you accept a PR which such functionality here?
Thanks!

Ok, I found a way to do this without the need of react-native-locale-listener and react-native-restart, will post it soon.

@ferrannp I know. I made a better lib than this one for the react-community org: https://github.com/react-community/react-native-languages
You can listen for languages changes on Android, and use the i18n library of your choice (including i18n-js, like on this project)

Hey !
Thanks for your answer, I did not know about that package.  So I actually wrote about this https://blog.callstack.io/react-native-handling-language-changes-on-android-the-right-way-c883056a8f5c
And I just fixed my case in the native side. Basically:
@Override
public void onConfigurationChanged(Configuration newConfig) {
    super.onConfigurationChanged(newConfig);

    String locale = newConfig.locale.toString();

    if (!MainActivity.currentLocale.equals(locale)) {
        MainActivity.currentLocale = locale;
        final ReactInstanceManager instanceManager = getReactInstanceManager();
        instanceManager.recreateReactContextInBackground();
    }
}

Works well for me :)

@ferrannp If I do something like this, I will deprecate this package in favor of  https://github.com/react-community/react-native-languages

Just found following post on the issue by same @ferrannp :)
Worked for me, don't forget the imports!
https://blog.callstack.io/react-native-handling-language-changes-on-android-the-right-way-c883056a8f5c

How about changing the language in in-app settings? Should I re-render the whole app? Cause when I navigate back, the language isn't changed because the scene doesn't re-render!!

How about changing the language in in-app settings? Should I re-render the whole app? Cause when I navigate back, the language isn't changed because the scene doesn't re-render!!

@zoontek I am facing the same issue, any suggestion?

I think, you can create a custom text component that will updating on languange change in app, and use it everywhere localization is needed. Like with redux container or any way your prefer.
Btw, native implementation mostly work with locale of device and restarting application when it changes.

If I change the language (i18n.locale) in one route of a stack, it does not change the language for already opened stacks.Someone please tell me what should i do here.

i have the same problem, did you resolve?

I still didn't get the exact solution. But, i used react-native-restart to restart the whole app.

If I change the language (i18n.locale) in one route of a stack, it does not change the language for already opened stacks.Someone please tell me what should i do here.
I have the same problem with my app, any one can help

@melaku468  reload your top level component (a state update is enough)

@zoontek here is my index.js can you help me with this,  how to update state ?
`import * as RNLocalize from 'react-native-localize';
import I18n from 'i18n-js';
import memoize from 'lodash.memoize';
import {I18nManager,
AsyncStorage} from 'react-native';
import en from './en';
import or from './or';
import tg from './tg';
import sl from './sl';
const locales = RNLocalize.getLocales();
if (Array.isArray(locales)) {
I18n.locale = locales[0].languageTag;
}
I18n.fallbacks = true;
I18n.translations = {
default: en,
'en-US': en,
en,
or,
tg,
sl,
};
export default I18n;`

@zoontek can you help me with this,  how to update state ?
Here is my index.js
`import * as RNLocalize from 'react-native-localize';
import I18n from 'i18n-js';
import memoize from 'lodash.memoize';
import {I18nManager,
AsyncStorage} from 'react-native';
import en from './en';
import or from './or';
import tg from './tg';
import sl from './sl';
const locales = RNLocalize.getLocales();
if (Array.isArray(locales)) {
I18n.locale = locales[0].languageTag;
}
I18n.fallbacks = true;
I18n.translations = {
default: en,
'en-US': en,
en,
or,
tg,
sl,
};
export default I18n;SettingScreen.jsonChangeLanguage(languageSelected){
this.setState({
languageSelected
})
I18n.locale = languageSelected
}
class DropdownLanguage extends React.Component {
constructor(props) {
super(props)
}
render() {
return (

<Picker
mode="dropdown"
iosHeader={''}
style={{ width: width,
}}
selectedValue={this.props.language}
onValueChange={this.props.onChangeLanguage.bind(this)}
>
{listLanguage.map((languageItem, i) => {
return <Picker.Item key={i} value={languageItem.key} label= {languageItem.label} />
})}

) }}`

@melaku468 did you get any progress? I'm facing the same issue.


DOCS: Apply Ruff and Black to image_examples

Applying linting to another batch of notebooks: ruff and black. No functional changes, other than fixing import * imports.
As usual, using pre-commit & a text editor to make the changes, in order to keep the diff as small as possible. Two notebooks have a large diff not viewable in GitHub, so for these I think we have to compare the ReadTheDocs views.
Nb. the "Front Page DeepExplainer MNIST Example" contains some errors in the outputs, so is in need of a cleanup. That's out of scope for this PR though, which just applies the linters.

I'm happy to go ahead now: as this won't affect the released package, the timing won't really matter.


expose way to get slice of an array value

it's techncially possible with the store methods but not implemented in the codegen libs

closing in favor of https://github.com/latticexyz/mud/issues/2019


Sitemap hreflang syntax invalid for regional language variants

The hreflang for regional variations in sitemap.xml follows the format of the URL language slug generated by Sphinx, e.g. zh_CN for Chinese (China). This is invalid syntax for hreflang in a sitemap (reference), where a hyphen must be used instead, e.g. zh-CN. Alternatively, it is also valid to define the script of the language instead, e.g. zh-Hans for Simplified Chinese. Some sort of library to perform this conversion, a lookup table or a user-facing option could help fix this.
Example from: https://docs.dash.org/sitemap.xml
<xhtml:link rel="alternate" hreflang="zh_CN" href="http://docs.dash.org/zh_CN/latest/"/>

The fact that we rely on sphinx for this make it hard to follow the standard way, there are other parts of the code that we should take care of too.

Hey @humitos can you tell me how should this be approached? And what needs to be changed to fix this?

@saadmk11 the hreflang label from the sitemap uses some incorrect codes. Those incorrect ones (for example, zh_CN) should be replaced for the correct ones (zh-CN). The linked document from the description has more detailed information.


SX and Styled can't override applyStyles css

Steps to reproduce
Repro link
Steps:

Setup theme to use css variables
Use theme.applyStyles to apply dark theme styles to component
Sx and Styled components can't overwrite the dark theme styles

Current behavior
Sx and Styled theme behavior breaks with this new paradigm. They can't override the styles if the base component is using the new applyStyles helper since it creates a css selector with higher specificity
Expected behavior
Sx and Styled should be able to override styles like they used to with theme.palette.mode conditional logic
Context
There are multiple issues with the new css variables system.

Sx and Styled can't override styles that use theme.applyStyles due to specificty
theme.applyStyles doesn't support template literal syntax so the css selector has to either be extracted to a var or hardcoded
Docs are inconsistent on recommendations. Docs say to use spread syntax on theme.applyStyles, then the actual code files say to not use spread syntax. ie. Docs, Code
applyStyles isn't a valid replacement for controlling the theme of specific components. If you only specify dark theme styles with applyStyles, then adding .mode-light to a component won't apply those styles since .mode-dark has higher specificity. Refer to link for example

The biggest issue is the breaking change with sx/styled behavior
/**
 * All 3 buttons should be green (#bada55)
 */

/**
 * Light theme should be red
 * Dark theme should be blue
 */

const BaseButton = styled(Button)(({ theme }) => ({
  background: 'red',
  color: '#fff',
  ...theme.applyStyles('dark', {
    background: 'steelblue',
    color: '#fff',
  }),
}));

/**
 * Styled can't override dark theme either
 */

const StyledButton = styled(BaseButton)`
  background: #bada55;
`;

/**
 * No support for applyStyles with template literals
 */

const TemplateButton = styled(Button)`
  background: red;
  color: #fff;
  *:where(.mode-dark) & {
    background: aliceblue;
    color: #555;
  }
`;

/**
 * applyStyles isn't a valid alternative to controlling theme for a specific component.
 * If you don't split all styles into applyStyles('light') and applyStyles('dark') then it won't apply the alternative
 */

const Themed = () => (
  <div className=".mode-light">
    <BaseButton variant="contained">Light Themed</BaseButton>
  </div>
);

export default function BasicButtons() {
  return (
    <Stack spacing={2} direction="row">
      <BaseButton
        variant="contained"
        sx={{
          background: '#bada55',
        }}
      >
        Dark
      </BaseButton>
      <StyledButton variant="contained">Styled</StyledButton>
      <TemplateButton
        variant="contained"
        sx={{
          background: '#bada55',
        }}
      >
        Template
      </TemplateButton>
      <Themed />
    </Stack>
  );
}

Your environment

npx @mui/envinfo
  System:
    OS: macOS 14.1.1
  Binaries:
    Node: 20.12.2 - ~/.nvm/versions/node/v20.12.2/bin/node
    npm: 10.8.3 - ~/.nvm/versions/node/v20.12.2/bin/npm
    pnpm: 9.13.0 - ~/.nvm/versions/node/v20.12.2/bin/pnpm
  Browsers:
    Chrome: 131.0.6778.71
    Edge: Not Found
    Safari: 17.1

Search keywords: css variables, css vars, applyStyles, sx, styled

I mark this as an enhancement to make the applyStyles support literal styles.
And to add a docs about customizing theme.applyStyles.

The issue is that there is a breaking change when switching to the new system of using applyStyles and there is seemingly no workaround for it.

That's true. I will add docs for this but I don't see a perfect transition, the @layer will make the experience the same but you will to adjust the external CSS.
Anyway, the next step is to add option to enable CSS @layer as it's become a standard.

@siriwatknp I think we need to find a solution for all 4 of the points raised in this issue. These issues will block users from migrating to applyStyles.

I don't see a perfect transition

I reviewed this issue more deeply and now understand @siriwatknp's point that covering these use cases in the documentation would be better.
I'm preparing a PR to improve the docs to cover the cases described in this issue.

Addressed the concerns with more guidance in the docs (https://github.com/mui/material-ui/pull/44658). Template literals out of the box are to be tracked separately (https://github.com/mui/material-ui/issues/44659).


[BUG] error for totalPopulation report app integration test

Describe the bug
errors being generated for assertNotNull statement.
To Reproduce
Steps to reproduce the behavior:

Look at appIntegrationTest file and note assertNotNull is underlined with a warning

Expected behavior
No warnings or errors being produced

Starting to look into this


Test script

We desperately need a test script for github actions :) Now building will just outbut "Build complete" as a dummy output.

Fixed in 2638856


OLMo Support

Hi,
Thanks for releasing Axolotl! I was interested in finetuning OLMo and was wondering if it support for it was planned.
Current issues:

OLMo (the model) doesn't support gradient checkpointing
If I try to finetune it anyway, I get TypeError: OLMoForCausalLM.forward() got an unexpected keyword argument 'position_ids'

Thanks!

hey @fakerybakery, sorry for the delay! Can you give the olmo-no-position_ids branch a try?


Cow: Watch mightygrep

Cow requests the watch of the watch_keyword mightygrep. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

mightygrep has been seen in 2 true positives, 0 false positives, and 1 NAA.

Approved by tripleee in Charcoal HQ


xandikos: backport systemd socket activation

Motivation for this change
Backported https://github.com/jelmer/xandikos/pull/155 to add support for systemd socket activation. This also enables UNIX sockets with proper owner/permissions, because systemd creates them for us.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

I'm a little bit baffled about your PR description and the actual changes.

I'm a little bit baffled about your PR description and the actual changes.

Yeah, you're right. Xandikos was always able to do that, this PR just adds that to the nginx configuration.

Topic and changes fit together.
But I mean the mismatching description:
Remove prometheus-client, it is replaced by aiohttp-openmetrics which is not
yet packaged.

Yeah, I think you are right, when I made this I still had xandikos-0.2.6 and was about to create a pull request for that too but noticed this and probably mixed up the pull requests.

While writing a test I noticed that the permission of the socket are too strict to be useful. Changing the services UMask does not seem appropriate. We should probably put this off until systemd's socket activation makes it into xandikos, see https://github.com/jelmer/xandikos/pull/155.

Rebased to fix merge conflict.

Close in favor of https://github.com/NixOS/nixpkgs/pull/253523.


LiveOcean configuration testing graphic

@ZacharyWills
Tiffany has requested a graphic about the outcome.
Zach can you post your spreadsheet and early versions in here. I think the basic line graphics might be sufficient.

Copy of Benchmark Testing for a 24 hour  - Data.csv
Here's the cleaned up CSV.
Working indexing for time and for cost efficiency for the graphic(s).

Table sorted by runtime

qofs_log.txt
Copy of the output log runtimes.

Is the table above the graphic or is the graphic something different that will be more like the first plot in the document you previously shared with examples: https://voltrondata.com/benchmarks/theseus ?

Copy_of_Benchmark_Testing_for_24-hour_Data.xlsx
Working on this version, converted from the CSV. The barchart has instances with 1 node on the left and 4 on the right by type and number of minutes but it still needs labels and more work

Test barchart with nodes 1-4, 1 on the left and 4 on the right.

Closing issue as presentation was completed yesterday.


Output trajectory data to NetCDF

From @sarnoldlds:

I created some simple code to write ntecdf files (in IDL!) from my interpolated trajectory output (that we discussed last time). The code is embedded in a new version of the routine:
/nfs/see-fs-02_users/lecsra/MOSAiC/MOSAiC_trajs_actual.pro
You can see the nc output here:
/nfs/a149/lecsra/MOSAiC/nc_trajs/
I guess having this functionality in the Python scripts would be good, as we said. And maybe you would have nicer ideas on how to structure the nc data!
Just to add further information  (sorry if the files are not obvious).
There is one nc file per day. The dimensions of the data are number of trajectory arrivals x number of time points along back trajectory. This is usually 1440 x 42, if there are no missing ship location datapoints. The 42 backward time steps are spaced 3 hourly along the back trajectories. Each arrival point is the actual lon/lat of the ship location, but is given an arbitrary 1000 hPa pressure. The real release pressure from the Polarsten is 0.99 of surface pressure (but this is not output). All other pressures along the back trajectories are actual pressures of the air parcels calculated at the parcel positions from the ERA5 data. Also, as we discussed at length last time, this data is interpolated so that the trajectory points are spaced 3-hourly back from the actual release time.


Video Looping with MOV container

What steps will reproduce the problem?

Download Praisenter
Create a slide/template with an MOV background or video component (http://www.bigbuckbunny.org/index.php/trailer-page/ for example)
Enable looping on the background/component
Show the slide/template and wait for the video to loop

What is the expected output? What do you see instead?
This should rewind the video and audio streams to the beginning and begin playback as normal.  The video plays fine the first time, however, after looping the video frames flicker.  This is due to some video frames being out of order in the stream.

Pulling in the details from the xuggler group, which people may not have access to:
I'm doing this by calling IContainer.seekKeyFrame(-1, 0, 0, 0, IContainer.SEEK_FLAG_BACKWARDS); (I have also tried a number of other parameters to this method with the same or worse results).
This partially works.  The audio stream is seeked to the beginning and all timestamps are in increasing order.  The video stream on the other hand has its timestamps mixed up.  For example:
Image 28000000
Image 28080000
Image 28040000  <- what ??
Image 28160000
Image 28120000  <- what ??
Image 28240000
Image 28200000  <- what ??
Image 28320000
Image 28280000  <- what ??
Image 28360000
Image 28480000
Image 28440000  <- what ??
Is seeking in this video just not possible (If not, how can I tell if its not supported, right now this video claims its supported by returning >= 0 from the seekKeyFrame method)?  Can anyone else try to seek this video in their player and see if they get the same result?

I tested another MOV (H.264/AAC, same as the one that doesn't work) that loops correctly...  I guess it could be something about the BBB video.

Closing as version 3 relies on JavaFX media capabilities which are far more robust.


Jib gradle plugin and Java modules?

Environment:

Jib version:3.4.3
Build tool: Gradle 8.8
OS: MacOS Java 22.0.1

Description of the issue:

How do prevent Jib gradle plugin from using/searching  main class and instead make it use main module?
How do I tell Jib gradle plugin to use module path?
How do I tell it to stop extracting the content of the jar that has a my main class?

I would like to specify all of these mylsef:
java --module my.module/my.package.App. --module-path /app/libs

I have used the below configuration, but this plugin still tries to infer main class and unzip the jar with the main class.
container{
        entrypoint = [
                "java",
                '--module-path', '/app/libs',
                '--module', 'my.module/my.App'
        ]
    }

Expected behavior:
I want Jib to stop doing so opinionated and classpath-centric,  and allow me to set up main module path and main module myself.

Not ignoring mainClass when setting entrypoint seems like a regression or a bug, because it's not going to be used anyway.
https://github.com/GoogleContainerTools/jib/tree/master/jib-maven-plugin#container-object

The command to start the container with (similar to Docker's ENTRYPOINT instruction). If set, then jvmFlags, mainClass, extraClasspath, and expandClasspathDependencies are ignored.

Actually, it's WAI that Jib searches for a main class even if you set a custom entrypoint. Jib still needs to know the main class to generate the /app/jib-main-class-file to support the popular use-case where the user wants to know and use the main class that Jib has found in their custom entrypoint. But I agree this isn't ideal for the Java module use-case.


Added import card

Coverage decreased (-0.5%) to 81.212% when pulling 0eda190858d168c024e4ef258e71042c830264d2 on fix/call-card into 940bff8e4d5078ce09f785f55552bbffc2d44edb on V2.

Coverage decreased (-0.5%) to 81.212% when pulling 0eda190858d168c024e4ef258e71042c830264d2 on fix/call-card into 940bff8e4d5078ce09f785f55552bbffc2d44edb on V2.

Coverage decreased (-0.5%) to 81.212% when pulling c765b535cba44a8527ccbfb066f216c615355abd on fix/call-card into 940bff8e4d5078ce09f785f55552bbffc2d44edb on V2.


Enhancement: Enhance Contributors Section UX - Enable GitHub Icon Redirect

Requesting an improvement in the Contributors section UX.
Option 1: Enable the GitHub icon to redirect users to the GitHub contributors page for seamless navigation and better engagement. Option 2: Alternatively, consider removing the icon for a cleaner design. Your decision on either approach would greatly enhance the user experience. Thank you for considering this suggestion.
if yes assign it to me.
https://github.com/akshitagupta15june/PetMe/assets/103263909/8e487d70-9c05-4048-b665-acf1e6bd7a45

@akshitagupta15june please assign me this issue. I can work on this.

Yes, I made a PR for this, waiting for merging.


Stateful object experiment

We've talked a few times about how LXD object representations would be able to keep track of their state. For instance, has the instance been modified since it was retrieved from the server? If not, there's no reason to call update.
I also tried to use this time to sort out the object lifecycle as well. There's the creation (done via get`create), what is currently referred to as fetchbut is being reconsidered assync(obviously, with aDeprecationWarningwhen implemented in the other objects) to sync up a partial object gotten viaall, update(being renamed tosave) for putting changes back into the server, and delete` for...deleting.
I wanted to take this experiment into the realm of practical, so I implemented /1.0/networks, which was the last endpoint that hasn't been implemented yet. Unfortunately, there wasn't much to networks (no create, update, or delete), so it didn't end up being super practical.
This is pretty complicated. It is. I'll admit it. I think it's a little justified for a few reasons: one, it allows us to catch errors a little earlier and some flexibility. The Attribute.validator property, for instance, could check types, we could add more support for read only attributes (like name in many cases), or we could add better support for marshalling/de-marshalling (for instance, methods that convert Network.used_by to list of Containers and back to a list of strings). It also gives us a mechanism for handling the Etag support that just landed in LXD.
Comments? Suggestions? Curses?

[Current coverage][cc-pull] is 97.59%

Merging [#144][cc-pull] into [master][cc-base-branch] will increase coverage by 0.37%

@@             master       #144   diff @@
==========================================
  Files            11         13     +2
  Lines           504        582    +78
  Methods           0          0
  Messages          0          0
  Branches         56         70    +14
==========================================
+ Hits            490        568    +78
  Misses            4          4
  Partials         10         10

Powered by Codecov. Last updated by [dc54a35...90faac4][cc-compare]
[cc-base-branch]: https://codecov.io/gh/lxc/pylxd/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/lxc/pylxd/compare/dc54a355b3fcbc3487075eaab79ffba3ff921261...90faac4a7d2bc6030cdedd2d9f869480bf121750
[cc-pull]: https://codecov.io/gh/lxc/pylxd/pull/144?src=pr

lgtm


[QA] dclonboarding.dcl.eth isn't rendering

Explorer Alpha build version:
v0.11.0
Issue Description:
Teleportation to the DCL Onboarding world (dclonboarding.dcl.eth) is successful, but no assets load upon arrival. However, the world's music can still be heard.
Steps to reproduce:

Launch the explorer.
Use command /world dclonboarding.dcl.eth
Observe that no assets load after teleportation, but the music from the world can be heard.

Expected behavior:
https://github.com/decentraland/unity-explorer/assets/146741383/57cc7011-dcce-4124-af24-00541ed864b8
Current behavior:
https://github.com/decentraland/unity-explorer/assets/146741383/e94f46fd-a176-44b4-8073-5d5a9c11dee0
Additional Notes:
Macbook M1 Pro Sonoma 14.5

I am assuming its the same as https://github.com/decentraland/unity-explorer/issues/1324


how to save youtube settings?

how to save youtube settings? because I set full screen and exit the application and the settings are not saved.
sorry for my English, greetings from Argentina

Hi guys, sorry for taking so long to respond, I don't have much time due to work and studies.
This week maybe I will have some free time, I will try to get on it and I will release a new build.
I also use the translator, greetings from Spain!


Multithread not working propely

Dear all, thank you for this nice tool, I'm really appreciating it.
I pose you my doubts, since I cannot find an answer elsewhere:
I'm working with a batch of about 400 image+mask combos (in a csv file) and I'm using a small computer for the computation. Since I want to scan about 50 binWidth/binCounts I'm trying to optimize the extraction in parallel.
Specifically I wrote a bash script to scan the different configurations and i run it with the -j 24 parameter (for 24 workers). I have 2x Xeon 6Core HT (total logical core = 24) and about 200GB of RAM.
However I noticed that the CPU is working at 100% only a fraction of the time... is it normal? Is there a bottleneck in the usage of some scripts that cannot be executed in parallel?
Obviously I start the computation with different parameters NOT in paraller, i.e. i start the computation with the next parameter only when the first batch is finished.
Example:
bC="8 12 16 22 32 64 43 128 171 256 341<PHONE_NUMBER>"
for i in $bC
do
  pyradiomics ./input/input_dyn.csv --param ./json/RadiomicsLogicParams_all.json --setting
  "binCount:${i}" --setting "normalize:false" -o ./output/all_stackedOut.csv -f csv -j 24 -v 4
done

Screen

Thank you for your attention!!

However I noticed that the CPU is working at 100% only a fraction of the time... is it normal? Is there a bottleneck in the usage of some scripts that cannot be executed in parallel?

Yes it's normal. This is unrelated to PyRadiomics.

Yes it's normal. This is unrelated to PyRadiomics.

Thank you for the cryptic response. Is there a way to solve it? Is there a reason?
Is it common?

Yes to all three of those questions. How's that for cryptic?

I'm using ubuntu 19.4. Is it related to the OS? In this case I can close the thread.
I've already checked the UEFI to look for powersaving settings to disable....
What could I do? Thank u and happy new cryptic year.

It's related to how CPUs and software work in general.
100% CPU core utilisation is uncommon because processes typically need to wait for each other. If you had a single core machine it probably wouldn't reach a persistent 100%, because code needs to wait for memory access, network, etc. And in the case of your python script the cores are probably also being swapped to other processes by the kernel (or your screen would freeze etc).

So you're telling me that if I start 24 different pyradiomics instances with -j 1 I'll obtain the same effect, isn't it?
I'm not so sure about that, I guess it's something related to the disk access for read/write or something else..

At the end I decided to use a manual check to launch a new pyradiomics extraction every time the CPU drops below 70%.
Now I always have a reasonable CPU usage (>50% with all the logical units, i.e. always 100% utilization)
`wait4CpuReady () {
cpuUsed=5 #debouncer
while  [ ${cpuUsed} -gt 0 ] || [ $(top -b -n1 | grep "Cpu(s)" | awk '{print $2 + $4}') -ge 70 ]
do
sleep 5
if [ ${cpuUsed} -gt 0 ] && [ $(top -b -n1 | grep "Cpu(s)" | awk '{print $2 + $4}') -ge 70 ]
then
cpuUsed=5
else
((cpuUsed--))
echo "CPU not used, debouncer = ${cpuUsed}"
fi
done
}
bW="$(seq -s ' ' 1 1 9) $(seq -s ' ' 10 2 28) $(seq -s ' ' 30 3 60)"
for i in $bW
do
wait4CpuReady
echo -e "\e[41m#########################################################################################\e[0m"
echo -e "\e[41m#### Starting computing all features for all_times and SUB - NONnorm and binWidth $i ####\e[0m"
echo -e "\e[41m#########################################################################################\e[0m"
pyradiomics ./input/input_all_msub.csv --param ./json/RadiomicsLogicParams_all_noWarningGLCM.json --setting "binWidth:${i}.0" --setting "normalize:false" -o ./output/manualOut/all_allTmSub_stackedOut_bw${i}.csv -f csv -j 3 -v 4 &
done
`


Adding docker-compose.yml and updated documentation

Added docker-compose.yml as proposed by the owner and updated the readme to reflect the new file with usage instructions.

Could you edit the location of the config file to .config.py instead of the /opt/netbox-zabbix? Not everyone will have the script running in that directory so it makes more sense to include the file from the directory in which both files are found. Since this is also the case in the Git repo :)

Could you edit the location of the config file to .config.py instead of the /opt/netbox-zabbix? Not everyone will have the script running in that directory so it makes more sense to include the file from the directory in which both files are found. Since this is also the case in the Git repo :)

The portion of the docker-compose volume map after the colon : is the internal map to the docker container which is mapped to /opt/netbox-zabbix. This is where the file lives in the docker container.
The host file system could be updated to reference the same directory where the compose file is run at.

I'm not very good with dealing with PR's... Do I need to close this one and create a new PR or is there a way to update this one to include the updated compose file?

I'll close this PR for now due to work on several other branches and a plan to completely renew the documentation as stated in #66. Thanks nontheless for your PR but right now i need more help for testing other milestones such as #30 :)


[Popover] : When toggle popover, its data-* attribute removed

OS:
macOS Mojave: 10.14 (18A391)
Browser:
Chrome:  72.0.3626.121 (Official Build) (64-bit)
With html: true and content: <<text>> with data-* attribute, when toggling Popover it not adding data-* attributes to element in popover. So when we trigger click on an element inside popover and try to find data on target it fails to load.
Video Demo: https://youtu.be/bUTovHhwUAY
Demo: https://www.bootply.com/npPXvDAKvS

Since BS 4.3 you have to whitelist data-id for span tag.
See #28407

Exactly what @InsanityMeetsHH said 👍
More information on how to do that: https://getbootstrap.com/docs/4.3/getting-started/javascript/#sanitizer

Thank you @InsanityMeetsHH @Johann-S 👍

This also applies to BS 3.4 as described here.


Add ResNet, AlexNet, and VGG model definitions and model zoo

You can create a ResNet-18 model pre-trained on ImageNet with:
import torchvision.models
resnet = torchvision.models.resnet18(pretrained=True)

The ResNet models were trained on ILSVRC2012. They were trained with the default options using https://github.com/pytorch/examples/tree/master/imagenet. (batch size 256, 90 epochs, lr=0.1 decay by 10 every 30 epochs). I think I used 4 GPUs, but it might have been 8.
Accuracy on the validation set is in the table here:
https://pytorch.org/docs/stable/torchvision/models.html
You can verify the accuracy on the validation set by running the example imagenet script with:
python main.py -a resnet18 --evaluate --pretrained [path to imagenet]

You can compute the accuracy on the training set by swapping your train and val directories and running the above command.


npm install should be with -g

'make' step
error:
no member named 'blockchain_is_synced' in 'bts::client::client'


☂Integrate vSMP MemoryOne

How to categorize this issue?

/area usability
/area os
/kind epic
/kind enhancement
/priority normal
What would you like to be added:
This is an umbrella issue for the integration of vSMP MemoryONE operating-system based machines with Gardener.
MemoryONE helps in the expansion of memory using non-volatile storage-class memory, which is cost-effective against expensive DRAMs.
MemoryONE is a virtual machine technology that transparently expands the system memory and then runs a standard Linux-based operating-system.
We have been requested to support jeos/chost-sles for the same. Please find more information on the product here.
Please find the detailed process here, around how to boot up the machine based on MemoryONE VM.
The following are the main changes required for the complete integration, which can also be used to track the progress.

[x] Adapt MCM to support multiple-disks for AWS. @hardikdr
- Tracking issue: https://github.com/gardener/machine-controller-manager/issues/462

[x] Adapt chost/jeos extension controller to prepend the MemoryONE user data. @rfranzke
- Tracking issue: https://github.com/gardener/gardener-extension-os-suse-jeos/issues/18
-  Implementation PR (Gardener): https://github.com/gardener/gardener/pull/2420
-  Implementation PR (SuSE JeOS extension): https://github.com/gardener/gardener-extension-os-suse-jeos/pull/19

[x] Allow setting the env-variable in kube-scheduler to overwrite the max-attachable volumes to machines. Investigate related configurations for CSI-drivers. @rfranzke
-  Tracking issue: https://github.com/gardener/gardener/issues/2343
-  Implementation PR: https://github.com/gardener/gardener/pull/2413

[x] Adapt AWS-worker extension controller to support multiple disks. @rfranzke
-  Implementation PR: https://github.com/gardener/gardener-extension-provider-aws/pull/105

[x] Adapt AWS-worker extension controller to support disks with snapshots. @rfranzke
-  Implementation PR: https://github.com/gardener/gardener-extension-provider-aws/pull/112

[x] Adapt/Verify Gardener APIs to allow setting multiple volumes and customization configs for AWS via shoot-resource. @rfranzke @hardikdr
-  Implementation PR: https://github.com/gardener/gardener/pull/2438

/assign @hardikdr @vpnachev @rfranzke

@hardikdr Label "area/usabiliity" does not exist for this repository.

Adapt AWS-worker extension controller to support multiple disks.

The first PR https://github.com/gardener/gardener-extension-provider-aws/pull/105 was opened to support multiple disks for the worker machines. In another follow-up PR I'll add support for providing a snapshot ID for the data volumes.

Adapt AWS-worker extension controller to support disks with snapshots.

The second PR https://github.com/gardener/gardener-extension-provider-aws/pull/112 was opened to support providing a snapshot ID for data volumes.

https://github.com/gardener/gardener/pull/2413 allows configuring the KUBE_MAX_PD_VOLS environment variable. Helpful information next to the Kubernetes documentation and https://github.com/gardener/gardener/issues/2343#issuecomment-633982785 is here: https://kubernetes.slack.com/archives/C09QZFCE5/p1585038040227700

/close as all related PR have been merged and will be released with the respective next versions.


Remove Kiali Application, Workload, Service Icons now that we have OCP badges for them

IMO: the Kiali UI is starting to feel a bit inconsistent with some places having Kiali icons for services, applications, workloads and other places using the OCP badges for these. Perhaps now is the time to remove those icons for good?

From UX meeting: we will hold off on this one.

Can we talk about this again at one of our future meetings, curious to catch up on this discussion.  Michael mentioned a couple of things to me, but I'm not sure I totally followed the discussion.  Thanks!


[driver request] upstash redis

Describe the feature
Due to incompatibility between ioredis and edge platforms, a pure http redis client such as upstash redis would be necessary for these scenarios.
Reference :
https://github.com/upstash/upstash-redis
Additional information

[X] Would you be willing to help implement this feature?

https://github.com/unjs/unstorage/pull/500


README.md.tmpl  should reference the BOM

google-cloud-java/utilities/templates/README.md.tmpl
This section needs to be expanded
Quickstart
If you are using Maven, add this to your pom.xml file
<dependency>
  <groupId>com.google.cloud</groupId>
  <artifactId>google-cloud-{{service}}</artifactId>
  <version>{{version}}</version>
</dependency>

We don't use this template anymore and it has been deleted from the repository.


Implement CLI for getting (registering) a new atSign

Is your feature request related to a problem? Please describe.
Currently there is an Onboard CLI for onboarding a new atSign, but it requires that you already know the atSign and its shared secret.
Describe the solution you'd like
Need a Register CLI which will grab a new atSign and its shared secret; this information can then be used by the Onboard CLI to generate keys etc

@srieteja are you interested in picking this up? (As I believe you implemented this for the Dart client)

Implementation of Register CLI is functionally complete (one can get a free atsign and register it to their email). A minuscule task of storing the API key in the config file is remaining, which I am working on at the moment.

Ready to merge


Can't make another call after making the 5th call

precodidtion

phone_1 config "automatical answer"
phone_1/2 power off

test steps

power on phone_1/2
phone_1/2 attach and resister to open5gs with IMS
phone_2(tel:0713) call phone_1(tel:0711) base on mo_mt.bat script as the below
@echo off
:loop
d:\tools\adb\adb -s a624bfc3 shell am start -a android.intent.action.CALL -d tel:0711
timeout /t 60
d:\tools\adb\adb -s a624bfc3 shell input keyevent KEYCODE_ENDCALL
timeout /t 10
goto loop

result:
step 3) after 5th loop , phone_2 call phone_1 fail , packet as the attached files
make call fail after making the 5th call.zip
syslog.zip

Wow!!! you are doing an awesome work at automating this testing. Nice work
Regarding the failed calls, its because of below error

As you can see the E-RAB setup is failing resulting in Pre-Condition failure for the call. This is definitely a issue arising either from eNB or open5gs so I would suggest to do the following,

Update the open5gs base docker image to point to latest release tag (https://github.com/herlesupreeth/docker_open5gs/blob/master/base/Dockerfile)

In this above file change git checkout tags/v2.0.20 to point to latest release

Re-compile only the open5gs components and give it a try
If the problem still persists better to open an issue on open5gs repo

Wow!!! you are doing an awesome work at automating this testing. Nice work
Regarding the failed calls, its because of below error

As you can see the E-RAB setup is failing resulting in Pre-Condition failure for the call. This is definitely a issue arising either from eNB or open5gs so I would suggest to do the following,

Update the open5gs base docker image to point to latest release tag (https://github.com/herlesupreeth/docker_open5gs/blob/master/base/Dockerfile)

In this above file change git checkout tags/v2.0.20 to point to latest release

Re-compile only the open5gs components and give it a try
If the problem still persists better to open an issue on open5gs repo

Thank your help, you help me very much , it is "eNB" issue .
I change it to amarisoft 's eNB ,it is pass on mo/mt calling over 20 loop

Thank your help, you help me very much , it is "eNB" issue .
I change it to amarisoft 's eNB ,it is pass on mo/mt calling over 20 loop

Slightly off-topic: If i may ask, can you tell me how much you paid for Amarisoft eNB License? I am interested in buying one

Slightly off-topic: If i may ask, can you tell me how much you paid for Amarisoft eNB License? I am interested in buying one

we buy machine(PC+6 SDR card) with Amarisoft eNB License ,it about 75000 euro
We bought it from an agent in Taiwan , you can contact<EMAIL_ADDRESS>

we buy machine(PC+6 SDR card) with Amarisoft eNB License ,it about 75000 euro
We bought it from an agent in Taiwan , you can contact<EMAIL_ADDRESS>


Add a 3D cursor to VAPOR GUI

A 3D cursor could be useful for manually placing seed points in a data set around features of interest, or querying values of a variable at a point in space. See this discussion for more.

Thanks John, we were discussing this earlier today.  I was going to write this up but you beat me to it.
Do you envision a similar system to what we had in Vapor2?  We would show a 2D texture of a Slice (Probe at the time), shown on the left panel.  The user would then click on this 2D representation of the Slice and add points to a list of seeds.  I think this system worked well.

Good question. I'd be inclined to at least look at a true 3D cursor and get a feel for it. Blender provides one. Perhaps Matt can give demo.


Add iface regex to other felixconfig page

Description

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

I'm sorry but I failed delete the branch after merging the pull request.


Error whilst upgrading from 14.04 to 16.04

The following was encountered whilst upgrading 14.04 to 16.04 using do-release-upgrade (on build 14936)
package lsof 4.86+dfsg-1ubuntu2 failed to install/upgrade: unable to open '/usr/share/doc/lsof/examples/count_pf.perl.dpkg-new': Permission denied
Ubuntu created a bugreport semi-automatically, I imagine it contains useful information to investigate the issue. https://bugs.launchpad.net/ubuntu/+source/lsof/+bug/1629735

I cannot upgrade at all.
on do-release-upgrade get
checking for new Ubuntu release
Get1: Upgrade tool signature [198 B]
Get2 Upgrade tool [1,262 kB]
100% working
then:
an exit with a on-screen message saying "[screen is terminating]" I cannot do anything else.

Please include the Windows build you are running. Screen is fixed in recent Windows Insider builds but not in the Anniversary Update.

This error is on Version 1607, build 14393-222
Every attempt to do the upgrade creates a directory in /tmp with the name
and date of the download and lots of content. The error that v. quickly
flashes on the screen before screen abruptly exits is about no such
file/directory /var/run/utmp.
Searching on the web about this gave various pointers but none corrected
the behaviour.
Andrew Hart C.Eng. MRINA
amateur radio calls G8VTV / VE3NVK / VA3AIT locator FN25bh
28, Chimo Drive, Kanata, ON, K2L 1A5 Canada
tel:<PHONE_NUMBER>
The content of this message is NOT intended for the public, and is a
private communication.
On 3 October 2016 at 12:51, Ben Hillis<EMAIL_ADDRESS>wrote:

Please include the Windows build you are running. Screen is fixed in
recent Windows Insider builds but not in the Anniversary Update.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/BashOnWindows/issues/1155#issuecomment-251160068,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFMV4qrM0PyW7lBnPUXMcO-V3WoYMbFDks5qwTKQgaJpZM4KMMKT
.

You are able to run do-release-upgrade if you run a X11 server like this:
do-release-upgrade -f gtk
Altough it will still give errors about not being able to create dpkg-new files.


Missing assets, deploy errors

To repeat the errors, you need to do the following:

Create a new Jekyll project with a clean Octopod from scratch
If necessary, specify your own domain / subdomain through the CNAME file
Change the endpoint in the configuration file
Deploy in Github Pages

Errors:

Your site is having problems building: The tag podigee_player on line 1 in _posts/2016-03-22-episode0.md is not a recognized Liquid tag. For more information, see https://help.github.com/articles/page-build-failed-unknown-tag-error/.
For skip, I changed {% podigee_player page %} to {{ podigee_player page }}.
Your site is having problems building: A file was included in about.md that is a symlink or does not exist in your _includes directory. For more information, see https://help.github.com/articles/page-build-failed-file-is-a-symlink/.
For skip, I just remove all {% include icon-github.html username="jekyll" %} blocks.
Missing all assets and "subscribe" button error
You can see problems here.

I was just recreating a new site from scratch and everything worked fine.
Did you follow the Installation procedure? https://jekyll-octopod.github.io/installation
When is the first error occuring? What are your Ruby Version, Jekyll Version, jekyll-octopod versions?

Did you follow the Installation procedure?

Yep.

When is the first error occuring?

After sending the content after the octopod setup.

What are your Ruby Version, Jekyll Version, jekyll-octopod versions?

I know what I did. You can see the results here (after solving the first two errors): https://github.com/toby3d/podcast

Regarding the first error: Go back to the original syntax: {% podigee_player page %}, it was correct. podigee_player is a tag.

Regarding the second one: Now I see, as your version of Jekyll already creates a Gemfile itself, just add the line
gem 'jekyll-octopod'
instead of replacing the already existing content of the Gemfile.

bundle one more time and check the creation of the assets in your local _site directory after jekyll serve or jekyll build. Then you should be ready to deploy.

...{% podigee_player page %}, it was correct.

But then GitHub Pages does not update the site due to an error. Plus, the local launch of Octopod shows an identical error:
$ octopod s
Configuration file: ~/podcast/_config.yml
Configuration file: ~/podcast/_config.yml
            Source: ~/podcast
       Destination: ~/podcast/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
  Liquid Exception: Liquid syntax error (line 1): Unknown tag 'podigee_player' in ~/podcast/_posts/2016-03-22-episode0.md
jekyll 3.4.2 | Error:  Liquid syntax error (line 1): Unknown tag 'podigee_player'

...just add the line gem 'jekyll-octopod' instead of replacing the already existing content of the Gemfile.

Already done.

Then you should be ready to deploy.

Locally - everything is in order. Assets are lost after deploy and Github Pages reports errors.

Where is the repo and/or the branch, you pushed the generated _site dir to?

I remove .gitignore line and push _site folder in another branch.

You cannot publish to github-pages from any random branch, see their guides for it: https://help.github.com/articles/configuring-a-publishing-source-for-github-pages/
That's why I asked:

Are you aware, that to use arbitrary Gems like jekyll-octopod with Github Pages, you have to create the site locally and deploy the results yourself?

As you've spoiled the master branch for the app itself, if you want the github page to be served from the repo, it needs to live inside gh-pages. Then you also have to set branch in the project config to pick it up. (see Github's guide linked above for this as well).

You cannot publish to github-pages from any random branch

I know. I put the contents in a separate branch so you can make sure that the paths to the assets are all right, but they are not.

As you've spoiled the master branch for the app itself, if you want the github page to be served from the repo, it needs to live inside gh-pages.

GitHub Pages works with the master and gh-pages branches and the docs directory in master. I'm working with the master branch, since this repository is entirely intended to be in GitHub Pages.

There is no jekyll-octopod issue here. You have a misunderstanding of GitHub Pages.
GitHub Pages webhooks do not allow arbitrary gems in their Gemfile, they are simply ignored.
To use arbitrary Gems like jekyll-octopod with Github Pages, you have to create the site locally and deploy the results, that have been created in the _site directory to a master branch of a different project or to the gh-pages_branch of the same project yourself.


[Java] unstable test for Archive connection

this test is very unstable even on my local Linux box which shouldn't be starved or having any resource issue...
I didn't disable it because I wanted to see how it works on your build servers.
thanks.

usually, it fails with
io.aeron.exceptions.DriverTimeoutException: FATAL - no response from MediaDriver within (ns):<PHONE_NUMBER>0

or
ERROR - Archive connect timeout: correlationId=13 step=4
io.aeron.exceptions.TimeoutException: ERROR - Archive connect timeout: correlationId=13 step=4

According to Martin there is nothing wrong with this code from Aeron point of view.

I'm going to close this now.  Notes are in gitter chat.  This is caused by re-using an Aeron client that is 'owned' by another archive.


fix another unicode/mixed-type edge case in normalize_array

[X] Tests added / passed
[X] Passes flake8 dask

I initially thought that I've fixed #2713 in #4312, but I just hit an edge case that I wasn't aware of. This PR fixes that one as well and adds a regression test. Sure, the data types are weird here (bytes and unicode objects mixed), but at least dask shouldn't crash in that case.

Looks good to me. Thanks for the fix @crepererum !


Add Minimize To Tray

Add Minimize To Tray

Yep, I also need this functionality.

I don't see why this should be part of the window package. There is an alternative for tray icon which works just fine.
Minimization\restore, however, has an issue which I did not hack around yet - restoring window (.show()) after it was hidden show blank window upon first rebuild.
I think .show() should trigger a rebuild


MM 21061 limit reactions

Summary

Ticket Link
Fixes https://github.com/mattermost/mattermost-server/issues/14167
Related Pull Requests

Has server changes (please link here)
Has redux changes (please link here)
Has mobile changes (please link here)

Screenshots

Hello @vaibhav-stpl,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

@vaibhav-stpl @sudheerDev is this PR ready for QA and dev review after the above change is made for making the limit 40 reactions?

@vaibhav-stpl @sudheerDev is this PR ready for QA and dev review after the above change is made for making the limit 40 reactions?

Yes I'll make it to 40 @esethna once @sudheerDev provides me a green flag on this PR.
@sudheerDev the issue in RHS was fixed by me, all I need is some suggestions around test cases, will discuss it with you on mattermost.community channel !

@vaibhav-stpl this looks great! But note the limit should be 40, currently it's set to 5.

ya that was for testing, Initial pass I was gonna give

@vaibhav-stpl this looks great! But note the limit should be 40, currently it's set to 5.

ya that was for testing, Initial pass I was gonna give

@sudheerDev @vaibhav-stpl thanks, please add QA and dev review labels when ready

@vaibhav-stpl Had a look at the code and looks good to me in general, Please add the unit tests so we can add reviewers to the PR.
One issue i noted on spinmint is that the add reaction button is visible on mobile view of the webapp

@vaibhav-stpl Had a look at the code and looks good to me in general, Please add the unit tests so we can add reviewers to the PR.
One issue i noted on spinmint is that the add reaction button is visible on mobile view of the webapp

@sudheerDev @esethna the PR is ready for review

@sudheerDev I've worked on the PR comments, please review it once again !

@vaibhav-stpl Can you fix lint errors and push changes again?

Removing the cloud server label for maintenance purposes. Feel free to add it again if you need a test server.

Thank you @vaibhav-stpl
Seeing a couple of smaller issues

Add reaction option is available in the post 3-dot menu after limit has been reached.

When using +:any_emoji: to increment an existing reaction (regardless of the limit) the reaction does not increment for the current user. This is also happening when using + add reaction button or post menu option.

Emoji picker appears again after reactions on a post number drops below the limit.
If you open the emoji picker, but limit is reached in the meantime by other users, the emoji picker will close.
When other user removes one of the reactions, dropping the limit, an emoji picker would pop up again for the first user.
Ideally, we should stop the emoji picker to surface again, once it was closed.

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @jfrerich @emilyacook

hey @vaibhav-stpl, and thanks for your contribution! Let us know if you have any questions about Jelena's feedback above? We'd be happy to help!

hey @vaibhav-stpl, and thanks for your contribution! Let us know if you have any questions about Jelena's feedback above? We'd be happy to help!
Hey @jasonblais @jgilliam17 thanks for your help & feedback on this, can I reopen the ticket and work on these points ? Incase I'll need any help here please let me know who I can connect with ?

@vaibhav-stpl You can continue directly in this PR if you'd like :)

Incase I'll need any help here please let me know who I can connect with ?

For dev/technical questions @deanwhillier is available to help (either himself or someone from his team)?
Thanks for continuing to work on this improvement! Really looking forward to seeing this in the product :)

@vaibhav-stpl let us know if you're still working on this PR. Otherwise, perhaps @asaadmahmood can help pull it across the finish line?

Hey all, I will remove the tag Setup Cloud Test Server  for maintenance reasons. Feel free to re-add it when you need it. Thank you

Ping @asaadmahmood on this as well if you have a chance to help finish it off

Heads up that as part of our efforts to move to a monorepo, we're closing out a number of older pull requests like this one to help streamline the effort.
If you'd like to preserve these changes -- even if you're not the original author! -- feel free to resubmit the pull request against the monorepo once it's ready. You can subscribe to https://github.com/mattermost/mattermost-server/issues/22420 for status updates on this effort.


How to use [Ignore] in property?

How do I leave a property outside the insert?
how do I ignore a column in the insert?

The latest prerelease https://www.nuget.org/packages/SqlKata/1.1.8-ci-712
Allows you to use the [Ignore] annotation on the class properties.

The latest prerelease https://www.nuget.org/packages/SqlKata/1.1.8-ci-712
Allows you to use the [Ignore] annotation on the class properties.

Omg, I was all day yesterday trying to solve this haha
Thank you very much @ahmad-moussawi


feat: check size and cycle limit when insert tx into mempool

What type of PR is this?
New feature.
What this PR does / why we need it:

Add tx size check to prevent attacking by composing big tx to
Add tx_num_limit to genesis, and it will pack at most this number of tx into a block.
Change the meaning of cycles_limit in genesis. It becomes the limit of every tx instead of the whole block.

Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Lack of setting tx_num_limit and max_tx_size process, and the package interface of mempool should also be modified

Lack of setting tx_num_limit and max_tx_size process, and the package interface of mempool should also be modified

set_timeout_gap was changed to  set_args, which includes setting tx_num_limit and max_tx_size process.


Giving everything a group id of ca.islandora.alpaca

Resolve https://github.com/Islandora-CLAW/CLAW/issues/454
Travis building the artifacts properly should be enough of a test for this.  Just trying to get things in line before I drop in the broadcaster for https://github.com/Islandora-CLAW/CLAW/issues/448

👍


iCal - all day events lasting one day are recognized for the day before

Hello,
I got a weird problem concerning the ICS calendar platform and all day events that last one single day. I managed to connect my Kopano calendar to HomeAssistant via SSL (Let’s encrypt).
Everything else works fine:

umlauts
all day events that last two or more days
events that last a certain period of time, e. g. 8 am to 7 pm

As soon as I create an all day event that lasts one day, it is recognized for the day before.
Example:

event is created for 2022/09/11, all day
my mobile phone recognizes that event for 2022/09/11, all day
Kopano WebApp recognizes that event for 2022/09/11, all day
HomeAssistant recognizes that event for 2022/09/10, all day

This is an excerpt from the .ics-file:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Kopano//11.0.2//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
TRANSP:TRANSPARENT
X-MICROSOFT-CDO-INTENDEDSTATUS:FREE
CREATED:20220907T230853Z
LAST-MODIFIED:20220907T230901Z
DTSTAMP:20220907T230901Z
DTSTART;VALUE=DATE:20220910
DTEND;VALUE=DATE:20220911
SUMMARY:Test WebApp ganztÃ¤gig 11.09.
PRIORITY:5
CLASS:PUBLIC
UID:
040000008200E00074C5B7101A82E008000000008064F3D00EC3D801000000000000000001
000000C5EA678954DE4A9D840365DFBE14C377
X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20220908T075343Z
X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20220908T075343Z
X-MICROSOFT-CDO-APPT-SEQUENCE:0
X-MICROSOFT-CDO-OWNERAPPTID:-1
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
END:VEVENT
I also did a second test with an empty calendar for 2022-09-12 to be sure:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Kopano//11.0.2//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
TRANSP:TRANSPARENT
X-MICROSOFT-CDO-INTENDEDSTATUS:FREE
CREATED:20220908T213511Z
LAST-MODIFIED:20220908T213511Z
DTSTAMP:20220908T213511Z
DTSTART;VALUE=DATE:20220911
DTEND;VALUE=DATE:20220912
SUMMARY:appointment test 2022-09-12, all day
PRIORITY:5
CLASS:PUBLIC
UID:
040000008200E00074C5B7101A82E00800000000800564E4CAC3D801000000000000000001
00000035A1B8102AFD4AE9AC9D0C575AFC4F57
X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20220908T213519Z
X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20220908T213519Z
X-MICROSOFT-CDO-APPT-SEQUENCE:0
X-MICROSOFT-CDO-OWNERAPPTID:-1
X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
END:VEVENT
END:VCALENDAR
The issue happened when trying to connect my Kopano calendar to HomeAssistant (please also see HomeAssistant community).
I’ve also tried to switch to kDAV instead of Kopano iCal - same behaviour.
All timezones are set correctly (“Europe/Berlin”).
Does anybody know how to troubleshoot this?
Thanks in advance,
David

Looks a lot like a timezone-offset issue somewhere - this is probably not related to docker, but shares similarity with this issue about birthdays: https://jira.kopano.io/browse/KW-3203.
For birthdays dates are supposed to be stored as UTC timestamps in the database, however WebApp stores them in the local timezone which causes them to be off one hour (and therefore one day) via z-push. Maybe  iCal and kDAV perform an adjustment they are not supposed to do, maybe the dates in the database have been written wrongly in the first place.
You have to find out what's actually supposed to be stored - likely only the Kopano dev team actually knows that so you have to reach out to them; you also want to check what the actual current values in your database are:
This data is in the properties table, stored in a PT_SYSTIME in FILETIME format (since this is what MAPI defines; here's an online converter for it: https://www.silisoftware.com/tools/date.php). It is split in the val_hi and val_lo fields which makes conversion to a readable value non straight-forward
This is what I use to directly query the database for birthdays:
select FROM_UNIXTIME((CONV(concat(LPAD(hex(val_hi),8,'0'),LPAD(hex(val_lo),8,'0')),16,10)-116444736000000000) DIV 10000000),val_hi,val_lo from properties where type = 64 and tag = 14914;

(Kudos to Paul Nijssen for the conversion code.)
Type 64 is birthdays (as per PidTagBirthday - you probably need PidTagStartDate or PidLidAppointmentStartWhole and the respective end values; tag 14914 means datatype PT_SYSTIME.
Another approach is to use the fairly easy python bindings; you could simply run:
docker run -it kopano/kopano_python /usr/bindocker run -it kopano/kopano_python /usr/bin/python3 -c "`cat your_script.py`"

where your script connects to your server instance and list the relevant appointment properties.
Once you know what is actually stored you could check might be able to find where the slippage happens.


Don't re-index Balancer factories without any pools

With the refactor introduced in https://github.com/gnosis/gp-v2-services/pull/1487, we now attempt to re-index since block 0 Balancer pools for factories that have never created a pool.
For example, if we look at Balancer stable pools on Rinkeby (there has never been one created 😱) we see this:
$ cargo run -p solver -- --node-url https://rinkeby.infura.io/v3/$INFURA_PROJECT_ID --orderbook-url https://protocol-rinkeby.gnosis.io --balancer-factories Stable
...
2022-01-05T18:48:54.538Z DEBUG shared::event_handling: updating events in block range Specific(0)..=Latest(9939730)
...

This PR fixes this issue and correctly sets the start_sync_at_block for the Balancer pool registry in these cases.
Thanks @MartinquaXD for noticing this and bisecting the commit that caused the issue!
Test Plan
CI + Compiler. Also manually testing out the change we see:
$ cargo run -p solver -- --node-url https://rinkeby.infura.io/v3/$INFURA_PROJECT_ID --orderbook-url https://protocol-rinkeby.gnosis.io --balancer-factories Stable
...
2022-01-05T18:57:37.774Z DEBUG shared::event_handling: updating events in block range Specific(9939714)..=Latest(9939765)
...

Codecov Report

Merging #1531 (a7816d4) into main (ff59e81) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1531      +/-   ##
==========================================
- Coverage   66.76%   66.75%   -0.02%
==========================================
  Files         167      167
  Lines       32131    32134       +3
==========================================
- Hits        21453    21450       -3
- Misses      10678    10684       +6

Impacted Files
Coverage Δ

crates/shared/src/sources/balancer_v2/graph_api.rs
71.18% <0.00%> (-1.48%)
:arrow_down:

...es/shared/src/sources/balancer_v2/pool_fetching.rs
17.39% <0.00%> (+0.18%)
:arrow_up:

crates/solver/src/solver/http_solver.rs
39.86% <0.00%> (-0.52%)
:arrow_down:

Continue to review full report at Codecov.

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


ublocktrace.0

unbound version: 1.13.1
Every time I run unbound-anchor command , this ublocktrace.0 file will be generated in current directory.
What is this file for and how to avoid generating it?

This file is generated when debugging the code (specifically lock verification).
I suspect that you compiled unbound with debugging options enabled like --enable-debug and --enable-lock-checks.
Is that the case?

Yes, you are right.
It does not generate ublocktrace.0 file after I remove --enable-lock-checks  option.

Good to hear!
I would generally suggest to not enable any debug options like --enable-lock-checks when you want to run unbound as a service. These are meant to be used during development to make sure that certain conditions/assumptions remain valid while editing the code. They introduce more code to accomplish that and it leads to lower performance.


Add API Authentication

This PR adds the ability to protect Dapr gRPC and HTTP APIs using token based authentication.
Closes #1030

/make-me-laugh

/ok-to-test

/ok-to-test

Please add e2e test for this.

Please add e2e test for this.

I'll do that in a dedicated PR.

@youngbupark @amanbha @shalabhms comments addressed.

/ok-to-test


Support Multiple regexes for git type

For the distrowatch type, we support multiple regexes, such as were used here.
Supporting a list of regexes, where either one of them matches, will make it easier for us to write and maintain complicated regexes, such as those used in MariaDB. See https://github.com/endoflife-date/endoflife.date/pull/2057/files PR for eg.

This is how it looked on the code side: https://github.com/endoflife-date/release-data/blob/main/src/distrowatch.py#L18-L20

Will be useful for https://endoflife.date/jenkins too.

Alibaba Dragonwell: https://github.com/endoflife-date/endoflife.date/pull/2773/

Should have been closed with #227.


Cook book - responseSchema

Description of the feature request:
Can we get a cookbook for the usage of responseSchema
https://ai.google.dev/api/rest/v1beta/GenerationConfig
What problem are you trying to solve with this feature?
No response
Any other information you'd like to share?
No response

https://github.com/google-gemini/cookbook/blob/main/examples/json_capabilities/Text_Summarization.ipynb
That said, not sure it worked correctly. Where are the Characters in the result? Where are the location descriptions? I've been fighting with reliable json output for weeks with GEMINI models.

There's an example in the JSON mode recipe. Are you looking for more advanced examples?

Examples don't work as expected. Here is an output for trying to use one:
../../../../miniconda3/envs/projx/lib/python3.10/site-packages/vertexai/generative_models/_generative_models.py:1456: in __init__
    gapic_schema_dict = _convert_schema_dict_to_gapic(response_schema)
../../../../miniconda3/envs/projx/lib/python3.10/site-packages/vertexai/generative_models/_generative_models.py:1775: in _convert_schema_dict_to_gapic
    if "type" in gapic_schema_dict:
E   TypeError: argument of type '_TypedDictMeta' is not iterable

I used TypedDict as the cookbook uses it but it doesn't work.

../../../../miniconda3/envs/projx/lib/python3.10/site-packages/vertexai/generative_models/_generative_models.py:1456: in __init__

I see vertexai in your stack trace. This cookbook is for the Gemini API, not Vertex. We try to keep the SDKs as similar as possible but they aren't 100% drop-in compatible.
I'm able to run the JSON mode recipe from end-to-end without failure or intervention. If you are still seeing an error with the Gemini SDK, can you point to the specific example that fails using the un-edited notebook? Or provide the (edited) code you used so we can try to help.
Or if you have compatibility concerns, the best place for that feedback is in the issue tracker for the relevant SDK(s).


Create a good looking scroll bar for the web-page

Hello, I made a sample for this if its fine i would like to send a PR.

okay send it

done


Improved README.md instructions

Thanks for your gem, I was manually including the dist/ variants of the Semantic files, but this is much more convenient. I took the liberty of updating the README.md a little bit, specially since it's actually rails generate and not rails generator.

Thank you :+1:


[QUESTION] AdminLTE with AWS Cloud9

Hello,
I know how to use adminLTD with Visual Studio Code, but when I do the same with Cloud9, it does not work.
Can you explain my why?

This question will be hard to answer without sharing any details, both Visual Studio Code and AWS Cloud 9 are IDEs, and them should not have any effect on how this package works. An IDE is just a tool (or set of tools) that helps you develop/built your application faster. So, if you have Laravel 7+ working in your IDE, this package should also work there.

Thank you dfsmania, I know that are just IDEs, but it is strange that I am following the same steps in both IDEs and the problem is only with Cloud9. I have created right now a new environment with cloud9 and then I have installed composer and laravel, finally I have implemented AdminLTD, and when I make a preview, is like it does not show the css styles.

@carbauma Use your browser's console, check for errors there, maybe there is some access permission problem in your filesystem, or maybe your Laravel root URL is not correctly configured.

@dfsmania  you are right!
I have checked the browser's console, and basically the error is this one:
"Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure stylesheet ''. This request has been blocked; the content must be served over HTTPS."
Do you know what I have to do?
thank you!

Not really, but looking on the internet may help, for example:
https://stackoverflow.com/questions/72289798/laravel-include-css-file-from-mixed-content

Thank you @dfsmania I have use in the file .env this "ASSET_URL=https://example.com " and is working :)


type coercion support

ajv has this: https://ajv.js.org/coercion.html
zod has this: https://github.com/colinhacks/zod#preprocess
I wonder if it is possible to build similar auto-coercion system on top of preprocess within the fastify-type-provider-zod validator.
I can try building it, but could use some help with that as well :)

@turkerdev finishing PR for https://github.com/turkerdev/fastify-type-provider-zod/issues/6, can try doing this afterwards, but I can't find any examples on how preprocess is supposed to be used, do you maybe have some knowledge about it?

I don't think i have used it before.

Dumb question: as outlined here https://www.fastify.io/docs/latest/Reference/Validation-and-Serialization/, fastify uses ajv, and fastify's ajv default in fact coerces types to whatever JSON Schema is ultimately put into fastify.
So is there even a need to do this at the zod (or this provider) level? Or am I missing something here?

When you are using zod, you are no longer using ajv, so yes

Hmm, but ultimately this package spits out JSON Schema which is then fed to fastify, no? I thought this package was the equivalent to "pre-compiling" zod to JSON Schema which then gets plugged into fastify, which would need ajv to handle it, no?

it uses its own serializer and validator instead of ajv's

Ah, dang. (I'm continuing to hope here) what about here? https://github.com/turkerdev/fastify-type-provider-zod/blob/main/src/index.ts#L86
When fastify parses the raw body (a string) into a data object to be passed to the validatorCompiler, isn't ajv involved there (given that fastify iirc does "fast parsing" which iirc is just JSON Schema stuffed into ajv)? Or is the data here passed by fastify just a result of a JSON.parse (or equivalent)?

note the schema.parse part. this is zod parsing

RIP

Note that we wrote zod coercion library at Lokalise, we will try to open source it ASAP

Is it this? https://github.com/lokalise/zod-extras/blob/main/docs/type-coercion.md

@JaneJeon yeah, that's the one.
ours is replicating ajv behaviour in coercing, zod does its own thing, so you may pick whichever fits your use-case :)


guarding against revered xyz box ranges in Surface.set_to_trimmed()

Codecov Report

Merging #511 (816d4d3) into master (bb9ef28) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #511      +/-   ##
==========================================
- Coverage   79.20%   79.19%   -0.01%
==========================================
  Files         176      176
  Lines       29061    29091      +30
==========================================
+ Hits        23018    23040      +22
- Misses       6043     6051       +8

Impacted Files
Coverage Δ

resqpy/surface/_surface.py
66.89% <0.00%> (-0.61%)
:arrow_down:

resqpy/organize/_utils.py
56.36% <0.00%> (-1.05%)
:arrow_down:

resqpy/multiprocessing/multiprocessing.py
29.41% <0.00%> (-0.59%)
:arrow_down:

resqpy/olio/write_hdf5.py
59.71% <0.00%> (-0.44%)
:arrow_down:

resqpy/olio/vector_utilities.py
70.85% <0.00%> (-0.39%)
:arrow_down:

resqpy/model/_xml.py
90.02% <0.00%> (-0.28%)
:arrow_down:

resqpy/olio/load_data.py
48.60% <0.00%> (-0.27%)
:arrow_down:

resqpy/olio/grid_functions.py
78.47% <0.00%> (-0.17%)
:arrow_down:

resqpy/olio/keyword_files.py
46.48% <0.00%> (-0.11%)
:arrow_down:

resqpy/property/property_collection.py
82.01% <0.00%> (-0.10%)
:arrow_down:

... and 19 more

Continue to review full report at Codecov.

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