Add formatting to request id

So that it looks like "b6p0-mj1at-s9561-e4pfg".
ngx_pnalloc allocates memory for a 24-bit string (base32). Last 4 bits (====) are not used (stripped), so we have a spare bits that we can use to format the string.

sorry, it was my mistake to PR to origin :/


Physics Interpolation Breaks Terrain

Terrain3D version
v0.9.2
System information
4.4 dev1
Is the issue reproducable in the demo?
Not applicable
Issue description
Turning on Physics Interpolation Breaks the Terrain at runtime while moving, causing 2 issues:

Textures smear
Clipmaps get detached causing holes

They happen because the position is getting Interpolated. Disabling Interpolation on Terrain3D in question doesn't do anything.
This May be an Issue with how Godot is Handling it's Interpolation, or something internally setup wrong on Terrain3D's end regarding how the Meshes are handled, but I'm not sure Which is the case.
If the Clipmaps are using MultiMesh see https://github.com/godotengine/godot/pull/91818#issuecomment-2295310816 to resolve this issue
Logs
No response

Physics interpolation has no effect on the physics engine used, as it's basically just getting last physics frame transform and current physics frame transform and the process time to figure out what the display transform should be for the given frame.
To this end, Disabling Collisions and Jolt result in absolutely no differences.
It's hard to tell if this is a Terrain3D or a Godot issue, given that Physics Interpolation fundamentally does require proper user usage to work right.

"Physics" Interpolation is a confusing name then. If it's not a Godot bug, then at the very least we need documentation on how to use it or setup our meshes or shader to support it, or disable it, or not conflict with it. The key feature of our clipmap terrain is that the vertices and meshes move potentially every frame, though visually they look the same. That causes TAA & FSR to get wonky and is probably the same here.

Physics Interpolation provides a teleport option that can be reset after moving the terrain
There's also an option to disable it

Terrain3D has PI been attempted with it disabled for Terrain3D in the OG post and it didn't help, and as such reseting doesn't work either.


Add argument per-cpu-buffer and fix Vagrant setup

Following up on this comment https://github.com/cilium/pwru/issues/46#issuecomment-1023213310 adding a new command line argument to set the per CPU buffer. Fixed an issue in the Vagrant setup where llvm-strip is not in $PATH and make fails.

Can we fix the docker build also? The llvm-strip issue is there as well. I can send a separate PR if needed.
Also should we increase buffer size to larger than 4096 (page size)? Default page size for me shows a lot of dropped samples on a simple received ICMP packet.

I can take care of fixing also the Dockerfile @aroulin

Updated PR - let me know if it addresses all the points raised

Awesome @dezmodue thank you much


[Documentation Concern] Example of usage of halfmoon.variables.css?

The documentation just feels half empty, a little extra could be added. I would appreciate if there was more documentation on the usage and implementation of halfmoon.variables.css. Or perhaps, some kind of way to customize halfmoon outside the presets?
EDIT: I am working on a site in PHP, I was going to go with Bootstrap, but was recommended halfmoon. Halfmoon looks cute and definitely seems nice, but I just cannot seem to figure out how to customize it. I know some of the documentation is under the assumption that users have prior experience with Bootstrap, but what about those who do not? The documentation lacks in that part. Halfmoon.variables.css gets mentioned a bit, but there is practically no further documentation on how to use or implement it/customize halfmoon from the presets.

Hey, the way the customization works is that you simply edit the CSS variables, and the CSS properties will change depending on what you set. For example, if you set the --primary-color to green, all the primary buttons and components will change to the green color. I recommend reading this: https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties
You definitely bring up a good point that the documentation makes an assumption when it comes to customization. However, it does not assume that you know Bootstrap, it assumes you know how to use CSS variables. In any case, this is one area I am already working on. Please look forward to the next update (1.1.0), and that should solve this issue. The update being worked is planned to have a stronger focus on customization and how to use the variables file.

Okay, thank you very much. I will read up on the linked topic, I really do think halfmoon is a cool library. I am just frustrated at my lack of knowledge on CSS variables. I tried to make some CSS variables in halfmoon.variables.css, but perhaps I am doing it all wrong. Anyways, thank you again! Cannot wait to see what the next update has in store. :)

Ok so for your case, what you have to do is open the halfmoon-variables.css file, and set the --lm-navbar-bg-color variable to blue (this is for light mode only). If you also want a blue navbar in dark mode, also change the --dm-navbar-bg-color variable to blue. And of course, reference the halfmoon-variables.css file in your HTML, not halfmoon.min.css.

@aufcedaz0234 Variables are given first class treatment in v1.1.0. Please read this docs page: https://www.gethalfmoon.com/docs/customize/
Hopefully that should solve this issue. I will go ahead and close this. You can re-open it if you think the issue is still not resolved, or open another issue.


Error on training

I have the error on training:
terminate called after throwing an instance of 'caffe2::EnforceNotMet'
what():  [enforce fail at conv_op_cudnn.cc:572] status == CUDNN_STATUS_SUCCESS. 8 vs 0. , Error at: /var/lib/jenkins/workspace/caffe2/operators/conv_op_cudnn.cc:572: CUDNN_STATUS_EXECUTION_FAILED Error from operator:
input: "gpu_0/data" input: "gpu_0/conv1_w" output: "gpu_0/conv1" name: "" type: "Conv" arg { name: "kernel" i: 7 } arg { name: "exhaustive_search" i: 0 } arg { name: "pad" i: 3 } arg { name: "order" s: "NCHW" } arg { name: "stride" i: 2 } device_option { device_type: 1 cuda_gpu_id: 0 } engine: "CUDNN"
*** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1611921823" if you are using GNU date ***
PC: @     0x7f6e2a602428 gsignal
*** SIGABRT (@0x2c3) received by PID 707 (TID 0x7f6cfdffb700) from PID 707; stack trace: ***
@     0x7f6e2a9a8390 (unknown)
@     0x7f6e2a602428 gsignal
@     0x7f6e2a60402a abort
@     0x7f6e2819c84d __gnu_cxx::__verbose_terminate_handler()
@     0x7f6e2819a6b6 (unknown)
@     0x7f6e2819a701 std::terminate()
@     0x7f6e281c5d38 (unknown)
@     0x7f6e2a99e6ba start_thread
@     0x7f6e2a6d441d clone
@                0x0 (unknown)
Aborted (core dumped)
Do you encounter this type error? How I can solve it?

Could you give some advice for fixing that?

Have you reproduced the code using the visdrone dataset, and if so can you share the processed visdrone dataset?


Update trigger specification section for RabbitMQ, update 'host' parameter format, to specify that it supports vhost along with subpaths too

Update trigger specification section for RabbitMQ, update 'host' parameter format, to specify that it supports vhost along with subpaths too
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO)

Relates to https://github.com/kedacore/keda/issues/2634
Relates to https://github.com/kedacore/keda/pull/4584

I get the idea, but doesn't it make it a bit complex now? Maybe we just need to clarify in text instead of the current approach

Hi, thank you for your review, could you please clarify which exactly text I need to change?

I find this to be somewhat confusing: <protocol>://<host>:<port>/[path/.../pathN]vhost.
What do you think @JorTurFer @zroubalik?

I find this to be somewhat confusing: <protocol>://<host>:<port>/[path/.../pathN]vhost.
What do you think @JorTurFer @zroubalik?

Thanks, what do you think about this? <protocol>://<host>:<port>/path/vhost

<protocol>://<host>:<port>/path/vhost or <protocol>://<host>:<port>/<path>/vhost?

<protocol>://<host>:<port>/path/vhost or <protocol>://<host>:<port>/<path>/vhost?

The last one looks good to me

@AmorBielyi Could you get the changes work with the amqp protocol? What I realized during my test is that the amqp go library does not support subpath in host URI at all.

@tomkerkhove What about also documenting a host URI containing a subpath(s) without vhost? In that case, the subpath should end with a trailing /. That's what is specified in the upstream docs: https://www.rabbitmq.com/management.html#path-prefix

Good idea! done

@tomkerkhove What about also documenting a host URI containing a subpath(s) without vhost? In that case, the subpath should end with a trailing /. That's what is specified in the upstream docs: https://www.rabbitmq.com/management.html#path-prefix

Good idea! thanks, done!

@tomkerkhove @jupiterhub Hi, could you please review this PR related to https://github.com/kedacore/keda/pull/4584, thanks in advance!

nice catch, I missed it 🙇

okey... it seems that I'm blind :/
The changes were in the wrong file, this PR updates them: https://github.com/kedacore/keda-docs/pull/1220

okey... it seems that I'm blind :/ The changes were in the wrong file, this PR updates them: #1220

ouch! I apologize for this.. thanks for the quick fix, okay, I am moving now those changes but for correct 2.12. I will open a new PR once I finished

No worries, It was my fail


Document local[*,F] master modes

What changes were proposed in this pull request?
core/src/main/scala/org/apache/spark/SparkContext.scala contains LOCAL_N_FAILURES_REGEX master mode, but this was never documented, so do so.
How was this patch tested?
By using the Github Markdown preview feature.

Can one of the admins verify this patch?

This functionality is so obscure I'd suspect it should be deprecated. Does anyone have a thought about that?
In any event, it's fair enough to document it.

Test build #3532 has started for PR 16562 at commit 6e548a5.

@mcuelenaere per http://spark.apache.org/contributing.html would you add [MINOR][DOC] to the title?

Test build #3532 has finished for PR 16562 at commit 6e548a5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

@srowen done

Merged to master


Making library out of the dirty script

Sorry, I haven't been using this script for the last couple of years and your PR was larger than I was willing to think too much about (when I first saw it, and still somewhat now).
You could try proposing this change upstream or create your own library.  Perhaps you already have.


different behavior using the server meinheld

