Port modification error?!

Hi !
I would like to change the stat port, but when i set  in portainer, it doesnt work.
There is another container that also uses port 3000. So I want to set a different port for jellystat.
Portainer:
version: '3'
services:
jellystat-db:
image: postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: ppppp
jellystat:
image: cyfershepard/jellystat:unstable
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: pppppp
POSTGRES_IP: jellystat-db
POSTGRES_PORT: 5432
JWT_SECRET: 'ppppp'
ports:
- "3003:3001" // set this, or: 3003:3003, or 3001:3001
depends_on:
- jellystat-db
Container starting log:

<EMAIL_ADDRESS>start-app
concurrently "npm run start-server" "npm start"
[0]
[0] ><EMAIL_ADDRESS>start-server
[0] > cd backend && node server.js
[0]
[1]
[1] ><EMAIL_ADDRESS>start
[1] > react-scripts start
[1]
[0] FS-related option specified for migration configuration. This resets migrationSource to default FsMigrations
[0] FS-related option specified for migration configuration. This resets migrationSource to default FsMigrations
[0] Server listening on http://<IP_ADDRESS>:3003
[0] Activity Interval: 1000
[1] [HPM] Proxy created: /  -> http://<IP_ADDRESS>:3003
[1] [HPM] Proxy created: /  -> http://<IP_ADDRESS>:3003
[1] [HPM] Proxy created: /  -> http://<IP_ADDRESS>:3003
[1] [HPM] Proxy created: /  -> http://<IP_ADDRESS>:3003
[1] [HPM] Proxy created: /  -> http://<IP_ADDRESS>:3003
[1] [HPM] Proxy created: /  -> ws://<IP_ADDRESS>:3004
[1] Proxy middleware applied
[1] (node:66) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
[1] (Use node --trace-deprecation ... to show where the warning was created)
[1] (node:66) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
[1] Starting the development server...
[1]
[1] Compiled successfully!
[1]
[1] You can now view jfstat in the browser.
[1]
[1]   Local:            http://localhost:3000
[1]   On Your Network:  http://<IP_ADDRESS>:3000    //// Only 3000 works
[1]
[1] Note that the development build is not optimized.
[1] To create a production build, use npm run build.
[1]
[1] webpack compiled successfully

Hi @ZsiGiT , try getting the latest main img and adding the PORT env to your container, and set that to the port you need, this is for the backend and should now worl

as for the frontend, a simple 3003:3000 should work

Hi! Thank you for your help.
The port 3003:3000 working!!! Thanks again!

Glad to help


Black surfaceview on android

Previously, i wrote an issue https://github.com/google/filament/issues/2320 and stuck with some problems.
After release 1.5.2 it doesnt crash, but still doesnt display anything on my device. There was only black screen on surfaceview and nothing else. Tried this on some another devices (Samsung s10, android 9 and meizu u10, android 6) and it works fine.
Do you know what's the problem? and how to fix it?
Device: Xiaomi mi4w, android version 6.0.1

Do you have more information about the GPU in that device? Could you also provide the logcat logs when you start your app?

Here is logs:
04-03 22:32:37.124 26340-26340/? I/art: Late-enabling -Xcheck:jni
04-03 22:32:37.210 26340-26340/com.example.qweqwe2 I/Filament: Filament library loaded.
04-03 22:32:37.254 26340-26340/com.example.qweqwe2 D/AccessibilityManager: current package=com.example.qweqwe2, accessibility manager mIsFinalEnabled=false, mOptimizeEnabled=false, mIsUiAutomationEnabled=false, mIsInterestedPackage=false
04-03 22:32:37.270 26340-26359/com.example.qweqwe2 D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
04-03 22:32:37.302 26340-26359/com.example.qweqwe2 I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BF.1.1.3_RB<IP_ADDRESS>.181.013_msm8974_refs/tags/AU_LINUX_ANDROID_LA.BF.1.1.3_RB<IP_ADDRESS>.181.013__release_AU (I48a9d37399)
OpenGL ES Shader Compiler Version: E<IP_ADDRESS>
Build Date: 11/17/16 Thu
Local Branch:
Remote Branch: refs/tags/AU_LINUX_ANDROID_LA.BF.1.1.3_RB<IP_ADDRESS>.181.013
Local Patches: NONE
Reconstruct Branch: NOTHING
04-03 22:32:37.311 26340-26359/com.example.qweqwe2 I/OpenGLRenderer: Initialized EGL, version 1.4
And i think that  gpu - adreno 330, if i correctly understrand what u want

Anything after OpenGLRenderer: Initialized EGL, version 1.4? I'm interested in checking whether there are driver errors during rendering. You could also — if you can — make a debug build of Filament which will trigger extra checks after every GL call.
If it's an Adreno 330 I would expect driver bugs to get in our way, especially in shader compilation :/

no, its no any logs after(
only system logs, not related to app
So, can i somehow use yout gltf loader and draw 3d model by myself?

gltfio can only be used Filament, not other renderers.
@arctic4x, to better diagnose the issue, I'd like to send you a debug build in the form of an aar, if you're willing to give it a try.  It would tell us more in the logs.  Are you willing to give it a try?  (I'm not sure which version of Filament I would build, I'd probably just build the current top-of-tree.)
By the way, when you try to run our Android samples directly (e.g. sample-hello-triangle), do they work?  If so, do they all work?

I've attached a zip with 5 debug build aar files (core filament + its 4 utility libs), you should be able to use the latest release of Filament, then swap out the aar files for filament (and for its utility  libraries if you're using any)
Archive_72056ee9.zip
 4.7M filament-android-debug.aar
 317K filament-utils-android-debug.aar
 317K filament-utils-android-lite-debug.aar
 3.6M gltfio-android-debug.aar
 1.0M gltfio-android-lite-debug.aar

now logs look like this:
04-07 15:11:37.621 11811-11811/? I/art: Late-enabling -Xcheck:jni
04-07 15:11:37.722 11811-11811/com.example.qweqwe2 I/Filament: Filament library loaded.
04-07 15:11:37.791 11811-11811/com.example.qweqwe2 D/AccessibilityManager: current package=com.example.qweqwe2, accessibility manager mIsFinalEnabled=false, mOptimizeEnabled=false, mIsUiAutomationEnabled=false, mIsInterestedPackage=false
04-07 15:11:37.812 11811-11811/com.example.qweqwe2 I/Filament: FEngine (32 bits) created at 0x9e980000 (threading is enabled)
04-07 15:11:37.814 11811-11857/com.example.qweqwe2 D/Filament: FEngine resolved backend: OpenGL
04-07 15:11:37.815 11811-11857/com.example.qweqwe2 I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BF.1.1.3_RB<IP_ADDRESS>.181.013_msm8974_refs/tags/AU_LINUX_ANDROID_LA.BF.1.1.3_RB<IP_ADDRESS>.181.013__release_AU (I48a9d37399)
OpenGL ES Shader Compiler Version: E<IP_ADDRESS>
Build Date: 11/17/16 Thu
Local Branch:
Remote Branch: refs/tags/AU_LINUX_ANDROID_LA.BF.1.1.3_RB<IP_ADDRESS>.181.013
Local Patches: NONE
Reconstruct Branch: NOTHING
04-07 15:11:37.832 11811-11857/com.example.qweqwe2 I/Filament: Qualcomm, Adreno (TM) 330, OpenGL ES 3.0<EMAIL_ADDRESS><EMAIL_ADDRESS>(GIT@I48a9d37399), OpenGL ES GLSL ES 3.00
04-07 15:11:37.836 11811-11857/com.example.qweqwe2 I/Filament: OS version: 23
04-07 15:11:39.964 11811-11891/com.example.qweqwe2 D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
04-07 15:11:39.996 11811-11891/com.example.qweqwe2 I/OpenGLRenderer: Initialized EGL, version 1.4

We need the logs after that, this is just initialization.

is there any tag by which i can search?
becouse there left only system logs and there are a lot of them

You can simply attach the result of "adb bugreport" but to answer your question we interested in the "Filament" tag, especially messages that begin with "OpenGL error" or "OpenGL framebuffer error".

Please try with more recent versions of Filament


🐋 ci: create smaller Docker images

Summary
This change reduces the size of the built Docker images significantly by removing the npm dev dependencies and the npm cache.
It also removes the workarounds for the broken ARM builds. This allows to use Node 20 for the main Docker build (as it is already with the Dockerfile.multi build). It seems with node:20-alpine and the flags set the build is pretty stable (also on ARM).
Changes of Docker image sizes:

librechat-dev is down from 477.71 MB to 166.13 MB (compressed) - see https://hub.docker.com/r/derkoe/librechat-dev/tags
librechat-dev-api is down from 405.77 MB to 146.81 MB (compressed) - see https://hub.docker.com/r/derkoe/librechat-dev-api/tags

Uncompressed images sizes:
REPOSITORY                    TAG       IMAGE ID       CREATED          SIZE
librechat/librechat-dev-api   latest    91b3ff876ac8   21 minutes ago   1.77GB
librechat/librechat-dev       latest    3faa53a2ccac   22 minutes ago   1.49GB
derkoe/librechat-dev-api      latest    900453f157c3   5 hours ago      593MB
derkoe/librechat-dev          latest    3a36052c1fe8   5 hours ago      680MB

Change Type
Docker build change - the rest of the code is not affected (not sure what to choose from the PR template list).
Testing

I have built the images multiple times with GitHub Workflow: https://github.com/derkoe/LibreChat/actions/workflows/dev-images.yml
I have switched our deployment of LibreChat to the new Docker image (docker pull ghcr.io/derkoe/librechat-dev:latest).

Checklist
Please delete any irrelevant options.

[x] My code adheres to this project's style guidelines
[x] I have performed a self-review of my own code
[ ] I have commented in any complex areas of my code
[ ] I have made pertinent documentation changes
[x] My changes do not introduce new warnings
[ ] I have written tests demonstrating that my changes are effective or that my feature works
[x] Local unit tests pass with my changes
[ ] Any changes dependent on mine have been merged and published in downstream modules.
[ ] New documents have been locally validated with mkdocs

Great, thank you! I will merge this and test the resulting images

so far so good 👍


Is metamodel Version 2.0.1 supported?

Since the metamodel of the Asset Administration Shell changed over time im curious if this repository has been updated to adapt the new metamodel.  In your Readme.md you just refer to part 1 v1.0 of the document.

Thanks for the comment. We currently work on the update to v2.0.1 as this is the newest version.


