TaskScheduler conflicts with ArduinoOTA on ESP32

I tried the library on an ESP8266 and it worked perfectly.
When I tried to migrate my program to an ESP32 it crashed with the following error:
assert failed: tcpip_send_msg_wait_sem IDF/components/lwip/lwip/src/api/tcpip.c:455 (Invalid mbox)
It took me some time to pinpoint the problem and it seems to somehow conflict  with the ArduinoOTA library.
When I commented out the OTA lines the problem was gone.
The exact same program runs perfectly on an ESP8266.
#include <TaskScheduler.h>
#include <ArduinoOTA.h>

uint16_t counter = 0;

Scheduler runner;
void t1Callback();

Task t1(1000, TASK_FOREVER, &t1Callback);

void t1Callback() {
    Serial.println(++counter);
}

void setup() {
    ArduinoOTA.setHostname("deadmeat");
    ArduinoOTA.begin();
    Serial.begin(115200);

    runner.init();
    runner.addTask(t1);

    t1.enable();
}

void loop() {
    ArduinoOTA.handle();
    runner.execute();
}

I might have found the problem and will take the issue offline for the moment.

Ok found it.
I migrated my own IOT helper library from the Ticker lib to TaskScheduler and must have overlooked a line where I call a setupWifi function before the setupOTA one.
I thought I did the same thing with an enabled task but that one get's called the first time when runner.execute runs.
All good now 😅

I also recommend moving everything else for the loop to Tasks.
So ArduinoOTA.handle(); runs on a more reasonable schedule.

Yep and thanks for the great library!


ruffle: nightly-2024-05-01 -> nightly-2024-09-12

Description of changes
A lot of updates for Ruffle. I had been holding off waiting for Rust to update in Nixpkgs, but was reminded by the publication of a new blog post discussing improvements in Ruffle lately:
https://ruffle.rs/blog/2024/09/12/optimisations-text-more
The main spotlights since last nightly in Nixpkgs is that there is great improvements to text selection and tab focus, along with a lot of compatibility improvements and performance optimizations.
Another bit of good news is that there will be a stable release soon. Hopefully stable releases of Ruffle will make it easier for Nixpkgs to track.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4573


Pickadate makes the screen scroll to the top on default Android browser and it doesn't come back after selecting the date

Tested on a Samsung Galaxy S2 with Android 4.1.1
Tested also on pickadate website (examples and demos).
I open the picker and the page scrolls to top. Once I select a date, the picker closes but the scroll remains at the top of the page and the user loses the focus of the application form.
It works on newer versions of Android and in other browsers (such as Chrome).
Thanks in advance.

Facing the same issue on desktop browser as well.

The problem continues. Any idea?

This seems due to setting "overflow: hidden" on the html tag when the Picker opens.
// Prevent the page from scrolling.
if ( IS_DEFAULT_THEME ) {
    $html.
        css( 'overflow', 'hidden' ).
        css( 'padding-right', '+=' + getScrollbarWidth() )
}

I've replaced $html with $('body') which still prevents the page from scrolling, but will stop the page from scrolling to the top when the picker opens.

wait for the answer.

@mortentrojborg Thanks nice fix, this worked for me on pickadate.js v3.5.0


Working codegen

You might want to discuss make files and stuff as the directory structure here is one I prefer for code gen. specifically.
@Skippy404

I will update the Makefile later for codegen


Gym notebook

Notebook presenting how to define a gym environment based domain and solve it with scikit-decide.

Still missing some explanation about  algorithms used to solve the problem and about the problem itself. Help for that would be greatly appreciated !

I introduced IW solver as suggested by  @fteicht , but it seems not working even though i tried to reproduced what was done in full_multisolve.py

This notebook needs ffmpeg to work as an additional dependency. It already exists on colab and i added it on binder but i can only state at the beginning of the notebook that local jupyter users need to install it as it is platform dependent.

Here are the link to test it on colab and binder:

binder:
colab: [

@nhuet binder seems to be super slow. I have tried against your link above, il has run for 5mn closing with this error:
Found built image, launching...
Launching server...
Failed to connect to event stream

Any idea what could be the problem ?

@nhuet can you briefly describe the issue with IW?

@nhuet binder seems to be super slow. I have tried against your link above, il has run for 5mn closing with this error:
Found built image, launching...
Launching server...
Failed to connect to event stream

Any idea what could be the problem ?

It can happen sometimes, have you  tried to relaunch?

@neo-alex and @fteicht : i inserted your explanations texts. So the notebook is ready for a first review. Some texts are probably still missing (i put some placeholder to show where)

@neo-alex : more importantly, i included a text telling that PPO is doing well in this context but actually with its current settings, this is the only solver that does not work ! (even though it is a RL one) i have total_timesteps=50000, what else can i tune to make it work? (all of this is random and i did not fix the seed for now, but PPO was never working during my tests,while  CGP and IW were always working)

NB: using our own rollout avoid having to use monitor and ffmpeg, and fix display issue with IW. Actually we are back to a "real time " rendering, no more movie prepared before seeing something. But this is not so smooth on binder (compared to local jupyter session). Still working though

CGP is not working better than PPO on my binder instance! So big warning here. It seems that sometimes it does not work (how much time? Were I unlucky? But if it happens, we have to warn the reader at least.)

Indeed! Also for me with binder oops. By doubling the n_it it seems to work though and i added a warning as suggested. (on my laptop it never failed me, strange...)

Actually, it depends on episodes. So perhaps it is better to launch several episodes, instead of increasing the number of iterations during solve.


[1.20.1] Copy/Paste Gadgets Crash

I am currently playing my modpack "Mining with friends" and have included your mod. Firstly, thank you for this great mod :)
I tried a little bit today and unfortunately the game always crashes me as soon as I want to paste a copied structure on a piece of paper in the template. At first, I thought that structures from old versions no longer work, but the same problem also exists with structures copied in 1.20.1.
Here the Crashlog: https://pastebin.com/jm7Zwfd5
Forge: 47.1.3
Building Gadget 2: 0.1.1

Can you let me know what’s happening in the template manager when this crash happens ? Is there an item in the top and bottom slot and can you post the paste you’re trying to put in?

I have found my issue. Apparently only old code does not work, and I had overlooked that the new code was not even in my "paste" in the second attempt. New structures (1.20.1) can be pasted. I apologize for the misinformation.
I guess the old templates don't work. That would be my old code:
https://pastebin.com/WRMDHrGG

It’s definitely on my list to support old pastes :) and I should still prevent crashes with the old paste data either way.
Can you put the old paste data here so I can test with it ?

I don't know why, but Pastebin seems to have just removed the code again -.-
I hope my Github link to the code fits as well: https://github.com/lays24mc/Building-Gadget-Codes/blob/main/Codes/oak_tree_1.json

Thanks! I’ll get working on it shortly :)

Is this your card? :)

Exactly. Thanks a lot :)


Cobra Issue: Invalid shape of input frame

Have you checked the docs and existing issues?

[X] I have read all of the relevant Picovoice Cobra docs
[X] I have searched the existing issues for Cobra

SDK
Node.js
Cobra package version
2.0.2
Framework version
Node v18.12.1
Platform
Linux (x86_64)
OS/Browser version
20.04.1
Describe the bug
Hi, I am trying pico voice for Voice acitvity detection, I have tested on web and its looking good to me, so I am trying to implement this using node.js.
I am explaining what I am trying to implement, I am connected with web socket and I am getting multiple events of media and voice I am getting in base64 format, so I am converting to 16k and in pcm format as per documentation, Also as per documentation I can only pass framelength of 512 nor less nor more, need to pass exact 512, but in my case my voice base64 when converted to pcm its having length of 320, so I have written a logic to keep on adding the pcm data into INT16Array and taking chunk of 0 to 512, 512 to 1024 and so on, but when I run the code its working for first chunk I am getting voice as "0.002424914389848709", but when processing second chunk I am getting this error "Error: Invalid shape of input frame".
I am not sure what wrong going on may be the format in which I am passing is not expected by cobra.process, I am thinking that I have taken the chunk from 0 to 512, so I have store chunk of 320, 320 which accumulated become 640, so I have taken 0 to 512 from it so remaining is 128, now that 128 and next chunk is getting processed and I think its making a problem, but ideally it should not be the case.
Can you please help me out or provide some solution, also it is possible to change the cobra Frame Length ?
Steps To Reproduce
I am adding my code for the reference.
`for (
let i = base64InPCMIndex;
base64InPCM.length - i - cobraFrameLength > 0;
i += cobraFrameLength
) {
SpeechBack[uniqueId].base64InPCMIndex =
i + cobraFrameLength;
const chunk = base64InPCM.subarray(
i,
i + cobraFrameLength
);
const isVoice = cobra.process(chunk);
console.log('isVoice', isVoice);
console.log(
isVoice ? 'Voice detected' : 'No voice'
);
}`
Expected Behavior
Ideally every chunk should get process, and this error should not come
Error: Invalid shape of input frame

There is no way of changing cobra's frame length. Seems like you pass 128 the second time but you should pass a length of 512 exactly every time, you should modify any other part of the code to handle this.

Hi,
I wanted to provide an update on the issue I previously reported. It turns out the problem was not related to the chunk size as I initially thought. Instead, it was an issue with the reference of the chunk being passed to the cobra.process() method.
I was using the following code to create the chunk:
const chunk = base64InPCM.subarray(i, i + cobraFrameLength);
The subarray method returns a view of the original array, not a new array reference. This caused the reference to be updated by cobra.process(), leading to the issue I was experiencing.
The solution was to use the slice method instead, which creates a new array reference:
const chunk = base64InPCM.slice(i, i + cobraFrameLength);
By passing a new array reference to cobra.process(), the issue was resolved.
I hope this helps anyone facing a similar problem.


Correct tagline background and text colors.

The background colors were not being set correctly due to a breaking change here: https://github.com/jwade1327/pmmi-media-group-newsletters/commit/1ebfc22378e2e996869b45dc1356680daf7b7771 that was looking for secondaryBackgroundColor to be set on all newsletter configurations which it currently is not.
The change in this PR will fallback to the previously used behavior of passing the secondaryBackground color as an input to the header and additionally adding an input parameter for taglineTextColor which will allow the alteration of the tagline text color.

 Rename/Migrate Continuous Processing NL to Process Automation


Clean up subscribes internals and notification storage.

John K and I are 99% sure those branches have never been used outside of
unit tests. Fingers crossed!

yeah i believe i've stumbled across this before 👍

@lamont-granquist Changed enough to warrant re-review if you want :) Let's see if the tests pass now.

ah i think i see, extends a string with #resource_key basically so it quacks more like a resource.
i think that's probably fine, and we can extend as necessary.


OpenLineage Not Substituting Jinja Template