Gevent and meinheld are behaving differently, I think the right would be to meinheld according to the description of the class,  I do not even look like the most comfortable.
https://github.com/bottlepy/bottle/blob/master/bottle.py#L1865
""" A thread-local subclass of :class:BaseResponse with a different
set of attributes for each thread. There is usually only one global
instance of this class (:data:response). Its attributes are used
to build the HTTP response at the end of the request/response cycle."""
Gevent test:
from gevent import monkey; monkey.patch_all()
from bottle import post, request, run
import requests

@post('/ok/<correct>')
def ok(correct):
    print("[0] value: %s correct value: %s" % (request.json['number'], correct))
    requests.post("http://httpbin.org/post", json={'number': 99})
    print("[1] value: %s correct value: %s" % (request.json['number'], correct))

@post('/test')
def test():
    pass
run(host='<IP_ADDRESS>', port=9988, server='gevent')

[0] value: 0 correct value: 0
[0] value: 2 correct value: 2
[0] value: 3 correct value: 3
[0] value: 4 correct value: 4
[0] value: 5 correct value: 5
[0] value: 6 correct value: 6
[0] value: 7 correct value: 7
[0] value: 1 correct value: 1
[0] value: 9 correct value: 9
[0] value: 8 correct value: 8
[1] value: 6 correct value: 6
[1] value: 0 correct value: 0
[1] value: 2 correct value: 2
[1] value: 3 correct value: 3
[1] value: 4 correct value: 4
[1] value: 5 correct value: 5
[1] value: 9 correct value: 9
[1] value: 8 correct value: 8
[1] value: 7 correct value: 7
[1] value: 1 correct value: 1

meinheld test:
from meinheld import patch
patch.patch_all()
from bottle import post, request, run
import requests

@post('/ok/<correct>')
def ok(correct):
    print("[0] value: %s correct value: %s" % (request.json['number'], correct))
    requests.post("http://httpbin.org/post", json={'number': 99})
    print("[1] value: %s correct value: %s" % (request.json['number'], correct))

run(host='<IP_ADDRESS>', port=9988, server='meinheld')

[0] value: 0 correct value: 0
[0] value: 1 correct value: 1
[0] value: 3 correct value: 3
[0] value: 5 correct value: 5
[0] value: 2 correct value: 2
[0] value: 6 correct value: 6
[0] value: 4 correct value: 4
[0] value: 7 correct value: 7
[0] value: 8 correct value: 8
[0] value: 9 correct value: 9
[1] value: 9 correct value: 0
[1] value: 9 correct value: 7
[1] value: 9 correct value: 1
[1] value: 9 correct value: 5
[1] value: 9 correct value: 2
[1] value: 9 correct value: 6
[1] value: 9 correct value: 3
[1] value: 9 correct value: 4
[1] value: 9 correct value: 8
[1] value: 9 correct value: 9

test:
import requests
import threading

def call(number):
    print("call %s" % number)
    requests.post('http://localhost:9988/ok/%s' % number,
                  json={'number': number})

threads = []
for x in range(10):
    t = threading.Thread(target=call, args=(x, ))
    t.start()
    threads.append(t)

for x in threads:
    x.join()

Looks like meinheld.patch.patch_all() does not patch threading.local to be gevent-aware. gevent.monkey.patch_all() does that.

FYI, please don't use monkey.patch_all() unless you're very detailed about whole libraries
you're using and you can investigate your troubles by yourself.
Without monkey.patch_all(), Bottle, requests and meinheld works fine.

Okay, here is a summary:
Meinheld calls WSGI applications synchronously (one request per thread, one thread per request) during normal operation, and works fine with bottle (or any other WSGI app). Before and after the WSGI request is handled, though, all network IO is done via greenlets.
It stops working if you use greenlet features from within the WSGI application. If a greenlet blocks, it suspends the current greenlet and allows another greenlet to run in the same thread. Meinheld may start handling a new request in the same thread, while the old request is still in progress. Now we have two requests that are running in the same thread.
This causes bottle to mix-up the thread-local contexts, because it expects to be run in a normal, thread-based environment. In normal threading, context switches within the same thread are impossible.
Calling meinheld.patch.patch_all() replaces the stdlib socket module with a greenlet-based version that does not block the current thread, but the current greenlet instead. Other than gevent for example, the meinheld patching is incomplete though. It patches sockets only. Calls like time.sleep() or reading local files still blocks the thread, not the greenlet. Also, threading.local is not patched, causing the issues with bottle.
tl,dr: You changed the concepts of threading and did not tell bottle about it ;)

For what I am understanding, I can use meinheld without using patch_all(). It would behave like a fully synchronous server but it would work without problems.
Seems like a good plan, I just have to start up more processes of bottle + meinheld


strictNullChecks - compiler incorrectly detects "if" / "typeof" flow

/*
Compiler error in this sample code on TypeScript Playground:
https://goo.gl/zwJK6a
Select "strictNullChecks" on the Options tab
*/
function strictNullChecks(delegate?: (message: string) => void) {
let state = typeof delegate = "${typeof delegate}";
if (false == (typeof delegate === "function"))
alert(state);
else
delegate(state); // typeof delegate is always "function"
}
strictNullChecks(window.alert);
strictNullChecks();
/*
There seems to be an issue with the "strictNullChecks"
compiler option when passing an optional delegate
parameter.
The above code works correctly but the compiler reports an
"Object is possibly 'undefined'." warning for parameter
"delegate".
It seems to be checking for the reference being bracketed
by an "if" statement checking for "typeof delegate" but
ignores that the equality might be compared to "false".
*/

Expected behavior: No compiler errors.
Actual behavior: Error reported in "else" clause of "if" statement.

Here's a simple repro:
function f(x: number | string): string {
    return (typeof x === "number") === false ? x : "";
}

We don't recognize the (typeof x === "number") === false -- we will only handle direct tests of typeof x === "number" or typeof x !== "number" (which are easier to read anyway).

More playground sample code here: https://goo.gl/M2oWU4
Thanks Andy for the explanation - if you view the above code, it looks like the compiler is simply pattern matching for 'typeof' / '===' / '!==' rather than evaluating the 'if' clause, if on-the-fly evaluation is even possible, although 'if#5' is correctly interpreted which is logically the same as 'if#1' and 'if#2'.

We can't realistically backsolve every expression involving typeof to figure out what the types should be as a result. Comparing to booleans in if conditions doesn't occur often enough in real code to justify spending the performance budget to look for it.


v11 color token updates for slider component

This PR updates the color tokens on the Style tab for the slider component.

@kingtraceyj you just need to sign the DCO


Morning Code Review Issue

This issue is part of the activity of morning session.

The only thing that I see is yhat in your readme,md file you aren´t update the live link.


Adding an overload breaks inference of compositional functions

Tried fixing this, but ran into another case where an overload breaks type inference:
declare function reverse(a: ReadonlyArray<number>): ReadonlyArray<number>;

declare function incrementEvery(list: ReadonlyArray<number>): ReadonlyArray<number>;
declare function incrementEvery(x: ReadonlySet<number>): ReadonlySet<number>;

declare function compose<T>(
    second: (x: ReadonlyArray<number>) => T,
    first: (x0: ReadonlyArray<number>) => ReadonlyArray<number>,
): (x0: ReadonlyArray<number>) => T;

const works = compose<ReadonlyArray<number>>(incrementEvery, reverse);
const broke: (nums: ReadonlyArray<number>) => ReadonlyArray<number> = compose(incrementEvery, reverse);

src/a.ts(12,79): error TS2345: Argument of type '{ (list: ReadonlyArray<number>): ReadonlyArray<number>; (x: ReadonlySet<number>): ReadonlySet<num...' is not assignable to parameter of type '(x: ReadonlyArray<number>) => ReadonlySet<number>'.
  Type 'ReadonlyArray<number>' is not assignable to type 'ReadonlySet<number>'.
    Property 'has' is missing in type 'ReadonlyArray<number>'.

Unlike the above issue, this was broken in all the way back in 2.0.
Originally posted by @andy-ms in https://github.com/microsoft/TypeScript/issues/23352#issuecomment-380844184

This fixes your issue:
const broke: (nums: ReadonlyArray<number>) => ReadonlyArray<number> = compose<ReadonlyArray<number>>(incrementEvery, reverse);


Update CODEOWNERS

Use @gnosis/safe-services for CODEOWNERS instead of individual contributors

Coverage decreased (-0.05%) to 88.608% when pulling e8ec0936515d1a36bc1e203a1666ccc88e1ba97c on change-codeowners-to-team into 25d4090730e8142db8fbaad576197c96d28fe6f9 on master.


Drag and drop editor content to other apps

When I didn't get into vscode I was writing some stuff in notepad++, including something like desktop pets
This desktop pet has good enough development support, including the ability to give you the development information you want when you drag and drop content onto it

Some examples to illustrate how handy this feature is

It can be used to quickly jump to the corresponding function

or to know what the value of a variable is now

or run a dialogue script to see the effect

But in vscode, despite its better syntax highlighting and lint, you can't drag and drop code from the editor to other apps

This really makes it difficult for me

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


gd conflict

==> Upgrading libass
==> Downloading https://homebrew.bintray.com/bottles/libass-0.13.6.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libass-0.13.6.sierra.bottle.tar.gz
🍺  /usr/local/Cellar/libass/0.13.6: 10 files, 512.9K
Error: You must `brew link gd` before libgphoto2 can be installed

and
==> Upgrading thoughtbot/formulae/rcm
==> Downloading https://thoughtbot.github.io/rcm/dist/rcm-1.3.1.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/rcm/1.3.1
==> make install
🍺  /usr/local/Cellar/rcm/1.3.1: 16 files, 65.4K, built in 5 seconds
Error: You must `brew link gd` before wine can be installed

➜  Sites which gd
gd: aliased to git diff

Please report this to Homebrew-Core after going through their troubleshooting checklist.


Switch from formatter.js to JuliaFormatter.jl

