Facebook email is not returned in the json response (email permission is added)

Hi @AlaeddineOuerteni I will look into the issue. Meanwhile, can you confirm that the user (who is logging in) accepted the email read permission when granting permissions for your app while logging in?

Hi @kalyandechiraju, thank you for your answer. Yes, the permission is accepted and I tested with many users and many Facebook apps, it's always the same issue.

Related to a change in the Graph API v2.4 which makes it necessary that you specify every field you want to have returned from the Graph API.
final Bundle bundle = new Bundle();
bundle.putString("fields", "id,name,email");
request.setParameters(bundle);
request.executeAsync();

Hi @AlaeddineOuerteni with these permissions passed into the library, the facebook login returned the email of the logged in user without any code change.
ArrayList<String> permissions = new ArrayList<>();
                    permissions.add("public_profile");
                    permissions.add("email");
                    permissions.add("user_birthday");
                    permissions.add("user_friends");

Please check once and confirm.

Tested again, working fine if proper permissions are passed.


cloud screen

Release Note Category

[ ] Feature changes/additions
[ ] Bug fixes
[ ] Internal Infrastructure Improvements

Release Note Description

I think I provided all the information they were requesting?


SRD: treat bundle-only mlines as not rejected

see test

there is a bigger issue here... pc.setRemoteDescription with the second mline rejected should still create a transceiver internally.

Codecov Report

Merging #24 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #24   +/-   ##
=======================================
  Coverage   91.86%   91.86%
=======================================
  Files           1        1
  Lines         774      774
=======================================
  Hits          711      711
  Misses         63       63

Impacted Files
Coverage Δ

rtcpeerconnection.js
91.86% <100%> (ø)
:arrow_up:

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 96a4947...7826ac4. Read the comment docs.

now lets see if that fixes the issue I have... ;-)


chore: use native binaries rather than java jar

The Closure Compiler folks release native builds to google-closure-compiler-<platform> on npm. google-closure-compiler already references those as optionalDependencies, so the one for your system is already sitting in node_modules along with google-closure-compiler-java. This copies in the same mechanism that google-closure-compiler/cli.js uses to invoke the native target instead of the Java jar.
Note that this isn't any faster (same code underneath, just with a Java-to-native build), it just removes Java as an environmental dependency.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


cross function returning always vec, not dvec

cross function is always returning float vectors, not double.
a1 = glm.dvec3(random.random(), random.random(), random.random());
a2 = glm.dvec3(random.random(), random.random(), random.random());
a1
>>> dvec3( 0.784963, 0.180989, 0.458512 )
 a2
>>> dvec3( 0.291617, 0.296031, 0.0420636 )
glm.cross(a1,a2)
>>>vec3( -0.128121, 0.100692, 0.179594 )

Well, it's happening with all functions. For example, glm.dot(dvec,dvec) returns a float, not double. Same with glm.length(dvec), etc...

It appears that I accidentally removed the type validity check from the PyGLM_Vec_Check macro, which is used every single time the type of a vector is checked. This can be easily fixed, however it might destroy some capabilities, where sometimes vectors of different types may no longer be interchangeable. I'll see what I can do.
By the way, I think you might have gotten carried away a little.

For example, glm.dot(dvec,dvec) returns a float, not double

There's no double in Python ^^'

Should be fixed now.

By the way, I think you might have gotten carried away a little.

For example, glm.dot(dvec,dvec) returns a float, not double

There's no double in Python ^^'

I know! I did not explain well... what I mean is that you are losing precision.
For example
>>> v = glm.dvec3(1000000.000001, 0, 0);
>>> v.x
1000000.0
>>> v.x = 1000000.0000001
>>> v.x
1000000.0000001
>>> glm.length(v)
1000000.0

As you can see, you are losing precision on the constructor and you are losing precision when computing vector length.
I'm pretty sure everything is related with the macro as you said.
Many many thanks!

With the new version I'm still losing precision with the constructor.
>>> v = glm.dvec3(1000000.0000001, 0, 0)
>>> v.x
1000000.0
>>> v.x = 1000000.0000001
>>> v.x
1000000.0000001
>>> glm.length(v.x)
1000000.0000001
>>> glm.length(v)
1000000.0000001

But if I call constructor with a list, it works fine
>>> v = glm.dvec3([1000000.0000001, 0.0, 0.0]);
>>> v.x
1000000.0000001

You've actually spotted a major oversight in the vec3 constructor.
This happens only if any vec3 that is not of type float is constructed with
(<number>, <number>, <number>) or (<vec2>, <number>) or (<number>, <vec2>).
Internally it's accidentally converted to a float vector (relict from the times when PyGLM didn't support other datatypes).
Writing a fix is as easy as replacing three glm.vec3's with glm.vec<3, T>'s.
I will take care of that when I'm back home.


Chat example with UI, WS, and HTTP

This PR adds a simple UI to the chat example for a full web app served by a node. The app includes both two-way websocket calls and HTTP requests (GET & POST) on both frontend and backend.

I get
$ uqdev build-with-ui
Compiling Uqbar process in "/home/nick/git/uqbar-v2/uqdev/foo/foo"...
   Compiling foo v0.1.0 (/home/nick/git/uqbar-v2/uqdev/foo/foo)
    Finished release [optimized] target(s) in 2.24s
Done compiling WASM project in "/home/nick/git/uqbar-v2/uqdev/foo/foo".
Building UI in "/home/nick/git/uqbar-v2/uqdev/foo/ui"...
UI directory found, running npm install...

changed 1 package, and audited 224 packages in 456ms

42 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
Running npm run build:copy...

><EMAIL_ADDRESS>build:copy
> npm run build && npm run copy

><EMAIL_ADDRESS>build
> tsc && vite build

src/App.tsx:4:31 - error TS2307: Cannot find module '@uqbar/client-encryptor-api' or its corresponding type declarations.

4 import UqbarEncryptorApi from "@uqbar/client-encryptor-api";
                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Found 1 error in src/App.tsx:4

Error: Command failed

after updating my node and npm versions


Components not in Default Theme

Hi Gitbook Folks!
First of all, awesome web publishing framework, really enjoy using it.
Looking at your guide, I'm trying to use components in my GItbook using the default theme, but it doesn't seem like the LESS is included by default. How do you best suggest I include the LESS behind the styleguide described?

For example, I need to utilize a grid system for some divs, but the grid system specified here does not work. It looks like the default theme does not actually have a portion of the style guide. Any tips on how to integrate this into default theme would help.

Sorry for the very late response.
This styleguide is not designed for books, it's being used for GitBook.com and the GitBook Editor.


node: Cannot list asset, even though i have the plugins

With NEO-CLI, when i run
list asset
it only shows NEO and NeoGas , but i know i have also other assets there.
How to make them visible?
Now i am not even able to move them away from the wallet.
If i try the "send" command it fails, even if i specify the asset hash as the first parameter.
So i really need the assets to be detected by the wallet.
I have already installed the plugins:
install RpcWallet
Downloading from https://github.com/neo-project/neo-plugins/releases/download/v2.12.2/RpcWallet.zip
Plugin already exist.
install RpcSystemAssetTracker
Downloading from https://github.com/neo-project/neo-plugins/releases/download/v2.12.2/RpcSystemAssetTracker.zip
Plugin already exist.
install RpcNep5Tracker
Downloading from https://github.com/neo-project/neo-plugins/releases/download/v2.12.2/RpcNep5Tracker.zip
Plugin already exist.
install CoreMetrics
Downloading from https://github.com/neo-project/neo-plugins/releases/download/v2.12.2/CoreMetrics.zip
Plugin already exist.

What am i missing?
Thanks

Old, if remains, please re-open


memo: refactoring dependency paths

Motivation for this change
The previous version did not replace the dependent binary paths in the program. This one does and uses ag instead of ack for speed reasons.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build memo

Success on x86_64-linux (full log)
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/va1hdpvmlb8k2438cvvpmn8iqbzzrmvj-memo-0.2
gzipping man pages under /nix/store/va1hdpvmlb8k2438cvvpmn8iqbzzrmvj-memo-0.2/share/man/
strip is /nix/store/adidfx4pa7vmvby0gjqqmiwg2x49yr27-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/va1hdpvmlb8k2438cvvpmn8iqbzzrmvj-memo-0.2/bin
patching script interpreter paths in /nix/store/va1hdpvmlb8k2438cvvpmn8iqbzzrmvj-memo-0.2
/nix/store/va1hdpvmlb8k2438cvvpmn8iqbzzrmvj-memo-0.2/bin/memo: interpreter directive changed from "/bin/bash" to "/nix/store/fcxliihmhm2ak9z4890gk0qw63zsbrcx-bash-4.4-p12/bin/bash"
checking for references to /build in /nix/store/va1hdpvmlb8k2438cvvpmn8iqbzzrmvj-memo-0.2...
/nix/store/va1hdpvmlb8k2438cvvpmn8iqbzzrmvj-memo-0.2

Success on x86_64-darwin (full log)
Partial log (click to expand)
building
no Makefile, doing nothing
installing
post-installation fixup
gzipping man pages under /nix/store/4vqnmkigc33l5ph0agj7dq5rb9lyb1c0-memo-0.2/share/man/
strip is /nix/store/v8ifq0hapblpr2z0hx4wvwg02w4aczqy-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/4vqnmkigc33l5ph0agj7dq5rb9lyb1c0-memo-0.2/bin
patching script interpreter paths in /nix/store/4vqnmkigc33l5ph0agj7dq5rb9lyb1c0-memo-0.2
/nix/store/4vqnmkigc33l5ph0agj7dq5rb9lyb1c0-memo-0.2/bin/memo: interpreter directive changed from "/bin/bash" to "/nix/store/19cc89zq5n68ibr53izy4zgcr5qg2rza-bash-4.4-p12/bin/bash"
/nix/store/4vqnmkigc33l5ph0agj7dq5rb9lyb1c0-memo-0.2

Success on aarch64-linux (full log)
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/c5b3h5394hw5n8whlr0yqivgzs4fagrx-memo-0.2
gzipping man pages under /nix/store/c5b3h5394hw5n8whlr0yqivgzs4fagrx-memo-0.2/share/man/
strip is /nix/store/skd6ix5ipkyhxzq7naylj4digawakl4j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/c5b3h5394hw5n8whlr0yqivgzs4fagrx-memo-0.2/bin
patching script interpreter paths in /nix/store/c5b3h5394hw5n8whlr0yqivgzs4fagrx-memo-0.2
/nix/store/c5b3h5394hw5n8whlr0yqivgzs4fagrx-memo-0.2/bin/memo: interpreter directive changed from "/bin/bash" to "/nix/store/shjmvsnwrlg7rd8m0kzgpygqq4if312z-bash-4.4-p12/bin/bash"
checking for references to /build in /nix/store/c5b3h5394hw5n8whlr0yqivgzs4fagrx-memo-0.2...
/nix/store/c5b3h5394hw5n8whlr0yqivgzs4fagrx-memo-0.2