OpenLineage is not replacing jinja template names with their correct values at the right time. See screenshot below, the insert query references {{ params.table_name }} instead of the actual table name.

Should be fixed in #870


feat(docs): auto-generate interfaces, types, enums, etc...

With this PR, we have the ability to import the actual definition of types, interfaces and enums into documentation. To do so, I've introduced a comment syntax that is similar to TypeScripts imports:
<!-- #import Firmware from "zwave-js" -->

will be converted to
<!-- #import Firmware from "zwave-js" -->

```ts
interface Firmware {
    data: Buffer;
    firmwareTarget?: number;
}
```

for example. There are a few kinks to work out, but the basic functionality is there.
Next steps:

[x] review the generated files if we like the changes
[x] add the option to remove comments (e.g. if we have better comments in the docs)
[ ] use this in a github action that checks if the docs can be built
[ ] use this action to detect changes and create a PR if changes are detected

I never used ts-morph so cannot say much about the docs generation methods

It is basically a tool to manipulate the abstract syntax tree (AST) of TypeScript. I just found it today, but it nicely abstracts away the somewhat cumbersome methods the TS API has to offer.
A good example is the one-liner toggleModifiers instead of my (incomplete) updateModifiers implementation in this commit:
https://github.com/zwave-js/node-zwave-js/pull/1148/commits/c33549169aa27603e2c7876a7f5e5aff1f499be6#


AOS library does not work on Microsoft Edge

AOS library does not work on Microsoft Edge
Elements with data-aos just remain invisible.

Have you checked in others browsers, like Chrome, Opera and Firefox if Is It working?

I can confirm this. In Chrome and FF AOS working, but in Edge after refresh page by clicking F5, AOS-elements wasn't animated more.

I have the same problem. It doesn't work at all on the edge, I tested it on other browsers and it's working.

Have you checked in others browsers, like Chrome, Opera and Firefox if Is It working?

Yes, it is working

Well, I tested in microsoft Edge 89.0.774.57 (official build) (64 bit) (the new edge, based on chromium) and it is working like a charm.
What version did you test?

and any solutions? I retested it in microsoft Edge 115.0.1901.203 (official build) (64-Bit) again, but it is still not working.
Please, let me know if you have any solutions for this issue. Thanks!


Mistake in the package description ?

let collection = new Mongo.Collection('foo');
let observable = new MongoObservable.Collection(collection);
collection.applySchema(...); // with SimpleSchema package

So far it's
collection.attachSchema(...); // with SimpleSchema package

yes, thx


FileNotFoundError: [Errno 2] No such file or directory: '/data/ncc_data/codesearchnet/raw/code.json'

Hello，dear author，I'm a chinese students in WuHan.
I'm sorry I am confused about it.I can not use geogle drive. So I download it by myself.Could you tell me how to use geogle drive in Lab...oh my god.
And I excute python -m dataset.python_wan.attributes_cast it tell me error as up.
It said FileNotFoundError: [Errno 2] No such file or directory: '/data/ncc_data/codesearchnet/raw/code.json'.How can I run it? Please help me thank you.

open the link (https://github.com/CGCL-codes/naturalcc/blob/a7561505375ca298d9d5578586240bed27a9a674/ncc_dataset/python_wan/download.sh#L10),
download it with your explorer and unzip and move it to /data/ncc_data/codesearchnet/raw/

open the link (https://github.com/CGCL-codes/naturalcc/blob/a7561505375ca298d9d5578586240bed27a9a674/ncc_dataset/python_wan/download.sh#L10
),
download it with your explorer and unzip and move it to /data/ncc_data/codesearchnet/raw/
Thank you for your fast and efficiency reply，however here is another strange problem.You see here said FileNotFoundError: [Errno 2] No such file or directory: '/data/ncc_data/codesearchnet/raw/valid/code.original' does the vaild hais been spelled wrong？I has the “vaild” dir

open the link (https://github.com/CGCL-codes/naturalcc/blob/a7561505375ca298d9d5578586240bed27a9a674/ncc_dataset/python_wan/download.sh#L10
),
download it with your explorer and unzip and move it to /data/ncc_data/codesearchnet/raw/

Sorry and I see another problem and it seem in pre issue.Has it been done now?
ModuleNotFoundError: No module named 'dataset.augmented_javascript'

open the link (https://github.com/CGCL-codes/naturalcc/blob/a7561505375ca298d9d5578586240bed27a9a674/ncc_dataset/python_wan/download.sh#L10
),
download it with your explorer and unzip and move it to /data/ncc_data/codesearchnet/raw/

Hello，I have solve the problems before,but how could I solve it?It seems a os Errors and the ncc_data dir is dispute?Could I config it?
OSError: Model file not found: /data/ncc_data/ncc_data/python_wan/summarization/data-mmap/transformer/checkpoints/checkpoint_best.pt

This OSError is caused by the NaturalCC cannot find your trained model file (checkpoint_best.pt) for evaluation or inference.
All shell scripts have been tested to be correct. Your errors might result from the internet connection, e.g., cannot run download.sh.
So please try to understand the shell scripts and run commands manually if you cannot follow the instructions successfully.

This OSError is caused by the NaturalCC cannot find your trained model file (checkpoint_best.pt) for evaluation or inference. All shell scripts have been tested to be correct. Your errors might result from the internet connection, e.g., cannot run download.sh. So please try to understand the shell scripts and run commands manually if you cannot follow the instructions successfully.

Oh，thank you,I wil try it in lab tommorrw.And I'm sorry I have so many problem and trouble you.But I must try to solve it.Do you know the paper "Cross-Language Binary-Source Code Matching with Intermediate Representations"？The author said the code will be available on ncc？

@wanyao1992
I think he can respond to your question.

@wanyao1992 I think he can respond to your question.
Wow！You hust really cool! I just want to follow your rearsch.Sorry if I be more carefully I would find it early.


ENUM values comparison missing

It would be useful to also find differences between defined ENUM types.
I was running pgdiff between two databases to find differences with ALL and this is something that was not detected.
For example:
CREATE TYPE my_type AS ENUM ('a', 'b');
and
CREATE TYPE my_type AS ENUM ('a', 'b', 'c');
Should detect the additional type 'c' in the second database, or at least that the types are different.

Thank you for the suggestion, @kkontosis.  I'll see what I can do on this.


[RPC] microtvm: fix RPC large transfer size issue

This PR:

Changes CopyToRemote and CopyFromRemote functions to handle smaller buffer size on hosts like microTVM devices.
Adds a global packed function to set the RPC max transfer size.
Increases memory size for CRT host main file to handle larger models.

cc @areusch

cc @tqchen

@areusch I think this is probably a CI bug?

@mehrdadh yeah it looks like a poorly-written test to me. looks like on the retrigger, it passed. see also https://github.com/apache/tvm/issues/7870

@areusch PTAL.
Thanks!


[Request] Combined x64/x32 MSI Installer

Can you please create one MSI installer that will automatically install the correct version during the installation process.
Thanks

@zero77 why? :)

I feel it could make installation quicker and easier particularly when installing it across multiple devices, and auto updating with Chocolatey or something else.


custom hashing functions

Provide a way to accept user defined hash functions where it is possible (ECDH, schnorr)

https://github.com/scgbckbone/python-secp256k1/compare/coldcard_ecdh this branch adds support for ECDH custom hashfp. I'm not sure about function passing behavior.
Currently it expects users to import additional ctypes function signature class, wrap custom function in it and pass it to ecdh:
from pysecp256k1.ecdh import ECDH_HASHFP_CLS
from mywork import my_custom_ecdh_hashfp

custom_hashfp = ECDH_HASHFP_CLS(my_custom_ecdh_hashfp)
ecdh(seckey, pubkey, hashfp=custom_hashfp)

Second option is to let users just pass python function and wrap it to ECDH_HASHFP_CLS internally. I consider this to be easier but also more error prone as user may have no idea how ECDH_HASHFP_CLS looks in the first place and therefore implementation of custom function may be wrong.


Feature request: Get/Set the scope

Hi,
Is there any chance that you can add the ability to get the generated state or set your own state in the PinterestOAuth class.
Thank you.

There you go mate

Thank you for the quick fix.


Question: Lists with >100 items

Have you encountered or found a way to work around the Alexa household list API failing to return a next link for lists with more than 100 items?  For lists with more than 100 items, it's only returning the most recently added 100 things, but not reporting any next link so anything older that those get dropped out in sync.

I have not and I know I don't handle it properly today. Documentation  points to a "next" link for pagenation - so it sounds like the scenario has been considered.
Are you using the Alexa-Zenkit skill and have a list of over 100 items? Or is this a general question for a different skill you are working on?

I'm sorry.  I'm was working on my own skill and yours was by far the best and most understandable list-syncing skill I could find to copy and help me through all the parts of the documentation for the list API and Alexa SDK that I didn't really get.
Anyway, in my playing around I accidentally created a loop and ended up having the same items added to my list a few thousand or so times.  It turned out that once it got over 100 some bugs in my code kept trying to match and couldn't so it kept adding and adding them.  I started playing around with PostMan and I can't figure out how to get it to give me that "next" link the docs mention.  I posted an issue on one of the Alexa repos, but didn't get any response.  I was hoping maybe you'd seen a work around.
For now, my "work-around" is "clear finished tasks and don't let the list get over 100 items long."  But I was hoping maybe you'd come up with a smarter solution.

Hey SRG - Just took a look at this. I am using the NodeJS Alexa SDK and it does support the next token:
http://ask-sdk-node-typedoc.s3-website-us-east-1.amazonaws.com/interfaces/services.listmanagement.alexalist.html#items
https://github.com/alexa/alexa-apis-for-nodejs/blob/master/ask-sdk-model/index.ts
I tested this with my skill and I'm able to sync items both ways. Not sure if the SDK works for you - it comes by default if you use the Alexa.SkillBuilders.custom() construct.

Feel free to re-open if you need anything else!


:bug: Multiple updates operation on the BMH #33

What this PR does / why we need it:
Currently, CAPM3 can execute multiple update operations on the BMH. This is problematic because the update triggers a reconcile of the BMH while we still process the BMH, regularly ending in a conflict, triggering a requeue.
Fixes #33

/assign @kashifest

//cc @maelk

/ok-to-test

/test-integration

/retest

/test-integration

/approve

/lgtm


Fix: Hero Slider Issue

Fixes #71 - Issue with Hero Slider
Hey there, I am not an expert in React.js But I made a simple fix for the hero slider issue.
In your app, preloader is running for 2 seconds and after that the Home component loaded and at the end script.js file gets called. But in realtime, this is not working properly. The heroSliderItems is empty when the DOM load event is ended and the autoSlide function cannot update the sliders.
The DOMContentLoaded is called even the preloader is running because we imported script.js in the App.js file.

@ragul1697 thanks a lot