Shouldn't we switch to JuliaFormatter.jl for formatting the code from formatter.js?
https://github.com/domluna/JuliaFormatter.jl/
@domluna
formatter.js is slow and takes some time for execution:
https://github.com/JunoLab/atom-julia-client/blob/master/lib/runtime/formatter.js
Also, if we switch we can have an option for not breaking the lines and just use soft wrap already available in Atom.
https://github.com/domluna/JuliaFormatter.jl/issues/19

formatter.js is just a frontend code for our formatting task, as its backend DocumentFormat.jl was initially used, but then switched to JuliaFormatter.jl.

formatter.js is slow and takes some time for execution:

It just happens on the first time execution, right ? I didn't take benchmarks of the JIT compilation between those packages, but I don't care it unless it's unbearably slow.

formatter.js is slow and takes some time for execution:

It just happens on the first time execution, right? I didn't take benchmarks of the JIT compilation between those packages, but I don't care it unless it's unbearably slow.

I have tried many times, and it is slow. I think in a session it compiles only once, but everything is changed if you open a new session.

yeah, the same goes for every other Juno runtime features.

Isn't it possible to compile it statically? Using PackageCombiler.jl

I think in a session it compiles only once, but everything is changed if you open a new session.

Don't start as many new sessions then?


Support Decision Points in Multiple Simultaneous Experiments

See screenshot. Was working to QA a concept builder experiment, and I had made a similar one a couple months ago and enrollment was completed. When I tried to create the new experiment, I saw an error that the Experiment Site was already in use (despite the old experiment no longer running). We need a better way of handling the ability to create a new experiment using the same Experiment Site ID as a prior experiment.

Requirements Document

For this release:

assume that students are only on one experiment at a decision point
assume that experimenter will manage with segmentation rules
disable front-end validation
implement simple randomization algorithm - random selection of experiment

Here is the document for code changes.


data/ prop of total night

Is there a way to access the total nights as prop or data like the tooltip is showing?
thanks

any update ?


Docs having bug on redirection to API pages

When visiting https://tonejs.github.io/docs/Sampler
redirect starts but /latest/latest/latest keeps being added in an infinite loop :-( , was just checking the docs for some hints

whoooops! Thanks for the catch. I think it should be mostly fixed now. There are a few situations where spins into an infinite 'latest' loop when there's not a page there. I'm still trying to figure out the best way to fix this


Fix pkgconfig reference for emacs-packages.nix

Motivation for this change
In 531e4b80c97002a542beb8fe356177ebd66cdd8e @Ericson2314 made an edit that causes pkgs/top-level/emacs-packages.nix to be unevaluatable.  This fixes it.
Things done

[X] 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)
[X] 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.

Thanks! I suppose this means we should make the tarball job eval this too?

Err, I'm not 100% sure what you mean by that.

The builds fail to find pkgconfig and complain, but happen to build.
After fixing a few cases where failure to find pkgconfig lead to failed
build, I decided to fix the two remaining cases before I forget why this
situation has appeared.

I meant that the normal "does nixpkgs eval?" test should pick this up, but evidently didn't or I would have noticed it.

Well, let and attrset have similar syntax…
This didn't break eval, this did break a couple of builds, but that is
a hard problem to test quickly.


[MembersJS] Handle shipping/deployment with unpkg

Currently we are manually pasting the members.js script in a theme's built directory, goal here is to add/update the deployment flow to use unpkg to host members.js versions, with end result being using an unpkg link for members.js script in a theme.

Finished with https://github.com/TryGhost/members.js/commit/5e75fddcd295b6dd91a54fe9ca75385219552af9


yamlfmt: 0.13.0 -> 0.14.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/google/yamlfmt/releases.
meta.description for yamlfmt is: Extensible command line tool or library to format yaml files
meta.homepage for yamlfmt is: https://github.com/google/yamlfmt
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.14.0 with grep in /nix/store/lprbmf8z7hb1l83ybvzmzka7nslnxqim-yamlfmt-0.14.0
found 0.14.0 in filename of file in /nix/store/lprbmf8z7hb1l83ybvzmzka7nslnxqim-yamlfmt-0.14.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

yamlfmt

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/lprbmf8z7hb1l83ybvzmzka7nslnxqim-yamlfmt-0.14.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A yamlfmt https://github.com/r-ryantm/nixpkgs/archive/9700c8f700f6c57c92a19744a2554ba045fe5af3.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/9700c8f700f6c57c92a19744a2554ba045fe5af3#yamlfmt

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/lprbmf8z7hb1l83ybvzmzka7nslnxqim-yamlfmt-0.14.0
ls -la /nix/store/lprbmf8z7hb1l83ybvzmzka7nslnxqim-yamlfmt-0.14.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

yamlfmt

Maintainer pings
cc @SnO2WMaN for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 352926

x86_64-linux

:white_check_mark: 1 package built:

yamlfmt


Its not recognized KDown! i added to my project but i cant use it!!

same here

Sorry guys, I haven't worked on this project over two years


Support JWT authorization and provide endpoint for tokens

User story
The frontend should be able to request a JWT user token from the backend with appropriate login details.
As a developer, I should be able to specify an API endpoint that requires authorisation and see which user is making the request.
Acceptance criteria
Login endpoint processes correct user credentials and returns JWT token.
JWT token can be used to access authorised endpoints.

Have verified that JWT auth is working. Closing this ticket


[Node.js] Handshake failed with fatal error SSL_ERROR_SSL: BAD_ECC_CERT

Hello,
I am trying to connect from node.js script to external grpc API using TLS with self signed cert (please see below) but during the handshake grpc terminates with following error:
E0527 09:49:28.689000000  4712 ssl_transport_security.c:945] Handshake failed with fatal error SSL_ERROR_SSL: error:1000006b:SSL routines:OPENSSL_internal:BA
D_ECC_CERT.
E0527 09:49:28.689000000  4712 handshake.c:241] Handshake failed with error TSI_PROTOCOL_FAILURE
E0527 09:49:28.689000000  4712 secure_channel_create.c:99] Secure handshake failed with error 1.
{ [Error] code: 14, metadata: Metadata { _internal_repr: {} } }

I am running Node.js (v.4.4.5 LTS) under win 7 (x64bit) with GRPC package (v. 0.14.1) installed via npm install grpc --save.
The script I am running is this:
var fs = require('fs');
var path = require('path');
var os = require('os');

process.env['GRPC_SSL_CIPHER_SUITES'] = 'HIGH+ECDSA';

var grpc = require('grpc');
var protoDescriptor = grpc.load('./api.proto');
var walletrpc = protoDescriptor.walletrpc;

var cert = fs.readFileSync('rpc.cert');
var creds = grpc.credentials.createSsl(cert);
var client = new walletrpc.WalletService('<IP_ADDRESS>:9110', creds);

var request = {
    account_number: 0,
    required_confirmations: 1
};
client.balance(request, function(err, response) {
    if (err) {
        console.error(err);
    } else {
        console.log('Spendable balance:', response.spendable);
    }
})

Certificate file is standard certificate:
-----BEGIN CERTIFICATE----- MIICkzCCAfWgAwIBAgIRAMtVW1yCGKIrJBcbmqYVu3owCgYIKoZIzj0EAwQwPDEl MCMGA1UEChMcZGNyd2FsbGV0IGF1dG9nZW5lcmF0ZWQgY2VydDETMBEGA1UEAxMK bm9uYW1lMi1QQzAeFw0xNjA0MjUyMTIwMTJaFw0yNjA0MjQyMTIwMTJaMDwxJTAj BgNVBAoTHGRjcndhbGxldCBhdXRvZ2VuZXJhdGVkIGNlcnQxEzARBgNVBAMTCm5v bmFtZTItUEMwgZswEAYHKoZIzj0CAQYFK4EEACMDgYYABAASZVcgIuql7ho9aGv0 X0DuHVcAKBmBbegMi7fPbaXRNmIDFQ3XKaj/lbNGYXX5AyEhaTckZQn0KZip6onh qG2SFgEpy4uaUULC84m5axEX21X4c74moLHkbklYkRQWRRIBfVqfKPc0QUPUwn7r PQnmAUARq9Nndlh8EDTEGZATSU3gYKOBlDCBkTAOBgNVHQ8BAf8EBAMCAqQwDwYD VR0TAQH/BAUwAwEB/zBuBgNVHREEZzBlggpub25hbWUyLVBDgglsb2NhbGhvc3SH BH8AAAGHEAAAAAAAAAAAAAAAAAAAAAGHBMCoAWSHEP6AAAAAAAAArEkF3rly3muH BAoEE9KHEP6AAAAAAAAA/XXG85N81M+HBMCoOAEwCgYIKoZIzj0EAwQDgYsAMIGH AkIBX6FOBzDM0kUGIXNfNljng0T4aIk/xCHACdSa56iaqQxM25CmZSri2lT0rMIV WX7FcrQLYUN3GXMy4nmTGOwG2mgCQUhutDgUjTslkie+5QM9HGAtNKg09e9yGyQ0 NYR99j5FNVmNvvS3kRF33XncGvundj21SEKWo/ykYMpIWYW8F/fl -----END CERTIFICATE-----
Please help me with this error - where is the problem/how  should I debug it ? Is it cert problem - GRPC problem ?
Thank you very much in advance for any help!

To add more detail to this issue, the same client and server code work fine on Linux, but the client is unable to connect when running on Windows.
Keys and certificates are being generated with this code: https://github.com/decred/dcrutil/blob/85fac3a15425f15408f1dcec28bfd4b18ea2f882/certgen.go#L25
There is also a standalone tool that can be used to generate the keypairs (can be useful for reproducing this issue with other servers).  To install: go get -u github.com/dered/dcrd/cmd/gencerts.

