Admin updates for support

While reviewing some support tickets with @Thespi-Brain and @di, a few things were noticed that could be improved:

Surface Organization membership in user detail
Surface Organization invitations in user detail
Surface Project invitations in user detail
Expose all available User.events in admin (not just most recent)
When resetting a password via admin, set a unique status (and improve the email! we were sending the "compromised" one!)

Email unverified:

Project invitations:
Note: the intended role is encoded in the token, so it's hard to unwrap in the template. We really only need to know that someone has been invited so I think this is fine?

Organization membership and invitations:
Note: the intended role is encoded in the token, so it's hard to unwrap in the template. We really only need to know that someone has been invited so I think this is fine?


Added New Project in JavaScript

Description 📜
I have added project "Expanding Cards" in the JavaScript folder by using HTML, CSS & JS.

Thanks for contributing,
Regards,
Team Technocrats


Combination with cocoon gem: Upload of base64 string works for creating a nested object, but not for updating it

In my project I figured out that your gem works perfectly in normal forms: I can easily upload base64 strings using a textarea, and your gem transforms it into a file. This works for both creating and updating objects.
I'm using https://github.com/nathanvda/cocoon gem which allows me to manage nested objects within the form of a parent object. Using it, it seems still to be possible upload a base64 string when creating a nested object, but when updating it, it doesn't work: it simply keeps the originally uploaded file.
I have created a test Rails app, so you can check it out: https://github.com/jmuheim/test-carrierwave-base64-update
Simply start the Rails server, and play around on localhost:3000/users:

Create a user and upload both a normal file and a base64 string file (I have added two base64 image strings to the form so you can simply copy&paste them)
Update the user and change both the normal file and the base64 string file => this works nicely
Now add an attachment to the user (click "add attachment" in the user form)
Do the same thing: add a normal and a base64 string file => works perfectly
Then try to update the attachment with a new file and a new base64 string => this works only for the normal file, not for the base64 file!

It would be really nice to get this to work. Any suggestion? I tried to debug, and all I can say is that it looks to me like everything seems to be passed perfectly from the form to the model, all the params look okay to me, and the base64 string seems to be passed properly to the nested object, too. But somehow it's not really saved to the disk... No idea what could be the difference between a normal and a nested update of attributes, and why create and update should be any different.
Thanks a lot for help! Tell me if I can support you in some way (e.g. writing pending specs for my dummy app which you could try to make pass).

I have added model specs, and in the specs, the update works as expected.
https://github.com/jmuheim/test-carrierwave-base64-update/commit/bd6a40923c159b71a9ef240b760ba3651cf648cf
So it seems it's not a problem on the model's level.
I will try to add feature specs, showing the problem...

I added feature specs which I hoped would show the problem, but somehow it seems to work in the specs, but not in the "live" browser, see here:
https://github.com/jmuheim/test-carrierwave-base64-update/blob/master/spec/features/users_spec.rb#L48
As @nathanvda, the creator of the cocoon gem, helpfully pointed out: it seems that when only setting the base64 string to a new string and no other attribute of the nested object, no update happens. But when in addition to the base64 string another attribute of the nested object is changed, then the update happens as expected, even for the base64 string:
https://github.com/nathanvda/cocoon/issues/311#issuecomment-134764492
So it seems to be some problem with ActiveRecord not being notified of an attribute change when only the base64 string was changed. You can reproduce this behaviour easily in the browser:

Create a user with an attachment
Edit the user:

When you only set the base64 string to a new one, it won't be saved as a new image
When you set the base64 string to a new one and also set a new name, the name and the base64 string are saved

I have no idea why in the specs it works but not in the "live" browser. Any help fixing this problem is highly appreciated. Thanks.

I'll be on holidays the next week. It would be very nice to see some progress here until then, as our application heavily depends on your gem in combination with nested attributes and cocoon.
If I can be of any help afterwards, please ask. Thank you.

I will take a look in a couple of days, had no time yet
On Fri 28 Aug 2015 at 15:51 Joshua Muheim<EMAIL_ADDRESS>wrote:

I'll be on holidays the next week. It would be very nice to see some
progress here until then, as our application heavily depends on your gem in
combination with nested attributes and cocoon.
If I can be of any help afterwards, please ask. Thank you.
—
Reply to this email directly or view it on GitHub
https://github.com/lebedev-yury/carrierwave-base64/issues/16#issuecomment-135779930
.

It's great to hear that you're planning to take care of it. I'm very eager to know where exactly the problem lies. Be sure to take also a look at the corresponding ticket at cocoon's side:
https://github.com/nathanvda/cocoon/issues/311
Best wishes.

The problem was that the attribute was not marked as updated by the carrierwave gem. Your text app works as expected with the new version of carrierwave-base64.
Sorry that it took a while for me to fix it, i was on vacation the last week.


Materials: Add plug-ins even if the material has already been used for rendering

Test PG: https://playground.babylonjs.com/#BC851Q

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/15710/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15710/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15710/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15710/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15710/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15710/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15710/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15710/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15710/merge/testResults/webgpuplaywright/index.html

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15710/merge/testResults/webgl2playwright/index.html


Cut v3.2.0 release candidate

It's been a little while since we've had a release and we intend to make some breaking changes soon to remove ETSI lints.
Scanning the diff between v3.1.0 and master I think the changes justify a minor release. I don't see anything that merits a major release bump. Here''s my quick summary:

zcrypto updates (ea3fdbd5ea2)
gtld updates (2021-04-22)
Switched project to Go 1.16
Added -version flag to zlint/zlint-gtld-update.
Support for lint IneffectiveDate to complement EffectiveDate.
Misc typo fixes.
RFC lint updates:

Fixed e_serial_number_not_positive to forbid zero.
Fixed e_subject_given_name_max_length boundary.
Fixed e_subject_surname_max_length boundary.
Added w_subject_given_name_recommended_max_length lint.

Mozilla lint updates:

Added lint e_prohibit_dsa_usage effective as of March 31st, 2017.

CABF_BR lint updates:

Changed lint e_dsa_params_missing, ineffective as of August 20th, 2020.
Added lint e_br_prohibit_dsa_usage effective as of August 20th, 2020.

Updates for contributors:

cert generation resources.
static analysis for lint function ordering.

Things that might be nice to try and have addressed for this release:

#593 (needs an existing lint tweaked slightly and a new lint split off)
#601 (blocked on MDSP discussion)

We'll save linting profiles (in review) + removing ETSI lints for a near-future v4.0.0.

Cut the RC to https://github.com/zmap/zlint/releases/tag/v3.2.0-rc1 and shot out the call for testing.

LE/ISRG has tested and everything seems good on our end: https://github.com/letsencrypt/boulder/pull/5442

Thank you @aarongable!
Seemed reasonably move forward and cut v3.2.0.

Thanks @christopher-henderson !


[WIP] Add classify task

This PR will add a simple way to perform inference on a single/multiple subject using the pretrained models. The command line should be like this:
clinicadl classify <caps-dir> <tsv-file> <model-path>

Hello @mdiazmel! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file clinicadl/clinicadl/classify/inference.py:

Line 16:1: W293 blank line contains whitespace
Line 45:27: W291 trailing whitespace
Line 47:13: E126 continuation line over-indented for hanging indent
Line 47:30: W291 trailing whitespace
Line 56:13: E126 continuation line over-indented for hanging indent
Line 56:30: W291 trailing whitespace
Line 57:30: W291 trailing whitespace
Line 58:35: W291 trailing whitespace
Line 60:13: E123 closing bracket does not match indentation of opening bracket's line
Line 60:14: W291 trailing whitespace
Line 61:1: W293 blank line contains whitespace
Line 63:13: E126 continuation line over-indented for hanging indent
Line 68:13: E123 closing bracket does not match indentation of opening bracket's line
Line 71:13: E128 continuation line under-indented for visual indent
Line 71:24: W291 trailing whitespace
Line 72:13: E128 continuation line under-indented for visual indent
Line 72:25: W291 trailing whitespace
Line 73:13: E128 continuation line under-indented for visual indent
Line 73:25: W291 trailing whitespace
Line 74:13: E128 continuation line under-indented for visual indent
Line 74:23: W291 trailing whitespace
Line 75:13: E128 continuation line under-indented for visual indent
Line 76:13: E124 closing bracket does not match visual indentation
Line 79:5: E303 too many blank lines (2)

Hi @14thibea ,
Thanks for your feedback.

I had two main questions about the classify pipeline because I am not sure anymore what have been decided:

Nothing has been decided yet ;). Concerning your questions:

can it be executed on tsv files which do not contain the true label ? (only a subject/session list)

My personal feeling is that the final goal of a diagnostic support system is to provide an output on unlabeled data. Of course, clinicadl is an experimental tool (and users should be aware of what that means), but we may leave the choice to the users. (If we decide to go this way, I need to change some parts of the code.)

do we want to let the users the possibility to store the results where they want (and not in a folder inside the experiment folder) ? If they can freely choose they may lose the traceability between the file and how it was obtained, but it may be too much constraints and experiments folders may become heavy. I don't know what is better.

I'm agree that the choice is not easy. Concerning the traceability, users can argue in a simply manner that a X or Y pretrained-model was used to find the results (traceability of models is guarantee with the json files). Another approach can be to propose some kind of BIDS/CAPS output structure to store results... maybe @alexandreroutier can give us some ideas.


Release job failed at 1.25.1

Release jobs failed at 1.25.1.
https://github.com/casey/just/releases/tag/1.25.1

https://github.com/casey/just/actions/runs/8217664170/job/22473612069
error[E0425]: cannot find value `MAP_32BIT` in crate `libc`
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.11.1/src/sys/mman.rs:53:9
   |
53 |         MAP_32BIT;
   |         ^^^^^^^^^ not found in `libc`

For more information about this error, try `rustc --explain E0425`.
error: could not compile `nix` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
Error: Process completed with exit code 101.