[Feature] Support traces and logs exporting.

Search before asking

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

Description
This is a feature that was asked repeatedly, but we hold it for a long time, with concerns about the performance of upstream(exporting target).
Now, the whole OAP backend is stable from an architectural perspective.
I would like to begin this feature discussion and talk about possible solutions.
Use case
Exporting SkyWalking's traces and logs to the 3rd party
We had the metrics exporter, https://skywalking.apache.org/docs/main/next/en/setup/backend/metrics-exporter/, for years.
Users could use this easy to build forward if they need most of the metrics, but on-demand query through GraphQL doesn't fit their requirements.
Same for traces and logs. users may have some platform, which wants to analyze logs and traces for business performance analysis, or AIOps, like @Superskyyy 's new project (https://github.com/SkyAPM/aiops-engine-for-skywalking)
Challenges
The major challenges about these exporting, are building

A scalable channel to export data.
A good limiter and breaker to make sure low perf upstream would not break or slow down the OAP server.
Measure the exporting performance and speed in the self-observability

Milestone
I am not sure whether we should set milestones in 9.3.0. I would discuss it with @wankai123 to see.
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

One specific challenge learnt from the AIOps engine (or similar projects) is multiple consumers are needed to ingest data in a streaming fashion, but streaming rpcs are quite difficult to scale. I propose we choose Kafka etc. in this direction (avoid direct coupling with the consuming project) to export large data like traces and logs, so it is less likely to congest/ easier to scale.

Kafka should be fine, but generally and in theory, it has no difference from cluster-supported gRPC streaming.
Of course, we may consider Kafka as the default exporter channel as it is widely used.

@Team I have some knowledge regarding Kafka and would love to contribute to this feature in any possible way.

@Team this looks like an interesting feature. I do have some knowledge on the kafka side, would love to contribute in any possible way

This is done in https://github.com/apache/skywalking/pull/9817


WinFsp.WinFsp version 1.9

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Not sure what bot is on about, installs fine from manifest for me on clean VM, no user input needed, validates fine

Ok, if one is already being worked on ill wait until that one gets the product code added


rbac: efective policy ID in standard engine

RBAC currently adds shadowEffectivePolicyID field to Dynamic Metadata buy only when shadow engine is being used.
We have a use case where we would need to know which policy has been applied for traffic that has been allowed by the standard engine.
We could add a new effectivePolicyID field to Dynamic Metadata, does this seem OK? would it need to be turned on via proto settings?

Seems reasonable, @yangminzhu?

I think this makes sense to me. This probably can be enabled by default unless there are any concerns about the performance overhead of writing to dynamic metadata on every matched requests.
The change should be small, just need to be consistent with the current shadow engine design: there are two fields shadowEffectivePolicyID and shadowEffectivePolicyResult. It also supports adding custom prefix (shadow_rules_stat_prefix) to the field which is useful when you have multiple RBAC filters.


Fixes #1211, Remove osmarender map layer

removed the map type
updated string resources

That's a good real-life example to demonstrate why there should be a default case in every switch statement...


removing use of function.prototype.apply which internally uses queuin…

…g causing stack limit to be reached on large number of arguments
Pull Request check-list
Please make sure to review and check all of these items:

[x] Does npm test pass with this change (including linting)?
[x] Is the new or changed code fully tested?
[x] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.
Description of change
Earlier MULTI function was calling the commands using function.prototype.apply which has a hardcoded argument limit of 65536.
for eg. If I wanted to add 1 mil keys in a set using a SADD command running REDIS transaction it throws a Maximum call stack size exceeded error.
client.multi(
['sadd',keyName,1,2,3,4,.......999999,1000000]
['expire',keyName,30000]
)

So, I have changed the function invocation which is not using function.prototype.apply.