I notice that the certificate you are using uses IP addresses as Subject Alternative Names. And the primary difference between the Linux and Windows versions of the gRPC library is that the Linux library uses OpenSSL and the Windows library uses BoringSSL. It may be that BoringSSL cannot handle that kind of certificate.
As an alternative to using machine-specific certificates for testing, you can use a regular certificate for a domain, and initialize the client with a couple of extra options. For example, you could use a self-signed certificate for example.com and change the client construction line to this:
var options = {
  'grpc.ssl_target_name_override' : 'example.com',
  'grpc.default_authority': 'example.com'
};
var client = new walletrpc.WalletService('<IP_ADDRESS>:9110', creds, options)

This will make the client validate the certificate it receives as though it came from example.com.

Is BoringSSL or OpenSSL used for the C# client?  Because I have no issues connecting a C# client (.NET Framework 4.6 on Windows) to the same server.

CC @jtattermusch

C# on windows is currently using OpenSSL (and we are planning to switch to boringssl eventually). On linux, it has been switched to boringssl a while ago.

@jrick do you happened to have an example of the server and client in c# that you can share?
I generated certs using https://github.com/codequest-eu/grpc-demo/blob/master/keys/generate.sh with oepnssl for windows but am also running into Handshake failed with error TSI_PROTOCOL_FAILURE error.
Thank you!

I am running into the same issue on Windows with Grpc 1.0. I am not using self signed certificate but actual issued one. Was there a solution to this?

I'm also helping @alexyp troubleshoot with his issue in #8601.

I notice that the certificate you are using uses IP addresses as Subject Alternative Names.

We just tried removing all IP addresses from the SANs, leaving only localhost and the computer's hostname.  The client is dialing localhost (as expected, dialing <IP_ADDRESS> or ::1fails).  When election is not included by the linux client (so it is using OpenSSL rather than BoringSSL), the connection works.  When adding electron (so gRPC uses BoringSSL) then the security handshake still fails.  So it must be something other than IP addresses in the SANs...

The thing with IP addresses was just a guess, and you're right, it looks like that's not the cause of the problem. But it also looks like the problem is caused by some difference between OpenSSL and BoringSSL. Maybe the corresponding command line tools from each could help determine what's going on.

So I tried using the command lines tools (openssl and bssl) to connect to the kind of server @jrick was talking about.  openssl connects fine.  With bssl (on Linux) I get:
jcv@triforce tool $ ./bssl s_client -connect <IP_ADDRESS>:9110
Connecting to <IP_ADDRESS>:9110
Error while connecting: 1
41106832:error:1000006b:SSL routines:OPENSSL_internal:BAD_ECC_CERT:/home/jcv/code/boringssl/ssl/ssl_cert.c:821:

Thank you for investigating this. That appears to confirm the hypothesis that for some reason, OpenSSL and BoringSSL treat those certificates differently. I would suggest reporting the problem to BoringSSL; that seems like the most likely path to getting this fixed.

This can probably be closed.  We discovered boringssl removed all EC support except for P-256 and P-384, while were using P-521.  We are changing to P-384, which works with boringssl.
https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/kWwLfeIQIBM/9chGZ40TCQAJ

Seems I spoke too soon, still getting SSL_BAD_CERT even with P-384:
E1115 20:28:12.846000000 16076 ssl_transport_security.c:945] Handshake failed with fatal error SSL_ERROR_SSL: error:1000006b:SSL routines:OPENSSL_internal:BAD_ECC_CERT.
E1115 20:28:12.846000000 16076 handshake.c:128] Security handshake failed: {"created":"@1479259692.846000000","description":"Handshake failed","file":"..\src\core\lib\security\transport\handshake.c","file_line":264,"tsi_code":10,"tsi_error":"TSI_PROTOCOL_FAILURE"}
{ Error
    at C:\Users\jrick\node_modules\grpc\src\node\src\client.js:417:17 code: 14, metadata: Metadata { _internal_repr: {} } }

@hsaliak can this be reopened? appears to still be an issue for me everywhere boringssl is used (windows, electron).  The latest bssl built from boringssl master connects fine but not the others.  I assume either a new boringssl needs to be used, or there is a bug in boringssl's usage in the tsi lib that is causing the handshake error.

For sure. Thanks for responding back on the issue and the additional details.

It looks like grpc uses a much older boringssl than I was using for the command line tests.  I'd like to test grpc with a newer boringssl.  I can update the repo in the third_party directory but my builds still fail with:
  CC(target) Release/obj.target/boringssl/third_party/boringssl/crypto/asn1/t_bitst.o
make: *** No rule to make target 'Release/obj.target/boringssl/third_party/boringssl/crypto/asn1/t_pkey.o', needed by 'Release/obj.target/libboringssl.a'.   System Linux 4.4.0-47-generic
gyp ERR! command "/home/jcv/.nvm/versions/node/v6.5.0/bin/node" "/home/jcv/.nvm/versions/node/v6.5.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--runtime=electron" "--disturl=https://atom.io/download/atom-shell" "--target=1.4.6" "--module=/data/shared/tmp/grpc/src/node/extension_binary/grpc_node.node" "--module_name=grpc_node" "--module_path=/data/shared/tmp/grpc/src/node/extension_binary"
gyp ERR! cwd /data/shared/tmp/grpc
gyp ERR! node -v v6.5.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

(there is more output that I can share but it didn't look too helpful).  Is there some extra step I need after updating the third_party repo before I can do a test build that I'm missing?

It looks like some files may have been added or removed in BoringSSL. If that is the case, you should be able to run tools/buildgen/generate_projects.sh to regenerate package.json.

Thanks.  I actually discovered that script about half an hour ago so I was able to build grpc with a newer boringssl.  Going to test with something closer to what I used on the command line now.

io.netty
netty-tcnative-boringssl-static
1.1.33.Fork26
windows-x86_64

I am using this dependency and still getting the same error

Has a solution been found to this problem yet?  I'm stuck too.

Certs using the P-256 curve are working fine.

@jrick it works! thanks.

@murgatroid99 is this solved?

This also happens on the Python library.
In any case, P384 curves are not supported. You have to use P256. Probably a BoringSSL issue.

For the sake of documentation, the offending code is:
https://github.com/grpc/grpc/blob/7b63731b87ccdcc24b03e25f13a2bb91d0531b0f/src/core/tsi/ssl_transport_security.cc#L695
It appears this code was added to configure ECDH to use P-256, but it has the side effect of also restricting ECC certificate keys to that curve.

Node 10 TLS not working for us either ... seems like certificate verification is failing ... works with Node 8.  We are using P-256 certs:
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            02:6c:86:dd:39:39:dc:81:b9:ec:c7:c3:e4:60:cd:6b
    Signature Algorithm: ecdsa-with-SHA256
        Issuer: serialNumber=158006625605442038503088828480991666707
        Validity
            Not Before: Mar 20 12:25:18 2019 GMT
            Not After : Mar 18 12:25:18 2029 GMT
        Subject: serialNumber=3221959422312993751132547075436236139
        Subject Public Key Info:
            Public Key Algorithm: id-ecPublicKey
                Public-Key: (256 bit)
                pub:
                    04:96:ed:4d:23:f5:ef:fe:31:08:c2:4b:8c:77:77:
                    1c:53:7f:ab:7f:00:a9:6c:ca:52:ea:fb:b8:26:61:
                    fd:36:89:d2:0a:0c:c2:89:54:cf:26:d4:01:18:1a:
                    76:ca:97:a1:e5:d7:1b:47:8c:83:09:a6:43:b7:18:
                    a1:08:e0:4b:09
                ASN1 OID: prime256v1
                NIST CURVE: P-256
        X509v3 extensions:
            X509v3 Key Usage: critical
                Digital Signature, Key Encipherment
            X509v3 Extended Key Usage:
                TLS Web Client Authentication, TLS Web Server Authentication
            X509v3 Subject Alternative Name:
                DNS:peer0.org2.example.com
    Signature Algorithm: ecdsa-with-SHA256
         30:45:02:21:00:c8:27:b9:bd:ba:83:4d:21:eb:40:44:dd:04:
         69:2c:af:7e:39:48:ce:6a:eb:4e:90:d4:50:af:61:e7:ec:c6:
         67:02:20:72:82:5b:eb:d8:3a:97:ca:01:ef:2d:61:1d:44:32:
         11:8f:29:f3:2d:80:06:0e:13:89:51:db:a1:55:c6:7e:bb

Raising priority because it's been a long time since creation.

I don't see any obvious changes which would address this. I suspect everyone who hits the bug now finds this issue and quietly switches their certs to use P-256.
Or course your bot doesn't know that, so it will dutifully close this issue 180 days from now. Yay automation!

Stumbled upon this issue in the Python library while trying to use secp256k1. Tried to switch to P-256 (prime256v1) and it still doesn't work. We're pretty much stuck. Help? :)

@murgatroid99 ping, seems like this is on the c stack. With the release of the JS stack, if this is no longer relevant, please close. Thanks!

openssl ecparam -genkey -name prime256v1 -noout -out server4.key
openssl req -x509 -new -key server4.key -out server4.crt -days 3650 -subj '/CN=test.local'

var cred = new SslCredentials(cert);
var options = new[] { new ChannelOption("grpc.ssl_target_name_override", "test.local:5000") };
Channel channel = new Channel(Address, Port, cred, options);

This way I got it working.

I don't see any obvious changes which would address this. I suspect everyone who hits the bug now finds this issue and quietly switches their certs to use P-256.
Or course your bot doesn't know that, so it will dutifully close this issue 180 days from now. Yay automation!

That's exactly how I ended up here. This obviously doesn't just affect Node.js as the title might imply. I imagine many people are hitting this when they try to use Envoy.


fix the non-enumerable of the class prototype

Fixes #

it's related to https://github.com/microsoft/TypeScript/issues/32183


Update Plugin Artifacts Links for v0.149.4

Automated changes by create-pull-request GitHub action

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


Rebuild for rdkit 2022.03.1