This seems to be in some way a consequence of pinning ctrlc to 3.1.1 (https://github.com/casey/just/commit/9d6a25152840d1d697009bd5e49f514406c95ef2) since that's the one commit that separates v1.25 from v1.25.1.

Okay, take two! I just published [1.25.2], which hopefully fixes this!

I can confirm that the issue is fixed in 1.25.2, at least in Void's CI.


use mojo file reader, remove read/ folder

Had to start from 0 to keep it clean,
i struggle with git sorry

Yes, sorry about that, fixed,
also, the file descriptor got not closed, now fixed;
just make sure the weights are the same, and that it all works fine
the commit history is messed up:

i don't know if you can help modify commits and make it cleaner
:+1:  you can just copy/paste the changes and do a clean commit from your side if you want
(i still struggle understanding the checkout concept)

Might wait for next release (see ticket 1062)

commit history is not an issue, we have this wonderful feature when merging

FWIW, it might not be that important here to avoid holding 2 copies of the weights.  I understand the motivation not to but in the next steps when weight tensors are created new pointers are created by explicitly copying the data.  So that is the bottleneck for memory usage.  Any optimisations that don't remove those copies when making tensor weights won't matter.
Also from watching the memory consumption on my M1 MacBook as it runs TinyLlama the memory usage peaks at ~4.5 GB.  So I think there is some memory optimisation (possibly MacOs specific) already happening somewhere.  It could also be that it only briefly hits the double memory and somehow my monitoring tools ignore the spike.

Thanks @mikowals for sharing your insights and the results of your observations.
I must use that mem_usage feature I implemented in a custom fork of hyperfine -- https://github.com/tairov/hypertune that can grab RSS of executed commands to collect details about actual memory consumption.

based on @mikowals  observations i tried to do some modifications in order to do no copies:

fn load_weights(*dims: Int) raises -> TensorF32
fn read_file(file_name: String, inout buf: FileBuf)
struct FileBuf:

it is using offsets instead of allocating for weights,
the program does end with a free() error
But does it consume less memory ?
https://github.com/rd4com/llama2.mojo/tree/no_copy

@rd4com that branch reimplements the error that copying was put in to avoid.  For better or worse Tensor owns its pointer and will free it.  I probably should have linked to the bug report (that turned out not to be a bug) in my comment above the copy.
Another approach to eliminate the copy would be to fuse read_file, TransformerWeights.__init__, and config_init so that a FileBuf does not need to be created and passed around.  To get memory benefit from this I think it still requires reading the binary file in portions or as a stream.  This is kind of a work around for the memory ownership but the binary file format also already tightly couples the functions so fusing them is also justified on that basis.
I also made a branch using NDBuffer which is very similar to Tensor but doesn't own the weights.  So it was probably a better drop in replacement for Matrix but I didn't learn about it until later.  It runs slightly slower than the Tensor version I think because NDBuffer's getters and setters use multi-dimension indices so that pulls the pointer offset calculation into the innermost loops.   But this would be an option if the copy required by Tensor is a problem.  But I expect Tensor will become the standard type for LLMs and will evolve the features and behaviours to make writing efficient code simple.

It is possible to get the pointer out of the buffer, and give each tensors an offset,
this allows zero copy and negate the tensor "free":

allocating 1 byte on each tensors in the __del__ of TransformerWeights

but it is not good practice maybe.
It might be better to wait for your features requests to get implemented in order to read in batches:

less bugs
good practice
better learning experience for thoses who get introduced to mojo trough your repo

a branch is a possibility for thoses who want to load huge models,
what do you think ?

got error on mojo 0.5.0
/private/tmp/llama2.mojo/llama2.mojo:434:13: error: invalid mutation of immutable value 'fd.handle'
    fd.close()
            ^
/private/tmp/llama2.mojo/llama2.mojo:432:5: note: 'fd' declared here
    let fd = open(file_name, "r")
    ^
mojo: error: failed to run the pass manager


Not ideal for MMOs?

I saw mention here and here about using other libs (potentially raknet/slikenet) for something like an MMO, but I couldn't find much beyond that. Mind giving a quick explanation of why?
Thanks.

MMOs have lots of players. Generally, you need to spend a lot of time optimizing your socket layer to support many simultaneous connections. I've already done that for this library, and it's reasonable up to 256 simultaneous connections, but beyond that I make no guarantees, and I think you'll need to optimize parts of the library.
So, in short, you're welcome to try to use it. I think there's probably places where you'll want to optimize away O(n) walks across session arrays. But aside from that, netcode is as good as any library for an MMO.
cheers

Glenn

Thanks for the elaboration!


Add test case for SQLConnector Close Action

add a test case to see whether SQLConnector Close Action works as expected, related improvement pull request is [1] and jira is [2]
[1] - https://github.com/ballerinalang/ballerina/pull/2183
[2] - https://github.com/ballerinalang/ballerina/issues/2182

test merged, hence resolving


feat: pagination on accounts listing

Description
This PR adds pagination to the accounts API and accounts page on the frontend
Look & Feel

How to test
Steps to test it or name of the tests functions.
Visit the accounts page.
Further Improvements
None
Related Items
This PR closes #1155

[x] I agree to contribute to the project under Apache 2 License.
[x] To the best of my knowledge, the proposed patch is not based on code under GPL or other license that is incompatible with FlexMeasures

I believe we can delete some code in the UI code which gathers accounts for the page. Only then the loading of the page will actually improve.

True

Great, please add a changelog entry, then we can merge!

Ok, adding that...


[BUG] - Attacking creature protected by roof has some delay

Describe the bug
There seems to be a movement delay whenever the character attacks a creature that is protected by a roof.
The target creature is None since the "red border" is not showing when roof is on the screen.
To Reproduce
Steps to reproduce the behavior:

Watch bot attacking a creature protected by a roof

Expected behavior
The character should immediately go and attack the creature.
Screenshots

Desktop (please complete the following information):

Windows 10
Tibia Version 12.64

@GuizinhoYT can you test this for all directions?

Done!


fix: do not swallow property testing errors when infeasible trees are found

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

#129  👈
#128
main

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

Join @pevisscher and the rest of your teammates on  Graphite


add flake

This works well for me. 👍

@apeschar nice to hear that someone (besides me) actually uses this :-)
i've just force pushed to this branch. tried to simplify things a bit, also making sure that the old overlay deployment still works.
can you check if the flake still works in your setup? then we should be ready to merge.

I was glad to find someone had already packaged check_mk_agent for NixOS, and even happier to find this PR. :)
The overlay still works well in my setup. I'm not using the NixOS module, just adding the overlay to nixpkgs. (Because I use SSH to run check_mk_agent from my monitoring host.)

thanks for the feedback!


invalid argument 5: k not in range for dimension at /pytorch/aten/src/THC/generic/THCTensorTopK.cu:26

I try to train your model with modelnet40 dataset ,bug I got a hit "invalid argument 5: k not in range for dimension at /pytorch/aten/src/THC/generic/THCTensorTopK.cu:26".
Did you meet the same issue?   When I test modelnet ckpt with my own dataset, I got same error. Do you know why?

hi,
The bug occurs when you have less than 10 superpoints in the bottleneck(then the DGCNN part fails). Please consider adjusting k here:   https://github.com/ShengyuH/OverlapPredator/blob/9772bb65fc06b9f576054620a3a2da7a49d4ace7/configs/test/modelnet.yaml#L32
We use try/catch scheme to skip these pairs in our experiments.

hi,
The bug occurs when you have less than 10 superpoints in the bottleneck(then the DGCNN part fails). Please consider adjusting k here:
https://github.com/ShengyuH/OverlapPredator/blob/9772bb65fc06b9f576054620a3a2da7a49d4ace7/configs/test/modelnet.yaml#L32
We use try/catch scheme to skip these pairs in our experiments.

Thanks for your reply. I change dfcnn_k to 0, but it is useless . I fix that by change  first_subsampling_dl to 0.01.  The bug maybe caused by subsampling.

hi,
Please be really careful when changing first_subsampling_dl value. This determines the effective receptive field and thus the final performance.

Please reopen this issue if your find further questions


JDK not found by program

Question

I installed the program Blue (https://blue.kunstmusik.com) which needed a Java 11 SDK so I installed OpenJDK11U-jdk_x64_windows_hotspot_<IP_ADDRESS>_1.
I used the option to add JAVA_HOME and I checked this is pointing to C:\Program Files\AdoptOpenJDK\jdk-<IP_ADDRESS>-hotspot\
But for some reason the program is not able to find the java install.
Am I missing something?
Thanks Frank
Context
Java version:

C:\Users\frmau>java -version
openjdk version "<IP_ADDRESS>" 2020-11-04
OpenJDK Runtime Environment AdoptOpenJDK (build <IP_ADDRESS>+1)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build <IP_ADDRESS>+1, mixed mode).
Your operating system and platform:
Windows 10 64bit

I suggest reading the docs of Blue or asking the creators of Blue how Blue expects to find the JDK. Otherwise it's hard to say what might be wrong.
Normally, programs look at PATH (should point to C:\Program Files\AdoptOpenJDK\jdk-<IP_ADDRESS>-hotspot\bin) or JAVA_HOME (looks accurate in your example). A restart might help, too.

Also check that you're dealing with the space character in Program Files correctly

Thank you very much. The creator of Blue did come up with an answer even if he didn't figure out why it was not working as expected.
Thanks again
Frank

@frmaurer99 Would be great if you could tell us what the problem was in case somebody needs help in the future.

The problem was that the program did not know where the JDK was installed as per the original question. The recommended fix was to add a jdkhome directory path to the blue.config file. This entry already existed in the file but was commented out so all I had to do was copy the corresct path into the value and un-comment the line.


expanding dimension to solve the dimension incompatibility

Solving value error in code block 55:

ValueError                                Traceback (most recent call last)
 in <cell line: 25>()
23 #inputs = processor(single_patch, return_tensors="pt")
24 #Now try with bounding boxes. Remember to uncomment.
---> 25 inputs = processor(single_patch, input_points=input_points, return_tensors="pt")
26
27 # Move the input tensor to the GPU if it's not already there
5 frames
/usr/local/lib/python3.10/dist-packages/transformers/image_utils.py in infer_channel_dimension_format(image, num_channels)
198         first_dim, last_dim = 1, 3
199     else:
--> 200         raise ValueError(f"Unsupported number of image dimensions: {image.ndim}")
201
202     if image.shape[first_dim] in num_channels:
ValueError: Unsupported number of image dimensions: 2

pip install transformers==4.36.2 可以解决这个问题


missing autoupdate for motion text length config

Set in the OS Settings for motions a line length of 70.
create now a new motion
paste e.g. this text:
"In political parties it is common that a commission has to have a look at hundreds of motions. Their job is to deny invalid motions and to give recommendations. Therefore it would be an improvement in the workflow if one would be able to import the motions with the recommendation. At the moment one would have to set the recommendation for every motion which could take a lot of time."
save the motion and project it

