gmsh: 4.0.2 -> 4.0.4

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gmsh/versions.
meta.description for gmsh is: '"A three-dimensional finite element mesh generator"'.

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/76lvh27vd2nliaxf0cciazqhrrr76fln-gmsh-4.0.4/bin/onelab.py had a zero exit code or showed the expected version
/nix/store/76lvh27vd2nliaxf0cciazqhrrr76fln-gmsh-4.0.4/bin/gmsh passed the binary check.
1 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 4.0.4 with grep in /nix/store/76lvh27vd2nliaxf0cciazqhrrr76fln-gmsh-4.0.4
directory tree listing: https://gist.github.com/e6077b004383ca846bd851614e09ed1e
du listing: https://gist.github.com/7a4363da1cfd1501e287e40221823b4a

Outpath report (click to expand)

Outpath difference report
4 total rebuild paths
1 package rebuilds
1 x86_64-linux rebuilds
1 i686-linux rebuilds
1 x86_64-darwin rebuilds
1 aarch64-linux rebuilds
First ten rebuilds by attrpath
gmsh

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/76lvh27vd2nliaxf0cciazqhrrr76fln-gmsh-4.0.4 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A gmsh https://github.com/r-ryantm/nixpkgs/archive/6f2bb3c275c4ffd04506c96c35efd9791a50782b.tar.gz

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

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: gmsh
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Failure on aarch64-linux (full log)
Attempted: gmsh
Partial log (click to expand)
../configure: line 483: can't create lib/Makefile: nonexistent directory
../configure: line 484: can't create lib/Makefile: nonexistent directory
../configure: line 485: can't create lib/Makefile: nonexistent directory
../configure: line 541: can't create lib/Makefile: nonexistent directory
DONE configure
/nix/store/d9xpfvcvhjkvjcy42667hn4cvwnc2p8q-stdenv-linux/setup: line 100: include/atlas_cacheedge.h: No such file or directory
builder for '/nix/store/7lgxp8yh1kijjhmisanhj6ajviwm825a-atlas-3.10.3.drv' failed with exit code 1
cannot build derivation '/nix/store/kvhq0wdkyxhzyczyyvljwd0lm6k8qz0p-liblapack-3.8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/yk5kjgkphhzf6mir5rafp43gfyvqqzvw-gmsh-4.0.4.drv': 1 dependencies couldn't be built
error: build of '/nix/store/yk5kjgkphhzf6mir5rafp43gfyvqqzvw-gmsh-4.0.4.drv' failed

Success on x86_64-linux (full log)
Attempted: gmsh
Partial log (click to expand)
-- Installing: /nix/store/76lvh27vd2nliaxf0cciazqhrrr76fln-gmsh-4.0.4/share/doc/gmsh/demos/struct/struct.geo
-- Installing: /nix/store/76lvh27vd2nliaxf0cciazqhrrr76fln-gmsh-4.0.4/share/man/man1/gmsh.1
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/76lvh27vd2nliaxf0cciazqhrrr76fln-gmsh-4.0.4
shrinking /nix/store/76lvh27vd2nliaxf0cciazqhrrr76fln-gmsh-4.0.4/bin/gmsh
gzipping man pages under /nix/store/76lvh27vd2nliaxf0cciazqhrrr76fln-gmsh-4.0.4/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/76lvh27vd2nliaxf0cciazqhrrr76fln-gmsh-4.0.4/bin
patching script interpreter paths in /nix/store/76lvh27vd2nliaxf0cciazqhrrr76fln-gmsh-4.0.4
checking for references to /build in /nix/store/76lvh27vd2nliaxf0cciazqhrrr76fln-gmsh-4.0.4...

Failure on aarch64-linux (full log)
Attempted: gmsh
Partial log (click to expand)
/build/gmsh-4.0.4-source/contrib/hxt/hxt_linear_system_lu.c:113:10: fatal error: immintrin.h: No such file or directory
 #include <immintrin.h>
          ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/gmsh.dir/build.make:9371: CMakeFiles/gmsh.dir/contrib/hxt/hxt_linear_system_lu.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:777: CMakeFiles/gmsh.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
builder for '/nix/store/048c42nxdv29nyg41kbfz74rjgg4a90p-gmsh-4.0.4.drv' failed with exit code 2
error: build of '/nix/store/048c42nxdv29nyg41kbfz74rjgg4a90p-gmsh-4.0.4.drv' failed

Success on x86_64-linux (full log)
Attempted: gmsh
Partial log (click to expand)
-- Installing: /nix/store/44rsilavslh6ra7m9wawyccx6lr5wry0-gmsh-4.0.4/share/doc/gmsh/demos/struct/struct.geo
-- Installing: /nix/store/44rsilavslh6ra7m9wawyccx6lr5wry0-gmsh-4.0.4/share/man/man1/gmsh.1
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/44rsilavslh6ra7m9wawyccx6lr5wry0-gmsh-4.0.4
shrinking /nix/store/44rsilavslh6ra7m9wawyccx6lr5wry0-gmsh-4.0.4/bin/gmsh
gzipping man pages under /nix/store/44rsilavslh6ra7m9wawyccx6lr5wry0-gmsh-4.0.4/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/44rsilavslh6ra7m9wawyccx6lr5wry0-gmsh-4.0.4/bin
patching script interpreter paths in /nix/store/44rsilavslh6ra7m9wawyccx6lr5wry0-gmsh-4.0.4
checking for references to /build in /nix/store/44rsilavslh6ra7m9wawyccx6lr5wry0-gmsh-4.0.4...

Timed out, unknown build status on x86_64-darwin (full log)
Attempted: gmsh
Partial log (click to expand)
[ 34%] Building CXX object CMakeFiles/gmsh.dir/Plugin/CutPlane.cpp.o
[ 34%] Building CXX object CMakeFiles/gmsh.dir/Plugin/CutSphere.cpp.o
[ 34%] Building CXX object CMakeFiles/gmsh.dir/Plugin/Isosurface.cpp.o
[ 34%] Building CXX object CMakeFiles/gmsh.dir/Plugin/Smooth.cpp.o
[ 34%] Building CXX object CMakeFiles/gmsh.dir/Plugin/CutParametric.cpp.o
[ 35%] Building CXX object CMakeFiles/gmsh.dir/Plugin/Lambda2.cpp.o
[ 35%] Building CXX object CMakeFiles/gmsh.dir/Plugin/Eigenvectors.cpp.o
[ 35%] Building CXX object CMakeFiles/gmsh.dir/Plugin/Eigenvalues.cpp.o
building of '/nix/store/hgd1v0zdjnjdjy4if37cc0pfcika97qr-gmsh-4.0.4.drv' timed out after 1800 seconds
error: build of '/nix/store/hgd1v0zdjnjdjy4if37cc0pfcika97qr-gmsh-4.0.4.drv' failed

Success on x86_64-linux (full log)
Attempted: gmsh
Partial log (click to expand)
/nix/store/44rsilavslh6ra7m9wawyccx6lr5wry0-gmsh-4.0.4

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: gmsh
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


NAV App object Metadata table access for extensions developement

Hi,
We need Nav App object metadata table in extension development.
We need this because we want to use the User AL code blob field and retrieve the functions in a codeunit.
Can you please provide this or any alternatives?
Thanks & regards
Varun Reddy

Nav App object metadata table cannot be exposed in the cloud environment. You can still use it on on-prem solutions by setting the target to internal.
Please provide us more information about your scenario and what you would like to achieve?
/Pooya

Hi Pooya,
As said in above description we want to get the functions of the codeunit and it is only possible now in AL with the "User AL Code" field in NAV App Object Metadata table with which we can read the blob field and get the functions list.
If it is not possible to expose this table in AL hen can you please suggest us an alternative workaround?

This is not possible today and probably it will never be possible on sandboxes.
Please bear in mind that how we store and package information in the blobs is internal and can change from one version to another.

SO there is no work around also  @kalberes
Please let me know

No, there is none. You can maybe add a suggestion here https://aka.ms/BusinessCentralideas that the codeunit virtual table to contain function signature information too.

Closing this issue as this should be handled through a feature suggestion on BC ideas.

Good morning.
I need this table in SaaS.
I need to know which table extends a TableExtension. I use this table because in the field "Object subtye" I have this informatios.
Is there any other way to know this for SaaS?
Thank you


X11 MouseButton 2 (middle button) press event doesn't fire when expected.

Expected behaviour
When the middle mouse button (button 2) is pressed, I expect a GLFW_PRESS action to be triggered via glfwSetMouseButtonCallback call back function.
Actual behaviour
The GLFW_PRESS action is not triggered on button press. Both the GLFW_PRESS and GLFW_RELEASE actions are triggered (in order) when the middle mouse button is released.
When using the events test binary, I see this output:
000000cf to 1 at 4.496: Cursor left window
000000d0 to 1 at 6.096: Cursor entered window
000000d1 to 1 at 6.137: Mouse button 2 (middle) (with no mods) was pressed
000000d2 to 1 at 6.137: Mouse button 2 (middle) (with no mods) was released