Error: Build did NOT complete successfully

Hi.
I am experiencing this error. Could you please help?

Environment:

Ubuntu 18.04
Pixel 2, Andorid 8.1 (Tried with Pixel 4, Android 10 and got the same error)

I made some source change

benchmark.meta

cannot access https://cnbj1.fds.api.xiaomi.com so I put one benchmarks{ ... } with accessible URL and remove other than this one.
 benchmarks {
 executor: TFLITE
 models {
   model_name: InceptionV3
   model_path: "http://some url/TF_IV3_03.toco.tflite"
   model_checksum: "d2da062e325a54b512c3816714454deb" <-- result of md5sum
   devices: CPU
   devices: GPU
   input_names: "input"
   }
 }

config.yml

cannot access https://cnbj1.fds.api.xiaomi.com so I uploaded tensorflow into accessible URL
but didn't change URL of imagenet_less.zip yet because I don't know where I can get this imagenet_less.zip file

Error screen
$ bash tools/benchmark.sh --benchmark_option=Performance --executor=TFLITE --target_abis=arm64-v8a
Starting local Bazel server and connecting to it...
........
INFO: Analysed target //aibench/python:benchmark (18 packages loaded).
INFO: Found 1 target...
Target //aibench/python:benchmark up-to-date:
  bazel-bin/aibench/python/benchmark
INFO: Elapsed time: 2.222s, Critical Path: 0.04s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
Find qualcomm adb device:711KPCA0776611
No Arm linux device yaml file
Prepare to run models on arm64-v8a
Push output/benchmark.pb to /data/local/tmp/aibench
Push output/model.pb to /data/local/tmp/aibench
Push output/TF_IV3_03.toco.tflite to /data/local/tmp/aibench
libhexagon_nn_skel.so does not exists, QualcommAdbDevice Skip DSP.
* Build //aibench/benchmark:model_benchmark for TFLITE with ABI arm64-v8a
WARNING: The following configs were expanded more than once: [cross_compile]. For repeatable flags, repeats are counted twice and may lead to unexpected behavior.
ERROR: build interrupted
INFO: Elapsed time: 56.532s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (8 packages loaded)
Traceback (most recent call last):
  File "/home/eric/src/mobile-ai-bench/bazel-bin/aibench/python/benchmark.runfiles/aibench/aibench/python/benchmark.py", line 354, in <module>
    main(unused_args=[sys.argv[0]] + unparsed)
  File "/home/eric/src/mobile-ai-bench/bazel-bin/aibench/python/benchmark.runfiles/aibench/aibench/python/benchmark.py", line 343, in main
    benchmark_option, benchmark_list, result_files,)
  File "/home/eric/src/mobile-ai-bench/bazel-bin/aibench/python/benchmark.runfiles/aibench/aibench/python/benchmark.py", line 261, in run_on_device
    avail_device_types)
  File "/home/eric/src/mobile-ai-bench/aibench/python/bench_engine.py", line 117, in bazel_build
    *bazel_args)
  File "/home/eric/.local/lib/python2.7/site-packages/sh.py", line 1413, in __call__
    raise exc
sh.ErrorReturnCode_8:

  RAN: /home/eric/src/mobile-ai-bench/bazel build //aibench/benchmark:model_benchmark --config android --cpu=arm64-v8a --action_env=ANDROID_NDK_HOME=/home/eric/dev/android-ndk-r16b/ --define tflite=true

  STDOUT:

  STDERR:

The line that throws an exception is in sh.py:
        if call_args["fg"]:
            if call_args["env"] is None:
                launch = lambda: os.spawnv(os.P_WAIT, cmd[0], cmd)
            else:
                launch = lambda: os.spawnve(os.P_WAIT, cmd[0], cmd, call_args["env"])

            exit_code = launch()
            exc_class = get_exc_exit_code_would_raise(exit_code,
                    call_args["ok_code"], call_args["piped"])
            if exc_class:
                if IS_PY3:
                    ran = " ".join([arg.decode(DEFAULT_ENCODING, "ignore") for arg in cmd])
                else:
                    ran = " ".join(cmd)
                exc = exc_class(ran, b"", b"", call_args["truncate_exc"])
                raise exc    --------------------------> exception
            return None

Could you please help to solve this issue?
and.. one more question is... could you let me know where I can get or how I can create imagenet_less.zip?
Thanks a lot!

bazel build command needs to download the required packages in WORKSPACE.  It looks like that you could not download opencv as it's a customized version only downloadable from https://cnbj1.fds.api.xiaomi.com. So, can you access Google Drive? Maybe I can upload it there for you to access.
imagenet_less.zip is the first 1000 images from imagenet 2012 validation set.

That will be amazing. Could you please upload opencv and let me know? Thank you so much.

opencv
imagenet_less.zip

@lee-bin, I downloaded both files. I will try to build with the files.
Again, thank you so much for your time and consideration!

With the file you shared, the above issue seemed to be solved.  Let me close this issue.
One other thing is that now I got another error:
ERROR: missing input file '//third_party/tflite:tensorflow/lite/lib/arm64-v8a/libtensorflowLite.so'
Since URL of zipped tensorflow in config.yml is not accessible, I put zipped source code of Tensorflow into the URL of config.yml but maybe the tensorflow zip file needs to contain libtensorflowLite.so, I guess.
I will try that next week. :-)


feat: added a datapool e2e-test

The e2e-test failure will be resolved when these PR are merged.

The deposit field has been removed (moved to genesis param).
So you may have to remove that field for e2e test as well. Thank you!

The deposit field in PoolParams has been removed (moved to genesis param). So you may have to remove that field for e2e test as well. Thank you!

OK, I got it. Thank you


[🔧 esl-popup]: revisit esl-popup / esl-tooltip implementation

Both esl-popup / esl-tooltip modules are in the beta stage but already have non-beta usage on the projects.
The goal of the story is the following points:

review and simplify esl-popup implementation, make it highly acceptable by code analyzing tools metrics
revisit documentation and standard features of esl-popup
check the esl-tooltip usages, and create a migration plan to make it public component:

esl-tooltip -> esl-note-tooltip
review esl-share-popup inheritance chain
create an actual esl-tooltip epic

check init flow - styles (there is no default styles for empty tag)

[ ] immutable Rectangle base

[ ] immutable popup utilities

[ ] Extra style feature (string)

[ ] Extra class feature

[ ] Extra attributes

[ ] A11ty:  reuse focus mixins when ready

// ---

Bugfixing: onBeforeShow incorrect calls (reasons)
Active markers rework


Backend testing and api routes

Coverage increased (+3.9%) to 64.762% when pulling 96dd5449616888529a838cb706faae4174174449 on backendTesting into 008315e9c3d1102af4fff1738dcfa1b5a3dd0e97 on master.


Add info about How to Create a Stellar Wallet on LOBSTR

This document is how to create a stellar account, fund it, and add a TFT trustline from stellar itself. It would be useful to have it in the manual too, i think.
https://docs.grid.tf/threefold/itenv_threefold_main/src/branch/master/docs/create_stellar_wallet.md

Hi! It is really nice docs, but we currently have a basic lobstr + stellar wallet/account guide: https://manual.grid.tf/documentation/threefold_token/storing_tft/lobstr_wallet.html
It was decided to keep the manual section on TFT as simple as possible, so I don't think we want/need to put any more in there. LMK what you think.

Does the app have an option for testnet or only mainnet?

Not that I am aware of. As I understand it's just for mainnet.
LMK what you think. If you want to add this to the manual, it could be in the developers section in a section called Advanced Wallet section perhaps.

No need to cover beyond mainnet for the official manuals, anything that's internal to the team or to the internal testing shouldn't go there.


use sys.exit for exit calls

otherwise it fails on exit being undefined in the binary package

:+1:


RE2, 7, 8 work. RE3 rainbow display issue

Alright.  Quest 2, PC, etc.  AMD cards.
RE2 works perfectly, with the exception that the desktop display does this double-vision thing killing any fun of having an audience.
RE7 and 8 worked in testing but I haven't gone beyond just booting them up and briefly exploring.
Now on to my RE3 issue.
So originally I had an issue in which the Quest 2 would softlock into forever loading, then when backing out Steam VR would crash and the oculus link could not be re-established without a full reboot.  But going from a version from a few weeks ago to the newest one released very recently fixed that.  Everything worked except displaying in the headset and headtracking.
HDR is off, but I tried the HDR monitor/TV fix.  Nothing.  In fact it usually made the game crash.  I read on one older forum that Directx12 was not supported or the culprit behind a similar issue so prior to this I had switched to 11.  I also read in my REframework crash dump that it tried to write to a virtual address that it didn't have access to, so I changed to admin.  This didn't actually fix anything but things seemed to load faster so I kept it.
I saw a thing about OpenVR and OpenXR, so I deleted the OpenVR to make the switch.  Finally, getting somewhere.  VR headtracking and controllers work.  It doesn't have the double vision on the desktop--awesome!  Except SteamVR is forever stuck.
But reading recent info on common issues there was performance enhancements on DirectX12, so I switched it back on.
Immediately I had a great improvement, the steamvr thing went byebye and I saw an hour glass, then working VR display...
....In rainbow colors.  I can see, but it's like a cross between gourad mode in Turok 2 and Predator vision.  I suspect it isn't loading textures into the display, or at least that's the impression I'm getting.  But everything appears fine on the desktop display.
(Going back to DX 11 causes no display again.)
While trying to figure out how to disable the Steam VR theater (home is disabled but I have no idea how to disable the basic displayed environment of dots and lines if that's what theater is), I saw an option to have SteamVR be the openXR app...  Thought that might quickly fix it.  That was a bad move; when I tried to start RE3 again it crashed all the displays and everything became unresponsive.
There's no log file for my RE3 framework.  And github won't let me upload the dump file.

I tried removing the OpenVR.dll to use OpenXR on the other REs... they fail to create any kind of displays.
But using OpenVR.dll for RE3 gives me the SteamVR environment with no game display in the HMD, and openXR in RE3 gives me textureless rainbow meshes (everything loads correctly on the desktop but displays bizarre colors on seemingly textureless meshes in the headset).

Need your log files.

Here's the log (didn't realize it was going to name it RE2 despite being in RE3) and the crashdump.
RE3.zip
While tweaking around, it's begun crashing again similar to what it was originally doing.  (I tried upgrading my drivers, SteamVRintegration on my AMD card, removing SteamVRintegration after how negatively it affected everything, looking for and not finding any way to force HDR off (as HDR runs on my standard desktop settings and turns off when going into the game), and I can't remember what else I tried but I messed with some Steam VR settings.
Somehow, though, the tweaks I've done have fixed the double desktop image in Resident Evil 2 and its performance has become incredible, but... yeah.  Also RE7 started the no display through the Quest 2 (hard link connection) thing but through OpenXR.
KonivingRE7.zip
Both RE3 and RE7 are running through OpenXR, bypassing SteamVR as neither are working with it in the OpenVR.