This breaks callbacks (that's why it uses apply). I believe you can pass very high number of arguments by using the commands directly rather than arrays e.g.:
client.multi()
.sadd('foo',{ high number of arguments} )
.exec()

From a perspective of Redis itself, it's probably better to send multiple SADDs anyway.
I'm going to close this as an edge case where the fix breaks other functionality (and the limit is hard coded).


Automatic load of  yabai --load-sa

Hello, there are features that require SIP to be disabled that will only work when I run sudo yabai --load-sa, so everytime I restart the machine I have to run that command otherwise those features wont work. Is there a way to have that feature always enabled?
Thank's

Yabai does it automatically. In .yabairc there is a line to reload it after dock restart, which can give you a clue.
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
So you can add commands to .yabairc and it will be executed when yabai is loading.

.yabairc does not have default commands, I had to build it myself, so this line was not present.
I added it, seems to works. Thank's

Yes, read wiki, it is very helpful.

I added yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa" but does not work, I still have to load it manually :/

https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(latest-release)#configure-scripting-addition


thunderbird*: 91.10.0 -> 91.11.0

https://www.thunderbird.net/en-US/thunderbird/91.11.0/releasenotes/
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Both seem to work for me so far, and the announcement is very small anyway.


Save output to file

Hi,
I would be very interesting if instead of playing the sound I could also use the library to save it to a file.
At the moment I have to use system call to do this and using pyttsx for this would be nice.
I wish I could provide a patch but this is beyond my python skills.

Hi @parente .
First of all, thank you for writing pyttsx and its documentation.
I too would like a "write to file" API, instead of flushing the generated data at the output sound device.
I have done some research on speak_lib.h, the public .h for the espeak lib, and I think there is no "pre-cooked" API for saving to file the produced wave data. It seems to me that one must write a callback function that flushes the data to file as it comes, with the proper WAVE header and ending flush. Essentially this means mimicking what the -w flag (= write to file) does in the src/espeak.cpp in the source of espeak.
(Full disclosure: I am looking for a lib-based approach to synthesize text in Python (or a C extension), to replace this code which uses subprocess to call the espeak executable: https://github.com/readbeyond/aeneas/blob/master/aeneas/espeakwrapper.py )


Fix test credentials

clustermgr tests seem to use hardcoded credentials. this uses the credentials already passed to the harness via environment

.

Unfortunately Couchbase utilizes an external Code Review system (Gerrit) for accepting changes and we are unable to directly accept pull-requests.  Please register on Gerrit, accept our CLA and push your change there.
P.S. As far as I can tell, you are currently unregistered on Gerrit.

http://review.couchbase.org/#/c/55297/
http://review.couchbase.org/#/c/55296/


Large Arduino Micro project built with PIO crashes, works when built with Arduino IDE

Configuration:
Board: RedBearLabs Blend Micro board (Arduino Micro + NRF8001)
PlatformIO Version: 2.9.1
Operating System: Fedora 23
Framework: Arduino
Libraries: BLEPeripheral
Issue:
When the program is built with pio and uploaded to the board, it crashes when accessing Serial. Same source code built with Arduino IDE works fine.
Workaround
The only way to work around the linker issue below was to embed BLEPeripheral library directly in the project/src (not project/lib) directory instead of referencing it in platformio.ini. This way the build process skips part of the static library linking step which seems to produce firmware that crashes on arduino micro.
Details:
The issue seems to be related to the way firmware is linked.

pio compiled object files linked using pio generated command (outcome: firmware crashes)

/home/user/.platformio/packages/toolchain-atmelavr/bin/avr-g++ -o .pioenvs/blendmicro8/firmware.elf -Os -mmcu=atmega32u4 -Wl,--gc-sections,--relax .pioenvs/blendmicro8/src/main.o -L/home/sebby/.platformio/packages/ldscripts -L.pioenvs/blendmicro8 -Wl,--start-group .pioenvs/blendmicro8/libFrameworkArduinoVariant.a .pioenvs/blendmicro8/libFrameworkArduino.a -lm .pioenvs/blendmicro8/libSPI.a .pioenvs/blendmicro8/libBLEPeripheral_ID259.a -Wl,--end-group

pio compiled object files linked using Arduino IDE method (outcome: firmware no longer crashes)

/home/user/.platformio/packages/toolchain-atmelavr/bin/avr-g++ -w -Os -Wl,--gc-sections -mmcu=atmega32u4  -o .pioenvs/blendmicro8/firmware.elf ".pioenvs/blendmicro8/SPI/SPI.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLEAttribute.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLEBondStore.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLECentral.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLECharacteristic.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLEConstantCharacteristic.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLEDescriptor.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLEDevice.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLEFixedLengthCharacteristic.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLEHID.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLEHIDPeripheral.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLEHIDReportMapCharacteristic.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLEHIDReportReferenceDescriptor.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLEKeyboard.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLELocalAttribute.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLEMouse.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLEMultimedia.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLEPeripheral.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLEProgmemConstantCharacteristic.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLERemoteAttribute.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLERemoteCharacteristic.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLERemoteService.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLEService.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLESystemControl.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLETypedCharacteristics.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLEUtil.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/BLEUuid.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/EddystoneBeacon.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/iBeacon.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/nRF51822.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/nRF8001.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/utility/aci_queue.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/utility/acilib.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/utility/hal_aci_tl.o" ".pioenvs/blendmicro8/BLEPeripheral_ID259/utility/lib_aci.o" ".pioenvs/blendmicro8/src/main.o" ".pioenvs/blendmicro8/libFrameworkArduino.a" "-L.pioenvs/blendmicro8" -lm
Source Code:

platformio.ini

[env:blendmicro8]
platform = atmelavr
framework = arduino
board = blendmicro8
lib_install = 259
build_flags = -DARDUINO_BLEND_MICRO_8MHZ

main.cpp

main.cpp.txt

Changing optimization options from -Os to -O in CCFLAGS and LINKFLAGS does not change the behavior observed.

Hi @digitalstreamio, thanks for the report!
For now, I can't say what is wrong, but looks like blePeripheral and Serial objects are adjacently linked and for some reason memset function from blePeripheral constructor writes an excessive byte to Serial memory section.
Could you please try next extra_script with your board?
extra_script.py:
from SCons.Script import DefaultEnvironment

env = DefaultEnvironment()

env.Replace(
    LIBS=[env['LIBS'][::-1]]
)

platformio.ini:
[env:blendmicro8]
platform = atmelavr
framework = arduino
board = blendmicro8
lib_install = 259
build_flags = -DARDUINO_BLEND_MICRO_8MHZ
extra_script = extra_script.py

@valeros Nice work, the script does seem to address the issue. I can confirm that with the extra_script the firmware works properly and without it crashes as before. Thanks!

@digitalstreamio could you reproduce this issue with new PlatformIO 3.0?

@digitalstreamio please open new issue https://github.com/platformio/platform-atmelavr/issues if you have problem with PlatformIO 3.1


fix line ending

by default on file writes the line ending is replaced by os.linesep, so our own line endings do not persist. This can be fixed by passing the appropriate line ending.

Fixes: #202

@maxbachmann I've finalized the PR, if you don't mind, could you please verify that this fix works?
Thanks a lot for supporting the project.

@maxbachmann I've finalized the PR, if you don't mind, could you please verify that this fix works?
Thanks a lot for supporting the project.


⚠ Turnos 24x7 has degraded performance

In 2b72a9c, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 962 ms

Resolved: Turnos 24x7 performance has improved in 50c591d.


Add inverse scale and axpy

This PR adds inv_scale and sub_scaled functions to Dense which will later be used to split the Arnoldi kernels in GMRES into individual dot products and orthogonalizations, as is necessary for a distributed implementation.

@yhmtsai Yes, I am trying to keep the PRs smaller. Refactoring GMRES should be another one.

rebase!


Sort by date rather than by citation count

Hello!
I have a case where I would like to build a list of the N most recent publications for an author. On someone's Google scholar page, there's an option to sort by date rather than by citation count. Is it possible to add this feature to this application?
Thanks!
PS: I've been looking for an application like this for months now so this is super convenient 😊

Will try to implement this myself as well

Closing since @jwjeffr implemented himself.


Use ts-bridge for building

Turns out tsup wasn't the perfect solution either (mainly due to problems with ESBuild), so we decided to switch to a different solution, hopefully for the last time. ts-bridge also simplifies the build process a little bit, as we no longer need a separate config.
Output from attw:
┌───────────────────┬───────────────────┬────────────────────────┬────────────────────────────────┐
│                   │ "@metamask/utils" │ "@metamask/utils/node" │<EMAIL_ADDRESS>│
├───────────────────┼───────────────────┼────────────────────────┼────────────────────────────────┤
│ node10            │ 🟢                │ 💀 Resolution failed   │ 🟢 (JSON)                      │
├───────────────────┼───────────────────┼────────────────────────┼────────────────────────────────┤
│ node16 (from CJS) │ 🟢 (CJS)          │ 🟢 (CJS)               │ 🟢 (JSON)                      │
├───────────────────┼───────────────────┼────────────────────────┼────────────────────────────────┤
│ node16 (from ESM) │ 🟢 (ESM)          │ 🟢 (ESM)               │ 🟢 (JSON)                      │
├───────────────────┼───────────────────┼────────────────────────┼────────────────────────────────┤
│ bundler           │ 🟢                │ 🟢                     │ 🟢 (JSON)                      │
└───────────────────┴───────────────────┴────────────────────────┴────────────────────────────────┘

@metamask/utils/node is failing because Node.js 10 doesn't support package.json exports. Node 16 (EOL) and higher support this, so that's a non-issue.

I'm noticing that the requires in the CommonJS version of files have extensions in them, even though they aren't necessary. I don't think this is an issue but something to watch for.
In any case I ran yarn build on branch and then linked utils into these projects:

create-release-branch (which is ESM) => works without a hitch! ✅
core (which is CommonJS) => works! ✅  (with the exception of a change I had to make to a Jest config, but that's on us)

Seems good to me :)

I'm noticing that the requires in the CommonJS version of files have extensions in them, even though they aren't necessary. I don't think this is an issue but something to watch for.

This is intentional. The ESM module resolution algorithm is quite complicated, but if a file is using .mjs or .cjs, it must be an ES module or CommonJS respectively.
So in theory this lets Node.js (or whatever module resolution algorithm) take the happy path, and continue parsing the file using the module type implied by the file extension, and skip looking at other files that can determine if something is ESM or CJS.
It also removes the need for checking different file extensions. Node.js might look for file.js before file.cjs for example.
So theoretically it's slightly more performant to use file extensions everywhere. I doubt it makes any significant difference in practice, but as far as I know there's no downsides to using file extensions everywhere either.


tag flaky test

@ptnapoleon @thobbs This is the same failure as https://issues.apache.org/jira/browse/CASSANDRA-12213 right?

Yes, and can you remove it from test_mutation_any? It was placed on the wrong test, and I am 100% sure I caught that on review. I have no idea how the unfixed version was merged, probably my fault. +1

Done, thanks for the review. Merging.


fix(ci): javadoc

Should close #16

Thanks! It confused me that the Zulu JDK 8 used on GitHub complains about this while OpenJDK-8 does not.


Default text align for tables should use ---

Tables created without using text_align, should use --- as a default, instead of :---:.  This gives more support for version of markdown that do not use text align

Good catch!


[EN] Feedback for: /web/fundamentals/design-and-ui/input/forms/?hl=en

I expect a certain level of professionalism from google.
When im learning to code I want to find out stuff - not listen to a muppet, sooo childish, just like some of the google 2016 talks.

Sorry to hear you didn't enjoy it.


How to initialize session storage?

From: https://cljdoc.org/d/com.github.strojure/ring-undertow/1.2.0-109/api/strojure.ring-undertow.impl.session#put-session
Raises exception if session storage is not initialized in server configuration and session values cannot be set.

How to initialize the session storage with server/start?
I cannot mix the ring handlers with the session handler from undertow

not sure if I am doing this correctly, but it seems to work 🤷
  (:require [strojure.ring-undertow.handler :as ring.handler]
            [strojure.undertow.server :as server])

(defstate server
  :start (server/start
          {:port (conf [:server :port])
           :handler (-> (ring.handler/ring {:ring-handler ring-handler}) (handler/session {}))})
  :stop (server/stop server))

It was a bit confusing that it couldn't be done with ring-undertow/start, and had a bit of trouble adding the ring handler to undertow/start because there were no examples. In case you want to update the docs!
It works well, but for now I think I will use Jetty because Undertow (the Java library) offers very little control over individual sessions, the configuration seems to apply to all sessions the same, and the redhat documentation is very lacking.


ParsePushAdapter.js throw __iteratorError

This is the log file
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'start' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart<EMAIL_ADDRESS>6 info start<EMAIL_ADDRESS>7 verbose unsafe-perm in lifecycle true
8 info<EMAIL_ADDRESS>Failed to exec start script
9 verbose stack Error<EMAIL_ADDRESS>start: `node index.js`
9 verbose stack Exit status 1
9 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:217:16)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at EventEmitter.emit (events.js:172:7)
9 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at ChildProcess.emit (events.js:172:7)
9 verbose stack     at maybeClose (internal/child_process.js:854:16)
9 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:222:5)
10 verbose pkgid<EMAIL_ADDRESS>11 verbose cwd X:\Data\www\app_node\parse-server-punchorello
12 error Windows_NT 6.1.7601
13 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
14 error node v4.7.2
15 error npm  v2.15.11
16 error code ELIFECYCLE
17 error<EMAIL_ADDRESS>start: `node index.js`
17 error Exit status 1
18 error Failed at the<EMAIL_ADDRESS>start script 'node index.js'.
18 error This is most likely a problem with the parse-server-example package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error     node index.js
18 error You can get information on how to open an issue for this project with:
18 error     npm bugs parse-server-example
18 error Or if that isn't available, you can get their info via:
18 error
18 error     npm owner ls parse-server-example
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

Steps to reproduce

git clone
npm install
change configuration to add android and ios configuration
npm start

Environment

node 4.7.2
windows 2008 server

Note: the issue only occurs with push config

@ruchanb I have this issue right now, what was causing it for you?

I think it was with wrong configuration. Check for typos.


Script is sending the wrong Velocity Value (which is being covered by C12, but may not be by future versions).

I don't want to break an NDA, but let's just say I know that this will not work in a future version of Cubase (I think that C12 is masking this error, and a later version will not).
I understand Python well, but don't have any typescript skills, so couldn't do a PR, however, I think in this file:
src/midi/PortPair.ts
There is an issue which is a simple fix:
output.sendMidi(context, [0x90, pitch, +Boolean(velocity) * 0xff]);
Should read
output.sendMidi(context, [0x90, pitch, +Boolean(velocity) * 0x7f]);
So that the script tries to send 127 as the maximum value, not 255.  Then it will work.

I've made a manual change to the compiled JS file (line 4146 for me) and it works fine, BTW.

A message from the future, exciting! Thanks for the heads-up @djaychela, and what a silly mistake :facepalm: Fixed by c7d5597 which will be included in 1.7.0 soon. By the way, any words on the 2024 US election yet?


Feat/gini coefficient

Change description
Add custom metric for gini coefficient (discriminatory) calculation.
Modified _process_metrics() in performance.py to address this issue https://github.com/credo-ai/credoai_lens/issues/203 (quick-fix; @IanAtCredo to address later during refac)
Type of change

[ X] Bug fix (fixes an issue)
[X ] New feature (adds functionality)

Related issues

Fix #1 https://github.com/credo-ai/credoai_lens/issues/203

Code review

[ ] Pull request has a descriptive title and context useful to a reviewer. Screenshots or screencasts are attached as necessary
[ ] "Ready for review" label attached and reviewers assigned
[ ] Changes have been reviewed by at least one other contributor
[ ] Pull request linked to task tracker where applicable

Why does adding precision_score to line 29 make the tests pass? Shouldn't equal_opportunity be able to run on its own?

Why does adding precision_score to line 29 make the tests pass? Shouldn't equal_opportunity be able to run on its own?
@IanAtCredo

