When using web to cancel a task, api-server generates an error

Bug report
Required information:

Operating system and version:

Ubuntu 20.04

OpenRMF installation type:

From source

ROS distribution and version:

galactic

Description of the bug
When I submit the 'cancel' task on the 'web' side, the 'api-server' sometimes produces the following error.
I don't know how this error is generated. Sometimes 'api-server 'can run normally, and sometimes this error occurs.
Screenshots

Tasks in api-server can be canceled successfully, but errors will be generated. After the above error is generated, 'code 500' will be generated when operating 'web' again

I found another bug about 'cancel' on the web.
The task in queue status cannot be canceled. In fact, the task in rmf is canceled, but it still displays the queue status on the web interface.

It seems that the task being executed can only be canceled normally on the web interface

Rmf-web seems unable to verify the submitted task information.
For example, when I submit an empty task request, neither the dashboard nor the api-server verifies its information, so the task in the rmf is always in an unenforceable state.

Rmf-web seems unable to verify the submitted task information.
For example, when I submit an empty task request, neither the dashboard nor the api-server verifies its information, so the task in the rmf is always in an unenforceable state.

thanks for bringing this up, we would appreciate it if you opened a separate ticket for this issue.
For cancellation errors it has been fixed via https://github.com/open-rmf/rmf-web/pull/682
For displaying queue after cancellation, just click refresh. We will be implementing auto-refresh soon that will not require a manual refresh.


Reduce log level when the stream is closed while sending block by range responses

PR Description
When the stream is closed while sending block by range responses, log at trace level, not error.
Avoid the risk of a stack overflow exception when sending a range of hot blocks by iterating if the block is immediately available rather than always chaining via thenCompose.
Fixed Issue(s)
fixes #2018
Documentation

[x] I thought about documentation and added the documentation label to this PR if updates are required.

That code just really wants to be refactored with RxStreams :)
I hope I can make an effort to rewrite it at some point. Bet this logic would take around 10 lines with rx

Yeah it's not particularly pretty.  The main limitation here is that we can only request one block at a time from storage. It's quite an inefficient way to be querying storage when we could just be walking a RocksDB index and then it results in this kind of thing.
We really want a way to stream back the results, but done in a way that preserves the separation between the beacon chain and storage services.  That's doable but just another thing that needs time and attention and not the top priority yet.


python3Packages.hyperion-py: init at 0.7.4

Motivation for this change
Python package for Hyperion Ambient Lighting
https://github.com/dermotduffy/hyperion-py
This is a Home Assistant dependency.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

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

3 packages built:

home-assistant
python38Packages.hyperion-py
python39Packages.hyperion-py


ESP32-CAM

Are these unsupported by the program? I've tried all of the generic options and a few others in the list. The cameras themselves give ex: http://<IP_ADDRESS>:81/stream for a connection. I saw only one mention of ContaCam as a recommendation for these devices but the thread was closed years ago on some page I landed on. I can stream it from VLC but that seems to be it so far.

I have not heard of this device but if it supports RTSP streams, then you should be able to add it in ContaCam.
Have you looked at this. It looks like it would five you a RTSP feel that you can use with Contacam
If not, you may want to try go2rtc to convert your stream into something suitable for ContaCam.
If you know of, or can point to a public ESP32-CAM stream, I can try playing around with it.

These are both interesting options. I decided to try out go2rtc first since the two cams I have were already running and connected to the wifi out in the garage and it worked.
The other option seems more interesting since it allows you to connect to it as a hotspot to set up credentials which would be useful when switching between networks so I'll try flashing that as well.
To be honest with you, I didn't know the difference between motion jpeg and rtsp or if it was capable of either. I assume jpeg takes stills frame by frame while rtsp provides a constant stream? Either way, I guess the stream is neither but this lightweight server program did the job. Thanks for the info!

A little update:
I tried the first option you suggested and it seems to be working great as well. A version of the code I found previously offered more options but required an SD card for settings. Most of the options I would never use either and I couldn't get it to interface with ContaCam anyway so discarded it.
The quality of these things is pretty awful at night but I just wanted something to see when the mail carrier came so it's nice to have found a $5 solution for that. Thanks again!


ASI fails on a variable declaration followed by JSXElement

This parses fine:
var foo = {};
<TodoList someprop="someval" />

This fails:
var foo = {}
<TodoList someprop="someval" />

with the following exception:
./node_modules/acorn-jsx/node_modules/acorn/dist/acorn.js:2223
    throw err
    ^

SyntaxError: Unexpected token (2:10)

Both cases should either fail or parse at the same time. But it does not seem like an easy fix might exist to this with a recursive-descent parser like acorn, since the grammar is ambiguous without a significant lookahead.

This is an interesting case, thanks.
Although JSX does not have explicit ASI semantics for its own operators, normal ECMAScript grammar still applies, which means ASI should kick in only when without it a syntax error would happen.
The case above with < is similar to / ambiguity at the beginning of the line, and so I believe this behaviour is actually correct. Consider the following example:
var foo = {};
/TodoList/

vs
var foo = {}
/TodoList/

In both cases, only explicit semicolon can turn an operator such as / or < into a beginning of an expression, which makes the following content to be parsed differently - division vs regex or less-than vs start element.
Does this make sense?

The aforementioned grammar is only ambiguous for the L0 parser (aka tokenizer). For the G1 parser (aka recognizer) it is an easy job to produce a valid parse tree. The grammar is only ambiguous when the parse could produce two or more parse trees. In both cases above there will be a syntax error, i.e. zero parse trees.
The example below gives you an example of really ambiguous grammar that even G1 parser will fail to recognize without additional semantics. This is from C++:
x * y(z);

Here, without knowing the semantics, you don't know if y(z) is a pointer of type x, or an operand of x times y(z).
The whole situation above would not exist if acorn did not use a simple rec-descent algorithm, but let's say an Earley algorithm. Well, maybe, it is a bit too late for this.
In order to fix the issue, acorn-jsx must always parse < as tt.jsxTagStart without switching the context, and then patch the parseExprOp function to perform lookahead for the following tokens — up until the point where the ambiguity is resolved. I'll try to fix it myself, because I have a real customer code where it fails, but this is going to be a messy rewrite...
By the way, it would be nice to add the original acorn test fixtures to acorn-jsx, since there is a regression on the following tests of original acorn due to improper opening angle bracket handling:
<!-- HTML comment
<!--\n;
;\n--> HTML comment

since there is a regression on the following tests of original acorn due to improper opening angle bracket handling

Yeah, thanks, it was earlier reported in #41 and already fixed - make sure you're using the latest acorn-jsx version.

I'll close this for now, if you wish, you can open a discussion on the JSX specification repo instead.

Thanks for explanation, it makes sense.
My humble opinion is that "one parse tree is better than no tree", but I agree that if majority of parsers in the JS industry follow the same convention it will do more harm than good to change it.
My original point was that under current ASI rules the semicolon would have been inserted if the tokenizer was producing tt.jsxTagStart instead of tt.relational, because the following condition would be met:

The offending token is separated from the previous token by at least one LineTerminator

However, the tokenizer uses a naive algorithm for < parsing (this is why you had to add one more condition to the readToken function to handle HTML comments properly). My point was that if the tokenizer used a smarter algorithm, i.e. a "Longest Acceptable Token Match", then ASI would kick in and a valid syntax tree would have been produced. Right now, the offending token happens two tokens further down the input stream, this is why ASI can not be applied, when technically it is possible.
Btw, I'm using your plugin to parse something else (not JSX), so this is why I keep coming up with weird cases.


Show incorrect Transfer Max in case change from send cross-chain to on-chain

Describe the bug
Show incorrect Transfer Max in case change from send cross-chain to on-chain

Version test: v1.0.3(165)
Devices test: IP 11
Validation passed.


Remove Flutterfire plugins (moved to FirebaseExtended)

We are moving FlutterFire code and issues from the flutter/plugins repo to FirebaseExtended/flutterfire.
This will make them easier for Firebase users to discover.
The package names will remain the same.

build all plugins will have to be updated

implementation 'com.google.guava:guava:27.0.1-android'

Thanks! I appreciate your help on this.


How to use send_keys on a hidden element?

I'm trying to get a huge suite of tests to run on Poltergeist (we're currently using Selenium, but we want to cut down the time it takes to run everything). Due of some weird issues with Material Design Lite, the page is not styled 100% properly in Phantom (there are some flexbox issues going on), and so right now I'm just always using find('selector').trigger('click').
The problem I'm facing right now is that I need to use find('selector').send_keys but since the element is not initially focused, Poltergeist is trying to do it automatically with target.mouseEvent('click'), which breaks because the element is covered by another.
Is there a way to bypass this? Maybe this method could use trigger too, since it would be safer?
Thanks in advance!

send_keys intentionally only sends to visible elements because a user can only send keys to visible elements - and by trying to work around these issues by sending JS created events you're circumventing that restriction.  That leads to testing the site in a way no user could use it, and therefore can lead to tests passing that really shouldn't pass.  I don't think we'll be changing this.


Move the http server setup logic into a separate package

...in preparation for re-using some of it in hil-vpn.

Rebased.

@ianballou I think your comments are addressed. okay to merge?


chore: enforce ssl for Storage

Problem

We currently don't enforce SSL, which triggers the warning. It's better to enforce SSL for user's security.

Issue number, if available:
Changes

Corresponding docs PR, if applicable:
Validation

Checklist

[ ] If this PR includes a functional change to the runtime behavior of the code, I have added or updated automated test coverage for this change.
[ ] If this PR requires a change to the Project Architecture README, I have included that update in this PR.
[ ] If this PR requires a docs update, I have linked to that docs PR above.
[ ] If this PR modifies E2E tests, makes changes to resource provisioning, or makes SDK calls, I have run the PR checks with the run-e2e label set.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Since this is just setting a CDK prop, I'm not sure how much testing it makes sense to do here, but maybe at least a unit test that asserts expected CFN config gets set in the template?

Done!


Show repo diagram in Architecture section

@davies Shall we skip the docs directory when generating the diagram?

This diagram is cool, but is not that useful for new comers, I'd like to not put it in the readme, since it's already really long.

Maybe we could have a page on "how to read the code" in the docs, which could have this diagram.


feat: remove the dependency on FusedMoE

Motivation

Modifications

Checklist

[ ] Format your code according to the Contributor Guide.
[ ] Add unit tests as outlined in the Contributor Guide.
[ ] Update documentation as needed, including docstrings or example tutorials.

https://github.com/sgl-project/sglang/actions/runs/11995321898

Actually this is not a complete removal, just to avoid blocking @ispobock  from continuing development on DeepSeek V2 EP.


Project Status?

We use this as part of our toolchain and have noticed the updates have been stagnant over the last couple of years.
Our team is wondering if you plan on maintaining this tool, or if we should look into alternatives such as forking this for our own.
Appreciate your work.

Given that last update to code was three years ago and there are known bugs - I think that situation is quite clear, this project is abandoned and not maintained.
And anyone wanting maintained one needs to start own project, pay or otherwise convince people to do this or switch to maintained project.

Didn't find a suitable replacement?
@ThyNameIsMud
@matkoniecz