Checklist

[X] Used a personal fork of the feedstock to propose changes
[X] Reset the build number (the version has changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[X] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender


Deadlock in mbedtls_x509write_crt_pem()

mbedtls 2.12, Fedora 28 linux (with mbedtls package from rawhide). Saw the same behavior in the mbedtls 2.9.0 package.
It looks like the issue is that the mutex isn't recursive so the earlier lock results in a deadlock.
If someone wants to confirm I can submit a pull request. This issue is holding up some usage of mbedtls on Linux for me so I'd like it fixed as soon as possible.
Backtrace:
#0  0x00007ffff78af7fd in __lll_lock_wait () from /lib64/libpthread.so.0
#1  0x00007ffff78a8d94 in pthread_mutex_lock () from /lib64/libpthread.so.0
#2  0x00007ffff7f79008 in threading_mutex_lock_pthread () from /lib64/libmbedcrypto.so.3
#3  0x00007ffff7f57258 in mbedtls_ctr_drbg_random () from /lib64/libmbedcrypto.so.3
#4  0x00007ffff7f503e4 in mbedtls_mpi_fill_random () from /lib64/libmbedcrypto.so.3
#5  0x00007ffff7f72548 in mbedtls_rsa_private () from /lib64/libmbedcrypto.so.3
#6  0x00007ffff7f73473 in mbedtls_rsa_rsassa_pkcs1_v15_sign () from /lib64/libmbedcrypto.so.3
#7  0x00007ffff7fa46e1 in mbedtls_x509write_crt_der () from /lib64/libmbedx509.so.0
#8  0x00007ffff7fa48fc in mbedtls_x509write_crt_pem () from /lib64/libmbedx509.so.0
#9  0x0000000000407408 in CertAndKey::WriteCertificateToBuffer (this=0x7ffff5c632c0,
#1:
int mbedtls_ctr_drbg_random( void *p_rng, unsigned char *output, size_t output_len )
{
int ret;
mbedtls_ctr_drbg_context *ctx = (mbedtls_ctr_drbg_context *) p_rng;
#if defined(MBEDTLS_THREADING_C)
if( ( ret = mbedtls_mutex_lock( &ctx->mutex ) ) != 0 ) <--------------------------  second lock
return( ret );
#endif
#5.
mbedtls_rsa_private()
...
if( rsa_check_context( ctx, 1             /* private key checks /,
f_rng != NULL / blinding y/n       */ ) != 0 )
{
return( MBEDTLS_ERR_RSA_BAD_INPUT_DATA );
}
#if defined(MBEDTLS_THREADING_C)
if( ( ret = mbedtls_mutex_lock( &ctx->mutex ) ) != 0 ) <--------------------- first lock
return( ret );
#endif
/* MPI Initialization */
mbedtls_mpi_init( &T );

...

Alright, looks like a false alarm. Got screwed up by a set of include files that wasn't defining the pthread mutex conditional being included while the F28 mbedtls library is built with pthread mutex enabled.

Thanks @chmorgan for the clarification - indeed I hadn't been able to confirm the issue so far since the RSA  and CTR DRBG contexts have independent mutexes.
Closing this issue for now - feel free to reopen if you suspect there is a problem with the library even after resolving your local issues.

@hanno-arm I did do a pretty careful audit of a some code so there was some benefit, only a handful of hours on my part until I figured it out. Valgrind wasn't able to catch it either, either with its normal lack checking tool or helgrind.
I did find that the mutex is_valid check was a bit loose. Not having that probably took a few hours to figure out. Let me push a PR so you can see what I mean.


Patch Windows SDK Path?

Geode Issue

[X] I confirm that this bug is NOT related to a mod but directly to Geode Loader itself.

Platform
Windows
SDK commit
No response
Geode Version
v1.3.10
Mods Installed
No response
Expected Behavior
Include errors to go away
Actual Behavior
When done, CMake Tools would show this notification

and this error message at the end of the output.
[proc] The command: D:\CMake\bin\cmake.EXE --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -SD:/Projects/GD_MOD/MegaHack_Options -Bd:/Projects/GD_MOD/MegaHack_Options/build -G "Visual Studio 17 2022" -T host=x64 -A win32 exited with code: 1
[visual-studio] Patch Windows SDK path from C:\Program Files (x86)\Windows Kits\10\bin\x64 to C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64 for C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat

Steps to Reproduce
Selecting a kit or selecting a variant
Additional Information
I'm new to this whole Geode thing (I know a little bit of C++ but that's about it) and I cant seem to find an answer online. I'm not sure if this is the right place to ask or not. If not, could I have some guidance? All help appreciated.

send the whole cmake log, if you can

[driver] Switching to kit: Visual Studio Community 2022 Release - amd64_x86
[visual-studio] Patch Windows SDK path from C:\Program Files (x86)\Windows Kits\10\bin\x64 to C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64 for C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat
[driver] Removing d:/Projects/GD_MOD/MegaHack_Options/build/CMakeCache.txt
[driver] Removing d:\Projects\GD_MOD\MegaHack_Options\build\CMakeFiles
[main] Configuring project: MegaHack_Options
[proc] Executing command: D:\CMake\bin\cmake.EXE --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -SD:/Projects/GD_MOD/MegaHack_Options -Bd:/Projects/GD_MOD/MegaHack_Options/build -G "Visual Studio 17 2022" -T host=x64 -A win32
[cmake] Not searching for unused variables given on the command line.
[cmake] -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
[cmake] -- The C compiler identification is MSVC 19.30.30706.0
[cmake] -- The CXX compiler identification is MSVC 19.30.30706.0
[cmake] -- Detecting C compiler ABI info
[cmake] -- Detecting C compiler ABI info - done
[cmake] -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x86/cl.exe - skipped
[cmake] -- Detecting C compile features
[cmake] -- Detecting C compile features - done
[cmake] -- Detecting CXX compiler ABI info
[cmake] -- Detecting CXX compiler ABI info - done
[cmake] -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x86/cl.exe - skipped
[cmake] -- Detecting CXX compile features
[cmake] -- Detecting CXX compile features - done
[cmake] -- Found Geode: D:\Geode_SDK
[cmake] -- Version: 1.3.10
[cmake] -- Found Geode CLI: D:/geode.exe (version 2.6.1)
[cmake] -- CPM: Adding package json@ (a47f570)
[cmake] CMake Error: Error: generator toolset: host=x64
[cmake] Does not match the toolset used previously:
[cmake] Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory.
[cmake]
[cmake] CMake Error at D:/CMake/share/cmake-3.28/Modules/FetchContent.cmake:1667 (message):
[cmake]   CMake step for json failed: 1
[cmake] Call Stack (most recent call first):
[cmake]   D:/CMake/share/cmake-3.28/Modules/FetchContent.cmake:1819:EVAL:2 (__FetchContent_directPopulate)
[cmake] -- Configuring incomplete, errors occurred!
[cmake]   D:/CMake/share/cmake-3.28/Modules/FetchContent.cmake:1819 (cmake_language)
[cmake]   build/cmake/CPM_0.38.1.cmake:1005 (FetchContent_Populate)
[cmake]   build/cmake/CPM_0.38.1.cmake:799 (cpm_fetch_package)
[cmake]   D:/Geode_SDK/CMakeLists.txt:81 (CPMAddPackage)
[cmake]
[cmake]
[proc] The command: D:\CMake\bin\cmake.EXE --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -SD:/Projects/GD_MOD/MegaHack_Options -Bd:/Projects/GD_MOD/MegaHack_Options/build -G "Visual Studio 17 2022" -T host=x64 -A win32 exited with code: 1
[visual-studio] Patch Windows SDK path from C:\Program Files (x86)\Windows Kits\10\bin\x64 to C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64 for C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat

CMake Error: Error: generator toolset: host=x64
Does not match the toolset used previously:
thats your issue, just delete your build folder and try again

Oh wow. Thanks!  I'm not the best at C++ 😅


Write metrics to InfluxDB for fill-analytics subcommand too

We should have all of this information in Grafana.

We may need to split the metrics up then.


Feat/jsbi

With react native there are 2 big issues:

Bigint literals are not supported
WebAssembly is not supported

To address the first issue and support Bigint, is better to use a library, in this case, I chose the JSBI library.
Regarding the second issue, the web assembly is used by the bls verification. There is a possibility to use a custom version of the blsVerify as a parameter for the pollForResponse function, maybe using the @dfinity/bls-verify, but is not working at the moment.
In this PR also there is a fix for the pollForResponse because, in some situations, wrong parameters were used.
This PR is tested in a React Native (v0.69.9 and v0.71.8) application and it works ( currently bypassing the blsVerify )

Bigint literals are not supported

BigInt are supported for a while already on React Native with Hermes engine, which has been the default since a few releases.


Historical Data

Is there someone working on this issue? Is anyone putting work into this git anymore?
thx

@sl00k PRs welcome


Feature/activate live cron

activate live cron

Obsoleted by
https://github.com/companieshouse/xml-terraform/pull/74


Add property usage to array indexer

This makes the Array indexer show as returning Variant instead of void in the documentation.

Thanks!


Issue with moment datetime in mozilla

I have an issue with moment dates, it happens in Mozilla. I am using chrome and the issue is not getting in Chrome.
var time="2017-03-01T13:31:00";
var hours = moment(new Date(time), "dddd, MMMM Do YYYY, HH:mm:ss a").get('hour');
var minutes = moment(new Date(time), "dddd, MMMM Do YYYY, HH:mm:ss a").get('minute');
alert(hours+":"+minutes)
The alert returns 13:31 in Mozilla and 01:31 in Chrome, I want the Chrome version of the time and when using in Mozilla it will increment the day by 1. So that I get a future date(tomorrow).
I am including the JsFiddle.
https://jsfiddle.net/jayachandranr/p7h0wunt/

You aren't using moments date parser, you're using the one from the JavaScript date object - that's why it's broken. The date you have is in ISO8601 format, so your code should simply be:
moment('2017-03-01T13:31:00').get('hour')


Unable to launch Spyder after installing Anaconda

Problem Description
I am unable to launch Spyder after I installed Anaconda. It seems like Spyder is running in the background but it is not opening in the upfront.
What is the expected output? What do you see instead?
Spyder should open so that I can practice machine learning but it is not happening.
Versions

Spyder version: 3.2.8
Python version: 3.6.5
Qt version: 5.9.5
PyQt version: 5.9.2
Operating System name/version: Windows 10

Also, I do not have any prior knowledge of programming. I just started to learn the basics of Machine Learning and found myself stuck in the very beginning. I tried executing the commands 'pip install pyqt5' and 'conda install -f zeromq pyzmq', this also didn't solve the issue. I have attached the screenshots of the Anaconda Prompt after writing these codes.
Please guide me further so I can go ahead with my learning.

When you ran
pip install pyqt5

you most probably broke your Anaconda installation.
So please uninstall Anaconda, reinstall it again, then open an Anaconda Prompt, run there
conda update spyder

and finally try opening Spyder again.

I reinstalled Anaconda and typed this code and got an error. I also turned off my anti-virus and firewall this time. Please find the error report and guide me further.

The error says that you can't connect to the Anaconda repository on the internet.
I found an answer for you and to help you with future problems I'll show you how I did it:
A quick google of CondaHTTPError brings me to here:
https://stackoverflow.com/questions/42563757/conda-update-condahttperror-http-none
Where I learn it could be a to type the command:
conda config --set ssl_verify no

Stackoverflow is a great resource for programming in general.

After following @bcolsen's advice, you can also run
conda install pyopengl

to see if that fixes your problem.

I tried executing all the mentioned codes. I am not getting any http errors now but the Spyder editor is still refusing to start. Is there anything else which could be done?

I deactivated them, but still,  Spyder Editor is not opening up. Even the Jupyter notebook is not working. I am able to write the codes in it but none of the codes are getting executed.

Even the Jupyter notebook is not working. I am able to write the codes in it but none of the codes are getting executed.

I'm almost sure the problem with the notebook is the same that affects Spyder. Your other option would be to uninstall McAfee and install something else.

Sorry for bothering you @ccordoba12 again.
 When I writing jupyter notebook, it opens up the notebook but I am unable to execute any codes.
Also, why is it saying that the zero active kernels in the anaconda prompt? Please help me further as this is critical for me.

Mac user, downloaded Spyder through Anaconda. Jupyter and other packages work fine, but I can't open Spyder.
I tried to remove and install back, but it still doesn't work.
Traceback (most recent call last): File "/anaconda3/bin/spyder", line 7, in from spyder.app.start import main File "/anaconda3/lib/python3.6/site-packages/spyder/app/start.py", line 12, in import zmq File "/anaconda3/lib/python3.6/site-packages/zmq/init.py", line 42, in _load_libzmq() File "/anaconda3/lib/python3.6/site-packages/zmq/init.py", line 9, in _load_libzmq import sys, ctypes, platform, os File "/anaconda3/lib/python3.6/platform.py", line 116, in import sys, os, re, subprocess File "/anaconda3/lib/python3.6/subprocess.py", line 136, in import _posixsubprocess ImportError: dlopen(/anaconda3/lib/python3.6/lib-dynload/_posixsubprocess.cpython-36m-darwin.so, 2): Symbol not found: __Py_set_inheritable_async_safe Referenced from: /anaconda3/lib/python3.6/lib-dynload/_posixsubprocess.cpython-36m-darwin.so Expected in: flat namespace in /anaconda3/lib/python3.6/lib-dynload/_posixsubprocess.cpython-36m-darwin.so
Hope someone can help me with this problem

@pinkpigwombat Google says try this:
https://stackoverflow.com/questions/50504279/spyder-startup-trouble

Closing because this is not a Spyder problem.


Update dependabot.yml

These are wildcard patterns not regex so the period is literal.
Also, since for some reason it seems to be succeeding more often now, and AWS is updating often, change to weekly to reduce updates.
Microsoft Reviewers: Open in CodeFlow

Verified this edit is good in my fork.


Update installation-overview.md

This change is

Coverage remained the same at 82.987% when pulling 246826d1d4551f78278262448148d4114f0cb677 on dijonkitchen:patch-1 into 5b522c502f323453c53900bc3f9e56e302fa963e on shakacode:master.

Thanks @dijonkitchen!


The command failed with an unexpected error. Read-only file system

az commnds are not working power shell or bash command prompts;
Getting following error: The command failed with an unexpected error. Here is the traceback:
[Errno 30] Read-only file system: '/home/neel/.azure/versionCheck.json'
I was trying to use microsoft training pass subscription. Has my access been revoked?

@jiasli for awareness

This is the same issue as https://github.com/Azure/azure-cli/issues/13855.


Merge to live!

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/design/office-ui-fabric.md
:white_check_mark:Succeeded

docs/design/using-office-ui-fabric-js.md
:white_check_mark:Succeeded

docs/design/ux-design-patterns.md
:white_check_mark:Succeeded

docs/resources/resources-links-help.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[BUG]: Translate plugin not working with multiple Editors.

Describe the bug
The translate plugin is not working with multiple dynamic component (ex.: more than one Rich Text editor). If you have a dynamic component inside an Type and you add many components of that type, only the first component it's translated.
To Reproduce
Steps to reproduce the behavior:

Create a Type with a Dynamic Section
Inside that Dynamic Section add the Rich Text Editor component from Strapi
Add content to that Type with many Rich Text Editors
Translate the Type to another language with the plugin
In the translated Type, you will see that only the first module it's translated

Expected behavior
Every module should be translated.
System (please complete the following information):

OS: MacOs Ventura 13.6.7
Browser: N/A
Versions:

strapi: 4.22
strapi-plugin-translate: 1.2.4
provider: strapi-provider-translate-deepl

Thank you @thewickest for opening this issue!
I have tried to reproduce this issue with your provided details, however I do not see the same behavior.
Can you please either

share the exact content type and component schemas or
create a new public repository with a simple strapi environment where you can reproduce the issue


Metadata bio-characteristics

This PR creates the objects (Biocharachteristic, Characteristics) needed for rich & consistent disease and phenotype annotations, as well as their implementation in Biosample and Individual.

@david4096 @cmungall @kozbo @mcourtot Please review - thanks!

(For reference of previous discussions: https://github.com/ga4gh/schemas/pull/711).

Merging this into the https://github.com/ga4gh/schemas/tree/metadata-integration branch & closing it.


Merkle Proof verification feature for NFT claim

There are 2 parts of this PR:

In NFT pallet, Merkle Proof verification has been implemented to verify if user's address is in whitelist and mint NFT to user if it is in the list.
Add TypeScript distributor demo to generate Merkle Tree and Merkle Proof to certain user.

Details of design will be documented in notion.

Why this PR has the changes from @Satoshi-Kusumoto, can we change the base branch so it's possible to review the changes?

I will do a rebase and create another PR to avoid this github auto-rebase chaos.

Also fix the indentation issue, thanks for the reviews.

Closed. Resubmitted with #23.


Ios device local image rendering deformation

We received feedbacks from users after our project development went live, they said that the bottom of some round images were flat. By taking a screenshot and using the drawing tool to overlay another same size image on top of it, we found that there were extra areas on the bottom half of the image that were causing the image to be rendered distorted. This is shown in the red area of the image below.

Minimum sample code：
        icon = Image.asset("packages/flutter_assets/assets/images/3.0x/bot_add.png",color: model.color ?? null ,fit: BoxFit.contain,);
flutter doctor -v
[✓] Flutter (Channel unknown, 3.0.0, on macOS 12.5 21G72 darwin-arm (Rosetta),
    locale zh-Hans-CN)
    • Flutter version 3.0.0 at /Users/mahao/workspace/flutter/3.0.0
    • Upstream repository unknown
    • FLUTTER_GIT_URL = https://gitee.com/mirrors/Flutter.git
    • Framework revision ee4e09cce0 (5 个月前), 2022-05-09 16:45:18 -0700
    • Engine revision d1b9a6938a
    • Dart version 2.17.0
    • DevTools version 2.12.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/mahao/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • ANDROID_HOME = /Users/mahao/Library/Android/sdk
    • Java binary at: /Volumes/Macintosh HD/Applications/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)

[✓] Android Studio (version 2021.2)
    • Android Studio at /Volumes/Macintosh HD/Applications/Android
      Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.71.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.44.0

[✓] VS Code (version 1.69.2)
    • VS Code at /Volumes/Macintosh HD/Applications/Visual Studio
      Code.app/Contents
    • Flutter extension version 3.44.0

[✓] Connected device (3 available)
    • Mahao test (mobile) • 518fff1769e8d6cc3b01b0d795ef9bf12d950cb4 • ios
      • iOS 15.4.1 19E258
    • macOS (desktop)     • macos                                    •
      darwin-arm64   • macOS 12.5 21G72 darwin-arm (Rosetta)
    • Chrome (web)        • chrome                                   •
      web-javascript • Google Chrome 106.0.5249.103
    ! Error: Mahao test is busy: Fetching debug symbols for Mahao test. Xcode
      will continue when Mahao test is finished. (code -10)

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

@kutian I'm not sure can understand your first screenshot. Is it the zoom of a widget in the 2nd screenshot?
Could you provide the original image assets?
Also, you may try upgrading Flutter SDK to the latest and retry to see if the issue still reproduces. The latest Flutter stable is 3.3.4 and master is 3.5.0.

Yes, it is the zoom of a widget (the first red dot, on the left of "ALL") in the 2nd screenshot. As you can see, there are extra areas at the bottom of this image. Here are our original image assets.
images.zip

@kutian Can you please point out the extra areas on this image? It will be better if you can draw a markup on this captured image.

Also, please also provide red dot original image asset. The images.zip only contains bot_add.png which is green icon.

Flutter_Images.zip

@kutian I suspect that two images have a slight difference that can cause this problem (with and without resolution). Do you think so?

bot_add_red
bot_add

Also, please try running below sample code (The green image overlaps the red image in a Stack and vice versa (you can update the code yourself)):

Sample code
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: Scaffold(
        body: Center(
          child: Stack(
            children: [
              Image.asset('assets/bot_add_red.png', fit: BoxFit.contain),
              Image.asset('assets/bot_add.png', fit: BoxFit.contain),
            ],
          ),
        ),
      ),
    );
  }

}