When only a fairness metric is passed to the Performance evaluator, initialization will fail. This is because no metrics are processed (the fairness metric isn't useable by Peformance). I've put this as an issue for refactoring process_metrrics


PUT or PATCH methods are not going as expected

How could I direct the form to be a PUT or PATCH request?
I made the route to be PATCH like:
Route::patch('foo', 'foo@bar')->name(foo.bar);
but the form keeps going as a POST.
I tried to add a hidden _method input field like Laravel:
<input type="hidden" name="_method" value="PATCH">
but it still goes as a POST.
Could you please help.

Bug confirmed. It's a typo in the code ($_SERVER['RQUEST_METHOD']):
https://github.com/ingeniasoftware/luthier-ci/blob/3161b025de019613e525fd1574c9e53dfa6fa11c/src/Hook.php#L182-L189

Version 1.0.2 released :+1:


Timed out waiting for EnginePeerStateUpdatedEvent

I encountered an error with the latest package on Windows. The error message is Timed out waiting for EnginePeerStateUpdatedEvent. The package causing the issue is livekit_client: ^1.5.3 Can you provide assistance or suggestions on how to resolve this issue?
ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: LiveKit Exception: [ConnectException] Timed out waiting for EnginePeerStateUpdatedEvent
#0      Engine.connect.
engine.dart:168
#1      _RootZone.run (dart:async/zone.dart:1655:54)
#2      Future.timeout. (dart:async/future_impl.dart:882:34)
#3      Timer._createTimer. (dart:async-patch/timer_patch.dart:18:15)
#4      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398:19)
#5      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429:5)
#6      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:189:12)

dupe of #409


System Preferences shows error with v2.0.x

Required information
In order to help us sort your issue, we ask that you provide the following information:

[ ] Mac model: 2018 MacBook Pro 13"
[ ] macOS version: macOS Catalina 10.15.6 with supplementary update
[ ] Monitor setup: 1

If appropriate, please enable Debug mode and Log to disk in Advanced tab and replicate your bug, then attach the AerialLog.txt file (You can access this file through the Advanced tab).
Description of issue / Feature request
Upgraded to Aerial v2.0.0 using the new companion app.  When attempting to launch the aerial screen saver settings I receive an error message from System Preferences:
An error occurred loading the file
Please check your network connection, firewall, and
try again.
Error : Could not connect to the server
When screensaver timeout is reached I just get a black screen - Aerial doesn't launch.
I've manually uninstalled Aerial.  Tried installing again using the companion app (this time v2.0.1) and received the same error.  I've manually uninstalled and tried manually installing Aerial (v2.0.1) from the zip file.  Same error.
With Aerial uninstalled, no such error is issued by System Preferences.  All other screensavers work as expected without any error.
Is it possible to get old versions of the the Aerial.zip file?  I would like to instal/get back the most recent version before v2.0.0. Never had any problems with that.  I also prefer the old user interface - easier to navigate and determine which videos will be played.

Worked out how to go back to v1.9.2 .  Issue does not occur with v1.9.2 .


!important usage for .text-secondary

Good day.
This issue about !important usage for .text-secondary.
Take a look:
https://github.com/twbs/bootstrap/blob/v4-dev/scss/mixins/_text-emphasis.scss
This code was added at Oct 30, 2015
Maybe it's time to remove !important ;)

Utilities include !important on purpose, and it won't be going away anytime soon on any of them.


Possibility to escape bracket ("]") characters for messages inside @ChatMessages

Hello, I wanted to ask if there's a way to escape brackets inside @ChatMessages's text content. I ask because the system module for GURPS, has "On the Fly" formulas that create a button in the chat window by writing the adequate formula between brackets. An example could be [DX], [ST-1], [S:name-2 text], etc.
More formulas can be found in their read me: https://docs.google.com/document/d/1NMBPt9KhA9aGG1_kZxyk8ncuOKhz9Z6o7vPS8JcjdWc/edit#heading=h.4i42gorf4hic
The issue I've been running into is when I use the brackets for these OtF commands, here's an example:
@Actor[JG5kjzSWeT4gnSDV]{Trap 1}@Trigger[move capture]@ChatMessage[You have triggered a trap]@ChatMessage["Roll against [DX]. See what happens."]
This outputs the following when the trigger is triggered:

The issue happens with the "]" bracket and it ends the message there, but not completing the OtF command that I  need. I think that this can be solved if you can escape that bracket somehow, but after trying a few alternatives I can't find a way to do it.
That's it, thank you guys.

I'd say the easy solution for that would be to simply use @Macro[roll-against-dx] and have a Chat macro with all the text you want. and anything you might want to put in there.


Allow accessing private terraform modules (github)

Currently in any github pipeline where you run terraform and access private modules , this is very ugly.
You have to do something like this in your pipeline
      - name: Set git config
        run: |
          /usr/bin/git config --global --add url."https://${{ secrets.GH_PAT_TOKEN<EMAIL_ADDRESS>https://github.com/MY_ORG

Would be great to handle this "natively" in digger.
Related also to #219   ( when running digger locally you also need access to all module repos)

Ah indeed this is a good case to handle. Just dropping this here since it seems related to the issue: https://github.com/diggerhq/digger/issues/111#issuecomment-1514838828

@motatoes
Atlantis implementation for that was done in this PR: https://github.com/runatlantis/atlantis/pull/711

I found a way to access private repos with digger ( or any other terraform github workflow ).
Just want to share it here (replace  with your github org)
name: Digger (Terraform)

on:
  pull_request:
    branches: [ "main" ]
    types: [ closed, opened, synchronize, reopened ]
  issue_comment:
    types: [created]
    if: contains(github.event.comment.body, 'digger')
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    permissions:
      #To allow checkout this project
      contents: read

      #To allow Digger to access PRs
      issues: write
      pull-requests: write
    steps:
      # create a temp. token from the github app installed in the org.
      # (The app needs to have read access to all private terraform repos  in the org )
      # this token is used in the next step to allow cloning terraform module repos
      - name: Get Token
        id: get_workflow_token
        uses: peter-murray/workflow-application-token-action@v2
        with:
          application_id: ${{ secrets.DIGGER_APPLICATION_ID }}
          application_private_key: ${{ secrets.DIGGER_APPLICATION_PRIVATE_KEY }}
          organization: <my org>

      # allow terraform to download our private modules
      - name: Set git config
        run: |
          /usr/bin/git config --global --add<EMAIL_ADDRESS>org>".insteadOf https://github.com/<my org>
        env:
          GITHUB_TOKEN_READ_REPOS: ${{ steps.get_workflow_token.outputs.token }}

      - name: digger run
        uses<EMAIL_ADDRESS>        env:
          GITHUB_CONTEXT: ${{ toJson(github) }}
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # here the workflow token is used implicitly
          GITHUB_OWNER: <my org>

Thank you so much for sharing this @frank-bee , we will adopt something similar when we get to implementing support for digger for sure!

Any news here?

hey @frank-bee haven't had a look at this but it looks like the atlantis-inspired implementation is the way to go, I'll take a look at this but got alot on my plate right now so it might be a bit of time

You can use env variables to configure git credentials, I think this is even more secure, see my blog post at https://dev.to/ebuildy/use-terraform-module-from-a-private-git-project-with-atlantis-18ak
GIT_CONFIG_COUNT=1
GIT_CONFIG_KEY_0="credential.https://gitlab.com/company/terraform.helper"
GIT_CONFIG_VALUE_0=!f() { echo "username=${ATLANTIS_GITLAB_USER}"; echo "password=${ATLANTIS_GITLAB_TOKEN}"; }; f


[terra-form-select] Allow VO to read index value for select options

Summary

Closes #3325
Deployment Link

https://terra-core-deployed-pr-#.herokuapp.com/
Testing

Additional Details

https://user-images.githubusercontent.com/42207428/110085199-d40be000-7db6-11eb-835b-972c31cade01.mov
The VO  reads all variants like the screen recording above except the native select

Thank you for contributing to Terra.
@cerner/terra

Adding 'do not merge' label as we are waiting on the UX and accessibility inputs on how the format of the text which VO reads should be and also how the options under the Group should be read.

@ShettyAkarsh @StephenEsser @neilpfeiffer @mjhenkes I noted on a previous issue that Terra should NOT try to "fix" any failures of any of the assistive technology like VoiceOver when it comes to a native HTML element. This should be logged to Apple VoiceOver as an issue. User agents are responsible for the accessibility of a native component. If Terra customizes a native HTML element, Cerner would become responsible and liable for the accessibility of it. Terra would also be setting itself up to maintain the fixes should Apple fix the issue.

@scottwilmarth point of clarification that I think you might have missed as context - this issue/pr is not trying to increase the accessibility of the native terra-form-select, the intent is to keep the native-select as native. This PR will be addressing increasing the accessibility of all the other types of dropdown selects in this package which are complete custom creations (combobox, searchable select, multiselect, and tag multiselect).

If this is regarding other non-native versions, please provide more context of what exactly I should be looking at to review.

As Neil mentioned, in this PR we are implementing index for the custom variants of form select. As of now I have implemented the index to read as x of y. Please test the deployed examples here, and suggest changes for the phrase x of y read out by the VO, if required.  As of now this PR reads index of total options for normal options and index of  total option in the group for opt-groups. Which can be ambiguous in the scenario where the select has a combination of both options and opt-groups as pointed out in this comment. So we need some input on what the VO should read for both options and opt-groups. Anything you would like to add @neilpfeiffer.
cc @scottwilmarth

PR has been updated with all the comments and suggestions as discussed with UX.

Notes on final updates applied by @saket2403 :

The form-selects for search, combobox, multiple, tag, and legacy-single select have all been updated to for screen readers to announce the option {item name} followed by ( {position} of {total} ), e.g. Blue (1 of 8), as the user navigates through the list of options.
If the option item is selected, it is announced as {item name} Selected. ( {position} of {total} ),  e.g. Blue Selected. (1 of 8)
For OptionGroups, the option group label is not read separately, instead it is combined with the each option item name and the position information, e.g. Group Shades of Blue, Aqua (1 of 8), the {total} is the overall total of all options in each option group. As the user navigates from one option group to the next, the {position} is the position of the option item relative to the total flattened list, not the position only within its' option group.
The totalOptions (number of options initially presented the menu) in each of the _frame private subcomponents were removed from the announced strings for List of {total} options., since it was found to not always accurately represent the number of options presented dynamically in the list (filtering the list, disabling items in the list, adding new options in combo and tag, etc). This can be revisited in the future if a better way to update the option total in the _frame as the available options change in the _menu.
The native-select was left unchanged with no updates.

No further input is needed at this time and all current outstanding UX questions have been resolved.
cc: @scottwilmarth

Do we need changes in single-select also...?? I am thinking it would be better if we don't consider single-select for this code changes as it is marked for deprecation and also since this code changes doesn’t brings up any changes in VO Behavior.

Just confirmed with Neil, we will be deprecating the single select soon, so changes are not required as users are directed to use native select instead. @supreethmr.


TensorFlow C++ API on ARM processor issue

System information
***Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
No
***OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Linux Kernel 4.4.103, Linaro 5.4.0
***TensorFlow installed from (source or binary):
Cross compilation in Ubuntu 16.04 and install the C++ library (libtensorflow.so + protobuf + nsync) in
the ARM development board
***TensorFlow version (use command below):
1.10.1
***Python version:
3.5
***CUDA/cuDNN version:
Only CPU no GPU
***Exact command to reproduce:
Session->Run(feed_dict, {"num_detections:0", "detection_boxes:0",
"detection_scores:0", "detection_classes:0"}, {}, &outputs)
Describe the problem
Trained Detection API mobileNetSSD model and saved as a 'pb' file.  Cross compiled the TensorFlow on the PC and installed the binary  (libtensorflow.so + protobuf + nsync) to the ARM board.  The code can be successfully built on the ARM side.  The pb file can be successfully read and loaded into a graph in a session.  However, when trying to run the session by feeding a tensor, the following error message came up:
2018-09-20 18:28:38.852657: F tensorflow/core/framework/tensor.cc:657] Check failed: in_size != 0 (0 vs. 0)
It refers to Tensor::UnsafeCopyFromInternal function Line 3:  CHECK_NE(in_size, 0), and in_size =DataTypeSize(other.dtype()), which is unlikely to be zero.
BTW, these message also came up when loading the 'pb' file:
2018-09-20 18:28:37.864057: E tensorflow/core/framework/op_kernel.cc:1197] OpKernel ('op: "DecodeProtoV2" device_type: "CPU"') for unknown op: DecodeProtoV2
2018-09-20 18:28:37.865515: E tensorflow/core/framework/op_kernel.cc:1197] OpKernel ('op: "EncodeProto" device_type: "CPU"') for unknown op: EncodeProto

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Bazel version
GPU model and memory
Mobile device