I still intend to get 0.8 released. I'm out of work right now and working on my social life. If you guys want to send me some money ;-) I might work on it sooner


Is this project still under development?

6 months from the last update, plus the layoff wave to reduce cost.

hey there, thanks for reaching out. We just pushed updated dependencies, any particular issues/comments you have with the project? It should be safe to try in a beta environment.

Closing because of inactivity, feel free to reopen if you have any more questions. Thank you!


Removing @symbolic from few tf backend ops, Adding Metric, Sum, Mean classes.

Summary

Removing @symbolic from few tf backend ops and removing control dependencies from the update ops.
Adding Metric class.
Adding Sum metric class.
Adding Mean metric class.
Moving metrics_test.py to metrics_functional_test.py

Related Issues
n/a
PR Overview

[y] This PR requires new unit tests [y/n] (make sure tests are included)
[n ] This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
[y ] This PR is backwards compatible [y/n]
[n ] This PR changes the current API [y/n] (all API changes need to be approved by fchollet)

Thank you for the PR.
The following tests are currently failing when running with TF1. Note we must support both TF1 and TF2 with a single release, since there can only be one release of Keras as default on PyPI at any given time. It's fine to have TF1-specific or TF2-specific statements (abstracted in the backend).
tests/keras/metrics_test.py::TestSum::test_sum
tests/keras/metrics_test.py::TestMean::test_mean
tests/keras/metrics_test.py::TestSum::test_sum_with_sample_weight
tests/keras/metrics_test.py::TestMean::test_mean_with_sample_weight
tests/keras/metrics_test.py::TestMean::test_mean
tests/keras/metrics_test.py::TestMean::test_multiple_instances
tests/keras/metrics_test.py::TestMean::test_mean_with_sample_weight
tests/keras/metrics_test.py::TestMean::test_multiple_instances

The failures seem to be caused by update ops not running in the __call__ use case.
I'm not entirely sure what's the best path forward. We should either introduce a notion of "control dependency" in the backend (best UX), or perhaps remove __call__ from the API since it cannot be used correctly.

I have added control_dependencies op and kept the call API as it will be required in future for some metric implementations anyway.

Thank you for the PR.
The following tests are currently failing when running with TF1. Note we must support both TF1 and TF2 with a single release, since there can only be one release of Keras as default on PyPI at any given time. It's fine to have TF1-specific or TF2-specific statements (abstracted in the backend).
tests/keras/metrics_test.py::TestSum::test_sum
tests/keras/metrics_test.py::TestMean::test_mean
tests/keras/metrics_test.py::TestSum::test_sum_with_sample_weight
tests/keras/metrics_test.py::TestMean::test_mean_with_sample_weight
tests/keras/metrics_test.py::TestMean::test_mean
tests/keras/metrics_test.py::TestMean::test_multiple_instances
tests/keras/metrics_test.py::TestMean::test_mean_with_sample_weight
tests/keras/metrics_test.py::TestMean::test_multiple_instances

The failures seem to be caused by update ops not running in the __call__ use case.
I'm not entirely sure what's the best path forward. We should either introduce a notion of "control dependency" in the backend (best UX), or perhaps remove __call__ from the API since it cannot be used correctly.

I have added control_dependencies op and kept the call API as it will be required in future for some metric implementations anyway.

Added no-op control dependency ops to Theano and CNTK backends. Fixed test failures in TF 1.X. Please take a look.


Use Kubernetes metadata struct rather than Porch derived metadata struct

This PR is the first step in allowing a different implementation of the metadata store.
By using the generic K8S metadata struct, we are not dependent on a struct defined in the meta package and can use a different implementation in the future.

/approve

/approve

/lgtm

/test presubmit-nephio-go-test

/test presubmit-nephio-go-test

/test presubmit-nephio-go-test

/test presubmit-nephio-go-test


remove implementation of validators from DynamicBuilderFactory

Based off of this commit[1], all of the logic for handling validation is performed within the DynamicBuilderFactory.  This should be moved to different implementations within the Validator enum implementations through a common validate(Object) method.
[1] - https://github.com/Singleton06/dynamic-builder/commit/199cae2444eeca0d01cd15c15198f6bd4ae1579c#diff-5ef8f6d9c6ddbab4a7135b02cbbc50adR53

https://github.com/Singleton06/dynamic-builder/commit/349d2f3e93ff9f8d59ec3e3597e3bad42ee27154 has resolved this issue.


Crash doing full restart that spawns an isolate

Full restart crashes.
...
...
...
Performing full restart...
Restarted app in 2,742ms.
E/flutter (11002): [ERROR:flutter/assets/unzipper_provider.cc(16)] Unable to open zip file: /data/user/0/com.raccoonfink.cruisemonkey/cache/cruisemonkeyZGKEDJ/cruisemonkey/lib/main.dart.dill
F/flutter (11002): [FATAL:flutter/runtime/dart_init.cc(424)] Check failed: Dart_IsolateMakeRunnable(isolate).
F/libc    (11002): Fatal signal 6 (SIGABRT), code -6 in tid 15911 (ui_thread), pid 11002 (nk.cruisemonkey)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/taimen/taimen:8.1.0/OPM1.171019.021/4565141:user/release-keys'
Revision: 'rev_10'
ABI: 'arm64'
pid: 11002, tid: 15911, name: ui_thread  >>> com.raccoonfink.cruisemonkey <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: '[FATAL:flutter/runtime/dart_init.cc(424)] Check failed: Dart_IsolateMakeRunnable(isolate).
'
    x0<PHONE_NUMBER>000000  x1<PHONE_NUMBER>003e27  x2<PHONE_NUMBER>000006  x3<PHONE_NUMBER>000008
    x4<PHONE_NUMBER>000000  x5<PHONE_NUMBER>000000  x6<PHONE_NUMBER>000000  x7<PHONE_NUMBER>000000
    x8<PHONE_NUMBER>000083  x9<PHONE_NUMBER>000000  x10  00000073b1dff020  x11<PHONE_NUMBER>000001
    x12  00000073bedb7de0  x13<PHONE_NUMBER>000020  x14  ffffffffffffffff  x15  00340b33e1b023db
    x16  0000005b891fdfa8  x17<PHONE_NUMBER>77d52c  x18  00000073c27af2a0  x19<PHONE_NUMBER>002afa
    x20<PHONE_NUMBER>003e27  x21<PHONE_NUMBER>000083  x22  00000073cc909200  x23  00000073cc83ad80
    x24<PHONE_NUMBER>000002  x25  00000073b1dff201  x26<PHONE_NUMBER>000070  x27<PHONE_NUMBER>000000
    x28<PHONE_NUMBER>000000  x29  00000073b1dff060  x30<PHONE_NUMBER>732760
    sp   00000073b1dff020  pc<PHONE_NUMBER>732788  pstate<PHONE_NUMBER>000000
backtrace:
    #00 pc<PHONE_NUMBER>01d788  /system/lib64/libc.so (abort+120)
    #01 pc<PHONE_NUMBER>39463c  /data/app/com.raccoonfink.cruisemonkey-doinIgj-MApux6CccGS93g==/lib/arm64/libflutter.so
    #02 pc<PHONE_NUMBER>394a20  /data/app/com.raccoonfink.cruisemonkey-doinIgj-MApux6CccGS93g==/lib/arm64/libflutter.so
    #03 pc<PHONE_NUMBER>18de70  /data/app/com.raccoonfink.cruisemonkey-doinIgj-MApux6CccGS93g==/lib/arm64/libflutter.so
    #04 pc<PHONE_NUMBER>5c5e38  /data/app/com.raccoonfink.cruisemonkey-doinIgj-MApux6CccGS93g==/lib/arm64/libflutter.so
    #05 pc<PHONE_NUMBER>81a7ec  /data/app/com.raccoonfink.cruisemonkey-doinIgj-MApux6CccGS93g==/lib/arm64/libflutter.so
    #06 pc<PHONE_NUMBER>81a698  /data/app/com.raccoonfink.cruisemonkey-doinIgj-MApux6CccGS93g==/lib/arm64/libflutter.so
    #07 pc<PHONE_NUMBER>736e44  /data/app/com.raccoonfink.cruisemonkey-doinIgj-MApux6CccGS93g==/lib/arm64/libflutter.so
    #08 pc<PHONE_NUMBER>067d80  /system/lib64/libc.so (__pthread_start(void*)+36)
    #09 pc<PHONE_NUMBER>01ec18  /system/lib64/libc.so (__start_thread+68)
Lost connection to device.

cc @aam @szakarias @tvolkert @jason-simmons

This is on tip of tree. I launch the app, hit R, and it crashes.
Running "flutter packages get" in cruisemonkey...
Launching lib/main.dart on Pixel 2 XL in debug mode...
Initializing gradle...
Built build/app/outputs/apk/debug/app-debug.apk (35.7MB).
Installing build/app/outputs/apk/app.apk...
I/FlutterActivityDelegate(16693): onResume setting current activity to this
Syncing files to device Pixel 2 XL...

🔥  To hot reload your app on the fly, press "r". To restart the app entirely, press "R".
An Observatory debugger and profiler on Pixel 2 XL is available at: http://<IP_ADDRESS>:8104/
For a more detailed help message, press "h". To quit, press "q".

Performing full restart...
Restarted app in 2,503ms.
E/flutter (16693): [ERROR:flutter/assets/unzipper_provider.cc(16)] Unable to open zip file: /data/user/0/com.raccoonfink.cruisemonkey/cache/cruisemonkeyISFRYT/cruisemonkey/lib/main.dart.dill
F/flutter (16693): [FATAL:flutter/runtime/dart_init.cc(424)] Check failed: Dart_IsolateMakeRunnable(isolate).
F/libc    (16693): Fatal signal 6 (SIGABRT), code -6 in tid 16909 (ui_thread), pid 16693 (nk.cruisemonkey)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/taimen/taimen:8.1.0/OPM1.171019.021/4565141:user/release-keys'
Revision: 'rev_10'
ABI: 'arm64'
pid: 16693, tid: 16909, name: ui_thread  >>> com.raccoonfink.cruisemonkey <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: '[FATAL:flutter/runtime/dart_init.cc(424)] Check failed: Dart_IsolateMakeRunnable(isolate).
'
    x0<PHONE_NUMBER>000000  x1<PHONE_NUMBER>00420d  x2<PHONE_NUMBER>000006  x3<PHONE_NUMBER>000008
    x4<PHONE_NUMBER>000000  x5<PHONE_NUMBER>000000  x6<PHONE_NUMBER>000000  x7<PHONE_NUMBER>000000
    x8<PHONE_NUMBER>000083  x9<PHONE_NUMBER>000000  x10  00000073b4242020  x11<PHONE_NUMBER>000001
    x12  00000073bf1fbb40  x13<PHONE_NUMBER>000020  x14  ffffffffffffffff  x15  0004ccb9c9d65e22
    x16  0000005b891fdfa8  x17<PHONE_NUMBER>77d52c  x18  00000073c28a42a0  x19<PHONE_NUMBER>004135
    x20<PHONE_NUMBER>00420d  x21<PHONE_NUMBER>000083  x22  00000073bf194e00  x23  00000073bf1fa820
    x24<PHONE_NUMBER>000002  x25  00000073b4242201  x26<PHONE_NUMBER>000070  x27<PHONE_NUMBER>000000
    x28<PHONE_NUMBER>000000  x29  00000073b4242060  x30<PHONE_NUMBER>732760
    sp   00000073b4242020  pc<PHONE_NUMBER>732788  pstate<PHONE_NUMBER>000000