If you are using Virtual Desktop, that is not supported in OpenXR unless you are using the SteamVR OpenXR runtime. Only airlink can run the mods natively through Oculus' OpenXR runtime.
The RE3 logs indicate that you're still running HDR and the game is creating a backbuffer format that is incompatible with VR headsets.
The RE7 logs indicate that it couldn't find a headset, I get the same error when using Virtual Desktop and trying to use the native Oculus OpenXR runtime.
Disabling HDR can be done like this on Nvidia cards, not sure how it's done on AMD:

Okay, so I removed Virtual desktop completely.  In Windows HDR is off, Radeon's Adrenaline software supposedly has no HDR.  There's a "WCDR" wide color display range but that's disabled, there's also an sRGB which also ties to colors.
I deleted the logs altogether for a fresh start on them and tried them.
Did Re3 first.  Crashed everything.
Tried RE7...  everything worked while messing with the menu, but when I tried to use the back button to exit the game all the displays crashed again.
Neither produced a crash report -- so the displays just stopped working (but the computer would not respond to the reset button).
RE7 worked today after removing Virtual desktop completely at least until I hit back one too many times on the main menu then all the displays crashed again.  But I wonder if that was me hitting buttons.
RE2 has no issues whatsoever which has me wondering if maybe it's just RE3?
RE3's HDR is turned off in the options; is there a way to force it off anyway?  It seems RE3 is the only one that had an issue regarding HDR.  (Though now it's crashing all the displays.)
KonivingRe7Working.zip
KonivingRE3newCompleteCrash.zip
Thank you for your help so far.  Where can I donate?  RE2 in VR's been pretty amazing and I appreciate the effort you've put in.

My settings similar to the Nvidia.  Mine only does 4:2:0 though rather than 4:2:2

Hello, just wondering if you have discovered a fix to the rainbow display problem. I've been having the same issue with all resident evil VR mods.

