Can't run on iOS after upgrading to Channel beta, 2.1.0-12.2.pre from Beta 2.0.1

I'm unable to run my app on iOS after upgrading to  2.1.0-12.2.pre from Beta 2.0.1
everything was perfectly fine before upgrading
Expected results:
it should run perfectly
Actual results:
Failed to build iOS app

Logs
Error output from Xcode build:
↳
    ** BUILD FAILED **
Xcode's output:
↳
    Command PhaseScriptExecution failed with a nonzero exit code
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

               [ +113 ms] Initializing file store
               [  +17 ms] Done initializing file store
               [  +94 ms] debug_unpack_ios: Starting due to {}
               [  +20 ms] Skipping target: gen_localizations
               [ +684 ms] Skipping target: kernel_snapshot
               [  +10 ms] Persisting file store
               [  +13 ms] Done persisting file store
               [  +13 ms] Target debug_unpack_ios failed: Exception: Binary /Volumes/Work/Cookspace/Flutter App/flutter-app/build/ios/Debug-iphonesimulator/Flutter.framework/Flutter does not contain arm64 x86_64. Running lipo -info:
                          Non-fat file: /Volumes/Work/Cookspace/Flutter App/flutter-app/build/ios/Debug-iphonesimulator/Flutter.framework/Flutter is architecture: x86_64

                          #0      UnpackIOS._thinFramework (package:flutter_tools/src/build_system/targets/ios.dart:343:7)
                          #1      UnpackIOS.build (package:flutter_tools/src/build_system/targets/ios.dart:293:11)
                          <asynchronous suspension>
                          #2      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:831:9)
                          <asynchronous suspension>
                          #3      Future.wait.<anonymous closure> (dart:async/future.dart)
                          <asynchronous suspension>
                          #4      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:769:32)
                          <asynchronous suspension>
                          #5      Future.wait.<anonymous closure> (dart:async/future.dart)
                          <asynchronous suspension>
                          #6      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:769:32)
                          <asynchronous suspension>
                          #7      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:598:16)
                          <asynchronous suspension>
                          #8      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:290:32)
                          <asynchronous suspension>
                          #9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1037:27)
                          <asynchronous suspension>
                          #10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:152:19)
                          <asynchronous suspension>
                          #11     CommandRunner.runCommand (package:args/command_runner.dart:197:13)
                          <asynchronous suspension>
                          #12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:283:9)
                          <asynchronous suspension>
                          #13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:152:19)
                          <asynchronous suspension>
                          #14     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:239:5)
                          <asynchronous suspension>
                          #15     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
                          <asynchronous suspension>
                          #16     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:152:19)
                          <asynchronous suspension>
                          #17     main (package:flutter_tools/executable.dart:92:3)
                          <asynchronous suspension>

               [  +20 ms] "flutter assemble" took 1,066ms.
               [   +4 ms]
                          #0      throwToolExit (package:flutter_tools/src/base/common.dart:12:3)
                          #1      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:307:7)
                          <asynchronous suspension>
                          #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1037:27)
                          <asynchronous suspension>
                          #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:152:19)
                          <asynchronous suspension>
                          #4      CommandRunner.runCommand (package:args/command_runner.dart:197:13)
                          <asynchronous suspension>
                          #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:283:9)
                          <asynchronous suspension>
                          #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:152:19)
                          <asynchronous suspension>
                          #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:239:5)
                          <asynchronous suspension>
                          #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
                          <asynchronous suspension>
                          #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:152:19)
                          <asynchronous suspension>
                          #10     main (package:flutter_tools/executable.dart:92:3)
                          <asynchronous suspension>

               [   +2 ms] ensureAnalyticsSent: 0ms
               [   +1 ms] Running shutdown hooks
               [        ] Shutdown hooks complete
               [   +3 ms] exiting with code 1
               Command PhaseScriptExecution failed with a nonzero exit code

[  +23 ms] Could not build the application for the simulator.
[   +2 ms] Error launching application on iPhone 12 Pro Max.
[   +4 ms] "flutter run" took 17,749ms.
[   +4 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:12:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:659:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1037:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:152:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:197:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:283:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:152:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:239:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:152:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:92:3)
           <asynchronous suspension>

[ +100 ms] ensureAnalyticsSent: 99ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hook priority 4
[   +3 ms] Shutdown hooks complete
[        ] exiting with code 1