result: still up to 80 chars fill a line. This is a regression to prior OS 2.1 versions where this worked.
Moreover, assume the case that you have e.g. 20 motions using 80 chars line length. Now you see in the rules that only 65 chars are allowed in one line. Therefore you change the line length to this value. result. nothing happens. I expect all motions to be changed automatically. Otherwise it would be a nightmare in real life.

You have to reload after changing the line length config. Then the changed value is used for new line length calculation.
We have to add autoupdate for this config value.

You have to reload after changing the line length config.

Aha. Nevertheless, this corrects the view in the projector, but in the projector preview still the default 90 characters are used. Should I open this as new bug?

Should I open this as new bug?

Done: #3143
I added now a hin to the docs that one needs to refresh the page view to get the changed line length.

@CatoTH I've added a console.log(lineLength); here. If you change the line length, the projector gets an autoupdate, the getTextWithLineBreaks gets called (the console.log is called) and I've got the correct new line length in this function. But the view doesn't update. Please have a look.

This appears to be a problem with the caching. The PR should fix it by adding the line length to the cache key.


readme: add crates.io and docs.rs badges

Codecov Report

Merging #17 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #17   +/-   ##
======================================
  Coverage    97.9%   97.9%
======================================
  Files           3       3
  Lines         381     381
======================================
  Hits          373     373
  Misses          8       8

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8f17aea...31e07b7. Read the comment docs.


Chakra failed when build with std:c++latest by msvc on Windows

Chakra failed when build with std:c++latest by msvc on Windows. Could you please help take a look at this?
You can repro this issue as the steps below:

git clone -c core.autocrlf=true https://github.com/microsoft/ChakraCore D:\Chakra\src
open a clean VS2019 x86 prompt and browse to D:\Chakra\src
set CL=/std:c++latest
msbuild /m /p:Platform=x86 /p:Configuration=Test /p:WindowsTargetPlatformVersion=10.0.18362.0 Build\Chakra.Core.sln /t:Rebuild

Failures:
JsrtContextCore.i
JsrtContextCore.i(1558483): error C2220: the following warning is treated as an error
JsrtContextCore.i(1558483): warning C4499: 'static': an explicit specialization cannot have a storage class (ignored)
JsrtContextCore.i(1558485): warning C4499: 'static an explicit specialization cannot have a storage class (ignored)
JsrtContextCore.i(1558487): warning C4499: 'static': an explicit specialization cannot have a storage class (ignored)

Hmm - I don't have a setup with the latest msvc to test on.
Could you experiment with removing the static keyword here: https://github.com/microsoft/ChakraCore/blob/bf4e24df02b2140ce87b1a827e1cfefb08a7e5c7/lib/Jsrt/Core/JsrtContextCore.h#L22 and see if that helps.
The issue at a glance looks to relate to how the JsrtContextCore class extends and in some places overwrites parts of the JsrtContext class - as an aside this highlights a refactoring opportunity; we should probably combine these two classes as the difference is historic and not functional.
(JsrtContextCore is components not included in ChakraFull/chakra.dll)

Thanks for your solution.  I updated my source. It failed remain. Could you please help take again? I attached ".i" file.
RuntimeMathPch.zip

Thanks for your solution. I updated my source. It failed remain. Could you please help take again? I attached ".i" file.
RuntimeMathPch.zip

I can't find the error/warning in that file, is it still the same error as before? Can you point me to the relevant line/section?

I installed VS2019 to look at this a little further. There are several features used in CC's codebase that are deprecated in C++17 or higher so it's not surprising it won't build with C++latest.
We may well seek to fix this in the future but it's not just one line of code to change so not going to be immediate, for now you'll need to use std=C++14 or even C++11 if you want to build it out of the box.

@rhuanjl sorry for the confusion, same error as before. I attach new repro file: RuntimeByteCodePch.i.txt
This issue cannot be reproduced on the released MSVC, but we can help test once you fix it.
D:>cl /TP /W4 /WX /wd4458 /wd4312 /wd4163 /c /EHsc /std:c++latest /Gz RuntimeByteCodePch.i /d1db161
RuntimeByteCodePch.i
RuntimeByteCodePch.i(1585686): error C2220: the following warning is treated as an error
RuntimeByteCodePch.i(1585686): warning C4499: 'static': an explicit specialization cannot have a storage class (ignored)
RuntimeByteCodePch.i(1585688): warning C4499: 'static': an explicit specialization cannot have a storage class (ignored)
RuntimeByteCodePch.i(1585690): warning C4499: 'static': an explicit specialization cannot have a storage class (ignored)
D:>cl /TP /W4 /WX /wd4458 /wd4312 /wd4163 /c /EHsc /std:c++latest /Gz RuntimeByteCodePch.i
RuntimeByteCodePch.i
F:\gitP\microsoft\ChakraCore\lib\Runtime\Language\DynamicProfileInfo.h(645): error C2220: the following warning is treated as an error
F:\gitP\microsoft\ChakraCore\lib\Runtime\Language\DynamicProfileInfo.h(645): warning C4499: 'static': an explicit specialization cannot have a storage class (ignored)
F:\gitP\microsoft\ChakraCore\lib\Runtime\Language\DynamicProfileInfo.h(647): warning C4499: 'static': an explicit specialization cannot have a storage class (ignored)
F:\gitP\microsoft\ChakraCore\lib\Runtime\Language\DynamicProfileInfo.h(649): warning C4499: 'static': an explicit specialization cannot have a storage class (ignored)

Hello, any updates?