The interesting part is, this 000000cf to 1 at 4.496: Cursor left window is trigged on middle button press. The last 3 lines is printed on button release.
Other mouse buttons don't have the same behaviour. Is this standard behaviour on linux?
Environment Information
Initial discovery: GLFW Vesion 3.3.4. Also observed in current head of master (https://github.com/glfw/glfw/commit/6281f498c875f49d8ac5c5a02d968fb1792fd9f5) using tests/events
OS: Ubuntu <IP_ADDRESS>
GNOME 3.36.8
X11 Window System

For me on XWayland, the bug only happens if I'm not pressing a modifier key.


fix: mandarin and cantonese state is saved across app restarts.

- What I did
Updated settings.toJson() so  mandarin and cantonese language is saved across app restarts.
- How I did it
run dart run build_runner watch  build -d in the thermal to update changes made in 'Settings' class.
- How to verify it
- Description for the changelog

These seem like non-standard locale codes, can you explain why we've opted to drop the initial language specifier rather than propogate the region specifier?

These seem like non-standard locale codes, can you explain why we've opted to drop the initial language specifier rather than propogate the region specifier?

It doesn't make a difference what the json value of the enum is since the app is using the language based on the enum itself and its extension methods, not based the jsonValue of the enum. That being said I can update it but it doesn't improve the app one iota.

These seem like non-standard locale codes, can you explain why we've opted to drop the initial language specifier rather than propogate the region specifier?

It doesn't make a difference what the json value of the enum is since the app is using the language based on the enum itself and its extension methods, not based the jsonValue of the enum. That being said I can update it but it doesn't improve the app one iota.

Can you double check that these don't collide with any standard locales, just in case we add more in the future

These seem like non-standard locale codes, can you explain why we've opted to drop the initial language specifier rather than propogate the region specifier?

It doesn't make a difference what the json value of the enum is since the app is using the language based on the enum itself and its extension methods, not based the jsonValue of the enum. That being said I can update it but it doesn't improve the app one iota.

Can you double check that these don't collide with any standard locales, just in case we add more in the future

Done. I updated the json_value so there will be no potential conflict if we add additional languages in the future.

Done, thanks for the reminder.


Missing .NET7 (MAUI Library) support

Are there plans to convert the ModernHttpClient library to a .NET MAUI library targeting .net7?
Before the holidays I saw emails indicating so.
I've already converted the project into a .NET 7 MAUI library, but there are compiler warnings.
Please let me know if I should fork or create a PR with the .NET7 changes.
warning BI1234: 'SecTrust.this[nint]' is obsolete: 'Starting with maccatalyst15.0 use the 'GetCertificateChain' method instead.'
warning CA1416: This call site is reachable on: 'MacCatalyst' 13.1 and later. 'SslProtocol.Tls_1_2' is unsupported on: 'maccatalyst' 13.0 and later.
warning CA1416: This call site is reachable on: 'MacCatalyst' 13.1 and later. 'NSUrlSessionConfiguration.TLSMinimumSupportedProtocol.set' is unsupported on: 'maccatalyst' 13.0.0 and later.
warning CA1416: This call site is reachable on: 'MacCatalyst' 13.1 and later. 'SecTrust.this[nint]' is unsupported on: 'maccatalyst' 15.0 and later.
warning BI1234: 'SecTrust.this[nint]' is obsolete: 'Starting with ios15.0 use the 'GetCertificateChain' method instead.'
warning CA1416: This call site is reachable on: 'iOS' 10.0 and later, 'maccatalyst' 10.0 and later. 'SecTrust.this[nint]' is unsupported on: 'ios' 15.0 and later, 'maccatalyst' 15.0 and later.
warning CA1416: This call site is reachable on: 'iOS' 10.0 and later, 'maccatalyst' 10.0 and later. 'SslProtocol.Tls_1_2' is unsupported on: 'ios' 13.0 and later, 'maccatalyst' 13.0 and later.
warning CA1416: This call site is reachable on: 'iOS' 10.0 and later, 'maccatalyst' 10.0 and later. 'NSUrlSessionConfiguration.TLSMinimumSupportedProtocol.set' is unsupported on: 'ios' 13.0.0 and later, 'maccatalyst' 13.0.0 and later.

Would also like to know if there are plans to support Maui with .net7, or maybe 8?


fix: Contentfull => Contentful

@janpio thanks for noticing this typo!
I already resolved this issue by accepting PR #76, but still, thanks :)


Navigate to AuthProfileScreen for the Current User

Current process

I could find my own profile via Search menu navigation (for Users) and try to follow myself via triple dots menu "..." (at top right corner of the screen).

Suggestion

How about we remove that menu if the profile that we searched for is our own profile?

What do you guys think? @housseindjirdeh @andrewda

I think there's another issue for redirecting you to our AuthProfile if you're on your own user profile.

Wait, I still don't get it. So, we just need to redirect to profile page if we click on our own user profile in the search list? Is that exactly what we need to do? @andrewda

Any time the user clicks on their own profile from anywhere, it should send them to the AuthUser page (the page that shows up when you click the profile icon in the bottom right).

Yep thanks for this @wlisrausr.
So there are two screens, AuthProfileScreen and UserProfileScreen. The AuthProfileScreen shows additional information and a settings cog na instead of the three dots. We just need to conditionally make sure anytime the user tries to navigate to their own profile it takes them to AuthProfileScreen and not the other one.
Can't seem to find the other issue @andrewda. If that doesn't exist, happy to have that functionality worked out as part of this ticket :)

Ok @housseindjirdeh, thinking back now I think it was a comment on an issue or PR a while back.

Ok. I'll work on it. Thanks a lot for your complete explanation @housseindjirdeh.

@wlisrausr I did similar in PR #211, but apparently missed the search results, you can see this PR and fix it.

Great! That's exactly what I need. Thanks @lex111. I'll fix it

Haha guess that's where I saw it @lex111 🙃

So it's the userListItemcomponent where we'll probably want to update this instead of specifically SearchScreen (right [here])https://github.com/gitpoint/git-point/blob/master/src/components/user-list-item.component.js#L114-L116) and here). This is because screens like FollowersListScreen and FollowingListScreen can show yourself as a user where if clicked should also navigate to the authenticated user's profile.
I think it might be worthwhile to just make UserListItem stateful and mapped to the state.auth.user in order to conditionally navigate to AuthProfile or Profile. That way any screen that uses this component will navigate correctly.

Yes, that's exactly what I thought. I'm working on it and thanks to make it more clearly @housseindjirdeh


Radio buttons are broken

Open the Flight Booker example

Click "Return flight"

Stare in disbelief

It's just the example that is broken. Radio buttons need to use on_update rather than add their own click handlers.
Fixed by #547


build(docs): remove yarn

As discussed in #3771 this pr removes yarn as package manager for the docs and make use of npm to be consistent.

@JWO719 thank you so much for helping and contributing!

It's a pleasure :)

Thanks again, @JWO719

🎉


Implement Logon with 2FA

What type of request is this?
New feature idea
Clear and concise description of the feature you are proposing
Hello,
to increase security when logging in, you could implement two-factor authentication (2FA). You can also log in from a different computer without the login being fished.
Additional context
No response
Validations

[X] Check the feature is not already implemented in the project.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Check that the feature is technically feasible and aligns with the project's goals.

Hi @thokich,
Thank you for your suggestion. At the moment, we do not have plans to implement 2FA, as the scope of authenticated user actions is currently limited to creating notes, which carries a low security risk.
If we decide to expand security features, including 2FA, I'll be sure to revisit and reopen this issue.


Integration Test - Release - 2019/03/07 22:15:20

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#backlog'

#pri2

#backlog

#assign PRMergerTest1

#assign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#reassign PRMergerTest2

GitHub user PRMergerTest1 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#reassign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#please-close


Removes duplicate property from "spo list list" command. Closes #6042

Removes duplicate property called Url from spo list list command. Closes #6042

Thank you @SmitaNachan!

Hi, since we had to align our v9 branch with the latest v8, some merge conflicts crept into your PR. Could you realign your changes with the latest v9, please? If you need any assistance, don't hesitate to ping us.

Ready to merge 🚀. I need to update the upgrade guidance and recheck script samples

Merged manually. You Rock 👏🤩


Fix issue with DEV environment setup:

Fix issue with environment setup:
update Dockerfile https://github.com/cilium/cilium/blob/master/Documentation/Dockerfile#L14-L15 with correct python version
Fixes: #19146
Signed-off-by: Roman Ptitcyn<EMAIL_ADDRESS>

Thanks a lot for the PR! I'm curious about this change, though. Why is the package update required? We haven't changed the based image recently, so I would expect the same packages to work just as before. I can also build this image locally without any trouble. I'm not fundamentally opposed to updating, but my concern is that this might break some of the docs generation. I've been working on updating that image (not finished), and I'm pretty sure the versions we use for some Sphinx add-ons have issues with Python3.
How strongly have you tested the change (did you check that documentation is still correctly generated)?
How did you observe the issue in #19246 exactly (can you please provide your exact command)? I'd like to see if I can reproduce it.

Thanks a lot for the PR! I'm curious about this change, though. Why is the package update required? We haven't changed the based image recently, so I would expect the same packages to work just as before. I can also build this image locally without any trouble. I'm not fundamentally opposed to updating, but my concern is that this might break some of the docs generation. I've been working on updating that image (not finished), and I'm pretty sure the versions we use for some Sphinx add-ons have issues with Python3.
How strongly have you tested the change (did you check that documentation is still correctly generated)?
How did you observe the issue in #19246 exactly (can you please provide your exact command)? I'd like to see if I can reproduce it.

Thank you for rechecking the issue. Indeed, I deploy it again and the problem didn't appear. I think the problem was with access to the partition.
Sorry for bother.


IntelliJ

Hello! I can't get this to work with intelliJ! There is a colors folder in ".IntelliJIdea2017.3\config\colors", but it does not accept .xml and // Settings: Editor > Color Scheme // ~click_wheel~ // "Import Scheme", says not a valid eclipse color scheme ...

E.g. on my side, for IntelliJ Community 2017.3.