@RothLuo  sounds like there is data conversion issue related to precision when feeding a tensor. You may want to check floating point precision on your ARM, which may not be compatible with TensorFlow.
The error messages that came up when loading the 'pb' file can be ignored.

Closing this for now, feel free to open a new issue if encountering any errors.


Add missing parameter.

Callback was missing error parameter.


Java SDK for vineyard

Describe your problem

[ ] Low level API for IPC/RPC client, blobs and metadata.
[ ] High level API for common data structures (arrays, recordbatch, table, tensor, dataframe and graphs as well).

Additional context
Part of #171.

See also #336.


net/url: UserInfo parse fail on '#' character

There is problem with url.Parse. According to https://tools.ietf.org/html/rfc3986:
reserved      = gen-delims / sub-delims
gen-delims  = ":" / "/" / "?" / "#" / "[" / "]" / "@"
sub-delims  = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="

UserInfo should respect '#' character: https://tools.ietf.org/html/rfc3986#section-3.2.1
What version of Go are you using (go version)?
1.8.3
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
GOHOSTARCH="amd64"
GOOS="linux"
What did you do?
https://play.golang.org/p/QtAItGCPez
What did you expect to see?
username:pass#word
What did you see instead?
<nil>

I don't think you are reading that correctly. The spec defines userinfo as:

userinfo      = *( unreserved / pct-encoded / sub-delims / ":" )

Note unreserved.

Thanks for your quick answer
Yes, I've really messed up here


⚠ Avatar API Endpoint has degraded performance

In 9804d57, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 2830 ms

Resolved: Avatar API Endpoint performance has improved in eadc7e1 after 9 minutes.


sample service with bad indentation

Sample service has bad indentation
Currently:
apiVersion: v1
kind: Service
metadata:
  name: sample
spec:
  type: LoadBalancer
  ports:
 - protocol: TCP
    port: 80
  selector:
    app: sample

Needs to be (needs a blank space before  - protocol: TCP):
apiVersion: v1
kind: Service
metadata:
  name: sample
spec:
  type: LoadBalancer
  ports:
  - protocol: TCP
    port: 80
  selector:
    app: sample

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

ID: 2195f059-1bdc-c17c-6a28-2055d94c43d4
Version Independent ID: ac604c37-afc8-848f-c308-adcf54e15225
Content: Create a Windows Server container on an Azure Kubernetes Service (AKS) cluster using Azure CLI - Azure Kubernetes Service
Content Source: articles/aks/learn/quick-windows-container-deploy-cli.md
Service: azure-kubernetes-service
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@mracfa
Thanks for your feedback! We will investigate and update as appropriate.

@mracfa
The document is updated, and changes will go live once approved by doc author.


Should document the modules and classes

Includes all the files in the Source folder. Should, at least, document the classes and modules. Make sure the parameter(s) and return type are documented too.

Done for the puzzle module!


Issue with the code

issue with accessing the code of RANSAC 2d

Great work on earning ah gold badge


Check impact of any address without any login

Should be as simple as how etherscan does it: https://etherscan.io/address/address-hash

+1 let's do it! Do you want to pick up @har777 ?

@gglucass is there a finished design for this?

@gglucass is there a finished design for this?

No - let's just start by displaying it in exactly the same was as a logged in user would. We'll work on design after first few users have used it :-)


[1.3] The implementation of the Demand Response Load Control Cluster is required in sample app

Reproduction steps
Executed the below mentioned command to put DUT into a commissionable state
./chip-all-clusters-app
Once DUT reach the commissionable state sent below mentioned command on TH.
./chip-tool pairing onnetwork 1 20202021
After the successful commissioning, I attempted to validate the demand Response Load Control Cluster, but it is not implemented in sample app
./chip-tool demandresponseloadcontrol read cluster-revision 1 1

[1702959797.625693][6230:6232] CHIP:DMG: ReportDataMessage =
[1702959797.625739][6230:6232] CHIP:DMG: {
[1702959797.625776][6230:6232] CHIP:DMG: 	AttributeReportIBs =
[1702959797.625832][6230:6232] CHIP:DMG: 	[
[1702959797.625875][6230:6232] CHIP:DMG: 		AttributeReportIB =
[1702959797.625934][6230:6232] CHIP:DMG: 		{
[1702959797.625980][6230:6232] CHIP:DMG: 			AttributeStatusIB =
[1702959797.626036][6230:6232] CHIP:DMG: 			{
[1702959797.626087][6230:6232] CHIP:DMG: 				AttributePathIB =
[1702959797.626143][6230:6232] CHIP:DMG: 				{
[1702959797.626201][6230:6232] CHIP:DMG: 					Endpoint = 0x1,
[1702959797.626261][6230:6232] CHIP:DMG: 					Cluster = 0x96,
[1702959797.626321][6230:6232] CHIP:DMG: 					Attribute = 0x0000_FFFD,
[1702959797.626376][6230:6232] CHIP:DMG: 				}
[1702959797.626431][6230:6232] CHIP:DMG:
[1702959797.626465][6230:6232] CHIP:DMG: 				StatusIB =
[1702959797.626500][6230:6232] CHIP:DMG: 				{
[1702959797.626536][6230:6232] CHIP:DMG: 					status = 0xc3 (UNSUPPORTED_CLUSTER),
[1702959797.626570][6230:6232] CHIP:DMG: 				},
[1702959797.626605][6230:6232] CHIP:DMG:
[1702959797.626636][6230:6232] CHIP:DMG: 			},
[1702959797.626671][6230:6232] CHIP:DMG:
[1702959797.626700][6230:6232] CHIP:DMG: 		},
[1702959797.626736][6230:6232] CHIP:DMG:
[1702959797.626761][6230:6232] CHIP:DMG: 	],
[1702959797.626794][6230:6232] CHIP:DMG:
[1702959797.626820][6230:6232] CHIP:DMG: 	SuppressResponse = true,
[1702959797.626847][6230:6232] CHIP:DMG: 	InteractionModelRevision = 11
[1702959797.626872][6230:6232] CHIP:DMG: }
[1702959797.627023][6230:6232] CHIP:TOO: Response Failure: IM Error 0x000005C3: General error: 0xc3 (UNSUPPORTED_CLUSTER)
[1702959797.627267][6230:6232] CHIP:EM: <<< [E:20447i S:42374 M:31579482 (Ack:211046486)] (S) Msg TX to 1:0000000000000001 [C739] [UDP:[fe80::e65f:1ff:fe49:ae1a%wlan0]:5540] --- Type 0000:10 (SecureChannel:StandaloneAck)

GitHub hash of the SDK that was being used
7cbac9130d2b10d6bfdba873129dfbffa294cf8d
Platform
raspi

DRLC is out for 1.3.


Document EditableText minLines better

The documentation for EditableText.minLines can be better described like EditableText.maxLines.
cc/ @E1adi

I'd like to work on this issue @shihaohong


[Bug] No option to disable shorts

Is there an existing issue for this?

[X] I have searched the existing issues

Have you read the FAQ?

[X] Yes, I read the FAQ

Device info

iOS/iPadOS version: 17.3.1
Device model: iPhone 13
Sideload tool (AltStore, SideStore, Sideloadly, TrollStore,...): Sideloadly
The specific version of YouTubeRebornPlus (latest or newest is NOT a version number!): v19.07.5-4.2.5

Describe the bug
There is currently no option to disable shorts in YouTubeRebornPlus. I think it may exist in the codebase, but there is no easily available toggle to turn them off.
Steps to reproduce the issue

Go to settings menu
Go to shorts settings
There is no option for disabling shorts

Crash log (if the app crashes)
No response
Are you using the newest version of YouTubeRebornPlus? If not, why?
✅ Yes, I'm using the latest version of YouTubeRebornPlus right now
Does the issue happen with the official YouTube from AppStore?
❌ No, It doesn't
Additional context
No response

@arichornlover is this anyware on the roadmap. I think in recent times this has been more and more relevant!

Super stoked to hear that. Shorts are making the platform unusable.
In the meantime, here is how you can reduce the amount of shorts that show up in your feed.  If you miss one, this won’t work. 99% of shorts are tagged with #shorts so they’re pretty easy to find.
Now, every time a short shows up in your feed, click on the 3 dots menu and press “hide.” Do this enough times, and YouTube will stop recommending them as much.
They will never go away completely, but there will be WAY fewer. Just don’t make the mistake of watching one, or half your feed to be shorts again.
This worked pretty well for me. I almost never see shorts in my home feed anymore, and only occasionally in my sub feed. There’s still a ton in my search results though.
I hope this helps for now!


After calling "refresh" click events won't fire anymore

See Demo at: http://jsfiddle.net/SunboX/j1fvz4mh/4/

The issue is actually with the destroy method.  Refresh essentially calls 'destroy' and then 'init'.
Updated example: http://jsfiddle.net/q8ejbaga/1/ (click "unslick" and the events stop working).
I believe this is duplicating #999.