The config file posted in issue 136 fixed the rainbow issue on my amd card using openxr on quest 2. for re2 non ray tracing version.  I set my amd settings to 8 bit 4:2:2 also. i am still trying to solve the rainbow issue in re7 ray tracing version though.
[https://github.com/praydog/REFramework/issues/136]

I've been having the same issues which after messing around I found a simple workaround for Openvr being stuck at steamvr loading screen which fixed both RE3 and RE7 after updates. Just select the game icon (so by pressing enter it would launch) then unplug your monitor from your computer, press enter and after the game has fully launched in your VR you can plug the monitor again whilst playing.

Fyi i appear to have sorted my RE2 rainbow screen issue by switching back to the dx11 non-rt beta version.

I have the same rainbow colour issue in RE8 using an AMD 6750XT. no HDR enabled in game or windows.
I would love to work to solve this issue and will make any settings adjustments and provide new logs in short order for you.
logs.zip

Hey guys. I have tried every possible fix for this issue. Although I'm unaware of how to remove the virtual desktop. It will run on openXR but the colors are rainbow like others have seen. Would greatly appreciate someone helping me

Hey guys. I have tried every possible fix for this issue. Although I'm unaware of how to remove the virtual desktop. It will run on openXR but the colors are rainbow like others have seen. Would greatly appreciate someone helping me

Hi. I fixed mine by downloading the old Non-RT version. Minimal fiddling and then it just worked.

I cant even get the game to run with the non ray tracing version. itll open up then just close

Oh, thats annoying. Sorry, i cant really help any more

I cant even get the game to run with the non ray tracing version. itll open up then just close

You need to download the old version of the mod, the ones that have "TDB" in the file name.

I cant even get the game to run with the non ray tracing version. itll open up then just close

You need to download the old version of the mod, the ones that have "TDB" in the file name.

I did that.  Then extracted it just like normal and it would open up the game then it would just close

Have got same issue with RE4. All other versions of RE are working fine.

I have resolved the issue with RE4 - each time, when I start the game, in Resident evil menu in graphics settings I enable HDR (because it is always disabled, when you start the game, but looks like it does not work) and then disable it again - and colors become not rainbow.

I've been trying to fix the colour issue on re7, I eventually got it to actually work the game but the colours are all rainbow and makes the game unplayable. I eventually found this whole page and basically went through every solution that's here but none worked. I tried going into the beta files on Steam and switching to the dx11 non-rt and tried it with the old vr files but it just doesn't show on the headset. Has anyone ever found another fix for it?

I am having the exact problem as @Mousuou, and I tried the below steps
Turning HDR off and Turning Ambient Occlusion off. Although the display is perfect on my monitor and deleted OpenVR dll to use OpenXR.
I have also turned off the Steam Home in SteamVR, although I am not sure that's what is meant by "Turn off Virtual Desktop"
Any help would be highly appreciated. Thanks in advance.

Hey guys. I have tried every possible fix for this issue. Although I'm unaware of how to remove the virtual desktop. It will run on openXR but the colors are rainbow like others have seen. Would greatly appreciate someone helping me

Hi. I fixed mine by downloading the old Non-RT version. Minimal fiddling and then it just worked.

@d1andonlyantman Can you please mention what kind of minimal fiddling?

Try just switching to windowed mode instead of fullscreen. This usually fixes it for me if explicitly disabling HDR does not.

@praydog thanks for the quick reply.. but window mode didn't work. what worked is unplugging the monitor before the game launch.. I was able to plug in the monitor without any issues.
monitor resolution is 4k. but when unplugged game defaulted to 1080p, and I wasn't able to make it 4k even if the monitor is plugged in. But disabled FSR and made the resolution scale 1.4x and its smooth as butter.

OK,  i found a workaround for rainbow color in openxr with quest 2: turn off your monitor then start the game in oculus libraries (obviously desktop mode doesn t work), the turn on. Everything work fine now!

Partial fix has been added in 2c09f11a08143963530f5a2ea291e10fbce366ac for the D3D11 (non-RT) versions of the games. D3D12 will come later.

Fixed in 163704a8521e01916abfd78ae863a46135c7228d for D3D12. Improvements will come later. Colors will still be washed out or incorrect in HDR but there will at least be video output. It will still be playable with HDR on if you can tolerate not having correct colors. HDR should still be turned off as as complete fix.
New builds can be found here: https://github.com/praydog/REFramework-nightly/releases/

Hello friends,
I solved this issue simply as following:
-delete "openvr_api.dll" file from the game folder to urge it using OpenXR runtime.
-copy "dinput8.dll" file from the game folder to your Desktop and delete it from the game folder to avoid running the Praydog mod.
-run the game normally and turn down all the graphic settings in the game.
-from your Desktop, copy "dinput8.dll" back to the game folder.
-press "Insert" key to show the mod manager menu.
-in the "VR" popdown menu, change the Rendering method to "Two Frame Sequential".
-restart the game.
Do not forget to restart the game after changing the Rendering method!
After solving the color issue, you could turn up the graphic settings in the game.
Thanks Praydog for such a nice job.
My specs: Quest 2, Occulus Link Cable, Core i5 12400F, AMD Rx 6700 XT GPU, 16 GB RAM.

 Hello friends,
I solved the color issue in RE4 Remake Praydog mod VR as following:
-delete "openvr_api.dll" file from the game folder to urge it using OpenXR runtime. -copy "dinput8.dll" file from the game folder to your Desktop and delete it from the game folder to avoid running the Praydog mod. -run the game normally and turn down all the graphic settings in the game. -from your Desktop, copy "dinput8.dll" back to the game folder. -press "Insert" key to show the mod manager menu. -in the "VR" popdown menu, change the Rendering method to "Two Frame Sequential". -restart the game.
Do not forget to restart the game after changing the Rendering method! After solving the color issue, you could turn up the graphic settings in the game.
Thanks Praydog for such a nice job. My specs: Quest 2, Occulus Link Cable, Core i5 12400F, AMD Rx 6700 XT GPU, 16 GB RAM.

Just so you know, this rendering method is far less performant than the single frame multipass. At least it is on my machine.

Above mentioned method, now I'm playing RE4 Remake smoothly in VR.
FSR-1 set on Quality.


libvirt: 3.8.0 -> 3.10.0

Motivation for this change
Version bump. Replaces https://github.com/NixOS/nixpkgs/pull/32413.
Things done
I've rewritten the Python expression.

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

[ ] 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 nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

cc @volth

This seems to break libguestfs.


Precompile .pod files

They get put in a directory named precompiled. They are only
re-precompiled if changes are made (like .precomp). This reduces memory
usage (works around RT #127020), and speeds it up on second run (despite
slowing it on the first).

run
time
peak mem

htmlify before
594s
1.1GB

after, first run
634s
770MB

after, second run
584s
730MB

Making a PR so at least one person agrees with me that this is a good idea.

Thanks. On my machine I got the following promising results:

Run
Real Time

1
10m35.300s

2
7m48.964s

3
7m45.885s

Thanks :+1:


Specify minimum supported OS versions

Update metadata and README to specify minimum supported OS versions.
If someone knows minimum supported Amazon and Scientific version that would be great!

Looks good. Thanks


When/why does VM heap decrease?

I'm playing around with the analyzers memory usage.
Via https://github.com/dart-lang/sdk/issues/41793#issuecomment-1387269582 I found and checked out https://github.com/kodecocodes/rwf-materials.git and opened the entire directory (after running flutter pub get 500+ times --- I don't know if there's a helper command but that's what I did anyway).
With an empty cache the memory usage goes to (on my machine) ~14GB.
Now comes a hack: I've found that creating a file and deleting it again makes the analyzer clear some (unneeded) cache stuff (and do all kinds of stuff again, but still) --- once it's done the memory usage is now ~11GB, but the used heap is in the ~3.5GB range. Doing the same thing again makes the memory usage go to ~9GB and the heap usage is still in the ~3.5GB range (e.g. it's displayed as heap 3.49GB of 9.13GB in Observatory).
So: Why doesn't the VM reduce the heap size further? Is there something else that has to be satisfied for it to reduce the heap or something?
/cc @mkustermann @mraleph

Generally old space is organized in pages, so if there's at least one object on a page, the whole heap page is retained. So a partial reason may be fragmentation. Though if the analyzer is ever idle, it may trigger compacting GC, which can get rid of this fragmentation.
/cc @rmacnak-google

@jensjoha What command are you using to run the analyzer?

I'm opening the directory with Android Studio (and enabling dart support for the dir).

How are you getting to Observatory? I can see some analyzer-specific diagnostic page, but it claims the VM service is not running, and sending the usual sigquit to the pid doesn't enable the VM service. I also don't see anywhere to set flags passed to the analyzer invocation.

I suspect what is happening is that the heap size is so large that the VM estimates it will taking longer than --idle_duration_micros to complete a compaction, and so chooses mark-sweep instead of mark-compact to avoid blocking for too long.

I'm cheating...
I'm applying this patch:
diff --git a/pkg/analysis_server/lib/src/status/diagnostics.dart b/pkg/analysis_server/lib/src/status/diagnostics.dart
index 82aa23c37cd..6558597e9e4 100644
--- a/pkg/analysis_server/lib/src/status/diagnostics.dart
+++ b/pkg/analysis_server/lib/src/status/diagnostics.dart
@@ -460,10 +460,10 @@ class CollectReportPage extends DiagnosticPage {
       }
     }

-    if (startedServiceProtocol) {
-      await developer.Service.controlWebServer(
-          enable: false, silenceOutput: true);
-    }

     const JsonEncoder encoder = JsonEncoder.withIndent('  ');
     return encoder.convert(collectedData);

opening the "Analysis Server Diagnostics" via Android Studio -> "Dart Analysis" bottom page thing -> wheel on the left -> "View Analyzer Diagnostics" -> Clicking "Collect Report" and "Download report". Then from "Diagnostics" -> "Memory and CPU Usage" I can see the URL for Observatory.

I suspect what is happening is that the heap size is so large that the VM estimates it will taking longer than --idle_duration_micros to complete a compaction, and so chooses mark-sweep instead of mark-compact to avoid blocking for too long.

I guess this might be one of those huge-heap use cases where compacting gradually via selective/partial evacuation of pages is better than our current full sliding compaction which is tiered towards smaller heaps.

@rmacnak-google did you have any chance to look at this? it would be nice to find out why VM does not shrink the heap more aggressively.

@rmacnak-google thanks! I suspected it was related.
@jensjoha when you have some free time could you check how things look on master now wrt to analyzer heap? Maybe we can close this issue then.

It's now at ~3GB so seems fixed to me :).
Closing!


Can't install crouton on samsung chromebook plus

Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/precise...

Please describe your issue:
I followed a guide to install crouton, and after it prompts me to type in a username, it pulls out this message. I read some other forums and updated the program, and now it tells me:
UID 1000 not found in precise
I then uninstalled it, and tried installing trusty version. This time, it let me create a username and password, but wouldn't run, giving me:
Segmentation fault at address 0x0
Caught signal 11 (Segmentation fault). Server aborting
I apologize if I'm not using the right terminology or format, I'm new to this.
If known, describe the steps to reproduce the issue:
Try to install crouton on samsung chromebook plus

Mostly likely duplicate of: https://github.com/headmelted/code-builds/issues/12, https://github.com/dnschneid/crouton/issues/3098 & https://github.com/dnschneid/crouton/issues/3083


fix project technical_emails and billing_emails schema

Could you please add the reason why there was a problem with this into the commit message

Could you please add the reason why there was a problem with this into the commit message

Added additional comment:
If DiffSuppressFunc is true, a default diff for the type of the schema will be ignored. And for the TypeSet diff will append elements to the list.

Please let me know if that sounds reasonable, if not I will add more information to the commit message.


Error writing ee.conf

I forgot my wordpress pw, and also the email.
Tried editing it, but it kept throwing errors refusing to save the file in ee.conf (plus it's blank)
Where does it keep my user name pass? Now I am completely locked out.
http://prntscr.com/76kklq

@dtdw
Please use http://community.rtcamp.com/c/easyengine for the support requests.
BTW you are editing confing at wrong location. EasyEngine configuration file path is /etc/ee/ee.conf
I am closing this ticket and if you have any doubts please raise ticket at community forum first.

Hey,
Thanks, that works.
The problem was because I followed the faq at the site, and the file path is
/etc/easyengine/ee.conf
https://rtcamp.com/easyengine/faq/#ee18


🍱 Update Status Table

Updates:

S5 was Withdrawn; is now Suitable for Review and Acceptance
S6 was Suitable for Review and Acceptance; is now Withdrawn
S7 was Suitable for AIM Authorization; is now Suitable for PIM Authorization Additions:
S8 Suitable for AIM Authorization

looks good - go for it


Build fetched specification docsets using Metanorma flow

By invoking Metanorma gem function or executable, we want to build source specs, and down the line let the Jekyll theme show spec contents on open project sites.

Asked about the best way to build Metanorma input from Ruby in https://github.com/riboseinc/metanorma/issues/25. If no success, we can still call the executable according to its docs.

Proposed implementation route:
When the helpers plugin, after collecting specifications, encounters a spec with frontmatter which contains source_url, the helpers plugin would attempt to

fetch the source into a temporary directory,
execute Metanorma build function against the source to transform it into a set of HTML docs with the entry document index.html,
place the output in subdirectory _specs/[spec name]/,
if needed, remove the original spec file _specs/[spec name].adoc.

Method to build in Ruby given in:
https://github.com/riboseinc/metanorma/issues/25#issuecomment-422318761

Originally I thought we can create something like Metanorma-OPF, which can take input in any Metanorma flavour and produce consistent Open Project-compatible HTML output.
However, specs may not be all uniformly Metanorma projects: some are just PlantUML diagrams[0], for example. Basically we want to create a routine that can be called to build anything into [OP framework-compatible] HTML.
I’m looking into requiring each spec that’s part of an Open Project site to have in its repo root a special dotfile referencing a Docker container, which OP build would pull and run against the source and get appropriately formatted HTML docs for inclusion into an OP site. E.g., we could have two containers: models[0] would reference a container calling PlantUML, and Metanorma specs[1] would reference a container with Metanorma binary and dependencies. Essentially it’s like a Makefile, but wrapping all system dependencies.
[0] https://github.com/riboseinc/metanorma-model-iso
[1] http://www.metanorma.com/specs/draft-ribose-asciirfc/

@strogonoff it is indeed possible. Metanorma outputs a Metanorma XML file that can be transformed into HTML.
The basic gem that does this is called isodoc.
So we could either:

subclass this gem, create one called isodoc-opf
update this gem to produce OPF compliant html

Then things will work great.

@ronaldtse Sure. I think I’ve come up with a good enough way. (Roughly, each spec that’s part of project site can specify not just source but also builder engine to be used. Metanorma builders would use approach similar to https://github.com/riboseinc/metanorma/issues/25#issuecomment-422318761, PlantUML diagram builders would generate interlinked HTML files from files under /images/, etc.)


BIGTOP-2555: hadoop charms should use bind-host overrides

remove unused import
Bind NN and RM to <IP_ADDRESS> (all interfaces) using the hiera options from
BIGTOP-2554. This fixes a problem where lxd would bind the apps to
facter fqdn which may not be resolvable to other containers in the lxd env.
Note: since we recommend colocating NN and RM, make sure the RM repeats
the NN overrides so the RM puppet apply doesn't lose hdfs-site.xml config
from the NN puppet apply.

LGTM +1 Tested on lxd and exposed services are indeed listening on the correct interface.
As you can see we still have some services on <IP_ADDRESS> but we can handle any problems we may have in future PRs
 Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address           Foreign Address         State       tcp        0      0 <IP_ADDRESS>:35482           <IP_ADDRESS>:*               LISTEN      tcp        0      0 <IP_ADDRESS>:10020         <IP_ADDRESS>:*               LISTEN      tcp        0      0 <IP_ADDRESS>:8649            <IP_ADDRESS>:*               LISTEN      tcp        0      0 <IP_ADDRESS>:19888         <IP_ADDRESS>:*               LISTEN      tcp        0      0 <IP_ADDRESS>:10033           <IP_ADDRESS>:*               LISTEN      tcp        0      0 <IP_ADDRESS>:8020            <IP_ADDRESS>:*               LISTEN      tcp        0      0 <IP_ADDRESS>:50070           <IP_ADDRESS>:*               LISTEN      tcp        0      0 <IP_ADDRESS>:22              <IP_ADDRESS>:*               LISTEN      tcp6       0      0 :::8088                 :::*                    LISTEN      tcp6       0      0 <IP_ADDRESS>:20888         :::*                    LISTEN      tcp6       0      0 :::8025                 :::*                    LISTEN      tcp6       0      0 :::8030                 :::*                    LISTEN      tcp6       0      0 :::8032                 :::*                    LISTEN      tcp6       0      0 :::8033                 :::*                    LISTEN      tcp6       0      0 fe80::1:13128           :::*                    LISTEN      tcp6       0      0 :::22                   :::*                    LISTEN      udp        0      0 <IP_ADDRESS>:68              <IP_ADDRESS>:*                           udp        0      0 <IP_ADDRESS>:8649            <IP_ADDRESS>:*                           udp        0      0 <IP_ADDRESS>:37509           <IP_ADDRESS>:*

I tested on aws and it works fine, but on lxd I see, like Kostantinos, two services still listening on <IP_ADDRESS>.  Furthermore, terasort fails with the following the the RM log: http://pastebin.ubuntu.com/23379093/

Thanks for the eyeballs @ktsakalozos and @johnsca!  I missed a mapred.jobhistory binding.  You will no longer see any 127.0.x.y bindings.
Also, thanks @johnsca for pointing out the terasort failure.  This was due to a dns / hostname issue in lxd environments and was fixed with:
https://github.com/juju-solutions/layer-apache-bigtop-base/commit/31c4273ade95fe8ee2212800e5ed6e8d56429ec7

Charms in ~bigdata-dev namespace have been refreshed and verified that terasort works on lxd again:
results:
  meta:
    composite:
      direction: asc
      units: secs
      value: "385"
    start: 2016-10-25T22:19:00Z
    stop: 2016-10-25T22:25:25Z
  results:
    raw: '{"GC time elapsed (ms)": "19102", "Launched reduce tasks": "1", "Shuffled
      Maps ": "8", "FILE: Number of bytes written": "2081067810", "Physical memory
      (bytes) snapshot": "4834197504", "Total megabyte-seconds taken by all reduce
      tasks": "240579584", "Rack-local map tasks": "1", "HDFS: Number of large read
      operations": "0", "Failed Shuffles": "0", "Reduce output records": "10000000",
      "Map input records": "10000000", "Total vcore-seconds taken by all map tasks":
      "1682215", "WRONG_REDUCE": "0", "Spilled Records": "20000000", "Total time spent
      by all reduces in occupied slots (ms)": "234941", "FILE: Number of read operations":
      "0", "BAD_ID": "0", "Input split bytes": "1040", "Reduce input groups": "10000000",
      "Total megabyte-seconds taken by all map tasks": "1722588160", "HDFS: Number
      of read operations": "27", "Map output materialized bytes": "1040000048", "Bytes
      Read": "1000000000", "FILE: Number of bytes read": "1040000012", "CONNECTION":
      "0", "Combine output records": "0", "Total vcore-seconds taken by all reduce
      tasks": "234941", "Total time spent by all map tasks (ms)": "1682215", "CPU
      time spent (ms)": "179730", "Map output bytes": "1020000000", "Bytes Written":
      "1000000000", "IO_ERROR": "0", "Merged Map outputs": "8", "FILE: Number of write
      operations": "0", "Total time spent by all maps in occupied slots (ms)": "1682215",
      "Launched map tasks": "14", "Killed map tasks": "6", "Reduce shuffle bytes":
      "1040000048", "HDFS: Number of write operations": "2", "Map output records":
      "10000000", "HDFS: Number of bytes written": "1000000000", "Combine input records":
      "0", "FILE: Number of large read operations": "0", "Data-local map tasks": "13",
      "Total committed heap usage (bytes)": "4217896960", "Virtual memory (bytes)
      snapshot": "25333989376", "WRONG_LENGTH": "0", "Reduce input records": "10000000",
      "Total time spent by all reduce tasks (ms)": "234941", "HDFS: Number of bytes
      read": "1000001040", "WRONG_MAP": "0"}'
status: completed
timing:
  completed: 2016-10-25 22:25:27 +0000 UTC
  enqueued: 2016-10-25 22:18:47 +0000 UTC
  started: 2016-10-25 22:18:47 +0000 UTC


API can accept a auto_create app_id and store authInformation in properties

What is being addressed
There was an authInformation block within the workspace defintion in cosmos. This is created by the API looking up these values from AAD. These need to move to workspace properties othewise when we automatically create the Workspace API App we will not be able to patch the workspace.
How is this addressed

Fix then dictionary check for app_id. If missing return AuthConfigValidationError
Remove the authInformation dictionary from the workspace
Make app_id a mandatory field in the workspace
if the app_id is auto_create set a property register_aad_application to be true. This will trigger the behaviour in the bundle.

/test

/test

/test-extended

/test-extended

Main question is what happens to existing resources - do we need a migration script to move the authInformation block into properties ? Aside from that I can't think of any other problems - and I like that we get the flexibility to modify via patches going forwards.

Main question is what happens to existing resources - do we need a migration script to move the authInformation block into properties ? Aside from that I can't think of any other problems - and I like that we get the flexibility to modify via patches going forwards.

@damoodamoo  The migration script was written in a Previous PR and will be triggered based on a semantic version when I final settle on which version. Script is here: - /workspaces/AzureTRE/scripts/db_migrations.py. Method is called moveAuthInformationToProperties

/test-extended

/test-extended
(Just released my Resource Processor was on 0.1.12 instead of 0.1.18 - no wonder why it doesn't work!)

/test-extended
Tanya has now fixed the 3 failing E2E tests, so should be all green now

/test-extended


SOLR-16318: Use up to JDK 11 features (avoid type declaration when <> can be used)

Description

Avoid type declaration when <> can be used

Pull request history
sub-set of the current #912 changes, experimentally identified with a ./dev-tools/scripts/branchSplitter.py<PHONE_NUMBER>6 script run (script included in the branch history but not in the branch content itself).
the script retains in the branch only changes which appear 'simple to review' (in this case differences that look like template argument removals or additions).
running just ./dev-tools/scripts/branchSplitter.py identifies what could be split, running with a commit argument does the actual split by reverting back to the named commit point files that changed but not in a 'simple to review' way.

Makes sense to me...    I wonder if we need to have a conversation on dev mailing list related to when we merge this?  I know @dsmiley is interested in seeing #943 get merged soon, and this might impact that.

I would love to see these get merged, as keeping this patch up to date is going to get harder...    Do we have consensus on merging it?

I would love to see these get merged, as keeping this patch up to date is going to get harder... Do we have consensus on merging it?

Just resolved the merge conflict. And noting that #943 is merged now, is now more convenient then to proceed to merging here? @dsmiley WDYT?
And a question for all, we're planning to cherry-pick from main to branch_9x also for these changes, right?


After upgrade failure, "upgrade --install" thinks release does not exist

After release is in failed state:
helm upgrade --install returns:

Error: UPGRADE FAILED: release: not found

helm install returns:

Error: a release named "____" already exists

Temp fix:

run helm delete --purge [RELEASE-NAME]
then helm install [CHART]


GitHub alpha releases broken (automatic continuous integration from develop branch)

https://github.com/readium/readium-js-viewer/releases
The tag is correctly generated, but the proper release description (including download links for prebuilt chrome app and cloud reader) is missing.
TravisCI script:
https://github.com/readium/readium-js-viewer/blob/develop/.travis.yml#L95
NodeJS task:
https://github.com/readium/readium-js-viewer/blob/develop/build-config/deployCrx.js
TravisCI job:
https://travis-ci.org/readium/readium-js-viewer/jobs/210072846#L4036

deploying crx to github
deleting previous "0.26.0-alpha" release tag
0.26.0-alpha tag re-creating.
BUILD DATE/TIME: Sat, 11 Mar 2017 16:06:47 GMT
BUILD tag: 0.26.0-alpha
TRAVIS_BRANCH: develop
TRAVIS_COMMIT: 2c349d0fec1b93d61d1148a86855735d925de243
TRAVIS_JOB_NUMBER: 742.1
TRAVIS_BUILD_ID: 210072845
TRAVIS_BUILD_NUMBER: 742
release created
UPLOAD TO RELEASE: [Readium.crx] from [/home/travis/build/readium/readium-js-viewer/dist/Readium.crx] (application/x-chrome-extension)
error uploading binary: 404

False alert: the problem is actually different, the old releases are left over by GitHub as "drafts", they only show-up in my logged-in session.
See:
https://github.com/readium/readium-js-viewer/releases


Handle urls without quotes and with semicolon

In the previous PR I broke the case when urls don't have quotes and have weird symbols inside. The fix is to try to parse values with quotes first, then without.
This is a testcase for the fix
#Categories li, .bullet-list li, .location-depth-3 li {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAEBAMAAABb34NNAAAAFVBMVEXyrmHqcBDtdQ3pcRHcbRkAAAD/uSmYi/+cAAAABnRSTlORbFE2DwAwkbURAAAAEUlEQVQI12MIEmEwSwAiIAMAC/AB+fq6WIgAAAAASUVORK5CYII=);
    background-repeat: no-repeat
}

Thank you, good catch.

Hey, are you on reddit? Or do you have BTC/BCC address? I feel like I should thank you with something more tangible :)

I have a BTC wallet 1NGxD7QgSYgWmuFSi7yKbWMGH4f9cA1dTK. Thank you for the library!


fix typo

No description provided.

https://discord.com/invite/cRYNYXqPeR  welcome to join our discord


Implement a simple source viewer

I'd love to do this as part of v1 as it will help clarify the file view nature of the app.

Done.


AttributeError: module 'androguard.core.analysis.analysis' has no attribute 'newVMAnalysis'

Androguard Version: 3.2.1
Python Version: 3.6

Hi,
I want to get the API called in apk file, but this method hint has failed. Is there any other method?

Can you give us an example how you got this error or at least the full stacktrace? Thank you!

newVMAnalysis is veeeery old... It was used in Androguard 2. You need to use Analysis now. Have you copied this code from some old project?

Yes, I'm referring to an old project based on Python2, Thank you for your help.


Junior Esteban

https://tempestx22.github.io/JJsWP/

Repository: https://github.com/TempestX22/final-project
Page Link: https://tempestx22.github.io/final-project/

currently https://tempestx22.github.io/final-project/ returns page not found...

Page Link: https://jjportfoliofinal.netlify.app/
Repository: https://github.com/TempestX22/portfolio-final


proc_clean: remove any empty cases at the end of the switch

Previously, only completely empty switches were removed.
This is a seemingly simple change with surprisingly far reaching consequences and motivation, so bear with me for a bit.
The immediate effect of this seemingly simple change, using Boneless CPU as a benchmark, is that the LUT count goes up: from 475 to 511 on one specific instantiation. This points to a larger inefficiency in mux tree optimization.
However! The motivation for adding this (and, later, I'd like to add further simplifications) to proc_clean is quite complicated, and is mostly because of the behavior of Verilog simulators. Specifically, nMigen would emit all of its logic into one giant RTLIL process, which ends up as a giant always @* block after write_verilog, plus a few always @(posedge) blocks that actually update the register values. This is entirely fine for synthesis, but every single Verilog simulator in existence, proprietary, FOSS, whichever, appears to choke on this pattern because of false combinatorial loops, once the Migen/nMigen design reaches a large enough size.
As such, I've changed nMigen to do the following transformation. For every signal, an RTLIL process individual for that specific process is emitted, which is essentially the same as the original RTLIL process that would be emitted, but "filtered" to only include assignments to that signal. This means that the resulting IL file (and Verilog output) will contain a very large amount of empty cases and processes, many of which are not cleaned up by the current proc_clean pass.
There is a worse consequence. I've mentioned that with this proc_clean change, LUT count goes up from 475 to 511. However, with the nMigen change, which is completely mechanical and produces equivalent code, the LUT count rises from 343 to 475!
My conclusions is that the current mux tree optimizations in Yosys are unable to cope with this proc_clean change, but are also unable to cope with other changes in input, in more severe ways. Therefore, it is my opinion that proc_clean should be improved to remove empty cases (such as done in this PR), and the mux optimizations should separately be improved to cope with redundant muxes.

My conclusions is that the current mux tree optimizations in Yosys are unable to cope with this proc_clean change, but are also unable to cope with other changes in input, in more severe ways. Therefore, it is my opinion that proc_clean should be improved to remove empty cases (such as done in this PR), and the mux optimizations should separately be improved to cope with redundant muxes.

Interestingly, it looks like Synplify also cannot cope well with this style of coding (with many empty cases), though it seems marginally less inefficient than Yosys on a cursory check.

Interestingly#2, Vivado appears to have no problems, and infers the exact same amount of LUT regardless of coding style. This implies that Yosys should be able to do this too.

Not yet, since there are other bugs in nMigen that are higher priority than poor optimization. But it seems likely that I will end up making such an example at some point.

To confirm: do you generally agree that this change is desirable? If yes, I want to extend it so that it also removes empty cases in the middle, for switches that have no z/x in them (and so you can do this without reencoding the entire switch). I suspect that this will make the deficiencies in opt_muxtree easier to notice, but I don't want to bother if this change is not desirable in the end.

Yes, I do agree this change is desirable. But I'm reluctant to merge it before I have a better understanding for why this has a negative impact on quality of results.

Sure, not merging until the cause for pessimization is clear is fine by me. I will improve proc_clean a bit more then.

I've added more code to clean empty cases if every case's compare is fully defined, which I think is the extent of cleanup proc_clean can do safely. I've also tried to torture the entire synthesis pipeline a bit with different nMigen options and cleanup options, and it looks like there's no QoS degradation!


cannot find services/app.js

Package version
1.0.1
Describe the bug
After following the tutorial on the adonis doc, running the application throws the following error:
  Error
 Cannot find module<EMAIL_ADDRESS>
 at Object.<anonymous> C:/projects/javascript/yamiassu/company/lexxer/backend/node_modules/@adonisjs/limiter/build/services/index.js:4
  1|  "use strict";
  2|  Object.defineProperty(exports, "__esModule", { value: true });
  3|  exports.Limiter = void 0;
> 4|  const app_js_1 = require("@adonisjs/core/build/services/app.js");
  5|  const Limiter = app_js_1.default.container.resolveBinding('Adonis/Addons/Limiter');
  6|  exports.Limiter = Limiter;
  7|

Reproduction repo
No response

Try to update your @adonisjs/core to 5.8.6, and put the resolutions as well.
// ... another things
 "resolutions": {
    "@adonisjs/core": "5.8.6"
  },
  "dependencies": {
    "@adonisjs/core": "5.8.6",
// ... another things

Closing since no answer from issue reporter.


Pull Requests: Map needed for request workflow

At the moment external contributors don't have any way of knowing what the lifecycle of a pull request is. We have documentation on contributing code, but it's silent on the details of what happens to a request once it's been submitted. Chandni presented a fantastic flowchart at the contributor's summit today that would be a great foundation for documentation explaining the stages that a PR goes through.
This would help external contributors understand what they need to do to successfully submit code to the project, and combined with https://github.com/tensorflow/tensorflow/issues/33801 will give them the visibility they need to be effective TensorFlow developers.
/cc @freddan80 @jenselofsson

Thanks for raising this issue! It would be great to see such a flowchart.

I've additional review points at:
https://github.com/tensorflow/tensorflow/pull/57564

Hi @petewarden ,
As per your request for documenting a way of knowing the lifecycle of a pull request our team taken the action and PR already done and merged.I hope this is the document you are looking for. Shall we close this issue ?


docs: Create qwik-morocco.svg

add moroccan flag
Overview

What is it?

[ ] Feature / enhancement
[ ] Bug
[ ] Docs / tests / types / typos

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

One use case

Another use case

Checklist:

[ ] My code follows the developer guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

Thanks. My only concern is that this image has a different style, please have a look at the other community flags and follow the same aspect


Failed to get convolution algorithm. This is probably because cuDNN failed to initialize

Tensorflow version 2.2.0
Tensorlow nightly installed
Tensorflow nighlty-gpu installed
conda list cudnn gives
version 7.6.5 build         cuda10.1_0
nvidia-smi reports
driver version 446.14     cuda version 11.0
Nvidia 1660TI graphica card.
Windows 10 Pro 64 bit.
the version numbers should be ok as per the Tensorflow webside https://www.tensorflow.org/install/gpu
Code to train model and use callbacks.  The error is much worse when i use verbose=1, so changed to verbose =10 as per suggestion from previous run error message.
log_dir = "logs/fit/" + datetime.datetime.now().strftime("%Y%m%d-%H%M")
tensorboard_callback = tf.keras.callbacks.TensorBoard(log_dir=log_dir,
                                                      histogram_freq=1,
                                                      write_images=True,
                                                      update_freq = 'batch')

print(datetime.datetime.now().strftime("%Y%m%d-%H:%M"))
history = model.fit(
        train_data_gen,
        batch_size = BATCH_SIZE,
        epochs=EPOCHS,
        verbose = 10,
        validation_data=val_data_gen,
        callbacks = tensorboard_callback)

print(datetime.datetime.now().strftime("%Y%m%d-%H:%M"))

ERROR Message
20200624-10:18
Epoch 1/25
Traceback (most recent call last):
File "", line 15, in
callbacks = tensorboard_callback)
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\keras\engine\training.py", line 66, in _method_wrapper
return method(self, *args, **kwargs)
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\keras\engine\training.py", line 848, in fit
tmp_logs = train_function(iterator)
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\def_function.py", line 580, in call
result = self._call(*args, **kwds)
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\def_function.py", line 611, in _call
return self._stateless_fn(*args, **kwds)  # pylint: disable=not-callable
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\function.py", line 2420, in call
return graph_function._filtered_call(args, kwargs)  # pylint: disable=protected-access
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\function.py", line 1665, in _filtered_call
self.captured_inputs)
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\function.py", line 1746, in _call_flat
ctx, args, cancellation_manager=cancellation_manager))
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\function.py", line 598, in call
ctx=ctx)
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\execute.py", line 60, in quick_execute
inputs, attrs, num_outputs)
UnknownError:  Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node resnet50/conv1_conv/Conv2D (defined at :8) ]] [Op:__inference_train_function_17457]
Function call stack:
train_function

