iOS Simulator hot reload doesn't work with iOS 11 and XCode 9

Opening a copy of #11945 since it does not seems to be fixed:
flutter upgrade
From https://github.com/flutter/flutter
   3433f42b0..63d7b9338  master     -> origin/master
Already up-to-date.

Upgrading engine...
Already up-to-date.

Flutter • channel alpha • https://github.com/flutter/flutter.git
Framework • revision 701d534ba9 (2 weeks ago) • 2017-09-12 14:01:51 -0700
Engine • revision 31d03de019
Tools • Dart 1.25.0-dev.11.0

Running "flutter packages upgrade" in myapp...        7.8s

Running flutter doctor...
[✓] Flutter (on Mac OS X 10.12.6 16G29, locale en-IT, channel alpha)
    • Flutter at /Users/mnova/dev/tests/flutter/flutter
    • Framework revision 701d534ba9 (2 weeks ago), 2017-09-12 14:01:51 -0700
    • Engine revision 31d03de019
    • Tools Dart version 1.25.0-dev.11.0

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).
      If Android SDK has been installed to a custom location, set $ANDROID_HOME to that location.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.0, Build version 9A235
    • ios-deploy 1.9.2
    • CocoaPods version 1.3.1

[-] Android Studio
    • Android Studio at /Applications/dev/Android Studio.app/Contents
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[-] IntelliJ IDEA Community Edition (version 2016.3.4)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins
    ✗ This install is older than the minimum recommended version of 2017.1.0.

[✓] IntelliJ IDEA Ultimate Edition (version 2017.2.3)
    • Flutter plugin version 17.0
    • Dart plugin version 172.3968.27

[✓] Connected devices
    • None

and then:
flutter  run
Launching lib/main.dart on iPhone 7 in debug mode...
Running Xcode build...                               10.2s
Sep 27 15:52:14 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.ServerDocuments.ServerFileProvider): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:14 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.ServerDocuments.ServerFileProvider): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:14 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.videosubscriptionsd): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Sep 27 15:52:14 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:14 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Sep 27 15:52:14 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:14 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.AssetCacheLocatorService): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:14 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.AssetCacheLocatorService): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:14 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.StreamingUnzipService): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:14 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.StreamingUnzipService): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.WebKit.Networking): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.WebKit.Networking): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.intents.intents-image-service): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.intents.intents-image-service): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.WebKit.Databases): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.WebKit.Databases): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.DictionaryServiceHelper): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.DictionaryServiceHelper): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.AnnotationKit.MigratorService): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.AnnotationKit.MigratorService): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.WebKit.WebContent): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.WebKit.WebContent): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.AssetCacheLocatorService): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.AssetCacheLocatorService): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.Photos.CPLDiagnose): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.Photos.CPLDiagnose): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.StreamingUnzipService): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.StreamingUnzipService): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.uifoundation-bundle-helper): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.uifoundation-bundle-helper): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.Safari.ImageDecoder): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.Safari.ImageDecoder): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.Safari.History): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.Safari.History): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.CloudDocs.MobileDocumentsFileProvider): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.CloudDocs.MobileDocumentsFileProvider): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.CloudDocsDaemon.container-metadata-extractor): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.CloudDocsDaemon.container-metadata-extractor): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.mobileslideshow.PhotosFileProvider): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.mobileslideshow.PhotosFileProvider): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.intents.intents-image-service): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.intents.intents-image-service): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.DictionaryServiceHelper): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.DictionaryServiceHelper): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.AssetCacheLocatorService): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.AssetCacheLocatorService): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.Photos.CPLDiagnose): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.Photos.CPLDiagnose): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.StreamingUnzipService): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.StreamingUnzipService): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.uifoundation-bundle-helper): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.uifoundation-bundle-helper): Unknown key for Boolean: EnablePressuredExit
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.FileProvider.LocalStorage): Unknown key for Boolean: EnableTransactions
Sep 27 15:52:15 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (com.apple.FileProvider.LocalStorage): Unknown key for Boolean: EnablePressuredExit

Hi @cbracken, if I look at https://github.com/flutter/flutter/pull/12079 I can see that you expect some info from RUNNER, however in the device system log, if I filter for RUNNER I can only see:
Sep 27 16:21:29 mymac Runner[72309]: assertion failed: 16G29 15A372: libxpc.dylib + 69578 [D870A237-D3A7-31F5-AAD4-CE880C0C8E7B]: 0x7d

which is also confirmed by flutter -v run:
[  +18 ms] tail -n 0 -F /Users/myuser/Library/Logs/CoreSimulator/EE6B4E55-E5EC-4B24-9BD5-5444F120F82B/system.log
[   +2 ms] Building Runner.app for EE6B4E55-E5EC-4B24-9BD5-5444F120F82B.
[   +3 ms] Building build/app.flx
[  +43 ms] tail -n 0 -F /private/var/log/system.log
[ +220 ms] which zip
[   +5 ms] Encoding zip file to build/app.flx
[  +10 ms] [build/flx/] zip -q /Users/myuser/dev/tests/flutter/myapp/build/app.flx fonts/MaterialIcons-Regular.ttf AssetManifest.json FontManifest.json LICENSE
[  +33 ms] Built build/app.flx.
[   +1 ms] /usr/bin/xcrun simctl get_app_container EE6B4E55-E5EC-4B24-9BD5-5444F120F82B com.yourcompany.myapp
[        ] /usr/bin/killall Runner
[  +56 ms] [DEVICE LOG] Sep 27 16:21:29 mymac com.apple.CoreSimulator.SimDevice.EE6B4E55-E5EC-4B24-9BD5-5444F120F82B[66813] (UIKitApplication:com.yourcompany.myapp[0x6bf4][66839][67117]): Service exited due to signal: Terminated: 15 sent by killall[72307]
[   +3 ms] [DEVICE LOG] Sep 27 16:21:29 mymac syslogd[66815]: ASL Sender Statistics
[  +63 ms] /usr/bin/xcrun simctl launch EE6B4E55-E5EC-4B24-9BD5-5444F120F82B com.yourcompany.myapp --enable-dart-profiling --flx=/Users/myuser/dev/tests/flutter/myapp/build/app.flx --dart-main=/Users/myuser/dev/tests/flutter/myapp/lib/main.dart --packages=/Users/myuser/dev/tests/flutter/myapp/.packages --enable-checked-mode --observatory-port=8100 --diagnostic-port=8101
[  +46 ms] [DEVICE LOG] Sep 27 16:21:29 mymac launchd_sim[66813]: BUG in libdispatch client: kevent[mach_recv] monitored resource vanished before the source cancel handler was invoked
[ +115 ms] com.yourcompany.myapp: 72309
[        ] Waiting for observatory port to be available...
[ +472 ms] [DEVICE LOG] Sep 27 16:21:29 mymac Runner[72309]: assertion failed: 16G29 15A372: libxpc.dylib + 69578 [D870A237-D3A7-31F5-AAD4-CE880C0C8E7B]: 0x7d

this issue is present in the alpha branch but on master has been fixed!
Switching to master (flutter channel master) solved this problem!

I still have an Problem
Oct  2 19:12:32 Lukass-MacBook-Pro com.apple.CoreSimulator.SimDevice.8EADD4B6-5B22-  4172-8A40-C8EE4D533825[1698] (com.apple.videosubscriptionsd): Service only ran for 0   seconds. Pushing respawn out by 10 seconds.
anyone how to solve it?


Allow to run tests after installation of taipy

The REST package looks like this:
- src
  - taipy
    - rest
- tests

Some tests depend on import based on the src.taipy. This is a problem when we want to test if the package is correctly installed from pypi because we removed the src folder to ensure we are testing the package install by pypi and not the local.
** Acceptance criteria **
We should be able to do:
cd taipy-rest
pip install .
rm -r src
pytest

OBSOLETE


(WIP) feat!: rework DrawObjects

This PR is meant to replace DrawObjects with Painters.
Main changes that are planned include:

Canvas will now implement Drawable interface, which has draw() method. This will allow for easier interception and/or manipulation of drawing on canvas.
BoxObject and TextObject will now use BoxPainter and TextPainter names.

This should remove a lot of confussion of what they exactly are and what they do

TextObject will use normal rectangle, and will allow for multiline text drawing, simplifying component creation that use text by a lot.
new ShapePainter class that will allow for drawing on canvas using 2d array, allowing things like Frame to use only one component instead of combining multiple – again simplyfying component creation
Potential performance improvements as painters will try to calculate neccessary data using signals instead of doing it each time rerender() gets called

Is this completely dead?

Is this completely dead?

This PR, probably.
Tui in itself? Not really
There is just a lot of things I want to do at this moment.
I was working on completely rewritten Tui version, but there is a lot of things I want to take in consideration about its design, mostly to completely fix issues I have with current implementation.
There is also a lot of unknowns regarding Deno and JSX support on JSR.

Alright, I understand.
I really like the concept of this library and its relative novelty, especially in the Deno space. I haven't seen many good alternatives in the Node ecosystem either. However, I've encountered some bugs with rendering and other areas. These might not warrant issues right now, considering a rewrite is planned.
If you develop a more stable design for the project and have a clear vision for its overall feel, I'd be willing to help with some implementations. While I don't have extensive experience in this terminal rendering aspect, I'd be eager to contribute and learn.


close #164 support promotion, adjustment, tax for caculate commission for payout

Close as dublicate with https://github.com/bookmebus/spree_vpago/pull/167


PP-3445 update and pin dependencies

Update and pin dependencies by using shrinkwrap. Also, add shrinkwrap to Docker build to be used.

github issues


Permission denied when connecting to UI