Same Problem. looks like all event handler will be deleted.

I have declared click method as windows method and tried to call it from slide. I have updated nick's jsfiddle. This is just workaround.
http://jsfiddle.net/itrupti/woL708Lz/3/

This appears to be working with the latest version.


Tweak runner config and stats

Change the default stage times for the base runner and daily perf tests, and standardize the manual test times. Fixes #66
Capture the stage shutdown time in stats, and generate the last 100 blocks summary to only consider blocks before winddown. Fixes #65
Update docker image scripts to incorporate an upstream fix.
Drive by fixes of some outdated eslint disables.

Apparently https://github.com/Agoric/agoric-sdk/pull/4496 broke the loadgen by changing the solo exit code on kill. Will adapt the loadgen. cc @michaelfig

@michaelfig if you could review only the last commit (https://github.com/Agoric/testnet-load-generator/pull/67/commits/582d0165fe6d5280de57f0088fac3cc3e6bb7dcd). It should fix the loadgen integration test.


Use the package access modifier for generated code

Swift 5.9 adds the new package access modifier (see the evolution proposal).
This is a very natural fit for the generated code as:

Users are encouraged to wrap the generated types rather than vending them directly as part of their package.
Users are encouraged to generate code for into separate modules per document.

However, it's likely that some users will still want to vend generated code.
I think the generator should provide a configuration option for visibility so that the user can decide. The default should likely be set to the new package access level.

Agreed, we should offer:

package (new option, new default) - this will be a breaking change, so needs to happen e.g. in 0.3.0 or 1.0
public (old default)
internal (new option)

This is blocked on 5.9 adoption: #75


Worker does not restart after having "Reached max_jobs"

I'm using the MAX_JOBS options to work around memory leaks and restart workers after MAX_JOBS jobs.
However currently the worker quits correctly but is not restarted by supervisord.
Should the worker exit whit a special exit code when stopping after having reached max_jobs? I think it's currently just exiting with code 0 and thus supervisord doesn't restart it.

Good find! This should be added to the tests as well

It's fixed in 65c82c6a1917256092467123027b5cd14a140d2f, thanks!

thanks for reporting!

Thanks for your report @achauve, tests are coming for that case.


Keep scroll position stable when closing an inactive tab

Fixes #13001
Will no longer automatically reveal the active tab when closing inactive tabs in the tab well, unless the active tab changes after the action (such as "Close to the right").

Hi @initialshl, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

I have signed the CLA, thank you.

Hi @initialshl, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, MSBOT;

Hi @initialshl, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, MSBOT;

Hi @bpasero, is there any status update for merging this pull request? I have edited this pull request with a gif that shows the new behavior. Thanks for your time.

I am having difficulties with this patch: Your skipOnceRevealActiveTab flag is being used anytime a tab closes, no matter how. What you actually want to express is that the tabs should not auto-reveal when the user closes a tab using the mouse, but what actually happens is that anytime a tab closes, skipOnceRevealActiveTab will cause the reveal to be disabled, even if the tab was closed via API and not by the user.
I would prefer a solution where we skip revealing if and only if the user clicked into a tab that is outside of the viewport of the currently active tab to close it.

Oh i get the idea now, i will try to change it to the desired behavior.

I have updated the code and pull request (description and gif). It skips revealing if and only if the close action is triggered by the tab close button or middle click on the tab. I hope that this provides the desired behaviors.

@initialshl this seems rather like a hack then a real good solution. It also does not cover the case where you use the right click menu on a tab to close tabs.
Btw on top of this, in order to not loose the ability to see the active tab, we need to refocus the active tab when the user clicks into the editor (as outlined in the discussion of the issue).

@bpasero Sorry about that. I tried my best to keep to conventions and not affect existing features this time, so i could only use skipOnceRevealActiveTab  flag set from onEditorClosed event. Please correct me if there is a better solution.
It now covers the case for closing tabs from the right click menu.
I have also changed it to show the active tab when editor is refocused.

Captured my thoughts here: https://github.com/Microsoft/vscode/issues/13001#issuecomment-285094485

Closing (please see https://github.com/Microsoft/vscode/issues/13001#issuecomment-285378797)


Rejecting the promise returned from provideReferences doesn't display an error to the user

If I return a rejected promise from provideReferences, no error is displayed to the user and an empty "No results" window is shown.
Is this intentional?
There seems to be different behaviour of rejected promises across the various providers.  Perhaps the docs could indicate what resolved and rejected promises are expected to mean?

Yes, that is intentional. Because multiple providers can contribute to a result, like multiple document symbol provider, failure of one shouldn't let all fail. That also applies to the case of just 1 provider...

I see - that makes sense.
It would be nice to add documentation of the rejected promise behaviour across the various providers since there are differences in how to (or whether it is even allowed to) report errors back to users.

I agree


[Usage]: No chat template provided. Chat API will not work. How do I get vllm to support Codellama-34B in openai format?

Your current environment
How do I get vllm to support Codellama-34B in openai format?
I run TheBloke/CodeLlama-34B-Instruct-AWQ in vllm, but it show 'No chat template provided. Chat API will not work.'. And it gives a 404 error when accessed in openai url format.
But, I run TheBloke/CodeLlama-13B-Instruct-AWQ is normal. It work fine.
the output is
INFO 07-17 21:58:12 model_runner.py:173] Loading model weights took 17.0560 GB
INFO 07-17 21:58:21 gpu_executor.py:119] # GPU blocks: 655, # CPU blocks: 1365
INFO 07-17 21:58:23 model_runner.py:976] Capturing the model for CUDA graphs. This may lead to unexpected consequences if the model is not static. To run the model in eager mode, set 'enforce_eager=True' or use '--enforce-eager' in the CLI.
INFO 07-17 21:58:23 model_runner.py:980] CUDA graphs can take additional 1~3 GiB memory per GPU. If you are running out of memory, consider decreasing `gpu_memory_utilization` or enforcing eager mode. You can also reduce the `max_num_seqs` as needed to decrease memory usage.
INFO 07-17 21:58:35 model_runner.py:1057] Graph capturing finished in 12 secs.
WARNING 07-17 21:58:35 serving_chat.py:347] No chat template provided. Chat API will not work.
INFO:     Started server process [6421]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:8000 (Press CTRL+C to quit)

the error output:
INFO:     <IP_ADDRESS>:54604 - "POST /v1/chat/completions HTTP/1.1" 404 Not Found

How would you like to use vllm
I want to run inference of a [specific model](put link here). I don't know how to integrate it with vllm.

may I ask how did you solve this?


Always use the latest share code

The API only returns the share code for the next game. Therefore, the returned share codes need to be saved.

Almost done. Only thing missing is that the latest demo is not being downloaded.

Almost done. Only thing missing is that the latest demo is not being downloaded.

Done.
Fixed a lot of bugs within the latest commit.

Done.
Fixed a lot of bugs within the latest commit.


No example for DNA available

The example pipeline for DNA data seems to be empty.

directory 'examples/dna' is missing


RIR Problem

Hello, if I want to get the RIR data you used to fine-tune the SoundSpace2.0 baseline for far-field ASR, how do I get it

Hi @aizhiqi-work, the RIR data used for finetuning the data is rather big (104G). I can either zip the data and share with you or share with your the data-generating scripts. If you want the latter, please provide your email with me.

My email<EMAIL_ADDRESS>&
Hello, I was looking at a project recently and found that if I just use PanoIR for data enhancement, it doesn't work well. Is the RIR data used for finetuning the data also generated here? Also, if I want to use the hm3d scene to generate the reverberation data used by the microphone array, it's very difficult to operate.

@aizhiqi-work, unfortunately, I don't have access to the data anymore since I've left Meta AI.
Yes, both PanoIR and the data used for fine-tuning far-field ASR are generated based on SoundSpaces 2.0. The distributions are not the same though. I believe for PanoIR, I chose the emitter to be within the field of view (lower reverberation level), while for the fine-tuning data, I set the location more randomly and thus more reverberation.

Also, if I want to use the hm3d scene to generate the reverberation data used by the microphone array, it's very difficult to operate.

Can you elaborate what is difficult here?


Introducing an extension of DeepCore library for noisy labels

Hi, Thank you very much for providing a comprehensive data pruning library!
I would like to introduce a new data pruning library, which is an extension of DeepCore for Re-labeling models under label noise.
Paper & Code for the new library.

Robust Data Pruning under Label Noise via Maximizing Re-labeling Accuracy [pdf]
https://github.com/kaist-dmlab/Prune4Rel

Most implementations are built on top of this DeepCore repository.
Thanks again for your great work!
btw, it would be greatly appreciated if you could introduce our work in your awesome-coreset-selection repository :)
Thanks

Hi, thanks for your interests on our project. It can be better if you contribute to this repo and submit a pull request. Similarly, for awesome-coreset-selection, just submit a pull request.
Thanks!

just submitted a pull request for the awesome-coreset-selection repo.
Hope this can be merged soon :) thanks!


Subscription for "releases" at the end of a pipeline run

We would like to create an alerting/subscription mechanism for HTTPArchive users/analysts to be notified when a pipeline run has been completed and tables have been generated.

@rviscomi had some ideas here along the lines of asking in slack about options folks care about

email
tweet
slack message
GCS bucket

I think of the following channels:

internal community - #http-archive Slack channel,
external promo - @twitter,
trigger downstream consumers - PubSub topic.


GZip client middleware crashes when processing an HTTP HEAD response

When I use an HTTP client configured with the GZip client middleware to perform a HEAD request, and provided the HTTP server can return a compressed response, the GZip middleware crashes during the processing of the response with the following error:
fs2.compress$NonProgressiveDecompressionException: buffer size 32768 is too small; gunzip cannot make progress
  fs2.compress$.$anonfun$gunzip$3(compress.scala:239)
  fs2.compress$.$anonfun$gunzip$3$adapted(compress.scala:221)
  fs2.Pull$.$anonfun$flatMap$1(Pull.scala:51)
  fs2.internal.FreeC$$anon$1.cont(FreeC.scala:29)
  fs2.internal.FreeC$ViewL$$anon$9$$anon$10.cont(FreeC.scala:196)
  fs2.internal.FreeC$ViewL$.mk(FreeC.scala:185)
  fs2.internal.FreeC$ViewL$.apply(FreeC.scala:176)
  fs2.internal.FreeC.viewL(FreeC.scala:79)
  fs2.internal.Algebra$.go$1(Algebra.scala:178)
  fs2.internal.Algebra$.$anonfun$compileLoop$7(Algebra.scala:219)
  fs2.internal.Algebra$.$anonfun$compileLoop$1(Algebra.scala:197)
  monix.eval.internal.TaskRunLoop$.startFull(TaskRunLoop.scala:170)
  monix.eval.internal.TaskRestartCallback.syncOnSuccess(TaskRestartCallback.scala:101)
  monix.eval.internal.TaskRestartCallback$$anon$1.run(TaskRestartCallback.scala:118)
  ...