@Cillinc,
Please take a look at this comment from a similar issue and let us know if it works. Another possible duplicate #24828
Thanks!

thanks - added as suggested.   Got a new error....
20200624-17:05
Epoch 1/25
WARNING:tensorflow:AutoGraph could not transform <function Model.make_train_function..train_function at 0x0000020E10437D38> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10) and attach the full output.
Cause: Bad argument number for Name: 4, expecting 3
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert
WARNING: AutoGraph could not transform <function Model.make_train_function..train_function at 0x0000020E10437D38> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10) and attach the full output.
Cause: Bad argument number for Name: 4, expecting 3
To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert
Traceback (most recent call last):
File "", line 8, in
callbacks = tensorboard_callback)
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\keras\engine\training.py", line 66, in _method_wrapper
return method(self, *args, **kwargs)
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\keras\engine\training.py", line 848, in fit
tmp_logs = train_function(iterator)
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\def_function.py", line 580, in call
result = self._call(*args, **kwds)
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\def_function.py", line 644, in _call
return self._stateless_fn(*args, **kwds)
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\function.py", line 2420, in call
return graph_function._filtered_call(args, kwargs)  # pylint: disable=protected-access
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\function.py", line 1665, in _filtered_call
self.captured_inputs)
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\function.py", line 1746, in _call_flat
ctx, args, cancellation_manager=cancellation_manager))
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\function.py", line 598, in call
ctx=ctx)
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\execute.py", line 60, in quick_execute
inputs, attrs, num_outputs)
InvalidArgumentError:  Incompatible shapes: [32,7,7] vs. [32,1]
[[node Equal (defined at :8) ]] [Op:__inference_train_function_17457]
Function call stack:
train_function