backtrace:
    #00 pc<PHONE_NUMBER>01d788  /system/lib64/libc.so (abort+120)
    #01 pc<PHONE_NUMBER>39463c  /data/app/com.raccoonfink.cruisemonkey-mjMsYGOeT1ReD9ZfGnlc4w==/lib/arm64/libflutter.so
    #02 pc<PHONE_NUMBER>394a20  /data/app/com.raccoonfink.cruisemonkey-mjMsYGOeT1ReD9ZfGnlc4w==/lib/arm64/libflutter.so
    #03 pc<PHONE_NUMBER>18de70  /data/app/com.raccoonfink.cruisemonkey-mjMsYGOeT1ReD9ZfGnlc4w==/lib/arm64/libflutter.so
    #04 pc<PHONE_NUMBER>5c5e38  /data/app/com.raccoonfink.cruisemonkey-mjMsYGOeT1ReD9ZfGnlc4w==/lib/arm64/libflutter.so
    #05 pc<PHONE_NUMBER>81a7ec  /data/app/com.raccoonfink.cruisemonkey-mjMsYGOeT1ReD9ZfGnlc4w==/lib/arm64/libflutter.so
    #06 pc<PHONE_NUMBER>81a698  /data/app/com.raccoonfink.cruisemonkey-mjMsYGOeT1ReD9ZfGnlc4w==/lib/arm64/libflutter.so
    #07 pc<PHONE_NUMBER>736e44  /data/app/com.raccoonfink.cruisemonkey-mjMsYGOeT1ReD9ZfGnlc4w==/lib/arm64/libflutter.so
    #08 pc<PHONE_NUMBER>067d80  /system/lib64/libc.so (__pthread_start(void*)+36)
    #09 pc<PHONE_NUMBER>01ec18  /system/lib64/libc.so (__start_thread+68)
Lost connection to device.
ianh@burmese:~/dev/cruisemonkey$ flutter --version
Flutter 0.2.5-pre.38 • channel master • git@github.com:flutter/flutter.git
Framework • revision af74a7253b (5 hours ago) • 2018-03-23 19:18:39 -0700
Engine • revision 6280adbfb1
Tools • Dart 2.0.0-dev.39.0.flutter-06949dc985
ianh@burmese:~/dev/cruisemonkey$ flutter doctor --verbose
[✓] Flutter (Channel master, v0.2.5-pre.38, on Linux, locale en_US.UTF-8)
    • Flutter version 0.2.5-pre.38 at /home/ianh/dev/flutter
    • Framework revision af74a7253b (5 hours ago), 2018-03-23 19:18:39 -0700
    • Engine revision 6280adbfb1
    • Dart version 2.0.0-dev.39.0.flutter-06949dc985

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /home/ianh/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: /home/ianh/bin/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
    • All Android licenses accepted.

[✓] Android Studio (version 3.0)
    • Android Studio at /home/ianh/bin/android-studio
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[✓] Connected devices (1 available)
    • Pixel 2 XL • 709KPNY0045135 • android-arm64 • Android 8.1.0 (API 27)

• No issues found!

flutter clean did not help.

Gallery works fine. (It takes 2.5s to reload, which is really slow, but it doesn't crash.)

Here is a reduced reproduction:
import 'dart:isolate';
void _test(Null message) { }
void main() => Isolate.spawn(_test, null);

This was fixed by https://github.com/flutter/engine/commit/ca57221606f0713ebc5fe306f4ca68b5f702ef2a
Looks like we haven't done an engine roll in almost a week.  I'll start a roll now.

I believe this was fixed by @jason-simmons in https://github.com/flutter/engine/pull/4828.
This has not landed in flutter/flutter yet, will be picked up in next engine roll.

@a-siva has https://github.com/flutter/flutter/pull/15885 in progress, which is pending on some test fixes.

The fix for this has long since landed, closing.


[Candidate 4v4 Desert Vortex ZH v7] Soldiers damage some buildings when shooting out of it

Observed behavior
Soldiers damage some buildings when shooting out of it.
Expected behavior
Soldiers do not damage buildings when shooting out of it.
Screenshots

fixed

Houses 1 and 3 can still self destruct.

tried to fix it again, couldnt reproduce it in my newest test


Installer froze during root.img extraction

Hi,
Super pumped to be able to give Asahi a shot :) Congrats on the release!
I've attempted the installer today (M1 Pro), and I got stuck on
Extracting root.img into disk0s7 partition
++++++++++++++++++++++++++

I had to kill it, as it stopped progressing even after 10 minutes and I could not see any I/O activity (no disk, no network).
I'm pretty sure that my macbook went to sleep during that step, as my display is set to turn off after two minutes on battery. Restarting the process with Amphetamine inhibiting sleep worked fine.
If that's not already the case, may I suggest that the installer inhibits sleep during critical steps, or at least warns about sleep settings? That's, of course, assuming that my theory about how it got stuck is right.
Sidebar: Recovering from that incomplete state wasn't straightforward (but easy using some diskutil eraseVolume), but it's another subject and I didn't expect the installer to be able to do so. No biggie.

faced the same issue, killed it, and retried again but I can't choose the previously created Linux partition, tried to delete the partition from the disk utility but I can't see it there, please help

you need to use the diskutil CLI to erase the volumes and start again.
Be very careful as you can break your system that way.

@abarisain  can you provide more info?
My partition layout is this right now:
rhx@MOHAMMADs-Air ~ % diskutil list
/dev/disk0 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         251.0 GB   disk0
   1:             Apple_APFS_ISC                         524.3 MB   disk0s1
   2:                 Apple_APFS Container disk3         230.0 GB   disk0s2
   3:                 Apple_APFS Container disk4         2.5 GB     disk0s5
   4:                        EFI EFI - ASAHI             500.2 MB   disk0s4
   5:           Linux Filesystem                         12.1 GB    disk0s7
   6:        Apple_APFS_Recovery                         5.4 GB     disk0s3

/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +230.0 GB   disk3
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            15.2 GB    disk3s1
   2:              APFS Snapshot com.apple.os.update-... 15.2 GB    disk3s1s1
   3:                APFS Volume Preboot                 475.1 MB   disk3s2
   4:                APFS Volume Recovery                798.2 MB   disk3s3
   5:                APFS Volume Data                    130.3 GB   disk3s5
   6:                APFS Volume VM                      20.5 KB    disk3s6

/dev/disk4 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +2.5 GB     disk4
                                 Physical Store disk0s5

I tried to merge the newly created partitions with diskutil mergePartitions APFS linux /dev/disk0s4 /dev/disk0s7 but it says It couldn't read partition map
can you provide the commands you executed to remove the partitions so i can adjust them based on my layout?

nevermind, i had to run diskutil apfs deleteContainer disk1 then deleted the efi and the linux volumes
now I will try to install asahi again

This issue should be fixed in the latest installer (v0.3.11), which properly sets up download timeouts.

moham96, could you list out which commands you used to recover from the state you were in? I'm stuck in the same boat and I'm not familiar with diskutil and don't want to nuke my macOS partition by mistake.

@moham96  . Please also help me to clean my drives .. I'll have to reinstall again

@Mraghuvaran reboot then post the output of diskutil list

Step 1: diskutil list  output

Step 2 : Outof Curiosity I have delted disk4 & this is the output

Can you just run the following script?
https://github.com/AsahiLinux/asahi-installer/blob/main/tools/wipe-linux.sh

@leifliddy  Should I run the script in recovery mode?

@Mraghuvaran deleting disk4 is correct now you need to delete the two remaining partitions
so run
diskutil eraseVolume free n /dev/disk0s4
diskutil eraseVolume free n /dev/disk0s7
then you can re-run the installer and choose install in free space

That script was created for that explicit purpose. IMO, it's much easier + convenient + less prone to error to run that - then it is to do it manually. It's probably best to run it from recovery just to be safe. During my testing over the last few weeks, there were multiple instances where one of the Volumes couldn't be deleted from a normal boot sesson.
I would boot to recovery, open a terminal, and run:
curl https://raw.githubusercontent.com/AsahiLinux/asahi-installer/main/tools/wipe-linux.sh | sh

FYI there is a short link at curl -L https://alx.sh/wipe-linux.

I was aware of that script but didn't expect it to work in that interrupted state. Glad it does!
The installer seems to detect properly that an installation is incomplete, as it said so on my partation list, but still asked me if I wanted to resize macOS. Maybe it could tell the user about this script on incomplete installations?

@abarisain It's funny because you said
you need to use the diskutil CLI to erase the volumes and start again.

But that's exactly what the script is doing ; )

Oh sorry, I meant I knew the script existed but didn't open it and check what was inside. If I did I would have run it.

The original root.img issue should be fixed by now; see #84 for uninstall information.


ShouldUpdate always return false

https://github.com/bennypowers/lit-apollo/blob/7c1413a21ad66c05d2e8f1eab6596dd7d8bc69f2/apollo-query.js#L148-L165
I does not understand all the stuffs but I fixed the issue in my own project by replacing this method by
shouldUpdate(changed, old) {
    return !!this.data || !!this.error || this.loading != null;
}

because data, error and loading are class properties and shouldUpdate() which is defined in "UpdatingElement" from @polymer/lit-element does not take a first parameter containing these data (it take a map called _changedProperties) so data, error and loading is always undefined…

Yes this is an error, thank you for finding it. I'll push out a new version shortly.

Nice :)

Published to npm as v0.6.8


Add additional export options

Expand on https://github.com/InstituteforDiseaseModeling/covasim/blob/master/covasim/base.py#L530

[ ] sim.to_df()
[ ] sim.to_hdf5()

Also look at https://github.com/sciris/sciris/blob/develop/sciris/sc_fileio.py#L509 and consider adding

[ ] sc.loadhdf5()
[ ] sc.savehdf5()
(although not needed if pandas does basically the same thing as it probably does!)

This looks reasonable. Simplest would just be the to_df version I think because then you can use whichever method you like to save it (e.g. there are choices for how you put data into an HDF5 file, pandas has its way, sciris probably has its way, probably best not to get in the middle of that)

Going to close since anyone who wants hdf5 probably knows how to do it with pandas, and it's not clear what additional functionality would be added by having a wrapper beyond what should already be a one-liner: e.g. pd.DataFrame(sim.to_json()).to_hdf5().

Actually, I forgot that this included just to_df() too ;) Might be worthwhile, will reopen.

Closed in 3.0.2


Think of a consistent system for taking notes during each session

Using something collaborative like Etherpads or Google docs works only at conference scale if really supported on the part of the organizers.
On the other hand, getting this right might

produce a documentation of the event that is more useful than tweets alone, and earlier than classical reporting
illustrate in a simple way the overall change of culture that we want to address with the conference.