@QuellaZhang I did a slightly more extensive review of the ChakraCore code base - there are several issues you'll run into trying to build with the latest standards, not just the one highlighted here.
Currently ChakraCore has a C++11 codebase, it uses some features deprecated in C++14,17 and 20 in more than one place.
I am happy to review and merge (if appropriate) any PRs to fix such issues, so please open a PR if you'd like to.
(I have too many other changes I'm working on that I need people to review for me to be making any PRs for C++ standards related points at the moment.)


Can np.zeros_like(awkd_array) have a dtype argument?

Normally np.zeros_like can be given a dtype argument, like;
import numpy as np
cat = np.array([1, 2])
mask = np.zeros_like(bird, dtype=bool)

It's particularly useful when creating masks, but I've used it to ensure and array is an int array too.
When used on an awkward array this throws an error;
In [1]: import awkward

In [2]: import numpy as np

In [3]: dog = awkward.from_iter([2, 5])

In [4]: mask = np.zeros_like(dog, dtype=bool)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-4-8daf51a4c0a1> in <module>
----> 1 mask = np.zeros_like(dog, dtype=bool)

<__array_function__ internals> in zeros_like(*args, **kwargs)

~/Programs/anaconda3/envs/tree/lib/python3.7/site-packages/awkward/highlevel.py in __array_function__(self, func, types, args, kwargs)
   1396         See also #__array_ufunc__.
   1397         """
-> 1398         return ak._connect._numpy.array_function(func, types, args, kwargs)
   1399
   1400     @property

~/Programs/anaconda3/envs/tree/lib/python3.7/site-packages/awkward/_connect/_numpy.py in array_function(func, types, args, kwargs)
     26         return NotImplemented
     27     else:
---> 28         return function(*args, **kwargs)
     29
     30

TypeError: zeros_like() got an unexpected keyword argument 'dtype'

There are plenty of ways round this, but it would be neat if it did work.

I agree. If ak.zeros_like, ak.ones_like, and ak.empty_like had a dtype argument, it would be implemented by simply running the function as usual and replacing the output with a call to ak.values_astype.
Here's where the three "like" functions are defined (in terms of each other):
https://github.com/scikit-hep/awkward-1.0/blob/4a860e775502f9adb953524c35c5a2de8f7a3181/src/awkward/operations/structure.py#L1050-L1240
I'd welcome a pull request that does this. (Note that values_astype is defined in the same module, so its name does not need to be qualified.)

Neat, I'd love to give that a try, but I don't know the etiquette. Is it normal to include updates to the unit tests in the same pull request when adding a feature?

Including a test would be ideal; the naming convention for test files is derived from either the issue number (0813) or the PR number (some PRs aren't associated with an explicit issue). That way, you don't need to modify any other test files, but you can use them as an example of format. Other than that, it's a normal PR process.
Since this is a Python edit, you don't need to use the localbuild.py script described for incremental development in the CONTRIBUTING.md, you can use
python -m pip install -v -e .

which I just learned about. The -e means that when you edit a Python file, it immediately shows up in the installed library. I need to add a description of that to CONTRIBUTING.md.

Thanks, that makes sense. Also CONTRIBUTING.md is very helpful, that preempted a lot of the mistakes I would have made. I will give it a go now.

For what it's worth, python -m pip install -v -e . didn't work for me but python localbuild.py --pytest tests did work.
Here is the tail end of the install;
    [100%] Built target awkward
    Install the project...
    -- Install configuration: "Release"
    -- Installing: /home/henry/Programs/awkward-1.0/build/lib.linux-x86_64-3.9/awkward/libawkward-static.a
    -- Installing: /home/henry/Programs/awkward-1.0/build/lib.linux-x86_64-3.9/awkward/libawkward.so
    -- Installing: /home/henry/Programs/awkward-1.0/build/lib.linux-x86_64-3.9/awkward/libawkward-cpu-kernels.so
    -- Installing: /home/henry/Programs/awkward-1.0/build/lib.linux-x86_64-3.9/awkward/libawkward-cpu-kernels-static.a
    -- Installing: /home/henry/Programs/awkward-1.0/build/lib.linux-x86_64-3.9/awkward/_ext.cpython-39-x86_64-linux-gnu.so
    error: can't copy 'build/lib.linux-x86_64-3.9/awkward.cpython-39-x86_64-linux-gnu.so': doesn't exist or not a regular file
ERROR: Command errored out with exit status 1: /home/henry/Programs/anaconda3/envs/awkddev/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/henry/Programs/awkward-1.0/setup.py'"'"'; __file__='"'"'/home/henry/Programs/awkward-1.0/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.
Exception information:
Traceback (most recent call last):
  File "/home/henry/Programs/anaconda3/envs/awkddev/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 189, in _main
    status = self.run(options, args)
  File "/home/henry/Programs/anaconda3/envs/awkddev/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 178, in wrapper
    return func(self, options, args)
  File "/home/henry/Programs/anaconda3/envs/awkddev/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 391, in run
    installed = install_given_reqs(
  File "/home/henry/Programs/anaconda3/envs/awkddev/lib/python3.9/site-packages/pip/_internal/req/__init__.py", line 80, in install_given_reqs
    requirement.install(
  File "/home/henry/Programs/anaconda3/envs/awkddev/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 764, in install
    install_editable_legacy(
  File "/home/henry/Programs/anaconda3/envs/awkddev/lib/python3.9/site-packages/pip/_internal/operations/install/editable_legacy.py", line 49, in install_editable
    call_subprocess(
  File "/home/henry/Programs/anaconda3/envs/awkddev/lib/python3.9/site-packages/pip/_internal/utils/subprocess.py", line 258, in call_subprocess
    raise InstallationSubprocessError(proc.returncode, command_desc)
pip._internal.exceptions.InstallationSubprocessError: Command errored out with exit status 1: /home/henry/Programs/anaconda3/envs/awkddev/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/henry/Programs/awkward-1.0/setup.py'"'"'; __file__='"'"'/home/henry/Programs/awkward-1.0/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.
Removed build tracker: '/tmp/pip-req-tracker-4lxgyewy'

Not that is really matters.

I've never tried pip install -e . with Awkward Array before; thanks for being the guinea pig! I had assumed that it would just work, and depending on how much it did incrementally, we might have been able to retire the localbuild.py script. Oh well, the localbuild.py script does work, even though it's non-standard (and it's only for developers—the wheel-building and deployment is a standard pip install).

So I've been looking at this in https://github.com/scikit-hep/awkward-1.0/pull/814/files/82eb2f2ba94a06a553b14c9afc7449de7891a57a..63c8a0cf9db0e31407d16ef5c99838b4c64f21ec
and I realise that np.zeros_like(awkward_array) will convert a bytestring or string like; b"dog" goes to b"0" or "dog" to "0". As in, they remain bytestrings or strings, but take the new value. Conversely, if ak.values_astype is called on an array containing strings or bytestrings it specifically ignores the bytestrings and strings. Only things that are not bytestrings or strings get converted.
This means that a simply calling the values_astype function when the dtype parameter is set gives weird behaviour for arrays with strings or bytestrings in. The value gets changed, but the type does not. For example;
In [0]: cat = ak.Array([5.6, b"meow"])

In [1]: np.zeros_like(cat, dtype=int)
Out[1]: <Array [0, b''] type='2 * union[int64, bytes]'>

In [2]: np.ones_like(cat, dtype=int)
Out[2]: <Array [1, b'1'] type='2 * union[int64, bytes]'>

Would the best solution be to add an options to ak.values_astype called include_string and include_bytes, which, if switched on would cause it to act on strings and bytes? May I include this in the same pull request?

The string behavior (odd as it is) was made to agree with what NumPy does in its astype method. What does np.ones_like(array, dtype=int) do to a NumPy array of strings?
If it's different, the right way to handle it is to put most of the implementation of values_astype into a hidden function, _values_astype, with an extra argument so that zeros_like/ones_like/empty_like have a "back door" to specify a different behavior. But the public ak.values_astype shouldn't make this back door visible.
Thanks again and sorry for this unforeseen complication!

No worries, writing an implementation is an excellent way to find hidden complexity in a simple idea. I think that is great fun.
So actually, that isn't the behaviour I get for numpy's astype. With numpy (versions 1.17.4 and 1.20.2) I get;
>> import numpy as np
>> say = np.array(['4', '3', '1', '1', '0'])
>> say.astype(int)
array([4, 3, 1, 1, 0])

Where as from awkward (version from github, 1.3.0rc1) I get;
>> import awkward as ak
>> say = ak.from_iter(['4', '3', '1', '1', '0'])
>> ak.values_astype(say, int)
<Array ['4', '3', '1', '1', '0'] type='5 * string'>

Looking at the code in values_astype, it looks pretty intentional, so I wondered if the reason for calling it values_astype rather than just astype was that it only acts on numerics?

I think we put in some effort to make ak.zeros_like do the right things for string types but we didn't do the same for ak.values_astype. That's not why it's called "values_astype" instead of just "astype," the reason is because it doesn't try to coerce lists or records into a chosen dtype like int; it descends to the leaves of the tree and applies it there (a consideration that NumPy doesn't have to make). We briefly considered calling it "leaves_astype," but that would be confusing, especially if the surrounding context involves ROOT TTrees.
It may be too much to try to fix ak.values_astype so that passing dtype=int changes strings representing numbers into the corresponding integers. That would go deep into the C++. For this project, it would be best to assume that values_astype has the correct behavior, use it, and someday we'll fix values_astype.

Here is the pull request for this; https://github.com/scikit-hep/awkward-1.0/pull/814
I'm not sure if it goes to the right branch, and if the tests I wrote have the idiomatic form?


[Bug]: Friend has mods installed and I don't. He disabled all the mods, and we are still getting a gustavdev error when trying to play together.

Operating System
Windows 10
BG3 Mod Manager Version
<IP_ADDRESS>
BG3 Game Version
Full Release Patch 2
Bug Summary
Person A has the mod loader with mods installed and plays a modded campaign with person B
Person C has no mods.
Person A disables all their mods and tries to join person C's campaign.
Person A basically joins and instantly gets kicked.
So person C tries joining one of person A's unmodded campaigns.
Person C gets the following error:
"Connection Failed: Mod 'GustavDev' and/or it's dependencies don't match the server's. This can be caused by corrupt files or files that have been changed"
(I am Person C btw)
I did see something online about checking the appdata/local/larian studios/launcher/cache and see if we have the same files and we don't. Person A has 4 'steam_[VersionNumber]_alteredFiles (Obviously replace version number with the actual version number I am too lazy to manually copy)
Any help would be appreciated so we can still play without person C having to uninstall all their mods and/or verify game files.
Links
No response

So it has been brought to my attention that person A has a few mods they installed manually. Those were left in. I am fairly confident those are the cause for this. My apologies for this issue.


Add example and docs

@0xsimulacra  do u wann do it?

@linhbkhn95 I'm might work on it this week, but it is not promised.
I'm working against the clock to finish some parts of a golang sdk  before my vacation in two weeks.
Thanks, and I'll see what I can do :).

I was only able to add two usages examples on the ReadMe, one of them being an almost finshed version of UniswapV3 GetTickAtSqrtRatio.
Please take your time and give feedback on this last pull request:
https://github.com/linhbkhn95/int256/pull/14


Python execution is really slow now

Type: Performance Issue
After the latest update it takes longer to run Python. I've tested it with small snippets that just prints something basic to the terminal and it seems that it now takes one or two seconds before the script is executed. This was much faster before the update.
VS Code version: Code 1.94.0 (d78a74bcdfad14d5d3b1b782f87255d802b57511, 2024-10-02T13:08:12.626Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Extensions (9)

Extension
Author (truncated)
Version

black-formatter
ms-
2024.2.0

debugpy
ms-
2024.10.0

python
ms-
2024.16.0

vscode-pylance
ms-
2024.9.2

jupyter
ms-
2024.9.1

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.19

vscode-jupyter-cell-tags
ms-
0.1.9

vscode-jupyter-slideshow
ms-
0.1.6

I think I may be experiencing a similar issue, where VSCode’s terminal is about half as fast as the vanilla Terminal.app on macOS.
Type: Performance Issue
To reproduce
Run the following in Terminal
git clone https://github.com/sharkdp/numbat
cd numbat
git checkout master
code .

Now run cargo bench in both VSCode’s terminal and Terminal.app.
Results
VSCode
     Running benches/prelude.rs (target/release/deps/prelude-a0a2f76283ec607b)
Gnuplot not found, using plotters backend
Benchmarking Import prelude: Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 5.0s. You may wish to increase target time to 5.5s, or reduce sample count to 90.
Import prelude          time:   [53.566 ms 54.155 ms 55.079 ms]

Terminal.app
     Running benches/prelude.rs (target/release/deps/prelude-a0a2f76283ec607b)
Gnuplot not found, using plotters backend
Import prelude          time:   [27.347 ms 27.364 ms 27.383 ms]

VSCode’s terminal is half as fast as Terminal.app.

VS Code version: Code 1.94.1 (Universal) (e10f2369d0d9614a452462f2e01cdc4aa9486296, 2024-10-05T05:44:32.189Z)
OS version: Darwin arm64 24.0.0
Modes:

System Info

Item
Value

CPUs
Apple M2 (8 x 2400)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
4, 3, 3

Memory (System)
16.00GB (0.06GB free)

Process Argv
--disable-extensions --crash-reporter-id e7a37e42-0a8a-407a-8834-7145d271f768

Screen Reader
no

VM
0%

Extensions disabled
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
9b8hh234:30694863
pythongtdpath:30769146
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
945dj816:31013170
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
impr_priority:31102340
nativerepl2:31139839
refactort:31108082
pythonrstrctxt:31112756
flightc:31134773
wkspc-onlycs-t:31132770
wkspc-ranged-t:31151552
cf971741:31144450
autoexpandse:31146404
5fd0e150:31146321

Can you guys try the latest 2024.16.1 stable version of the Python extension and see if it got better? There has been some changes intended to fix this.


Re-word

(Layer 1) CANdy Utility Provisional Governance Framework has some unclear/conflicting wording
The Registered Entity section refers to:

The CANdy network has been primarily designed for use by enterprises, governments, non-profits, and other public-sector entities.

Yet the on-boarding requirements limits what kinds of entities can become a Member:

DID:INDY:CANdy DIDs can only be provided to Canadian government entities, Indigenous governing bodies, and any other legislated ("broader public sector") entity in Canada.

SUGGEST that the first quoted sentence (under Registered Entity) be updated so that Industry understands that it is in a read-only role for CANdy and can't be a "Registered Entity".

Closed after discussion with @darrellodonnell


Add secondary wallets

Issue/Task Number: 683
Overview
Be able to create secondary/burn wallets from the account wallet page in the admin panel
Changes

New create wallet modal

Looking good, but can you remove the Create button from the global Wallets page? it should only be shown under Account > Wallets (else it will create a wallet for I don't know which account).


JSONFromString() does crash on certain inputs.

Steps to reproduce
Run JSONFromString() with the following Swift strings as input:
" "
"[0,"
"{\"\":"

Expected behavior
Since these strings are invalid JSON according to RFC 7159, JSONFromString() should throw an error.
Actual behavior
JSONFromString() does crash.

Please add a backtrace for the crash and include the version in use.

Not necessary in this case - crash is trivially reproducible on master; fixed in #200.

:+1: Thanks @jgallagher & @nst.


auditlog error in django 1.11

Hi,
I installed django 1.11 and followed the doc to add 'audit-log' MIDDLEWARE, the migrate was doing success, however, when I start run_server, the below error shows:
Unhandled exception in thread started by <function check_errors..wrapper at 0x7f9567d38510>
Traceback (most recent call last):
File "/home/oscar/venvs/acnts_env/lib/python3.5/site-packages/django/utils/autoreload.py", line 227, in wrapper
fn(*args, **kwargs)
File "/home/oscar/venvs/acnts_env/lib/python3.5/site-packages/django/core/management/commands/runserver.py", line 147, in inner_run
handler = self.get_handler(*args, **options)
File "/home/oscar/venvs/acnts_env/lib/python3.5/site-packages/django/contrib/staticfiles/management/commands/runserver.py", line 27, in get_handler
handler = super(Command, self).get_handler(*args, **options)
File "/home/oscar/venvs/acnts_env/lib/python3.5/site-packages/django/core/management/commands/runserver.py", line 68, in get_handler
return get_internal_wsgi_application()
File "/home/oscar/venvs/acnts_env/lib/python3.5/site-packages/django/core/servers/basehttp.py", line 47, in get_internal_wsgi_application
return import_string(app_path)
File "/home/oscar/venvs/acnts_env/lib/python3.5/site-packages/django/utils/module_loading.py", line 20, in import_string
module = import_module(module_path)
File "/home/oscar/venvs/acnts_env/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 673, in _load_unlocked
File "", line 665, in exec_module
File "", line 222, in _call_with_frames_removed
File "/srv/apps/oo/accounts/accounts/wsgi.py", line 16, in
application = get_wsgi_application()
File "/home/oscar/venvs/acnts_env/lib/python3.5/site-packages/django/core/wsgi.py", line 14, in get_wsgi_application
return WSGIHandler()
File "/home/oscar/venvs/acnts_env/lib/python3.5/site-packages/django/core/handlers/wsgi.py", line 151, in init
self.load_middleware()
File "/home/oscar/venvs/acnts_env/lib/python3.5/site-packages/django/core/handlers/base.py", line 82, in load_middleware
mw_instance = middleware(handler)
TypeError: object() takes no parameters
Though when I comment out the line:
#'audit_log.middleware.UserLoggingMiddleware',
The app would run without errors

Found the same problem.
In Django 1.10 the load_middleware method doesn't use a parameter to create an instance of the middlewarer:
https://github.com/django/django/blob/stable/1.10.x/django/core/handlers/base.py#L58
In Django 1.11 this has changed to use a handler parameter:
https://github.com/django/django/blob/master/django/core/handlers/base.py#L41

Found the problem, created PR #47 with fix. cc @DonOzone

Any solution for this problem? When the PR #47 will be approved?

Same issue here, any deadline for the fix?

any updates?

Any solution for this problem? When the PR #47 will be approved?


Sentence construction

In the REPL section of the Parsers section, there's a rather strange sentence (to me at least):
When the user pressed enters a EOF or sends a SIGQUIT to input, getInputLine will yield Nothing and can handle the exit logic.

I believe the first part, "the user pressed enters a EOF", needs some tweaking.

Thanks for catching that.


TypeError: Path must be a string. Received null

Can anyone help me with why this is happening?
[10/10/2016, 6:27:05 PM] Loaded plugin: homebridge-applescript
[10/10/2016, 6:27:05 PM] Registering accessory 'homebridge-applescript.Applescript'
[10/10/2016, 6:27:05 PM] ---
[10/10/2016, 6:27:06 PM] ====================
[10/10/2016, 6:27:06 PM] ERROR LOADING PLUGIN homebridge-wink:
[10/10/2016, 6:27:06 PM] TypeError: Path must be a string. Received null
at assertPath (path.js:7:11)
at Object.dirname (path.js:1326:5)
at Object. (/usr/local/lib/node_modules/homebridge-wink/node_modules/config-file/index.js:17:21)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
[10/10/2016, 6:27:06 PM] ====================
[10/10/2016, 6:27:06 PM] Loaded config.json with 1 accessories and 1 platforms.
[10/10/2016, 6:27:06 PM] ---
[10/10/2016, 6:27:06 PM] Loading 1 platforms...
/usr/local/lib/node_modules/homebridge/lib/api.js:118
throw new Error("The requested platform '" + name + "' was not registered by any plugin.");
^
Error: The requested platform 'Wink' was not registered by any plugin.
at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:118:13)
at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:281:45)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:77:36)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:40:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)

I have also been getting this error. Ive seen it when I had homebridge-controller installed and configured. Removing that plugin fixed it for me.  Does not look like you have that installed so it makes me wonder if its a homebridge issue and not a plugin issue.

This is definitely to do with changes to Homebridge in the past months and plugins that are not updated. I restored back to two days ago before I updated Homebridge and all works again. Has to do with changes to how plugin packages are called.

what version did you restore to that is working for you?

Here is where I am at and all works:
Brew version - 0.9.9
Node version - v0.12.7
Homebridge version - 0.3.4


[WIP] mongodb 3.6

No rpms for mongodb 3.6 ready yet. This PR is mainly to test that other versions works with these changes too.

[test-openshift]

[test-openshift]

[test-openshift]

Hey, can we expect this PR to be merged soonish ?

@jocelynthode rh-mongodb36 SCL is not ready in CentOS yet, so I would rather wait for it.
@khardix Do you have any estimation when builds could be properly tagged for CentOS?

@omron93 @jocelynthode I'm currently waiting for forgotten go-toolset dependency. After that, it should be only a few days.

@omron93 @jocelynthode Well, it was done faster than I anticipated! The builds should be available in the sclo7-rh-mongodb36-rh-candidate tag.

Nice! Thanks for the work guys

Rebased.
[test-openshift]

[test-openshift]

Tests are passing (fedora CI is failing because of issue not caused by this PR, I'll fix it in separate PR) + new version doesn't differ much (only mongodb version changes + changes in bindIP: configuration).


Update to 0.7

Coverage remained the same at 79.228% when pulling 63a4e74544617a187a4f41764208001d4f5ea4c5 on femtocleaner-0.7 into 5e1d8c1976da549cb3119266419634b9ea88b7cc on master.


[Torii] gRPC to support Tokens subscription

Is your feature request related to a problem? Please describe.
Provide a way to subscribe to new and changed token balances.
Describe the solution you'd like
I don't know Torii enough to design a solution.
Describe alternatives you've considered
Fetching all tokens periodically to apply changes, which is expensive
Additional context
To be used on dojo.js SDK: dojo.js#361

Shall I take up this issue?


Updating google analytics metrics getter

Purpose/implementation Section
What changes are being implemented in this Pull Request?
Fixing up some things for usability and DRYness purposes.
The google analytics all_ga_metrics() is being deprecated changed so it can take property ids instead of just taking all properties from an account.
In order to do this, we needed to make a new function get_ga_property_info() that will allow a display name (and other info) for a property to be retrieved.

I also ran styler::style_dir("R") so a lot of the changes have to do with that.

We tested this in a pair programming session and found out it was because Howard was trying to access a property id with the hutchgmail account that it does not have access to. Tried to fix the docs appropriately.


The procedure entry point GetProductInfo could not be located in the dynamic link library progwrp.dll | Supermium 121

W7 X64

Was it installed using the installer package? If not, progwrp should be applied to the browser's folder.

Yes,  supermium_121_64_setup.exe

That package should have only one version of progwrp, which is placed in system32 to accommodate the uninstaller since it's stored in the Windows installer cache. I will resolve this dependency hell.

Do you still have progwrp.dll on your .exe folder?

Yes, supermium_121_64_setup.exe. progwrp is located next to chrome.exe. I also have one in \System32.
Just delete or move progwrp.dll  to a backup folder
It should work afterwords


Add service.type and service.loadBalancerIP for kiali service

Current users login kiali dashboard by ingress.
After adding this pr, we can login it by NodePort service or
loadBalancerIP.
[x] Installation

Hi @FengyunPan2. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

I think prs about install/kubernetes/helm/* maybe commited to https://github.com/istio/installer first. In addition, prometheus/templates/service.yaml and tracing/templates/service.yaml maybe need service.loadBalancerIP too.

/ok-to-test

@FengyunPan2: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-new-install-k8s-tests_istio
da7757964e5d6df89dbc6726a81b9c6633908d05
link
/test integ-new-install-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@waret @morvencao I have sended a pr to istio installer: https://github.com/istio/installer/pull/397

/test integ-new-install-k8s-tests

I don't think we have the bandwidth to support making changes and testing those changes to the old installer for Kiali. We should merge this in for istio/installer so it can be used for the operator. Thanks for sending the change there!


Not all data is shown

Thanks this is a very nice tool and very useful.
However it looks like we don't get all the results we expect. Is there a limitation on retrieving the data? Seems like it might be related to Settings catalog - we only get around 23 of 100+ policies
@odata.context": "https://graph.microsoft.com/beta/$metadata#deviceManagement/configurationPolicies",
<EMAIL_ADDRESS>25,
<EMAIL_ADDRESS>"https://graph.microsoft.com/beta/deviceManagement/configurationPolicies?
$skiptoken=%255Bcosmosdb%255D%255B%257B%2522compositeTokenxxxxxxxxxxxxxxxxxxx",
<EMAIL_ADDRESS>"This request only returns a subset of the resource's properties. Your app will need to use $select to return non-default properties. To
find out what other properties are available for this resource see [https://learn.microsoft.com/graph/api/resources/deviceManagementConfigurationPolicy"]

Yes, 2.4.0 - and goes for all options that retrieves from setting catalog
Ran the 4 - Show All Policies and Their Assignments
the challenge is that not all policies are returned when calling "Invoke-MgGraphRequest -Uri $settingsCatalogUri -Method Get". You get a subset, in our case 25, and a link to the next blob.
Not an expert, but think the script will need to detect that there is more data, and repeat the calls until the is no more @odata.nextlink in the returned result

Yea looks like the @odata.nextlink is missing. I will have a look.

Seems like this is working for us for the settings catalog part that is.
# Fetch settings catalog policies
$settingsCatalogUri = "https://graph.microsoft.com/beta/deviceManagement/configurationPolicies"
$tempResponse = Invoke-MgGraphRequest -Uri $settingsCatalogUri -Method Get
$response += $tempResponse

if<EMAIL_ADDRESS>{
    do {
        $tempResponse = Invoke-MgGraphRequest -Uri<EMAIL_ADDRESS>-Method Get
        $response += $tempResponse
    } until (
<EMAIL_ADDRESS>    )
}

I double checked the pagination. There is one missing in a function that I have fixed now.
Can you try it with that one?
https://github.com/ugurkocde/IntuneAssignmentChecker/blob/28-not-all-data-is-shown/IntuneAssignmentChecker_v2.ps1

Looks better - I got 103 Settings Catalog - need some time to verify the rest (y)

Awesome. I will merge it to main. Keep the feedback coming if you need any new features or things are not working.
Thanks for taking the time to create this issue.
Best
Ugur


Tensorboard load saved_model.pb failed

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information
Windows
You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with:
tag v2.6.0
Describe the current behavior

Describe the expected behavior
Show saved_model.pb on tensorboard
Contributing

Do you want to contribute a PR? (yes/no):no
Briefly describe your candidate solution(if contributing):

Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.

oh...I should parse saved_model.pb to SavedModel   not GraphDef


Add custom CPU Tuning presets

I would love to see a possibility of making my own custom presets in CPU Tuning. Adding them to a plan would also be very nice.

That would be cool, and I do want to do that personally, I'm just afraid that people will make custom plans that are dangerous. For example, before I had the minimum/maximum values set, my friend set his tdp to 1 watt and got a bsod lol.

That would be cool, and I do want to do that personally, I'm just afraid that people will make custom plans that are dangerous. For example, before I had the minimum/maximum values set, my friend set his tdp to 1 watt and got a bsod lol.

Haha, that's good :D Well, you already allow users to change and apply not sane values tbh, but I totally get your point. Personally I would like to go even lower on power consumption to like 15W TDP (so basically 4800U instead of HS in my case). How about something like an advanced switch then? Or even better just hard block to some sane values like STAPM lower than 5W or more than 50W is probably not good and can be blocked (we would need to find info on these values for other parameters though)

Haha, that's good :D Well, you already allow users to change and apply not sane values tbh, but I totally get your point. Personally I would like to go even lower on power consumption to like 15W TDP (so basically 4800U instead of HS in my case). How about something like an advanced switch then? Or even better just hard block to some sane values like STAPM lower than 5W or more than 50W is probably not good and can be blocked (we would need to find info on these values for other parameters though)

+1

+1

This update gives cpu tuning presets :)

This update gives cpu tuning presets :)


ADD GTA TOKEN

团队背景
一个伟大的事业诞生，必然离不开一个伟大的团队，GTA在创办之初就凝聚了各行业精英人才的积极参与，包括技术、运营、市场推广、培训教育等团队，为GTA事业恢弘的发展前景奠定了坚实的基础；我们坚信，一个伟大的团队，必将创造卓越的价值。
The birth of a great cause will be inseparable from a great team. At the beginning of its establishment, GTA has gathered the active participation of elite talents in various industries, including new technology, business operation, marketing, training and education teams. The great teams build the solid foundation of the GTA. We firmly believe that the great team will create incredible future of GTA.
项目基本情况
GTA依托区块链技术和经济模型构建了基因科技商业生态闭环；以区块链激励机制激发大规模群体协作，从而快速聚集海量的全基因组表型大数据；旨在以全基因组表型大数据存储及应用驱动世界基因科技发展，为全人类健康福祉做出贡献；同时，以全基因组表型大数据在生命健康领域的广泛应用实现巨大的商业价值。
GTA relies on block-chain technology and unique economic models to build a technology business ecology closed loop, incentivize large-scale group collaboration with a block-chain incentive mechanism to gather massive amounts of whole-genome phenotype data quickly; aiming to use genome phenotype data storage and application drive the development of the world’s genetic technology and contribute to the health and well-being of all human beings. At the same time, the wide application of whole-genome phenotype data in the field of life and health realize the commercial value.
媒体报道
GTA基因链主网于新加坡时间2020年5月15日，11时15分正式上线
https://news.huoxing24.com/20200502111854543211.html
站在未来看未来，GTA基因链开创区块链3.0新时代
https://www.chainhoo.com/?p=119787&from=singlemessage
GTA基因链：基因科技创富时代已拉开帷幕
https://tech.sina.com.cn/roll/2020-04-11/doc-iircuyvh7200902.shtml

欢迎在社区中推荐用户使用 imToken 2.0 管理资产。


Administrate reconciler remotely via CLI using REST API

Description
Administrate reconciler remotely via CLI using REST API.
Changes proposed in this pull request:

add reconciliation command
add mothership client

Related issue(s)

See also: https://github.com/kyma-incubator/reconciler/issues/115

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Removed LGTM label, because tide job could go crazy and prematurely merge your PR unintended :)


Do you have a plan to update Readme recently?

Hi，dear author.
I read your paper and I am very interested in it. I want to reproduce AceSum.
Do you have a plan to update Readme recently?

Hi!
I second the above :) It will be very useful to get some more information about training specifics (e.g. how to adjust number of heads in relation to number of aspects) and format of the data (I see that it should be in .jsonl format but exact structure of training examples), minimum number of examples in train set etc.
Looking forward to it - its a great work!
Pat

Sorry for the long wait, and thanks for bugging me. Due to personal reasons, I had to skip this on my to-do list. Everything is updated with README and all the data/model/output files you need!


Support heredoc in dockerfile

We should be able to use heredocs dockerfile, making multline RUN more easier, and more straightforward.
# syntax=docker/dockerfile:1.4-labs

# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 18, 16, 14, 18-bullseye, 16-bullseye, 14-bullseye, 18-buster, 16-buster, 14-buster
ARG VARIANT=16-bullseye
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT} AS dev_container_auto_added_stage_label

RUN <<tmux
  echo "deb http://deb.debian.org/debian sdi main" | tee -a /etc/apt/sources.list.d/{some-name}.list
  apt-get update
  apt-get -y install tmux=3.3a-2
tmux

If we add the correct syntax a the top of the docker file  # syntax=docker/dockerfile:1.4-labs, it got squatch by

ARG _DEV_CONTAINERS_BASE_IMAGE=placeholder

# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 18, 16, 14, 18-bullseye, 16-bullseye, 14-bullseye, 18-buster, 16-buster, 14-buster

ARG VARIANT=16-bullseye
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT} AS dev_container_auto_added_stage_label

from the final dockerfile /tmp/vsch-user/container-features/0.251.0-1663629112649/Dockerfile-with-features
Due to this code
const dockerfilePrefixContent = `${useBuildKitBuildContexts ? '# syntax=docker/dockerfile:1.4' : ''}
ARG _DEV_CONTAINERS_BASE_IMAGE=placeholder
`;

Tracking as https://github.com/devcontainers/cli/issues/179. Thanks.


Add release note to PR template

Short description: Add release note to PR template
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:

/release-note-none


Add circle-ci manifest

Codecov Report

Merging #5 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master     #5   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines          40     40
=====================================
  Hits           40     40

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3d1d796...7a6e3a6. Read the comment docs.

Test done. Decided to keep Travis for now.


@EnableProcessApplication interferes with inner static bean definitions

I marked my Spring Application with "EnableProcessApplication". Additionally, I created a static Bean method that provides a different configuration.
Result: Error, EnableProcessApplication must only be used on one bean.
Seems like finding the correct "root" bean is buggy.

created branch 187_static_bean_definitions with a failing test showing the problem. no fix though still

Hi Jan.
This is because applicationContext.getBeansWithAnnotation(...) in org.camunda.bpm.spring.boot.starter.util.GetProcessApplicationNameFromAnnotation.getAnnotatedBean is searching the hole type definition in case of a bean definition (see org.springframework.beans.factory.support.DefaultListableBeanFactory.findAnnotationOnBean(String, Class<A>)).
A solution could be to extend the getAnnotatedBeanfunction with a filter checking if the found beans are annotated with @EnableProcessApplication directly.

Thanks, @osteinhauer , great help. Was able to provide a simple stream/filter for this one, PR waiting.
Care to review?


Update managing-the-default-branch-name-for-your-repositories.md

Add missing word

Why:
Closes [issue link]

What's being changed:

Check off the following:

[ ] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[ ] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

Add missing word
Why:
Closes [issue link]
What's being changed:
Check off the following:

[ ]  I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[ ]  For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ]  This pull request impacts the contribution experience

[ ]  I have added the 'writer impact' label
[ ]  I have added a description and/or a video demo of the changes below (e.g. a "before and after video")


User should be able to specify log verbosity

When running integration tests from non bee clients, and checking bee interoperability, it would be incredibly handy to be able to set trace level verbosity on the bee logs.

Sounds good. I am not sure if the logger refactor of Bee is already released but with that it would be actually very easy to change the logging on the fly and not have to restart the whole Bee Factory just for it.


Issue when building Windows Container image

When building the Windows Container image I'm getting this issue:
CmdExecution: Stderr: Enable-WindowsOptionalFeature : The source files could not be found.
Use the "Source" option to specify the location of the files that are required
to restore the feature. For more information on specifying a source location,
see http://go.microsoft.com/fwlink/?LinkId=243077.
At C:\Users\ContainerAdministrator\AppData\Local\Temp\AWSTOE3902723567\script-2
52628507.ps1:15 char:1
+ Enable-WindowsOptionalFeature -Online -FeatureName containers -All -N ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Enable-WindowsOptionalFeature
   ], COMException
    + FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFea
   tureCommand

For what research I've done this apparently can be related to Windows not having a network connection, but every other build step is currently passing fine so I'm at a bit of a loss. Especially since I'd really like docker support.

Can you include the code you used to get this error? I have weekly builds of all runner images with failure notification. I haven't seen any failures recently so the default config seems to be working.

import { Stack } from "sst/constructs";
import { Architecture, EcsRunnerProvider, GitHubRunners, Os, RunnerImageComponent, RunnerVersion } from '@cloudsnorkel/cdk-github-runners';
import { useEnv } from "@***/sst";
import { Duration } from "aws-cdk-lib/core";
import { SubnetSelection, SubnetType } from "aws-cdk-lib/aws-ec2";

export function Runners(this: Stack) {
  const env = useEnv(this, {
    applicationId: "github-runners"
  });
  const { network: { vpc } } = env;

  const subnetSelection: SubnetSelection = {
    subnetType: SubnetType.PUBLIC,
    onePerAz: true,
  };

  new GitHubRunners(this, "Runners", {
    vpc: vpc,
    providers: [
      new EcsRunnerProvider(this, "LinuxEcsProvider", {
        labels: ['company-linux'],
        vpc,
        spot: true,
        subnetSelection,
        imageBuilder: EcsRunnerProvider.imageBuilder(this, "LinuxImageBuilder", {
          vpc
        }),
      }),
      new EcsRunnerProvider(this, "WindowsEcsProvider", {
        labels: ['company-windows'],
        vpc,
        spot: true,
        imageBuilder: EcsRunnerProvider.imageBuilder(this, "WindowsImageBuilder", {
          os: Os.WINDOWS,
          architecture: Architecture.X86_64,
          rebuildInterval: Duration.days(7),
          vpc,
          subnetSelection,
        })
      }),
    ]
  });
}

I don't think I'm doing anything weird. I'm convinced something bizzare is happening with the subnets/VPC but I can't figure it out.

That's a weird one. As you said, other commands in the same component do succeed downloading files. Specifically the docker installer is downloaded just a few lines above.
The only thing I could think of is that AWS has some invisible proxy for Windows package downloads, just like they have for Ubuntu. Maybe something in your VPC configuration blocks it somehow (NACL?). I would try creating a whole new VPC (temporarily) and seeing if that solves it.

@RichiCoder1 any update on this?

I'm afraid I was never able to get to the bottom of this, and ended up taking a different approach. Still baffled at what was breaking. I'm ok closing this!

Ok, thanks. Please let me know if you find out more details in the future.


DCOS_OSS-5673: bugfix to set Machine env variable of Python36

High-level description
What features does this change enable? What bugs does this change fix?
There is a bug in dcos_install.ps1 - env variable was for a single session only, so in another session python is unavailable. The idea is to make such variable on Machine level, kind of global
Corresponding DC/OS tickets (required)

DCOS_OSS-5673 bugfix to set Machine env variable of Python36

Related tickets (optional)

DCOS-ID JIRA title / short description.

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain.
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot request review @DominikDary

@mesosphere-mergebot request review @jongiddy

@mesosphere-mergebot request review @vadymzagorodko

@mesosphere-mergebot changelog-not-required minor fix

@mesosphere-mergebot label Ready For Review


[Docs] Updated DEFAULT_CREATE_LATEST_SYMLINK description format

According to the code, the format for DEFAULT_CREATE_LATEST_SYMLINK contains underscores between type, name and host (not dashes)
https://github.com/tiredofit/docker-db-backup/blob/a5b15b441246da0dea563fd4b150621fc7e358e7/install/assets/functions/10-db-backup#L1645

Thanks!!


[Bug]: failed hydration leads to full page rerender

Full rerendering on pages:

explore/events
organization/profile detail
project detail

Reloading the page causes full rerender and uncaught react minified errors 418, 423 and 425
What possibly causes this:

explore/events and organization/profile/event detail
--> When event cards exist that show canceled, published or other booleans
--> boolean false is render when using boolean && html statement.
project detail
--> when address is shown
--> Should also be a boolean render

--> use boolean ? html : null

The hydration error on project detail was not caused by a boolean render. Instead it was caused by a  element as wrapper of another  element.
Changed it to <></> and now its fixed.
@phollome
Maybe we should include this case in ESLint? (Same for  inside )

Only project detail page works on stage. In the other locations the bug still appears (on stage not on build/start dev app)
Maybe the issue is caused only by the <p> inside <p> phenomena which fixed the rerendering and hydration errors on project detail successfully.
Investigate the routes for <p> in <p> and maybe other html elements that shouldnt be nested:

[ ] explore events
[ ] profile/organization/project/event detail


Terminology is confusing, let's try to help in the UI

I'm sorry that I didn't get this to you earlier. Here are some thoughts on what we could call different sections to be more clear to a user.

Machine Registrations -> Registration Endpoints
Machine Inventories -> Inventory of Machines
OS Image Updates -> Update Groups (???)
Managed OS Versions -> OS Versions
Managed OS Version Channels -> OS Version Channels

Thoughts?
Screenshot of example changes:

I made a typo in the screenshot :(  OS Upgrade Groups should have been OS Update Groups instead

Sounds good to me @agracey . I'll do a run over to update the naming on all places 🙏
FYI @kwwii

Looks good, however, on Andrew's screenshot, we can see OS Update Groups whereas on my screenshot, it's only Update Groups.
If it's ok for you @agracey , we can close it.


Youtube video metadata download working before is no longer working

Hi Cedric & team,
First of all thank you for a wonderful SDK for youtube downloads. I have integrated it with a music education app called Slowhand and Youtube video downloads have been working great! Today I noticed that the call to get video meta data is failing. I have tried it with multiple youtube videos and at different times to rule out rate limiting. Has Youtube made some changes to their APIs recently?
Here is the error message I am getting while downloading the video metadata
2016-06-24 16:11:39.966 Slowhand[67145:4223867] [XCDYouTubeKit] Video operation finished with error: The operation couldn’t be completed. (XCDYouTubeVideoErrorDomain error -2.) Domain: XCDYouTubeVideoErrorDomain Code:   -2 User Info: {     NSURL = "https://www.youtube.com/get_video_info?el=detailpage&hl=en&ps=default&video_id=dzkVoLJ0Hqs"; }
Is get_video_info an unsupported or deprecated API? Your thoughts/suggestions to workaround/fix this issue?
Best,
Amit

@uBhappy2 update to v2.5.3 of the library which fixes this issue :).

Thank you @SoneeJohn & @0xced!

It does not seem like the issue is fully fixed.
Analyzing dependencies Downloading dependencies Using ORSSerialPort (2.0.2) Installing XCDYouTubeKit 2.5.3 (was 2.5.2)
The following video URL works
https://www.youtube.com/watch?v=llNuwhZWXKA
But the one below does not
https://www.youtube.com/watch?v=AV-0Nfslshs
I had the same issue with v2.5.2.
Best,
Amit

@uBhappy2 the second url seems to be working fine with the demo application.
Trying cleaning your build folder.

Thank you my friend. Deleting DerivedData and a clean build fixed the issue. 👍


Create API to update user details

Purpose

The purpose of this PR is to fix #346
Goals

Create an API to update the user details and add a new column on the database hasConfirmedUserDetails which is an boolean to check whether the user have confirmed the details.

Approach

Created updateUserDetails in AuthUserController.java, endpoint: api/me.
Created updateUserDetails in ProfileService.java to set the posted data.
Add hasConfirmedUserDetails boolean to Profile.java.

Screenshots

Checklist

[x] This PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.
[x] I have read and understood the development best practices guidelines ( http://bit.ly/sef-best-practices )
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation

Related PRs
N/A
Test environment

OS: macOS Monterey
Browser: Safari 14.0.1
IDE: IntelliJ IDEA
Java 8

@kumuditha-udayanga The build is failing due to some missing imports


What's up?

Hey,
I was wondering what's going on with your project.
Cheers from Switzerland

Well, I came to know, its experimental build, but I would love to use/test it, still I am not sure how to install it?
The documentation doesn't mention Installation process, and the extension isn't available at VSCode market place.

There's now a VSIX included in this repo. The extension is not published to the marketplace yet (and I'm not sure it ever will be), so you'll need to download the latest VSIX directly from this repo and then install from VSIX.
Have fun (it's very buggy). Oh, and, PRs welcome 😉

@FabianLauer this is awesome! silly question. I installed it via the CLI, but now how to I get to open in a tab in VSCode?

@thinktopdown Press F1, type "Browser", select "Open Web Browser" 🙂

Any alternatives to this extension? I saw bunch of feature requests in vscode repo but all declined though

@VladislavAnkudinov for the time being it is one of a kind & no extension similar to this exist. VS Code has no intention to provide a built in browser ,so if you want this is your only hope. So don't expect it to be coming into VS Code.

This extension + Live server is amazing. I wish I could help developing it. Unfortunately, I'm not experienced enough. :(

@FabianLauer Still why not publish the extension even with the experimental tag and the 0.0.1 version?
I find it handy for my type of work right now and it would be easier to install it to few of my workspaces that way. The plus side is this and that it has a chance to make this repo more popular and bring some people who want and have time to contribute to it.

我是从iOS开发转到前端开发的，最开始我是做java的，我很诧异，为什么前端的开发工具，没有一个集成chrome。难道都是双屏开发吗，1个屏是浏览器，用于调试，1个屏是vscode，用于编辑代码。调试前端代码时，console竟然是到chrome才能看到，而不是vscode，做iOS或后端没有经历这种痛苦，因为eclipse或xcode都自带了程序运行时的console。我想，这个项目真棒。如果大家有兴趣，中国的腾讯公司做了一个微信开发者工具，实现了类似功能，并在中国广泛使用，不过，它仅能开发微信的小程序。
I switched from iOS development to front-end development. At the beginning, I was doing java. I was surprised. Why is the front-end development tool not integrated with chrome? Is it dual-screen development? One screen is a browser for debugging, and one screen is vscode for editing code. When debugging the front-end code, the console is actually visible to chrome, not vscode. The iOS or the backend does not experience this kind of pain, because eclipse or xcode comes with the console at runtime. I think this project is awesome. If everyone is interested, China's Tencent has made a WeChat developer tool that implements similar functions and is widely used in China. However, it can only develop WeChat applets.

Could this be published?


Added version method for MyriaX connections

Ultimately will expose in myria-python, per https://github.com/uwescience/myria-python/issues/53

Coverage decreased (-0.006%) to 91.693% when pulling 039921fc9be11512552c75ab713c73d054356fb3 on version into c6fdede520b3aff3476f74066d52ea0976d7959a on master.


Fix two typos

@pmandler could you fix the test that is failing too?
It is in the file: test_double_blind_conference


Merge Upstream

Merges Upstream

@DEATHB4DEFEAT Take a look at this and test it locally to make sure there's nothing wrong you can discern.


App crashes

Demo app crashes out of the box with no logcat errors. Last log is upgrade_proto.cpp:52 Attempting to upgrade input file specified using deprecated V1LayerParameter: /sdcard/caffe_mobile/bvlc_reference_caffenet/bvlc_reference_caffenet.caffemodel
Any help?

I guess it was an OOM (out of memory) issue. Please confirm that you are on the latest master branch and also refer to #20 and #21 .
Thanks.

Thanks for the quick reply! I am on the latest master, I'll investigate those issues further soon. FYI, I am running this on a real device with 1 GB ram, I thought memory would not be an issue here but it seems like I'm wrong!
Thanks again

Using smaller model (Squeezenet) solves the issue, thanks!


How to show virtualenv name before prompt

Hello! When you activate a Python virtual environment using venv or pipenv, the default CMD behavior is that the name of the virtual environment is shown before your prompt such as:
(virtual-environment-name) C:\Users\S>
But this doesn't show up on Clink, is there any way to add it to the prompt? I used the wizard to create my prompt by the way.
Thanks very much in advance.

venv or pipenv are setting the %PROMPT% variable, which is how CMD shows a prompt.
Clink enables you to use Lua scripts that replace how the prompt is shown.
It sounds like you're using clink-flex-prompt to customize your prompt.
It sounds like you want to add the {python} module to your prompt configuration.
See Advanced Configuration and Modules in clink-flex-prompt's README.md documentation.

oh thanks very much for your response! I failed to notice I need to create a new file called flexprompt_config.lua and was modifying the flexprompt.lua lol!
I added this:
flexprompt.settings.left_prompt = flexprompt.settings.left_prompt .. "{python}"
And now I can see my virtual env! Thanks again :D

I did exactly what @Saya47 did, but i dont see it reflected in my terminal. I only see the current working directory with git information but not the current active python environment

@manojmanivannan There isn't enough information shared to know whether the module would be meant to show up.
Have you read the "PYTHON MODULE" comments in flexprompt_modules.lua for info on configuring the python module?
Some possibilities to check:

Make sure %VIRTUAL_ENV% or %CONDA_DEFAULT_ENV% environment variables are set.
Make sure there are *.py files in the current directory or its parent directories.
Check whether a script that runs after flexprompt_config.lua could have changed flexprompt.settings.left_prompt later.

If you want the python segment to show up regardless whether there are any python files, then you need to add the always keyword.  See the "PYTHON MODULE" comments.
flexprompt.settings.left_prompt = "{battery}{python:always}{cwd}{git}"

@chrisant996 Thanks a lot for your response. my bad. Honestly i missed this section PYTHON_MODULE, I just needed {python:always}


Clarify relationship between bit, bit[1] and bool

What is the expected enhancement?
This stems from discussions we've had before, but was mostly triggered by an issue on Qiskit (Qiskit/qiskit#11870) that I forgot to bring over here between me and Blake, so I'll mostly just copy over the comments from that.
The original context is that Qiskit's legacy OQ3 importer rejected a program
bit[4] c;
if (c[0] == "1") {
}

or the like, where c[0] (which I wrote the legacy importer to type as bit) is compared to "0" (which I typed bit[1]).  This is very related to #534.

Jake:
I think this is unclear on whether it ought to be permitted from the OQ3 spec. Personally I'd argue that c[0] == "1" isn't necessarily valid; I'd say c[0] has type bit or bool while "1" has type bit[1], and my view is that those are semantically different types (and we never really did clarify whether bit and bool are the same).  The way I wrote parser at the time does that - it'll accept c == "01" as a valid comparison in the equality but not c[0] == "1" because it treats "1" as a bit[1] and says there's no implicit casting rule between bit/bool and bit[1].
I'm happy enough to update that legacy backing parser to allow that, but I think we should clarify the OQ3 spec one way or the other on it.
Fwiw, my spec justification is these components:

The classical types are divided into the ‘standard’ classical types (bool, int, uint, float, and complex) that exist in languages like C, and the ‘special’ classical types (bit, angle, duration, and stretch) that do not.

so there's no implicit conversion from bool-likes to bit, but an explicit cast of bool to bit[1] is allowed.

Standard and special classical types may only mix in expressions with operators defined for those mixed types, otherwise explicit casts must be provided, unless otherwise noted (such as for assigning float values or expressions to angles).

Since there's no explicit allowance for == between bit and bit[1] (or bool and bit[1]), this semantic analysis forbids it.

Per TSC 2024-05-15 meeting Jake is planning to turn the above proposal (bit scalar being a different type than bit[1], that can behave equivalent to bool) into a full PR for later discussion.


[Feature request] Add a way to tag default setup values for an attribute

Especially in matter, there are a lot of attributes that do not use the ember layer attribute storage, and instead use the override AttributeAccessInterface functionality. These types of attributes should be marked as external so they don't allocate RAM in the storage system despite the fact that they will never hit it.
We have seen many examples come through where attributes were incorrectly tagged as RAM because the ZAP authors were unfamiliar with the underlying implementation. Since we don't expect everyone to read through and understand the code base for every attribute required on their devices, we should provide a way for the SDK authors to tag attributes as external by default.
A similar logic probably applies to some of the other columns, where it would be good to let the SDK authors set up a reasonable set of default starting characteristics since they are most familiar with how the setup should look.

@bzbarsky-apple is this issue a duplicate of https://github.com/project-chip/zap/issues/543?
@cecille my interpretation of this is that there is code which changes the value (as seen in the link) but the global attributes are not properly changed
Or am I misinterpreting the ask?

These issues are different as far as I can tell, unless I'm misunderstanding 543.
The problem here is that people implementing a new configuration for a device won't necessarily know what the implementation of the cluster logic looks like. Hence, they have no idea how to properly set the storage column. It defaults to RAM, which is a safe assumption given no other information, but I'd like a way to supply additional information and adjust the default if the SDK implementation does not use ember storage, so devices aren't wasting RAM space unnecessarily
I think that possibly applies to other fields as well.

Matter already has a way to force attributes to be external, if they are always handled via AttributeAccessInterface,, by adding them to the attributeAccessInterfaceAttributes lists in src/app/zap-templates/zcl/zcl.json and src/app/zap-templates/zcl/zcl-with-test-extensions.json.  What that will do is ignore what the ZAP UI says and just make the attribute external.
Of course it would be better if the ZAP UI reflected reality for such attributes by (1) saying the attribute is external and (2) making the storage field not editable in the UI.

@cecille Note that the mechanism I describe is an override, not a hint.  I agree that it might be good to have, for every UI element ZAP presents, a generic ability for an SDK to provide a hint or an override for that element.
Looking at attributes, for Matter, the editable fields seem to be the following:

Enabled.  I think this is hinted via the XML, maybe, by making attributes mandatory or optional, with ZAP enabling the mandatory ones by default?
Storage.  This currently has a way to override, kinda, but not hint, and only override to External.
Singleton.  Should not exist for Matter at all; this is not a concept Matter has.
Bounded.  I have no idea what this is, but I expect Matter does not use this.
Default. This can be hinted via the XML, cannot be overridden.

Interesting. I wasn't aware of the override, but I probably should have been. It's not super obvious, but at least it exists. I definitely have reviewed zap files and made comments about incorrect storage options, which apparently didn't matter.
I'm also not sure what all the other columns are in zap. Or what the xml format schema is, for that matter. Or how they hook together.

@bzbarsky-apple so ZAP should set storage policy to external by default and not allow the user to change the value? if so, I can do that, but I want to make sure I am understanding correctly

sorry,
for all clusters?

Only for attributes that have an override in the matter SDK. Basically, this list: https://github.com/project-chip/connectedhomeip/blob/master/src/app/zap-templates/zcl/zcl.json#L128. But probably not populated from that list because that's weirdly circular.

@paulr34 Matter has a list of things for which ZAP already always treats the storage policy as External in practice (i.e. External ends up coming out of the DB if you query it).  But that's not reflected in the UI by default and the UI lets you set a different policy... which is then ignored.

Understood, thank you. I'm debugging. Will get back to you asap.

@bzbarsky-apple I think I figured it out. The global attributes are labeled as "attribute"within general.xml and they should actually be labeled as "globalAttribute".
Maybe there is a better solution but at the moment the code treats global attributes like non global attributes and it doesn't work because the cluster is undefined. The only way to match a referenced cluster is to run a "forcedExternalCheck()" or something like that on each cluster which cross references globals in the globalAttribute list generated by the XML tag and our list of clusters/attributes pairs that are supposed to be external storage.

right now the global attributes are tagged as "attribute" in the XML and its hard to scrape out the globals
bottom line, we have some easily fixable XML issues which I will fix and should make our lives much easier and at least fix the problem for now until some glorious redesign
will talk with the team and try and fix it tomorrow

This issue isn't specific to global attributes though. The global attributes are actually less concerning to get right in the zap IMO because they all work the same way.

Agree, sorry my comment was more for the other issue.
I'm aware that this issue is about how when you add an endpoint it is not aware of what cluster/attribute pairs should be forced external.
Sorry I should've commented these comments on the other ticket originally.
The issues are similar in the sense that I need to cross reference the cluster/attribute list of pairs that should be forced external.
I'll try and make progress on this issue tomorrow and get back to you.
Apologies for the confusion. You're right.

@cecille sorry Ive been busy with another unrelated issue but found time to make some progress.
So there are two issues as discussed:
1.) when opening ZAP without a .zap file, the data in ENDPOINT_TYPE represents STORAGE_OPTION as RAM for all attributes
2.) when you load a .zap file into ZAP the non global attributes have STORAGE_OPTION set correctly but the global attributes are incorrectly set
One thing that didn't make sense is why in scenario two the attributes would be set correctly but in scenario 1 those same attributes are always set to RAM no matter what.
I found out it is because of this https://github.com/project-chip/zap/blob/master/src-electron/db/query-config.js#L248 as you can see at the initial insert to the table "ram" is hardcoded. When the .zap file is loaded this code is "IGNORE" so that hardcoded line is never hit.
So, in order to address this specific issue, I am going to fix this hardcoded problem which will hopefully solve problem 1 and this ticket.

@cecille https://github.com/project-chip/zap/pull/1137