XLA drops performance across the nodes

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): TF benchmarks
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):  Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: n/a
TensorFlow installed from (source or binary): Running with Horovod 0.18.2 via docker
TensorFlow version (use command below): v1.14.0-rc1-22-gaf24dc91b5
Python version: 2.7
Bazel version (if compiling from source): n/a
GCC/Compiler version (if compiling from source): 4.8
CUDA/cuDNN version: 10.0 / 7.6.5
GPU model and memory: 8xV100-16GB (2 nodes, each with 4xV100GPU's)
MPI version: 4.0.0
Mellanox OFED version: 4.7-<IP_ADDRESS>
GPUDirect RDMA - nvidia-peer-memory version: 1.0-8

Describe the current behavior
I am running TF benchmarks with Horovod in distributed mode, I see the scaling efficiency drops to from 76% (within the node) to 98% (when crossing the nodes), see below the throughput:
-1xGPU within the node total images/sec:     ~1200
-4xGPU's within the node total images/sec:   ~4712  | Scaling Efficiency (1200x4) / 4712 = 98%
-8xGPU's across the nodes total images/sec: ~7302 |  Scaling Efficiency (1200x8) / 7302 = 76%
Describe the expected behavior
We are expecting scaling efficiency across the nodes over 95%, it is around ~9120 img/sec. Please notice that the scaling efficiency drops only when crossing the nodes
Code to reproduce the issue
mpirun -np 8 -H <ib>:4,<ib>:4 --allow-run-as-root -x NCCL_NET_GDR_LEVEL=3 -x NCCL_DEBUG_SUBSYS=NET -x NCCL_IB_DISABLE=0 -mca btl_tcp_if_include ib0 -x NCCL_SOCKET_IFNAME=ib0 -x NCCL_DEBUG=INFO -x HOROVOD_MPI_THREADS_DISABLE=1 --bind-to none --map-by slot --mca plm_rsh_args "-p 12345" python tf_cnn_benchmarks.py --data_format=NCHW --distortions=false --use_fp16=True --variable_update=horovod --model=resnet50 --batch_size=128 --xla=true
Other info / logs
Tracelog 1xGPU:
Step    Img/sec total_loss
1       images/sec: 1187.6 +/- 0.0 (jitter = 0.0)       7.817
10      images/sec: 1201.3 +/- 3.4 (jitter = 9.5)       7.869
20      images/sec: 1200.5 +/- 2.5 (jitter = 6.3)       7.915
30      images/sec: 1202.0 +/- 3.3 (jitter = 8.5)       7.884
40      images/sec: 1202.0 +/- 2.7 (jitter = 7.0)       7.836
50      images/sec: 1200.3 +/- 2.2 (jitter = 6.4)       7.806
60      images/sec: 1201.2 +/- 2.0 (jitter = 6.4)       7.852
70      images/sec: 1202.1 +/- 2.0 (jitter = 7.5)       7.856
80      images/sec: 1201.1 +/- 1.9 (jitter = 7.2)       7.754
90      images/sec: 1200.5 +/- 1.7 (jitter = 6.8)       7.806
100     images/sec: 1200.7 +/- 1.6 (jitter = 6.7)       7.764
----------------------------------------------------------------
total images/sec: 1199.87
----------------------------------------------------------------

Tracelog 8xGPU's:
Step    Img/sec total_loss
1       images/sec: 922.9 +/- 0.0 (jitter = 0.0)        7.787
1       images/sec: 926.8 +/- 0.0 (jitter = 0.0)        7.707
1       images/sec: 927.0 +/- 0.0 (jitter = 0.0)        7.720
1       images/sec: 925.4 +/- 0.0 (jitter = 0.0)        7.881
1       images/sec: 922.4 +/- 0.0 (jitter = 0.0)        7.846
1       images/sec: 926.3 +/- 0.0 (jitter = 0.0)        7.694
1       images/sec: 924.9 +/- 0.0 (jitter = 0.0)        7.683
1       images/sec: 902.0 +/- 0.0 (jitter = 0.0)        7.762
10      images/sec: 926.2 +/- 7.6 (jitter = 25.6)       7.725
10      images/sec: 926.6 +/- 8.5 (jitter = 18.2)       7.647
10      images/sec: 926.6 +/- 7.6 (jitter = 26.9)       7.659
10      images/sec: 926.7 +/- 7.4 (jitter = 26.2)       7.703
10      images/sec: 927.9 +/- 8.2 (jitter = 8.3)        7.613
10      images/sec: 927.2 +/- 7.9 (jitter = 23.9)       7.708
10      images/sec: 927.6 +/- 7.0 (jitter = 11.8)       7.710
10      images/sec: 927.2 +/- 7.4 (jitter = 24.8)       7.669
20      images/sec: 925.7 +/- 4.5 (jitter = 20.9)       7.620
20      images/sec: 926.0 +/- 4.5 (jitter = 21.1)       7.585
20      images/sec: 926.0 +/- 5.1 (jitter = 18.1)       7.530
20      images/sec: 926.0 +/- 4.7 (jitter = 21.0)       7.600
20      images/sec: 926.8 +/- 4.5 (jitter = 17.3)       7.524
20      images/sec: 926.9 +/- 4.9 (jitter = 14.5)       7.638
20      images/sec: 926.6 +/- 4.4 (jitter = 21.8)       7.588
20      images/sec: 926.5 +/- 5.1 (jitter = 19.2)       7.682
30      images/sec: 919.9 +/- 4.1 (jitter = 25.1)       7.567
30      images/sec: 920.1 +/- 4.4 (jitter = 24.5)       7.529
30      images/sec: 920.1 +/- 4.1 (jitter = 24.0)       7.546
30      images/sec: 920.0 +/- 4.1 (jitter = 24.5)       7.578
30      images/sec: 920.5 +/- 4.4 (jitter = 23.7)       7.469
30      images/sec: 920.5 +/- 4.2 (jitter = 24.9)       7.483
30      images/sec: 920.7 +/- 4.2 (jitter = 18.8)       7.489
30      images/sec: 920.6 +/- 4.3 (jitter = 25.2)       7.526
40      images/sec: 916.3 +/- 3.9 (jitter = 25.3)       7.541
40      images/sec: 916.2 +/- 3.9 (jitter = 23.2)       7.444
40      images/sec: 916.2 +/- 4.1 (jitter = 25.1)       7.515
40      images/sec: 915.9 +/- 4.0 (jitter = 26.4)       7.476
40      images/sec: 917.0 +/- 4.1 (jitter = 26.4)       7.534
40      images/sec: 916.8 +/- 4.1 (jitter = 27.9)       7.502
40      images/sec: 916.7 +/- 4.0 (jitter = 26.5)       7.500
40      images/sec: 916.5 +/- 4.3 (jitter = 23.3)       7.529
50      images/sec: 911.2 +/- 3.7 (jitter = 24.8)       7.523
50      images/sec: 911.2 +/- 3.8 (jitter = 31.4)       7.461
50      images/sec: 911.1 +/- 3.7 (jitter = 27.8)       7.461
50      images/sec: 911.6 +/- 3.9 (jitter = 29.1)       7.524
50      images/sec: 911.7 +/- 3.8 (jitter = 24.2)       7.512
50      images/sec: 911.7 +/- 3.9 (jitter = 24.0)       7.419
50      images/sec: 910.9 +/- 3.7 (jitter = 27.9)       7.446
50      images/sec: 911.8 +/- 3.8 (jitter = 27.6)       7.467
60      images/sec: 910.2 +/- 3.5 (jitter = 29.9)       7.513
60      images/sec: 910.1 +/- 3.4 (jitter = 29.8)       7.435
60      images/sec: 910.2 +/- 3.5 (jitter = 23.2)       7.478
60      images/sec: 910.2 +/- 3.4 (jitter = 31.2)       7.463
60      images/sec: 910.7 +/- 3.5 (jitter = 26.3)       7.487
60      images/sec: 910.5 +/- 3.6 (jitter = 28.8)       7.436
60      images/sec: 910.6 +/- 3.6 (jitter = 26.5)       7.408
60      images/sec: 910.6 +/- 3.5 (jitter = 27.9)       7.446
70      images/sec: 913.4 +/- 3.2 (jitter = 26.4)       7.409
70      images/sec: 913.3 +/- 3.2 (jitter = 28.5)       7.441
70      images/sec: 913.4 +/- 3.2 (jitter = 27.8)       7.459
70      images/sec: 913.4 +/- 3.3 (jitter = 24.5)       7.440
70      images/sec: 913.8 +/- 3.4 (jitter = 27.0)       7.459
70      images/sec: 913.8 +/- 3.3 (jitter = 26.4)       7.483
70      images/sec: 913.9 +/- 3.2 (jitter = 28.7)       7.385
70      images/sec: 913.6 +/- 3.3 (jitter = 26.3)       7.445
80      images/sec: 915.7 +/- 3.0 (jitter = 30.2)       7.407
80      images/sec: 915.8 +/- 3.0 (jitter = 26.0)       7.407
80      images/sec: 915.8 +/- 3.0 (jitter = 25.1)       7.468
80      images/sec: 915.8 +/- 3.0 (jitter = 25.3)       7.472
80      images/sec: 916.2 +/- 3.0 (jitter = 27.4)       7.467
80      images/sec: 916.3 +/- 3.1 (jitter = 27.9)       7.443
80      images/sec: 916.1 +/- 3.1 (jitter = 27.7)       7.491
80      images/sec: 915.4 +/- 3.2 (jitter = 24.0)       7.553
90      images/sec: 914.7 +/- 2.8 (jitter = 26.5)       7.404
90      images/sec: 914.6 +/- 2.8 (jitter = 28.5)       7.408
90      images/sec: 914.7 +/- 2.8 (jitter = 25.3)       7.457
90      images/sec: 914.7 +/- 2.9 (jitter = 25.1)       7.405
90      images/sec: 915.0 +/- 2.9 (jitter = 24.0)       7.437
90      images/sec: 915.0 +/- 2.8 (jitter = 27.7)       7.504
90      images/sec: 915.0 +/- 3.0 (jitter = 28.1)       7.431
90      images/sec: 915.1 +/- 2.9 (jitter = 26.5)       7.430
100     images/sec: 913.2 +/- 2.6 (jitter = 26.9)       7.890
----------------------------------------------------------------
total images/sec: 7301.54
----------------------------------------------------------------

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.

Thanks for the update!, closing it now


Can't compile ref to visible binding

EdgeDB Version: 2.1.0-dev.827+ea32987
OS Version: 20.04.1-Ubuntu

Using example database, the query:
with grouped := (group Movie by .release_year)
for item in grouped union (select item.elements { title } )

gives
InternalServerError: Can't compile ref to visible binding ns~1@@(__derived__::g~1)
Hint: This is most likely a bug in EdgeDB. Please consider opening an issue ticket at https://github.com/edgedb/edgedb/issues/new?template=bug_report.md

note that if you simply remove the reference to title, it works.
with grouped := (group Movie by .release_year)
for item in grouped union (select item.elements )

Thanks for the report!
As a workaround, don't bind the group result to a variable, just stick it into the select.

That's what I ended up doing! I wanted to create a free object with some other properties but will omit that for now :)

with grouped := (for x in Movie union { multi elements := x })
for item in grouped union (select item.elements { title } );

fails in a similar way that hopefully shares the root cause.


Friendlier elm-make interface for beginners

For end users (not creating a library)

$ elm make (no arguments)

if no elm-package.json or *.elm, print: No elm project found, should one be created?

create hello world Main.elm and default elm-package.json

if *.elm exists, print: No elm-package.json was found, should one be created? (y/n)

create elm-package.json

if *.elm and elm-package.json exist, print: Error: Please specify a main .elm file

$ elm make Main.elm

install dependencies found in elm-package.json
compile Main.elm, and all modules it depends on
write concatenated output to index.html

$ elm make Main.elm --js elm.js

write concatenated output to elm.js

$ elm make Main.elm --html mypage.html

wrap JS output in HTML and write to mypage.html

$ elm make Main.elm --node-js node-test.js

same as --js but also adds Elm.worker(Elm.Main); to the end to start the app in NodeJS

$ elm make X.elm --html x.html --js x.js

Error, show help message

For library creators
TODO

The above is my suggestion for how elm make can be easier for beginners. Please add your comments, especially about the part for library creators (which I have no experience with). Once there is agreement, we can start the implementation.

I am going to try to do this in the next couple days. I like it. I think we can combine the --node-js and --js flags into one thing, but otherwise I think this is way nicer!

Feedback based on the Sublime plugin:

I save the main file in elm-package.json under a sublime-build.main key. It's necessary to be able to compile a given project from another file. It also seems necessary to auto-build arbitrary projects.
Our output path would be inferred as build/Main.html instead of index.html. It's not as pretty but prevents accidentally blowing it away a separate compilation.

I can't understand either of these points. Can you move this to its own issue and describe your scenario more completely? I don't know how sublime works, I don't know what you are asking for or how it relates to any of the very concrete suggestions made in this thread.

The latter point is more concrete:

write concatenated output to index.html

The default we use is build/Main.html. If you then run elm make Counter.elm it wouldn't blow away your previous output.
The former point might belong in another issue. It's difficult to infer what file to build. It seems like a main key in elm-package.json would not only benefit tooling but concepts like an auto-building gallery repo. I brought it up because it's relevant to the proposed interface.

It seems like a main key in elm-package.json

I.e. elm make would check for main in elm-package.json and elm make Counter.elm would override that key.

Please open another issue.

@evancz I've changed my mind regarding the --js and --html. I think having --html, --js and --node-js is too much, especially since they cannot be used at the same time.
Instead I think we should:

make it clear in the --help message that HTML, JS and NodeJS outputs are supported
keep the current situation where the output filename determines the output type but add an error if the user uses any extension except .js or .html. This will prevent the confusion when using .htm or something else.
add a --node-js option which gives an error if the output filename does not end in .js.

Let's talk about this at the meeting later.

@seliopou is more used to being able to get everything compiling without something like elm-package.json and suggested we look at OCaml's Oasis for inspiration on how to support that usage in a nice way.

@laszlopandy, if you get a chance, I'd be curious if you think we can bring any ideas over.

That link makes it look like a cabal-type thing. Is there any info about
specifically what the good parts are?
On Thursday, September 24, 2015, Evan Czaplicki<EMAIL_ADDRESS>wrote:

@laszlopandy https://github.com/laszlopandy, if you get a chance, I'd
be curious if you think we can bring any ideas over.
—
Reply to this email directly or view it on GitHub
https://github.com/elm-lang/elm-make/issues/23#issuecomment-143057347.

@laszlopandy I noticed under For Library Authors there were no suggestions but I believe I have one from my own experience today. It looks like if no modules are specified for exposed-modules that elm-make will not build anything and just reports "Success! Compiled 0 modules.". I would suggest that a simple hint should be displayed at this point that says something along the lines of "If you want to make a library you need to list one or more modules as exposed-modules in elm-package.json".


Including assets and multiple dear imgui copies in repository

Nothing critical but some loose suggestions (feel free to close)
Assets
Assets tends to bloat git repository fast (especially when updated, since git will locally keep every copies).
Two things I found worked:

Manual push assets into the wiki/ repo (it's another repository provided by gthub).
Notice that e.g. https://raw.githubusercontent.com/wiki/ocornut/imgui/web/v175/capture_readme_styles_0001.png is actually served from imgui's wiki repo.
Upload assets to Issues without submitting the issue, then save the link to the asset. As it happens it seems that GitHub is never garbage collecting those... I know it sounds strange, but I've been relying on this for years. The day, if ever, that GitHub decide to garbage collect assets not linked to issue we can react. I don't think I'm the only repository using that facility and when I asked GitHub about it on Twitter they suggested I do that..
Bonus: ServerApp/background.png could easily be rendered using ImDrawList. ALSO the current asset seems to have a wrong aspect ratio the circle is not a perfect circle which makes the whole thing looks squashed which in my subconscious makes the app look less polished that it actually is.

Multiple Dear ImGui copies
I realize you need this for testing but it makes the whole netimgui package less "library-ish" (and also bigger) that it contains all those copies of dear imgui. I would suggest either using a single submodule link either use a separate repo to distinguish lib vs example if needed (more handling!). Either way you can use scripting or GitHub actions if you want to test that stuff compiles with multiple versions.
Making those changes the file tree would goes from ~20 mb to ~1 mb.

Assets
This project is the first time I really use GitHub, so I am learning how to use it as I go. I find the web assets suggestion interesting, I was not a fan of including them in the project depot, but didn't think of any other location outside hosting on a 3rd party. I'll probably take a look at the wiki depot approach.
Background
The background feature has been made quickly and stretch to size. It'll take me 30 minutes to scale + keep ratio properly. I was also thinking of adding a netImgui command to specify a texture + color for the background. But I am waiting to see if people are interested in this lib before adding these extra features.
Imgui copies
Right now, before I submit changes, I compile in every targets against each Imgui version, making sure of compatibility. I haven't explored the automation feature of Github, but feel that it wouldn't be trivial to 1. Call batfile to generate solution  and 2. Compile every Visual Studio targets. As for being less 'library-ish' :) maybe some renaming might makes things clearer, the library proper is everything in 'Code\Client' everything else is extra for the samples, server app, test against Dear ImGui version. I am not particularly fond of storing each version of it in the depot. I think you are correct with the idea of running a script that could fetch the files from Github instead.

Had a quick test last night, it seems Windows comes with cURL and tar commandline tool since a 2018 update. I was able to sucessfully fetch a Dear ImGui release package with them, so will be taking that route.

All 3 points have been addressed.
For now, 1 copy of the current Dear ImGui is still stored. This is to keep things as simple as possible when user only want to compile the base code (Samples/NetImGuiServer), without relying on Windows setup of cURL/Tar tools. Other Dear ImGui versions (used for compatibility tests) are now fetched from official Dear ImGui packages releases or a zip file from my own wiki (when no associated release packages available).
Assets have been moved to the wiki, this was a nice dicovery, thanks.
And background now resize to fit (instead of stretching).

Thank you that’s great!


tab change, min max windows

Bug: Notebook Editor, Interactive Window, Editor cells
Steps to cause the bug to occur

open editor, set language to python
right click, select "run current file in python interactive window"
wait for python to be come idle in interactive window
maximize your code window, using double click on current editor tab
now your code window is maximized, and interactive window is minimized but still there
click on interactive window, it becomes maximized
click back on your code window, not it becomes maximized
repeat step 2 and 3

Actual behavior

now click on your code window, it does not become maximized. it does when you double click editor tab, but not when you click on its window. i think because when i use "run current file in python interactive window" it does not change focus because i can still see my cursor blinking.

Steps Recorder output file:
steps.zip
Your Jupyter and/or Python environment

Jupyter server running:                       Local
Extension version:                               2020.2.64397
VS Code version:                                1.43
Setting python.jediEnabled:               false
Python and/or Anaconda version:     Python 3.7.3 64-bit
OS:                                                     Windows
Virtual environment:                          N/A

Developer Tools Console Output

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

I believe this same behavior will happen with a markdown file (.md) and a preview of it.
We don't control the windowing of the interactive window. That would be the responsibility of VS code itself, so this bug is really an issue with VS code.


Roll engine 6991dd981bf7..2c5145eb613b (4 commits)

https://github.com/flutter/engine/compare/6991dd981bf7...2c5145eb613b
git log 6991dd981bf7..2c5145eb613b --first-parent --oneline
2020-03-03<EMAIL_ADDRESS>Roll src/third_party/dart ca3ad264a649..06155d499645 (3 commits) (flutter/engine#16902)
2020-03-03<EMAIL_ADDRESS>Roll src/third_party/skia 73ae40a424fa..b19408040143 (4 commits) (flutter/engine#16901)
2020-03-03<EMAIL_ADDRESS>Drop last usages of Dart_New from engine (flutter/engine#16838)
2020-03-03<EMAIL_ADDRESS>Roll src/third_party/skia 8121d27b297c..73ae40a424fa (1 commits) (flutter/engine#16900)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Commit queue failed; closing this roll.


Not able to hide children on the initial Page Load

Hi,
I am using ng2-tree library for my Angular 4 project. I am able to render the tree view but I am not able to hide the children on the initial page load. Here it how I am using the ng2-tree component:
Created a treeModel and gave it some id value and some children:
public tree: TreeModel = {
value: 'Case',
id: 111,
children: [
{
value: 'Object-oriented programming'
},
{
value: 'Prototype-based programming',
}
]
};
ngOnInit(): void {
this.formGroup = this.fb.group({});
this.service.getelements(0).then((data) => {
  for (let x of data) {

    let params = {
      value: x.name,
      id: x.objectID,
      child: x.child,
      children: [{value: 'empty'}]
    };
    this.treeArr.push(params);
  }

  let treeCon = this.treeRef.getControllerByNodeId(111);
  treeCon.setChildren(this.treeArr);
});

}
So On Page Load it is showing the nodes children as empty and if I am giving an empty children array then it is not allowing me to click and expand as it is considering all the children even though they have further more children is behaving like a leaf.
Can you help me out where I am going wrong

@harigura Could you please, reproduce it here https://stackblitz.com/edit/angular ?
This way I will help you much faster

I got this fixed. My tree was not able to load the styles from ngTree.scss file so I added it as a separate file in my assets folder. Thanks


Bump vLLM version + more options when loading models in vLLM

Description
This PR fixes #1781
Notes for Reviewers
Two commits:

first one is to bump vLLM from v0.2.7 to latest v0.3.2:
I updated mostly for this PR which fixes the ability to load multiple models in the same GPU.
I'm actually unsure on how you manage and pin all these versions, so let me know if I need to change something. Some important information:

vLLM now requires transformers>=4.38.0, which requires safetensors>=0.4.1
since exllama requires safetensors==0.3.2, I duplicated common-env/transformers specifically for exllama probably not to be touched again and updated versions in common-env/transformers

more variables passed to the vLLM model loader to allow:
It feels a bit dirty to add even more backend specific variables in the global options and pass them via the global gRPC proto; unsure if you have something in mind to limit options to specific backend? Let me know if you want me to implement something else.

Signed commits

[x] Yes, I signed my commits.

That's great, thanks @golgeek for looking into this! I think also @fakezeta would be interested in this as we can reuse the SafeTensor options for other backends as well

I switched to draft the time I build and test everything.

@mudler Does it look better to you now? :)


Added the Data Preprocessing and EDA part, and written the code in python notebook instead of python file for better understanding

Pls do not make changes to the type of datasets file.
And don't change the content of main.py file. Keep it in python file and implement your part of code in that only. @HarshAggarwal1


Add failure_* methods and simplify IFailedFuture interface

I also added a failure_formatted_traceback for simplicity (and so "format stack trace" code wasn't just stuck in the txaio tests).

would failure_message() allow us to factor code like this https://github.com/tavendo/AutobahnPython/commit/303d289de4993b5ffa9bf90c6fed71364f3521e7 ?

Yes. I'll push a branch to autobahn. Do we know which exceptions (python versions?) don't have .args, .message etc?

Good question;) Me, I dont know. Playing it safe by dyn. checking (hasattr) would be fine for me also ..
Am 11.09.2015 12:16 vorm. schrieb meejah<EMAIL_ADDRESS>Yes. I'll push a branch to autobahn. Do we know which exceptions (python versions?) don't have .args, .message etc?
—
Reply to this email directly or view it on GitHubhttps://github.com/tavendo/txaio/pull/10#issuecomment-139397964.


First pass at Astra Doc Ingest logic

@potter-potter i don't have write access to your branch, so opened up a PR for my changes here

@erichare Let's continue working on this from here.
Is this running successfully for you when you test it?

@potter-potter i had something come up earlier and haven't had a chance to fully test, i will get back to you on that soon. Also sorry for the very undescriptive branch name here haha, I forgot to change the default 😄
I'll follow up soon

I don't think we can fully sort of copy delta-table. I was just trying to point you to something that read from a "database table"-like source. There isn't really a good example of a source connector that parallels AstraDB as far as I can tell.

It actually looks like this gets the entire table:
astra_docs = list(self.astra_db_collection.paginated_find())
In most of the connectors, since they are not table based, get_ingest_docs just gets a pointer to the docs and then we can potentially fan out downloaders to download the docs with get_files
That being said, this is not a "docs" based connector (its table based) so it is a little different. I will look through our source connectors again to see if there is a better connector to model.

It actually looks like this gets the entire table: astra_docs = list(self.astra_db_collection.paginated_find())
In most of the connectors, since they are not table based, get_ingest_docs just gets a pointer to the docs and then we can potentially fan out downloaders to download the docs with get_files
That being said, this is not a "docs" based connector (its table based) so it is a little different. I will look through our source connectors again to see if there is a better connector to model.

That is a really great point. Yep, it will pull the full table. paginated_find itself can take a filter condition, if there's any way to pass kwargs to get_ingest_docs?

@potter-potter - Do you know if this PR is still being actively worked?

@MthwRobinson I got pulled into some other stuff, but would like to get this merged... with that said, we sort of had two simultaneous PRs going, and i think this particular PR is out of date. If @potter-potter agrees, i'll open a new PR with just the Astra DB Source connector logic and we can close this one. I have some updates to make to it anyway as a result of recent changes on the Astra end.

Thanks @erichare !

@erichare Thanks. If you could close this and open a new one. We merged in the updates to the Astra destination, but this source one needed more work.

@erichare Thanks. If you could close this and open a new one. We merged in the updates to the Astra destination (via a different PR), but this source connector needed more work.

I'm on it @potter-potter . Thanks!


fix(typo): fix typo in Page.waitForSelector() method

fix typo from ait to wait in Remarks - hidden option

Thanks, will be fixed in https://github.com/puppeteer/puppeteer/pull/8701


'shuffle-salts' corrupts wp-config.php if semi-colon in original salt

Summary:
"wp config shuffle-salts" creates a malformed wp-config.php file if a semi-colon is contained in the original salt
Steps to reproduce:
Place a semi-colon in one of the salts in wp-config.php and run "wp config shuffle-salts"
Severity - High (Breaks site as it is unable to load wp-config.php)

Additional comment from @cldevs from #15:
Again, the issue is that a semi-colon somewhere in the string of a value fools the transformer into thinking that's the end of the key-value declaration which results in a corrupt wp-config.php file and winds up taking down a Wordpress site.
WPConfigTransformer.php - Line 199-203
$contents = preg_replace(
   sprintf( '/(?<=^|;|<?php\s|<?\s)(\s*?)%s/m', preg_quote( trim( $old_src ), '/' ) ),
   '$1' . str_replace( '$', '$', trim( $new_src ) ),
   $this->wp_config_src
);

Is this just a matter of including the ending newline character at the end of each search string (e.g. after the semi-colon) so it matches right to the end of the line instead of stopping part-way? Then including a newline character at the end of the replace? Any other implications here?

@fjarrett Any specific thoughts on what the best approach is here? As we already had a similar fix, there's the chance we're circling around...

@schlessera I followed the steps above and I cannot reproduce this issue.

@fjarrett I cannot replicate either with the latest release (v2.2.0).
@cldevs Is this still an issue for you? I think it might have been fixed in the mean time but the fix was only included with the latest release.

Confirmed this is now fixed in v2.2.0!  Thanks!


Were the models finetuned?

Great work and thanks for open-sourcing the implementation.
I have a quick question: while reporting the accuracy metrics in your paper (Tables 5 and 6), did you run inference on the models directly or did you first fine-tune them?
Thanks in advance!

We inference on the model directly. Ouroboros is a train-free algorithm, thus no training is conducted in this research. Thanks for asking!


[Feature][Flink] Support multiple tables read and write

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
validate
Remove flink filter item
https://github.com/apache/seatunnel/blob/0c3044e3f6d5d1a52df1896e069676b509419e4b/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-cdc-mysql-e2e/src/test/java/org/apache/seatunnel/connectors/seatunnel/cdc/mysql/MysqlCDCIT.java#L266
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

i want take this task

@liunaijie
Sorry, this feature has been selected for Open Source Summer, so let's wait for applicants to complete it
https://summer-ospp.ac.cn/org/prodetail/248940457?list=org&navpage=org


10.11.0: ORSSerialPort doesn't work with Arduino Esplora (possibly other modem type ports?)

Haven't yet investigated this fully, but I believe it only happens on 10.11 El Capitan.

Turns out that setting the RTS and/or DTR line fixes the problem. I have no idea why the change with 10.11 (confirmed that this issue doesn't happen on 10.10).


Autodesk Talk Contact info Request

Today, Mark and I spoke with a representative from Autodesk regarding the use of Fusion 360 and myhub in the design process (for those unfamiliar with myhub, think of myhub as the mechanical equivalent of github). In our conversation, the representative expressed interest in coming to NC State to present on myhub and good CAD design practice. He has asked for the contact info of organizations of students here on campus who may or may not be interested in hearing his presentation (ex: IEEE, ASME, etc).
If you know of anyone in a leadership position, or in a faculty mentor position, who may be interested, please list them below in a comment so we may seek them out for comment. Also, if anyone is familiar with the required process for bringing a company to campus for a lecture, or knows the point of contact within the university for such matters, please post that name below as well.
Having the speaker come and present is a big opportunity and we do not want to let it go to waste.

I talked to my professor Kevin Sutton<EMAIL_ADDRESS>who seemed very interested in helping to get the word out about the talk, he sent me to Nolan Fahrer<EMAIL_ADDRESS>who now teaches the architectural classes in the college of education using Autocad.  He is also willing to send out emails, make announcement in classes and get me in touch with how to reserve a room through the college of education (which is different than the college of engineering)
Organizations to reach out to might include the Arial robotics club, underwater robotics club, the MAE department and I also think the Entrepreneurship initiative would be interested.

Is there a minimum number of students they'd need for it to happen?
So that we know how what type of classroom to reserve.


chore(bulk-model-sync-gradle): remove unused mpsDebugEnabled option

This option was not used at all and also not documented. Therefore, we might find it ok that this is not a breaking change.

:tada: This PR is included in version 3.14.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Is GPS required

I have gateway OS base running on pi Zero WiFi and forwarding to separate Chirpstack network server. The networkserver/application server is receiving join requests and sending join accept but they never get to the node.
Feb 22 19:24:47 raspberrypi0-wifi user.warn chirpstack-concentratord-sx1301[12451]: GPS time reference is not valid, age:<PHONE_NUMBER>.930063245s
Feb 22 19:24:48 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301[12451]: Frame received, uplink_id: 7a0dea0d-9b27-42e2-ba9a-a55b44dc0775, count_us:<PHONE_NUMBER>, freq: 903700000, bw: 125000, mod: LoRa, dr: SF10
Feb 22 19:24:48 raspberrypi0-wifi user.info chirpstack-gateway-bridge[7841]: time="2020-02-22T19:24:48Z" level=info msg="backend/concentratord: uplink event received" uplink_id=7a0dea0d-9b27-42e2-ba9a-a55b44dc0775
Feb 22 19:24:48 raspberrypi0-wifi user.info chirpstack-gateway-bridge[7841]: time="2020-02-22T19:24:48Z" level=info msg="integration/mqtt: publishing event" event=up qos=0 topic=gateway/be8c8506f284c309/event/up uplink_id=7a0dea0d-9b27-42e2-ba9a-a55b44dc0775
Feb 22 19:24:48 raspberrypi0-wifi user.warn chirpstack-concentratord-sx1301[12451]: GPS time reference is not valid, age:<PHONE_NUMBER>.930631287s
Feb 22 19:24:48 raspberrypi0-wifi user.info chirpstack-gateway-bridge[7841]: time="2020-02-22T19:24:48Z" level=info msg="integration/mqtt: downlink frame received" downlink_id=eba706b7-253b-4c9d-a11b-4b8aac47cdaf gateway_id=be8c8506f284c309
Feb 22 19:24:48 raspberrypi0-wifi user.info chirpstack-gateway-bridge[7841]: time="2020-02-22T19:24:48Z" level=info msg="backend/concentratord: forwarding downlink command" downlink_id=eba706b7-253b-4c9d-a11b-4b8aac47cdaf
Feb 22 19:24:49 raspberrypi0-wifi user.warn chirpstack-concentratord-sx1301[12451]: GPS time reference is not valid, age:<PHONE_NUMBER>.931189329s
Feb 22 19:24:50 raspberrypi0-wifi user.warn chirpstack-concentratord-sx1301[12451]: GPS time reference is not valid, age:<PHONE_NUMBER>.931945369s
Feb 22 19:24:51 raspberrypi0-wifi user.warn chirpstack-concentratord-sx1301[12451]: GPS time reference is not valid, age:<PHONE_NUMBER>.93268741s
Feb 22 19:24:52 raspberrypi0-wifi user.warn chirpstack-concentratord-sx1301[12451]: GPS time reference is not valid, age:<PHONE_NUMBER>.93343445s
Feb 22 19:24:53 raspberrypi0-wifi user.warn chirpstack-concentratord-sx1301[12451]: GPS time reference is not valid, age:<PHONE_NUMBER>.934175491s
Feb 22 19:24:54 raspberrypi0-wifi user.warn chirpstack-concentratord-sx1301[12451]: GPS time reference is not valid, age:<PHONE_NUMBER>.934981531s
Feb 22 19:24:55 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301[12451]: Frame received, uplink_id: ee6f6bfc-1fdf-4b27-aa4f-6fc83118bbc2, count_us:<PHONE_NUMBER>, freq: 903000000, bw: 500000, mod: LoRa, dr: SF8
Feb 22 19:24:55 raspberrypi0-wifi user.info chirpstack-gateway-bridge[7841]: time="2020-02-22T19:24:55Z" level=info msg="backend/concentratord: uplink event received" uplink_id=ee6f6bfc-1fdf-4b27-aa4f-6fc83118bbc2
Feb 22 19:24:55 raspberrypi0-wifi user.info chirpstack-gateway-bridge[7841]: time="2020-02-22T19:24:55Z" level=info msg="integration/mqtt: publishing event" event=up qos=0 topic=gateway/be8c8506f284c309/event/up uplink_id=ee6f6bfc-1fdf-4b27-aa4f-6fc83118bbc2
Feb 22 19:24:55 raspberrypi0-wifi user.info chirpstack-gateway-bridge[7841]: time="2020-02-22T19:24:55Z" level=info msg="integration/mqtt: downlink frame received" downlink_id=a20031f6-8ae9-4d7f-bb27-e3de24e0a43b gateway_id=be8c8506f284c309
Feb 22 19:24:55 raspberrypi0-wifi user.info chirpstack-gateway-bridge[7841]: time="2020-02-22T19:24:55Z" level=info msg="backend/concentratord: forwarding downlink command" downlink_id=a20031f6-8ae9-4d7f-bb27-e3de24e0a43b
Feb 22 19:24:55 raspberrypi0-wifi user.warn chirpstack-concentratord-sx1301[12451]: GPS time reference is not valid, age:<PHONE_NUMBER>.935737571s
Feb 22 19:24:56 raspberrypi0-wifi user.warn chirpstack-concentratord-sx1301[12451]: GPS time reference is not valid, age:<PHONE_NUMBER>.936311613s
Feb 22 19:24:57 raspberrypi0-wifi user.warn chirpstack-concentratord-sx1301[12451]: GPS time reference is not valid, age:<PHONE_NUMBER>.937036653s
Feb 22 19:24:58 raspberrypi0-wifi user.warn chirpstack-concentratord-sx1301[12451]: GPS time reference is not valid, age:<PHONE_NUMBER>.937775694s
Feb 22 19:24:59 raspberrypi0-wifi user.warn chirpstack-concentratord-sx1301[12451]: GPS time reference is not valid, age:<PHONE_NUMBER>.938541734s

Node is running MCCI Cantenna compliance-otaa-halconfig.ino
19927578 (318841 ms): EV_JOIN_TXCOMPLETE, saveIrqFlags 0x80, nLateRx=0 ticks=0
20562056 (328992 ms): EV_TXSTART: ch=4 rps=0x04 (SF10 BW125 CR 4/5 Crc IH=0), datarate=0, opmode=88C, txend=20562669, avail=0
20562115 (328993 ms): +Tx LoRa, datum=0x17. opmode=88C
20585302 (329364 ms): radio_irq_handler_v2: LoRa, datum=0x8. opmode=88C
20897046 (334352 ms): EV_RXSTART: freq=925.7 rps=0x94 (SF10 BW500 CR 4/5 NoCrc IH=0), datarate=0, opmode=88C, txend=20585296, avail=0, rxtime=20897671, rxsyms=7
20897675 (334362 ms): +Rx LoRa Single, datum=0x0. opmode=88C
20898581 (334377 ms): radio_irq_handler_v2: LoRa, datum=0x80. opmode=88C
20959546 (335352 ms): EV_RXSTART: freq=923.3 rps=0x96 (SF12 BW500 CR 4/5 NoCrc IH=0), datarate=0, opmode=88C, txend=20585296, avail=0, rxtime=20960171, rxsyms=7
20960175 (335362 ms): +Rx LoRa Single, datum=0x0. opmode=88C
20963770 (335420 ms): radio_irq_handler_v2: LoRa, datum=0x80. opmode=88C
20963777 (335420 ms): EV_JOIN_TXCOMPLETE, saveIrqFlags 0x80, nLateRx=0 ticks=0
21008384 (336134 ms): EV_TXSTART: ch=64 rps=0x12 (SF8 BW500 CR 4/5 Crc IH=0), datarate=4, opmode=88C, txend=21008997, avail=0
21008443 (336135 ms): +Tx LoRa, datum=0x17. opmode=88C
21010229 (336163 ms): radio_irq_handler_v2: LoRa, datum=0x8. opmode=88C
21321974 (341151 ms): EV_RXSTART: freq=923.3 rps=0x91 (SF7 BW500 CR 4/5 NoCrc IH=0), datarate=4, opmode=88C, txend=21010224, avail=0, rxtime=21322599, rxsyms=14
21322602 (341161 ms): +Rx LoRa Single, datum=0x0. opmode=88C
21322837 (341165 ms): radio_irq_handler_v2: LoRa, datum=0x80. opmode=88C
21384474 (342151 ms): EV_RXSTART: freq=923.3 rps=0x96 (SF12 BW500 CR 4/5 NoCrc IH=0), datarate=4, opmode=88C, txend=21010224, avail=0, rxtime=21385099, rxsyms=7
21385102 (342161 ms): +Rx LoRa Single, datum=0x0. opmode=88C
21388697 (342219 ms): radio_irq_handler_v2: LoRa, datum=0x80. opmode=88C
21388704 (342219 ms): EV_JOIN_TXCOMPLETE, saveIrqFlags 0x80, nLateRx=0 ticks=0
21388709 (342219 ms): EV_JOIN_FAILED: freq=923.3 rps=0x96 (SF12 BW500 CR 4/5 NoCrc IH=0), opmode=C

Is my issue related to the missing GPS data?

Changing the model from "generic_us915_gps" to "generic_us915" still generates error messages about gps.
eb 22 19:53:10 raspberrypi0-wifi user.debug chirpstack-concentratord-sx1301[16368]: Disabling GPS mode for concentrator counter
Feb 22 19:53:10 raspberrypi0-wifi user.debug chirpstack-concentratord-sx1301[16368]: Current concentrator count_us: 62705041
Feb 22 19:53:10 raspberrypi0-wifi user.debug chirpstack-concentratord-sx1301[16368]: Concentrator drift, drift_us: -554
Feb 22 19:53:10 raspberrypi0-wifi user.debug chirpstack-concentratord-sx1301[16368]: Enabling GPS mode for concentrator counter
Feb 22 19:53:15 raspberrypi0-wifi user.debug chirpstack-concentratord-sx1301[16368]: Could not get GPS time, uplink_id: c085cded-5067-423a-a731-7a0c3ceafcf8, error: gps_ref_valid = false
Feb 22 19:53:15 raspberrypi0-wifi user.debug chirpstack-concentratord-sx1301[16368]: Could not get GPS epoch, uplink_id: c085cded-5067-423a-a731-7a0c3ceafcf8, error: gps_ref_valid = false
Feb 22 19:53:15 raspberrypi0-wifi user.debug chirpstack-concentratord-sx1301[16368]: Could not get GPS coordinates, uplink_id: c085cded-5067-423a-a731-7a0c3ceafcf8, error: gps_ref_valid = false
Feb 22 19:53:15 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301[16368]: Frame received, uplink_id: c085cded-5067-423a-a731-7a0c3ceafcf8, count_us: 68110780, freq: 902500000, bw: 125000, mod: LoRa, dr: SF10
Feb 22 19:53:15 raspberrypi0-wifi user.info chirpstack-gateway-bridge[15911]: time="2020-02-22T19:53:15Z" level=info msg="backend/concentratord: uplink event received" uplink_id=c085cded-5067-423a-a731-7a0c3ceafcf8
Feb 22 19:53:15 raspberrypi0-wifi user.info chirpstack-gateway-bridge[15911]: time="2020-02-22T19:53:15Z" level=info msg="integration/mqtt: publishing event" event=up qos=0 topic=gateway/be8c8506f284c309/event/up uplink_id=c085cded-5067-423a-a731-7a0c3ceafcf8
Feb 22 19:53:16 raspberrypi0-wifi user.info chirpstack-gateway-bridge[15911]: time="2020-02-22T19:53:16Z" level=info msg="integration/mqtt: downlink frame received" downlink_id=a092843b-5b20-4eb2-a273-1dea8592d9d9 gateway_id=be8c8506f284c309
Feb 22 19:53:16 raspberrypi0-wifi user.info chirpstack-gateway-bridge[15911]: time="2020-02-22T19:53:16Z" level=info msg="backend/concentratord: forwarding downlink command" downlink_id=a092843b-5b20-4eb2-a273-1dea8592d9d9
Feb 22 19:53:22 raspberrypi0-wifi user.debug chirpstack-concentratord-sx1301[16368]: Could not get GPS time, uplink_id: 1615cea2-c0ad-4ad5-a1c9-31b35fba5047, error: gps_ref_valid = false
Feb 22 19:53:22 raspberrypi0-wifi user.debug chirpstack-concentratord-sx1301[16368]: Could not get GPS epoch, uplink_id: 1615cea2-c0ad-4ad5-a1c9-31b35fba5047, error: gps_ref_valid = false
Feb 22 19:53:22 raspberrypi0-wifi user.debug chirpstack-concentratord-sx1301[16368]: Could not get GPS coordinates, uplink_id: 1615cea2-c0ad-4ad5-a1c9-31b35fba5047, error: gps_ref_valid = false
Feb 22 19:53:22 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301[16368]: Frame received, uplink_id: 1615cea2-c0ad-4ad5-a1c9-31b35fba5047, count_us: 74726139, freq: 903100000, bw: 125000, mod: LoRa, dr: SF7
Feb 22 19:53:22 raspberrypi0-wifi user.debug chirpstack-gateway-bridge[15911]: time="2020-02-22T19:53:22Z" level=debug msg="backend/concentratord: ignoring uplink event, CRC is not valid" crc_status=BAD_CRC uplink_id=1615cea2-c0ad-4ad5-a1c9-31b35fba5047
Feb 22 19:53:22 raspberrypi0-wifi user.debug chirpstack-concentratord-sx1301[16368]: Could not get GPS time, uplink_id: ff59b76b-a291-4a29-a6a5-57d01f4f7929, error: gps_ref_valid = false
Feb 22 19:53:22 raspberrypi0-wifi user.debug chirpstack-concentratord-sx1301[16368]: Could not get GPS epoch, uplink_id: ff59b76b-a291-4a29-a6a5-57d01f4f7929, error: gps_ref_valid = false
Feb 22 19:53:22 raspberrypi0-wifi user.debug chirpstack-concentratord-sx1301[16368]: Could not get GPS coordinates, uplink_id: ff59b76b-a291-4a29-a6a5-57d01f4f7929, error: gps_ref_valid = false
Feb 22 19:53:22 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301[16368]: Frame received, uplink_id: ff59b76b-a291-4a29-a6a5-57d01f4f7929, count_us: 74882772, freq: 903000000, bw: 500000, mod: LoRa, dr: SF8
Feb 22 19:53:22 raspberrypi0-wifi user.info chirpstack-gateway-bridge[15911]: time="2020-02-22T19:53:22Z" level=info msg="backend/concentratord: uplink event received" uplink_id=ff59b76b-a291-4a29-a6a5-57d01f4f7929
Feb 22 19:53:22 raspberrypi0-wifi user.info chirpstack-gateway-bridge[15911]: time="2020-02-22T19:53:22Z" level=info msg="integration/mqtt: publishing event" event=up qos=0 topic=gateway/be8c8506f284c309/event/up uplink_id=ff59b76b-a291-4a29-a6a5-57d01f4f7929
Feb 22 19:53:22 raspberrypi0-wifi user.info chirpstack-gateway-bridge[15911]: time="2020-02-22T19:53:22Z" level=info msg="integration/mqtt: downlink frame received" downlink_id=fe3cf9db-5eed-4c10-9da7-dfcc6ba1caad gateway_id=be8c8506f284c309
Feb 22 19:53:22 raspberrypi0-wifi user.info chirpstack-gateway-bridge[15911]: time="2020-02-22T19:53:22Z" level=info msg="backend/concentratord: forwarding downlink command" downlink_id=fe3cf9db-5eed-4c10-9da7-dfcc6ba1caad
Feb 22 19:53:40 raspberrypi0-wifi user.debug chirpstack-concentratord-sx1301[16368]: Get gps coordinates error, error: gps_ref_valid = false
Feb 22 19:53:40 raspberrypi0-wifi user.info chirpstack-concentratord-sx1301[16368]: Publishing stats event, stats_id: f6804380-c834-4ee0-a969-9ff19b8bc216, rx_received: 3, rx_received_ok: 2, tx_received: 0, tx_emitted: 0
Feb 22 19:53:40 raspberrypi0-wifi user.info chirpstack-gateway-bridge[15911]: time="2020-02-22T19:53:40Z" level=info msg="backend/concentratord: stats event received" stats_id=f6804380-c834-4ee0-a969-9ff19b8bc216
Feb 22 19:53:40 raspberrypi0-wifi user.info chirpstack-gateway-bridge[15911]: time="2020-02-22T19:53:40Z" level=info msg="integration/mqtt: publishing event" event=stats qos=0 stats_id=f6804380-c834-4ee0-a969-9ff19b8bc216 topic=gateway/be8c8506f284c309/event/stats

Which GPS module are you using?
I have this same problem using a Ublox-neo-6m at the gateway.
I tested it with another module as well, a ls20026 (SiRF Star III chipset).
when I check if the modules are receiving a valid location (sudo cat / dev / ttyAMA0), and everything is ok.
Only the concentrator does not recognize.

GPS module is Unicorecom UM220-III N it's embedded in the board I am using LoraGo PORT

More info...
GPS NMEA output is good until concentratord starts

$GNRMC,153018.000,A,3855.179310,N,07702.392533,W,1.460,127.499,230220,,E,A*22
$GNGGA,153018.000,3855.179310,N,07702.392533,W,1,07,1.386,23.128,M,0,M,,*48
$GNGLL,3855.179310,N,07702.392533,W,153018.000,A,A*52
$GNGSA,A,3,32,31,25,26,22,14,16,,,,,,2.844,1.386,2.483*25
$GNGSA,A,3,,,,,,,,,,,,,2.844,1.386,2.483*27
$GPGSV,4,1,13,1,4,259,22,3,31,307,,4,5,301,,10,3,164,23*73
$GPGSV,4,2,13,14,68,78,27,16,20,195,15,22,44,281,17,23,2,302,*7F
$GPGSV,4,3,13,25,24,44,22,26,49,187,24,29,13,87,,31,72,353,22*78
...

Starting concentratord the data stream changes to

▒▒▒▒▒▒▒▒▒▒▒...

and in PuTTY log looks like..

ð þ  ðþ  ð ð   À þ  À    þ  ð þþ  ð      þ  ð  ð À  ð ð  ðþ  ðð    ð   À þ  ð   À þ  ð  ð þ...

A reboot will restore the GPS stream

GPS module is Unicorecom UM220-III N

This module is not supported by the Semtech HAL: https://github.com/lora-net/lora_gateway#v500. The HAL uses the proprietary UBX output of the uBlox module to get the monotonic GPS epoch time, instead of the UTC timestamp.

So Sandbox Electronics LoraGo PORT is not supported, or GPS is not required?

by definition GPS is not necessary to operate the Gateway-OS.
i have a gateway that works normally without gps.
and even if the gps is not working the gateway continues to forward the msg normally to the NS

I will try to test with lora_gateway v4.1.3 which supported standard NMEA sentences.

My nodes are not receiving down link packets so join never completes. Just trying to eliminate GPS as a cause.  I have tried MCCI Arduino-lmic and ESP32-Paxcounter with similar results.

Sorry, are you using Chirpstack-Concentratord or Semtech as a forwarder?
can you post an image of the gateway page on your app server?
Which endDevice are you using?

#1 post shows logs from Chirpstack-Concentratord, end device is esp32+rfm95. I have created multiple end devices and applications, join requests are replied with join accept from NS, but end device never sees the reply.

I'm going to close this issue. The latest release of concentratord implements the model_flags which can be used to turn on / off GNSS.
As mentioned by @erdmanncross GPS / GNSS is not a requirement for a LoRa gateway. Only when you are going to use Class-B or geolocation, it is needed in order for precise timing.
The downlink not being received can be caused by many issues. Please do some searching on the forum: https://forum.chirpstack.io, you will find various solutions for various issues :)


[Feature Request] Add Unique as a new optional tab

I'd love to have special creatures on a separate tab (maybe at the end of the list?) to track creatures with Unique rarity.
Something like this?

Or a maybe a rarity filter?

Rarity is something I haven't added anything about yet. I should definately do -something- regarding that. 🤔
For the moment. Yup, you can make it somewhat work as is by adding Unique as a creature trait in the system, then as a creature type in the module settings so it appears as a category 😁

I think with the way the Bestiary has developed by now, adding this as a directly supported feature isn't really feasible.
I'm not going to support a category with Unique creatures, but as mentioned you can easily achieve that effect yourself:

Add a homebrew creature trait in the system homebrew

Add the homebrewed creature trait as a creature category in the module settings

Tag creatures with it and drag them into the Bestiary. Probably want to swap the NPC Recognition setting aswell so that NPCs are recognised by an NPC tag instead of Unique rarity for this use-case.

I'm closing this issue, and hope you find this a workable solution 🤖 ✌


upgrade Falcosidekick chart to 0.5.10

Signed-off-by: Thomas Labarussias<EMAIL_ADDRESS>Co-authored-by: Lyonel Martinez<EMAIL_ADDRESS>
What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

If this PR will release a new chart version please make sure to also uncomment the following line:

/kind chart-release

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area falco-chart

/area falco-exporter-chart

/area falcosidekick-chart

/area event-generator-chart

What this PR does / why we need it:
Upgrade Falcosidekick chart to manage v2.27.0 of sidekick and v2.1.0 of UI
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Checklist

[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] CHANGELOG.md updated

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Issif
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Issif]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 261308c43a153fbd9e6e69e0a76b59219ff4fc9a

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: cpanato, Issif
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Issif,cpanato]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Express fms model adapters as combination of keys

This PR addresses allowing a more specific key for fms model adapters. This could help in the case where we may want to use a specific adapter only for certain devices, or linear types, etc.

is there any reason you are using frozenset for the keys?


Fix #4653: Inline certain closure capture params

Hi @sjrd , would you mind taking a look at this? This is a first draft for addressing #4653.
Given a tiny amount of testing so far, it seems to work. Consider this snippet:
package demo

object Test {
  var x = 0
  val ffffffffffffffffffffffff: scalajs.js.Function1[Int, Int] = _ + x
  val gggggggggggggggggggggggg: scalajs.js.Function1[Int, Int] = _ + 1
}

Here's the output with SJS 190:
function $c_Ldemo_Test$() {
  this.Ldemo_Test$__f_x = 0;
  this.Ldemo_Test$__f_ffffffffffffffffffffffff = null;
  this.Ldemo_Test$__f_gggggggggggggggggggggggg = null;
  $n_Ldemo_Test$ = this;
  this.Ldemo_Test$__f_x = 0;

  this.Ldemo_Test$__f_ffffffffffffffffffffffff = (this$1 => _$1 => {
    var _$1$1 = $j_java$002elang$002eObject.$uI(_$1);
    return _$1$1 + this$1.Ldemo_Test$__f_x | 0;
  })(this);

  this.Ldemo_Test$__f_gggggggggggggggggggggggg = (this$2 => _$2 => {
    var _$2$1 = $j_java$002elang$002eObject.$uI(_$2);
    return 1 + _$2$1 | 0;
  })(this);
}

and here's the output after this main + PR:
function $c_Ldemo_Test$() {
  this.Ldemo_Test$__f_x = 0;
  this.Ldemo_Test$__f_ffffffffffffffffffffffff = null;
  this.Ldemo_Test$__f_gggggggggggggggggggggggg = null;
  $n_Ldemo_Test$ = this;
  this.Ldemo_Test$__f_x = 0;

  this.Ldemo_Test$__f_ffffffffffffffffffffffff = _$1 => {
    var this$1 = this;
    var _$1$1 = $j_java$002elang$002eObject.$uI(_$1);
    return _$1$1 + this$1.Ldemo_Test$__f_x | 0;
  };

  this.Ldemo_Test$__f_gggggggggggggggggggggggg = _$2 => {
    var _$2$1 = $j_java$002elang$002eObject.$uI(_$2);
    return 1 + _$2$1 | 0;
  };
}

Looking into a failing test I'm seeing this emitted before this PR:
function $f_scg_Growable__$plus$plus$eq__sc_TraversableOnce__scg_Growable($thiz, xs) {
  if ($is_sc_LinearSeq(xs)) {
    var x2 = $as_sc_LinearSeq(xs);
    $p_scg_Growable__loop$1__sc_LinearSeq__V($thiz, x2)
  } else {
    xs.foreach__F1__V(new $c_sjsr_AnonFunction1(
      ((this$1) => ((elem$2) => this$1.$plus$eq__O__scg_Growable(elem$2)))($thiz)))
  };
  return $thiz
}

and this after
function $f_scg_Growable__$plus$plus$eq__sc_TraversableOnce__scg_Growable($thiz, xs) {
  if ($is_sc_LinearSeq(xs)) {
    var x2 = $as_sc_LinearSeq(xs);
    $p_scg_Growable__loop$1__sc_LinearSeq__V($thiz, x2)
  } else {
    xs.foreach__F1__V(new $c_sjsr_AnonFunction1(((elem$2) => {
      var this$1 = this; // problem is here, should be $thiz, although can we just inline it?
      return this$1.$plus$eq__O__scg_Growable(elem$2)
    })))
  };
  return $thiz
}

Hum, I don't think this can work in OptimizerCore. The result of this transformation creates references to variables defined outside of the Closure, which are not in scope according to IR semantics. So it's not valid IR anymore. It may, by chance, translate to valid JS today, but it's a hack. The failing test may also be a direct consequence of this violation.
In this case, I think @gzm0's old PR #4384 was more principled, although there were some failing tests there as well. I rebased it on main a few days ago at https://github.com/sjrd/scala-js/tree/less-iife-revived, but it still needs work.

Oh, I thought this is about things that we can inline (like constants or this, IIUC).

We can inline constants, but we can't inline this. this wouldn't be in scope inside the Closure. (we don't allow that even for arrow = true, because when compiling to ES 5.1 we have to emit them as functions anyway, and it would be a pain to deal with de-inlining of this in the emitter)

Hum, I don't think this can work in OptimizerCore. The result of this transformation creates references to variables defined outside of the Closure, which are not in scope according to IR semantics. So it's not valid IR anymore. It may, by chance, translate to valid JS today, but it's a hack. The failing test may also be a direct consequence of this violation.
In this case, I think @gzm0's old PR #4384 was more principled, although there were some failing tests there as well. I rebased it on main a few days ago at https://github.com/sjrd/scala-js/tree/less-iife-revived, but it still needs work.

Fair enough, I'll close this. Can I help with the revived #4384 or are you two on it? If I can help, what else needs to be done?

Can I help with the revived #4384 or are you two on it? If I can help, what else needs to be done?

I have started giving it some thought, but I'm not sure yet what's the best plan to fix the remaining issues. I see two possibilities:

Have the optimizer try and give the same names to the ParamDefs as the corresponding capture values; then have FunctionEmitter get rid of captures whose value is an Ident with the same name. That's easy in the FunctionEmitter, though some more work needs to be done for this. It's easier because OptimizerCore basically renames everything.
Do everything in the FunctionEmitter. Then it's more design work for the infrastructure, because the emitter is not currently well equipped to perform renaming during its first (optimistic) pass. However in that case we can truly deal with this like any other identifier.

I think I'll have to actually try both approaches to see which one works out best.


Create IsCISMachine.cpp

IsCISMachine() is a check to determine if the host is likely to be a machine in a CIS country.

.


[Android] sticky title on TimetableGrid

Issue

close #1229

Overview (Required)

enable show session title when scroll on TimetableGrid.

Links

nothing

Screenshot (Optional if screenshot test is present or unrelated to UI)

Before
After

Movie (Optional)

Before
After

@ked4ma Could you add a screenshot test to check it? 🙏

sure.
I'll add tests 😀


No public fcp image can be downloaded

I found hyperkube is replaced by fcp, and kubefed supports fcp now, but I found no open image in gcr.io, how can I mannually make a fcp image?
Does federation have SIG group?

Relevant to #192. Should be fixed ASAP.

@ggaaooppeenngg - I was able to get going building with my 1.9.x clusters from master and pushing fcp to a dockerhub repo following the steps here:  https://github.com/kubernetes/federation/pull/186/files#diff-07b732fa7b580c0786ac5cc8384fc5ebR15

@ggaaooppeenngg closing this as the official image is now available at gcr.io/k8s-jkns-e2e-gce-federation/fcp-amd64.
/close


Minification of bot.py

Please mark this as "enhancement".
Also please delay this until the project is finished.
Use any tricks and shortcuts you know to make bot.py smaller for quicker download size.
I know Python cannot be compressed exactly like JS (made into 1 line).
Stil it could be made a bit shorter.

This does need to be done right now, so if I could label it I would label it as "Priority: low"

I'm going to close this, because download size doesn't matter, it's still considerably less than a megabyte. And even then, the bot isn't a website script (where size does matter).

@LunarWatcher  the issue then is not size, but rather performance

Let me run some metrics

How are the metrics going so far?

The code edit you proposed is slower than the original code. I'm going to undo it now.
Proof:
from time import *

def ifOrTuple():
    combined = 0.0
    first = 0.0
    boolVal = False
    t = time()
    for i in range(10000000):
        "test" if boolVal else "testFalse"
    combined += time() - t
    print("Average: {}".format(combined))
    first = combined
    combined = 0.0
    t = time()
    for i in range(10000000):

        ("testFalse", "test")[boolVal]
    combined += time() - t
    print("Average: {}".format(combined))

if __name__ == "__main__":
    ifOrTuple()

Average: 0.39062047004699707
Average: 0.5312342643737793
The last one takes .2 seconds longer than the first one.

MK. Let me read this.

? Have you ever considered that that newline might impact it?

AND you are forgetting something. The usual condition in your bot is probably True. Try running it with true instead of false.

from time import *
def ifOrTuple():
array = ("testFalse", "test")
combined = 0.0
first = 0.0
boolVal = False
t = time()
for i in range(10000000):
"test" if boolVal else "testFalse"
combined += time() - t
print("Average: {}".format(combined))
first = combined
combined = 0.0
t = time()
for i in range(10000000):
array[boolVal||0]
combined += time() - t
print("Average: {}".format(combined))
if name == "main":
ifOrTuple()

Try that

No. Tuples will be created on the line in the code, not stored somewhere else. Sure, that could beat in benchmarking, but it'll still be as damn slow in production. When writing speed test code for stuff like this, always make sure it's exactly like it would be in real code

Silently backs into a corner

Are you saying that in real code it would actually be a dynamic value? Because at https://github.com/LunarWatcher/NN-chatbot/blob/master/Commands.py#L305 it is not a dynamic value.

No, I'm saying where touples are used, you don't store them like you did in your benchmarking

So they would not usualy be stored. Isn't that memory offensive? Making a new tuple every time...

If I can't help you, please look at http://www.algorithm.co.il/blogs/computer-science/10-python-optimization-tips-and-issues/

It is just created once. Storing them increases the chance of recreation. Why?
n.py:
x = 1

m.py:
for i in range(1000):
    import n.py # x is recreated 1000 times. 1 for each import

However:
print("training" if training else "chatting")

only creates the objects when the line is called. And the if-statement only creates one, the tuple creates two. No matter what. For these things, tuples are memory-inefficient

So they increase the complexity of the code?

As I have said multiple times already, they use more memory. Stuff that uses more memory usually allocates more or bigger objects. This:
("obj1", "obj2") == ["obj1", "obj2"]

where as:
"training" if condition else "chatting"
 ==
if condition:
    obj = "training"
else:
    obj = "chatting"

and only creates one. Complexity is completely irrelevant here

Yes I know the similarity between ternary and fullblown if ... else ..... But I get it now. The system has to process all objects in a tuple, while in an if statement, it only procceses according to the condition

You are so glad that I finally got the point? Wow.

#!/usr/bin/env python
ﵛ=ImportError
ࡅ=print
㮀=False
搓=object
try:
 import demiurgic
except ﵛ:
ࡅ("Warning: You're not demiurgic. Actually, I think that's normal.")
try:
 import mystificate
except ﵛ:
ࡅ("Warning: Dark voodoo may be unreliable.")
ﵩ=㮀
class רּ(搓):
 def __init__(self,*args,**kwargs):
  pass
 def 𐨱(self,dactyl):
  ﱲ=demiurgic.palpitation(dactyl)
  ꁁ=mystificate.dark_voodoo(ﱲ)
  return ꁁ
 def 𨠅(self,whatever):
  ࡅ(whatever)
if __name__=="__main__":
 ࡅ("Forming...")
 녂=רּ("epicaricacy","perseverate")
 녂.𨠅("Codswallop")
# Created by pyminifier.py (https://github.com/liftoff/pyminifier)

Source: https://github.com/liftoff/pyminifier#special-sauce
Yeah that messes with me a lot.
This is an example when you try to compress something so much you start using japanese characters. 😄

If you have ever played exploding kittens, you will get this joke:
Defuse card
     Play a snake game and learn the way
 of the snake. https://goo.gl/uRg6c7

Question. Do you think this file change would be a decent change?

It's again a one-line commit. Technically it's two, but it's still the same. I don't even know why you spent time committing and undoing those same changes to multiple files. And I don't want to know. I'm going to lock this conversation


lt command : Custom sub-domain names no longer work.

Hello,
Recently  I observed a lt command of the form:
lt --port port_no --subdomain sub_domain_name
which had worked well for many months suddenly stopped working.
This was circumvented by using a command of the form:
lt --port port_no--host http://localtunnel.me --subdomain sub_domain_name
which has worked successfully for over a week.
Today (30/01 @ 10:30am GMT) I am now finding that custom sub-domain names no longer work.
Has anyone also observed this, and are there any suggestions on how to circumvent?
Thanks

As a point of note lt commands of the form:
lt --port port_no --subdomain sub_domain_name
still just hang.
And looking at recent raised issues other fundamental functionality no longer works either.
Perhaps a service reboot is appropriate here?

Having waited 25mins and reattempting
lt --port port_no--host http://localtunnel.me/ --subdomain sub_domain_name
The sub-domain feature appears to work again.
In view of this (and the previous issues raised) I will try to run my own server locally when I get time.

same issue

it should work! hanging usually means there's an issue with the server. I recently fixed a memory leak on the same instance that the public server is hosted on so that may have been causing localtunnel to hang once every few hours.
lmk if it's still an issue and i'll re-open


fix: ordered template list

Description
This PR implements a few small bug fixes.

Adds sorting logic on the server side after templates are returned from the npm registry feed

Sorting logic changes the order of the templates returned to the client for display in the UI using a hardcoded sorting list for reference
Populates the display name for templates defined in the sorting list

Removes redundant and unneeded BotTemplateV2 type
Changes text for NEW_CREATION_FLOW feature flag
Adds documentation link for NEW_CREATION_FLOW feature flag

Found an additional but with the fix in the last commit in this PR. When an existing feature flags content was changed (display name, description or documentation link), it was not picked up by the users instance of feature flag. Made the change to always take the default content for these fields.
Task Item
fixes #6026
fixes #6126
fixes #6174
Screenshots

Coverage increased (+0.02%) to 53.324% when pulling 188bcfd502912ce53257b07fae3fbe5a89649860 on pavolum/orderedTemplateList into 0449e638d8c1e3d4992ccea16223faa0b9c9d2f3 on main.


Add helidon-config-yaml-mp as a dependency in helidon-microprofile-config. (#4379)

helidon-config-yaml-mp was recently decoupled from helidon-config-mp which is part of helidon-microprofile-config and as a consequence, is not a part of that config bundle anymore. This work was done to add it back and avoid any effects of incompatibility.
(cherry picked from commit aca9bf76f046fd94f292c8a6d61ae79c65f72031)

This is a fix for https://github.com/oracle/helidon/issues/4375 in v2


Subview flickering on children index changes

Summary
When using react-native-maps with dynamic/changing Marker children arrays, memoization appears not enough to prevent render flicker.
I suspect from reading the native source code that this may be caused by annotations being added and removed on the native side, instead of preserving existing annotations added. More specifically, I think on the native side you may be receiving insertReactSubview and removeReactSubview when indexes change for a subview, even when that subview's reference is not changing.
After trying to debug and work around this issue, I found that explicitly passing an array of children at fixed indices, I can add and remove children without seeing subview flicker.
Reproducible sample code
import React, {useEffect, useState} from 'react';
import MapView, {Marker} from 'react-native-maps';

function shuffleArray(array) {
  for (let i = array.length - 1; i > 0; i--) {
    const j = Math.floor(Math.random() * (i + 1));
    [array[i], array[j]] = [array[j], array[i]];
  }
}

export default function App() {
  const [markers, setMarkers] = useState([
    {latitude: 37.8067698, longitude: -122.4578827},
    {latitude: 37.7735338, longitude: -122.4635475},
    {latitude: 37.7552137, longitude: -122.4405449},
    {latitude: 37.8047354, longitude: -122.4206322},
    {latitude: 37.7858175, longitude: -122.5035452},
  ]);

  useEffect(() => {
    setInterval(() => {
      // if you comment out the following shuffleArray line, the flickering stops.
      shuffleArray(markers);
      setMarkers([...markers]);
    }, 1000);
  }, []);

  return (
    <MapView
      style={{flex: 1}}
      initialRegion={{
        longitude: -122.4194,
        latitude: 37.7749,
        latitudeDelta: 0.1,
        longitudeDelta: 0.2,
      }}>
      {markers.map((coordinate) => (
        <Marker
          key={`marker_${coordinate.latitude}_${coordinate.longitude}`}
          coordinate={coordinate}
          tracksViewChanges={false}
        />
      ))}
    </MapView>
  );
}

https://github.com/react-native-maps/react-native-maps/assets/2942184/a6e7d1a5-9dac-423f-9d47-b9a1ea01cef4
Steps to reproduce
Load the sample code provided. Notice that the library re-renders Markers with a flicker instead of keeping the existing Markers rendered.
Expected result
Children should be able to be resorted without subview re-render.
Actual result
Subviews are re-rendered.
React Native Maps Version
1.10.0
What platforms are you seeing the problem on?
iOS (Apple Maps)
React Native Version
0.73.4
What version of Expo are you using?
50
Device(s)
iPhone 15 Pro (17.3.1)

Possibly related to https://github.com/react-native-maps/react-native-maps/issues/4997#issuecomment-2016608726

@night In the new release you can use googleRenderer={'LEGACY'} as a MapView property to avoid being forced to use the latestRenderer and deal with this bug.
Please reopen if that doesn't solve the issue

@salah-ghanim this is using iOS and Apple Maps though?

@night I had the same problem, I had to remove the ^ in front of the version number so that it wouldn't update the library to the most recent minor version.
For me :
Before :
"react-native-maps": "^1.8.2",
After :
"react-native-maps": "1.8.2",

@night I just tested with a fresh react-native project (latest) and latest library version ... no flickering so closing this issue for now see: https://github.com/salah-ghanim/MapFlickerTest
and the video attached:
RPReplay_Final1712335087_map.mov

Of course you use tracksViewChanges={false}


Navar adjustment

Is your feature request related to a problem? Please describe.
The navbar items and spacing needs some adjustment.
Describe the solution you'd like
I will adjust the nav spacing, the logo size and the padding of the navbar.

Merged?


Forgot and reset Password

I just noticed there is no reset password functionality, is there a plan to add it later on?
thanks

Yes,

thanks


Collection support

Collections are a feature that already exists on Couchbase Server. Couchbase Lite does not officially support it yet, but LiteCore does. Once Couchbase Lite C exposes it, we can implement it here.
See the LiteCore docs for details.
Initial feature request: https://github.com/cbl-dart/cbl-dart/issues/321#issuecomment-1063617412

Is there any update from CB regarding this topic?

Nothing official but the next feature release (containing collection support) is planned for the first half of this year and looking at the Couchbase Lite C repo most activity is around making things ready for a new release (small fixes and doc comment updates).

Thanks for the update. Looking forward to it.


Add IT and/or Programming emoji section

I suggest to add an IT section contain all IT related emojis like:
PCs, Laptops, networks, smart phones, IoT, ML, Programing languages symbols....etc.
or maybe only Programming emoji section contain all Programming languages name or symbols like C#, python...etc

Hi, thanks for the PR but we use the Unicode Full Emoji List to generate the cheat sheet category, the suggestion should probably be raised there instead.


[hotfix][docs] Unified variable naming

What is the purpose of the change
In page joining, the variable names are named first and second, but in the example of Interval Join, the variable names are named left and right, we should unified variable naming
Brief change log
Unified variable naming on page joining
Verifying this change
Please make sure both new and modified tests in this PR follows the conventions defined in our code quality guide: https://flink.apache.org/contributing/code-style-and-quality-common.html#testing
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@knaufk  Coty that, should i create an improvement on Flink’s Jira ? Or commit to this branch directly

Code changes will involve public interfaces,  so close this pr


libMoltenVK.dylib not valid for use in process using Library Validation: mapped file has no cdhash

After following these instructions I get the following error when trying to run the app bundled with dynamic MoltenVK library:
/private/var/containers/Bundle/Application/1AFD9A8A-DAD2-4654-B4BA-5A724AB0B3B1/Tutorial03_Texturing.app/libMoltenVK.dylib: code signature in (/private/var/containers/Bundle/Application/1AFD9A8A-DAD2-4654-B4BA-5A724AB0B3B1/Tutorial03_Texturing.app/libMoltenVK.dylib) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.

Following the instructions more carefully fixed the issue.


Fix body.exec is not a function

Re-add support for matching body to query string regex
Fixes #1005 and #1004
This was working before the recent change to body parser.
From the docs:
The request body can be a string, a RegExp, a JSON object or a function.
var scope = nock('http://myapp.iriscouch.com')
                .post('/users'<EMAIL_ADDRESS>                .reply(201, {
                  ok: true,
                  id: '123ABC',
                  rev: '946B7D1C'
                });

Coverage increased (+0.01%) to 92.681% when pulling 1074a0a242ec9fad7acb51cccfb8726d8e589a39 on halkeye:support-matching-body-with-regex into f22dcc350e99b4ec71a73432874e6d9a2b8fc007 on node-nock:master.


"Bad request" issue when uploading: Use of reserved words as object properties

In node, the following js does not result in any errors:
obj = {};
obj.const = {};

obj = {};
obj.function = {};

However, in App Script it does. Line 2 in both examples would generate error "Missing name after . operator" in apps script online editor. Nor is this detected in any linters. Unexpected consequence is that we get "Bad Error" when attempting to upload.
Documenting for reference; the problem really isn't with this package. Hopefully documenting here may save hours of head-scratching.

The following file names trigger a similar error:

debug.html
debug.js

Able to upload and sync back up with Google Drive using node-google-apps-script once renamed.
old name: debug.html | debug.js
new name: template.debug.html | app.debug.js

It's not the current app. The best way is to check files names and code in the native IDE


[gardening] fix enum value spacing

The spacing was not uniform in MachError.swift when I was reading through it, so
I thought it might be worth fixing up!

Thanks!
@swift-ci Please smoke test and merge


[Feature]: FP8/FP16 Support in rocBLAS/hipBLAS

Suggestion Description
Low-precision tensor operations are rising in usage as techniques such as LLM quantization gain traction in contemporary machine learning ecosystems. As such, it is appropriate to arm lower-level toolkits such as hipBLAS with the appropriate functionality to accommodate models and tools that utilize lower-precision operations.
There is already some non-FP32/FP64 precision support available in the hipBLAS API, but this support is quite limited. Brain floating point is only supported by the Level 1 dot operation (hipblasBfdot) and its Batched/Stridedbatched extensions. Similarly, the datatype hipblasHalf is only supported in the Level 1 axpy and Level 3 gemm operations (and their extensions). Curiously, there is no hipblasHalf support in the Level 2 gemv operation.
hipBLASLt already provides functionality for a variety of lower/mixed precision, including FP16, FP8, BF16, BF8, and INT8. This focus is reasonable; in AI models such as the transformer model, gemm is overwhelmingly the most relevant and necessary operation. However, expanding the hipBLAS datatype support for lower precisions (at least FP16 and FP8) would provide a more expansive toolkit for various research areas, namely AI and HPC.
Even providing initial support in the "core" tensor operations (axpy, gemv, gemm) would be sufficient for many application areas, such as benchmarking for these precisions.
I also acknowledge that full cross-platform support in hipBLAS would require support from both rocBLAS and cuBLAS, thus the mention of rocBLAS.
Operating System
No response
GPU
No response
ROCm Component
hipBLAS

Hi @garrettbyrd, there are currently no plans to introduce FP8/FP16 support.
Could you please provide more details on the types of applications that would benefit from these features? It would be even better if you could point us to any open-source packages that could leverage this added support.. Thanks!

for fp16 gemmv there is rocblas_hshgemv_batched in rocblas, but its not very fast


refactor: usability / DX fixes

I've found it too cumbersome to try to use the components and styles in this template. Refactored the project now in a way that would be more useful in more kind of situations and to be easier to customize as is. (Just removing the styles and deleting the HelloWorld component + tests should be enough.)

[x] bump deps
[x] disable VSCode explorer.fileNesting by default
[x] refactor styles and components
[x] rewrite README

Duh. JUST when I was about to merge GH actions started acting up; Playwright tests don't start for some reason 🤷♂ Letting this stew for a bit, maybe it's a temporary hickup somewhere (don't believe it has anything to do with the actual code itself).


Mqtt data path

Thanks for the PR!  I'm sure this will come in handy for us later when/if we try to integrate mqtt.  Not merging for now.


fix: cordova plugins inconsistent versions

Description
When building the ios or android app cordova will change the package.json.
How to reproduce
Clone the master in a new directory /tmp/ionic-showcase-${RANDOM}
execute this command with ionic@5 and cordova@9
npm install
ionic cordova build android

now check the directory
git status

The package.json has been modified by cordova during the android build, same apply for ios

Changes

Update the version of cordova-plugin-aerogear-metrics in config.xml because the config.xml has always the precedence for cordova
Downgrade cordova-support-google-services because it is a dependency of phonegap-plugin-push and is the push plugin that decides the version
Add cordova-plugin-app-version because it is a dependency of cordova-plugin-aerogear-metrics

Checklist

[ ] npm test passes
[ ] npm run build works
[ ] tests are included
[ ] documentation is changed or added

So if we merge - autoupdate mechanism will pick changes and bump packages again.
We can disable some updates in renovate.json if we want to monitor that manually.

So if we merge - autoupdate mechanism will pick changes and bump packages again.
We can disable some updates in renovate.json if we want to monitor that manually.

Yes, we should do it, but I don't know which are the packages managed by cordova and which not.
In cordova@9 plugins are stored in the package.json and not in the config.xml, so if we migrate all plugins to the package.json than renovate will work again correctly.
But there is problem, in migrating to package.json, with all plugins which package name is different from the plugin name (like for the aerogear plugins)

So let's fix them for aerogear plugins. PRoblem is @aerogear/name that cannot be plugin name I think.

I'm trying to migrate all plugins to the package.json, let's see if it works correctly

World class job!

@wtrocki I've added a check to verify that the packege.json doesn't change after cordova build, but it will run only on the master if we think is more important than we should put it somewhere else
also from now on we it will be possible to build ionic-showcase only with cordova > 9, should we document it somewhere?


[Gregorian Calendar] Guard against potential infinite loop caused by iterative search

Guard against infinite loop by validating each intermittent result. This is similar to what we're doing in Calendar enumeration functions.
Resolves 123660148

@swift-ci please test