Hello,
I'm making a POC with Hygieia, and I've had the following problem: when I call the UI in a browser (http://myhost:3000), I get a 403 Forbidden error. In the UI docker image, I see many of the following logs:
2018/03/23 11:08:34 [error] 9#9: *1 open() "/usr/share/nginx/html/favicon.ico" failed (13: Permission denied), client: x.y.z., server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "remotehost:3000", referrer: "http://remotehost:3000/"
I build everything straight from Github's master branch, on a RHEL box. I build the docker images, by following this documentation: http://capitalone.github.io/Hygieia/builddocker.html
After a bit of surfing, it seems that the problem is that nginx's user doesn't have the correct rights on the served files: https://github.com/docker-library/docs/issues/883
I tried several chown and chmod but it seems not to work...
Can anybody help?
Thanks a lot,
Sébastien

@spennec - this is typically a cookie issue. Can you go to chrome://settings/siteData - search for localhost and delete that cookie.

@spennec - when you search make sure you are searching the cookies and not the settings. That part trips me up fairly often

That solved the issue, thanks a lot! Now bumping into another problem but probably totally unrelated, so I'll open another issue.

Ouch sorry: the problem was actually solved by two things:

cleaning site data
modifying the UI's dockerfiles (UI/Dockerfile and UI/docker/Dockerfile) to include this line:

chown -R nginx:nginx /usr/share/nginx/html/
@matthewbeasley  do you think this should be corrected in master?

@spennec - I'm not sure that's necessary. Shouldn't the nginx image already be the owner of that directory?

What I've seen is that the directory is owned by nginx but all the files inside belong to root. Changing them to nginx seems to solve the problem. Didn't want to open a PR for this because it's my first time using nginx, so I might be wrong.

@spennec - yea that totally makes sense. Mind submitting another PR to add the chown to both files?

ok will do. Just for my understanding: it seems like the docker files at the root are the "real" ones, that you can use with a docker-compose. Those in the docker subdirectories seem linked to the maven plugin that you want to get rid of, right?

@spennec that's correct.


RSpec/ExampleWording autocorrect breaking code on multiline example strings

When I run rubocop --require rubocop-rspec --only RSpec/ExampleWording --auto-correct against the code below:
RSpec.describe 'Testing' do
  it 'should be flagged '\
     'but correctly fixed' do
  end
end

I get:
RSpec.describe 'Testing' do
  it 'is flagged '\ 'but correctly fixed' do
  end
end

Which is invalid syntax:
bundle exec rspec test_spec.rb                                                                                13:30:12

An error occurred while loading ./test_spec.rb.
Failure/Error: __send__(method, file)

SyntaxError:
  /Users/rgibim/workspace/ruby-scripts/test-rubocop-rspec/test_spec.rb:2: syntax error, unexpected $undefined, expecting keyword_end
    it 'is flagged '\ 'but correctly fixed' do
                    ^
  /Users/rgibim/workspace/ruby-scripts/test-rubocop-rspec/test_spec.rb:2: syntax error, unexpected keyword_do_block, expecting end-of-input
  ...ged '\ 'but correctly fixed' do
  ...                             ^~

Quite an interesting case, thanks for reporting.

I took a stab at it, a multi-line string literal is parsed as dstr. It's not a big deal to combine it.
Joined node_parts by value to get the original string.
Had to add a check that all node_parts are of a str_type? though, otherwise, other string interpolation literals cease to work.
Not happy about the code, the things are getting complicated, trying to untangle the code, and will send a pull request.


Check if a number is prime (Sieve of Earastosthenes)

@Vishal1003  I am working on this .

Please assign it to me

Is this issue still open?

@Vishal1003 Assign this issue to me. I would be happy to work on this issue.

@Vishal1003  please merge PR #75


Ledger: replace U2F with WebUSB

Preview is available here:http://laboratory-pr531.previews.kube001.services.stellar-ops.com/

Preview is available here:http://laboratory-pr531.previews.kube001.services.stellar-ops.com/

Preview is available here:http://laboratory-pr531.previews.kube001.services.stellar-ops.com/


loader.txt too big for pastebin

When I copy the content of loader.txt to pastebin. I got the error that it is too big for pastebin.

That's not an issue just use any other  server or service to host the file


Add pf-evals package into msi

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.

Allow built-in evaluators work for C#: add pf-evals package into msi.
Add manually stop promptflow service step

All Promptflow Contribution checklist:

[ ] The pull request does not introduce [breaking changes].
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.
[ ] Create an issue and link to the pull request to get dedicated review from promptflow team. Learn more: suggested workflow.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

still use vbs to hidden run stop command for now. Not sure why Quieexec command can't find pf command for now


Renamed StackFrame.lineNumber to StackFrame.line

Should fix this missing line numbers issue: https://github.com/VladimirRybalko/angular-applicationinsights/issues/52
I could not find how to solve it for the column numbers. Looks like Application Insights does not support that now.
I used this interface as a reference: https://github.com/Microsoft/ApplicationInsights-JS/blob/master/JavaScript/JavaScriptSDK.Interfaces/Contracts/Generated/StackFrame.ts

@SuperfastJellyfishh thanks for your contribution. I'll be happy if you continue to support ptoject.


Auto-setup url authentication is same for all App provider companies

Current Behavior
Currently App provider can set the Auto-Setup Url only and when backend calls this endpoint ,it sends the token generated by client which is coming from environment variable.

So that mean App provider needs to set Central idp from operator as authority on their auto setup url.
And all App providers will have to share same client id and secret for this.
Expected Behavior
App provider should be able to set the Auth url , client Id and secret so that portal BE can access the auto setup url by using these details same like OSP callback URL

@MaximilianHauer @evegufy @Phil91 @ntruchsess
As we discussed in open meeting , i have created this issue.
Please let me know if i am missing anything here.

@dhiren-singh-007 I agree, we should give the providers the possibility to setup their own user / authentication url.
@MaximilianHauer fyi
I've also just added the following issue: https://github.com/eclipse-tractusx/portal-backend/issues/1175


Add a solution to InternalError webhook context timedout

Context
https://github.com/actions-runner-controller/actions-runner-controller/issues/1527

Add the entry to the pages index


[Feature request] Simple wallet option

It would be great to have to option to hide the api keys and menu bar for non admin users on mobile.
This way the Export to Phone with QR Code could be used to give limited access to users, where they cannot edit any settings nor create new wallets.

Yes, obviously. The point is more to make a shareable browser-based wallet, without giving ordinary users full access, not necessarily to lock out tech savy users.
Thinking about it, maybe it would make sense to not only make this mobile centered, but rather to give admins an option to set simple mode.
Essentially, in simple mode, users cannot create wallets and cannot see anything about extensions unless the admin has activated the extension for the user already.
Basically, the user in simple mode should only see this:

There's an option to disable the API stuff on the server settings, extensions tab:


Latest tag not available on NuGet

Description
The most recent version (3.11.3) of the library is not available on NuGet, where only 3.11.2 is available.
https://www.nuget.org/packages/nlohmann.json
Reproduction steps

Expected vs. actual results

Minimal code example
No response
Error messages
No response
Compiler and operating system
Windows
Library version
3.11.3
Validation

[ ] The bug also occurs if the latest version from the develop branch is used.
[ ] I can successfully compile and run the unit tests.

From the README:
If you are using NuGet, you can use the package nlohmann.json. Please check https://github.com/nlohmann/json/issues/1132#issuecomment-452250255 on how to use the package. Please file issues here.

@gregmarr This issue is not about how to use Nuget. Please read the Description above again.

Please file a report somewhere at NuGet.

@pavelschon This comment wasn't about how to use nuget, but about who maintains the nuget package.  The link for filing issues is in the repo where that package is maintained.


Remove not required invariants in x/leverage endblocker

Summary
Nice to have for v3, otherwise we move it to v4.
Don't use compute intensive invariants in endblocker
Problem Definition
Endblocker operations should be strictly minimum. Only required operations should happen there:

no-one is paying for that operations
all possible verification should happen at the tx level
too time intensive operations can be dangerous for consensus (if operation will stuck somewhere or will impact the block time).
finally they can cause chain halt.

https://github.com/umee-network/umee/pull/1300 added more invariants and we should rethink them.
Proposal

Use only strictly required invariants in the endblocker
other invariants should be only applied for genesis load.

For Admin Use

[x] Not duplicate issue
[x] Appropriate labels applied
[x] Appropriate contributors tagged
[x] Contributor assigned/self-assigned

We should specifically remove the "iterate all balances" invariants, but there's no scaling problem with the "iterate all denoms" ones.


Max UUID as MAX constant

See §5.10.
We just need to add a MAX constant akin to how we provide NIL currently.

Currently the validate function does not consider the MAX uuid as valid, maybe this is something we want to change in the next major version? 🤔


MM-20445: Migrate 'components/integrations/bots/add_bot' module and associated tests to TypeScript

Summary
This PR migrates 'components/integrations/bots/add_bot' module and associated tests to TypeScript
Ticket Link
Fixes https://github.com/mattermost/mattermost-server/issues/16129
JIRA: https://mattermost.atlassian.net/browse/MM-20445
Release Note
NONE

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

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

/e2e-tests

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/220882


Bug: ColorbarSize ignored by Mosaic function

Thank you for the additional colorbar-options in the last update of MRIcroGL.
I've noticed a bug when setting the Font/Colorbar size in Preferences > Advanced.
After editing MRIcroGL.ini (e.g. by changing  ColorbarSize=0.03500000015 to
ColorbarSize=0.01500000015) the colorbar is resized for all display options, with the exception of  MOSAIC, which ignores the ColorbarSize (regardless of whether the GUI or the script is used).
Generally, a function to flexibly change ColorbarSize or Font sizes in Scripting would be awesome.
Cheers, Matthias

The pre-release  [v1.0.20180402(https://github.com/neurolabusc/MRIcroGL/releases/tag/v1.0.20180402) adjusts this - I have uploaded a MacOS compiled version, for Linux or Windows you can build your own or wait a few days. This new release includes the scripting function COLORBARSIZE, so the code colorbarsize(0.05); will attempt to find a nice colorbar size that is about 5% of the image dimension. This now also impacts the mosaic views.
Note you can not specify the font size, but it does scale with the colorbar size. The font size is dependent on your colorbar range, with a colorbar that has the range -1024..1024 requiring a smaller font that a color bar with the range 1..4 to display the precision. In general, you may want to use PhotoShop or another image editor to precisely tune your font.
Also note that mosaics are very different from the other views. All the other views always scale to your computer screen resolution. The idea of a mosaic is to generate an image for publication, and therefore when you use File/Save and File/Copy with the mosaic view the resolution is determined by the base resolution of your image, not the current resolution of your screen (to minimize interpolation). This often means that the saved mosaics often look a little different to the ones shown on screen, as they optimize the aspect ratio. This is a feature, not a defect.
Additional features are described in the release notes, but some of these are shown below. Specifically, if you drop a folder with several DICOM series onto the toolbar, you will get the option to open one series. MacOS users get an experimental dark mode. The tool panel now allows the user to select the line color and line thickness of lines (and you have script commands for this). Note that line colors are not allowed to be precisely the same color as the background, so if your background is pure white (255,255,255), then a white line will be shown as black (to enhance contrast). If you really wanted a white line in this case, you could set the line color to (255,255,254). The mosaics allow you to show renderings (R) and the orthogonal lines (X).

BEGIN
	RESETDEFAULTS;
	COLORBARVISIBLE(false);
	LOADIMAGE('mni152_2009bet');
	OVERLAYLOAD('motor');
	OVERLAYMINMAX(1, -4, -4);
	CLIPAZIMUTHELEVATION(0.5, 90, 0);
	MOSAIC('V -0.2 H -0.2 A -24 -16 40 50; 60 70 S X R 20');
	XBARTHICK(3);
	XBARCOLOR(255, 255, 255);
END.


[FLINK-1193][java-api][scala-api] Complete support for multidimensional arrays

This PR introduces official support for multidimensional arrays.
It contains bug fixes for TypeExtractor and Serializer (see [FLINK-1193]) as well as adds tests for Java and Scala API.

I will merge this, fixing the comment...


Fix BQRS files being corrupted when zipped

See the two commits:

We do not decode the read file into a string anymore, so this should fix the corruption of the BQRS files
We now store the files in the ZIP using DEFLATE compression instead of using the default STORE compression. This should reduce the uploaded file size since the files are now actually compressed

Sorry a bit of a drive by comment rather than a review: do we need to keep the existing code as is so that the existing ("remote queries") flow doesn't break?

I just tried it out in "remote queries" mode too and it still works when using this branch, so I think it's all fine.


MAINT improve efficiency of rvs_ratio_uniforms in scipy.stats

improved the loop to generate random variates (observation of @WarrenWeckesser  in #8681)
size now supports 1e3 etc, this raises an error in 1.2.0 and 1.3.0

This is now a very straightforward improvement, and Warren's comment was addressed. So merging. Thanks @chrisb83


Add usage examples of very big arrays to the documentation

I have tried using ASDF for saving big (for me) array data, but it always ended up with my RAM usage exploding.
Could you please demonstrate how one could save, load and change very big arrays in ASDF files?

Hi @yuvallanger, just to be concrete and so I can try to reproduce your issues, can you give me a rough order of magnitude estimate of the size of your data? 10s of GB? 100s? Larger than that? Or smaller?
Also are you reading that data from another source on disk and copying it into an ASDF file or does that data start in memory before you try to save it?

I am generating coordinates by analyzing video files. Each frame may contain ~100 points. Each video may be a few hours long at a 25 frame per second, so about:
(8 byte per float64) / (2 float64 per point) * (100 points per frame) * (25 frame per second) * (3 hours) = 412 MB.
That's quite small in comparison to the sizes you had in mind. I must be doing something extremely dumb.
Are there any example code in which arrays of my size (or yours) are involved?

I definitely wouldn't assume that you're doing something dumb. I will dig around for some examples but in the meantime do you have a minimal code snippet to show what you're trying to do? I don't need the data itself but I'm just curious about your use case.

Let's say I have a very long videos being analyzed, producing coordinates of the moving objects within each frame, so its columns will be ["frame_index", "x", "y"]. If I were using CSV, I could save a coordinate per line in the file and not keep it all in memory before doing something like ff.write_to(data_file)

Streaming data into an ASDF file is already supported, and there's already a bit of documentation. I haven't looked at it much myself and the interface looks a little awkward, but maybe it can get you moving in the right direction.
It looks like you could probably set your stream "row" width to be the size of a frame, or maybe a group of frames, and then just write out regularly instead of keeping it all in memory.
Does this make sense? I'll take a closer look at this functionality myself, but let me know if you have any questions or issues in the meantime.

I managed to test the conversion from an already generated CSV file into an ASDF file. Managed to do it with with some pain in the data type definition and conversion part.
In [271]: with open('/home/yuval/test.asdf', 'wb') as fd:
     ...:     with open('2017-06-19.csv', 'r') as cfd:
     ...:         c = csv.reader(cfd)
     ...:         header = next(c)
     ...:         dtype = numpy.dtype(list(zip(header, ('int64', 'int64', 'int64', 'float64', 'float64'))))
     ...:         ff = asdf.AsdfFile(dict(data=asdf.Stream([1], dtype)))
     ...:         ff.write_to(fd)
     ...:         print(dtype)
     ...:         print(header)
     ...:         for row_index, row in enumerate(c):
     ...:             converted_row = tuple(numpy.int64(row[:3])) + tuple(numpy.float64(row[3:]))
     ...:             converted_row_array = numpy.array(converted_row, dtype=dtype)
     ...:             converted_row_str = converted_row_array.tostring()
     ...:             fd.write(converted_row_str)
     ...: new_ff = asdf.AsdfFile.open('/home/yuval/test.asdf'); new_ff.tree['data']
     ...:
[('file_index', '<i8'), ('global_frame_index', '<i8'), ('local_frame_index', '<i8'), ('x', '<f8'), ('y', '<f8')]
['file_index', 'global_frame_index', 'local_frame_index', 'x', 'y']
Out[271]:
array([[( 0,      5,    5,  1888.   ,   16.5   )],
       [( 0,      5,    5,  1845.49 ,   15.6997)],
       [( 0,      5,    5,  1803.   ,   14.5125)],
       ...,
       [(16, 823558, 9813,   558.741,  325.397 )],
       [(16, 823558, 9813,  1660.   ,  245.    )],
       [(16, 823558, 9813,   298.   ,  194.    )]],
      dtype=[('file_index', '<i8'), ('global_frame_index', '<i8'), ('local_frame_index', '<i8'), ('x', '<f8'), ('y', '<f8')])
In [273]: new_ff.tree['data'].shape
Out[273]: (7974018, 1)

You can use this example code, if you'd like, in the documentation.

Thanks! I adapted it and simplified it slightly as you'll see in the PR.


First steps to support ocaml version 4.03.0

Added support for projects compiled with ocaml 4.03.0-trunk (more or less current trunk).
At least merlin can read .cmi files properly without crashing my emacs.
There's still a bit of work to do to fully handle the new feature of constructors with records (instead of tuples).

Hi!
Sorry for the absence of answer on our part.
The code was fine, it's just outdated since we didn't merge it in time.
You can use the trunk branch if you still need to use merlin with trunk (cf #365 )


Possible to swap an individual item's bank menu entries separately from its non-bank menu entries?

Let's say I have an "Open coal bag" in my inventory.
I want the left-click option to be "Fill" while I have a bank interface open.
When I close the bank interface, I want the left-click option to be "Empty".
I only want this swap to affect my "Open coal bag", without changing menu entries of other similar items (Gem bag, etc.).
Is this possible with the plugin? I'm having a little trouble understanding the "instructions" section.
Edit: So I somehow got it to work with these 2 lines of text:
fill,open coal bag
empty,open coal bag
Not sure how that works but I am now able to left-click Fill inside a bank, and Empty outside the bank.

Those lines work because when the bank is open, there is no "empty" option in the menu if the bag is empty so your "fill,open coal bag" is working.
The reason it works outside the bank despite both the "fill" and "empty" options being present - no matter if it's empty or not - is because the order you've written them. The plugin does the work of making "fill" the top option, then does the work again of making "empty" the top option.

The plugin can do this though which might help with other items that aren't fortunately missing menu options in one interface but not another.
Because the default top option when the bank is open is "deposit-1" we can make use of the following from the instructions:
"option,target,topOption,topTarget"
So the swap only occurs if the given "topOption" would have been at the top without any swaps.
In your case that would be:
"empty,open coal bag,deposit*,open coal bag"
I used a wildcard (*) there in cases where the default bank deposit setting is set to something like "deposit-all" or "desposit-10".

Thanks for clarifying. I don't have much experience with coding so that's why I was confused. I've been using this plugin forever, glad to see that it's still relevant.


Support for ERC721URIStorage

I noticed that you didn't inherit ERC721URIStorage. I think this is something that needs to be considered.
https://docs.openzeppelin.com/contracts/4.x/api/token/erc721#ERC721URIStorage

See #257

#246


SSL Error: The certificate authority is not trusted

I'm facing issues with ssl error when navigating to an uncertified uri on android and ios. I'm using react-native-webview: ^11.23.0. Is there any way around the problem?

https://github.com/react-native-webview/react-native-webview/issues/2147#issuecomment-968672220 check this out


react-testing-library cannot test wordcloud

Wordcloud cannot be tested with react-testing-library - it errors when rendering the component with -  Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
`import { render, screen } from "@testing-library/react";
import ReactWordcloud from "react-wordcloud";
describe("", () => {
it("should render the WordCloud component", () => {
render(
<ReactWordcloud
data-testid="word-cloud"
words={[{ text: "foo", value: 1 }]}
/>
);
expect(screen.getByTestId("word-cloud")).toBeInTheDocument();
});
});
`
here is a reproduction of the error -
https://github.com/David-Cohen35/wordcloud-testing-issue

fixed by importing as const ReactWordcloud = require("react-wordcloud").default


[WIP] Add Expat based XML parser

Because XML parser in Skia is expat, this feature improves the affinity with it! Thank you for working with this.


Fix bug with enterpriseURL for multi-tenancy

Addresses and fixes #1764.
Changes:

Add IsEnterprise bool to the GitHub client struct. It is set when the client is an enterprise client.
Check if the main client is an enterprise client before setting conf.EnterpriseURL for clients created using githubAPICredentialsFrom.
Add command line argument for setting EnterpriseURL in GitHub config.

Reasoning
Currently, ARC creates a GitHub client (let's call it client A) when the controller is created - this client is passed to the RunnerReconciler. As part of the multi-tenancy feature, a new client (let's call it client B) is created when a RunnerDeployment is added with the field githubAPICredentialsFrom.
The GitHub wrapper creates a client from a config struct. When creating client B, it sets the enterpriseURL in its config to the GithubBaseURL of client A1. This causes issues when client A is not an enterprise client, as client B now has its enterpriseURL defined. The GitHub wrapper behaves differently when  an enterpriseURL defined in the config struct, leading to the newly created client B calling the wrong API endpoint for tasks such as runner registration.
To fix this, client A needs a basic idea of whether it is using an enterpriseURL. We have decided to use a bool (as opposed to doing checks on the baseURL) as it's just cleaner and less likely to go wrong.
Also, added command line support for enterpriseURL as it was the only thing that was missing.
1 This was introduced as part of #1725 and issue #1714. The concern was valid because if the config for client B has no enterpriseURL defined it should be using the enterpriseURL of the original client (A). Nevertheless, the above bug was introduced.

@Jalmeida1994 for visibility. I tested it out and it should still work for your use case.

@mumoshu @toast-gear thoughts?

@Jalmeida1994 for visibility. I tested it out and it should still work for your use case.

Hey @bm1216 nice work! When I get the time I'll test it also on an Enterprise Environment but the code and the reasoning makes sense! Cheers, and sorry again for introducing this bug @mumoshu @toast-gear and @bm1216!

Thanks @mumoshu @Jalmeida1994 for taking a look. Appreciate all the comments


move init function to its own file

Fixes #103

CI is failing because this is attempting to do a lookup to goerli


Request for train dataset CSV File and Trainer.py Code Availability

Could you please provide the CSV file used during training, where the parameter replaced_caption_key=args.csv_replace_key is passed? Additionally, I would like to know if the trainer.py code is going to be released soon. Thank you!

Thank you for your interest in our work!
The 'trainer.py' file and the data collection methodology will released soon.
The CSV file is unique to each one, depending on the order and content of the images you downloaded.
To process the CC3M dataset, you first need to confirm that the download type is in folder form. Here is the example of my download command:
img2dataset --url_list Train_GCC-training.tsv --input_format "tsv"\          --url_col "url" --caption_col "caption" --output_format webdataset\            --output_folder /tym/datasets/cc_3M/train/ --processes_count 16 --thread_count 64 --image_size 256\              --enable_wandb True
Then, you need to process the dataset into the input form required for training: [filepath, ...]. This is an example code of mine:
    save_file_path = os.path.join(save_path, "Train_GCC-training_output.csv")
    csv_list = []
    for root, dirs, files in tqdm(os.walk(data_path)):
        for file in files:
            if file[-4:] == ".jpg" and file[:2] != "._":
                filepath, txt_file_path = os.path.join(root, file), os.path.join(root, file[:-4]+".txt")
                title = read_txt_file(txt_file_path)
                csv_list.append({"filepath":filepath, "title":title})
                # print(img_path)
    print(len(csv_list))
    # save
    df = pd.DataFrame(csv_list, columns=["filepath", "title"])
    print(df)
    df.to_csv(save_file_path, index=False, sep="\t")

After that, apply spacy to replace the subjects to [REPLACE] token, where the csv_replace_key is ["filepath",
"title", "title_replace"]:
    save_file_path = os.path.join(save_path, "Train_GCC-training_output.csv") if data_type == "train" \
        else os.path.join(save_path, "Validation_GCC-1.1.0-Validation_output.csv")

    csv_list = []

    for root, dirs, files in tqdm(os.walk(data_path)):
        for file in tqdm(files):
            if file[-4:] == ".jpg" and file[:2] != "._":
                filepath, txt_file_path = os.path.join(root, file), os.path.join(root, file[:-4]+".txt")
                title = read_txt_file(txt_file_path)
                title_replace = get_replace_txt(title)
                if title_replace == False:
                    continue
                # print(title, "\t", title_replace)
                csv_list.append({"filepath":filepath, "title":title, "title_replace":title_replace})

I will continue to update the complete processing and training steps after I finish my current work to contribute to the community. If you find it useful, feel free to Star my repo~


⚠ Bofrost.de has degraded performance

In 9141927, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1923 ms

Resolved: Bofrost.de performance has improved in 4966be6.


Release Procedure Documentation

Document all Rancher release procedures.
Placeholder ticket. More information will be added.

Release process is still evolving and more parties are involved. This ticket is no longer being used to track the work.


accessibility.signalOptions.delays not user friendly

Testing #213344
Right now the structure of accessibility.signalOptions.delays settings is sort of leaking your implementation. It has a complex structure, and because of that is not shown in the settings editor, but only in the settings.json.
Can we simplify the structure of this setting so the settings UI editor supports showing it?

what would you suggest? I don't think adding 9 settings would be a good idea

Any simplification as long as it shows up in the settings UI.
One example:
Get rid of signalOptions. Get rid of volume. Then have:
accessibility.signals.debouncePositionChanges
accessibility.signals.delays

That's what we had originally and @hediet suggested we introduce signal options.

The reason why I suggested signalOptions was that it stands out from all the other signals.
If you have

accessibility.signals.progress
accessibility.signals.delays
accessibility.signals.save
..., see

... it is very confusing which is a signal and which is a signal setting.

Good point. So with your suggestion we are optimizing for settings.json users, and we are failing those that use the settings UI. Since the settings UI is the default experience my suggestion is to optimize for that.
Though I have no strong feeling either way.

I think the settings UI sorts alphabetically as well. So if we'd mix the settings with the signals, it would be confusing there as well.
Imagine if there are 3 interesting settings somewhere in this list of 29 audio cues:

We should just make sure Signal Options is editable in the settings editor:

@rzhao271 is there a way we can do that?
https://github.com/microsoft/vscode/blob/7ed51569a1bf53b40ea59268c482015770c1932e/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.ts#L174-L188

There's currently no support in the Settings editor for objects where the values could also be objects, even if the total object is just two levels deep.

I think we should close this as designed, do you agree @hediet ?

Both options work for me.

I think we should probably destructure. Another argument for this is when I search for debounce, debouncePositionChanges doesn't even show up 🐛

Yes, we should destructure the object! But keep the namespace "signalOptions", e.g. "accessibility.signalOptions.delays", ....

verify that all of the accessibility.signalOptions.* settings work and are user friendly. Also verify that if you have settings of the old structure and reload the window, they get migrated correctly.

This works better now, thank you! Adding verified label.


Potential file descriptor leak

It seems that some nodes running can leak file descriptors, seemingly on connections not being closed properly. While we are observing a growing file descriptor usage on public nodes (and growing amount of connections), it should be noted that these connections don't seem to be added as peers. A very small number of nodes has even managed to exhaust their allowed file descriptor limit, causing them to go in a hot loop of errors when (trying to) connect to a public node.
It feels like something in the router is going wrong when detecting if a peer is dead and the subsequent cleanup. That is, the router presumably thinks the peer is dead and marks it as such, causing a reconnect by the peer manager. However under the hood the peer connection is not properly cleaned up. This might be possible because the connection itself is managed in the peer Inner type, which is wrapped by an Arc , so as long as 1 Peer instance is not properly cleaned up, the Inner stays alive.
Alternatively, there might be an issue in the peer manager logic.
We should also check if there is a panic somewhere causing a task to exit, preventing cleanup.

example:
https://mon.grid.tf/explore?orgId=1&left={"datasource":"Loki-ZOS","queries":[{"refId":"A","expr":"{farm%3D\"1463\",network%3D\"production\"}"}],"range":{"from":"now-12h","to":"now"}}

From the code reading, i found that died is probably missed in one place.
died definition
https://github.com/threefoldtech/mycelium/blob/74719ba7cacb96e2d9251ce57760474e6973a14e/mycelium/src/peer.rs#L283-L286
probably missed for this
https://github.com/threefoldtech/mycelium/blob/74719ba7cacb96e2d9251ce57760474e6973a14e/mycelium/src/peer_manager.rs#L953-L965
The problem is, i still don't have a way to reproduce the issue.
And even this is not the source of this issue, i think the died usage should be improve.
Because it currently scattered in many places.
From what i can see right now, many code path rely on Router::handle_dead_peer to do cleanup, perhaps we could put died in that function as well.

From the code reading, i found that died is probably missed in one place.
died definition
https://github.com/threefoldtech/mycelium/blob/74719ba7cacb96e2d9251ce57760474e6973a14e/mycelium/src/peer.rs#L283-L286
probably missed for this
https://github.com/threefoldtech/mycelium/blob/74719ba7cacb96e2d9251ce57760474e6973a14e/mycelium/src/peer_manager.rs#L953-L965
But i'm not really sure  about this because:

i still don't have a way to reproduce this issue.
from the code comment, that code path is for QUIC case. But the logs from @coesensbert only logs about TCP.

And even this is not the source of this issue, i think the died usage should be improved.
Because it currently scattered in many places.
From what i can see right now, many code path rely on Router::handle_dead_peer to do cleanup, perhaps we could put died in that function as well.

It could be usefull to put a call to died there as well, but its indeed not the cause of the issue.
The general idea is that a peer which dies injects itself on a channel for the router, which ends up in handle_dead_peer eventually. died is a utility function which was added, because not every connection type (looking at you quic) can detect itself being terminated. In general, this also leads to the problem now where peers can be removed and be counted as "dead" twice in the metrics

i found something interesting from the logs

i search for mycelium: 2024-12-27T03:35:01 from the logs, and found 757 occurences.
(tried other time spans, and got similar number, around ~750)
Which means, there is 750 connects attempts to that node in one second, which is super high if it is not a public node.
Considering that mycelium client only do reconnect after 5 seconds, it means there are probably 750*5 = ~3700 clients try to connect to that node, which doesn't look normal at all, no?
@coesensbert @LeeSmet
maybe you could help to check if:

that huge number is expected
possibility that it is not mycelium client which try to connect to that node.

After a bunch of debuggin over the last couple of days, the issue is in the task which is spawned in Peer::new to manage the connection. It seens this can get stuck when (presumably forwarding) packets to a peer, if the remote exitted (also presumably), while there is still a bunch of data in the sockets. This is verified by taking a handle to the task and calling handle::abort() in Peer::died (while also ensuring proper cleanup in the router).
In general, using a select with cancellation method, and then awaiting inside a select branch is a poor idea as the select can only cancel the actual branches while they are awaited.
At this point, I think its probably best to rewrite this task to a manual future implementation/state machine

@LeeSmet and how it relates to the above logs?

This is verified by taking a handle to the task and calling handle::abort() in Peer::died

It simulates the Peer::died never called?
And this is the expected scenario for the loop to stuck if Peer::died never called, no?

The task I mentioned has a Framed type, which has a Connection embedded. This connection is a trait which represents either a TcpStream or a Quic connection. Since TcpStreams use up a file descriptor for every instance, the problem is that the task is stuck, so it never exits. As a result the Framed never gets dropped. This then causes the TcpStream to not get dropped, so from the perspective of the OS it stays open, and the file descriptor stays in use. If this continues long enough, the process hits tha allowed file descriptor limit, causing it to spam these errors

Peer::died is called in the router, but right now it just notifies a Notify. In the select, the last branch awaits this Notify. If it completes, the select loops exits and the task cleans up before being dropped. But because the task is stuck inside some other select branch, the select is not evaluated, so it doesnt notice this Notify being ready, and thus is stuck forever.

It seens this can get stuck when (presumably forwarding) packets to a peer, if the remote exitted (also presumably), while there is still a bunch of data in the sockets

Before much rewrite, can't we solve it using timeout mechanism?
I think socket read/write with timeout is a must.

At this point, I think its probably best to rewrite this task to a manual future implementation/state machine

Before much rewrite, can't we solve it using timeout mechanism?
Whatever the flow, I think socket read/write with timeout is a must.

Oh, i forgot that it is async socket.
I won't be straightforward unlike the sync API like Go.
Found https://docs.rs/tokio-io-timeout/latest/tokio_io_timeout/ but not really sure about this


Add exclude labels pattern handling

This is to support not prioritizing issues tagged with T-rustdoc, T-infra and T-release.
r? @Mark-Simulacrum @LeSeulArtichaut
This works together with https://github.com/rust-lang/rust/pull/72385

@LeSeulArtichaut meanwhile you were reviewing I was changing some parts of the code :).

Going to hold off on landing this for a bit -- we ideally want to merge simultaneously with the rust-lang/rust merge.


When clicking on the current page, go back to the first one.

This is an example of this behaviour on the tourism example.

I am unsure this is a default behavior we should implement, if I ctrl+click the third page that is already selected (new tab) I expect it to open the 3rd page in a new tab.
Here it would mean going to the first page.

Oups I should have mentionned that this is a bug :) And we should revert to the behaviour found in IS and basically all websites on internet when it comes to pagination.

:+1:

While fixing this one, it actually triggered another bug which prevent the page from being reset when there is another filter that change its parameter. #workingOnASolution

was solved


OPTscat Header

Is it only the presence of the OPTscat headers under NodeObj that dictate whether the crush effects will function correctly? For instance, the ninja dogs (e_okm_a and e_okm_b) each have OPTscat. I haven't tested it myself, but theoretically, would this mean they would have crush effects?
If true, maybe we can investigate how to integrate preexisting mesh objects and header info into the assets where such things are missing.

I think OPTscat and its related data are not in the NodeObj section only, but also is in other sections too.
Dogs have OPTscat since, in NG2, the crush effects happen when they get hit. I could see the blood trail in some NG2 videos.

Indeed, there are OPTscat headers under ObjGeo too. I copied the OPTscat bytes from the mage TMC to the e_nin_a TMC, adjusted the memory size bytes, and copied the crush parts from the mage’s mesh to e_nin_a in Blender hoping I could convert the FBX to a functioning TMC with that data included, but unsurprisingly, that failed. Could that even work? I don’t know exactly what is read, but could any of the existing OPTscat data be copied to another TMC and actually read?

At least "MdlInfo", "HieLay", "NodeLay", "GlblMtx" and "BnOfsMtx" seems to be related as they have the same number of items. Also, some unnamed sections need to be adjusted because they are read when doing crush effect stuff.

I have Sigma 2+ TMC files pulled from my Vita, and FiendBusa stated TMCs could be pulled from memory with the Vita emulator running, so we're wondering if it would be easier to transplant corresponding S2+ TMC data rather than cannibalize from the same few S2 Master Collection files.
As an aside, let me know if you want to take this discussion to Discord or elsewhere.

Gib injector solved this issue.


Using $queryRaw with pg_sleep crashes

Bug description
Executing a SELECT pg_sleep(1) query with $queryRaw crashes. It works with $executeRaw. The problem is specific to Postgres.
How to reproduce

Generate a client with Postgres provider and run

const { PrismaClient } = require('@prisma/client')

const prisma = new PrismaClient()

async function main() {
  await prisma.$queryRaw(`SELECT pg_sleep(1);`)
}

main()
  .catch((e) => {
    console.log(e)
  })
  .finally(() => {
    prisma.$disconnect()
  })

Observe error

divyendusingh [p2-raw-sleep]$ node index.js                                                                                130 ↵
PrismaClientKnownRequestError:
Invalid `prisma.queryRaw()` invocation:

  Raw query failed. Code: `N/A`. Message: `error deserializing column 0: cannot convert between the Rust type `core::option::Option<alloc::string::String>` and the Postgres type `void``
    at PrismaClientFetcher.request (/Users/divyendusingh/Documents/prisma/triage/p2-raw-sleep/node_modules/@prisma/client/runtime/index.js:1:228179)
    at processTicksAndRejections (internal/process/task_queues.js:97:5) {
  code: 'P2010',
  meta: {
    code: 'N/A',
    message: 'error deserializing column 0: cannot convert between the Rust type `core::option::Option<alloc::string::String>` and the Postgres type `void`'
  }
}

Expected behavior
It shouldn't crash.
Prisma information
divyendusingh [p2-raw-sleep]$ yarn prisma --version                                                                               130 ↵
yarn run v1.22.4
$ /Users/divyendusingh/Documents/prisma/triage/p2-raw-sleep/node_modules/.bin/prisma --version
@prisma/cli          : 2.7.0-dev.11
Current platform     : darwin
Query Engine         : query-engine 7c19ae69057b1b46b2e7f90d531d99909cc85502 (at node_modules/@prisma/cli/query-engine-darwin)
Migration Engine     : migration-engine-cli 7c19ae69057b1b46b2e7f90d531d99909cc85502 (at node_modules/@prisma/cli/migration-engine-darwin)
Introspection Engine : introspection-core 7c19ae69057b1b46b2e7f90d531d99909cc85502 (at node_modules/@prisma/cli/introspection-engine-darwin)
Format Binary        : prisma-fmt 7c19ae69057b1b46b2e7f90d531d99909cc85502 (at node_modules/@prisma/cli/prisma-fmt-darwin)
Studio               : 0.273.0
✨  Done in 1.79s.

This is still reproducible in 2.21

DBeaver display the result as an empty cell:

From internal discussion: Our Rust postgres library we are using can not map this void value coming back here. Right now the "solution" is to use $executeRaw and not $queryRaw.

Still reproducible but doesn't seem to be an important issue.

Can reproduce on our internal dev version 4.4.0-dev.30, queryRaw fails, executeRaw works.
PrismaClientKnownRequestError:
Invalid `prisma.$queryRaw()` invocation:

Raw query failed. Code: `N/A`. Message: `Failed to deserialize column of type 'void'. If you're using $queryRaw and this column is explicitly marked as `Unsupported` in your Prisma schema, try casting this column to any supported Prisma type such as `String`.`
    at RequestHandler.handleRequestError (/Users/j42/Repros/14999/node_modules/@prisma/client/runtime/index.js:30850:13)
    at RequestHandler.request (/Users/j42/Repros/14999/node_modules/@prisma/client/runtime/index.js:30833:12)
    at async Proxy._request (/Users/j42/Repros/14999/node_modules/@prisma/client/runtime/index.js:31805:16)
    at async /Users/j42/Repros/14999/main.ts:52:3 {
  code: 'P2010',
  clientVersion: '4.4.0-dev.30',
  meta: {
    code: 'N/A',
    message: "Failed to deserialize column of type 'void'. If you're using $queryRaw and this column is explicitly marked as `Unsupported` in your Prisma schema, try casting this column to any supported Prisma type such as `String`."
  }
}


Issues with flatten extrernals tracing and multiple versions

On production builds, we trace used package files from node_modules and extract them to .output/server/node_modules but at the same time, flatten the structure by choosing the latest requested version of each package.
This strategy has two major issues:

In the case of two major versions (sub-dependencies)
In the case of two minor versions (eg #259) since we already traced, if the version is not compatible one will fail as we already traced paths back to their actual package path

For solving 1, only possible solution is hoisting sub-dependencies into node_modules/parent/node_modules/child. It can be also done by respecting package manager structure without flattening it or less fragile by doing what package managers do for hosting with more stable output with different pms!
For solving 2, we need to re-trace internal package paths in case of a conflict is detected as external exports and API of a package should be compatible in semver-minor/patch but since we already traced them to internal structure, it will be broken.

I have a Stackblitz example of major version collisions here: https://stackblitz.com/edit/github-1wqbue-kp7mfb?file=composables%2FuseMain.ts,app.vue,package.json
Ignore the dev mode, just step out of it and run npm run build && npm run preview to see the issue.
Let me know if there's anything I can test for you guys!

Hey is there anything I can do from my side to move this along?
Maybe this is a somewhat lower priority, it's just that we can't launch our product without this fix as it (currently) simply won't result in a working bundle.


Does numpydoc need to be an install_requires dependency?

I work on a package that uses skan and am trying to reduce the dependencies that are installed. I see that setup.cfg specifies that installing skan requires the numpydoc package:
https://github.com/jni/skan/blob/main/setup.cfg#L54
numpydoc does not seem to be important for using skan. Does it need to be under install_requires? Can it be moved to the docs key of the [options.extras_require] section below?
Interestingly, the version of skan on conda-forge does not require numpydoc:
https://github.com/conda-forge/skan-feedstock/blob/main/recipe/meta.yaml

Oops! Yes that seems to be an oversight. I'm not sure why it went there in the first place rather than [docs]. Would you like to/be able to submit a PR fixing this? Thank you! 🙏

I just looked a little more closely at this and realized that numpydoc does not seem to be used at all. In https://github.com/jni/skan/commit/2f806e71841986bac00dec1d38641f0e9067355b, the last reference to numpydoc was removed from the codebase. Should it just be removed? I also see that it is not in any of the requirements files: https://github.com/jni/skan/tree/main/requirements

😂 yup! Thank you for spotting all these oversights. 🤦


Update to dragonfly v0.9.20

Thanks for the PR, i'd suggest passing the *world.Tx into the submit functions though otherwise it'll cause issues if people try creating their own transactions


docs(zh): fix incorrect translation

It is in the above example in English doc, so it should be 上面的例子中 instead of 下面的例子中 in Chinese doc.

The origin sentence:
https://github.com/vuejs/vue-router-next/blob/master/docs/guide/essentials/redirect-and-alias.md?plain=1#L37


rexecuteQuery escapes Suspense boundary

Hey folks, found a little issue with suspense:

urql version & exchanges:
version<EMAIL_ADDRESS>exchanges: graphcache + built-ins

Steps to reproduce

Go to https://codesandbox.io/s/gifted-bohr-honuf?file=/src/App.tsx
After data comes in, click on the "Load again please" button above the list

Expected behavior
Refetching a query should trigger the suspense boundary
Actual behavior
Refetching a query completely bypasses Suspense and leads to an uncaught "exception" (the promise that should be suspended on) 🤷

My first thought here is that I don't think it's possible for us to prevent this from happening as this behaviour is a side-effect that can only be driven into triggering the Suspense boundary if it re-renders.
However to re-render the function would have to alter some state to trigger React to update. We'd only want that to happen once though, but we can't control this to be a guarantee to happen only once, as React doesn't make this guarantee itself anymore.
So long story short, I believe the two patterns — Suspense and executeQuery — are incompatible with one another.
What we could do is force executeQuery to never trigger any suspense behaviour internally though

What we could do is force executeQuery to never trigger any suspense behaviour internally though

That sounds to me like how it should behave. I would expect we would need to handle result.fetching then, where it would specifically deal with just refetching state. What do you think?

Suspense without react@experimental's useTransition could not possibly support this I think, no (because the render tree is blown out, I would imagine you lose urql-internal state)

@StevenLangbroek I do think you'd have to handle it; However, it would mean that the previous content would stay mounted, which actually is rather nice as far as loading behaviour goes, since that means if it's not handled, the content still doesn't break.

Yep agree!


[auto-merge] branch-23.02 to branch-23.04 [skip ci] [bot]

auto-merge triggered by github actions on branch-23.02 to create a PR keeping branch-23.04 up-to-date. If this PR is unable to be merged due to conflicts, it will remain open until manually fix.

FAILURE - Unable to auto-merge. Manual operation is required.
{'message': 'Pull Request is not mergeable', 'documentation_url': 'https://docs.github.com/rest/reference/pulls#merge-a-pull-request'}

Please use the following steps to fix the merge conflicts manually:
# Assume upstream is NVIDIA/spark-rapids remote
git fetch upstream branch-23.02 branch-23.04
git checkout -b fix-auto-merge-conflict-7701 upstream/branch-23.04
git merge upstream/branch-23.02
# Fix any merge conflicts caused by this merge
git commit -am "Merge branch-23.02 into branch-23.04"
git push <personal fork> fix-auto-merge-conflict-7701
# Open a PR targets NVIDIA/spark-rapids branch-23.04

IMPORTANT: Before merging this PR, be sure to change the merging strategy to Create a merge commit (repo admin only).
Once this PR is merged, the auto-merge PR should automatically be closed since it contains the same commit hashes

I'll take a look at fixing this.


{IoT} Updated recording processors and removed test keys

Description

This only affects a single command's help text / example usage and updates test recordings.
Removes references to old test keys.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

IoT


Question about accounts

Hi thanks for the great app.
Wanted to ask is it possible to add github repo as account to sync your feeds across the iOS and macOS app?
If you don't use feedbin or feedly it's hard to keep the sync across both devices.
Thanks
Lano

That's an interesting suggestion.  I don't think it would work well.  Git is designed more toward syncing text files and we need to sync a lot of fine grained database items.
Stay tuned.  We have more sync options coming soon.

Thanks looking forward to it.


[BUG] GUI Conficts with FTB Library causes crash.

Version of Advanced Rocketry

1.16.5-2.0.0-12

Have you verified this is an issue in the latest unstable build

[x] Y

Version of LibVulpes

1.16.5-1.0.2-25

Version of Minecraft

1.16.5

Does this occur without other mods installed

[x] N

 FTB Library (which is required for all FTB mods)

Crash report or log or visualVM (if applicable)
crash-2021-05-12_13.43.36-client.txt
Description of the problem

In the guidance computer in the rocket interface, I clicked on "Select Dst", then clicking any of the navigation buttons "UP", "SELECT" or "PLANET LIST" causes the crash above.

Having the same issue.

This bug is still an issue. cannot use any of the red buttons

i am having this issue, and cannoct remove ftblibrary because it is needed for the quest tree of my modpack, this makes AR unusable as it crashes everytime i try to select a planet

i have this too
#2276


enable velocity sensor for um2 mode

fixes https://github.com/ipa320/cob_control/issues/98
includes #441
currently only needed for cob4-1/cob4-2...not required for cob4-3/cob4-4/cob4-6...not yet applicable for cob3's and raw's (https://github.com/ipa320/cob_robots/issues/403)...

Tested on cob4-1 (see https://github.com/ipa320/cob_control/issues/98)

@ipa-fmw @ipa-bnm
I think you need to merge this PR for the demo on Monday/Tuesday as the UM mode is already set to UM=2 on the platform....
(The robot is operable without merging, but you will not receive any velocities in the joint_states for the base....this also leads to a zero twist on the odometry topic...I'm not sure whether navigation uses the twist....)

Tested on cob4-1...merging because cob4-1 HW is already configured and requires it...


Skip sparse tests if operators not available

Only tests for SparseFunHash for now

Looks totally reasonable, thanks Simon :)


Nemo 5627/enhance our homepage

Ticket(s)
Required unless this is just a change to documentation.

Llink to Airtable ticket

Type of change
Please delete any options that are not relevant

[ ] Bug fix (non-breaking change which fixes an issue)
[X] Design change
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation or testing

Description
Include a summary of the change or which issue was is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

On both mobile and desktop, updated “Anchor link text button group DK” from 3 buttons to 4 buttons. The new button is titled “1st link” with the text “OUR MISSION’”. It links to “CARD/ Our Mission” on homepage.

On both mobile and desktop, added new “our mission” card to the top of the homepage. Card is positioned at X=200 and Y= 220 on desktop, and X=16 and Y=0 on mobile.

On desktop and mobile, we’ve changed “Card/ How it works” to include 4 steps instead of 3. The fourth and final step is new. It is titled “Right Side”. It is made up of Frame 479, and includes the image titled “Chart_Two Color-2 1” and text block “We help you explore what comes after determining your vacation eligibility.”
Additionally, remove the titles "inform","assess" and "calculate from the card.

Update the card "Why Vacate" on desktop to be a single line of four items, instead of two lines of two items each.

Figma: https://www.figma.com/file/icusYj7kJl2xmYkudIZEG4/CV-Current-Design-Files?type=design&mode=design&t=ag08AMi9CJkkmOak-0_
Screenshots

Please include a screenshot of the Figma design file
Before: not provided
After:

Checklist:

[X ] I have performed a self-review of my own code
[X ] I have commented my code, particularly in hard-to-understand areas
[ X] My changes generate no new warnings in the console
[ X] There are no new linting errors/problems in my code
[ X] I have filled this PR out fully, and cleaned up any extraneous items so that it is clear and easy to understand

Mindy, great work! I have left a few comments in the code requesting a few small changes.
I also noticed that the FAQ on the Figma is a new one, so it needs to be added to the content file.
Also a tip on filling out the PR template. If you click create without marking any of the boxes, on the next screen they become checkboxes, MUCH easier to use. Also, you should delete all of the unused checkboxes so that on the main pull requests screen it shows all tasks complete for the PR.


Update README.md

Add citation.

Thanks for catching it, fixing it now.

Should be fixed, thanks again for raising it!


How to use with js modules

hi there,
first off: CollectionFS is working fine with Meteor 1.3, but now I wanted to use React Hotloader (https://github.com/gadicc/meteor-react-hotloader) as well and (I guess) this package forces the use of js modules. So now I am getting this error here:
TypeError: Cannot read property 'Collection' of undefined
Which makes sense because I didn't import CollectionFS now.
My question is: how do I import it properly?
The code below doesnt work.
import {Mongo} from 'meteor/mongo';
import {FS} from 'meteor/cfs:standard-packages';
// import {FS.Collection} from 'meteor/cfs:collection';
import {GridFS} from 'meteor/cfs:gridfs';

var createThumb = function(fileObj, readStream, writeStream) {
  gm(readStream, fileObj.name()).resize('256', '256').stream().pipe(writeStream);
};

var createMedium = function(fileObj, readStream, writeStream) {
  gm(readStream, fileObj.name()).resize('800', '800').stream().pipe(writeStream);
};

var Images = new FS.Collection("images", {
  stores: [
      new FS.Store.GridFS("thumbs", { transformWrite: createThumb }),
      new FS.Store.GridFS("medium", { transformWrite: createMedium })
  ],
  filter: {
    maxSize: 5242880, // matches 5mb
    allow: {
      contentTypes: ['image/*'],
    //   extensions: ['png', 'jpg', 'jpeg']
    },
    // deny: {
    //   contentTypes: ['image/*'],
    //   extensions: ['gif', 'bmp']
    // },
    onInvalid: function (message) {
      if (Meteor.isClient) {
        alert(message);
      } else {
        console.log(message);
      }
    }
  }
});

export default Images;

@mmintel I just deleted import statements of all CollectionFS packages and it's working now for me:
// installed packages:
// cfs:standard-packages, cfs:collection, cfs:gridfs

// import {FS} from 'meteor/cfs:standard-packages'

console.log(!!FS) // true
console.log(!!FS.Collection) // true
console.log(!!FS.Store) // true
console.log(!!FS.Store.GridFS) // true

As I understand cfs:standard-packages just assigns FS to global object and don't use any kind of import-export module system. And import of non-existing object (=== undefined) produces your error.

@EliasKovv thanks you were right! it was another import that was crashing my app actually. but anyway it would be nice to know which files you'd need to import (and how). I prefer to use the imports just to know about my dependencies.

@mmintel agree, imports are very helpful, hope to use it with CollectionFS someday

I agree - but it requires some refactoring and a dependency on Meteor 1.3

You can access FS this way without adding anything to your current code/packages :
import { FS } from 'meteor/cfs:base-package';

Yup, I've got that working, basic FS exists...
But what I don't yet understand is how to have a server and client config (where the client doesn't know about the server store, for real) and they differ.
import { CreativeFilesServer } from './collection.server.jsx';
import { CreativeFilesClient } from './collection.client.jsx';
export const CreativeFiles = {};
if (Meteor.isServer) {
  CreativeFilesFiles = CreativeFilesServer;
} else {
  CreativeFilesFiles = CreativeFilesClient;
}

Why do they differ ? Not sure but I always declared collections and stores on both server and client on the same file/config

There are times where they might differ...  I think I figured it out... server imports functions which configure, client imports different functions.
// collection.client.jsx
export function makeStoresClient() {
  let cfsStoreFilesystem = new FS.Store.FileSystem('tmp');
  let cfsStoreS3 = new FS.Store.S3('s3');
  return [
    cfsStoreFilesystem,
    cfsStoreS3
  ];
}

// collection.server.jsx
export function makeStoresServer() {
  if (!Meteor.isServer) {
    throw new Meteor.Error(500, 'CreativeFiles.server being run on client');
  }
  if (!(Meteor.settings && Meteor.settings.aws)) {
    console.log(
      'WARNING: Started without Meteor.settings.aws ' +
      ' in creative collection server s3'
    );
    Meteor.settings.aws = {region: '', accessKeyId: '', secretAccessKey: ''};
  }

  let cfsStoreFilesystem = new FS.Store.FileSystem('tmp', {
    path: '/tmp'
  });

  let cfsStoreS3 = new FS.Store.S3('s3', {
    region: Meteor.settings.aws.region,
    accessKeyId: Meteor.settings.aws.accessKeyId,
    secretAccessKey: Meteor.settings.aws.secretAccessKey,
    bucket: 'example',
    ACL: 'public-read',
    // Custom fileKey function
    fileKey: (fileObj) => {
      let id = String(fileObj._id);
      let path = [];
      path.push(id.substring(0, 1));
      path.push(id.substring(1, 2));
      path.push(id.substring(2, 3));
      path.push(id + '-' + fileObj.name());
      return path.join('/');
    }
  });
  return [
    cfsStoreFilesystem,
    cfsStoreS3
  ];
}

// fscollection.js
import { Meteor } from 'meteor/meteor';
import { FS } from 'meteor/cfs:base-package';
import { makeStoresServer } from './collection.server.jsx';
import { makeStoresClient } from './collection.client.jsx';
export const CreativeFiles = {};
if (Meteor.isServer) {
  CreativeFiles = new FS.Collection('creative_files', {
    stores: makeStoresServer(),
    filter: {
      allow: {
        contentTypes: [
          'image/*',
          'video/*'
        ]
      }
    }
  });
} else {
  CreativeFiles = new FS.Collection('creative_files', {
    stores: makeStoresClient(),
    filter: {
      allow: {
        contentTypes: [
          'image/*',
          'video/*'
        ]
      }
    }
  });
}


[T2A2][T09-A1]Ashley Ong

Ready for review.

T2A2 was to improve the code. How is adding a inline method improving the code? Take note to have the correct title for the pull request if not its hard to review.


added support for VKontakte (aka VK.com)

Resolving issue https://github.com/SimplicityMobile/Simplicity/issues/3
Please review and merge if needed.

Hey @4ndrey, this is awesome! Let me try to test this and merge tomorrow along with Instagram, and get a new version out.

Great! Let me know if you have questions ;)

Looks great! I'm going to merge, but there is a part of your documentation that's a off (it mentions Instagram) so I'm going to fix that before releasing.

VK is live on Cocoapods under 1.0.2!
Keep in mind with the new cocoapods, you might have to manually pod update to see the new version.
Simplicity.login(VKontakte()) { (accessToken, error) in
  // Handle access token here
}

Thanks so much for your help, @4ndrey! Would love to have you hang out on the Stormpath slack as well: https://talkstormpath.shipit.xyz

great news, thanks! yes, sorry for typos - initially it was copy-pasted from Instagram login privider, that's why there were some mentions of it.


Script doesn't work with "Invalid storage account for lab" error

As apparently you are ignoring the closed issues (which are not fixed or workarounded)...
I'm trying to create a custom image from a machine in the same DevTest Lab, and I'm getting following error:
New-AzureRmResourceGroupDeployment : 2:35:52 PM - Resource Microsoft.DevTestLab/labs/customimages 'dtlab1/testImage' failed with message '{
"error": {
"code": "InvalidStorageAccountForLab",
"message": "Invalid storage account for lab"
}
}'
Background: I've created a vm from windows marketplace image > created a custom image from it > created a vm from the custom image > and then I try to create another custom image

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

ID: a96b4af7-04e1-763b-90a4-d43e85cb0787
Version Independent ID: b05aa41c-61a6-50ef-2644-d04459e23348
Content: Create an Azure DevTest Labs custom image from a VHD file using PowerShell
Content Source: articles/lab-services/devtest-lab-create-custom-image-from-vhd-using-powershell.md
Service: lab-services
GitHub Login: @spelluru
Microsoft Alias: spelluru

@lukdlu Thank you for the question! We apologize for the experience. Can you let us know which issue are you referring to?
While we are investigating this, can you help us out with a few details like:

The name and version of the windows image used?
Were all the VMs created in a single DevTest Lab itself?

It is a VM created from a custom image, which was created from VM based on "Free License: SQL Server 2016 SP1 Developer on Windows Server 2016"
yes

Please check this thread and see if it resolves your issue
https://stackoverflow.com/questions/43631686/how-to-create-custom-image-from-blob-storage-hvd-in-azure-dev-test-labs?rq=1

We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Update incremental update intervals

incremental update intervals is 5 mins by default.

@yuhonda : Thanks for your contribution! The author, @aczechowski, has been notified to review your proposed change.

Thanks @yuhonda, related to #721, just another mention. Good catch!
#sign-off


refactor(hmr): provide a separate logger interface

Description
This PR standardizes the HMR logger interface.

This makes it easier to provide a custom logger because we expose only used methods.
During SSR the HMR update uses the full file path so the log is very long and not readable. This allows SSR logger to provide its own method to override the logged URL

Additional context

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[x] Other

Before submitting the PR, please make sure you do the following

[ ] Read the Contributing Guidelines, especially the Pull Request Guidelines.
[ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Update the corresponding documentation if needed.
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

This looks fine to me if it's staying as internal. If it's public one day, I'm concerned that we would have to add new methods if we want to log something structurally, and it'll break third-party implementations.

During SSR the HMR update uses the full file path so the log is very long and not readable. This allows SSR logger to provide its own method to override the logged URL

Before logging, is there a way we can prettify the paths first?

This looks fine to me if it's staying as internal. If it's public one day, I'm concerned that we would have to add new methods if we want to log something structurally, and it'll break third-party implementations.

It is a public API for SSR logger at least.

Before logging, is there a way we can prettify the paths first?

Before the logging we are actually making them longer 😄 Maybe if we change the format SSR runtime stores them in, then we won’t need this logger 🤔 I‘ll try to investigate this first before we can merge this.

An option could be to provide a prettifyPath: (path: string) => string option instead of a logger and keep the rest as is.

@bluwy @patak-dev if we remove updated/invalidated do you think this would be a sufficient interface? Or would you prefer to keep console there?
In vite-node PR this logger is a public API.

If we only have error and debug for now. I'm fine with that and we can expand later as needed 👍

Updated 😄 (not a big change, huh)


nimble/host: Fix not catching conversion error in hex2bin

hex2val returns BLE_HS_EINVAL on error which is positive value. This could result in UUID conversion errors as hex2bin is used by ble_uuid_from_str.
This was also causing build error with GCC 9:
repos/apache-mynewt-nimble/nimble/host/src/ble_uuid.c:76:28: error:
'tmp_val' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
76 |         bin[len] = tmp_val << 4;
|                    ~~~~~~^~
cc1: all warnings being treated as errors

@jrotkiewicz FYI

fixes build issue from https://github.com/apache/mynewt-core/pull/3015


kernel option does not work

Possible bug
Is this a possible bug in a feature of sharp, unrelated to installation?

[ x] Running npm install sharp completes without error.
[ x] Running node -e "require('sharp')" completes without error.

If you cannot confirm both of these, please open an installation issue instead.
Are you using the latest version of sharp?

[ x] I am using the latest version of sharp as reported by npm view sharp dist-tags.latest.

What is the output of running npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp?

  System:
    OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
    CPU: (8) x64 Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
    Memory: 1.93 GB / 15.27 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 16.14.0 - ~/.config/nvm/versions/node/v16.14.0/bin/node
    npm: 8.3.1 - ~/.config/nvm/versions/node/v16.14.0/bin/npm

What are the steps to reproduce?
Attempt to read in the webp image with transparency.
What is the expected behaviour?
Changing the value of the kernel should show a different output of size in bytes but always is the same regardless of which kernel uses:
nearest, cubic, mitchell, lanczos2,lanczos3
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem
 const { data, info } = await sharp('transparency-linux.wep').resize(293, 300, {
    withoutEnlargement: true,
    fit: 'inside',
    kernel: 'mitchell'
  } )
    .toBuffer({ resolveWithObject: true });
  console.log(info);

{
  format: 'webp',
  width: 293,
  height: 300,
  channels: 4,
  premultiplied: false,
  size: 9420
}

 const { data, info } = await sharp('transparency-linux.wep').resize(293, 300, {
    withoutEnlargement: true,
    fit: 'inside',
    kernel: 'cubic'
  } )
    .toBuffer({ resolveWithObject: true });
  console.log(info);

{
  format: 'webp',
  width: 293,
  height: 300,
  channels: 4,
  premultiplied: false,
  size: 9420
}

Please provide sample image(s) that help explain this problem
transparency-linux.tar.gz

Hi, did you see the fastShrinkOnLoad option of resize()? Setting it to false will prevent the use of libwebp's scaling and instead use the kernel.
(I've added a brief note about this to the docs via commit https://github.com/lovell/sharp/commit/e8273580af1b24580db34343afedbd39516f419f )

I just did and try it but there is not different on the sizes:
  const { data, info } = await sharp('transparency-linux.webp')
  .resize(293, 300, {
    withoutEnlargement: true,
    fit: 'inside',
    kernel: 'mitchell',
    fastShrinkOnLoad: false
  })
  .toBuffer({ resolveWithObject: true });
  console.log(info);

result
{
  format: 'webp',
  width: 293,
  height: 300,
  channels: 4,
  premultiplied: false,
  size: 9420
}


Script Design Interface

I run following codes:
vivado_hls -f run_cifar_10.tcl
vivado -source pynq_arch.tcl
But any project doesn't open in HLS or Vivado.

It's finished this

Hi, the project was designed and tested with Vivado 16.2, and I haven't tried it with Vivado 19.1. Could you please switch to 16.2 and try it again? If that doesn't fix your issue, maybe try looking through the closed issues, and hopefully you can find answer there.


Upgrade to Gradle  3.1.4/4.10 and lower mininm version to API 18

https://developer.android.com/reference/java/security/KeyStore AndroidKeyStore apear in API 18 not in 21

What is the benefit to upgrade to gradle 4.9 ? Can we upgrade to gradle 4.10 ?
Also did you tested in a device with API version 18 ? Because I am not sure if the implementation works properly.

oh i haven't seen that 4.10 has been released, I changed it ;)
"You forgot to upgrade the gradle wrapper to V 4.9" i've update the" task wrapper" and "the gradle-wrapper.properties" Have I miss something ?

Yes, please run the command gradle wrapper and then commit the result as well.

I also just runned here the ./gradlew connectedCheck with the gradle 4.10 and it throws a exception... So I might think is better to keep the gradle version to 4.5.1 and just reduce the target.

Also I tried to run the unit test with the gradle 4.10 and I got this message: Configuration on demand is not supported by the current version of the Android Gradle plugin since you are using Gradle version 4.6 or above. Suggestion: disable configuration on demand by setting org.gradle.configureondemand=false in your gradle.properties file or use a Gradle version less than 4.6.
This eventually say the maximum supported version of gradle for android is 4.5.1 So I think we should not upgrade the gradle version yet.

Yeah, it makes sense. Also because I need make some changes on the structure as well.

If you need help do not hesitate :)

Are you going to change the remaining stuff or I can close the PR ?

If you think that's ok you can merge, or tell me what need to be changed :)

I asked to you to upgrade the gradle wrapper.
The reason to have a gradle task that upgrade the wrapper is to not touch the gradle-wrapper.properties manually. So you should run the task wrapper to regenerate the wrapper folder etc and commit this result as well.

The gradle-wrapper.properties is automaticaly updated by Android Studio when you change de gradle version. If you don't change the gradle-wrapper.properties Android studio don't know where to get the dradle. the wrapper is just a downloader

That's true in part, but that's why I have this wrapper task, so you just change the wrapper version and then gradle wrapper and it generates everything.


Unable to use Mongock5  without transactions

Description
During startup of my application, I get:
Caused by: io.mongock.api.exception.MongockException: Error in method[SystemChangeUnit00001.execution] : This MongoDB deployment does not support retryable writes. Please add retryWrites=false to your connection string.
I tried to add retryWrites=false, but that did not help.
My application.properties has:
mongock:
  migration-scan-package: de.mesalvo.encounter.migrations
  transaction-enabled: false

My POM:
	<dependency>
		<groupId>io.mongock</groupId>
		<artifactId>mongock-springboot</artifactId>
		<version>5.2.1</version>
	</dependency>

	<dependency>
		<groupId>io.mongock</groupId>
		<artifactId>mongodb-reactive-driver</artifactId>
		<version>5.2.1</version>
	</dependency>

PRIORITY
CRITICAL
Version and environment
Mongock

Mongock version 5.2.1
Modules involved: springboot, MongoDB, reactive
How Mongock is used: annotation approach

Environment

Framework and libraries versions. Spring Boot 2.6.2
Infrastructure: local

Steps to Reproduce

Just need to start the application#

Behaviour
Expected behavior: Changeset to be executed
Actual behavior: Exception
How often the bug happens: 100%
Additional context
Using this config bean:
@Bean
public ConnectionDriver mongockMongoConnection(MongoClient reactiveMongoClient) {
	return MongoReactiveDriver.
			withDefaultLock(reactiveMongoClient, "mesalvo_encounter");
}

Hello @wuttke , we'll take a look and let you know. Please could you confirm if you are using a standalone mongodb server or a replicaset one? Thanks.

Thanks! It’s standalone. I’d suppose with replica sets it should work…

Hello @wuttke , we've just released Mongock version 5.2.2 which fixed this issue. Please could you try it and let us know? Thanks.

Great, the exception is away and my change set is applied!
It did not auto-detect the driver, so I had to add this:
@Bean
public ConnectionDriver mongockMongoConnection(MongoClient reactiveMongoClient,
			   @Value("${spring.data.mongodb.database}") String databaseName) {
	return MongoReactiveDriver.
			withDefaultLock(reactiveMongoClient, databaseName);
}

But I am unsure if this is a problem or works-as-designed. :-)
Thanks for the quick fix!

Could you write the output log with the error you get? It should be auto-injected... Also you can take a look to our examples repository here. The "springboot-quickstart" example is the simplest and auto-configured option.

Hello @wuttke , you are right. Mongock's mongodb reactive driver does not include spring features, so it won't be injected to the spring context. You need to inject it in the same way you write above.


Added session_ttl_min configuration attribute

Hi @johnbellone,
You might decide to add this one.
Cheers :)

Current coverage is 67.50% (diff: 100%)

No coverage report found for master at 2d4f295.

Powered by Codecov. Last update 2d4f295...8dd4539

Would you mind rebasing and re-opening this?


Mute some coverity issues.

CID 1534743, 1534741, 1534735, 1534715, 1534705

Cherry-picked to v10.0.x


TrustInSoft follow up: formal verification of your test suite

Hi Andre,
Let me know if you had a chance to take a look at the continuous integration tool TrustInSoft CI.
I began to set it up on this project. Here’s the link: https://ci.trust-in-soft.com/projects/jakub-zwolakowski/PDFGen/1
On the 2 test cases which I configured, no Undefined Behaviors were encountered, as you have already fixed all the issues that we had found before.
You can also see how it looks like when some more tests are added and different architectures checked: https://ci.trust-in-soft.com/projects/jakub-zwolakowski/PDFGen-UB/11
If you’re interested, I’m happy to help you with the setup. But also you shouldn't need much help: it involves creating an account, adding the tis.config file, and then some other minor configuration effort.

This has sat around for a while and I never got around to actioning it. Sorry about that. I'm assuming that this has moved on now (those links no longer work), so I'll close this issue. Thanks for your help with this.


Update composer.json

Version updating to has a security vulnerability now.  Opened a new PR to set to ~3.0.35: https://github.com/Vantiv/cnp-sdk-for-php/pull/48


Some links in Awesome Jobs are broken

There are currently 4 Senior Content Developer roles listed but only 1 works. The first 2 point to expired role adverts and the final one links to the main careers website.
Sorry if a PR can be done on this, searching 805 repo's on a mobile phone is hard.

@marywill99 can you please help check this?

This issue still exists with links in the Content Developer section.
The bottom links still leads to the careers website.

This has now be addressed! Thanks for the feedback!


Add Genuary livestream to CT live track

Is the plan for the livestreams to be in reverse chronological order (newest first) in the track? I think that's what makes the most sense probably.

Yes, I think reverse chronological order makes sense! Thank you @kfahn22 for this! Just in time for Genuary this year!