flutter doctor -v
[✓] Flutter (Channel beta, 2.1.0-12.2.pre, on macOS 11.2.3 20D91 darwin-x64,
    locale en-BD)
    • Flutter version 2.1.0-12.2.pre at /Volumes/Work/FlutterSrc/flutter
    • Framework revision 5bedb7b1d5 (3 weeks ago), 2021-03-17 17:06:30 -0700
    • Engine revision 711ab3fda0
    • Dart version 2.13.0 (build 2.13.0-116.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/imsaharukh/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.55.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • 52369689-3A84-4B3B-84FF-F58F0F53F65B • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-x64     • macOS 11.2.3 20D91 darwin-x64
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 89.0.4389.114

• No issues found!

Hi @imSaharukh
Did you update your packages? Did you clean the project
Can you please provide complete flutter run --verbose in a text file
Thank you

@TahaTesser Yes, I have updated all my packages and also clean the project
here is my flutter run --verbose output
output.txt

i am able to run on ios by deleting ios folder and run flutter create .
but didn't understand what's the issue

Hi @imSaharukh
It seems to be something with the build script, which fixed by generating a fresh folder. If the problem persists, please comment below.
Given your last message I feel safe to close this issue, if you disagree please write in the comments and I will reopen it.
Thank you

Hi @TahaTesser I'm facing the same problem. After upgrade to flutter 2.2.0, I can not run on iPhone simulator 14.5. But, when use XCode to run in debug mode, everything works fine.

@anhlevfx
please file a new issue with the exact description of what happens, logs, and flutter doctor -v output and most importantly reproducible steps

Hi @TahaTesser I'm facing the same problem. After upgrade to flutter 2.2.0, I can not run on iPhone simulator 14.5. But, when use XCode to run in debug mode, everything works fine.

try deleting the iOS folder (save the info.plist)
and recreate the ios folder using "flutter create ."
this trick worked for me on that time


Can't use buckets with . in them

Read up here:  https://github.com/boto/boto/issues/2836
I fixed this by adding this in the headers:
import ssl
if hasattr(ssl, '_create_unverified_context'):
ssl._create_default_https_context = ssl._create_unverified_context

Fixed in 8ebcd33.  Thanks!

Actually it turns out this broke the tool for 2.7 users.  Reverting that commit for now until I can find a non-version specific fix.


Error opening [FTL]

How i can get it to work ?

i am on windows 10 pro v.1903  ,  os 18362.720

It looks like it successfully dumped based on the log there.
It says clearly it should be at
C:\Users\Arthur\AppData\Local\Packages\SubsetGames.FTLFasterThanLight_gvagsjwfgyhyc\TempState\DUMP

I don't think it finished dumping. Due to the errors reading certain files, the dump will likely be incomplete.

the DUMP file is empty :/

Ah I see now. It's partially reading the files for some reason. This is similarly happening on MCC with #31. I haven't been able to diagnose much of this UWP stuff due to my main workstation suffering an AIO leak but part of me thinks that there is some access control stuff in place to stop certain kinds of dumping as only some files refuse to be dumped despite it reading the file into memory and then writing it, as opposed to a filesystem operation.
https://github.com/Wunkolo/UWPDumper/blob/9fb0a040e674521c1413276bcea6e4e708f34d19/UWPDumper/main.cpp#L156

I am encountering the same issue with MCC, and after looking into it, I agree that it is probably due to access control. The dumper can successfully dump all files that I can access with a simple owner change. However, if I cannot change the owner to access a file, then the dumper cannot access the file either.

This might help with taking ownershop of directories: https://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/

This might help with taking ownershop of directories: https://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/


Custom isMergeableObject function

Fixes #95
Closes #93
Fixes #90

Pinging @Kielan, @nedeljko-vidovic, and @eltiare for review

Being able to determine merging strategy is nice. I'll test it out in the next couple of days.


Dynomite constantly logs lots of Invalid argument log every second

We have installed the latest version(master) of dynomite and the latest version when running dumps lots of Invalid argument logs in the log file and this happens for each second. Together this causes the log files to grow and can bring down the system.
The errors/logs I see constantly for each second is
[2016-09-27 18:17:33.896] proxy_accept:353 accepted CLIENT 11 on PROXY 9 from '<IP_ADDRESS>:29980'
[2016-09-27 18:17:33.896] core_close_log:291 close CLIENT 11 '<IP_ADDRESS>:29980' on event 00FF eof 0 done 0 rb 12 sb 7: Invalid argument
[2016-09-27 18:17:33.896] client_unref_internal_try_put:124 unref conn 0x10e2920 owner 0x10d32c0 from pool 'dyn_o_mite'

Can you increase a log level and see what it prints, you can do that on the stats port and you do not have to restart dynomite.
on the dynomite node do :
curl -s http://localhost:<STATS_PORT>/loglevelup
This increases the log level by 1, try increasing it to may be 9 (thats what I usually do).
Once that is done, and you have the logs, make sure you call
curl -s http://localhost:<STATS_PORT>/logleveldown to get it down. This will decrease the log level by 1.
Default logleve is 5.
Check it out and let me know,

@shailesh33  I have attached the log dump after increasing it to level 9.  Please note that this issue is only on local rack and not on the replication racks.
dynomite_log_dump.txt

Are you using a side car that is doing constant pings? I think thats the one who is calling quit which is being treated as an invalid arg.

@shailesh33  I did not understand the last comment, can you please explain more? I have 6 nodes, 3 in each rack and this is happening in primary rack.

who is doing a ping to the node?
What is this ip address: <IP_ADDRESS>:

<IP_ADDRESS> is one of the dynomite nodes(node1 technically) in the rack and <IP_ADDRESS> is node2 from where the logs are collected.
I use 5 nodes as seeds in each of the dynomite nodes. Node1 in rack1 will have node 2 and 3 from rack1 and nodes 1, 2, 3 from rack2 and so on.

I have attached node1 dynomite.yml(from IP <IP_ADDRESS>) for your reference.
node1_dynomite_yml.txt

ok. I think I see the problem: There is a special consideration for INLINE_PING as you see here:
https://github.com/Netflix/dynomite/blob/dev/src/proto/dyn_redis.c#L434
But you are also getting a INLINE QUIT.
Usually redis protocol expects the command like this:
*4\r\nPING\r\n or *4\r\nQUIT\r\n (rougly)
but you are getting:
PING\r\n or QUIT\r\n
Do you have a side car running?

AFAIK we are running redis and dynomite on that host and nothing else that talks to these two. Pardon my ignorance, I am not used to the term sidecar. I am assuming it is a parallel service or something that talks to dynomite.

There is some service calling ping to dynomite using the old version of the
protocol. We can fix Dynomite to understand it but would love to see who is
calling ping on the nodes.
I do not think dynomite pings each other.
But still try to stop Dynomite on the other nodes.
On Tuesday, September 27, 2016, Balaji Venkatesan<EMAIL_ADDRESS>wrote:

AFAIK we are running redis and dynomite on that host and nothing else that
talks to these two. Pardon my ignorance, I am not used to the term sidecar.
I am assuming it is a parallel service or something that talks to dynomite.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Netflix/dynomite/issues/344#issuecomment-249968519,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALle55AIbCY5n560ORQ1F8Xr4gAbx-rDks5quWuIgaJpZM4KH_z0
.

I do not think so @shailesh33  because if thats the case then it should also happen to the nodes on the secondary rack as well and thats not the case. It only happens to the nodes in the primary rack.

Can you debug if there is a client in play that is talking to the primary rack?
Lets chat on gitter. This is taking longer.

@balajivenki are we good with this issue or you want to still follow up with it?

@ipapapa I do not think dynomite is causing this issue, I still havent figured out what is causing it internally. However @shailesh33  Said he can add the validation if needed(" We can fix Dynomite to understand it but would love to see who is
calling ping on the nodes.")
I will close this issue now and will reopen if I find anything. In the meanwhile if we can address it in dynomite then that would be great.

I still get the same error. dynomite v0.6.15, redis storage.
the log is :
[2019-08-19 11:19:45.461] log_level_up:91 up log level to 10
[2019-08-19 11:19:58.934] gossip_loop:794 Gossip is running ...
[2019-08-19 11:20:06.374] event_wait:239 epoll 0001 triggered on conn 0xe1be30
[2019-08-19 11:20:06.374] core_core:505 event 00FF on <CONN_PROXY 0xe1be30 6 listening on '<IP_ADDRESS>:8379'>
[2019-08-19 11:20:06.374] _dn_alloc:229 malloc(88) at 0xe2db60 @ dyn_dict.c:175
[2019-08-19 11:20:06.374] client_ref:83 <CONN_CLIENT 0xe2d930 -1 from ''> ref owner 0xe10200 into pool 'dyn_o_mite'
[2019-08-19 11:20:06.374] conn_get:181 get conn 0xe2d930 CONN_CLIENT
[2019-08-19 11:20:06.374] _stats_pool_incr:1630 incr field 'client_connections' to 1
[2019-08-19 11:20:06.374] event_add_conn:188 adding conn <CONN_CLIENT 0xe2d930 15 from '<IP_ADDRESS>:52074'> to active
[2019-08-19 11:20:06.374] proxy_accept:203 <CONN_PROXY 0xe1be30 6 listening on '<IP_ADDRESS>:8379'> accepted <CONN_CLIENT 0xe2d930 15 from '<IP_ADDRESS>:52074'>
[2019-08-19 11:20:06.374] core_process_messages:618 length of C2G_OutQ : 0
[2019-08-19 11:20:06.374] event_wait:239 epoll 0004 triggered on conn 0xe2d930
[2019-08-19 11:20:06.374] core_core:505 event FF00 on <CONN_CLIENT 0xe2d930 15 from '<IP_ADDRESS>:52074'>
[2019-08-19 11:20:06.374] event_del_out:165 removing conn <CONN_CLIENT 0xe2d930 15 from '<IP_ADDRESS>:52074'> from active
[2019-08-19 11:20:06.374] core_process_messages:618 length of C2G_OutQ : 0
[2019-08-19 11:20:08.597] event_wait:239 epoll 0001 triggered on conn 0xe2d930
[2019-08-19 11:20:08.597] core_core:505 event 00FF on <CONN_CLIENT 0xe2d930 15 from '<IP_ADDRESS>:52074'>
[2019-08-19 11:20:08.597] _dn_alloc:229 malloc(32) at 0xe2df60 @ ../dyn_array.c:35
[2019-08-19 11:20:08.597] _dn_alloc:229 malloc(32) at 0xe2df90 @ ../dyn_array.c:40
[2019-08-19 11:20:08.597] _dn_alloc:229 malloc(32) at 0xe20f10 @ ../dyn_array.c:35
[2019-08-19 11:20:08.597] _dn_alloc:229 malloc(16) at 0xe20f40 @ ../dyn_array.c:40
[2019-08-19 11:20:08.597] msg_get:472 get msg 0xe2dbe0 id 3 request 1 owner sd 15
[2019-08-19 11:20:08.598] mbuf_get:114 get mbuf 0xe31fe0
[2019-08-19 11:20:08.598] mbuf_insert:194 insert mbuf 0xe31fe0 len 0
[2019-08-19 11:20:08.598] conn_recv_data:347 <CONN_CLIENT 0xe2d930 15 from '<IP_ADDRESS>:52074'> recv 9 of 16320
[2019-08-19 11:20:08.598] redis_parse_req:2348 parsed bad req 3 res 1 type 0 state 0
00000000  73 65 74 20 61 20 61 0d  0a                        |set a a..|
[2019-08-19 11:20:08.598] core_recv:390 <CONN_CLIENT 0xe2d930 15 from '<IP_ADDRESS>:52074'> recv failed: Invalid argument
[2019-08-19 11:20:08.598] core_close:418 close <CONN_CLIENT 0xe2d930 15 from '<IP_ADDRESS>:52074'> on event 00FF eof 0 done 0 rb 9 sb 0: Invalid argument
[2019-08-19 11:20:08.598] event_del_conn:208 removing conn <CONN_CLIENT 0xe2d930 15 from '<IP_ADDRESS>:52074'> from active
[2019-08-19 11:20:08.598] _stats_pool_decr:1640 decr field 'client_connections' to -1
[2019-08-19 11:20:08.598] _stats_pool_incr:1630 incr field 'client_err' to 1
[2019-08-19 11:20:08.598] client_close:188 <CONN_CLIENT 0xe2d930 15 from '<IP_ADDRESS>:52074'> close, discarding pending <REQ 0xe2dbe0 3:0::0 UNKNOWN, len:9> len 9
[2019-08-19 11:20:08.598] mbuf_remove:214 remove mbuf 0xe31fe0 len 9
[2019-08-19 11:20:08.598] mbuf_put:145 put mbuf 0xe31fe0 len 9
[2019-08-19 11:20:08.598] _dn_free:267 free(0xe2df90) @ ../dyn_array.c:77
[2019-08-19 11:20:08.598] _dn_free:267 free(0xe2df60) @ ../dyn_array.c:55
[2019-08-19 11:20:08.598] client_unref_internal_try_put:95 <CONN_CLIENT 0xe2d930 -1 from '<IP_ADDRESS>:52074'> unref owner <POOL 0xe10200 'dyn_o_mite'>
[2019-08-19 11:20:08.598] _dn_free:267 free(0xe2db60) @ dyn_dict.c:471
[2019-08-19 11:20:08.598] conn_put:189 putting <CONN_CLIENT 0xe2d930 -1 from '<IP_ADDRESS>:52074'>

The redis command is 'set a a'.
thanks


Openshift build failing on OSX El Capitan -

attached the gist logs
https://gist.github.com/anonymous/083c2353cf3d24bacaf7

I had a similar problem on Yosemite with v1.0.5.  Version 1.0.4 was working fine.  Here's the contents of the log file 01.make:
make
all
WHAT=cmd/openshift
GOFLAGS=-v

hack/build-go.sh cmd/openshift
++ Building go targets for darwin/amd64: cmd/openshift
package github.com/openshift/origin/cmd/openshift
        imports github.com/openshift/origin/pkg/cmd/openshift
        imports github.com/openshift/origin/pkg/cmd/admin
        imports github.com/openshift/origin/pkg/cmd/admin/cert
        imports github.com/openshift/origin/pkg/cmd/server/admin
        imports github.com/openshift/origin/pkg/cmd/cli/describe
        imports github.com/gonum/graph/internal: use of internal package not allowed
make: *** [all] Error 1

HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: 2b624dc1639ac67017ea5ed1ef7aa6a87137256a
Last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: 8-core 64-bit haswell
OS X: 10.10.5-x86_64
Xcode: 6.4
CLT: <IP_ADDRESS>.1.1435007323
GCC-4.2: build 0
Clang: 6.1 build 602
X11: 2.7.7 => /opt/X11
System Ruby: 2.0.0-p481
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby
Java: 1.8.0_51

HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.10
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/go/bin:/usr/local/opt/git/bin:/usr/bin:/bin:/usr/sbin:/sbin

Thank you @vvaka and @adrianluisgonzalez, and sorry for my late reply.
The root cause is that most of the Mac environment already has Go 1.5 and it has new internal package function.
The troubled package will be fixed. - https://github.com/openshift/origin/pull/4324/files#diff-21028052c2cb37c2d299ccf7b678d9beL11
So, it seems better to wait for update to v1.0.5 until Go1.5 support for Origin. https://github.com/openshift/origin/pull/4324
Now I downgraded homebrew-openshift to v1.0.4 and you can use it.

@nak3, thanks for the info.

Just FYI: https://github.com/openshift/origin/pull/4324 has been closed, but we need to wait for new tag v1.0.7.

I updated to v1.0.7. If you got following error, you may need to untap/tap and update.
% brew update
error: insufficient permission for adding an object to repository database .git/objects
fatal: failed to write object
fatal: unpack-objects failed
Error: Failed to update tap: nak3/openshift
Already up-to-date.

Solution

% sudo brew untap nak3/openshift
% brew tap nak3/openshift
% brew install nak3/openshift/openshift

thanks, works for me.

Thank you @adrianluisgonzalez
@vvaka I will close this issue, but if you hit any issue regarding this, please feel free to re-open.


Shelflist - holdings exception

org.camunda.bpm.engine.impl.pvm.PvmException: couldn't execute activity <serviceTask id="database_query_task_1554364a_f73a_41ee_b61b_8c1d8755d021" ...>: /
mnt/workflows/shelflist-holdings/shelflist-holdings-report-1682708949787.csv (No such file or directory)

Confirm that this is still occurring

Still occurring - scope the file path to the tenant to fix.

This has been resolved


proper set up of partisipants.json

I have a data set where we document the time passed since a treatment from an MR visit.  In some case we have participant that have never undergone treatment. It's not missing data. So how best do I document this in both the participants.tsv and  participants.json?

hi @MRIDude thanks for your question! Perhaps these can be n/a or sparsely recorded filling in the values you do have. In the json file, you can denote the recording scheme you choose
NeuroStars with the BIDS tag is also a good location to ask for BIDS help - the community is more active over there for answering questions


triplanar ignores depth map

Godot version:
3.1 and 3.2 nightly 20190715
OS/device including version:
Windows 10, Nvidia GTX 1060 current drivers
Issue description:
in a Quad, Plane, Godot-primitive, activating triplanar makes the spatialmaterial ignore the Depth map, as soon as you deactivate triplanar and set the UV scale by hand, the Depth maps works again, this was supposed to be solved last year with: https://github.com/godotengine/godot/issues/19301
but at least depth map is still broken when triplanar is activated, further testing with other maps needs to be done.
Steps to reproduce:
Create a Quad, plane, primitive, set the maps (albedo, normal, etc), set the depth map, it should work... now activate triplanar in UV, the depth stopts working, it gets ignored and only normal, albedo, etc are used

Looks like it is not supported.
https://github.com/godotengine/godot/blob/22c843b0c451a0c3d79a3b3e6af900b841c51c12/scene/resources/material.cpp#L742

interesting, its weird that it was marked as resolved in last year issue
¿is there a math issue when the triplanar is calculated or something like that? I mean, normal maps are working and using the same calculations
thanks @clayjohn hope this gets added, its a lot easier to use triplanar than to manually set UVs for every plane

In that issue all additional maps broke, so the depth map issue was just grouped in with the rest.

is there a math issue when the triplanar is calculated or something like that?

I am not sure. But I would guess it is very difficult to implement if not impossible. As depth mapping is significantly more complex than normal mapping. Normal mapping only effects the light calculations while depth mapping affects the visibility of sections of the texture.

Closing as per the comment above.


When placed in HEAD tag, gets pushed into BODY tag

Summary
When including <html-import> in a head tag, it pushes itself (and all the following tags) to the body tag.

Okay, this appears to be a limitation of custom-elements, and how they are processed by the HTML Parser. With the following source code:
<html>
  <head>
    <!-- start HEAD tag -->
    <custom-element></custom-element>
    <!-- end HEAD tag -->
  </head>

  <body>
    <!-- start BODY tag -->
    <!-- end BODY tag -->
  </body>
</html>

It becomes the following:
<html>
  <head>
  <!-- start HEAD tag -->
  </head>

  <body>
    <custom-element></custom-element>
    <!-- end HEAD tag -->

    <!-- start BODY tag -->
    <!-- end BODY tag -->
  </body>
</html>

See in Edge Browser:


GUI new layout

A new layout for the GUI including a drawer and a bigger terminal .

Manually added you this update. Welcome to the team!


Another try on adding an error message when delayed task target was not found.

As discussed in #63.

merged on master. thanks


Contribution file is empty.

Hi, the contribution.md file is empty.  Could you please give me an idea about this organization.

I guess you didn’t arrive here via the front page? If not, how did you find the org? Would be good to know where to add additional information

This is what i see. I have seen name of  this organization on one user's profile and clicked the link.

Thanks, that’s good to know. I’ll put it on my list to add some extra information

I would like to contribute to your projects , please let me know the updates when you fix this issue. Thanks.


Connecting to localhost from within the db container not working

Describe the bug
Connecting to the docker host from the postgresql via pg_net is not possible.
To Reproduce
Steps to reproduce the behavior:

Have some service ruuning on your machine, just something which can serve http requests.
supabase start to start the local dev env
Go to the sql tab select net.http_get('http://host.docker.internal:3000/');
See the 'Couldn't connect to server' error message in the _http_response table

Expected behavior
I expected to be able to connect to localhost from inside the db container.
System information
Rerun the failing command with --create-ticket flag (preferred).

Ticket ID: [or provide the information manually below]
OS: macOS
Version of CLI: 1.123.4
Versions of services:
SERVICE IMAGE      │        LOCAL         │ LINKED
─────────────────────────┼──────────────────────┼─────────
supabase/postgres      │ <IP_ADDRESS>           │ -
supabase/gotrue        │ v2.125.1             │ -
postgrest/postgrest    │ v11.2.2              │ -
supabase/realtime      │ v2.25.35             │ -
supabase/storage-api   │ v0.43.11             │ -
supabase/edge-runtime  │ v1.29.1              │ -
supabase/studio        │ 20231123-64a766a     │ -
supabase/postgres-meta │ v0.75.0              │ -
supabase/logflare      │ 1.4.0                │ -
bitnami/pgbouncer      │ 1.20.1-debian-11-r39 │ -
darthsim/imgproxy      │ v3.8.0               │ -

I tried debugging this myself: I had a look here (https://github.com/supabase/cli/blob/b0082f9983cb64f90f0714e8807389f6a1f1ff58/internal/db/start/start.go#L103) to see how the db docker container is configured.
I noticed that it is missing the NetworkMode: 'host'. The gen types command has this param, and has no problems connecting to localhost (https://github.com/supabase/cli/blob/b0082f9983cb64f90f0714e8807389f6a1f1ff58/internal/gen/types/typescript/typescript.go#L76).
I also tried compiling myself to add this param, but I always end up getting an error message, because the docker daemon couldn't find the network.

I can say the oldest trick in the book fixed it. Rebooting my machine.


Consider Referencing or Documenting Required Components

This documentation is evolving quite nicely, However, it seems that it would be useful to document the specific libraries or components required to implement the specific functionality.
For example, ion order to use Data Annotations as described above in your Model Definition, you also need to add "using System.ComponentModel.DataAnnotations.Schema;".
The IDE does as very good job of helping you figure this out but it would more helpful when learning, to have that guidance in the documentation, here in the relevant article, where it is easy to find.

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

ID: 7b143a3f-aecb-49b6-66e1-0c459af0e2de
Version Independent ID: 1b594bfc-f0a3-4938-a415-50ea34805d8e
Content: Data Types - EF Core
Content Source: entity-framework/core/modeling/relational/data-types.md
Product: entity-framework
GitHub Login: @rowanmiller
Microsoft Alias: divega

Duplicate of  #729 and #740


Update gcds-button component with new task

TODO

[ ] Code new skip-to-content task into button components

Outcomes

Expand button component's functionality to contain skip to content task

Deliverables

New task in gcds-button component

Estimated Effort

[x] XS: 1 to 2 hours
[ ] S: half a day
[ ] M: 1-2 day
[ ] L: 1 week
[ ] XL: Move to an epic

Added skip-to-content to gcds-button component. https://github.com/cds-snc/gc-ds-button/pull/3


Dependency injection ?

Hello,
Is your feature request related to a problem? Please describe.
I would like to be able to pass a service object to a controller, by avoiding creating the instance in the controller.
Describe the solution you'd like
Would it be possible to have any kind of dependency injection, to use services with controllers ? Kind of the way that Spring does it. But I saw some readings that seems to indicate that it's a touchy subject in C++..
At least, maybe it would be fine to pass a parameter to a controller constructor. But I don't know if it's possible.
Describe alternatives you've considered
Create an instance of service in a controller, use a Singleton for services
Regards

see the issue #97 and prefer to the following lines in tests of drogon:
https://github.com/drogonframework/drogon/blob/9524a91479b8442f881e3f5d84df2cf1a13c7f97/lib/tests/integration_test/server/CustomCtrl.h#L4
Note that set the second template parameter to false.
https://github.com/drogonframework/drogon/blob/9524a91479b8442f881e3f5d84df2cf1a13c7f97/lib/tests/integration_test/server/main.cc#L254-L260

Hello,
Is your feature request related to a problem? Please describe. I would like to be able to pass a service object to a controller, by avoiding creating the instance in the controller.
Describe the solution you'd like Would it be possible to have any kind of dependency injection, to use services with controllers ? Kind of the way that Spring does it. But I saw some readings that seems to indicate that it's a touchy subject in C++.. At least, maybe it would be fine to pass a parameter to a controller constructor. But I don't know if it's possible.
Describe alternatives you've considered Create an instance of service in a controller, use a Singleton for services

Yes, you could create a plugin for this. plugins can be well initailized and managed by drogon.

Regards

Well, thank you for these 2 responses that are both interesting :grin:

I recommend using plugins as it is less coupled


SW-5813 Add subzone name to plots table

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#3003  👈
#3002
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @nickgraz and the rest of your teammates on  Graphite

Merge activity

Aug 13, 12:27 PM EDT: @nickgraz started a stack merge that includes this pull request via Graphite.


Refurbished algorithm

@aykevl, greate work
Just FYI, there is updated version of Madgwick (https://github.com/xioTechnologies/Fusion)
It tries to filter out noise through detecting sharp sensors disturbances and  temporal rejections of readings.
There is some translation of new version from C to Golang:
https://github.com/soypat/ahrs
though it doesn't use rejection.

Thank you for the FYI! I haven't used this repository in a while, once I do I can look into using the newer algorithm instead.


🌱 Bump CAPI to v1.4.6

What this PR does / why we need it:
Uplift CAPI to latest v1.4 patch release

/test all

/test-ubuntu-e2e-integration-release-1-4


feat: Expect exactly one securityGroup tagged with kubernetes.io/cluster/eks-1 for ENI

Description
"kubernetes.io/cluster/${var.cluster_name}" = "owned" - removing hardcoded  tag from node sg
Motivation and Context
ENI can have only one sg with this tag
https://github.com/kubernetes-sigs/aws-load-balancer-controller/issues/1897
Breaking Changes
Can be added into var.tags if needed on the node level
How Has This Been Tested?
Cluster re-created, changes didn't affect anything before this tag was removed manually, but due to multiple terraform applied it recreates all the time casein manual follow-up

FYI https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/docs/faq.md#i-received-an-error-expect-exactly-one-securitygroup-tagged-with-kubernetesioclustername-

@bryantbiggs FYI the documentation explained that if you want to use it separately you'll need to create sg for node   // The following variables are necessary if you decide to use the module outside of the parent EKS module context.   // Without it, the security groups of the nodes are empty and thus won't join the cluster.   cluster_primary_security_group_id = module.eks.cluster_primary_security_group_id   vpc_security_group_ids            = [module.eks.node_security_group_id] from here https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/modules/eks-managed-node-group/README.md
But you guys do not care about this usage, right?

But you guys do not care about this usage, right?

I don't follow - we do support that usage pattern

ok, cool - we will stick to fork then :)


Some junk icon warnings in new project

Godot version:
3.1 Alpha
OS/device including version:
Windows 10
Issue description:
If you create and run a new project you can observe these warnings in console window..

Duplicate of #21072.


Iterative Preorder Traversal in a Binary Tree

🚀 Feature
Iterative solution for Traversing a Binary Tree
Have you read the Contributing Guidelines on Pull Requests?
YES,I have read the guideline.
Motivation
I want to contribute to GSSOC'21 as a participant.

Kindly assign this issue to me.

/assign


Tour should be 1st tile on Composer  'Home' page

I expected the Product Tour to be the fist tile in 'Tutorials' - why is it not?
If we only have 4 spots, I'd push Emulator to the 5th (Tour being 1st).

@mareekuh are you referring to the 'Resources' cards on the home page?
Can you clarify exactly where this Product Tour card would link to please?

Yeah - this is the onboarding experience that recently got fixed

I am also reviewing the 'News' section and will be proposing [updates to the copy.] - could you take a look? (yellow section, E2E 2 tab)
(https://microsoft.sharepoint.com/:x:/r/teams/ConversationalAI785/_layouts/15/Doc.aspx?sourcedoc={6B1FACBD-B5FE-4AD2-A35B-995635C1696B}&file=glossary.xlsx&action=edit&mobileredirect=true&wdPreviousSession=36539654-a42b-4b87-be1b-de96507b4422&wdOrigin=TEAMS-ELECTRON.teams.undefined&cid=676cf454-61e0-4182-bd27-39044bb51cea)

@mareekuh thanks.  Taken a scan and will dig in this week.  Some of the updates look straightforward, others I think we need to keep closer to the original, but we can sync this week.
On the product tour, I don't believe we can trigger the product tour - these cards are designed to link out to external content.  This is something we can consider for a future milestone though. I am not sure though that this is the best use of real estate, given the product tour is automatically on for new users and can also be re-enabled in settings.  Anybody looking at this section is likely look for additional content - plus this content is now planned to be updated over time as new tutorials / videos become available.

Ok cool -if it's turned on by default, that's great. (-:
I talked with Darren and Scott about the need to do a copy pass and they ok-ed and the 3 of us will figure out a way to do it.
I am collecting the hi-pri flows in the xls so it's in a single place that can be reviewed and worked from. I used the E2E scenarios as a basis and will cross-check with what's in the Builds. Will send you a heads-up when sections are ready to review - trying to do a streamline/align across pages and feature crews vs change-for-change sake (-:

Closing this as tour being made available via the Rocketship.

@garypretty  and @mewa1024 The learning section is not very discoverable, and when it does get discovered, people likely are way past the need for a product tour. The most likely place and time where people run into it (other than when they first open composer) is on the home page when they are figuring out what to do next. I don't think there is harm in placing it there. Can we do so?


Failed to build lxml during install on Ubuntu 16.04.1 LTS

Failed to build lxml
Installing collected packages: Django, ecdsa, pycrypto, paramiko, requests, markupsafe, Jinja2, Unidecode, python-slugify, sqlparse, django-debug-toolbar, lxml, graphviz, ncclient, pyang
Running setup.py install for lxml ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-3n0oBg/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-q4GDKX-record/install-record.txt --single-version-externally-managed --compile:
Building lxml version 3.4.4.
Building without Cython.
ERROR: /bin/sh: 1: xslt-config: not found
** make sure the development packages of libxml2 and libxslt are installed **

Solved with:
sudo apt-get -y install libxml2-dev libxslt-dev

Thanks. Instructions to install these libraries are provided in README, installation section.


gltf from blender-exporter

Hi,
I installed gltf-extension and it works with the gltf-files from the gltf-pipeline repo but it does not work with blender-exported gltf-files on my ubuntu 16.04 machine.
using this command:
node bin/gltf-pipeline.js -i ./input/input.gltf --ao.enable -o output.gltf
with the attached file
input.zip
brings me this:

Unhandled rejection Error: EISDIR: illegal operation on a directory

There's a few issues I noticed:
The images section has a TextureAtlas texture with an empty uri. It would be best if this image was just removed.
    "images": {
        "TextureAtlas": {
            "uri": ""
        }
    }

Some of the material references are empty: "material": "",.
Finally there is an issue with khr-materials-common shaders not being encoded correctly, which I submitted a PR for here: https://github.com/AnalyticalGraphicsInc/gltf-pipeline/pull/197.
After making these fixes manually I got it to convert:

Thank you, so there are actually a few minor issues. Would be nice if the software would give the user a better feedback about messy models. Is this worth a pull-request?

The gltf-validator is a useful tool for catching problems ahead of time.
This could deserve a PR though - some of these cases could be caught by the RemoveUnusedProperties and other cleanup stages.

Generally, please keep validation in the glTF Validator so the effort is not duplicated everywhere.
If the Blender exporter has bugs, please submit them here: https://github.com/Kupoman/blendergltf/issues


Feat implement accordion pattern

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


CosteaPI_2017 disease status, healthy?

Hi :)
Recently I was using the sampleMetadata(curatedMetagenomicData 3.0.1). This metadata is really helping a lot.

Since it is already manually curated, can I directly use the metadata collected for my research?

I was confused with this dataset: CosteaPI_2017.

The paper refers to "Subspecies in the global human gut microbiome".
In their paper, they report "298 newly generated ones (Table EV1)". I download the tableEV1 and found after filtered PRJEB17632 & German samples. It returns 111 samples.
However when I extract samples with same criteria in sampleMetadata, it returns 107 samples.
2.1 I am confused with the different sample numbers.
CosteaPI_2017 <- filter(sampleMetadata, study_name == "CosteaPI_2017") %>%   filter(country == "DEU") # 31 individuals, 107 samples
CosteaPI_2017_Stable1 <- readxl::read_xlsx("CosteaPI_2017/msb177589-sup-0003-tableev1.xlsx", sheet = "Sheet1")
CosteaPI_2017_Stable1_DEU <- filter(CosteaPI_2017_Stable1, ENA_study_accession == "PRJEB17632") %>%   filter(., Cohort country == "German") #111 samples
2.2 And in their supplementary table, they didn't write healthy individuals. Why the disease column in sampleMetadata for these samples are "healthy"? Is that because you've other sources for curation?
Thank you! it would be great if some suggestions could be given.
Best Regards,
Lu

@paolinomanghi can you check into this?

Hi @luzhang321, thanks for getting in touch!
I'm glad the metadata help your work!

Yes: using the curated metadata should avoid the problems that may arise curating them by yourself. Besides, the metadata in curatedMetagenomicData have been published several times.

I'm sorry if some of the numbers do not match the ones in the publication. I also mean to point clearly this out in the next paper. Some of the metadata might not be linkable with enough precision to their metagenomic samples, and this is one of the reason why their number differ from the numbers in the paper. It is also common that a bunch of samples result in an empty taxonomic profile. Since, for this release, I focused on giving a cross-section of the current state of metagenomic sequencing, I favoured the presence of a taxonomic profile rather a full respect of the original numbers. I hope this doesn't cause too much trouble.

we apply the healthy flag either when the samples are healthy or when the source allow to approximate the absence of serious diseases. We use to use in the past either healthy or none, but we opted for a simpler encoding. I understand this introduces a potential source of error and a further confusion. I also think anyways that this is reasonable approximation for the diseases which are the most represented in metagenomics. Of course this is not true for other less severe diseases which are less represented (e.g. asthma), or for the ones that are still not represented (depression, autism).

I hope this helps,
Thanks for asking and keep keeping us posted.
I'm closing the issue

Hi @paolinomanghi, thanks for your reply, it's very useful! :)
Hope it doesn't disturb you. I still have another 2 confusion.

dataset : FerrettiP_2018

FerrettiP_2018 <- filter(sampleMetadata, study_name %in% "FerrettiP_2018") %>%
  filter(body_site == "stool" & age_category %in% c("adult", "senior"))

FerrettiP_2018_ena <- read_tsv("FerrettiP_2018/filereport_read_run_PRJNA352475_tsv.txt") %>% # tsv is the file download from ena
  dplyr::filter(., !grepl("infant", experiment_title)) %>%  # filter out infant and stool
  dplyr::filter(., grepl("stool", experiment_title))

setdiff(FerrettiP_2018$sample_id, FerrettiP_2018_ena$sample_alias)
# [1] "CA_C10019IS2318FE_t1M15" "CA_C10039MS2669SA_t0M15"
# 2 more samples are marked stool adult samples in samplemetadata file

I  compared the sample name in ena file: (https://www.ebi.ac.uk/ena/browser/view/PRJNA352475?show=reads)
"CA_C10019IS2318FE_t1M15" : in ena file it was described as infant stool, but in samplemetadata it is adult stool
Illumina HiSeq 2500 sequencing; human metagenome: infant stool	Mother-infant microbiome vertical transmission	PRJNA352475	2318_t1	CA_C10019IS2318FE_t1M15.fastq.bz2
"CA_C10039MS2669SA_t0M15": this sample in ena is also described as infant stool, but in samplemetadata it is adult stool
Illumina HiSeq 2500 sequencing; human metagenome: infant stool	Mother-infant microbiome vertical transmission	PRJNA352475	2669_t0	CA_C10039MS2669SA_t0M15.fastq.bz2

dataset: IjazUZ_2017
I understand some samples are missing, cause they might don't have taxonomy profiles. But there is one sample "S119_a_WGS". In the paper tables1, It is recorded as a healthy child.

in samplemetadata, it is recorded as an adult

Can I remove this sample out?

Looking forward to your reply. Thanks in advance.
Best Regards,
Lu

Hi @luzhang321,
thanks again for getting in touch.
Let' start with the Ferretti dataset: this is a dataset collected by our lab. I wasn't already here when the work was done, but I arrived just in time to add it to the cMD package: so, keeping in mind that errors are always likely and that I didn't carry out by myself all the metadata collections, here's what I did:

I double checked the sources I received from the first author about the metadata (I consider those more recent than the ENA submission, and more recent sources of metadata are often more corrected, in my experience. Besides, let's consider that the main metadata are often created and compiled by the main authors, while ENA or NCBI submission are often completed by side-authors with computational skills). In the raw sources I received from the first authors these samples were adults (stool).

I counted the number of species of these two samples (61 and 107), and I think that, given the average sequencing of six years ago these are typical depths of adult samples (of course this is my subjective evaluation). So from the actual numbers I would trust the metadata.

I looked at the taxonomic profiles: the one with 107 species (CA_C10019IS2318FE_t1M15) is a typical stool, female, healthy profile, with a lot of Alystipes, Akkermansia, Gordonibacter and I would never doubt is a regular adult gut, healthy microbiome. I wouldn't doubt this one.

Looking at the second one (CA_C10039MS2669SA_t0M15, 61 species), I'm a bit in a doubt: to me (again, personal impression) looks like a typical oral microbiome although is signed as a stool. So, I need some more time to check this.

Concerning the problem of Ijaz dataset: I confirm that the one you found is an error. I'll upload the corrected table now, and the package should start applying it a few weeks or so. In the meantime, I suggest you to manually annotate that sample as "child", and I'm very sorry for the inconvenience.
Bests,
Paolo

Hi @paolinomanghi, thank you for your reply! It's very helpful!

There is still an open issue here, until this change has been merged into sampleMetadata:

Concerning the problem of Ijaz dataset: I confirm that the one you found is an error. I'll upload the corrected table now, and the package should start applying it a few weeks or so.

As this is a curation issue, rather than one relating to the software, I am transferring this issue to the curation repository. I've just attempted to pull in updates from the curation repo, there are none currently. If changes are ready by tomorrow morning (EST) / afternoon (CET), sampleMetadata will be updated automatically.


Unit Test: Add error handling for rate limit exceeded in model list

This PR fixes the random failure in our unit test due to HTTP 429

Thanks for the fix. I think this will definitely make test_inference less flaky.
I've two high-level concerns though about what's happening here:

What's the reason for the default model cache time to be 1 day? The models/tasks we're testing barely update so we could perhaps set a much longer cache time?
We get rate-limited because we're making ~750k requests (getting model information for all models on HF) to test only 24 models. I think a better approach is to pass a filter to api.list_models() to get information of only the models we're interested in testing?

Thanks for the fix. I think this will definitely make test_inference less flaky.
I've two high-level concerns though about what's happening here:

What's the reason for the default model cache time to be 1 day? The models/tasks we're testing barely update so we could perhaps set a much longer cache time?
We get rate-limited because we're making ~750k requests (getting model information for all models on HF) to test only 24 models. I think a better approach is to pass a filter to api.list_models() to get information of only the models we're interested in testing?

It was re-set here, though we had it set to 1 day before this: https://github.com/microsoft/DeepSpeed/pull/5688/files


sqlite3-binding.c use after free

My static analyzer found an error like use after free. I'm not sure about this, maybe it's really a true positive or a false positive

There is also such a thing

Could you please provide your Go code.

Unfortunately, this information is confidential.

sqlite3SrcListEnlarge is called by several functions. So, unfortunately I can't figure out what is wrong.


Using ImGui with existing lwjgl

Hello,
we have existing java framework that uses lwjgl for its rendering.
We want to create editor on top of it using imgui. But imgui also runs on lwjgl.
The only gradle dependency I have is imgui, so no lwjgl, since it is already included inside .jar of our framework.
The issue is, when I run the application, our framework initialized glfw and creates its window.
Then when I create my own new glfw window and call lwjglGL3.newFrame(), it crashes on
Exception in thread "main" java.lang.NoSuchMethodError: org.lwjgl.opengl.GL30.glGetInteger(I)I
	at imgui.impl.LwjglGL3.createDeviceObjects(LwjglGL3.kt:210)
	at imgui.impl.LwjglGL3.newFrame(LwjglGL3.kt:103)
	at sk.greentube.DiceTimerApplet.tick(DiceTimerApplet.java:143)

which I presume is caused by mixed lwjgl versions. Could you please help me fix it? Or what dependencies should I have inside Idea so both our framework and imgui runs at the same time (same thread)
This is code snippet I use. tick() is called after our framework initializes GLFW and creates its window.
    @Override
    public void tick() {
        if(windowPointer == 0){
            GLFW.glfwDefaultWindowHints();
            windowPointer = GLFW.glfwCreateWindow(500, 500, "IMGUI", 0, 0);
            GLFW.glfwMakeContextCurrent(windowPointer);
        }

        GLFW.glfwMakeContextCurrent(windowPointer);
        lwjglGL3.newFrame(); // CRASH HERE

        int backBufferTextureId = GLMain.backBufferTextureId;
        int backBuffer = GLMain.backBuffer;
        imgui.text("Novo back buffer: " + backBuffer);
        imgui.text("Novo Pointer: " + backBufferTextureId);
        imgui.text("ImGui Pointer: " + windowPointer);
        imgui.image(backBufferTextureId, new Vec2(300, 300), new Vec2(0, 0), new Vec2(1, 1), new Vec4(1, 1, 1, 1), new Vec4(1, 1, 1, 1));

        gln.GlnKt.glViewport(500, 500);
        gln.GlnKt.glClearColor(new Vec4(0.45f, 0.55f, 0.6f, 1f));
        GL11.glClear(GL11.GL_COLOR_BUFFER_BIT);

        imgui.render();
        lwjglGL3.renderDrawData(imgui.getDrawData());

        glfwSwapBuffers(windowPointer);
    }

Thank you

Hi,
that's very weird, the program seems to be crashing here, which is a very basic lwjgl call.
Which lwjgl version do you use? How are you integrating imgui? Via gradle or fat-jar?

Hello @elect86,
it seems our frameworks runs on version 3.1.1 (its framework of client)
I have integrated imgui via gradle, since we already have lwjgl I am using single dependency:
dependencies {
    compile 'com.github.kotlin-graphics:imgui:-SNAPSHOT'
}

What I have tried to do is removed entire .gradle repository, downloaded only kotlin-graphics and then run it, expecting imgui run on lwjgl from our framework, but maybe there is the issue that it cannot.
When I downloaded lwjgl from gradle as well, I got errors about version mismatch

Looking around that NoSuchMethodError you had it's usually connected when one uses the old slick (relying still on lwjgl2) with lwjgl3.
Please just give a quick check if this is also your case:
println(org.lwjgl.Version.getVersion())

Edit: forget it.
The problem is that in lwjgl 3.1.7 there is a new gl class hierarchy. I'll give a try and see if I can create easily another branch with 3.1.6

Version.getVersion()
returned 3.1.1 SNAPSHOT
I am try to ask for new dev build with upgraded version of our framework, though I am not sure how realistic or complicated that is.

According to Spasi, we have 3 options:
"

You compile the library with 3.1.7+, the application runs on 3.1.7+, everything works.

You compile the library with 3.1.6, the application runs on 3.1.1, everything works. (3.1.6 is binary compatible with 3.1.1, in OpenGL at least)

You compile the library with 3.1.7, but you don't call GL methods via different classes from which they're defined. The application can still run on 3.1.1, binary compatibility does not break."

Option 1 is the best, because this is what it is now and sooner or later you have to upgrade.
Option 2 is kind of laborious because I have to create a 3.1.6 version branch for each library: uno, gln, gli, glm, unsigned, vkk, appBuffer.
We can try option 3, I'll modify some gl calls to see if we can make it run for you

Option 3 will be the fastest, because I need just proof of concept that we can run such an editor on top of our framework, if that will work, we can put more resources into it and upgrade the SDK.
How do you mean compile library with 3.1.7? Include it in gradle dependency?
Thank you

so, let's see option 3
try implementation 'com.github.kotlin-graphics:imgui:917ece215e', it's from the 3.1.6 branch (which is not really 3.1.6) but it uses the original functions from the original classes. No inheritance via higher gl classes. All imports manually added.
Ps: it'll take a couple of minutes before you will actually pull it because the first pull will trigger the build on travis but it wont be yet available probably at that time, so you'll have to pull it twice

How do you mean compile library with 3.1.7? Include it in gradle dependency?

It means that I have to explicitly have the 3.1.7 dependency in that library.
And this means quite some work, because this is the actual dependency schema of imgui regarding our libs
compileClasspath - Compile classpath for source set 'main'.
+--- org.jetbrains.kotlin:kotlin-stdlib:1.2.50
|    +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.2.50
|    \--- org.jetbrains:annotations:13.0
+--- com.github.kotlin-graphics:uno-sdk:e3163787810a7429f67a7faefd00310f1fe13150
|    +--- org.jetbrains.kotlin:kotlin-stdlib:1.2.50 (*)
|    +--- org.jetbrains.kotlin:kotlin-reflect:1.2.50
|    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.2.50 (*)
|    +--- com.github.kotlin-graphics:gln:0793b6b8e6fd576b31b066acee52310f6b8e25db
|    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.2.50 (*)
|    |    +--- com.github.kotlin-graphics:gli:a98fc9b26107ddd654679f0bedf84f3f3aa01443 -> e885226c97b78946e4a31677399b0014ac732a4d
|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.2.50 (*)
|    |    |    +--- com.github.kotlin-graphics:glm:1b99fb5661dd9fc224178b80835fc8edec7b835a
|    |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.2.50 (*)
|    |    |    |    +--- com.github.kotlin-graphics:kotlin-unsigned:0f6b48ccb2adb3a0c30e811cd75b4f2e66e1660b
|    |    |    |    |    \--- org.jetbrains.kotlin:kotlin-stdlib:1.2.50 (*)
|    |    |    |    +--- org.lwjgl:lwjgl:3.1.7-SNAPSHOT
|    |    |    |    +--- org.lwjgl:lwjgl-glfw:3.1.7-SNAPSHOT
|    |    |    |    |    \--- org.lwjgl:lwjgl:3.1.7-SNAPSHOT
|    |    |    |    +--- org.lwjgl:lwjgl-jemalloc:3.1.7-SNAPSHOT
|    |    |    |    |    \--- org.lwjgl:lwjgl:3.1.7-SNAPSHOT
|    |    |    |    +--- org.lwjgl:lwjgl-openal:3.1.7-SNAPSHOT
|    |    |    |    |    \--- org.lwjgl:lwjgl:3.1.7-SNAPSHOT
|    |    |    |    +--- org.lwjgl:lwjgl-opengl:3.1.7-SNAPSHOT
|    |    |    |    |    \--- org.lwjgl:lwjgl:3.1.7-SNAPSHOT
|    |    |    |    \--- org.lwjgl:lwjgl-stb:3.1.7-SNAPSHOT
|    |    |    |         \--- org.lwjgl:lwjgl:3.1.7-SNAPSHOT
|    |    |    +--- org.lwjgl:lwjgl:3.1.7-SNAPSHOT
|    |    |    +--- org.lwjgl:lwjgl-glfw:3.1.7-SNAPSHOT (*)
|    |    |    +--- org.lwjgl:lwjgl-jemalloc:3.1.7-SNAPSHOT (*)
|    |    |    +--- org.lwjgl:lwjgl-openal:3.1.7-SNAPSHOT (*)
|    |    |    +--- org.lwjgl:lwjgl-opengl:3.1.7-SNAPSHOT (*)
|    |    |    \--- org.lwjgl:lwjgl-stb:3.1.7-SNAPSHOT (*)
|    |    +--- org.lwjgl:lwjgl:3.1.7-SNAPSHOT
|    |    +--- org.lwjgl:lwjgl-glfw:3.1.7-SNAPSHOT (*)
|    |    +--- org.lwjgl:lwjgl-jemalloc:3.1.7-SNAPSHOT (*)
|    |    +--- org.lwjgl:lwjgl-openal:3.1.7-SNAPSHOT (*)
|    |    +--- org.lwjgl:lwjgl-opengl:3.1.7-SNAPSHOT (*)
|    |    \--- org.lwjgl:lwjgl-stb:3.1.7-SNAPSHOT (*)
|    +--- com.github.kotlin-graphics:vkk:5eb6d1b0983a0fdadf4ec356c7034a11a1d7a720
|    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.2.50 (*)
|    |    +--- org.jetbrains.kotlin:kotlin-reflect:1.2.50 (*)
|    |    +--- com.github.kotlin-graphics:gli:e885226c97b78946e4a31677399b0014ac732a4d (*)
|    |    +--- com.github.kotlin-graphics:appBuffer:aff415e3566ab5a9da28efcd569fd55b92a16070
|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.2.50 (*)
|    |    |    +--- org.jetbrains.kotlin:kotlin-reflect:1.2.50 (*)
|    |    |    +--- com.github.kotlin-graphics:glm:1b99fb5661dd9fc224178b80835fc8edec7b835a (*)
|    |    |    +--- org.lwjgl:lwjgl:3.1.7-SNAPSHOT
|    |    |    +--- org.lwjgl:lwjgl-glfw:3.1.7-SNAPSHOT (*)
|    |    |    +--- org.lwjgl:lwjgl-jemalloc:3.1.7-SNAPSHOT (*)
|    |    |    +--- org.lwjgl:lwjgl-openal:3.1.7-SNAPSHOT (*)
|    |    |    +--- org.lwjgl:lwjgl-opengl:3.1.7-SNAPSHOT (*)
|    |    |    +--- org.lwjgl:lwjgl-stb:3.1.7-SNAPSHOT (*)
|    |    |    +--- org.lwjgl:lwjgl-vulkan:3.1.7-SNAPSHOT
|    |    |    |    \--- org.lwjgl:lwjgl:3.1.7-SNAPSHOT
|    |    |    \--- graphics.scenery:spirvcrossj:0.4.0
|    |    +--- org.lwjgl:lwjgl:3.1.7-SNAPSHOT
|    |    +--- org.lwjgl:lwjgl-glfw:3.1.7-SNAPSHOT (*)
|    |    +--- org.lwjgl:lwjgl-jemalloc:3.1.7-SNAPSHOT (*)
|    |    +--- org.lwjgl:lwjgl-openal:3.1.7-SNAPSHOT (*)
|    |    +--- org.lwjgl:lwjgl-opengl:3.1.7-SNAPSHOT (*)
|    |    +--- org.lwjgl:lwjgl-stb:3.1.7-SNAPSHOT (*)
|    |    +--- org.lwjgl:lwjgl-vulkan:3.1.7-SNAPSHOT (*)
|    |    \--- graphics.scenery:spirvcrossj:0.4.0
|    +--- com.github.kotlin-graphics:appBuffer:aff415e3566ab5a9da28efcd569fd55b92a16070 (*)
|    +--- org.lwjgl:lwjgl:3.1.7-SNAPSHOT
|    +--- org.lwjgl:lwjgl-glfw:3.1.7-SNAPSHOT (*)
|    +--- org.lwjgl:lwjgl-jemalloc:3.1.7-SNAPSHOT (*)
|    +--- org.lwjgl:lwjgl-openal:3.1.7-SNAPSHOT (*)
|    +--- org.lwjgl:lwjgl-opengl:3.1.7-SNAPSHOT (*)
|    +--- org.lwjgl:lwjgl-stb:3.1.7-SNAPSHOT (*)
|    \--- org.lwjgl:lwjgl-vulkan:3.1.7-SNAPSHOT (*)

It seems it cannot load
dependencies {
    implementation 'com.github.kotlin-graphics:imgui:917ece215e'
}

Pull it again, now has been built
You can check it here

Exception in thread "main" java.lang.NoClassDefFoundError: kotlin/jvm/functions/Function3
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at imgui.impl.LwjglGL3.<clinit>(LwjglGL3.kt:503)

when using the 917ece215e version

It looks like it has to do with Kotlin, never had that before.. I opened an issue
Anyway, let's try to define the type explicitely
try pulling 070cb663e0

same issue :(

I completely commented out the listeners code part
ac3e5b9f82

Sorry, 63d790ec45

amazing, now it got through.
However the from issue persists
Exception in thread "main" java.lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics
	at glm_.buffer.BufferKt.intBufferBig(buffer.kt:18)
	at imgui.impl.CommonKt.<clinit>(common.kt:148)
	at imgui.impl.LwjglGL3.newFrame(LwjglGL3.kt:169)

let`s recap

the only lwjgl there is is from our framework, it has version of 3.1.1
MemoryUtil from crash does exist

I manually resolved those buffer creations
e6e0547a6a

Exception in thread "main" java.lang.NoClassDefFoundError: kotlin/jvm/internal/FloatCompanionObject
	at glm_.mat4x4.Mat4.<clinit>(Mat4.kt:627)
	at imgui.impl.CommonKt.<clinit>(common.kt:84)
	at imgui.impl.LwjglGL3.newFrame(LwjglGL3.kt:169)

hmm, I can enter the Float class, but it seems again java cannot find it

I give up, something is causing all this problems and I have no idea what is it.
Can you try, just for the sake of curiosity, to clone the project and run the demo test sample?

Okay now I am sure it is because of different LWJGL versions. I will try to ask for SDK with newer version.
What I have tried to do is created separate module, make dependencies on newest lwjgl and run our game in another thread and then run imgui in main thread.
Now this worked, I got both our game and our SDK working at the same time.
The issue is, I need to render our game into imgui window, so I used imgui.image() method, and passed it pointer from our framework (id was 1, which was kinda strange). However the texture shown by imgui was its text atlas, instead of our texture, any idea why?

Wait, what do you want to do? Why rendering the game into the imgui window?
Normally I'd expect imgui on top of the game/app..
userTextureId is the opengl integer texture name, 1 sounds fine since they start from 0. And it's very likely to be the font atlas as the picture shows
Ps: just for curiosity, which game is that?

I am rendering game into imgui window, because I want the window to be resizable or movable. It would be impossible to work with editor where game is on entire screen. Just look at Unity or Unreal, scene windows are separate
Or the example you have on your page:
https://cloud.githubusercontent.com/assets/8225057/20628927/33e14cac-b329-11e6-80f6-9524e93b048a.png
Hmm, why is than both our texture and your font atlas ID of 1? Why did GL.genTextures() generated the same ID? How could we get the texture from our game into imgui?
This is not the game, but rather "games". Basically in our company (100+ devs, many smaller companies) we use the framework I told you about to create many, many mobile/web games. But the framework has no editor. I wanted to build editor into it so I am now doing research if that can be done. Imgui is library I would like to use.

I am rendering game into imgui window, because I want the window to be resizable or movable.

Uhm, yeah, that makes sense

Hmm, why is than both our texture and your font atlas ID of 1? Why did GL.genTextures() generated the same ID? How could we get the texture from our game into imgui?

This sounds impossible, are you sure?
Or may it have something to do with the fact that you have different threads launching rendering commands? How is the context handled?
Also try to save or render on screen your texture to be sure that is exactly what you think it is.

This is not the game, but rather "games". Basically in our company (100+ devs, many smaller companies) we use the framework I told you about to create many, many mobile/web games.

Well, in this case it might be worth having a 3.1.6 (option 2). Could you step in and help in this direction?

This sounds impossible, are you sure?
Or may it have something to do with the fact that you have different threads launching rendering commands? How is the context handled?
Also try to save or render on screen your texture to be sure that is exactly what you think it is.

Yes, I am launching two threads, each running their own GL commands, that may be the case. I tried using our synchronized object, but that didn`t solve the issue. (only from beginFrame() to render())
There are most likely two contexts, one is ours, second of imgui.
Is it somehow possible for imgui to use first context, so texture ID from our first context is usable?
Anyway, I will try to dig deeper into why it is showing atlas picture.

Well, in this case it might be worth having 3.1.6 libraries (option 2). Would you be available to step in and help in this direction?

Well, so far, no, as I have mentioned, there are many smaller companies, we are one of them. If I can prove that something like this can be done and show some small editor prototype, then it will get higher  priority.
But If I at least get the texture renedring working, I think the worse will be behind us.

So, I explored option 2 and unfortunately is not feasible.
This is because imgui depends on uno, which in turns depends on vkk, a vulkan wrapper (needed for the vk backend).
Also for example at least one STB method had a bug in 3.1.1, but it could have been workarounded by calling the corresponding native call. But unfortunately, using 3.1.1 meant much much more than just changing this.
Indeed, while OpenGL, STB and Jmalloc module in the last lwjgl releases did not change that much, vulkan module instead has seen massive changes (especially a huge refractor in 3.1.2).
So, afaik, your only chance is to study how to share a texture among multiple GL contexts (sorry but I have never touched that, so I cant help you with that).
Another very easy and feasible option I can suggest you is to retrieve per-frame the whole game texture and re-upload in other context. This will be damn slow, you will be lucky if you'll be above 1fps, but of course that isn't the goal of your attempt.

Hello @elect86,
I have received .jars of our framework with LWJGL 3.1.7
We have probably also found how to share contexts between threads.
Now the problem I have came across is in imgui:
Exception in thread "Thread-0" java.lang.Error:
	at gln.program.Program$Companion.createShaderFromSource(program.kt:224)
	at imgui.impl.LwjglGL3.createDeviceObjects(LwjglGL3.kt:282)
	at imgui.impl.LwjglGL3.newFrame(LwjglGL3.kt:169)

using e6e0547a6a

I have received .jars of our framework with LWJGL 3.1.7
We have probably also found how to share contexts between threads.

Those are really good news!
Don't use that, it belonged to the branch where I was trying to getting things working with 3.1.6
Take the last one: 13f7b14

I am glad to read that!
maybe the texture is getting cleared and delivered before rendering the current frame?
Ps: using java or kotlin?

Sorry my mistake, I removed the synchronization clause from the code at some point and both windows were drawing at random. Its working perfectly now

Excellent :+1:
Consider closing this issue if you dont need it anymore (same for the other)


Constant propagation across module boundaries

The long awaited. This could perhaps be improved and suggestions are welcome.
The process of constant propagating within a module is expanded to include possible constants on inputs and outputs of the module itself as well as instances. The biggest change involves the new "outer loop" of constant propagating modules in a topologically sorted order and repeating when necessary. Explanation pasted from a comment below. Important thing to note This preserves deduplication.
This outer loop works by applying constant propagation to the modules in a topologically
sorted order from leaf to root
Modules will register any outputs they drive with a constant in constOutputs which is then
checked by later modules in the same iteration (since we iterate from leaf to root)
Since Modules can be instantiated multiple times, for inputs we must check that all instances
are driven with the same constant value. Then, if we find a Module input where each instance
is driven with the same constant (and not seen in a previous iteration), we iterate again

I think this should be merged by squashing, the commits are interesting history in the development but not important for posterity

Why doesn't this dedup when necessary?

Because deduplication is critical for hierarchical place and route. We can discuss changing the API for when deduplication does or does not occur but it seems prudent for this PR to preserve the status quo that is relied upon by users (in rocket-chip for example, see hartid which is an input to preserve deduplication)

Can you make it an annotation as to whether a module is ok be duplicated?

I'm happy with this PR. Are there any updates on this?

I think it's good as is. There is more work to be done for the dedup vs. okay to duplicate API, but I think that's more of a next step than a necessary thing for this PR.

I totally agree :)


Mark segments that are going to be dropped from the server and use it in DruidBalancer

Two servers are given: server1 and server2. server1 contains 4 segments and server2 contains 0 segments. If these 4 segments are picked during DruidBalancer iteration, all of them would be assigned to server2.
This could significantly affect efficiency of segments balancing process if a lot of segments needs to be rebalanced in the cluster.
Suggested approach is to mark segments that are going to be dropped and use this information during DruidBalancer iteration.
Fixes #4389

#4472 should be merged first

@leventov @dgolitsyn This change looks good 👍 . We have seen this happen when we use DiskNormalizedCostBalancerStrategy.java and add new boxes to our cluster.
It would be great if you could deploy this new cost function and ensure that it is not worse off.

We has been running this in prod, without indication of regression


Xioami 10t lite not recognising inputs

Updated to the new version unsure why it's not recognising the inpts again. have fullscreen mode on and everything.

i turned on debug mode and check it seems to not recognise battle icons or  positions again.

Better open another issue with the bug template with proper details. Showing is better than telling.

https://imgur.com/a/8w7T3gI

I think it's because the text that shows TOTAL critical stars is now partially overlapping the attack button.
Have to check if it's the case on other devices too.

OLD
NEW

!

Does stuff other than Battle work? Like support selection, FP summon, etc.

have the same issues on my redmi note 10, it work on support selection and stop after battle start .

this is still not working for JP after installing the latest update, any help?

this is still not working for JP after installing the latest update, any help?

i can try a bit


What are the fields I can expect from libpostal

What are the field names I can expect from the output of libpostal?

It depends on which version of the parser you're using, and field names may change over time (they'll).
In the default master version:: {house, house_number, road, suburb, city_district, city, state_district, state, country, postcode}
In the intermediate model: {house, near, house_number, road, entrance, staircase, level, unit, po_box, suburb, city_district, city, state_district, island, state, country, postcode}
And in the upcoming release: {house, near, house_number, road, intersection, entrance, staircase, level, unit, po_box, suburb, city_district, city, state_district, island, state, country_region, country, world_region, postcode}

In general when working with libpostal it's ok to depend on/operate on specific field names (if the field names do change it will be considered a breaking change and a major version upgrade), but it's a good idea to stay flexible to the number of possible fields.

would be nice if this is documented somewhere, is it a reference to any existing standard? (e.g. http://wiki.openstreetmap.org/wiki/Key:addr )

The admin components come from the address-formatting repo, which are in turn inspired by the OSM field names.
The sub-building fields like "unit" and "level" were added mostly after a survey of patterns in many real-world example addresses around the world, though sub-building components often need to be generated randomly in the training addresses (OSM rarely includes sub-building information).
Will add some documentation for the new release.

Speaking of the address-formatting repo, it kinda reminds me of UPU's S42 standard #offtopic

Somewhat similar, though there are slightly different goals. For address-formatting, the idea is to display results from a geocoder in a localized way, whereas for UPU it's delivering mail (formats vary depending on if it's being sent internationally or within country, etc). Libpostal's needs are a bit more compatible with address-formatting, since we basically receive a bunch of address components from {OSM, OpenAddresses} and need to reconstruct some possible user input from those components.
UPU formats have definitely been one of the sources used to inform sub-building patterns, etc.

Parser fields for the default model are now documented in the README and will be updated for the new release.


Introduce test driver

There are multiple goals of introducing test driver

Need a driver which can be configured to simulate
different driver behaviors
For pure libnetwork multi-host integration testing
a test driver configured for global scope can be used
without trying to use a real driver like overlay
which comes with it's own dependencies which can't
be satisfied all enviroments(I am looking at you
circleci)

But the test driver should not become visible or available
in docker or anyother production application. So a scheme
of dynamic driver registration is required to make sure this
doesn't happen.
This PR also makes all test cases that we have so far to be run
in circleci without any skipping needed.
Signed-off-by: Jana Radhakrishnan<EMAIL_ADDRESS>

@WeiZhang555 Good point. Updated the diff with the change to copy

@mrjana am missing the reason to do the dynamic registration part, when the plugin mechanism provides just that. I was thinking that a simple plugin such as https://github.com/docker/libnetwork/blob/master/libnetwork_test.go#L2088 will just do the trick. wont it ?

@mavenugo test remote plugin makes sense. Reworked the diffs accordingly. PTAL

@mrjana thanks for taking care of it. LGTM


Support for sprites

Support using sprites in PNG format. Other formats could be added later by using browser conversion.
API Proposal
Use styles like:
color: ramp(buckets($type, 'health', 'transport', 'others'),
                   sprite('http://awesomesprites.wadus.com/healthsymbol.png'),
                   sprite('http://awesomesprites.wadus.com/carSymbol.png'),
                   sprite('http://awesomesprites.wadus.com/questionMarkSymbol.png')
          )
width: 24

Pros

Very easy to use, particularly for the simple case. No need to pre-generate a texture atlas, consistent with the rest of the API by just introducing a new styling expression.
Can be combined easily with ramp() but an even simpler case could work too: color: sprite('http...')

Cons

Requires making several HTTP requests opposed to just one. This is not optimal, but I think HTTP2 greatly mitigates this issue.
Users may want to preload the sprites so that changing the style is immediate. We could mitigate this by documenting that, once a sprite expression is created through the JS API the required HTTP requests will be made ASAP. Therefore, users will just need to:

// Preload Sprites
s.sprite('http://awesomesprites.wadus.com/symbol1A.png');
s.sprite('http://awesomesprites.wadus.com/symbol2A.png');
s.sprite('http://awesomesprites.wadus.com/symbol3A.png'):
s.sprite('http://awesomesprites.wadus.com/symbol1B.png');
s.sprite('http://awesomesprites.wadus.com/symbol2B.png');
s.sprite('http://awesomesprites.wadus.com/symbol3B.png'):

function onBlablabla(){
    layer.blendToStyle(`
color: ramp(buckets($type, 'health', 'transport', 'others'),
                   sprite('http://awesomesprites.wadus.com/symbol1A.png'),
                   sprite('http://awesomesprites.wadus.com/symbol2A.png'),
                   sprite('http://awesomesprites.wadus.com/symbol3A.png')
          )
width: 24
    `);
}
function onWadus(){
    layer.blendToStyle(`
color: ramp(buckets($type, 'health', 'transport', 'others'),
                   sprite('http://awesomesprites.wadus.com/symbol1B.png'),
                   sprite('http://awesomesprites.wadus.com/symbol2B.png'),
                   sprite('http://awesomesprites.wadus.com/symbol3B.png')
          )
width: 24
    `);
}

Implementation Proposal
Resource acquisition
A change in the style will require making several HTTP requests to get the symbol images. However, we already have a similar problem with changes of property names (which requires a full windshaft re-instantiation), a similar solution should be applied: a style will only be applied/compiled when all its requirements are met: sources (MVTs) and sprites (PNGs).
Setup Rendering
WebGL is not designed to work with many and small textures, which is probably the most common use case. Moreover, we are already using many texture units, and that is a scarce resource. Therefore, we must compact the sprites into a single texture by using a texture atlas.
This way, once all sprites are on JS, we'll create a texture atlas with all of them in the new sprite expression, then we'll upload that texture atlas to a regular WebGL texture.
Rendering
The sprite expression should generate a shader inline code that reads from the atlas texture based on the input category ID. For example:
vec4 sprite001(float category){
    vec2 uv = pointUV;
    if (category == 0.){
        uv += vec2(0./1024);
    }else if (category == 1.){
        uv += vec2(64./1024.);
    }else{
        uv += vec2(128./1024.);
    }
    return texture2D(atlasTexture001, uv).rgba;
}

In this example the uv offsets (64/1024, 128/1024...) are computed by dividing the number of pixel of the sprite by the texture atlas size.

The problem
The current rendering path styles elements on a styling pre-pass. However, sprites must be rendered in the final pass.
Solutions

For this special case, style on the final pass.
???

Fixed by https://github.com/CartoDB/carto-vl/pull/343


Write ESLint RFC about solving CLI needs for neostandard, xo etc

standard-engine solved two problems:

it avoided having to install all of the plugins directly, something that flat configs now solve
it enabled one to run it as a standalone command, avoiding opening the doors to customization of rule sets and possible endless discussions that follows (#2)

It also came with some drawbacks:

needed custom editor integration rather than being plug and play with editors that support eslint (#4)

What I would want to do is to:
Find an official solution together with the ESLint project, where we can officially bundle ESLint with our config and have it be exposed as a standalone non-configurable CLI.
That could enable editors etc to pick the bundled config without any custom integrations (I'm not very keen on going the route of standard and solving #4 by building new editor integrations 🙂) This could probably happen by eslint itself gaining the ability to pick up such a bundled configuration even when launched independently rather than through the standalone CLI (neostandard, xo etc)
To get this process started, an RFC to the ESLint project should be written.
Originally posted by @voxpelli in https://github.com/neostandard/neostandard/issues/16#issuecomment-2135406678
Also discussed in: https://github.com/xojs/xo/issues/702#issuecomment-2152882133

Posted here: https://github.com/eslint/eslint/issues/18800
Closing as done for now.

Keeping open to track progress

Feedback on https://github.com/eslint/eslint/issues/18800#issuecomment-2323327153 etc appreciated 🙏

Idea for a neostandard cli:
Rather than the old model used for standard, where a a parallel plugin ecosystem was required for editors and whatnot, the neostandard cli would just set up the underlying tools for neostandard use (generate eslint config, and any other eventually bundled tools like dprint or boom) and then run a check that they remain configure correctly, perhaps with a strict and loose option that allows and prohibits customization. This check could be run along side linting as desired.

@bcomnes Building on that I was pondering whether something like  neostandard --ts (or maybe neostandard --ts --fix or neostandard --ts --check) could simply generate a temporary config file if no config exists (utilizing eg. tempy) and then invoke eslint --config /path/to/temp/file.js using eg. child_process.spawn()
One could then possibly also support eg. --format and some others by forwarding them to child_process.spawn() in a suitable way.

And when/if "eslint-preset": "neostandard" (https://github.com/eslint/eslint/issues/18800#issuecomment-2323327153) gets supported we could add something similar to the "standard" key in standardjs and have the neostandard CLI skip the temporary file and it'll be enough for it to simply do the child_process.spawn()
(An "eslint-preset": "neostandard" should also mean that one would be able to do eslint -c neostandard or similar to bypass eslint.config.js and delegate the config generation to a module)

It could also facilitate a multi-tool future if that is ever forced (eslint + dprint for example).

Handling current flat configurations extended with neostandard (last) can also help potential users to answer the question: "What will be the impact of migrating a code base to neostandard?" with no configuration fuzz.

@wesleytodd I give up on trying to get through, I’m apparently not able to express it in a way that makes sense, or I focused on the wrong aspect initially and that’s what got stuck in people’s mind. Feel free to give it a try.
I wonder if it would be easier to try to make PR:s to eg the VSCode ESLint extension that introduces a separate tool-specific configuration lookup.
It would take more effort and be less flexible than doing it as an extension to the ESLint configuration system, but 🤷
I will however not be able to spend any time on this for the rest of the year – I have spent too much time on unpaid projects and all I get in return is massive pushback when I try to help out, and that takes some time to recover from that and I need to spend all of that time on projects that actually helps me pay my rent.

Another option would be to fork eslint and maintain it separately with no other changes but a patch for this, and have users use it as "eslint": "npm<EMAIL_ADDRESS>That way it would work automatically in eg the VSCode extension I believe

I barely have enough time for this project let alone tracking an overactive upstream project like eslint.  Let's just ship our own helper cli to help with config setup.

Well do something like what @bcomnes suggested, when someone has time for it, but I’m going to close this one as I rather put this whole thing behind me

Replaced by: https://github.com/neostandard/neostandard/issues/205


The onPress event is invalid (android)

Description
view rotate 90 degrees, onPress doesn't work
<View style={{flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: 'rgba(51, 51, 51, 0.6)',}}>
<View style={{backgroundColor: 'white',
width: 290,
paddingTop: 24,
borderRadius: 10,
paddingHorizontal: 24,
justifyContent: 'center',
alignItems: 'center',
transform: [{ rotate: '90deg' }],}}>
<Image source={require('../../../assets/in.png')} />
<TouchableOpacity
style={styles.btnView}
onPress={() => {
props.navigation.goBack();
}}>
<Text
style={{
fontSize: 14,
color: 'white',
}}>
开始

Version
0.60
Output of npx react-native info
no
Steps to reproduce

Draw the View
Rotate 90 degrees
TouchableOpacity onPress  don't work

Snack, code example, screenshot, or link to a repository
No response

0.60

Sorry but that's a 3 years old version of React Native.
Please consider updating first or creating a reproducer from a fresh project on RN 0.68 as perhaps your issue is already resolved.
Closing for now, feel free to re-open if the issue persists on 0.68.

yes, new versions also exist,0.68.


Navbar Logo isn't centered

Figure out how to keep the logo centered. Might require using a hamburger for the mobile menu.

Commit 404b6e6 fixed this issue.


NaN output

I am applying the pipeline on imputed data (chr 21) of 934 cases and 946 controls. The output I got contains all nan. Is it possibly due to the small sample size?

This could happen if one of your dosage file contains all 0s, and if that happens, the program can’t fit a linear/logistic regression. Have you checked the global proportions of admixture?
If this is the problem, you may need to consider reducing the number of local ancestries call (for example, from 3-way LAI to 2-way LAI).

Closing the issue due to long inactivity.

Closing this issue due to prolonged inactivity.


build now optionally runs (only) the hooks

pre/post hooks are powerful, but occasionly you need a little more
control over when they run.  This change extends the build command
to support two new flags: --skip-hook and --run-hook which skip
running the pre/post hooks or only run the corresponding hooks.
Testing:

Manual testing
Unit tests

Ping

Hey, sorry for lagging!
To me, hooks should be idempotent. The thing that makes me nervous with --skip-hook and --run-hook is that you could start to build up dependencies like:
"the first time you run the stack, execute the hook, but then skip it after that" or some other such thing that is no longer stored in the stacker config file that is reproducible by others.
What is the use case you're trying to solve?
The one thing I've seen with hooks is just that they add overhead.
I use the following hooks:```
pre_build:

path: stacker.hooks.keypair.ensure_keypair_exists
required: true
args:
keypair: ${ssh_key_name}
path: stacker.hooks.route53.create_domain
required: true
args:
domain: ${external_domain}
path: stacker.hooks.iam.ensure_server_cert_exists
required: true
args:
cert_name: ${empire_controller_cert_name}

all of which are mostly useless once i bring up the stacks the first time. i don't mind the performance hit because i don't run stacker often and if i am, i'm expecting it to take forever because of CF. I could see that being a pain with a lot of hooks though.

The particular use case I'm dealing with is blue/green deployments.  I have a shared "frontend" stack, like an ELB for example and a blue and green EC2 instances in separate stacks.  In our case right now, the EC2 instances can't fully bootstrap themselves so after deploying the stack we have to run some other scripts to boot strap them.
The hooks effectively allow us to migrate the ELB to the blue or green EC2 instances independently from the CF deploy which prevents downtime during the manual bootstrap step.  It also means we can effectively roll back to the previous color without tearing down the existing color.

Yeah, I think this actually encourages some bad patterns - we have something similar at Remind, and rather than writing special run cases of stacker, we wrote a separate tool for doing the out of band management things.  I'm going to go ahead and close this.


tag attribute on  does not seem to be working / a is always used

Using router alpha.4 and vue alpha.10
<router-link to="/" tag="li">dashboard</router-link>

gives me (notice the tag attribute in the final html)
dashboard

v-slot not helping either (taken directly from vue router 3 api docs)...
<router-link
  to="/"
  v-slot="{ href, route, navigate, isActive, isExactActive }"
>

    {{ route.fullPath }}

</router-link>

I get the following

      /

The tag prop isn’t implemented yet as it’s almost always a bad practice because it ends up creating a link on an element that’s isn’t a link, loosing most native features like opening in new tabs and out of the box accessibility so I think this should go through an RFC to gather feedback
The v-slot need a way to detect if a scoped slot is being passed or if it’s a regular one, so it wasn’t done yet but will work

Opened https://github.com/vuejs/rfcs/pull/152 to cover this

@mika76 With regards to v-slot usage on router-link - I think one should also place the custom attribute on the router-link elements. Not sure what it does (docs skip it somehow), but it helps to achieve the expected markup (esp when working with opinionated css frameworks)

@moniuch you are looking at the v3 docs, which do have the custom attribute. custom has no effect there, it is only added to ease people migration to v4.
The (always up-to-date) link of docs are in this repository homepage


Best way to run gcloud auth activate-service-account

In order to use gcloud services, the cleanest way I can think of is to to run gcloud auth-service-account after mounting my json key-file. Normally I'd run this in the entrypoint script, before the webserver/worker/scheduler process(es), but there doesn't seem to be an easy way to run additional code snippets without modifying entrypoint.sh.
It would be great if there's a feature to mount and run an additional script, like how mounting a requirements.txt file would trigger a pip install. Or am I missing a different method of configuring gcloud services?

I just found out about the export GOOGLE_APPLICATION_CREDENTIALS="/path/to/keyfile.json" method from http://google-cloud-python.readthedocs.io/en/latest/core/auth.html . Closing this.


Rayk/async nodetree

For a demonstration of the functionality, have a look at demo.ipynb

Codecov Report
Attention: 142 lines in your changes are missing coverage. Please review.

Comparison is base (6aa59af) 100.00% compared to head (84a40f3) 88.93%.

Additional details and impacted files
@@             Coverage Diff              @@
##              main      #18       +/-   ##
============================================
- Coverage   100.00%   88.93%   -11.07%
============================================
  Files           10       13        +3
  Lines          789     1283      +494
  Branches       120      227      +107
============================================
+ Hits           789     1141      +352
- Misses           0      127      +127
- Partials         0       15       +15

Files
Coverage Δ

src/labone/nodetree/__init__.py
100.00% <100.00%> (ø)

src/labone/nodetree/helper.py
82.29% <82.29%> (ø)

src/labone/nodetree/node.py
68.43% <68.43%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@YakBizzarro What is your opinion on the set and get parser? In  toolkit we have them for shfqa and shfsg but not for any other devices ... They blow up the node tree quite a bit, and I wonder if we could not simply remove them and aim for a fix in the data server?

How about we solve the remaining issues (without the tests) and merge this PR. Then, we can refactor the tests in a separate PR?


[Build System] Add support to set C and CXX launcher with env …

C_COMPILER_LAUNCHER and CXX_COMPILER_LAUNCHER

@swift-ci smoke test


Change checkout directory to a shorter name

I know that we use SourceDirWith49CharsLengthTestForLongPaths to verify we don't have long path issues but it wastes a lot of space in the build logs and makes them very hard to read.
There are other ways to verify that none of our paths exceed the required length.

cc @weshaggard @chidozieononiwu


first stab at a drone

You can install maven in your drone file as a workaround until the docker image has it

typical, drone is broken... currently fixing. (actually docker is broken, not drone)


v1.6: Reject call of RemoteStart.req with negative connector

OCPP Version
OCPP1.6
Describe the problem
A negative connectorId inside the RemoteStart.req can lead to unexpected behavior.
Describe your solution
Reject the call. https://github.com/EVerest/libocpp/pull/627
Additional context
No response

Fixed with https://github.com/EVerest/libocpp/pull/627


Increase prometheus disks everywhere

All the failures of
https://github.com/2i2c-org/infrastructure/actions/runs/5781063019/job/15665625371 seem to be because of full disks.
Ref https://github.com/2i2c-org/infrastructure/issues/2930
Ref https://github.com/2i2c-org/infrastructure/issues/2911

This was the case for Openscapes as well. https://github.com/2i2c-org/infrastructure/pull/2929 bumped it up just for openscapes, but this just does this everywhere.

I couldn't quite make a good enough dashboard, but exploratirly made https://grafana.pilot.2i2c.cloud/d/d560fa89-38bc-4253-964e-82573ea91d57/global-prometheus-health?orgId=1&var-cluster=All. Most of the prometheuses have only a few mb left.


Can I get location by setting a time interval?

I need this function but I don't find a way to achieve it.

You can now now use time-interval with premium Android version (Android API allows this)
http://christocracy.github.io/cordova-background-geolocation/


fga not detecting the screen on Nox Android 9

Preparation

[X] I tested the latest release
[X] I looked at other issues (even the closed ones)
[X] I read the Troubleshooting Guide

FGO server
NA
FGA build number
1575
Describe the bug
fga is not detecting the screen
whenever i hit the play button it just sits on the support and doesn't do anything
and when i go to the fp gacha and start fga it just starts the normal farming screen
i tried using root for screenshots and turned on root but the issue persisted
i'm using the android 9 beta for nox
Video
https://www.youtube.com/watch?v=io1FKSYxzLE
Device model
noxplayer <IP_ADDRESS>
Android version
9
Screen size
1600x900
RAM
4gb

We haven't tested Android 9 on Nox yet, so we can't guarantee that it works.

I have the same problem on my phone.

@Held-Kaiser Has nothing to do with Nox but probably with some black bars. Read the troubleshooting guide.

@reconman do you plan on testing it?


cleanup files more safely

issue-certs-cleanup.yml cleanups {server_location} without any guards (in case of role misuse)
If server_location is not set it will remove * file in the current directory or worst if set to /var/www/
server_location should be given a sane default value (/tmp/www-challenges) and use the |default() construct for maximal safety.

If server_location is not set, it should complain that server_location is not defined and bail out instead of executing this. (And so far ansible always died when I tried to use an undefined variable.)
Anyway, taking a default for server_location does make no sense at all since that path MUST be integrated in your (web) server configuration, otherwise the whole process won't work.
Anyway, using file: dest="{{ server_location }}" state=absent might be a better example for this role. This will also complain in case server_location would be set to an empty string.

The last point is also fixed in cc9b8be0675908ef1288b7798105e5c3ef6e532d; see https://github.com/felixfontein/letsencrypt-ansible/commit/cc9b8be0675908ef1288b7798105e5c3ef6e532d#diff-aa472a0dedf2e48564fde08217292f3cL7.