Here is small Scala ammonite script, which defines an HTTP client configured with GZip middleware, executes a HEAD request and crashes with the error mentioned above:
import $ivy.`org.http4s::http4s-blaze-client:0.21.4`
import $ivy.`io.monix::monix:3.2.1`
import $ivy.`co.fs2::fs2-core:2.3.0`

import monix.eval.Task
import monix.eval.Task._
import monix.execution.Scheduler
import monix.execution.Scheduler.Implicits.global
import org.http4s._
import org.http4s.client.blaze._
import org.http4s.client._
import org.http4s.client.dsl.io._
import org.http4s.client.blaze.BlazeClientBuilder
import org.http4s.client.middleware.GZip

import scala.concurrent.Await
import scala.concurrent.duration._

val (httpClient, shutdown) =
  BlazeClientBuilder(global)
    .withMaxTotalConnections(3)
    .withMaxWaitQueueLimit(5)
    .allocated
    .map { case (client, shutdown) => GZip()(client) -> shutdown }
    .runSyncUnsafe(10.seconds)

val headRequest = Request[Task](Method.HEAD).withUri(Uri.uri("https://doc.akka.io"))
val task = httpClient.expect[String](headRequest)
val future = task.runToFuture

Await.result(future, 3.seconds)

The error message is a bit misleading, because an HTTP HEAD response doesn't contain a response body regardless what is contained in the headers response. I tried to put the whole implementation of the GZip client middleware in the above script, and I get the following exception:
java.io.EOFException
  fs2.compression$.$anonfun$gunzip$6(compression.scala:379)
  fs2.compression$.$anonfun$gunzip$6$adapted(compression.scala:368)
  fs2.Pull$.$anonfun$flatMap$1(Pull.scala:51)
  fs2.internal.FreeC$$anon$1.cont(FreeC.scala:29)
  fs2.internal.FreeC$ViewL$$anon$9$$anon$10.<init>(FreeC.scala:194)
  ...

According to this stack trace, when GZip middleware tries to decompress the response body of a HEAD request, it fails because the response body stream is empty; there are no gzip header bytes which the fs2.compression.gunzip method expects.
The RFC 7230, section 3.3.3 says that the response body of a HEAD request is empty regardless of the headers present in the response (in our case, Content-Encoding), because they show what headers will contain the GET request on the same URI. So, the GZip client middleware should not decompress a HEAD response body even when the Content-Encoding: gzip header is present. I will open a PR to fix this.

Leaving this one open to track the related empty body issue, even though #3476 covers the common cause.  The HEAD will be fixed in 0.21.5.
Assigning to @nelusnegur, since he expressed interest in the follow-up work as well.

Note that this is still not properly fixed in 0.21.5.  We'll try again.  See #3476.

Oh, this looks like it was fixed. :tada:


Failed command but task is still marked as successful and build continues

Please see this task's log file:
https://fredrikaverpil.visualstudio.com/oiio-python/_build/results?buildId=538&view=logs&jobId=71d407c9-c576-569c-7d43-abe3f2f427cf&taskId=4d9f5ee1-ca1c-5b11-03de-7c965892f334&lineStart=1375&lineEnd=1404&colStart=30&colEnd=69
As you can see it errors out with...
Building package openimageio[core]:x64-osx...
2019-01-31T10:15:58.1637070Z -- Downloading https://github.com/OpenImageIO/oiio/archive/bb2c617e83b3b264c9f4b7503d3c01c16570fdb7.tar.gz...
2019-01-31T10:16:01.7151910Z -- Extracting source /Users/vsts/agent/2.144.2/work/1/s/vcpkg/downloads/OpenImageIO-oiio-bb2c617e83b3b264c9f4b7503d3c01c16570fdb7.tar.gz
2019-01-31T10:16:02.1586570Z -- Applying patch fix_libraw.patch
2019-01-31T10:16:02.1654620Z -- Applying patch failed. This is expected if this patch was previously applied.
2019-01-31T10:16:02.1655360Z -- Applying patch use-webp.patch
2019-01-31T10:16:02.1893020Z -- Using source at /Users/vsts/agent/2.144.2/work/1/s/vcpkg/buildtrees/openimageio/src/c16570fdb7-3c5d294ecd
2019-01-31T10:16:02.1898920Z DEBUG - CURRENT DIRECTORY /Users/vsts/agent/2.144.2/work/1/s/vcpkg/ports/openimageio
2019-01-31T10:16:02.2077590Z DEBUG - COPIED FIND_OPEN_EXR FILE!
2019-01-31T10:16:02.2079040Z DEBUG - COPIED PATCHED imageio.cpp FILE!
2019-01-31T10:16:02.2095400Z -- Configuring x64-osx-dbg
2019-01-31T10:16:09.0529770Z -- Configuring x64-osx-rel
2019-01-31T10:16:15.2540930Z -- Building x64-osx-dbg
2019-01-31T10:16:15.3905330Z CMake Error at scripts/cmake/vcpkg_build_cmake.cmake:175 (message):
2019-01-31T10:16:15.3910500Z     Command failed: /Users/vsts/agent/2.144.2/work/1/s/vcpkg/downloads/tools/cmake-3.12.4-osx/cmake-3.12.4-Darwin-x86_64/CMake.app/Contents/bin/cmake;--build;.;--config;Debug;--target;install;--;-v;-j1
2019-01-31T10:16:15.3912420Z     Working Directory: /Users/vsts/agent/2.144.2/work/1/s/vcpkg/buildtrees/openimageio/x64-osx-dbg
2019-01-31T10:16:15.3912620Z     See logs for more information:
2019-01-31T10:16:15.3916170Z       /Users/vsts/agent/2.144.2/work/1/s/vcpkg/buildtrees/openimageio/install-x64-osx-dbg-err.log
2019-01-31T10:16:15.3916310Z
2019-01-31T10:16:15.3916370Z Call Stack (most recent call first):
2019-01-31T10:16:15.3917520Z   scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
2019-01-31T10:16:15.3919330Z   ports/openimageio/portfile.cmake:79 (vcpkg_install_cmake)
2019-01-31T10:16:15.3919610Z   scripts/ports.cmake:71 (include)
2019-01-31T10:16:15.3919870Z
2019-01-31T10:16:15.3920190Z
2019-01-31T10:16:15.3997800Z Error: Building package openimageio:x64-osx failed with: BUILD_FAILED
2019-01-31T10:16:15.3999320Z Please ensure you're using the latest portfiles with `.\vcpkg update`, then
2019-01-31T10:16:15.3999610Z submit an issue at https://github.com/Microsoft/vcpkg/issues including:
2019-01-31T10:16:15.4000610Z   Package: openimageio:x64-osx
2019-01-31T10:16:15.4001120Z   Vcpkg version: 2018.11.23-unknownhash

But the Azure Pipelines task (called "Install oiio") itself is marked as successful.
Through the CI build link, you should be able to see the commit hash, branch and all other info required to repro this, I hope.

Return code from the tool is likely 0 (success) even though it's outputting to stderr

I don't think the bash task can interpret stderr messages as failures because bash eats them. @bryanmacfarlane this is owned by your team, for someone to investigate.

@fredrikaverpil you could try intercepting CMAKE's return code and then exiting your script early.

Aha ok, so that's what's causing this... let's close this issue then.

I'm going to leave it open for a little bit longer. Someone should be assigned to take a look and see if they can redirect stderr to automatically fail the task.

We have a similar problem, when running make from a Powershell Task on a Windows 10 host: Writes to StdErr are sometimes ignored.

@damccorm, is there a way to fail on all stderr writes?

@zachariahcox @fredrikaverpil we have a failOnStdError option that should work - https://github.com/microsoft/azure-pipelines-tasks/blob/410b4edce0cf1a4bae4d96bae6c70268dc7565de/Tasks/BashV3/task.json#L88

@damccorm we are using failOnStderr but it still doesn't fail sometimes.

@aelray any chance you're able to share a repro? If the PowerShell script itself writes to stderr then we should be catching it, its possible PowerShell (and/or Bash) is swallowing error from an external tool though, there's not anything we can do about that since we intentionally don't modify the scripts we run.

@damccorm I think that would be difficult. We're using GNU make from Powershell to build a C/C++ project. During translation of the individual C/C++-files to object files the Powershell Task detects writes to Stderr. However, in the final linking step (linking object files to an executable) writes to Stderr are not detected. I tested it on my local machine, and when I pipe Stderr to  a file it is not empty, so make is not swallowing it.


Implement on-the-fly generation for encryption

The python implementation supports generating a private key for encryption on the fly (when signing is not part of the use case), which simplifies things for users.
Could that be implemented in this codebase as well?

It is possible. Do you want me to add such a method to the API?

Yes, please, if it does not involve unreasonable amounts of work.
(The ability to encrypt without setting up a private key of ones own made us pick the python implementation for our first use case, but it would be simpler with this code base, I think.)


script name inconsistency

In this page you ask users to save the script as ImportUpdatesIntoWSUS.ps1 but then in your execution examples you refer to the script as ImportUpdateToWSUS.ps1

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

ID: d6f6d856-a48e-4926-291d-1f399a28970a
Version Independent ID: 9504cad8-7801-e461-62e2-c54da2cd7517
Content: WSUS and the Microsoft Update Catalog
Content Source: WindowsServerDocs/administration/windows-server-update-services/manage/wsus-and-the-catalog-site.md
Product: windows-server
Technology: wsus
GitHub Login: @JasonGerend
Microsoft Alias: wscontent

Hey @TimoGT,
Thanks again for contacting Microsoft. We value your feedback.
A documentation change has been made for the consistency of the .ps1 script naming and will be live after the next business day. We will now be closing this thread.
Thank you and have a most pleasant day.
#please-close


Plugins could support sourcemaps

This can be passed via options directly from the Flyfile, but maybe plugins could hide this bit and provide direct support to produce sourcemaps by default or via only one option.
Thoughts?
@watilde @kashiro @morishitter
@MadcapJake @iamstarkov
@drKraken  @TrySound