An example of an event where taking notes via Etherpads worked nicely for the most part:
https://meta.wikimedia.org/wiki/WikiCite_2017/Program

@Daniel-Mietchen One tool for creating a number of Google Docs based on a template, with inserted data from a spreadsheet, is AutoCrat, a GSheets add-on. I'll try it out to see if it's useful. Haven't found something similar for etherpad yet.
(you asked this somewhere else but can't find that anymore - please move accordingly if needed)

Sounds good - I asked about this at
https://twitter.com/EvoMRI/status/905902074361196544
and
https://groups.google.com/forum/#!topic/etherpad-lite-dev/v4D821kV8Ls .

OK, I set up a test with AutoCrat and GDocs, works like a charm!
See documents in this folder:
https://drive.google.com/drive/folders/0B-T8WcfMD1YsME9RQlYwVkduTW8

template doc
spreadsheet with data + AutoCrat add-on
3 resulting docs with inserted data  (automatically generated)

This is easily set-up and completely customizable.

Hi Bianca and Daniel,
*Excellent work that will make good material for  Force2017. *
Kamel
On 9 September 2017 at 13:48, Bianca Kramer<EMAIL_ADDRESS>wrote:

OK, I set up a test with AutoCrat and GDocs, works like a charm!
See documents in this folder:
https://drive.google.com/drive/folders/0B-T8WcfMD1YsME9RQlYwVkduTW8

template doc
spreadsheet with data + AutoCrat add-on
3 resulting docs with inserted data (automatically generated)

This is easily set-up and completely customizable.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/force11/force2017/issues/135#issuecomment-328272257,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbHERS_AvwmahWuuTObHV-vnlZl-zRgXks5sgnr7gaJpZM4PQXCP
.

How to create Google Docs or PDFs using Autocrat
https://www.youtube.com/watch?v=SkpY2ODnncA    ,
Best regards
On 9 September 2017 at 17:05, Kamel Belhamel<EMAIL_ADDRESS>wrote:

Hi Bianca and Daniel,
*Excellent work that will make good material for  Force2017. *
Kamel
On 9 September 2017 at 13:48, Bianca Kramer<EMAIL_ADDRESS>wrote:

OK, I set up a test with AutoCrat and GDocs, works like a charm!
See documents in this folder:
https://drive.google.com/drive/folders/0B-T8WcfMD1YsME9RQlYwVkduTW8

template doc
spreadsheet with data + AutoCrat add-on
3 resulting docs with inserted data (automatically generated)

This is easily set-up and completely customizable.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/force11/force2017/issues/135#issuecomment-328272257,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbHERS_AvwmahWuuTObHV-vnlZl-zRgXks5sgnr7gaJpZM4PQXCP
.

Dear organizing committee of FORCE.
I noticed @Daniel-Mietchen 's post on the Etherpad mailing list post on this topic. Here's a slightly modified version of my response to him that he encouraged me to post in this thread. I hope we can find a way to work together!

In terms of your ideas, as far as I understand, you'd like to have:

an already running public Etherpad instance
that can facilitate a larger number of participants (perhaps 100+) on >100 sessions
... these set up the pads in a programmatic way: name them + seed initial content from some sort of a sessions manifest file / spreadsheet

I've been building on top of the Etherpad system for a while now, as part of the Totalism.org system. I've developed "E2H", which regenerates the pads as presentable HTML sites (and perhaps other formats). It also adds features such as internal (and cross-pod) links to other pods, text-to-graph generation, auto-TOC, etc. You can find some documentation about this here: http://totalism.org/e2h.php?_=E2H (You will be able to find the "Edit site" button on the bottom of the page, to illustrate the concept).
I also believe E2H connects to the conference's focal point, and so does some of my other work and interests in the direction of "hypertheory"!
Anyway - in terms of a larger number of participants, here's one example of one larger multi-participant instance we did in December:
http://pad.totalism.org/p/33c3-hacker-workflows/timeslider#3861
(press play and wait ~10 seconds).
I think it went up to something over 30 people - but it did not deteriorate in any way.
Since I have several sites running on the Etherpad service for years now, I like to think the whole system has been made pretty stable and self correcting.
Another thing I have been practising, with the desert-based Totalism.org, is intranet (localnet) etherpad sessions. In the context of conferences - wifis can be flaky, especially with regards to (outer) internet uplink, especially in such a realtime application as Etherpads. Having at least a backup, if not a main, localnet system to save your skin is a privilege.
The case you are describing would be an welcome direction for the development of E2H. Covering quality large, socially engaged, highly participatory events, to produce quality content that outlives the moment in which it's produced, and assist the process with my own domain knowledge - is absolutely an interest.
So if you are interested in this collaboration, and we can find the means to do so, I would be happy to jump onboard.

I see you are now also considering using Google Docs for collaborative document/note authoring.
While this might be simpler to pull off, here are a few downsides of using Docs that I can think of:

it's a proprietary, corporate, closed-source solution. This is as I understand not favored by your principles (as outlined in https://github.com/force11/Force11-DecisionTrees )
no chance of localnet setup (=running the notes direct on the local network, if the conference internet fails)
by choosing a proprietary solution, you are missing a chance to take a lead that other conferences can follow, that would fit your purpose
as it's closed source, you cannot creatively influence the development of the platform! I would argue that even the potential to do so can animate the conference participants, and set tasks for next year. You simply do not have this "creative medium" with using Docs.

In addition, the system I authored and am proposing, E2H, has some advantages to produce lasting results of the sessions:

stronger inter-document linking, necessary to create indexes, etc
stronger possibility of presenting the content (HTML sites are generated separate from the collaborative document, and can be hosted on your domain, ...)
simpler structuring of the messy collaborative text (by using the auto-table of contents)
simple text-to-graph capability, which would give another creative dimension I noticed you are already using (with the "decision trees" github repo). This would upgrade on that capability.
lastly, Etherpad is less bloated that Google Docs - loads faster, looks cleaner, etc. It's a stylistic preference, but it feels better for authoring notes (in contrast to authoring "Documents" for print).

This issue was moved to force11/force2018#8


Enable auto test and Lint?

Hey. I found there is no auto test code or lint enabled in cmakelists.
Will this project follow REP 2004?

We are not using linting in the CMakeLists.txt because it is "poor-mans" approach to do linting. The proper approach is to separate build/testing and liting stages to increase clarity of issues. I have been used linters integrated into CMakeLists.txt and don't want to go back because you end up scrolling logs of 30k lines for each small linter error (not much fun).
We are following architecture introduced by ros2_control where liting is done in a separate workflow (check ros-lint-workflow) and not only that, but it is also done on each and every commit by integrating it into .pre-commit-config.
And yes, we will target REP 2004. It is true that we are lacking of automatic testing currently. We gladly accept any contributions in this direction. Nevertheless, we are currently focusing on manual, integration testing because this enables faster development for now.


Can the script support vhdx for main hard drive?

I think it would be better to have .vhdx for the main hard drive. I don't know but is there any trouble to support that? Or is there any options to go with vhdx?

Hi,
It would be quite a lot of work to support that and it is something that I won't be able to take on at the moment and don't really see much benefit. If you are really interested in doing this you could look here
How the script works is that it downloads the compressed imaged VHD from the coreos website. The script then decompresses it and makes a copy for every instance requested. It then expands the size of the VHD for each instance to make it more useable. The script then creates VHDX drives with the cloud-configs and attaches them to the instance also.
To convert to VHDX would require either to get a VHDX from coreos, or convert the VHD from coreos to VHDX.

Thanks @paulshir!


Newsletter 15

Feel free to suggest sections!
If you want to help writing the newsletter:

Read CONTRIBUTING.md.
Grab some of the "🆓 free" sections by leaving a comment like "I'd like to work on {section_name_1} and {section_name_2}".
Mentions in brackets (like "🆓 free (@ozkriff?)") are just an invitation to write the corresponding section if you want, but anyone is free to take it.
Write a short overview:

Use provided links as a starting point.
Try to maintain a consistent style with the rest of the newsletter and run markdownlint, please.
Insert line breaks (softbreak) at 80 chars, please.
DM me on Discord or Telegram if there're any questions.

Send a PR to the source branch (example: #75)

Mention this issue in your PR's description to link it all together.

The soft deadline for all section PRs is 2020.11.04.
Current structure/status (I'll try to keep this updated):

[ ] Game Updates

[x] Veloren (1) - ✔ done by @AngelOnFira in #341
[x] Crate Before Attack (1) - ✔ done by @koalefant in #350
[x] Egregoria (1) - ✔ done by @Uriopass in #328
[x] A/B Street (1) - ✔ done by @dabreegster in #336
[x] Worship The Sun (1, 2) - ✔ done by @tuzz in #325
[ ] Garden (1) - 🚧 WIP by @logicsoup
[x] Akigi (1) - ✔ done by @AngelOnFira in #342
[x] Sun Prison (1, 2) - ✔ done by @ropewalker in #344
[x] Camp Misty (1, 2) - ✔ done by @ReeCocho in #323
[x] Antorum (1, 2) - ✔ done by @Dooskington in #321
[x] Honor Sagas (1) - ✔ done by @ecton in #349
[x] YAWC - ✔ done by @junkmail22 in #346
[x] Power Kick (1, 2) - ✔ done by @kakoeimon in #327
[x] rymd (1) - ✔ done by @profan in #353
[x] pGLOWrpg (1) - ✔ done by @roalyr in #315
[x] Space Shooter - ✔ done by @tigleym & @cdsupina in #337
[x] Weegames (1, 2)- ✔ done by @yeahross0 in #338
[x] Canon Collision (1) - ✔ done by @rukai in #337
[ ] galaxy-sim.github.io (1, 2) - 🚧 WIP by @ozkriff
[ ] LudumDare 47 (1, 2, 3, more?) - 🚧 WIP by @ozkriff

[ ] Learning Material Updates

[x] nyxtom's articles (1, 2, 3) - ✔ done by @nyxtom in #329
[x] Creating a Snake Clone in Rust, with Bevy (1, 2) - ✔ done by @marcusbuffett in #330
[ ] Rust FFI: Microsoft Flight Simulator SDK (1, 2, 3) - 🚧 WIP by @ozkriff
[x] How to: Rust + SDL2 + OpenGL on the web (1) - ✔ done by @therocode in #326

[ ] Library & Tooling Updates

[x] rust-psp - ✔ done by @sajattack in #331
[x] skyline-rs (1) - ✔ done by @jam1garner in #352
[ ] shared-arena (1, 2) - 🆓 free (@sebastiencs?)
[x] glam - ✔ done by @bitshifter in #332
[ ] density-mesh (1, 2, 3) - 🆓 free (@PsichiX?)
[x] rapier (1, 2) - ✔ done by @sebcrozet in #354
[ ] physme (1, 2) - 🚧 WIP by @walterpie
[x] Mun - ✔ done by @Wodann in #319
[ ] building-blocks (1, 2, 3) -  🚧 WIP by @bonsairobo
[ ] rust-gpu v0.1 (1, 2, 3, 4, 5, 6) - 🚧 WIP by @AngelOnFira in #351
[x] gfx - ✔ done by @kvark in #322
[x] ggez - ✔ done by @icefoxen in #345
[x] miniquad/macroquad (1) - ✔ done by @not-fl3 in #348
[x] rg3d & hrtf (1) - ✔ done by @mrDIMAS in #339
[x] Bevy - ✔ done by @cart in #347
[x] tetra & ogmo3 (1) - ✔ done by @17cupsofcoffee in #333
[x] Wilds (1) - ✔ done by @zakarumych in in #340
[x] Arsenal (1) - ✔ done by @zicklag in #318
[ ] gbemu (1, 2) - 🆓 free (@BlueBlazin?)
[ ] fastnbt & fastanvil (1, 2) - 🆓 free (@owengage?)
[ ] mcproto (1) - 🚧 WIP by @Twister915
[x] Ajour (1, 2) - ✔ done by @casperstorm in #324
[x] Valve's Proton 5.13 / media-converter (1) - ✔ done by @PatrickHoward in #335

Final steps:

[ ] final review - by everyone
[ ] publish - by @ozkriff
[ ] post on /r/rust, /r/rust_gamedv, /r/gamedev, URLO, twitter.com/rust_gamedev - by @ozkriff
[ ] add comment links - by @ozkriff
[ ] add a draft of the 16 newsletter - by @ozkriff

Hey, as the creator of physme I'd love to write a short overview of what it's for and what it's not for and why I made it.

I'll happily write about Ajour. I'll get it done by tomorrow.

Will write about the October updates for my project Antorum Online.

@tigleym and I will write an update on space_shooter_rs.

I'd love to write about my game, The Honor Sagas. Thank you again for the invite.

Can we add a section for a rust-psp update? I got tetris running with it :smile:

I'd like to write a bit about my game Camp Misty. Thank you for the invite!

Game updates, pGLOWrpg #315

A made a new release of glam a couple of days ago with of few new features of note, I'd like to add a short note about that if possible :)

I'm happy to write a quick introduction for my puzzle-platform game.

I'll add my rust+SDL2+opengl+emscripten, cheers for the ping 👍

Hi, I'm here again and I'm planning to write another update for Project YAWC which actually includes contact info and links to pages.

I'll take on a section on Proton!

@ozkriff Akigi isn't on there under the game section, but I'll take it :smiley:

Hi, I’d like to write the Garden update.

I'd like to make an update for ggez, since I'm trying to get a new release done before the end of the year and want to drum up interest/contributions.  However, I'm also not sure whether this is too early, since I don't have a whole lot actually done for the update yet.  Anyone have thoughts or opinions?

Taking "galaxy-sim.github.io", "LudumDare 47", and "Rust FFI: Microsoft Flight Simulator SDK".

I'll take Rust GPU as it looks as it hasn't been picked up yet

I can do "Rust for Modding Smash Ultimate"

I'd like to nab a section for a game I'm working on being made with macroquad called "rymd", thanks! (@not-fl3 sent me here, hi)

I'll take the building-blocks section.

If it is not too late, I took the Dimforge section. Though to make the section more precise, I added a Rapier section instead of Dimforge. I hope this is OK.

Ping @walterpie @bonsairobo @Twister915 - how're your sections going? :)

Sorry for the quietness. I work all week and have no time for anything. I'll have it finished by today, in at most 7 hours

@ozkriff Sorry about the delay. Working on it now, should be done today. I just have to cut another release for building-blocks, write a quick release post, then I'll bundle it into the newsletter.

@walterpie @bonsairobo no worries, I'm struggling to find time for the newsletter myself :) Hope to finish it today though.

Taking "shared-arena", "gbemu",  and "fastnbt & fastanvil".

Taking "density-mesh" and "mcproto".

The final PR: #361 ("N15: Release") - everyone is invited to review!

https://rust-gamedev.github.io/posts/newsletter-015 :tada:
As always, huge thanks to all contributors and reviewers! :crab::crab::crab:


Added SKALE Network Testnet Endpoint

This PR adds the necessary changes so that the Truffle script works for deploying the contracts into the SKALE Network's TestNet SKALE Chain.
The SKALE Network's EVM is completely compatible with all Ethereum based tooling. To deploy solidity based smart contracts into the SKALE Network you will just need to switch the endpoint to point to SKALE. Since the SKALE Network is a multi-chain platform, each application receives its own dedicated SKALE Chain within the network that does not share TPS or storage with any other application running within SKALE. This ensures that dApps will never compete for resources on their SKALE Chain within the SKALE Network.
Transactions run on SKALE are gas-less; however, in order for a user to process transactions on your SKALE Chain, their wallet will need to contain a very small amount of SKALE Chain test ETH. This is to protect your SKALE Chain against DDoS attacks. Think of this step as giving users “permission” to use your SKALE Chain.
On testnet, you can either use the faucet to fund accounts with SKALE specific ETH which is a fast way to start testing, or you can use the SKALE Chains owner account to distribute SKALE specific ETH to the wallets that will be running transactions on your SKALE Chain. The faucet can be found below, and to get the SKALE Chain owner account credentials please reach out to the SKALE team directly.
Faucet: https://faucet.skale.network
You can find more information about the SKALE Network below:
SKALE Network: https://skale.network
Dev Documentation: https://skale.network/docs
Discord: http://http://skale.chat
2 Minute Explainer Video: https://www.youtube.com/watch?v=Anb0ZSruWlw

@uivlis lets merge this in soonish


feat: revert gas token naming

Question - I checked out this branch to deploy a testnet xERC20 and noticed that XERC20Deploy.sol has a hardcoded factory address. Are we not using the FactoryAddress.txt anymore?

@just-a-node No. We felt it was unnecessary complexity as 99% of the time protocols shouldn't change the factory address and only when a new factory is deployed it should be updated (probably by us or a fork) so we removed it.

@just-a-node No. We felt it was unnecessary complexity as 99% of the time protocols shouldn't change the factory address and only when a new factory is deployed it should be updated (probably by us or a fork) so we removed it.

Okay, that makes sense. Could we remove it then and also update the factory? The current one in XERC20Deploy.sol is a factory with the IS_GAS_TOKEN naming.

Good call @just-a-node . Updated! Thank you

Optimistically merging now so forks will use the original interface.


Add hover animations to the book list component

Adding hover effects to the card components on the booklist page will improve the UX of the page.

I want to work on this feature.
Please assign me task under GSSoC'23.

@abhinav-m22 will you be able to do this?

@abhinav-m22 will you be able to do this?

Yeah sure.. I've done similar work before.. I'll work on it!

@abhinav-m22 this part is done


Feature Request: Add multiple flatpaks in one entry

Hi! i would like to be able to install more than 1 flatpak per entry. Some applications require older/newer flatpak runtimes, as for example OBS_VKCapture - to work correctly with most flatpaks. Some refer to 22.08, some to 23.08, and it looks a bit messy when implemented as single entries.
an example implementation could look like this:
`packages:

VkCapture for OBS: [com.obsproject.Studio.Plugin.OBSVkCapture/x86_64/stable, org.freedesktop.Platform.VulkanLayer.OBSVkCapture/x86_64/23.08, org.freedesktop.Platform.VulkanLayer.OBSVkCapture/x86_64/22.08]`

I hope such an implementation could help other developers, too. they could make bundles of applications with this method aswell. Another Example:
`packages:

Gaming Utilities: [net.lutris.Lutris, com.heroicgameslauncher.hgl, com.usebottles.bottles]`

This will be resolved in the upcoming release. Some questions about user and system space if you wanted to chat.


chore: Remove private catalog testing TODO

Changes

Remove TODO for testing agains private catalog

Notes: this is how private catalog handles complex data structures

Thanks!


When formatting as a timeseries, convert to many instead of wide

Currently, when we need to convert frames into the timeseries format, we covert the long format (what we get from the queries) into a wide format with the data.LongToWide function. The problem with wide format, which we currently use, is that if labels (string fields) have unique values, it creates a new column for every value. This means, that for data with n points, we end up with a n x n sized frame after converting it. Instead, we should convert to the many format, which would create n separate size 1 data frames, taking up significantly less memory.
The main part of this is that we currently use the data.LongToWide function from grafana-plugin-sdk-go and there isn't an equivalent function for LongToMany. From what I understand, the two formats should behave the same, but we should test that.
Info about formats: https://grafana.com/developers/dataplane/timeseries
issue reported in https://github.com/grafana/support-escalations/issues/6904

Hello team, any updates on if this will be worked on? AMG customers are reaching out for a fix. Thank you

Bumping this again. Any updates?

Hello, we are currently working through support coverage with AWS. This is not in place yet, but once it is we will be able to take this on.

Hi @taleena ,
Do we have this fix worked on, customers are waiting for this issue to get fixed ?

Hi there, checking in on this issue to see if there is an update?

Hi! I'm looking into implementing a fix for this, but I want to understand the use case better. Are the labels distinct for every data point? In that case, what is the use case for formatting it as a time series? It wouldn't be able to graph it as actual time series, it would just appear as a bunch of separate points.

Closing as stale


Silk + cacheops not working

Env is Django 2.1.2 w/ uwsgi on Python 3.6 in the python alpine docker image. DB is MariaDB 10.3 in a different docker image.
Silk runs fine but if I enable cacheops I get the following error + traceback at /silk/ (cacheops works fine w/o silk)
FieldError at /silk/
Exception Type: | FieldError
Cannot compute Avg('num_queries'): 'num_queries' is an aggregate
/usr/local/lib/python3.6/site-packages/django/db/models/aggregates.py in resolve_expression, line 49

Environment:

Request Method: GET
Request URL: http://localhost:8000/silk/

Django Version: 2.1.2
Python Version: 3.6.6
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.humanize',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'countries',
 'cuser',
 'django_tables2',
 'mathfilters',
 'quartermixapp.apps.QuartermixappConfig',
 'silk',
 'qmlog',
 'cacheops',
 'django_celery_results']
Installed Middleware:
['silk.middleware.SilkyMiddleware',
 'django.middleware.security.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware']

Traceback:

File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
  34.             response = get_response(request)

File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  126.                 response = self.process_exception_by_middleware(e, request)

File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  124.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py" in view
  68.             return self.dispatch(request, *args, **kwargs)

File "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch
  88.         return handler(request, *args, **kwargs)

File "/usr/local/lib/python3.6/site-packages/django/utils/decorators.py" in _wrapper
  45.         return bound_method(*args, **kwargs)

File "/usr/local/lib/python3.6/site-packages/django/utils/decorators.py" in _wrapper
  45.         return bound_method(*args, **kwargs)

File "/usr/local/lib/python3.6/site-packages/silk/views/summary.py" in get
  78.         c = self._create_context(request)

File "/usr/local/lib/python3.6/site-packages/silk/views/summary.py" in _create_context
  59.         avg_overall_time = self._avg_num_queries(filters)

File "/usr/local/lib/python3.6/site-packages/silk/views/summary.py" in _avg_num_queries
  16.         queries__aggregate = models.Request.objects.filter(*filters).annotate(num_queries=Count('queries')).aggregate(num=Avg('num_queries'))

File "/usr/local/lib/python3.6/site-packages/cacheops/query.py" in aggregate
  312.             qs = self.clone().annotate(*args, **kwargs)

File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py" in annotate
  1008.                 clone.query.add_annotation(annotation, alias, is_summary=False)

File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py" in add_annotation
  988.                                                    summarize=is_summary)

File "/usr/local/lib/python3.6/site-packages/django/db/models/aggregates.py" in resolve_expression
  49.                     raise FieldError("Cannot compute %s('%s'): '%s' is an aggregate" % (c.name, name, name))

Exception Type: FieldError at /silk/
Exception Value: Cannot compute Avg('num_queries'): 'num_queries' is an aggregate

Also experiencing this. I commented out the "cacheops" in my INSTALLED_APPS as a temporary measure and silk now appears to work.


fatal error: gnu/stubs-soft.h: No such file or directory

I have an issue with OpenNI building on a Raspberry Pi Model B+, where the compiler thows this error and crashes:
fatal error: gnu/stubs-soft.h: No such file or directory

Fixed! I symlinked stubs-soft.h to stubs-hard.h with:
ln -s /usr/include/arm-linux-gnueabihf/gnu/stubs-soft.h /usr/include/arm-linux-gnueabihf/gnu/stubs-hard.h


Fix default-branch-button in "old design"

Follows #3221. Sorry for not testing with "Repository refresh" beta disabled :/
Thanks @yakov116 for catching this in https://github.com/sindresorhus/refined-github/pull/3214#issuecomment-645008022

Thanks again @yakov116, that may have caused a race condition. I've updated the code.
Also, I've fixed the dropdown position:
Before

After
"Repository refresh" beta enabled:

"Repository refresh" beta disabled:

Thanks @FloEdelmann and @yakov116
Please include the 3 pieces of information asked in the PR template when opening PRs


Redesigned WebView2 TOC (Feb. 2024)

I hope this PR ends up being closed-without-merging, and the orig. PR is used instead.
Rendered doc-set, to review TOC (/microsoft-edge/toc.yml):

https://review.learn.microsoft.com/microsoft-edge/webview2/?branch=pr-en-us-3047
Before/Live
Raw TOC listing / path to toc.yml, in "main" branch: https://github.com/MicrosoftDocs/edge-developer/blob/main/microsoft-edge/toc.yml - Find "webview2".

Previous version of redesign (PR Closed w/o Merging):

PR https://github.com/MicrosoftDocs/edge-developer/pull/2725
Check the notes at topmost comment of that PR.

If you view multiple rendered PRs at about the same time, such as Live & Prototype A & Prototype B, you must use separate browser windows, and watch the Address bar URL. Press Ctrl+F5 = Hard Refresh. Else you will see TOC from other PR or main/live branch. Extreme way: Edge > Settings > Privacy > Clear browsing data.
TOC design concepts:

Avoid TOC bucket names that are abstract, low-value, wildcards, and that obscure what's in them, a random guessing game.  eg: "Conceptual articles", "Fundamentals", "Advanced".  Beware a bucket name that lacks the key words that are in the titles of the articles.

Use TOC bucket names that contain specific technology key words, high-value, that match the key words of the titles of the articles that are in the bucket.  eg "Debug", "Best practices".  Bucket name should hint via key words, what article titles are contained in it.

Look for articles that have similar key words in title but are spread far apart in TOC - make them adjacent siblings.  Don't use a TOC bucket to convey "advanced"; convey "advanced" by putting article last in bucket.  Explicitly say Advanced in first paragraph of article; eg "Most WebView2 developers don't need to read this article."

Group articles by key word or technology topic, not by other, low-value attributes, such as level of importance, sequence of usage, or article type.  Users need articles grouped together primarily by technology topic, as the highest-value grouping.

Per Info Architecture team, avoid deep nesting.  Go for more articles per bucket.  Prefer flatter nesting.

AB#48878070

Use orig. PR instead:
PR 2725 (Redesigned WebView2 TOC) (July 2023)


Unable to view private directory or create private git repository

I'm getting similar errors to #15609, #14976, #13280, #12973 when trying to create a private git repository, or viewing my private directory:
ERROR Can't get TLF private key for key generation 1
Here are some log ids:
53ed36823e68c729058db71c
6f7e99b5fe4dfdc93670c51c
I also got the following error when trying to send logs, so I'm not sure they got through:
ERROR Error reading logs: Journalctl exited with an error: exit status 1
I'm guessing the fix is the same? Ie. please reset my private directory /keybase/private/savanto/. Here is the signed request as in the above issues:
BEGIN KEYBASE SALTPACK SIGNED MESSAGE. kXR7VktZdyH7rvq v5weRa0zkBDcSah K7pJ8zecn9fhoMr SaR601BhN4Kq0MV KVMfObGVB9w6CaF 6mzwQ4v8Vbz2T5t WZn54hLk75coO0B rPJDenE8FgPS5qc GuQITA7URfnJSw9 Sa0tAcGqsOMfsjS fCFLO7TXtY68QaF dIFX7MqSOSw3G4O GWykkrlPjND2N95 K25rIyiQm3DW3n2 Ez9NCBu2a6VzrAG vpwUfwKEu6BPF3M TrXFe8BgLM5jAOG FA7PSx6rEciW1I6 oTd0tbkm74NVzqO mVzVODbsTRKTcD6 ON6KXf8UvHbJwrB SESYEGdDynMcxm8 Kf32zAU5LWF4D5G 6Mmc0dn2Ofps8NA RY0ES7xMrhQNIfm . END KEYBASE SALTPACK SIGNED MESSAGE.

Or please let me know what other info I can get you. Thanks for your time!

I reset the folder.  Please check it out and close this if everything seems ok.  (Might require a Keybase restart.)

Unfortunately it looks like I'm still having the same problem.
$ run_keybase
...
$ ls /keybase/private/savanto/
ls: cannot open directory '/keybase/private/savanto/': Input/output error

$ keybase fs ls /keybase/private/savanto/
▶ ERROR Can't get TLF private key for key generation 1

$ keybase git create pass
▶ ERROR Can't get TLF private key for key generation 1

$ keybase git create repo
▶ ERROR Can't get TLF private key for key generation 1

I've tried logging out/in as well, with no effect.
I've resolved the issue with logs not sending properly, here's a new log id: 08f64f35bedafdef1c8e191c

Ah sorry @savanto, you need to do one more step on your end (not everyone needs it and I didn't notice you needed it before, sorry).  Try
keybase fs reset /keybase/private/savanto

@strib That did it. Thanks so much!


Refactor CSS to use CSS-in-JS season

Rabbit season

Failed Test
Failure Summary
Logs

Test$1ResourceNotFound

Logs ↗

Flaky Test
Failure Summary
Logs

---
---
---

[chromium] should display user profile information correctly.

Logs ↗

[chromium] should return list of users correctly.

Logs ↗

[chromium] should display error message for invalid login correctly.

Logs ↗

[chromium] should login with credentials correctly correctly.

Logs ↗

... and 2 more

View Full Report ↗ ⋅ Docs


Wrong table name generating on migration -m

Table name is not coming as Laravel standard when commanding to generate model with migration.
In my case when I am writing php artisan module:make-model ProductDetail -m Product
I am expecting to see the table name to be product_details, but its generating as productdetail which is not as laravel standard!

Hello,
Thank you for reporting the issue. This has been fixed and will be tagged later today.


Correction for raw affiliation Environmental Health and Biotechnology Research Group, Division of Pharmaceutical Chemistry, Faculty of Pharmacy, Institute for Environmental Biotechnology

Correction needed for raw affiliation Environmental Health and Biotechnology Research Group, Division of Pharmaceutical Chemistry, Faculty of Pharmacy, Institute for Environmental Biotechnology
raw_affiliation_name: Environmental Health and Biotechnology Research Group, Division of Pharmaceutical Chemistry, Faculty of Pharmacy, Institute for Environmental Biotechnology
new_rors:
previous_rors: 022m8c549
works_examples: W4225120357
contact: b6e659473509e4798fbb7a19d5528b88:43079e9817cfbaa98f649002be7dc0b3e869 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Move project to benderjs org

Since this plugin is nice, sexy and super mature, it's time to set it free 👋
In other words move it to benderjs organization.

The package moved on quite some time ago 💨, closing.


TabError in inversion.py

from bayes_drt.inversion import Inverter with python 3.9.16 throws
TabError: inconsistent use of tabs and spaces in indentation
cause is line 1642 of inversion.py.  The line is indented with tabs.  Other lines in the file are indented with spaces.

Thanks, this should be fixed by the latest commit.


Node 4 and 5 suppor

I see several tests failing on Node v4+. Anybody that would like to help?

I bumped most of the deps in package.json - however this still does not resolve those flacky tests. I suspect that the UDP sockets or the emitters fails sometimes.

Resolved, bump mocha. I'll send a PR soon

Done.


ItemsRepeater does not display items in order

Describe the bug

I have noticed that ItemsRepeater sometime does not order the items properly. On my PC I am able to reproduce it using following steps. I have created a sample repo
Steps to reproduce the bug

Steps to reproduce the behavior:

Open the app and make sure only two columns are displayed
Observe the order of items.
Maximise the app, the order of the displayed elements are changed.

Expected behavior

The order should not change
Screenshots

Before

After

Version Info

NuGet package version:
2.4.0-prerelease.200113001
Could also reproduce with 2.3.191211002
Before

After

Windows 10 version
Saw the problem?

Insider Build (xxxxx)
Yes

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop

Mobile

Xbox

Surface Hub

IoT

Additional context

@havinders, Unfortunately i won't get a chance to debug this further until early next week. I can give you an update once I understand the issue a little better. I appreciate your patience.

@havinders  If I change the data template to the following, the order looks correct when going full screen.

which gave me the impression that there is something wrong with the ViewModel's binding.
On looking closer, your StoryView should be implementing INotifyPropertyChanged and when ViewModel is changing, it should raise PropertyChanged like so.
public sealed partial class StoryView : UserControl, System.ComponentModel.INotifyPropertyChanged
{
private StoryViewModel viewModel;
public StoryViewModel ViewModel
{
get
{
return viewModel;
}
set
{
viewModel = value;
if (PropertyChanged != null)
{
PropertyChanged(this, new PropertyChangedEventArgs("ViewModel"));
}
}
}
Also, you need your binding in StoryView.xaml needs to be OneWay. The default is one time.
<TextBlock
Grid.Row="1"
x:Name="Title"
Text="{x:Bind ViewModel.Name, Mode=OneWay}"
After fixing these two issues, I see that on going full screen the order is correct. The bindings were not firing correct which gave the impression that the order was wrong. Can you make these changes and see if it affects https://github.com/microsoft/microsoft-ui-xaml/issues/1954 ?

Yes, this seems to work. I am going to spend some time understanding your logic here, I have never seen  PropertyChanged  raised for ViewModel from a View before. Is it because of recycling in ItemsRepeater. Would I have to do same changes if it was a GridView or ListView?
However this did not help with #1954.

The behavior should be the same for ListView/GridView. The problem is that ViewModel property gets assigned by the x:Bind on StoryView, however that does not trigger the binding in StoryView to re-evaluate because the property is not INPC. There is a mainpage.g.cs file that is generated by the markup compiler in the output folder where you can see the hookup (you can set breakpoints there to see if the ViewModel property is hit and when it gets updated)


Make ethernet::DesRing generic over the number of buffers

This allows users to decide how many transmit and receive buffers they wish to have the the ethernet::DesRing. Typically this allows a trade-off in performance vs memory usage.
The number of buffers need to be annotated on both ethernet::DesRing and ethernet::EthernetDMA. Requiring it on both is a slight usability downside. However this is small compared to the previous solution, which was making a local copy of the HAL in order to edit a constant value in src/ethernet/eth.rs.

bors r+

Also needed to update example ethernet-rtic-stm32h735g-dk
bors r+


Your system of indexing metadata is an antipattern

You system of creating indices for INDICES environment variable is both not enough flexible and over-complicated.
The reasonable way to store metadata is to use a composite PostgreSQL index of both name and value. For queries use JOINs.
Then no need to create a separate DB table field for each index and every index could be used for filtering/sorting.

@vporton
Hey VIctor,
First, thank you for taking the time to review everything. Appreciate you taking the time.
Second, agree it was an antipattern.
The intent was to achieve something like this: https://github.com/ArweaveTeam/gateway/issues/6
This will eventually be phased out don't worry.
Thank you for mentioning it (and the other issues).

Noting that indices should be refactored as part of: #61


guide link is broken?

Is transition guild been removed? all just the link is broken?
https://ui-router.github.io/guide/transitions
Thanks,

Guys, @christopherthielen, @mrngoitall, please look this up. The Transitions guide page is referenced all over the docs, and they're all broken. Getting documentation is a bit messy for ui-router right now.

Any ideas, @christopherthielen? I don't see the Transitions guide in the documentation repo, nor in its history, so I can't tell which file should be served for that route.


Need a sample to rollback a changeset

Cannot figure out how to rollback a changeset using Microsoft.TeamFoundation.SourceControl.WebApi. Or Microsoft.TeamFoundation.SourceControl.WebApi simply does not support changeset rollback? Attached sample code got "The specified change type Rollback is not supported." exception when calling CreateChangesetAsync.
Class1.zip

I need a sample for rollback and merge as well. When I try to use the Workspace.Rollback or Workspace.Merge methods, I always get a GetStatus that says NoActionNeeded = true and no files are checked out in the workspace!


Allow multi-line htmlbox

This pull request introduces 3 alerts when merging fc52b4a6c5643015a2649d128f2dcfb401f42247 into 9f5a727ad1dd89bea529d9aaf9843040774407a4 - view on LGTM.com
new alerts:

3 for Useless assignment to local variable

Comment posted by LGTM.com

The 3 useless assignments are because you should be using html instead of target in three of your changes.

Travis tests have failed
Hey @TheJetOU,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.
TravisBuddy Request Identifier: 4ac5f410-4ef2-11e9-af0a-1da2f5ed2a53


[FXServer] After relog again my console spams same error

Hello if a player joins for first time everything is ok. But after rejoin console gets spam with error and also he do not load his stuff like money, inventory. Everything stop working.
We use linux debian, mariadb, latest FXServer

System.NullReferenceException: Object reference not set to an instance of an object
at System.Threading.Tasks.TaskScheduler.TryExecuteTask (System.Threading.Tasks.Task task) [0x00000] in :0
at CitizenFX.Core.CitizenTaskScheduler.InvokeTryExecuteTask (System.Threading.Tasks.Task task) [0x00000] in /src/code/client/clrcore/CitizenTaskScheduler.cs:130
at CitizenFX.Core.CitizenTaskScheduler.Tick () [0x00029] in /src/code/client/clrcore/CitizenTaskScheduler.cs:107
at CitizenFX.Core.InternalManager.TriggerEvent (System.String eventName, System.Byte[] argsSerialized, System.String sourceString) [0x000ff] in /src/code/client/clrcore/InternalManager.cs:210

Error during Tick: System.NullReferenceException: Object reference not set to an instance of an object
at System.Threading.Tasks.TaskScheduler.TryExecuteTask (System.Threading.Tasks.Task task) [0x00000] in :0
at CitizenFX.Core.CitizenTaskScheduler.InvokeTryExecuteTask (System.Threading.Tasks.Task task) [0x00000] in /src/code/client/clrcore/CitizenTaskScheduler.cs:130
at CitizenFX.Core.CitizenTaskScheduler.Tick () [0x00029] in /src/code/client/clrcore/CitizenTaskScheduler.cs:107
at CitizenFX.Core.InternalManager.Tick () [0x00076] in /src/code/client/clrcore/InternalManager.cs:174

EDIT: I think this comes not from the vrp?

The FXServer version of vRP is not stable, so only time will let us know what is working or not on the long term.

I have same problem or just related @ImagicTheCat but I think is come from host when change of player's?
I see in my consol lot of error when the host change of player's...
May be is begging of solution?

Any improvement ?


[CLI] How to set schema for _sqlx_migrations table?

Hi there!
I'm wondering if it is possible to configure the schema that the _sqlx_migrations table is written to when invoking CLI commands.  It seems to be defaulting to our public schema, whereas we would like it to write to a migrations table at a different schema (not publicly accessible), perhaps one called sqlx

In reading through the source, it looks like _sqlx_migrations is hard coded into many of the sql queries so this might be a bit of a lift to implement

Another use case: Sharing a single Postgres instance between multiple apps. Each app gets a Postgres role and schema assigned to it, and gets to manage its own migrations inside that.

For anyhow who still has this problem, I stumbled across the same when I now just started a new project with postgres 15, which changed the default behavior for the public schema.
I found a way how sqlx creates the migrations table inside my new custom schema and the solution was pretty easy in the end. The key was to have a user with the exact same name as the DB / schema. This way, the new schema was prioritized for all queries because of the $user search path, which comes before public.
To set it up:
create user your_schema_name
    with password 'SuperSecure1337';

create database your_schema_name
    with owner your_schema_name;

create schema your_schema_name authorization your_schema_name;

When I then run sqlx migrate run with this user / DB, the migrations table will not be created in public but in the custom schema instead.
I hope this helps some of you until we maybe have another custom way to specify the target location.

hello I have a multitenant db usecase that's nicely described:

in this amazon whitepaper as "bridge partitioning model"
in this notion blogpost as "logical sharding"

So my usecase is:

as a sqlx user in multitenant db that's using logical sharding, I'd like to apply same sqlx migrations separately for each tenant

interface proposal
I think for such use case it would be beneficial to keep _sqlx_migrations in each tenant schema.
from CLI perspective it could look like:
sqlx migrate run --schema tenant_a
sqlx migrate run --schema tenant_b

Right now I'm having to use "DBMate" instead of sqlx-migrate simply because it does allow us to tell the migration tool to have a custom table name for the migrations schema tracking.  We have multiple apps forced to use the same PostgreSQL database and this is the only way to do it cleanly right now.
Would love to have support in sqlx-migrate for custom table name.

After much deliberation, rather than switching ORMs or bending our architecture to fit the constraints of our existing tools, I decided to write a custom migration script. This decision wasn't made lightly. It meant stepping away from the safety net of widely-used tools and investing time in developing and maintaining a bespoke solution. Yet, the benefits quickly became apparent.
use crate::db::conn::create_db_pool;
use std::fs;

pub async fn migrate() -> Result<(), sqlx::Error> {
    dotenv::dotenv().ok();
    let db_pool = create_db_pool().await.expect("Failed to create database pool.");
        let migrations_dir = "./migrations";
        let entries = fs::read_dir(migrations_dir).unwrap();
        for entry in entries {
            let entry = entry.unwrap();
            let path = entry.path();
            if path.is_file() && path.extension().and_then(std::ffi::OsStr::to_str) == Some("sql") {
                let sql = fs::read_to_string(path).unwrap();
                let result = sqlx::query(&sql).execute(&db_pool).await;
                match result {
                    Ok(_) => println!("Migration executed successfully for {:?}", entry.path()),
                    Err(e) => println!("Ignoring error for {:?}: {}", entry.path(), e),
                }
            }
        }
    Ok(())
}

After much deliberation, rather than switching ORMs or bending our architecture to fit the constraints of our existing tools, I decided to write a custom migration script.

Funnily enough, I did the same thing! I tried sqlx migrate but it wasn't flexible enough to handle coexisting with existing databases and namespace/schemas. Then I tried DBmate, but I had deployment issues when trying to run it on very old Linux distros, (some missing glibc symbols or other system libraries).
So we implemented custom migrations, in this case the migrations were written in Rust, and we keep our own "migrations" table to keep track of which were applied. It's really straightforward and much more lightweight.
At some point, if sqlx makes its migration support more flexible (must support optionally defining a Postgres schema to create tables in, and also must be able to change the name of the _sqlx_migrations table for cases where multiple applications must share a schema).  Perhaps this is an uncommon case, but we have run into situations where the DB server requires this.

If you are going to create you own script like like @themondays, why not use the built in migrate::Migrator functionality?  Documentation also exists for setting search_path using after_connect.
Putting it all together...
use std::path::Path;

use anyhow::{Context, Result as AnyhowResult};
use sqlx::{migrate::Migrator, postgres::PgPoolOptions, Executor};

#[tokio::main]
async fn main() -> AnyhowResult<()> {
    dotenvy::dotenv().ok();
    let database_url = std::env::var("DATABASE_URL").unwrap();
    let postgres_pool = PgPoolOptions::new()
        .max_connections(1)
        .after_connect(|conn, _meta| {
            Box::pin(async move {
                conn.execute("SET search_path = 'my_schema';").await?;
                Ok(())
            })
        })
        .connect(&database_url)
        .await
        .with_context(|| "Could not connect to PostgreSQL!")?;

    let migrator = Migrator::new(Path::new("./migrations"))
        .await
        .with_context(|| "Could not create Migrator!")?;
    migrator
        .run(&postgres_pool)
        .await
        .with_context(|| "Could not run migration!")?;
    Ok(())
}

Added advantage here is that the _sqlx_migrations table is creted in your schema.

If you are going to create you own script like like @themondays, why not use the built in migrate::Migrator functionality? Documentation also exists for setting search_path using after_connect.

That's a cleaner way to handle setting the schema, compared to the kludges I tried. However, it doesn't support multiple applications sharing a schema since there's no way to change the migrations table name from _sqlx_migrations.
In my experience, though it's not ideal, it is sometimes required to share a schema/namespace among multiple microservices due to existing devops processes and production configuration. Implementing my own migration process allows flexibility to use a different table name to enable this.
I suppose it would be a simple enough PR to make the migrations table name configurable however, so maybe at some point I'll try to implement this in sqlx myself.


"Play offline" option

I don't know if it is technically possible, but it would be nice to have an option "Play offline" which would download every single solitaire, and as long as you won't clear cache (or whatever it is you store the game data in) you should be able to basically play offline.
Such an option would work very nicely with the "Add to Home Screen" button on iOS.

I actually built an app for both Android and iOS, but keeping them up to date was a hassle, and it's impossible to get up in the store rankings without a marketing budget.
https://itunes.apple.com/is/app/solitaire.gg/id1056989640?mt=8
https://play.google.com/store/apps/details?id=gg.solitaire&hl=en

Oh, I didn't know about Android and iOS apps. Well, you can always bring them back when you will such a need. BTW, I've learned that solitaire.gg exists here: http://alternativeto.net/software/solitaire-gg/
Yeah, but I actually meant offline mode directly in a browser and not separate apps. If it is not possible, mark the issue as "wontfix", please.

Once I restore the desktop and mobile apps, they will suffice for pure offline mode. The web version will still need a connection to initially load, but you'll be able to use the full functionality even if your connection is broken (thanks, Scala.js).

Any ETA for the offline client for Windows?
My Mom and Dad are running on Windows and since windows updated to require logins and subscription to play their solitair etc. I was looking for something else for them.
I am no coder and I have been trying to see how to build solitaire.gg for electron for them but I have not been successful.
Do you have some instructions on how to do this ? I and my parents would appreciate it.

@lhaig Kyle is currently in the process of adding many new features to solitaire.gg (you may find the current beta version at http://beta.solitaire.gg), so I guess offline versions will come some time after he finishes that task. If you have any suggestions for improving solitaire.gg, you're welcome to create new issue tickets.
In the meantime, if you really need a good offline solitaire collection check out PySolFC. You can use the built-in Windows Magnifier to make everything larger for your parents.

Yep, I'm restoring the apps and desktop builds tonight. I had removed them since no one ever used them, but there's apparently a demand, so I'll package them up as soon as I can.

Guys thanks for this.
I do appreciate response.
Kyle if i need to buy a license for this I will.
My mom has dementia and so finding something she can play is difficult as she remembers xp only at the moment.
Thanks for doing this.


Cant remove "incompatible Plugin" from creative cloud list ....

After restarting the laptop various times it started to work


Add User Logout Endpoint

https://github.com/ariesprayoga/swagger-java-sample-app/blob/master/src/main/java/com/wordnik/swagger/sample/resource/UserResource.java

depends on #49


NetMHCpan-2.8 fixes

Grouping input peptides by length
Adding a stderr check so we propagate an error message if it exists

Coverage increased (+0.03%) to 90.608% when pulling c160c4571aff7c77664e1a8ff127e5e5302f6cfd on netmhcpan-28-fix-diff-lengths into 5e33997b8aa42bd8ed80eb61e62e0d4486c38b83 on master.

Coverage increased (+0.03%) to 90.608% when pulling c160c4571aff7c77664e1a8ff127e5e5302f6cfd on netmhcpan-28-fix-diff-lengths into 5e33997b8aa42bd8ed80eb61e62e0d4486c38b83 on master.

Coverage increased (+0.03%) to 90.608% when pulling d08f616257c4b433dffa3a6ed5b54d9464c51b1b on netmhcpan-28-fix-diff-lengths into 5e33997b8aa42bd8ed80eb61e62e0d4486c38b83 on master.

Coverage increased (+0.03%) to 90.608% when pulling d08f616257c4b433dffa3a6ed5b54d9464c51b1b on netmhcpan-28-fix-diff-lengths into 5e33997b8aa42bd8ed80eb61e62e0d4486c38b83 on master.


[FR] Allow for  adding an  end date (or number of repetition) when creating an  interval-based journal

Someone might want a journal that spans only specific period in a year (for example study semester) or have specific number of repetion (similar way like repeated events are created in google calendar)

Currently journal-start-date mean something else - in the 1.2 journal-start-date or journal-end-date mean more like this specific note note-start-date or entry-start-date;
What I meant by  journal start date is current journal-end-date or start date of first entry, by journal-end-date I mean end date of last entry in this journal

Released in 1.3.0


Fix sources in RetrievalQAWithSourcesChain

Description: Fix sources in RetrievalQAWithSourcesChain
Issue: #10575 #11387 #9774
Twitter handle: Syed_Mujeeb_H

I was facing issues with sources like it was not coming in chain response
Then I noticed this PR and tested it worked fine for me
So, I like to submit the PR

Description: Fix sources in RetrievalQAWithSourcesChain
Issue: The RetrievalQAWithSourcesChain doesn't return SOURCES. #10575 Sources are not returned in RetrievalQAWithSourcesChain #11387 The RetrievalQAWithSourcesChain with the ExamplePrompt doesn't always return SOURCES as part of it's answers. #9774
Twitter handle: Syed_Mujeeb_H

I was facing issues with sources like it was not coming in chain response
Then I noticed this PR and tested it worked fine for me
So, I like to submit the PR

I'm hoping my original PR containing this fix can be merged, but it has been open since Sept 25 and is now in conflict with the base branch.  Not sure if there's something I can do to expedite this.


Links to a user's observations should show all of their observations

From https://forum.inaturalist.org/t/users-observations-link-missing-verifiable-any-and-place-any/16648
We recently changed links to a user's observations on various parts of the site (profile page, sub-heading navigator, user curation page, etc). They used to link to the edit observations page and now link to Explore. However, on Explore it only shows the user's verifiable observations. I know I usually want to see someone's entire set of observations because a) i'm often determining how many casual observations they have, and others on the forum have agreed. Also, it's a bit odd and possibly confusing to see that someone has 27,300 observations (eg on their profile), click on that link, then see that number turn to 26,187.
Therefore I think those links include the verifiable=any and place=any(if the latter is necessary?) so that we show someone's entire set of observations.

I can update these links.
Quick question though @tiwane, do you think this (verifiable=any and place=any) should just be the default result set for observations? We could just change the behavior so no additional parameters in the url are needed. If not, and we only want to update a few links, which specific links should this apply to?
Thanks!

Oh man, sorry for the late reply!
These links: https://www.inaturalist.org/people/28 and https://www.inaturalist.org/admin/users/28

And this one, at https://www.inaturalist.org/home

No worries @tiwane, should be all set!

Thanks @todtb!

Just noticed another one, header search View observaitons for users should also have place=any&verfiable=any:

https://www.inaturalist.org/observations?user_id=zeet
should be https://www.inaturalist.org/observations?user_id=zeet&place_id=any&verifiable=any

Just noticed another one, header search View observaitons for users should also have place=any&verfiable=any:

https://www.inaturalist.org/observations?user_id=zeet
should be https://www.inaturalist.org/observations?user_id=zeet&place_id=any&verifiable=any

@boucur, @tiwane,
Here's a PR to make the change in the universal autocomplete. https://github.com/inaturalist/inaturalist/pull/2906

@boucur, @tiwane,
Here's a PR to make the change in the universal autocomplete. https://github.com/inaturalist/inaturalist/pull/2906


Refactor cdesession code

This pr includes the following:

Formatting to confirm to pep8 standards
Properly randomize the job name
Introduce time out while polling job status so as not to be a resource hog.
Refactor method names to make them have uniform style(snake case) and cleanup redundant sleeps
Introduced method to show spark events from logs if necessary(currently disabled as fetching logs adds to latency)

Testing:

Tested by performing a dbt seed and run on covid data. To follow the logs you can do a grep on jobname to see what queries have failed/passed, their outputs and the stages any particular job run goes through.
dbt seed has some sql queries that is expected to fail on execution and is now surfaced through logs.
dbt test was performed with spark events logging enabled.
dbt.log
dbt-seed.log
dbt-test.log

Putting this pr to draft mode and splitting this for easier review.


fix(jsii): out-of-source builds are broken

When configuring tsc.outDir, the jsii compiler would not look for the
correct source file and captured no types from the module. This
commit fixes this problem by reversing the types attribute in order
to resolve back to the corresponding source file.
Fixes #1273

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: a91b191bc7fb938ea156467f79c7539192c42198
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: 0eec9397fdca255db7ff2f680a9c52e9e5fa9b2e
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: 7ba5b533813705054ebaf6034f5fc318e5f6150b
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Update README.md

Set the language in the code blocks to allow for GitHub's syntax highlighting, which is nicer on the eye.

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:

Just a side question if you don't mind: How does it compare to packages like ModelParameters.jl or SciMLStructures.jl?

Sure, thanks for asking! My package allows for imposing constraints on
vector-valued parameters, such as having the first element always
normalized to zero or one, having all elements add up to one, or being
ordered (which also works for matrix-valued parameters). Besides, it
enforces that constraints/normalizations imposed on parameter names are
shared across all structs with fields with the same name. Whether that's
desired or not depends on the application---it's useful for my models.
To be honest, I did not know about these other packages before, but I do
not think they do what I mentioned above. I am not sure they handle
vector-valued or matrix-valued parameters at all.
Daniel Haanwinckel
+1<PHONE_NUMBER>
On Thu, Nov 21, 2024 at 11:08 PM Benoît Pasquier @.***>
wrote:

Just a side question if you don't mind: How does it compare to packages
like ModelParameters.jl https://github.com/rafaqz/ModelParameters.jl or
SciMLStructures.jl https://github.com/SciML/SciMLStructures.jl?
—
Reply to this email directly, view it on GitHub
https://github.com/haanwinckel/ModelObjectTools.jl/pull/2#issuecomment-2493019435,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGI532SFAXPDZBOA3DUSGCT2B3J6NAVCNFSM6AAAAABSIU26NSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJTGAYTSNBTGU
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

I think ModelParameters doesn't handle arrays but it does have all kinds of similar traits, while SciMLStructures can handle arrays (and nested parameters) but doesn't have the other features, although I may be wrong (these aren't my packages).


Updating dependencies sync

To keep in sync with main branch https://github.com/klarna/HiveRunner/pull/151

Fixes #145


Can I write data from remote machine?

Hi~
I have a question:
Can I write my data to the delta lake with a ip and port from a remote machine?
I want to upload data from local machine to delta lake in server machine. Can I do it?

A delta lake table is just a set of files on the file system. There is no server machine. Do you mean you want to write a server that can accept data from a client and write the data to a Delta lake table?

Yes

12:02，Shixiong Zhu @.***> ：

A delta lake table is just a set of files on the file system. There is no server machine. Do you mean you want to write a server that can accept data from a client and write the data to a Delta lake table?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Delta Lake is a storage format. We don't provide any service right now.

Can we store image data in it?
I have not found this in doc.

13:03，Shixiong Zhu @.***> ：

Delta Lake is a storage format. We don't provide any service right now.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

There is an example to store images in https://github.com/delta-io/delta/blob/master/examples/python/image_storage.py

Thank you very much.

2022年7月13日 13:14，Shixiong Zhu @.***> 写道：
There is an example to store images in https://github.com/delta-io/delta/blob/master/examples/python/image_storage.py https://github.com/delta-io/delta/blob/master/examples/python/image_storage.py
—
Reply to this email directly, view it on GitHub https://github.com/delta-io/delta/issues/1196#issuecomment-1182774791, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATFJUYBBVCQEVMHODKADZULVTZGCLANCNFSM5YTDNZCA.
You are receiving this because you authored the thread.

Hi~
When I find this issue, I think you may run this benchmark on server machine but not on S3.
Can this benchmark run on local server machine?
Thanks.