changes the VERBOSE value in my call back as i think i had it wrong ...
print(datetime.datetime.now().strftime("%Y%m%d-%H:%M"))
history = model.fit(
train_data_gen,
batch_size = BATCH_SIZE,
epochs=EPOCHS,
verbose = 1,
validation_data=val_data_gen,
callbacks = tensorboard_callback)
print(datetime.datetime.now().strftime("%Y%m%d-%H:%M"))
20200624-17:08
Epoch 1/25
Traceback (most recent call last):
File "", line 8, in
callbacks = tensorboard_callback)
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\keras\engine\training.py", line 66, in _method_wrapper
return method(self, *args, **kwargs)
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\keras\engine\training.py", line 848, in fit
tmp_logs = train_function(iterator)
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\def_function.py", line 580, in call
result = self._call(*args, **kwds)
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\def_function.py", line 611, in _call
return self._stateless_fn(*args, **kwds)  # pylint: disable=not-callable
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\function.py", line 2420, in call
return graph_function._filtered_call(args, kwargs)  # pylint: disable=protected-access
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\function.py", line 1665, in _filtered_call
self.captured_inputs)
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\function.py", line 1746, in _call_flat
ctx, args, cancellation_manager=cancellation_manager))
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\function.py", line 598, in call
ctx=ctx)
File "C:\Users\cilli\anaconda3\envs\project\lib\site-packages\tensorflow\python\eager\execute.py", line 60, in quick_execute
inputs, attrs, num_outputs)
InvalidArgumentError:  Incompatible shapes: [32,7,7] vs. [32,1]
[[node Equal (defined at :8) ]] [Op:__inference_train_function_17457]
Function call stack:
train_function

it seems to be working after last nights updates.  However now i can't get Tensorboard to work....fix one break one....

it seems to be working after last nights updates. However now i can't get Tensorboard to work....fix one break one....

Could you please provide the complete code you're running along with the error log, so that we can look into it. Thanks!


not enough qouta is avalable

when i try to run the stormloader.exe application i get a message saying "not enough qouta to procces this command

log.txt
here is the log if it helps

Please try rebooting your PC and check that you have your page file enabled under performance settings for windows.

i rebooted my pc but it didnt work and i cant seem to find the setting you were talking about

I think it's called 'adjust the performance and appearance of windows' if you search for it in the start menu.

i found the performance settings thing but i cant find the page file option that you were talking about

sorry just found it right after i wrote that

altough it says i need to set it to a specific value and im not sure what to set it to do you have any idea?

You should be able to set it to system managed.

that it what it is set as and i still get the error

Ok, interesting, normally this is a windows issue. Are you running it from a secondary drive? Could you try running it from the C drive if you are.


[Task]: Improve the intial load speed of the page regarding wasm

Task description
There are already two wasm files loading on dev branch (sdk + identity wasm) and after nova there will be potentialy two more (sdk-nova etc...).

Look into a way to speed up the "initial page load", be it with lazy loading of wasms depending on Landing network or anything else that would help

Requirements
N/A
Acceptance criteria
N/A
Creation checklist

[X] I have assigned this task to the correct people
[X] I have added the most appropriate labels
[X] I have linked the correct milestone and/or project