As I see, the mismatched areas are not just at the bottom as your case. So, the issue may come from the implementation code.
So, please provide a completed and minimal reproducible code sample so that we may verify this.


Contradicting eslint rules

@comparte/eslint-config version: 4.0.0
eslint version: 7.5.0
typescript version: 3.3
node version: 13

Relevant code or config:
  1:36  error  Missing file extension for "./types"        import/extensions
  1:36  error  Unable to resolve path to module './types'  import/no-unresolved

What you did:
What happened:
Reproduction:
https://github.com/comparto/git-c/blob/master/package.json#L17
Problem description:
Suggested solution:
settings:
  'import/resolver':
    node:
      extensions: ['.ts', '.tsx']

:tada: This issue has been resolved in version 4.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add array with element concat Presto function

Failed test is due to https://github.com/facebookincubator/velox/issues/5349


Blip .sprite Invalid entity bug

Description of the problem
If we want to get the sprite of an existing blip, it doesn't work now.
Error message:
[02:53:24][Error] GetEntity: Invalid entity with type
[02:53:24][Error] GetEntity: Invalid entity with type
[02:53:24][Error] GetEntity: Invalid entity with type
[02:53:24][Error] GetEntity: Invalid entity with type
[02:53:24][Error] [V8] Exception at one_admin:client.js:115
[02:53:24][Error]       	if(blip.sprite != 0) {
[02:53:24][Error]   TypeError: Cannot read properties of null (reading 'sprite')
at client.js:115:14
[02:53:24][Error] TypeError: Cannot read properties of null (reading 'sprite')
Reproduction steps
Code:
for(const blip of alt.Blip.all) {
if(blip.sprite != 0) {
alt.log("test");
}
}
Expected behaviour
Should be working as in the current release version.
Additional context
No response
Operating system
Windows 11
Version
13.0-rc11, branch rc
Scope
client
Reproduction tested

[X] I confirm that I have made sure that this issue is also present on the newest dev version

Fixed in newest dev


[SPARK-5352][GraphX] Add getPartitionStrategy in Graph

Graph remembers an applied partition strategy in partitionBy() and returns it via getPartitionStrategy().
This is useful in case of the following situation;
val g1 = GraphLoader.edgeListFile(sc, "graph.txt")
val g2 = g1.partitionBy(EdgePartition2D, 2)
// Modify (e.g., add, contract, ...) edges in g2
val newEdges = ...
// Re-build a new graph based on g2
val g3 = Graph(g1.vertices, newEdges)
// Partition edges in a similar way of g2
val g4 = g3.partitionBy(g2.getPartitionStrategy, 2)

Can one of the admins verify this patch?

ok to test

Test build #25908 has started for   PR 4138 at commit 9fd03a6.

This patch merges cleanly.

Test build #25908 has finished for   PR 4138 at commit 9fd03a6.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/25908/
Test FAILed.

ISTM this patch causes no error, so please re-test it.

Jenkins, retest this please.

Test build #26043 has started for   PR 4138 at commit 9fd03a6.

This patch merges cleanly.

Test build #26043 has finished for   PR 4138 at commit 9fd03a6.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26043/
Test FAILed.

Jenkins, retest this please.

Test build #26056 has started for   PR 4138 at commit 9fd03a6.

This patch merges cleanly.

Test build #26056 has finished for   PR 4138 at commit 9fd03a6.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26056/
Test FAILed.

@maropu Jenkins is correct, you're modifying a public API here, since you add a method to an abstract class. I think this one has stalled anyway; is there another way to accomplish this or should it be closed?

Test build #30455 has started for   PR 4138 at commit f72c058.

Sorry but mistook to close, so re-make the PR.
https://github.com/apache/spark/pull/5549

Test build #30455 timed out     for PR 4138 at commit f72c058     after a configured wait of 150m.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30455/
Test FAILed.


Add Holy Names Academy

Website: https://www.holynames-sea.org
GitHub organization: https://github.com/HolyNamesAcademy
Directory with email addresses: https://www.holynames-sea.org/about/faculty-staff-directory/

@inthemedium Pull request merged. Thank you!


Percy.io for Default Editor

in lieu of Jest tests
a suite that loads up a list of mocks (in a clean window!) and then clicks through the panels in the menu and percy-snapshots each one. Let's do this for one mock of each supported trace-type, so we get a read on what things look like for a pie-chart, a ternary etc

Sounds good. It will be trivial (minus race conditions...) to extend these going forward with a few extra clicks to get some data flow happening before snapshotting. I like it!

Yeah. In principle though things should be path-independent, so most instances where clicking on stuff can get us into a weird state should be packed into plotly.js test-cases that call react() a few times. "should"

https://percy.io/docs/clients/javascript/react

in principle it should be as easy as grabbing something like this https://github.com/plotly/react-chart-editor/blob/master/src/components/containers/tests/Fold-test.js and calling it inside Percy and then just passing it different data instead of a fixture.
We don't want to snapshot the actual figure, just the editor

Start in a local environment and once it's cool there we can move it to CI


Update MD file on new branch 2017-19-14_09-11-06

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


/kinect2/sd/points and /kinect2/qhd/points dimension is different

Hi all,
When i finished the kinect2 calibration, I try to use it to find chessboard target.
I found the /target_cali frame is different in /kinect2/sd/points and /kinect2/qhd/points
I am using /kinect2/sd/image_ir and /kinect2/sd/camera_info to compute the target frame
/kinect2/sd/points

/kinect2/qhd/points

So, which points data is accurate? or i made a mistake?
THX
DD

Hi, I have a same question. Here is the sd cloud image after calibration:

which is quite accurate.
However, the qhd cloud image looks like this:


Fixed rating lang

Issue Reference
Fixed rating lang

Checked and Found Translation Changed and Added.
https://prnt.sc/hq92FJ0_tIz0
https://prnt.sc/DwqFyg9Xzgc6


[WIP] Adds automation script to add issue label

Adds an automation workflow to port over labels from issues to PRs
Resolves https://github.com/opensearch-project/security/issues/3335
Check List

[ ] New functionality includes testing
[ ] New functionality has been documented
[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

hmm. i tried using an existing workflow. It seems to be working for same repo: https://github.com/DarshitChanpura/security/pull/8
but no across forks 🤔

@DarshitChanpura but no across forks 🤔 I'm pretty sure that's by the design of the GitHub security model, I wouldn't want forks to be able to modify my repro.
During our triage session today, the associated issue was rejected.  It looks like this feature might be useful in the OpenSearch repo maybe you'd consider shifting your change to that repository.


Tracking issue for NLL in Rust 2015

When NLL is enabled in Rust 2015, this part of the edition guide should get updated:
https://github.com/rust-lang-nursery/edition-guide/blame/5f3cc2a5618700efcde3bc00799744f21fa9ad2e/src/rust-2018/edition-changes.md#L6
I think this is the issue for NLL in 2015? https://github.com/rust-lang/rust/issues/57895
This is the full NLL tracking issue: https://github.com/rust-lang/rust/issues/43234

@carols10cents  That part has already changed on master.

oooops, idk how i got on a commit instead of master in the github ui. thanks!


Name test tasks with the test name

Ref https://github.com/sbt/sbt/issues/4911. This names each parallel
test task with the name of the task so that supershell can display it.
It only applies for parallel tests. When run sequentially, supershell
will still display executeTests.

😎


FeignClientsRegistar fails when trying to parse unresolved property placeholders in JDK 20+

Spring Cloud version: 2023.0.1 (affects up to the latest version)
FeignClientsRegistar seems to purposefully ignore unresolved URLs that are SpEL but doesn't do so for property placeholders like ${placeholder}.
For ignored SpEL strings, the input string is returned, but for placeholders, it tries to parse it into a URL object.
Up until JDK 20, this would be OK and would not fail - and unresolved placeholder URL would probably fail somewhere later down the flow. This is because the underlying implementation of the URL class doesn't actually try to parse the host until unless the URL.openConnection() is called, which is not called in this method.
Since JDK 20, this behaviour has changed and the underlying implementation of the URL class now parses the host eagerly without waiting for a URL.openConnection() call.
This was discovered when our tests that use @JsonTest started failing once we upgraded to JDK 20+

Closing in favor of #1022, no need to open an issue and PR at the same time.


synology docker frontend bash terminal fails to load

In synology docker frontend if I click on terminal and then create a bash terminal it fails with :
rpc error: code =2 desc = oci rutime error: exec failed: container_linux.go:247: starting container process caused "exec: "/bin/bash": stat /bin/bash: no such file or directory"

Bash shell is not available in the image.  However, you use /bin/sh instead.

Thanks for the very fast response. I don't think it's possible to switch from bash in synology (at least not the frontend) thankfully I only needed it to confirm dedupe was set to 1 from 0 and I could verify an alternate way that you already did that. Thanks for this, it's looking much, much better than my previous crashplan solution.

Good! Note that you can always login manually to the container with ‘docker exec -ti  sh’


(Question) FMHA in FasterTransformers vs. FlashAttention

Hi, thanks for the great work!
I'm comparing performance of different inference engines and see that FasterTransformers has "FMHA" kernels (they call it fused multi-head attention). Is that the same as FlashAttention? I see from https://github.com/HazyResearch/flash-attention/issues/1 that y'all started with APEX FMHA, so maybe it is the case..
Is there a benchmark you suggest that will show a performance difference with / without FlashAttention during inference time?
Thanks!

We described the differences in Appendix E4 of the paper, with benchmark numbers.
In short, FMHA is tailored to BERT (only support seqlen <= 512, headdim <= 64).
I believe if you're doing generation with GPT-style models in FasterTransformers, it uses FlashAttention for the prompt processing stage.

Thanks @tridao !


remove(Oasis): Remove the material recalimer

Why
It was deprecated in https://github.com/space-wizards/space-station-14/pull/30802

wouldnt migrations just do this automatically


feat: support eslint fix (#323)

Reopening https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/342 without the dependency on @types/eslint.
Resolves https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/issues/323.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Move scala_compiler to runtime deps

Addresses #1058

Should we actually also add a “failing test”?
We run the unused deps feature in the e2e tests, right? Maybe we should add a few targets there?

The test is commented out for some reason: https://github.com/bazelbuild/rules_scala/blob/master/test/tut/BUILD

Let’s uncomment it
On Mon, 15 Jun 2020 at 20:46 Vaidas Pilkauskas<EMAIL_ADDRESS>wrote:

The test is commented out for some reason:
https://github.com/bazelbuild/rules_scala/blob/master/test/tut/BUILD
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/pull/1059#issuecomment-644276639,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKQQF5LGV7YR3QUPTXQDRLRWZM7TANCNFSM4N6EU22A
.

--
Ittai Zeidman
40 Hanamal street, Tel Aviv, Israel
http://www.wix.com

Let’s uncomment it
On Mon, 15 Jun 2020 at 20:46 Vaidas Pilkauskas @.***> wrote: The test is commented out for some reason

Uncommented

Awesome! Can you validate that indeed the test fails without your change? You don’t even have to push, I trust your word :)

sure, I did it before opening this PR:

fails build with unused dep, if not scala_compiler removed from deps
fails on runtime if it is not moved to runtime_deps


Fixed the translation for Abstract Class in Java

[x ] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)
[x ] My pull request targets the master branch of freeCodeCamp.
[x ] None of my changes are plagiarized from another source without proper attribution.
[ x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for  creating this PR.  However, since it was created, the underlying document has changed.  Can you please review and resolve the current merge conflicts?  It could be the changes to the underlying document are so significant that your changes are no longer relevant.  If the latter is the case, it might be easier to just close this PR and create a new PR with any changes you still feel are important to make.
If you need any assistance or have questions about resolving the merge conflicts, please reply back or contact someone in the Contributors Room on Gitter.
Thank you.

Hi @myluco
As there has been no response from your end for a while, we are closing this PR.
Feel free to request this PR to be reopened or create a new PR, if you still wish to make the changes you originally added plus any additional change requests asked of you.  Also, remember to update your fork, so you have the latest version of master in case it has changed significantly.
Happy Coding!


Suggestions for running clusters

(V4F12) Original description:

Now that we can inspect a running cluster, we can use the nodes API to see how many nodes exists, the kubernetes version executed (and therefore declare the risks for said version)

Currently the idea for this is to add policies that relate to versions (v.X < v.X) and suggest things to consider related to the user's current version, and policies used. Additional status related information may also result in suggestions (TBD).

I've created the blank rules file in the OPA repo https://github.com/reliablyhq/opa-policies/commit/b5fdbe70adb62ffefde15bc5939d02536af1fa32

started a branch, https://github.com/reliablyhq/cli/tree/list-nodes
it fetches nodes json from k8s api.


Activate scenes and toggle groups with alexa (Home Assistant Cloud)

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.63.3 and 0.64.0
Python release (python3 --version):
3.5.3
Component/platform:
Hass.io / HA Cloud / Echo (Germany)
Description of problem:
I try to export scenes and groups to my echos. Both appears in the Alexa-App (groups as device and scenes as scene) activated with an activate/deactivate switch. If I try to deactivate it I get an error message and the scene/group stays activated.

The error-message is something like "Alexa could not deactivate the scene. Try again."
Expected:
It is possible to activate an exported scene and turn a group on and off.
Problem-relevant configuration.yaml entries and steps to reproduce:
  alexa:
    filter:
      include_entities:
        - light.yeeBulb1
        - light.yeeBulb2
        - light.yeeCeiling1
        - switch.sonoffSocket03
        - group.livingroom_indirect_light
        - scene.livingroom_indirect_light_cozy
    entity_config:
      scene.livingroom_indirect_light_cozy:
        name: gemütliches Licht

Configure scenes and groups for cloud export
Discover the scenes and groups within the alexa-app
Try to activate a scene or toggle a group

Traceback (if applicable):

Additional info:
Tried to delete the scenes and groups before discovery.
Tried to deactivate and reactivate the HA-Skill. Logged out from Home Assistant Cloud and logged back in.
I read the Home Assistant Cloud instructions and searched the Forum and issue-tracker.

Same problem when declaring devices with certain types as per:
https://github.com/home-assistant/home-assistant/issues/12059


Dev quotes rule

You should provide description for your PR, similarly to e.g. https://github.com/Mstrutov/Desbordante/pull/50


PLFM-4209

return a 400-level status when someone tries to create a message with no recipients.

Looks great!


Add valgrind to containers

Add valgrind to containers for future debugging

passed devel tests; ready to merge to main

merged to master; closing


Clean Model updater

Instead keeping a list with all the created analyses, the modelUpdater should extract all the analyses from the layers and dataviews collections updating each one.

Following the discussion, since looking for all the analysis and (removing dupes and nested ones) is a common behaviour I think we should encapsulate it in a shared method.
Maybe a static method in the analisisFactory?
analysisFactory.prototype.getAnalyses = function(layersCollection, dataviewsCollection){
 // ...
}


working multi page pdf viewer example with pdfjs-dist

Unfortunately we can't accept this PR. We had such examples before, but they always ended up becoming out of date because we simply can't support them since our focus is on vanilla JavaScript and not on the many JavaScript frameworks out there. There was even a React example, but we had to remove it in #11864 for the reasons mentioned there.
Finally, there are projects like https://github.com/wojtekmaj/react-pdf that already provide React integration of PDF.js and can probably support this much better than we can. Thanks.


Unicode support

Is it possible to generate swagger-spec.js in UTF-8 encoding ? It seems to be encoded in CP1252. My source OpenAPI YAML is UTF-8 encoded and contains special unicode characters that are displayed incorrectly in Swagger UI.

It depends on the system default charset for now.
It should be always UTF-8 and I will fix it later.
https://github.com/int128/gradle-swagger-generator-plugin/blob/master/src/main/groovy/org/hidetake/gradle/swagger/generator/GenerateSwaggerUI.groovy#L86

Try the new version:
https://github.com/int128/gradle-swagger-generator-plugin/releases/tag/2.15.1


Updated Flurry dependency

"FlurrySDK has been deprecated in favor of Flurry-iOS-SDK"

nice!

if another PR comes up in the next week or so I'll ship them together - otherwise I'll ship a build next week

@orta Could you, please, push new Cocoapods release with these changes?


History menu

Introduces a history menu for engine q
it can be triggered with Ctrl+a
The menu presents the history in pages that can be navigated with down or up arrows (tab and shift tab)
to see the next page use ctrl+a and ctr + shift + a for previous page
All of these events can be changed in config file
To configure the menu in the config use
 history_config: {
   page_size: 10
   selector: ":"
   text_style: dark_gray
    selected_text_style: green_reverse
  }

the selector is a character that when typed with a number after it will select that input. e.g. :4 will select that row

Does this override MoveToLineStart?

@jmoore34 - currently it does, but we're trying to find a better keybinding for it


[NEW] Show account status in menu bar

Add new feature to show account status in menu bar
(implemented for all OS - actually there now special icons for windows and linux)
Feature Request
Server Changes to activate function
Short video about the new feature

Looks awesome! Thanks for your contribution. I will wait for the server side PR to be merged before releasing this, but it should be soon.

Thx

seems like notification does not work anymore on windows after this pr

I will Check that in the Eventim today and fix the issue.

im thinking about adding next to the status dot that you added , i will like to add a way to show that there is new activity without breaking the appearance of rocket.chat logo, something like how Slack does it for the tray icon, a blue sky dot and when you hover the "Rocket.Chat+" title will change for "24 unread messages"

so i fixed the problem with the default tray_icon. Fix
There some differences between the platforms while showing the tray icons and status.
OS X:

use the template icon's and an title tag to give you some information (the title will be uses to visualize the user state)
there no special icons to show badge state because of the dock implementation.
There is only one icon to show badge state (rocket with exclamation mark)

Windows / Linux:

uses special icons for each badge state (1-9+)
to show the user state we have to create some special icons (open)

In version 14.1 this does not work in linux ( ubuntu 16.04)

This also does not work for me on Linux (Debian 9.5 w/ Gnome 3.22.2)


Support Qwen2.5-7B-Instruct model

🚀 Model / language coverage
Support the Qwen/Qwen2.5-7B-Instruct model.
Pitch
This is an ask from internal NVIDIA colleagues.
Minimal Repro
TBD.
cc @tfogal

The NeMo team simplified this to a non-VL variant of the model.

https://github.com/Lightning-AI/lightning-thunder/pull/1406 adds a non-VL variant of the Qwen 2 model to Thunder's CI. Currently backward doesn't work because of https://github.com/NVIDIA/Fuser/issues/871#issuecomment-2461562917.
We still need to continue with performance analysis and microbenchmarks to improve parts of Qwen 2 (and other two important HF models Phi 3, NeMo Mistral) that do work with nvFuser fusing backward operations. @riccardofelluga, could you please lead this effort? It would also be useful to identify what layer causes nvFuser to fail for the backward computation.