I had to set the file in: ~/.IdeaIC2017.3/**config/**colors and named the extension from .xml to .icls.
Restart IntelliJ.
Then just went to Settings > Editor > Color Scheme and it was available in the drop-down.

Thanks for the input guys. I've updated the README to hopefully be a little more helpful (including a link to the official documentation). I'm going to go ahead and close this for now.


fix worker connection timeout error

The bug:  Workers will sometimes fail to connect to each other after initialization.  If a task for a worker is longer than the default connection timeout (60s) and another worker tries to connect to the first, they will fail.
The fix:  Setting lazy=false forces all connections to be created when workers are, meaning they do not need to be created while things are running and the above error cannot happen.  While this does add some work to startup, added computation time is negligible unless running with a very large number of workers.

Thanks for the awesome contribution @CharFox1!! This is great. I never realized where these disconnects were coming from.


Propagate version to cpp_info components

[ ] Refer to the issue that supports this Pull Request.
[ ] If the issue has missing info, explain the purpose/use case/pain/need that covers this Pull Request.
[ ] I've read the Contributing guide.
[ ] I've followed the PEP8 style guides for Python code.
[ ] I've opened another PR in the Conan docs repo to the develop branch, documenting this one. Also adding a description of the changes in the changelog.rst file. https://github.com/conan-io/docs

Ok, sorry for my misunderstanding. I do not know python well enough: I had the intuition that the lambda would use the self.version that was set when running CppInfo constructor (which is None). I did not know that the self.version would be evaluated when the dict grows


ARROW-3010: [GLib] Update README to use Bundler

This includes some unrelated changes (text -> console, using brew bundle, missing brew --prefix libffi note and a typo fix). Sorry.


modernize

similar to https://github.com/markqvist/LXMF/pull/20
creating as a draft as I still want to review some changes

So, my eyes glazed over about halfway through, so I'll have to go back later, but first blush:
Are IOError and OSError identical in all architectures and on all platforms?
Same question with the equivalence of b'foo' and foo.encode("ascii")?

Are IOError and OSError identical in all architectures and on all platforms?

Yes. It is just an alias. Try this:
>>> IOError
<class 'OSError'>

Same question with the equivalence of b'foo' and foo.encode("ascii")?

Yes

I really appreciate your willingness to help, but I'm just going to kindly ask if you read the Contribution Guidelines?
Also this one for reference.

@markqvist I understand the part about down-prioritizing formatting PRs in favor of PRs that provide functional benefits, but since there are no open PRs, I thought it might be worth a shot. If you do not like the changes for whatever reason, you can close the PR and I will carry on. No problem. You are the maintainer after all. :-)

Looking at your PR, it's seems like you're putting the proper attention into doing everything well and consistently, and the changes are definitely for the better, so in this case, it's mostly that it will probably take a while before I get around to reviewing it all. Because I do have to go over everything meticulously to ensure that nothing bad snuck in, which in this case is going to take a bit of effort ;)
Another thing I'd like you to be aware of is that this also needs to compile for Android via P4A, which has some weird issues with functions inside f-strings in certain cases. So please make sure that it actually works on that platform too. You should be able to confirm it simply by compiling the Sideband APK with your changes in it.

 Please keep them as b"xyz".

 Please keep them as b"xyz".

I did the conversions the other way around from encode() to b"".

Hah! Okay! There you go, didn't even think there were any left. My mistake!

Is this maybe a chance to settle on a format style and enforce it by checking for non-compliance from now on?

Is this maybe a chance to settle on a format style and enforce it by checking for non-compliance from now on?

If this is what @markqvist wants, I can create another PR which reformats using black and adds a CI check that checks the format. In either case this should be in another PR, not this one.

I went through my changes and now I am satisfied with the PR. Removing draft status.


build devops success image spelling

Succeeded is spelled incorrectly in the image

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

ID: 0cf98c4b-9185-00d5-a980-e2adb3e291fd
Version Independent ID: f6005931-c9b5-48d9-e6c3-f835bb9b01b1
Content: What is DevOps? - Azure DevOps
Content Source: https://mseng.visualstudio.com/DefaultCollection/TechnicalContent/_git/devops-learn-pr?path=%2fdocs%2fwhat-is-devops.md&version=GBlive&_a=contents
Product: devops
Git Login: samgu
Microsoft Alias: samgu

@kencollinsCDW Thanks for catching that, I just fixed it and it should be live shortly.


v0.37.0 support for iOS 7.0

I want to use react native v0.37.0, but it doesnt support for iOS 7.0
How can i do it?

iOS 7 is no longer supported. You should target iOS 8+ (recommended) or use an older version of React Native.


Fix code and video overflow

I went to the Web Chat workshop and noticed the layout was super broken on my phone.

This PR fixes the overflowing <video> and <code> elements.
After

Oh also looks like you might want to set the Node version to 16.x since you can't deploy 12.x anymore


User should start a game when he clicks a button

What does this PR do?
Allows user to click a button to start a game
Description of Task to be completed?
User sees a 'play' button on successful login,
when user clicks the button a modal pops up and then,
user gets the options of either playing with a friends or strangers.
How should this be manually tested?

clone the repo : git clone https://github.com/andela/izanami-cfh.git
install dependencies: npm install
start the app: npm start

Any background context you want to provide?
N/A
What are the relevant pivotal tracker stories?
#139456259 Users should be able to create/start a new game
Screenshots (if appropriate)
N/A
Questions:
N/A

Coverage remained the same at 100.0% when pulling 25dcd6d0e0bbe0dd87c0d4fa66f44074c3a1ef0b on feature/139456259/start-a-game-dev into c1c6f52e3a311450c560e8d2b66dcfea47792fbc on develop.

Coverage remained the same at 100.0% when pulling 3be8aece85879ccf510e50cd71e69bdc78406246 on feature/139456259/start-a-game-dev into c1c6f52e3a311450c560e8d2b66dcfea47792fbc on develop.

Coverage remained the same at 100.0% when pulling 5fdcfe9273ef38fb2f9ae5e506afdbd0256308b5 on feature/139456259/start-a-game-dev into c1c6f52e3a311450c560e8d2b66dcfea47792fbc on develop.

Coverage remained the same at 100.0% when pulling bb58087353fb30a1dc507999e2131f3e3ad60440 on feature/139456259/start-a-game-dev into c1c6f52e3a311450c560e8d2b66dcfea47792fbc on develop.


Instant Crash on startup

It keeps crashing on startup for some reason.

Intact is right, update ModMenu and it should fix the issue

Your ModMenu mod is too old (try Mod Menu v1.16.7 for 1.16.4/5).

Intact is right, update ModMenu and it should fix the issue

I tried updating and got this on startup.

The issue was fixed, yes, but now a new issue has arisen.

If you need new HUD Tweaks (and new ModMenu) you need a newer version of fabric loader. You can install new fabric loader in fabric installer.

Ohh, ok. Gotcha. Thanks.


Can I hide a drawer-button when drawer is showing.

I have a question.
I make a web site on a drawer based layout. I want to hide a drawer-button when a drawer is showing.
Is there any way I can do this ?

doing this with CSS only would be an ugly an unstable code so I would suggest using JS.
Bind the value of checkbox to a JS state and show/hide the button based on the value of state.

Thank you for your answer. I will try to use a checkbox click event.

Not the click event. You should observe the change event. Or if you're using a framework, bind the value of checkbox.


Immutable.List#sortBy does not work with withMutations

The following code will not sort the list:
var items = items.withMutations(list => { list.sortBy(...).sortBy(...).reverse() });

But this works as expected:
var items = items.sortBy(...).sortBy(...).reverse();

Does it not makes sense to use withMutations for these types of changes?

This is intentional - only a select few methods can be used in withMutations for List those are set, push, pop, unshift, and shift.
I'm adding these to the documentation now.


adding extract command to CLI

This PR adds a command to extract a subset of the data to a csv file for future analysis.
dplace extract --dataset EA --tree dunn_et_al2011_utoaztecan output.csv
dplace extract --dataset EA --tree dunn_et_al2011_utoaztecan --variable EA001 output.csv

One could add another option --codes, and maybe output the results as GeoJSON, and voila: All matrilocal societies on a map! Look no hands, no web-app!

Oh, I just realized that --tree is used to select a bunch of societies, too. Hm, as long as tree/phylogeny IDs don't clash with dataset IDs, we could just allow any of these identifiers to be listed for --societies.

Hmm. Yes, I wrote it for the use-case of extracting a set of data filtered by a tree. So what would a more general command look like?
Three arguments --society --variable --tree; all filter their respective parameters, so:
dplace extract --society x                                   # get all vars for society x
dplace extract --variable a                                 # extract all variable a
dplace extract --society x,y,z --variable a,b,c    # get vars a,b,c from societies x,y,z
dplace extract --tree x --variable a,b,c               # get vars a,b,c from societies on tree x (where x may be glottolog.global.trees

This gets complex fast, right? and there's some oddness i.e. all arguments except --tree take multiple values (multiple trees doesn't make sense as we can't join two trees into one without making analytic decisions). What's the minimal functionality this needs?

The way I see it, we want to filter datapoints, i.e. points in the society-variable matrix. The --tree argument is just a short-cut to filter societies, so maybe the arguments should rather be --societies-from-tree and --societies-from-dataset and maybe an additional --societies, which may accept a list of society IDs. I don't think it needs to be more complicated than that, right?

Ok -- how's this? Followed most of your suggestions, but ended up making it fuller featured anyway. To make the command code tidier I've added:

an iter_data method of Repos, which returns a generator of the records, this can be filtered by society ids, variable ids, and dataset ids. All filtering is done in-line so it's quicker and less memory hungry than the post-hoc filtering that was being done earlier (e.g. [for r in ds.data if r...]).

Adds a societies and variables dictionary to the top level repository object to make getting details of these easier.

Output is now in 'long' format rather than 'wide'  (i.e. one line per data record rather than one line per society). As this was quicker (I don't need to identify which variables are retained and sort to get the ordering right), but this does mean each row has lots of duplicate data (society name, lat, long, glottocode etc). Thoughts on this?

Looks pretty feature complete now. Long format is fine with me (no wonder, CLDF is long, too :) ) - and I think aggregating / grpuping is something

each analysis software can do well
each researcher should know how to do.

@xrotwang @SimonGreenhill If possible to keep the data download as a wide download, I think that would make it more accessible to, e.g., undergrad students/less code-savvy researchers. My two cents, it makes no difference to me, personally.

@kirbykat this pull request is not about the web app. I think people who would use this python/commandline API to extract data for further analysis would be able to transform long to wide easily.

@xrotwang @SimonGreenhill Ok, great. On a related note - I've had a couple of requests via the D-PLACE email for the "full" dataset. Any thoughts on the best response to these requests? Some people may not have the skills to use the python/commandline API to extract data...is there a "link" that would explain how to do this? I guess the alternative is to send the various input datasets directly to those requesting them.

@kirbykat The best response would be the link to this repository, I'd say. I think in a couple of weeks we should have some documentation on installation and usage of the python client API available.


Visual Studio Spellchecker: Ignore vs. Add

It's really nice to see Visual Studio finally get a spell checker! I am filing this here because I don't know where else to put the feedback:
First, a spell checker for programmers really should know about words like enum out of the box. Right now, it seems to think I should replace enum with enemas (which is both funny and disturbing):

Second, I think the wording for ignore should be changed to something like Add to dictionary. Consider the following UI from Microsoft Word (which is probably where all of us first encountered spell checking):

...in Microsoft Word, ignore is different from add. In the VS spell checker, ignore adds an entry to an exclusions file and thus behaves like add from Microsoft Word but with different terminology (which is confusing).
All in all, spell checking is a great addition and I look forward to seeing it improve...thanks to those who worked on it!

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

ID: d60df15c-4e92-4780-93ce-366bd2f5ddc2
Version Independent ID: d60df15c-4e92-4780-93ce-366bd2f5ddc2
Content: Learn about the Spell Checker - Visual Studio (Windows)
Content Source: docs/ide/text-spell-checker.md
Product: visual-studio-windows
Technology: vs-ide-general
GitHub Login: @anandmeg
Microsoft Alias: meghaanand

@ericmutta -- Eric, thank you for your positive feedback!  This repo is solely for documentation issues, and this is product-related.  Please add it here:

Report product issues to us via the Report a Problem tool that appears both in the Visual Studio Installer and in the Visual Studio IDE.
Use the new Suggest a feature for Visual Studio IDE menu item.
Suggest a feature, track product issues, and find answers in the Visual Studio Developer Community.

I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.

Many thanks for following up @WilliamAntonRohm! I have used the "suggest a feature" menu item and provided the feedback here 👍

Hello @WilliamAntonRohm....I have always been somewhat reluctant to use developercommunity.visualstudio.com because in my experience, it is where feedback goes to die. Part of the problem I believe, is that it's a popularity contest over there, so legitimate problems get ignored if no one else votes on them. As a contributor here on GitHub it takes less than 24 hours for a human to respond (much like you did - which was awesome), but over there it's been two weeks and only a bot responded.
In any case, here's another odd error from the Visual Studio spellchecker:

For programmers, destructuring is very much a word and even the first Google search result points to MDN (a programmer's reference):


OpenGL attribute error

Hi,
the iOS OpenGL ES frame capture tool in Xcode reports the following as an error:
First draw with the following declaration and length:
vertex_decl_x.add(bgfx::Attrib::Position, 2, bgfx::AttribType::Float).add(bgfx::Attrib::Color0, 4, bgfx::AttribType::Float)
bgfx::setVertexBuffer(vertex_buffer_x, 0, 8);
Then draw again a greater number of vertices with fewer attributes declared:
vertex_decl_y.add(bgfx::Attrib::Position, 2, bgfx::AttribType::Float)
bgfx::setVertexBuffer(vertex_buffer_y, 0, 768);
Drawing the second time will then be done with the second attribute array of the first draw call still enabled (and too short).
If it makes things different this is done on a sequential view.
We haven't seen this crashing yet, but it is a bit worrying.

Can you change existing example to reproduce this issue?

Is the GL_CHECK(glDisableVertexAttribArray(loc) ); line in ProgramGL::bindAttributes() intended to also disable previously enabled but currently unused attributes?
Considering how m_used is initialized doesn't look like that line is normally meant to ever run.
Before the offending draw call the loop in bindAttributes() simply runs once, any only enables the first attribute array, but doesn't disable the still enabled second one from the previous draw call.

Usage depends is program use attribute, not if it's available in VertexDecl.

If this is intended behaviour, since this is the only place where glDisableVertexAttribArray is used, is this then supposed to be handled by switching VAO?
The same VAO is now used for both the previous program and the one with fewer attributes.

Yeah VAO should handle it, but it's probably a bug. Anyhow try disabling VAO. Just above this line set m_vaoSupport = false;
https://github.com/bkaradzic/bgfx/blob/master/src/renderer_gl.cpp#L1845

It was in fact the opposite.
VAO support is disabled on GL ES 2 on iOS (line 829 renderer_gl.cpp).
Any reason for that?
git blame doesn't give a clue.
When I enable it we don't get any errors any more.
So then, when VAO support is disabled it behaves like I described before, no attributes ever gets disabled, but this is then no longer a problem for us.


Add support for opening multiple executables in File Explorer context menu

Support the opening of multiple .exe files (or other executables) at once in the File Explorer.
Add a context menu item that opens all selected executables. This would be useful for situations where running multiple executables at the same time is desired. For example, being able to run/install 10 programs at once when bootstrapping a new Windows system or testing an application in development.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

PowerToys doesn't make  changes to Explorer, it provides extensions for existing functionalities like file previews.
The type of request asked in this issue is covered by https://github.com/microsoft/PowerToys/issues/3600

PowerToys doesn't make  changes to Explorer, it provides extensions for existing functionalities like file previews.
The type of request asked in this issue is covered by https://github.com/microsoft/PowerToys/issues/3600


chore(docker) : add memory and jmx env vars

What is the current behavior? (You can also link to an open issue here)
No easy way to change Xmx or add additional java options for the TCOMP docker image
What is the new behavior?
Add env vars that open the memory and java options for the TCOMP docker image
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[x] Other... Please describe: chore

Does this PR introduce a breaking change?

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results

@sgandon I added the JAVA_OPTS environment variable and removed the hardcoded 2G Xmx. If the user wants to limit the Xmx they'll have to export the JAVA_OPTS with the desired Xmx value.
@RyanSkraba The .bat file uses already the JAVA_OPTS

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results


Forking Coracle while still keeping up to date with new releases

Hi,
I'm contemplating using this repo for a project of mine (arcmpabtc.com).
I'm wondering what you'd recommend the best method, development wise, would be to use the repo, add my own customisations, but still be able to update to future releases of Coracle if I like later on while keeping my own customisations?
How would that dev process work from a Svelte point of view?
The customisations I'm thinking would be to

pull specific kinds of notes filtered by tag to get geographic locations used in arcmapbtc.com.
add a map which displays these notes as points.
Maybe do some customisations around adding 'screens' or popups or pages pages it is in Svelte. For eg the map might be on a new page or popup for eg.

Thanks! Coracle looks great!

Thanks! I found a method where using git I van just keep an upstream branch
and a mychanges branch and merge in as a new release is made. Think that
should work. Thanks! The app looks really cool and playing with the code
now:)
On Thu, 25 Jan 2024, 6:38 am hodlbod, @.***> wrote:

It depends on how deeply you want to customize things. If you're just
adding a new screen, you should be able to keep your code mostly separate
from the base project's. I would probably try to touch as few files as
possible, adding your own separate files with custom functionality to the
project instead of editing existing ones. Hope that helps!
—
Reply to this email directly, view it on GitHub
https://github.com/coracle-social/coracle/issues/249#issuecomment-1909102977,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL5FM6WEVYSYAC4D7K4WZX3YQGLOPAVCNFSM6AAAAABCIBENWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBZGEYDEOJXG4
.
You are receiving this because you authored the thread.Message ID:
@.***>


Address ongoing issue with event-stream

Please release once this will be merged and released in email-builder-core.
Thanks!

Fixed in v2.1.2

@jeremypeter Thanks, I think would be nice to release 4.0.1 with bumped email-builder-core.


Add setting default radio TX power for IEEE 802.15.4 in OpenThread

Is your enhancement proposal related to a problem? Please describe.
While trying to set the transmission power for OpenThread running samples/net/sockets/echo_server on Telink B91 platform with CONFIG_NET_L2_IEEE802154_RADIO_DFLT_TX_POWER and CONFIG_NET_CONFIG_IEEE802154_RADIO_TX_POWER but none of them works.
AFAIK that dbm value is coming into IEE driver API function (ieee802154_radio_api.set_txpower) from zephyr/modules/openthread/platform/radio.c.
The static int8_t tx_power there is used in getter/setter functions initialized by zero. So the problem is it doesn't change in runtime, there are no otPlatRadioSetTransmitPower or otPlatRadioSetChannelMaxTransmitPower calls doing this. Only if explicitly called in driver.
Describe the solution you'd like
Apparently in modules/lib/openthread/src/core/config/misc.h there's a OPENTHREAD_CONFIG_DEFAULT_TRANSMIT_POWER define which might be used for these purposes as it's done here in OT repo.
Or consider creating Kconfig option for initializing the TX power value static int8_t tx_power in zephyr/modules/openthread/platform/radio.c

Reviewed and removed myself as assignee as this seems to be a nRF and/or OT problem only. The IEEE 802.15.4 driver API should not be the problem here. If I'm wrong feel free to re-add me. @rlubos what do you think?

Or consider creating Kconfig option for initializing the TX power value static int8_t tx_power in zephyr/modules/openthread/platform/radio.c

This seems to have been implemented in https://github.com/zephyrproject-rtos/zephyr/pull/53125, the default TX power for OpenThread can be set with CONFIG_OPENTHREAD_DEFAULT_TX_POWER. I hope this suits your needs.

As this seems to be resolved, closing the issues. Please reopen if that's not the case.


exception when using scan_id for workflow name for BIDS

https://github.com/preprocessed-connectomes-project/quality-assessment-protocol/blob/master/qap/cli.py#L336
Using  scan_id for the workflow name doesn't work for BIDS, since scan_id will contain underscores and hyphens. The workflow name verifier will throw an exception for these .

I'm having it replace illegal characters with underscores for now, but we should discuss solutions further.


[FEATURE REQUEST] Bottom to top Scrool down button

Description
Is your feature request related to a problem? Please describe.
this feature is requested to improve user exprience
Describe the solution you'd like
I want to add  bottom to top scroll button so that user does not need to scrool by himself to top .
he just need to click on that button and he will be taken to top of page.
Additional Information
Context
it will be done using htm,css and javascript

@akshitagupta15june I am writing to kindly request your attention and consideration in reviewing and accepting issue. I would greatly appreciate it if you could allocate some time to review the issue and provide your feedback. If there are any areas that require further attention or modifications, please let me know, and I will be more than willing to address them promptly

@akshitagupta15june please assign me this issue


python312Packages.tencentcloud-sdk-python: 3.0.1206 -> 3.0.1207

Diff: https://github.com/TencentCloud/tencentcloud-sdk-python/compare/refs/tags/3.0.1206...3.0.1207
Changelog: https://github.com/TencentCloud/tencentcloud-sdk-python/blob/3.0.1207/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

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

4 packages built:

python311Packages.tencentcloud-sdk-python
python311Packages.tencentcloud-sdk-python.dist
python312Packages.tencentcloud-sdk-python
python312Packages.tencentcloud-sdk-python.dist


why the test_auc is calculated by batch?

for _, uij in MyDataInputTest(test_set, FLAGS.test_batch_size):
        auc_sum += model.eval(sess, uij) * len(uij[0])
test_auc = auc_sum / len(test_set)

@jinze1994

Because it's faster than calculating one by one, and the result is consistent.


feat: setup schema

Description
Setup database schema and migration files
Ref
dbdiagram
Prisma

Close this pull request. Change destination branch from main to dev.


iOS Promotional Offers Fix

Fix typo in method call
Retrieving discounts information

I am using this API and I am getting an error saying that the user is not eligible for this offer.
Can you maybe help me with this?
  @override
  Future<void> subscribeToProduct(String productId, String offerId) => withPackage((iap) async {
        final userId = getUserId();

        final offerSignature = await _requestOfferSignature(
          productId: productId,
          offerId: offerId,
          username: userId,
        );

        final completer = Completer<void>();
        FlutterInappPurchase.purchaseUpdated.listen((event) {
          print(event);
          //TODO Finish transaction
          completer.complete();
        });

        // ignore: unawaited_futures
        iap.requestProductWithOfferIOS(productId, userId, <String, Object>{
          "identifier": offerId,
          "keyIdentifier": offerSignature.keyIdentifier,
          "nonce": offerSignature.nonce,
          "signature": offerSignature.signature,
          "timestamp": offerSignature.timestamp,
        });

        return completer.future;
      });

Especially @mgonzalezc since you are using this feature 👍

Hello @JulianBissekkou!
On the one hand, the iOS promotional offers can only be purchased if the user signed up for the same subscription you are creating the signature for. For example, if you have a subscription with id julian.awesome.game, and you have created a promotional offer inside, you can only purchase the offer if you had a subscription to julian.awesome.game in the past.
You can determine the eligibility of your user in your server. For this matter, you can implement App Store Server Notifications and save if the user is eligible in your database when you detect cancelling, for example.
On the other hand, I have experienced some issues when the purchase was done a long time ago before Apple implemented promotional offers. The error thrown was the same you describe. But this has not happened to me with more recent subscriptions.
By last, is it possible that your signature is not correct?

@mgonzalezc Thanks for the quick answer!

you can only purchase the offer if you had a subscription to julian.awesome.game in the past.
I am not sure if I understood this correctly. Are you saying that I have to create a subscription first and after that, I can apply the offer to it? 🤔
In my case, the user will have a trial period of 1 month or 7 days. The user has no subscriptions when I call the method.
productId is the id of the subscription and offerId is the Id of the offer which was inside of discountIOS.

You can determine the eligibility of your user in your server. For this matter, you can implement App Store Server Notifications and save if the user is eligible in your database when you detect cancelling, for example.

I didn't use the App Store Server Notification yet because it seems that I am doing something wrong. Every user should be eligible for my offer or am I missing something? 🤔

By last, is it possible that your signature is not correct?
It looks correct when I compare the format of the example signature in the docs and there is no error that tells me that the signature is wrong. I am generating the signature in my kotlin/java backend. Maybe you can share your implementation of the signature creation?

Thanks a lot for helping, really appreciate your answer! ☺

I am not sure if I understood this correctly. Are you saying that I have to create a subscription first and after that, I can apply the offer to it? 🤔

Yes, this is how promotional offers work. You can check this
In short, promotional offers belong to an auto-renewable subscription so if you have three different subscriptions and want to offer a 40% discount in each of them, you will need to add three promotional offers, once per subscription, inside each subscription.

In my case, the user will have a trial period of 1 month or 7 days. The user has no subscriptions when I call the method.
productId is the id of the subscription and offerId is the Id of the offer which was inside of discountIOS.
Am I doing it wrong this way?

Do you mean you have different intro prices configured for your subscription? Or do you have your own trial implementation?
If you are using intro prices, then your users have a subscription (in intro period, but a subscription either way). However, if you are using your own trial implementation, your users will not be eligible for a promotional offer. For them to be eligible, they need to buy the subscription (or trial) first from App Store.

I didn't use the App Store Server Notification yet because it seems that I am doing something wrong. Every user should be eligible for my offer or am I missing something? 🤔

They will only be eligible if they bought the subscription(or trial) before.

Maybe you can share your implementation of the signature creation?

I am using firebase functions + firebase storage for this matter:
 const productId = data.productId; //this comes from my app
 const offerId = data.offerId; //this comes from my app
 const username = data.username; //this comes from my app

 const keyId = <key_id>
 const nonce = uuidv4()
 const timestamp = new Date().getTime()
 const bucket = admin.storage().bucket();
 const filename = <path_p8_file>
 const keyFile = await bucket.file(filename).download();

 const payload = <bundle_id> + '\u2063'
               + keyId + '\u2063'
               + productId + '\u2063'
               + offerId + '\u2063'
               + username + '\u2063'
               + nonce + '\u2063'
               + timestamp

 const privateKey = keyFile[0].toString('ascii')

 const base64Signature = crypto.createSign('RSA-SHA256')
                         .update(payload)
                         .sign(privateKey, 'base64');

 const response = {
   "identifier": offerId,
   "nonce": nonce,
   "timestamp": timestamp.toString(),
   "keyIdentifier": keyId,
   "signature": base64Signature,
 };

 return response;

@mgonzalezc
Okay, there was a misunderstanding on my side because I tried to use the promotional offer as trial offers which doesn't work.
Quite a stupid mistake from my side. 🤦
It works now 👍
Anyways, thanks for your help and that you took the time to answer all my questions! 👍
As you saw, I am new to in-app payment, but I am quite experienced with Flutter and if you need help with a flutter related problem I can give back and help you there in the future.
Have a nice weekend!


Publish to SingularityHub

It might be good to start having SingularityHub build images for released versions. I'm not sure how easy this is to sync with our Dockerfile.

Last time what stopped us was the inability to push images to Singularity Hub (the only option was for Singularity Hub to build images on the server). That lead to a bit of a chicken and egg situation during releases (if a minimal singularity recipy was used) or a risk for having different images in singularity hub and docker hub since they were built at different times and in different environments. Maybe those issues have been resolved in the meantime.

an explicit +1 on the issue -- would be nice to be able to just pull shub://
the problem with pulling from docker:// is inability to guarantee/verify that the image is the same since I guess upon regeneration would be a different checksum... thus -- no git-annex/datalad containers-add for me

on the other hand, I thought: may be it is worth setting up

bids-apps github organization
automated script to monitor list of bids-apps/docker hub and generating per each bids-app repository which would provide a collection of Singularity.version files which would be merely e.g.

Bootstrap: docker
From: poldracklab/fmriprep:1.2.1@sha256:647a7901d4044aebeb8bc34351f346bc37482f52abd5ee4618964dc6e3df151e

with an explicit digest to guarantee that some rogue tag change would invalidate it ;-)

and enabling singularity-hub to monitor all those repos...

This way it might be 1-to-1 correspondence with docker versions (given that bootstrapping from docker works as desired).
just an idea ;)

TBH I'm happy with any approach. I haven't looked into how to build Singularity images from recipes or push to singularityhub. If someone who does want to work on these things knows what they're doing, I'm content to let them go ahead. If it turns out to be suboptimal, we can try again in the future. But having a singularity image we can point to as canonical would be great.

TBH I'm happy with any approach.

me too! ;)

In preparing for the potential for parallel distribution of Docker and Singularity images in FitLins, I've taken to maintaining a .neurodocker.json file. This file provides a single source that NeuroDocker can use to produce a Dockerfile and a Singularity recipe, which should help reduce the possibility of unsynchronized images.
If this seems like a good approach, a good first step would be to translate the current Dockerfile to a NeuroDocker description.

Do you think neurodocker will be able to accommodate the idiosyncrasies of our docker image? (thinking of ICA-AROMA, svg/png compression and templateflow)

Sure, you can add arbitrary Docker commands like RUN. We can probably also add syntax to make node installations easier.

So apparently there's no Singularity equivalent to ARG. @kaczmarj Perhaps you have some suggestions for alternatives?

@effigies - you are correct that there is no equivalent to ARG. you can pass environment variables at container build time, but it looks like the %labels section does not accept environment variables.
for example, if your singularity recipe looks like the one below and you have some build-time variables VERSION, you can build as follows:
Bootstrap: docker
From: alpine
%post
  echo "$VERSION"
%labels
  version $VERSION

jakub@dash:~/tmp$ sudo SINGULARITYENV_VERSION=1.0.0 singularity build test.sif Singularity
WARNING: Authentication token file not found : Only pulls of public images will succeed
INFO:    Starting build...
Getting image source signatures
Skipping fetch of repeat blob sha256:8e402f1a9c577ded051c1ef10e9fe4492890459522089959988a4852dee8ab2c
Copying config sha256:ff8df268d29ccbe81cdf0a173076dcfbbea4bb2b6df1dd26766a73cb7b4ae6f7
 585 B / 585 B [============================================================] 0s
Writing manifest to image destination
Storing signatures
INFO:    Running post scriptlet
+ echo 1.0.0
1.0.0
INFO:    Adding labels
INFO:    Creating SIF file...
INFO:    Build complete: test.sif

notice that in %post, $VERSION is resolved correctly. but it is not resolved in the %labels section. unfortunately, fmriprep likely wants the ARG functionality for the labels.
jakub@dash:~/tmp$ singularity inspect test.sif

{
	"org.label-schema.build-date": "Tuesday_19_March_2019_14:44:41_EDT",
	"org.label-schema.schema-version": "1.0",
	"org.label-schema.usage.singularity.deffile.bootstrap": "docker",
	"org.label-schema.usage.singularity.deffile.from": "alpine",
	"org.label-schema.usage.singularity.version": "3.1.0",
	"version": "$VERSION"
}

i'm not sure how to get around this issue now, other than to set labels in the neurodocker command.

Proof of concept that will trigger a singularity hub build immediately after a push to docker hub. The singularity built from the docker image with nothing else done in its definition file:
https://github.com/rwblair/webhook_test
Still need to parse the response from github when creating a deployment. If deployment creation (and thereby the singularity build trigger) fails circle will still show that step as successful.

oh, sweet!
On my end I forgot to update that I also initiated https://github.com/ReproNim/containers which

is a datalad dataset where I plan to "collect" all kinds of useful containers (ATM singularity but later docker too)
for each bids app (for now I just do for selected set of bids apps) it provides Singularity file to have it built it from a Docker
has a helper runner for singularity to guarantee isolated/reproducible execution with Singularity
each one will have datalad-containers configuration established, so they would be

fetchable from Singularity hub storage
readily usable with datalad containers-run

See https://github.com/ReproNim/containers/issues for some list of planned TODOs etc. Would be nice to join efforts.  In the least, I could just benefit from using "official" fmriprep singularity images, so to not torture singularity hub twice to build them ;)
Here I outlined a DataLad centric workflow I envision using/proposing

@rwblair more reasons to push on this - https://neurostars.org/t/fmriprep-1-4-0-installation-issue/4333/2

Okay, as @rwblair has pointed out over email, Singularity Hub is shutting down - https://singularityhub.github.io/singularityhub-docs/news/
Of the options listed there, I found these two more suitable:

Build and upload Singularity images to GitHub releases: see https://github.com/singularityhub/singularity-deploy
Use datalad-container to manage your built images, and host them across a wide range of storage solutions supported by DataLad or git-annex: see the datalad handbook for details.

Option 1) does not seem to accommodate our case, as assets on GitHub releases are limited to 2GB. So, @yarikoptic what is your opinion about 2?
(closing the issue for the time being - will open a new one for the datalad-container option)


Any example on how to use it?

Hi,
Is there any example on how to use it? Or is there any GUI for it?
Thank you.

Not yet. We'll work on the docs once the concept is stabilized (there's plenty of experimentation still going on with basic things).
There are no specific plans for the GUI as of yet. link-etl is purely a framework at the moment. But there's definitely a place for GUI to map sources to targets.

Actually here is a simple example:
// bootstrap shared runtime that will run tasks
DataSource srcDS = // define how you'd connect to  ETL source
ServerRuntime targetRuntime = // Cayenne setup for ETL target .. targets are mapped in Cayenne
EtlRuntime etl = EtlRuntimeBuilder()
          .withConnector("myconnector", new DataSourceConnector(srcDS))
          .withTargetRuntime(targetRuntime)
          .build();

// create a reusable task for a given transformation
EtlTask task = etl.getTaskService()
         .createOrUpdate(MyTargetEntity.class)
         .sourceExtractor("my-etl.xml)
         .matchBy(MyTargetEntity.NAME).task();

// run task, e.g. in a scheduled job
Execution e = task.run();

@andrus
Thank you for the example.
So the target entities need to be referenced directly MyTargetEntity.class. Would it be possible to work with the CayenneModeler generated XML only, i.e. references to those nodes?
This way, a tool would not need to depend on user generated source code (compiled or not), only on configuration files. I suppose for a GUI would be much easier this way too.
E.g. In Scriptella http://scriptella.javaforge.com/ the execution can be defined in an XML file:
http://scriptella.javaforge.com/tutorial.html
It has the advantage that non-java developers can easily change stuff and re-execute.

Potentially yes.
The original use case the tool was designed for is the apps that need to import data from somewhere. So the source structure is dynamic ("my-etl.xml"), but the target is "complied" (it has a Cayenne model and all the Java classes). If source structure changes, you simply change the XML (no need to even restart the app); but target changes happen within your own release cycle, so you would take advantage from compile-time checks, and etc. None of this contradicts your scenario to "work with the CayenneModeler generated XML".. I'd say the LOE to add 'createOrUpdate("MyTargetEntity")' should be pretty low.

I documented the example in this issue under the root README.md. Closing the issue.


Code generated to [Params(..)] Benchmarks

Currently, for a benchmark like this:
public class IntroParams
{
    [Params(100, 200, 300, 400, 500)]
    public int A { get; set; }

    [Params(10, 20, 30, 40, 50)]
    public int B { get; set; }

    [Benchmark]
    public void Benchmark()
    {
        Thread.Sleep(A + B + 5);
    }
}

We generate all these benchmarks:

Each of which has the [Params(..)] hard-coded, e.g from IntroParams_Benchmark__A-100_B-20
public static void Main(string[] args)
{
    try
    {
        Program instance = new Program();
        instance.A = 100;
        instance.B = 20;
        instance.setupAction();
        instance.targetAction();
        System.Console.WriteLine(EnvironmentHelper.GetCurrentInfo().ToFormattedString().AddPrefixMultiline("// "));
        System.Console.WriteLine();
        instance.RunBenchmark();
    }
    catch (Exception ex)
    {
        System.Console.WriteLine(ex);
        throw;
    }
}

Should we revert to the old way of doing this, i.e. only generate 1 benchmark and pass the values for A and B in on the cmd line?

:+1:

Now being tracked as part of #154


Uncaught ReferenceError: _flutter is not defined

Hello, I am using Flask to make web via Flutter.
Frontend developer  made web server using spring framework, and I want to change it to Flask framework.
During rendering index.html built by Flutter, I got an error in my browser(Chrome) like below.

And my directory is

Is there anyone who can help me with handling this error? Thank you very much!

@hmj2414
Check this similar issue and see if it helps in your case.
Also, looking at the details you provided, it seems you are using lot of custom and third party implementation so it is tough to know what could be exactly causing the issue.
I suggest you to ask this question on support channels like StackOverflow for further resolution.
Closing from here. If you think there's a genuine bug in the framework, please provide a complete minimal reproducible code sample without any third party plugins that triggers the error reported.


Non-rounded corners after latest update and I don't like it.

Microsoft PowerToys version
0.57.0
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
I'm not really sure if it's to do with the change mentioned in patch notes, but I've been using FancyZones mainly with one zone on each monitor, padding the edges a bit to actually see the nice rounded corners in 11. Now, when I snap windows in position, the corners get squared up. If the change is indeed intended, would it be possible to add a toggle?
✔ Expected Behavior
Rounded corners when snapping in a 1-zone layout.
❌ Actual Behavior
Square corners when snapping in a 1-zone layout.
Other Software
No response

This is indeed intended, because keeping the rounded corners on windows that have touching edges left little (and unappealing) gaps between them. I think your layout is kind of unique.

/dup 17367


Breaks Edge on Windows 11

Edge completely destroys itself when installing this on Windows 11 (23H2 22635.2552).
Copilot will throw an error related to the protocol (it can't find an app for the edge protocol). Also I have MS Edge Canary

it looks like an anti-consumer practice by @Microsoft

could you try removing Edge canary, repairing edge and restarting the installation?


"devDependencies" moved as "dependencies" in the package.json file

Hi, I had to change this to get in working correctly. If not I have to install the dependencies manually.
Thanks :)

Hi @gonsfx, could you publish this? You've done it but without incrementing the version number in your package.json, and npm can't serve the right one.
Thanks!

Sorry. Published as 1.0.2.
Thanks for the heads up!


How to set/remove stroke?

All text after translation has a black outline. This makes it difficult to read. I don't know which UI engine is being used.
How to adjust/remove stroke?
I use Melon Mod
PS
game -- Virtual Succubus

I defined the text type - TextMesh Pro.
I'm currently looking for what parameter can be set for OverrideFontTextMeshPro and FallbackFontTextMeshPro...
I will be grateful if you help.
Stroke example

I'm guessing that I need to specify where the game font is stored to specify the path to it in the FallbackFontTextMeshPro property.
Or you need to make your own font in Unity and upload it to the game folder. Right?
Is it possible to configure the font parameters by specifying its properties?


Prevent quickfix window from opening

Hi, thanks for the very nice plugin!
When I execute a simple run recipe for a script, e.g.,  require('recipe').execute({cmd = 'python %'}):focus({kind = 'float'}), the quickfix window will always open, even if there are no entries. Is it possible to configure the plugin/recipe such that quickfix will only open if there are errors?
Is it also be possible to have more control over stdout, for instance, I would like to be able to send stdout to a new buffer (opened as a split)?

Oh absolutely. The quickfix window opens due to the qf component which is attached to the script.
You can disable the qf component by feeding components = { qf = false }  in the same table as cmd.
As for more control over the stdout, there is a component api that is not as documented, but is used by both qf and dap and any other thing you would want to inspect and hook into a running task.
In your plugin directory you can place a file recipe/components/myplugin.lua inside any rtp path such as your config or another plugin lua/ dir. (you can test by doing require("recipe.components.myplugin manually to check that it will be found) to create a custom one, which can then be attached to a recipe with components { myplugin = {opts}}.

Agreed, that is likely a good idea to have.
I'll add an open = boolean|fun() and most likely use it myself.
You can at any time override the component configuration for all recipes in the default_components in the setup table.
There Are a few areas that have been left after quite a large refactor, so I'll clean those up as well 😊

Awesome, thank you! :)

Should be done now.
If there is anything more you'd like added feel free to open an issue.
I am using this plugin daily for all my build and debugging tasks, so I currently just implement things as I need them unless there are other requests


Create data groups chunk in preprocessing

Create a chunk to distinguish which individuals in the dataset have what data, this will then give us accurate NAs. Use case_when to do this.
Empty chunk currently exists called: data level groups to enter this chunk here.
E.g.

Has only prepandemic == 0
prepandemic and baseline == 1
prepandemic, baseline, and retrospective == 2

Has been added.
Prepan data was assumed when the GLAD start date wasn't NA.
Baseline data was assumed when the COPING start date wasn't NA.
Different levels of retro data was created - those who has complete PHQ, GAD and PCL:

PHQ Retro data was assumed when there were no items missing.
GAD Retro data was assumed when there were no items missing.
PCL Retro data was assumed when there were no items missing.
Full data was assumed when GLAD and COPING start dates weren't NA and PHQ/GAD/PCL had no missing items.

@mollyrdavies @topherhuebel @klpurves
This chunk may need some revision depending on how we would like to define the categories -  but it's a start.


ARM soft FP ABI support is broken

Describe the bug
ARM FP "soft" ABI support is broken (cannot be enabled).
The softfp allows software floating-point emulation on the ARM processors that are not equipped with an FPU.
To Reproduce
Try building anything with CONFIG_FLOAT=y and CONFIG_FP_SOFTABI=y
Impact
Unable to use language-level floating-point features on FPU-less ARM devices (e.g. Cortex-M0(+) and Cortex-M3).
Additional context
https://github.com/zephyrproject-rtos/zephyr/blob/b42fe9c7645544e0a72cd2d5f8edc49f5f7c3652/arch/Kconfig#L516-L518
https://github.com/zephyrproject-rtos/zephyr/blob/33928f18ae063fa8cb97ebd35481d7a7db04e927/arch/arm/core/aarch32/Kconfig#L220-L236

cc @ioannisg

Closing, since an alternate fix has been applied: see https://github.com/zephyrproject-rtos/zephyr/pull/23948#issuecomment-606430554


Add PatternParameterInSubmodule

It waits for https://github.com/chipsalliance/Surelog/issues/1909 or https://github.com/verilator/verilator/issues/3144


Feature Request: Automatic time sync with home assistant clock

Hi,
I've noticed after powerfailure that Velbus clock is reset. I now manually sync the clock via HA.
Although I could write an automation that syncs the clock at boot time it would be beter if the velbus integration notices an offset it automaticaly syncs the clock.
This would fix multiple clock issues at once:

Daylight saving time
Clock reset due to power failure or velbus power turn off for any reason
Clock drift of some modules

How i imagine this would work, since the velbus clock of each module is pushed on the bus every once in a while, the integration could pick up on each of these messages and compare them to it's own linux clock. if the offset is greater than, for example 5 seconds, it could force a clock sync to all or that specific module (don't know if one module sync is possible).
Thanks in advance!
Kind regards,
Jeroen

this is a great idea and should be easy to implement.
but this should be behind a config option.
90% is there we just need to check for an incomming time message and parse it

Any idea on implementation time :)?

after the festival season i can have a look.
but we can only do this outside of an automation if hass generates an event once a day or something like this
if hass des not generate this we can not trigger it

Any progress on this ? I also like an automatic time sync for the Velbus.
Has someone already a solution ?
Thanks, Peter.

I made this automation in the meanwhile :
The automation syncs the Velbus-time every day at 03:00:05 AM, so changes for the DST summer- and wintertime will be (hopefully) automatically applied next time ;-)
alias: Sync Velbus clock
description: ""
trigger:
  - platform: time
    at: "03:00:05"
condition: []
action:
  - service: velbus.sync_clock
    data:
      interface: <IP_ADDRESS>:54934
mode: single

For what I found there is no way to automatically create an automation from within an integration.
I can add this example automation to the docu, but that's about all I can do.


Define "concrete"

We use it twice (soon to be thrice) but don't define it anywhere. It should be defined on the generics page as an item where all generic parameters have been instantiated with a non-generic type. The uses of "concrete" should link to this definition, and it should also be added to the glossary, again linking to the full definition.
We should also have examples that show that scalar types are concrete, types that don't have any generics are concrete, things like Option<u8> are concrete, and probably some counterexamples as well.

In type theory, these are called ground types.  But in teaching material, they call them concrete types. This includes TRPL.
I really have a disdain for these kind of terminology rifts where academia and non-academia use different terms for the same exact thing.
IMO, we should point out that ground type is the type theory term, but use concrete type in the reference. Most people reading the reference will have learned from TRPL, so it would only confuse them to suddenly change terminology when going to the reference.


Not able to see searchbar in File : Quick Open Recent

Issue Type: Bug
Steps to reproduce :
Command + Shift + P -> File : Qick Open Recent ... > [Missing searchBar]
VS Code version: Code 1.67.2 (c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5, 2022-05-17T18:20:57.384Z)
OS version: Darwin x64 21.4.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (12 x 2600)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
4, 3, 2

Memory (System)
16.00GB (0.12GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (32)

Extension
Author (truncated)
Version

vscode-css-formatter
aes
1.0.2

mergetool-navigator
aps
0.1.0

shell-syntax
bma
1.0.3

bracket-select
chu
2.0.2

vscode-eslint
dba
2.2.2

docs-markdown
doc
0.2.111

xml
Dot
2.5.1

gitlens
eam
12.0.7

EditorConfig
Edi
0.16.4

shell-format
fox
7.2.2

vscode-jasmine-test-adapter
hbe
1.8.1

vscode-test-explorer
hbe
2.21.1

beautify
Hoo
1.5.0

Runner
mat
0.1.16

python
ms-
2022.6.2

vscode-pylance
ms-
2022.5.3

jupyter
ms-
2022.4.1021342353

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.7

test-adapter-converter
ms-
0.1.6

material-icon-theme
PKi
4.17.0

ruby
reb
0.28.1

java
red
1.6.0

LiveServer
rit
5.7.5

sort-lines
Tyr
1.9.1

vscodeintellicode
Vis
1.2.21

vscode-java-debug
vsc
0.40.1

vscode-java-dependency
vsc
0.19.1

vscode-java-pack
vsc
0.22.4

vscode-maven
vsc
0.35.1

vscode-ruby
win
0.28.0

JavaScriptSnippets
xab
1.8.0

(2 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
pythonvsnew555:30457759
vscscmwlcmt:30465135
cppdebug:30492333
vscaat:30438848
vsclangdf:30486550

<!-- generated by issue reporter --
<img width="757" alt="Screenshot 2022-05-30 at 12 02 33 PM" src="https://user-images.githubusercontent.com/75189373/170931535-fe8a44d2-bd39-40d7-9935-b70cd46515e3.png">
>

Quick pickers in quick open mode do not show a search bar because they are meant to be operated by keybinding.
It is a bit odd though to show these in the F1 list so maybe we can remove them from the list.
//cc @TylerLeonhardt

It will be nice to have a search bar in recent files as before (like in the older versions),
Consider the scenario, where we have multiple builds(folders for each branch, and multiple versions of build on each branch), in this case, if I need to open a recently opened build on a particular folder, I can simply search the folder name(branch name) which will list recently opened build on that particular folder.
It will be nice to provide an option in settings to turn this behavior on and off

.

That command is not gone:

Thanks for the update. @bpasero
But please reconsider https://github.com/microsoft/vscode/issues/150683#issuecomment-1141162047 this scenario too.
Two different behavior for the same action will look like a bug.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Feature: add envVarsFromFieldRef  to chart

Add a envVarsFromFieldRef to be able to configure the deployment env vars using field refs (valueFrom.fieldRef) according to
https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/object-field-selector/#ObjectFieldSelector
The main purpose is to configure env.WATCHED_NAMESPACES with the namespace where the controller is deployed

Please see KES deprecation announcement

#864


Improve aggregation documentation

closes https://github.com/crate/tech-writing-domain/issues/199
Summary of the changes / Why this improves CrateDB
This change does the following:

Drops the table of aggregation functions from selects.rst.
This table was out-of-date and even if it was updated was likely to become
out-of-date again in the future. This is because this information duplicates
what is in builtins/aggregation.rst and developers adding support for new
aggregation functions are likely to repeat the mistake of updating
aggregation.rst and not the summary table in selects.rst.
I tried moving the summary table to aggregation.rst, but after improving
this page (see below) I found that the table repetitive and of little value.

Reorganizes aggregation.rst so that functions are listed alphabetically and
subsections are better organized. Expands headers to provide full syntax
descriptions, per the headers elsewhere in the docs (e.g., scalar.rst).
Splits out mean(column) into its own subsection and mentions that it is an
alias for avg(column).
The result is that the page TOC functions as an easy-to-reference summary of
the page content (thus obviating the need for a summary table).

Some light copyedits.
This page could do with more extensive reworking, but that is substantially
out-of-scope for the parent issue.

@mkleen sorry for the messy changset. most of the diff is a result of me re-ordering the subsections. it might be easier to view the file locally to get a sense of the finished result

There is one error:
/var/lib/jenkins/workspace/CrateDB/crate_on_pr/docs/general/builtins/aggregation.rst:188:Title underline too short.


Create a sharedconfig.xml for FlareVM & CommandoVM

Details
Details
Currently, we have separate configs for FlareVM and CommandoVM. Things that are shared between the two have been placed inside of the debloat.vm package.
While this is convenient location due to both VM's using it, if we start to put things unrelated to "debloating" inside of it to be shared (such as the Cmd Here functionality), it starts to defeat the intent of the original package.
I propose we create an additional config file that includes things to be shared across both FlareVM and CommandoVM to have a proper home for things of that nature.

@emtuls Could these be added to common.vm? It's a package who's purpose is to share functionality for use on any VM flavor. I think it's a good place to add a sharedconfig.xml too. Thoughts?

I do think that if we go the route of having a sharedconfig.xml that common.vm would be a good place to throw it into. 🙂
Right now, there isn't really many things that would fit into a shared config, so this likely won't get implemented any time soon, but it is good to have the discussion for when that time comes. Thanks for the suggestion!


Are we building all our pull requests twice with Travis CI?

This is what it looks like when we make a new pull request:

Why are there two builds? Do we need them both?

I think we may disable one of them. travis has triggers for both push and pr.
I could try and disable the 'build pushes' setting, and see if it still re-tests when we update pull requests etc.

I turned off the 'build on push' setting, leaving only the 'pr' setting on.
https://github.com/stianjensen/wikipendium.no/pull/353 seems to be building only once, now.
I also tried force pushing to the branch, which correctly triggered a new build.

(y)


RemovedInDjango19Warning about importlib when using Django 1.8

When running Django 1.8, I get this warning (repeatedly):
py-env/local/lib/python2.7/site-packages/sendfile/__init__.py:23: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
  from django.utils.importlib import import_module

Suggested fix: just import importlib (and not django.utils.importlib), it's included in Python 2.7. Check https://docs.djangoproject.com/fr/1.8/releases/1.7/#deprecated-features-1-7, search for "importlib".

This was fixed in https://github.com/johnsensible/django-sendfile/pull/37. This issue can be closed.

Nice :)


Async atom

Add async atom support & fix some bugs

Codecov Report

Merging #7 (eef112f) into master (fc93d52) will decrease coverage by 1.04%.
The diff coverage is 92.00%.

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
- Coverage   91.69%   90.65%   -1.05%
==========================================
  Files          19       20       +1
  Lines         771      813      +42
==========================================
+ Hits          707      737      +30
- Misses         64       76      +12

Impacted Files
Coverage Δ

.../Recoil+SwfitUI/Hooks/UseRecoilValueLoadable.swift
83.33% <90.47%> (+0.57%)
:arrow_up:

Sources/Core/Store.swift
80.89% <91.30%> (-4.19%)
:arrow_down:

Sources/Core/Protocols/RecoilLoadable.swift
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Add an endpoint to save idle users form data

Issue
Create endpoints to save and extract the idle user's form data.
Description
Create an endpoint that can save the data that is being sent from my site's idle users form
Link to the issue ticket: https://github.com/Real-Dev-Squad/website-my/issues/293
Create another endpoint that can extract the user data from the database to access it in the status site.
Link to the issue ticket: https://github.com/Real-Dev-Squad/website-status/issues/337
The big picture is to manage all the idle users effectively
Link to the issue ticket: https://github.com/Real-Dev-Squad/todo-action-items/issues/107
Discuss the collection to be used whether to create a new collection or use any pre-existing collection
find out ways to show data in case a different collection is used, and how will the data be shown for the correct user.

@RitikJaiswal75 I want to work on this issue.

Status Update

[12/12/2022] No Work Done

Hi @shmbajaj the issue has already been solved by @heyrandhir


providers/client.dart references missing utils/api.dart file

It seems a required file is missing.
providers.client.dart depends on package:no_signal/utils/api.dart
but that file is not in the utils folder, which has only
setup_appwrite.dart
split_string.dart

Hey @eg185060 ,
You have to create this api.dart file storing all the necessary info.
I have mentioned in the readme as well

Ah yeah i see now, sorry! My bad.


new lexer request: gnu data language

(Original issue 377 created by None on 2008-12-03T22:20:16+00:00)
Hi
it would be nice if we could get a lexer for gdl sources
http://gnudatalanguage.sourceforge.net/
cheers
Reimar
Reported by ReimarBauer

(Original comment by thatch on 2009-06-21T21:47:32+00:00)
A link to a language description or example file would be nice.

I'm closing all requests for lexers/formatters without a patch/PR.


RFE: Add deterministic option for reduce, scan, etc.

The default work sharing strategy on sm_35+ isn't deterministic by default.  Would be great to have the option to use the even_share strategy to get determinism even if it's a little slower.

Commit f558c6d resolves this issue for all variants of device-wide reduction.  (Block reduction, warp-wide reduction, and all variants of prefix scan have always been deterministic.)
Note that all CUB device-wide algorithms are "run-to-run" deterministic for pseudo-associative reduction operators (like floating point addition), i.e., their results are consistent across multiple runs on the same device.  Floating point reduction may produce slightly different results on different devices having different numbers of SMs or different compute capabilities (where CUB might use different tile sizes.)

@dumerrill could be incorrect in 2022 especially for some device-wide operations. see details in https://github.com/NVIDIA/cub/issues/441 and https://github.com/NVIDIA/thrust/issues/1587#issuecomment-1021471946
CC @allisonvacanti @senior-zero

@dumerrill comment might be incorrect in 2022 especially for some device-wide operations. see details in https://github.com/NVIDIA/cub/issues/441 and https://github.com/NVIDIA/thrust/issues/1587#issuecomment-1021471946
CC @allisonvacanti @senior-zero

Closing after all, we'll let this old RFE rest. I've filed a new issue for the regressions at #471.


Keyboard pushes Navigation Bar off the screen

I am trying to create a layout with a text input at the bottom and a header at the top (chat window)
When the keyboard is not displayed, the layout looks as expected.
The scene is similar to this
<View style={{flex: 1}}>
     <View style={[position: 'absolute', top: 0, left: 0, right: 0, height: 50]}>

     </View>
     <View style={[position: 'absolute', bottom: 0, left: 0, right: 0, height: 50]}>
         <TextInput />
     </View>
<View>

When the TextInput gains focus and the keyboard is displayed, the TextInput sits right on top of the keyboard as expected.
However the element positioned at the top is pushed off the screen at the top.

It seems this might be a core issue. It looks like If I minimize the app, then bring it back up, it locks the element at the top as expected. When you first run the app it pushes it off the screen. Definitely seems like a bug to me.

How it is connected with this component?

https://github.com/facebook/react-native/issues/6785
@aksonov It is not. I believed it was a scene issue.. the same thing happens with the NavigationBar in the router.  I made a ticket on ExNavigator as well (2.x same issue) however upon close inspection I found it must be a core bug so I made the above ticket.

I also meet this question. Finally, I resolve it by defining the top of each scene.
<Navigator     ...     sceneStyle={{height: **}} />
And, I also use a third part module https://github.com/jaysoo/react-native-extra-dimensions-android to get the real height.

@dongrenguang  Did you set sceneStyle height to window dimensions ?
ie
const { width, height } = Dimensions.get('window')
const sceneStyle = { height: height }

?

+1 one here. I'm about to try the solution proposed above.

+1 for me as well. Checking the workaround

+1 here

+1 gonna try it


Styles doesn't load when trying to use SCSS instead of CSS file

Styles doesn't load when trying to use SCSS instead of CSS file
What package(s) are you using?

[x] Cloud & Cognitive
[ ] Legacy/CDAI
[ ] Legacy/Security

Detailed description
I'm trying to use the ibm-cloud-cognitive library for the first time. Although React components work fine, I'm struggling with importing the styles. On the quick start page I can find only how too import css:

But since we use scss in our project, I'd like to import the scss index file. What I found is @carbon/ibm-cloud-cognitive/scss/index.scss so i try  to import it like:
@import<EMAIL_ADDRESS>in my main scss file:
$feature-flags: (
  grid-columns-16: true,
  enable-css-custom-properties: true
);

@import<EMAIL_ADDRESS>$carbon--theme: $carbon--theme--g10;
@include carbon--theme();

@import '~carbon-components/scss/globals/scss/styles.scss';
@import<EMAIL_ADDRESS>
This results in following error:
ERROR in ./src/stories/_carbon-styles.scss (./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/stories/_carbon-styles.scss)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):

@import 'carbon-components/scss/globals/scss/vars';
^
      File to import not found or unreadable: carbon-components/scss/globals/scss/vars.
      in<EMAIL_ADDRESS>(line 11, column 1)
 @ ./src/stories/_carbon-styles.scss (./node_modules/style-loader!./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/stories/_carbon-styles.scss) 2:14-133 21:1-42:3 22:19-138
 @ ./.storybook/config.js
 @ multi<EMAIL_ADDRESS><EMAIL_ADDRESS>./.storybook/config.js ./.storybook/generated-entry.js (webpack)-hot-middleware/client.js?reload=true&quiet=true

In my other project, I get following error:
Fatal error: Error: Can't find stylesheet to import.
  ╷
8 │ @import '@carbon/import-once/scss/import-once';
  │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
<EMAIL_ADDRESS>8:9  @import
  src\styles\common\_common.scss 11:9                           @import
  src\styles\common-light.scss 12:9                             root stylesheet

Both are strictly carbon import related. Maybe I should import the scss in different way?

Is this issue related to a specific component?

No

What did you expect to happen? What happened instead? What would you like to

Probably I do something wrong (it's not documented in any way) or there is a bug. I'd expect to have a way to import scss styles instead of css.

What version of the @carbon/ibm-cloud-cognitive packge are you using?

"@carbon/ibm-cloud-cognitive": "^0.36.21",
"carbon-components": "10.32.1",
"carbon-components-react": "7.32.1",

I managed to resolve the second error
Fatal error: Error: Can't find stylesheet to import.
  ╷
8 │ @import '@carbon/import-once/scss/import-once';
  │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
<EMAIL_ADDRESS>8:9  @import
  src\styles\common\_common.scss 11:9                           @import
  src\styles\common-light.scss 12:9                             root stylesheet

by chaning my sass-loader rules not to follow this old ~ import pattern. So this was not related to any issues on the ibm-cloud-cognitive side.
However, the first issue still occurs, it might also be that the node-sass loader doesn't work correctly with this code, needs further investigation.

Importing @carbon/ibm-cloud-cognitive/scss/index is right, and should work. However, to compile the scss your sass will need to be able to resolve all the dependencies, and that seems to be where it's falling over. carbon-components/scss/globals/scss/vars is probably the first external import it hits, so it looks like your sass is not looking in the right places for this. You might need to add your node_modules dir to an include path list or something like that.
I'm not aware of any specific reason that node-sass shouldn't work with our SCSS, but note that node-sass has now been deprecated for over six months and is getting maintenance updates only. We use sass (Dart Sass) for our own builds, and there may gradually be differences that draw these apart. We found the changeover quite straightforward -- I don't think there was anything we had to change other than the command line invocation (which became a lot simpler as it happens!).

I was able to fix the issue and I confirm it was on our side.
For people struggling with similar cases, I updated all the storybook dependencies and changes the sass-loader from node-sass to latest sass (Dart sass) version.
Nonetheless, the correct way to import scss styles could be mentioned in your docs/readme/storybook, I think it will be helpful.
Thank you!


Refine IpcSchemaEncoder API and docs

Note this targets https://github.com/apache/arrow-rs/pull/6444
While reviewing the (very nice and very fast) work from @brancz I wanted to help improve the documentation and refine the API a little as part of the review. I figured it would be easier to propose these changes as a PR rather than comments

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


fix(client): display default answer for auth:cancel prompt

Just making it clear that if an answer is not supplied, the default answer is no.

Code LGTM.

:ship:


Entitees Not Avaiablr

This interfac has stopped working. The three entitees are listed as unavailable.

Marty,
Mine is a little different.  It says unknown after about a half hour.  I also posted my issue (#49)
I hope the community can get this fixed.
73,
Dave

My production system says unknown and my test system says unavailable.
Marty
Sent from my iPhone

On Apr 13, 2022, at 3:20 PM, David Hartley @.***> wrote:

Marty,
Mine is a little different. It says unknown after about a half hour. I also posted my issue (#49)
I hope the community can get this fixed.
73,
Dave
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

see #49

in that thread you mention clients.py but i can't find that file in my system. where is it?

Blitzunortung is failing again. I have opened an issue.
Marty Boroff

On Apr 13, 2022, at 6:34 PM, alphachris @.***> wrote:
see #49 https://github.com/mrk-its/homeassistant-blitzortung/issues/49
—
Reply to this email directly, view it on GitHub https://github.com/mrk-its/homeassistant-blitzortung/issues/48#issuecomment-1098545228, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2EZ2XSNHS5A4P5HKDZGDDVE5DYLANCNFSM5TLCM7JQ.
You are receiving this because you authored the thread.

Thanks Marty
Sent from my iPad

On Jan 12, 2023, at 4:05 PM, mboroff @.***> wrote:

Blitzunortung is failing again. I have opened an issue.
Marty Boroff

On Apr 13, 2022, at 6:34 PM, alphachris @.***> wrote:
see #49 https://github.com/mrk-its/homeassistant-blitzortung/issues/49
—
Reply to this email directly, view it on GitHub https://github.com/mrk-its/homeassistant-blitzortung/issues/48#issuecomment-1098545228, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2EZ2XSNHS5A4P5HKDZGDDVE5DYLANCNFSM5TLCM7JQ.
You are receiving this because you authored the thread.

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.

I was able to determine there was a firmware update for both the red and blue boards in Nov 2022. When I used the link for the socket I got a response of “update”. I suppose they may have change the handshake since the socket is still valid.