For me sometimes it takes really long to load (sometimes even over a minute, not sure what's going on there, maybe a local problem), but I also get this in the browser console logged:
index-c25614d4.js:23 `WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:
 TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.


Update README.md - Roadmap of Priorities Links

Signed-off-by: JimStLeger<EMAIL_ADDRESS>

Fixed the three 404 URL links under Roadmap of Priorities (after rebasing original PR.)

Thanks @JimStLeger !


Develop Cost Model

💡 Description

Cost model for data upload manager components. Should go hand-in-hand with Design Doc but this will be managed and maintained in a secure location. This Epic will also include consideration of deployment strategies, as needed.

📆 July status: Delayed start, may be deferred. This task is low priority documentation task as cost should be fairly trivial here.

📆 August status: Deferring from B14.0. This still needs to be added to cost estimate spreadsheet, but not needed until we start actually pushing data to the cloud. No impact on delivery to I&T.

@collinss-jpl let's add this to our PDS Cloud Estimate cost model. @viviant100 can help direct you where this is

📆 October status: Start delayed but on schedule.

📆 November status: Delayed 1 additional sprint to ensure the design and documentation requirements were met. No impact on other tasks

Completed in December


graphite metrics not working

No available client connector supports the required protocols: 'WAR' . Please add the JAR of a matching connector to your classpath.
Starting the Jetty [HTTP/1.1] server on port 9000
Starting com.uber.stream.kafka.mirrormaker.controller.rest.ControllerRestApplication application
[2021-02-11 19:26:07,521] WARN Unable to report to Graphite (com.codahale.metrics.graphite.GraphiteReporter)
	at com.codahale.metrics.graphite.Graphite.connect(Graphite.java:129)
	at com.codahale.metrics.graphite.GraphiteReporter.report(GraphiteReporter.java:265)
[2021-02-11 19:27:07,517] WARN Unable to report to Graphite (com.codahale.metrics.graphite.GraphiteReporter)
	at com.codahale.metrics.graphite.Graphite.connect(Graphite.java:129)
	at com.codahale.metrics.graphite.GraphiteReporter.report(GraphiteReporter.java:265)
	controller.graphite.host : <IP_ADDRESS>
	controller.graphite.port : 2003
	controller.graphite.report.freq.in.sec : 60
	controller.enable.graphite.report : true
	controller.graphite.host : <IP_ADDRESS>
	controller.graphite.port : 2003
	controller.graphite.report.freq.in.sec : 60
	controller.enable.graphite.report : true
No available client connector supports the required protocols: 'WAR' . Please add the JAR of a matching connector to your classpath.

uber replicator is running fine, just metrics arent and i get this error. Can anyone let me know what jar file i should add to path?

@yangy0000 , would appreciate if u help out here :D
Please add the JAR of a matching connector to your classpath.

which jar file should i add to classpath and how?
https://javadoc.io/doc/io.dropwizard.metrics/metrics-graphite/latest/com/codahale/metrics/graphite/package-summary.html
Is this jar file?

we didn't add any additional JAR into our classpath.
which branch you are using?

I am using master branch

Can you also put an example for graphite metrics as well?
'''
-graphiteHost {{ graphite_host }}
-metricsPrefix {{ helixClusterName }}-controller
-graphitePort 2003"
'''
It used to work before worker change you guys did 😄

Test metric at local, it is working,  the error "No available client connector" is irrelevant, I saw this error too.
The command I use in additional to the regular parameter is  -graphitePort 2003  -graphiteHost localhost -metricsPrefix test-controller  -env dc1.zone1
Metric start with prefix "stats.dc1.counter.test-controller.zone1"
From your error log "WARN Unable to report to Graphite (com.codahale.metrics.graphite.GraphiteReporter)
at com.codahale.metrics.graphite.Graphite.connect(Graphite.java:129)
at com.codahale.metrics.graphite.GraphiteReporter.report(GraphiteReporter.java:265)"
it looks like Graphite is not reachable

Thanks figured it out! :) path has changed! Before I didnt have to specify stats.dc1.counter now i have to! Will fix dashboards in my grafana!

great it worked, this change was part of the federated ureplicator release. sorry it breaks the backward compatibility

Thanks, @yangy0000 ! No worries! Also is it difficult to output Prometheus metrics instead?

it's not difficult but probably needs to touch many code. Alternatively, you should able to use https://github.com/prometheus/graphite_exporter to output Prometheus metrics


compile bug

could you please provide your version of python
there are some problems when use kernels
RuntimeError:
The detected CUDA version (11.7) mismatches the version that was used to compile
PyTorch (12.1). Please make sure to use the same CUDA versions.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for selective_scan
Running setup.py clean for selective_scan
Failed to build selective_scan
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (selective_scan)

Hi @ZhiyiHe1997 ,
The problem seems to be caused by the mismatch between pytorch and CUDA, instead of python version.
Best,

Hi @ZhiyiHe1997 ,
May I ask did you solve the issue?
Best,


Requery 1.2.1 does not handle views properly.

In 1.2.0 a feature was added expose views with the @View annotation. I have a problem in 1.2.1 that occurs when the view does not yet exist in the DB it is created as a table by requery, which causes an error when one wants to create the view.
e.g.
java.lang.RuntimeException: Unable to start activity ComponentInfo{ActivityName}: android.database.sqlite.SQLiteException: use DROP TABLE to delete table MyView (code 1): , while compiling: DROP VIEW IF EXISTS MyView
It seems to work fine when the view is created first. I create the DB from code, so it causes issues for me.
I'm using requery 1.2.1 and Kotlin 1.1.1 on Android

Views are specifically excluded from any generated create or drop statements (https://github.com/requery/requery/blob/master/requery/src/main/java/io/requery/sql/SchemaModifier.java#L279) Your view entity will have setView(true) in the generated code, are you sure that's the case?

It's set.  I'm currently using 1.2.0 as 1.2.1 was causing problems with my join queries (logged as different issue).
 public static final Type<ViewNameEntity> $TYPE = new TypeBuilder<ViewNameEntity>(ViewNameEntity.class, "view_name")
    .setBaseType(ViewName.class)
    .setCacheable(true)
    .setImmutable(false)
    .setReadOnly(false)
    .setStateless(false)
    .setView(true) // <--- Entity set as a view
    .setFactory(new Supplier<ViewNameEntity>() {
        @Override
        public ViewNameEntity get() {
            return new ViewNameEntity();
        }
    })
    .setProxyProvider(new Function<ViewNameEntity, EntityProxy<ViewNameEntity>>() {
        @Override
        public EntityProxy<ViewNameEntity> apply(ViewNameEntity entity) {
            return entity.$proxy;
        }
    })
// addAttributes ...
    .build();

Found the problem with this property not being carried over from the builder, will be fixed in the next release

version 1.3.0 contains this fix


How do I change the options for the player?

How do I change the options of the player like whether if it can double jump?

Hey, this is all done through noa's entity component system.
You'll see that noa has a playerEntity property, this will give you the id of the player entity.
From that, you can access the player's components and states through noa.entities.
For example, you can modify the number of jumps the player can do like so:
// Get the player's movement state
const movementState = noa.entities.getMovement(noa.playerEntity);

// Don't allow double jumps
movementState.airJumps = 0;

// Allow one air jump (double jumps)
movementState.airJumps = 1;

// Allow two air jump (triple jumps)
movementState.airJumps = 2;

Hope that helps!

I'll just add - many settings can be passed in as properties on the options object, but adding a setting for max air jumps is one I haven't gotten around to yet. But yeah, the runtime value for all entity settings lives in state objects in the ECS.

Thanks for the answer! It work perfectly. Have a good day!


mute/ turn off reposts for specific users

some people post/repost a lot and I would like to mute certain people I follow from seeing their reposted content to my feed but not everyones.
currently the only option is turning off reposts from everyone which isnt the idea situation.
Solution - ability to mute (hide seeing specific users reposts on my timeline)

On the roadmap: https://github.com/bluesky-social/social-app/issues/1116


[bug fix] White-Screen Flicker

solves #318

This causes the re-rendering again, looking at options to fix

Should be good now I think.


Indexing a ClusterSample with an integer returns None

It'll be a problem in the getitem method of BaseSample I imagine.

This was because I was indexing with a numpy integer, and though I had defined a ValueError, I had forgotten to raise it. Numpy integers and now supported and the ValueError works


dotnet watch test does not run unit tests

Hi,
I am porting a lib to .NET Core and are currently writing unit tests for it.
When I run dotnet test, the tests run as expected. However, when I run dotnet watch test, I get the following:
[DotNetWatcher] info: Running dotnet with the following arguments: run -- test
[DotNetWatcher] info: dotnet process id: 61181
Project XXX (.NETCoreApp,Version=v1.0) was previously compiled. Skipping compilation.
Hello, World!
[DotNetWatcher] info: dotnet exit code: 0
[DotNetWatcher] info: Waiting for a file to change before restarting dotnet...

It seems dotnet watch runs the project instead of running the tests.

If you're using RC2 bits, the command line syntax is: https://github.com/aspnet/dotnet-watch/blob/release/README.md
If you're using RC3 bits, the command line syntax is: https://github.com/aspnet/dotnet-watch/blob/dev/README.md
Based on you're log, I think you're using RC2. So, to run dotnet test run dotnet watch --command test --

Yeah, you're right in that I'm using RC2, and the line you posted worked. Thanks a million!


Added ESLint to cli-common package

Adds the no-top-level-material-ui-4-import ESLint rule to the cli-common package to aid with the migration to Material UI v5.
Issue: #23467

@binishma-ss gonna close this, as this package will never depend on mui as it's a cli package.


Notifications don't stop when the disconnection is triggered by the device side

Describe the bug
Notifications don't stop when the disconnection is triggered by the device side. Future BleClient.startNotifications won't work for future reconnections in that situation. Using BleClient.stopNotifications inside onDisconnect  doesn't help as the device is already disconnected at that point.
To Reproduce
Steps to reproduce the behavior:

connect to a device
call BleClient.startNotifications
power cycle the device
try to connect again

BleClient.connect(device.deviceId, async (disconnectDeviceId: string) => {
  try {
    await BleClient.stopNotifications(
      disconnectDeviceId,
      CONSTANTS.UUID16_SVC_BATTERY,
      CONSTANTS.UUID16_SVC_BATTERY_CHAR_BATTERY_LEVEL,
    );
    await BleClient.stopNotifications(
      disconnectDeviceId,
      CONSTANTS.UUID128_SVC_NORDIC_UART,
      CONSTANTS.UUID128_SVC_NORDIC_UART_CHAR_TXD,
    );
  } catch (error: any) {
    console.warn(`onDisconnect: ${error.message}`);
  }
}),

Expected behavior
Notification should stop when the disconnection is triggered by the device side
Plugin version:

@capacitor-community/bluetooth-le: 3.1.1

I cannot reproduce this. On which platform is this happening (iOS or Android)? Can you share the native logs?


Updates to Personal Info page.

Please check if the PR fulfills these requirements:

[x] After these changes, the app was run and still works as expected
[ ] Unit tests for these changes were added (if applicable)
[x] All existing unit tests were run and still pass

Please specify the type of change this PR introduces (Bug fix, feature addition, content update, chore, etc.):
Additional Notes:

No, not possible. The province field is a dropdown.


fix category nav for real this time. Checked side category menu and c…

…licking on market card sub category and leaf category with testing back button. seems to be working well.
https://github.com/AugurProject/augur/issues/7510
added efficiency to not refresh market list page if user logs in and hasn't changed default filters. Same on logout.

what is the URL? after clicking the market card category?

what is the URL? after clicking the market card category?

1st click, clicking on Btceur (Crypto - Bitfinex) -> http://localhost:8080/#!/markets?category=crypto%2Cbitcoin%2Cbtceur (crypto - bitfinex)
2nd click, clicking on bitcoin -> http://localhost:8080/#!/markets?category=crypto%2Cbitcoin
3rd click, clicking on bitcoin again -> http://localhost:8080/#!/markets?category=bitcoin

PR updated


enable jupyter ai

I'd suggest making the file name an env var since it's used in several places

👍