Earl Grey's generator returns an object with a code field and (if flagged) a map field.  So extracting would be a simple check if that field exists.  My question is, how would fly handle separate map files?  They shouldn't be sent through the rest of the filters or concat, but they should be sent to the same location as src (maybe via target?)

@bucaran I think this option should be in .source out of the box. There is a discussion to add this feature to gulp. We can make it faster.

I understand that sourcemaps are usually a feature that the transpilers, etc., provide via their own options.
How each transpiler handles this may be slightly different, and since sourcemaps is a very common feature I thought it would be convenient to have Fly-Plugins deal with this is a transparent manner via Fly.proto.source() out of the box.

That'd be really cool but there would need to be some way for filters to send the map file somewhere (this._maps?) as it can't be returned in src.
Then maybe target when placing files, would search _maps for any associated map file and place it there with the file.

We should start with how the Flyfile should look.
At the plugin level:
this.filter("myPlugin", (source, options) => {

  // if this transformer has special requirements regarding source maps, we
  // handle that here to make sure sourcemaps are always handled in the
  // same way
  translate(options, "sourceMap", ...)
  // else if the sourcemap option is simply `sourceMap` we just pass it along

  return this.defer(myFilter)(source, options)
}, { ext: ".fly" })

I don't follow your design.  Is translate the function that the plugin uses to translate source? Then why is myFilter down below in the defer function call?

Here's what I was thinking plugins would do:
module.exports = function () {
  const deferredPlugin = (src, opts, cb) => {
    // run your transformer
    this.addSourceMap(sourceMap) // adds to `this._sourceMaps`
    cb(null, compiledSrc.toString()
  }
  this.filter("pluginName", (source, options) => {
    this.defer(deferredPlugin.bind(this))(source, options)
  }, { ext: ".ext", sourceMaps: true }) // plugin author can set default behavior
}

That way, sourcemap creation is left to the plugin developer.  addSourceMap could also have a conditional inside it: if (config.sourceMaps) this._sourceMaps.push(sourceMap).  Which allows the user to set sourcemaps at the flyfile level.  You could even have the flag cascade down: set in user's config directory? > set in users project directory? > set in flyfile? > set in task? > set in filter options? or something along those lines.  This allows the user to decide on sourcemaps for all their flyfiles, specific projects, specific tasks, or specific filters.
Then, I'd say have the target function just do a search for targetName + ".map" + extension in _sourceMaps and place the two files together.
And here's how the cascading option could look:
export function* task1 () { // sourceMaps is true here due to default below
  return { secret: 42 }
}

export function* task2 ({ secret }, { sourceMaps: false }) {  // overrides default below
  return { secret }
}

export function* task3 ({ secret }) { // sourceMaps is true here due to default below
  this.log(`The secret is ${secret}`)
}

export default function* ({ sourceMaps: true }) { // sets sourceMaps opt for all tasks
  yield this.start(["task1", "task2", "task3"])
}

Using an object would also allow you to set additional cascading options later (or even allowing custom user-generated cascading options).  Of course, custom filter methods could have the option in the same option object as ext and plugin authors could set the default this way as well.
Lastly, you could allow users to have a .flyrc file (in home or project dir) or just allow command line option: --sourcemaps.

Currently working on this.


Update how-to-send-email-with-marketing-campaigns.md.

Description of the Change: Minor Fixes to Increase Consistency and Professionalism
Reason for the Change: Grammar Mistakes and Typos
Link to Original Source: https://sendgrid.com/docs/ui/sending-email/how-to-send-email-with-marketing-campaigns/

Hello @anujs3,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX


Feature - Manager/HR - Activity Feed

Description
Is your feature request related to a problem? Please describe.
We want managers and HR to have a clear record of all the things that happen as part of the staffing process. We also want them to be able to see what's changed
Describe the solution you'd like
Various actions should create "activity" items that get displayed along-side comments on the comment/activity feed for HR and Managers.
Here is an incomplete list of all the "activities" that should show up on the feed. Each one should probably be prioritized separately in the backlog.
https://docs.google.com/spreadsheets/d/1uo0DieU-JJo9_0cwxcSsKq-xu1Qyku-2vYntFLnakB0/edit?usp=sharing
Images
Place image attachments (wireframes, etc.) here.

[x] This task requires a unit test.

Nic to flush this out with designs and more info in the spreadsheet.

How are we going to handle a situation where a user is making on-going changes and is saving regularly. For example, if a user is "word-smithing" and Impact statement and saves the same page 10 times in 20 minutes. We don't want that activity to show up each and every time within the Activity Feed.
Is there a way to include a time threshold to make sure this doesn't occur or any other alternative?


kubeconform: Removed to host in main

This PR removes kubeconform from extras as it's being added to main in https://github.com/ScoopInstaller/Main/pull/4247.

[x] I have read the Contributing Guide.

/verify


Opacity change on drawer backdrop

Now that we have changed the backdrop click behavior on the drawer (forcing to close the drawer from within), we need to make it a bit more clear that the action has to be taken from the drawer itself.
I decreased the opacity of the page to put more focus on the drawer to achieve a better UX

This feels like a design decision that needs to go through the channels.


Backware Euler with vectorizable matrix types

Adapts the Backward Euler solver to work with vectorizable matrices.
closes #500
Also:

moves physical constants and labels into dedicated namespaces
adapts analytical tests to solve for multiple grid cells
results in a net increase of only one line of code!

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.30%. Comparing base (11eeac7) to head (4a4e130).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #596      +/-   ##
==========================================
+ Coverage   93.27%   93.30%   +0.03%
==========================================
  Files          49       49
  Lines        3466     3482      +16
==========================================
+ Hits         3233     3249      +16
  Misses        233      233

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

Running on Derecho with NVHPC, I got the following failed tests:
         34 - analytical_rosenbrock_integration (Failed)
         35 - analytical_backward_euler (Failed)
         38 - cuda_analytical_rosenbrock_integration (Subprocess aborted)

Looking at the output log, the difference is slightly above the given tolerance. I wonder whether we can add a check to the relative error (like https://github.com/NCAR/micm/blob/main/test/unit/solver/test_rosenbrock.cpp#L138-L139) and pass the test if the relative error is small enough (say < 1.e-14?).

Running on Derecho with NVHPC, I got the following failed tests:
         34 - analytical_rosenbrock_integration (Failed)
         35 - analytical_backward_euler (Failed)
         38 - cuda_analytical_rosenbrock_integration (Subprocess aborted)

Looking at the output log, the difference is slightly above the given tolerance. I wonder whether we can add a check to the relative error (like https://github.com/NCAR/micm/blob/main/test/unit/solver/test_rosenbrock.cpp#L138-L139) and pass the test if the relative error is small enough (say < 1.e-14?).

I modified the analytical policy tests to include a relative error check and the two CPU tests pass now. Still waiting on the CUDA analytical test to run.


mysql-shell: resolve locale-setting error

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

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

I'm using nix on Ubuntu. Runing mysql-shell without LOCALE_ARCHIVE set, I get the following warning:
Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory

Then this must be fixed in your installation because this problem will occur with way more packages.

The following packages use the same approach:

mixxx
sublimetext3-bin
sublimetext4-bin
cplex
sublime-merge
guake
fluxboxlauncher

@SuperSandro2000


GraphNodes UI improvements

Allow local edition of Vector2 and Vector3
Improve the Spinbox style
Enforce nodes to always use as little amount of space as possible

Added in 5497de3dfcd5a93e4fb0b73e006bac5247c053b3

Woh this is going to take some getting used to.
Couple of requests:

A scalar input next to an output with a label, will cut off the inputs label. Setting the input as index 1 instead of 0 forces it to the next line, but then the last input is hidden off the bottom.
Could vectors be inline by default (pretty please), with the label above like now, but with it's background the same as the spinbox? Even with a Vector3 there should be enough space to comfortably show a Vector3(9999, 9999, 9999) and how often do you need to enter more than that?
Adding large number pushes the spinbox outside the node until you hit enter, then it resizes the node box. Removing the large number doesn't shrink the node back down.

Everything is based on Blender's UI, the built-in Godot spinbox is really unpractical to work with.

Right, there's an alignment issue there so the required minimum space is not calculated properly, will try to fix today

I don't really like how large they make the node when vectors are inlined but now I can add options quite easily so both could be available.
Should be an easy fix

Should be partially fixed in cc36840ad19207342e600505f1d17aee4a7f05ff

The first point requires to rethink the whole layout of graphnodes so I just increased the minimum size based on the largest output label for now. I'll work on a proper fix once I'll be done with more pressing issues
There's now an option in the Project Settings to inline vectors. I can add some spacing or try to shrink them down even more if you'd like.

Last point should be fixed but really large numbers are not properly displayed. Should not be an issue in most cases since it only happens with 10+ digits.

That's awesome! The only problem with a global setting might be that switching it could mean some nodes need to be moved around. The ultimate would be a per-node toggle next to the X button, but I'm super happy with this for now.
Two aesthetic requests that would be nice:

Can we make the graph grid size default to 25 so input connects can be lined up easier?
And to go with this, Is there a way to align the Vector2/3 connection dot with it's label?

I guess per node toggle could be an option for later, so you could switch between inline, not inline and default, but I guess its fine for now.
Good point
Sadly the GraphNode class doesn't expose a way to move the socket around, expect on the x axis.


Special words not highlighted

There are special words in Ruby / Rails that I'd like to see highlighted.
How do I go about adding these words? Realistically, I think this is a syntax definition issue.
Attached is a side by side comparison.

Any ideas here?

Let me know if anything works out and give me example files of a pull request. In the mean time, realistically, I'm not going to monitor this and there is nothing I can do right now.


[Gardening] Remove an unused parameter in the AST Dumper

The rest of the dumper needs access to the AST element, but printing types only needs the label.
Noticed by inspection while cleaning up AnyFunctionType printing.

@swift-ci please test

⛵


Update index.html

Description
⚡ Faster subsequent page-loads by prefetching in-viewport links during idle time
Implementing Quicklink in sites can speed up navigations, by automatically prefetching in-viewport links during idle time. Different metrics can be improved as a result of this, the most common ones being Start Render and First Contentful Paint.
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

not required


Ship update fails to resolveNoProxyGithubAssets if dest exists

Expected behavior
Ship update should run regardless of what files currently exist in the base dir
Actual behavior
non-proxied Github assets require the dest to not exist
Information

Ship version: 0.46.1
Docker version: ...
Command line run:

Steps to reproduce the behavior

...
...

I believe this was fixed as part of the v0.50.0 release, specifically with PR https://github.com/replicatedhq/ship/pull/1040.