Changing the collection with a selected (no longer valid) modelValue results in first element selected

When there is a change in the available options, the onCollectionChange function is called. In this function, there is a check that verifies if the previously selected value is still available in the new collection. If the new collection does not contain the previously selected value, the first element of the new collection is selected.
This is undesired behaviour, as it presumes to know what the right value will be in this situation. I cannot imagine there is a scenario where you would want the system to select 'the first' option available if the previous selection is no longer available.
This action is performed in https://github.com/lordfriend/nya-bootstrap-select/blob/master/src/nya-bs-select.js on line 291:
              if(!contains(valuesForSelect, modelValue)) {                 modelValue = valuesForSelect[0];

Well, This makes sense when designing this project. As a reference, I picked system native select component which will always select an option. so I make this. Maybe today there are some components that allow use deselect or select nothing as default when they are in single select mode.

@lordfriend thanks for the quick response. Selecting a default value makes sense from the perspective of a native select component. However, the nya-bootstrap-select provides functionality to clear the selected value (making the element empty). Give these 2 functionalities, there is an inconsistency in the whole.
I can make a pull request, but the desired behaviour would need to be clear. I can imagine that this is something that can be configured along the lines of
if(!contains(valuesForSelect, modelValue)) {     if(clearOnExpiredEntry) {         modelValue = undefined;     } else {         modelValue = valuesForSelect[0];     } }
Does that make sense?

Hmm, This makes sense if changes can be configured. That will maintain compatibility with some old project depending on this project.
And, if appreciated, add a test spec for this change.


Simple item upload limit is wrong

I get back "413 Request Entity Too Large" when I try simple upload using PUT for all the files around ~8MB. Files less than that work just fine.
In documentation it clearly says that limit is 100MB which seem not to be true. What is the correct limit?

Hi @sloba88, can you tell us whether your hitting the Business or Consumer endpoint? Either way, an 8MB file should definitely be fine.
I believe Microsoft Graph has a lower limit that could be around 8MB (I know it was 4MB at one point but it's possible it's been bumped up), so if you're accessing OneDrive via Graph that would explain it.

Hi,
yeah that was exactly the case, we were using Graph. It's a bit confusing because they are both very similar yet different things that have mostly same features, especially related to OneDrive.


Dispatch a change event only if the value changes

Fixes #4427

Thanks @fredj. Please merge when Travis is happy.

A event will still be dispatched for different objects with the same value.
This is because the strict not equal operator is used:
> [0, 1, 2] !== [0, 1, 2]
true
> {key: '42'} !== {key: '42'}
true

Looks good to merge.


Wildcard not showing

wildcards I created in SwarmUI and copied to Data/Wildcards are not showing.
New wildcards do create new files, but nothing is shown as the screenshot:

For copied wildcards, only the folder tree is shown, nothing on the right:

That appears to be a JS error (there's an entire block just not generated in). Does CTRL+F5 (hard refresh) fix it? If not, can you open browser console (CTRL+Shift+i) and see if there's an error message?

hard refresh no difference. browser console has no error too. Just the Wildcard tab is not working.

That's... very strange. the entire content container is missing, including the header line:

So I'd expect a basic loading error, which should show in JS console

The component structure is all the same across all other tabs. The only difference is the "Create New Wildcard" button.
I trace down the codes, all javascript works fine for Wildcards, fullcontent is loaded, just not showing, which navigating the folder tree.
One thing very interesting is when I "inspect" -> remove the "Create New Wildcard" button ("wildcards_list_create_new_button" button) from the browser_container div, then the fullcontent pane is showing correctly.

Next I moved the "Create New Wildcard" button to the "wildcardsbrowser-foldertree" div, then it also shows correctly like this:

Perhaps this is some HTML / div / button issue? I'm not a front-end developer, but this works for me.

Ah, I replicated it after that screenshot - it doesn't happen in Firefox, it only happens in Chromium-based browsers.
There's a row of divs are that were (for my window size), 240 | 7 | 945 px. It was this width for the Presets tab, and for the wildcards tab.
The presets tab has buttons over top, the wildcards does too in the same way.
For reasons beyond sane understanding, chrome decided that the 945 block was too wide on the wildcards tab, but not the presets tab. This  was, in fact, controlled by the buttons that were vertically above the block and thus had nothing to do with its horizontal alignment.
It's now fixed by way of telling chrome it's not allowed to attempt content wrapping there.

It is working now after the fix.

But don't you think it would look better without the row gap caused by the button alone?


Simulate numpad enter?

Hi,
I was wondering, would it be possible to simulate numpad enter (separately from regular enter key) in a similar manner to Left/Right Shift, Alt, Control?

Guys, I'm having the same issue, is there a way to do this?  The app I'm trying to send keys to does distinguish the two.


Fix BlockEntityTag not using the base tag

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

npm package (@latest dist-tag)
Visual Studio Marketplace
GitHub release

Your semantic-release bot :package::rocket:


Requesting 3rd party libraries support for JS for the HtmlViewer

Just like the dependencies are fetched for BuilderViewer, can you'll please add that functionality for the HtmlViewer, where external libraries are fetched for the preview. Also, may be allow to install all dependencies from user provided packages.json file. Please 🙏🏻 and Thank you'll for this amazing package.

Hello, thank you for your suggestion! We are working on it.


rexray.sock: connect: no such file or directory

Summary
I want to use the Docker Volume Plugin for Cinder on a CoreOS host in OpenStack Nova,
but following error keeps poping up when I want to install the plugin:
Error response from daemon: dial unix /run/docker/plugins/9dba85760ad3e5293eda1983682046833892891454e44f1104ee24e37afd7c06/rexray.sock: connect: no such file or directory

Error seems similar to:
#https://github.com/codedellemc/rexray/issues/820
But I did not get any information about wrong permissions.
Version
(from my docker service logs)
$ rexray version
REX-Ray
-------
Binary: /usr/bin/rexray
Flavor: client+agent+controller
SemVer: 0.9.2
OsArch: Linux-x86_64
Branch: v0.9.2
Commit: 9c7b7329884bf2feeffe101fc5dc3a239730427d
Formed: Wed, 28 Jun 2017 20:15:03 UTC

libStorage
----------
SemVer: 0.6.2
OsArch: Linux-x86_64
Branch: v0.9.2
Commit: 7368564cc71be9a0dbe03ddfbaeda281232eee72
Formed: Wed, 28 Jun 2017 20:14:42 UTC

Docker 17.05.0-ce
Container Linux by CoreOS alpha (1492.1.0)

Expected Behavior
The plugin should install successfully or give a meaningful error output in the service logs
Actual Behavior
This is the point in the service logs, where I can see that something fails:
level=info msg="received exit signal" signal=terminated time=1502793444792 "
Steps To Reproduce
Just install the plugin
docker plugin install rexray/cinder \
  CINDER_AUTHURL=http://<IP_ADDRESS>:35357/v2.0 \
  CINDER_USERNAME=username \
  CINDER_PASSWORD=password \
  CINDER_TENANTNAME=project_rancher

Error response from daemon: dial unix /run/docker/plugins/9dba85760ad3e5293eda1983682046833892891454e44f1104ee24e37afd7c06/rexray.sock: connect: no such file or directory

Configuration Files
No real config files, as config is passed into the plugin via env variables:
docker plugin install rexray/cinder \
  CINDER_AUTHURL=http://<IP_ADDRESS>:35357/v2.0 \
  CINDER_USERNAME=username \
  CINDER_PASSWORD=password \
  CINDER_TENANTNAME=project_rancher

Logs
The attached log file shows the docker log output of following commands:

docker plugin install rexray/cinder   CINDER_AUTHURL=.... (like above)
docker plugin list
docker plugin set 9dba85760ad3 REXRAY_LOGLEVEL=debug
docker plugin enable rexray/cinder

docker-log.txt

@josefroselinfonova Can you re-run and add the REXRAY_DEBUG=true flag? It is very likely that you are having auth problems relating to the combination of credentials you are using.

Hi Clint, thank you for your response.
I tried that, but this does not seem to be a valid env var for the plugin:
Status: Downloaded newer image for rexray/cinder:edge
Error response from daemon: setting "REXRAY_DEBUG" not found in the plugin configuration

But you are right about your guess having auth problems. I switched to v3
docker plugin install rexray/cinder:edge
CINDER_AUTHURL=http://<IP_ADDRESS>:5000/v3
CINDER_USERNAME=####
CINDER_PASSWORD=#####
CINDER_TENANTNAME=#####
CINDER_DOMAINNAME=#####
REXRAY_LOGLEVEL=debug

Hi Clint, thank you for your response.
I tried that, but this does not seem to be a valid env var for the plugin:
Status: Downloaded newer image for rexray/cinder:edge
Error response from daemon: setting "REXRAY_DEBUG" not found in the plugin configuration

You probably were thinking about REXRAY_LOGLEVEL=debug
That gave me the same result in the logs as before.
But you are right about your guess having auth problems. I switched to v3
docker plugin install rexray/cinder:edge
CINDER_AUTHURL=http://<IP_ADDRESS>:5000/v3
CINDER_USERNAME=####
CINDER_PASSWORD=#####
CINDER_TENANTNAME=#####
CINDER_DOMAINNAME=#####
REXRAY_LOGLEVEL=debug
And that seems to give better feedback:
v3-plugin.txt
panic: runtime error: comparing uncomparable type gophercloud.ErrDefault401
My question now is: What permission do I need to get the plugin running, as this is a production installation, I will not get admin permissions on there. The user I supply to the plugin can view, edit, delete, create volumes via the OpenStack Horizon GUI.

@josefroselinfonova My fault, that was the variable I was thinking of. It looks like the error you are getting is in relation to the v3 endpoint which our bindings don't look to support quite yet.
Here is the PR in the bindings showing the progress on getting it merged into the upstream gophercloud project.
https://github.com/gophercloud/gophercloud/pull/415

I basically can not find any recommendations for setting the permissions right for the plugin. Is there a documentation for that?
I see that the authentication failed on keystone, so it is pretty sure my issue.

We haven't had anyone run into this issue yet. My suggestion would be to try and recreate a couple of the steps that REX goes through but manually through the GUI.

Create volume
Attach volume to VM

@MatMaul Any idea here?

It is not related to gophercloud/gophercloud#415 , we are talking Keystone version here and v3 is supported by gophercloud since a while.
No idea why it would fail with the docker plugin only.
@clintkitson can you investigate this on master ? I can't test anything since libstorage merge.
https://github.com/codedellemc/libstorage/pull/594

@josefroselinfonova One thing you can do is use the docker-runc command to actually enter the container the was created for the REX-Ray plugin. From there you can interactively use the rexray command to troubleshoot further.
Interesting information about it not working from the plugin but working from the OS itself. Can you get a log from the plugin when you are using the exact same config options, ie. authurl?

The main difference between the plugin and running it directly is, that I have the config.yml on the one side and the env vars when I want to install the plugin.  When I try running the binary directly, it also fails, when I configure it the same way as the plugin:
/etc/rexray/config.yml
rexray:
  logLevel: debug
libstorage:
  logging:
    level: debug
  service: cinder
  integration:
    volume:
      operations:
        create:
          default:
            size: 5
cinder:
  authURL: ####
  userName: ####
  password: ####
  tenantName: ####
  domainName: #####

Docker plugin install
docker plugin install rexray/cinder:edge \
  CINDER_AUTHURL=#### \
  CINDER_USERNAME=#### \
  CINDER_PASSWORD=#### \
  CINDER_TENANTNAME=#### \
CINDER_DOMAINNAME=#### \
REXRAY_LOGLEVEL=debug

Rexray env:
REXRAY_LOGLEVEL=debug
REXRAY_LIBSTORAGE_LOGGING_LEVEL=debug
LIBSTORAGE_SERVICE=cinder
CINDER_USERNAME=####
CINDER_TENANTNAME=####
CINDER_DOMAINNAME=####
CINDER_AUTHURL=####
CINDER_PASSWORD=####

When I env vars, I get following error:
core@grzosrancheragent03 /etc/rexray $ sudo  rexray volume ls
ERRO[0000] error starting libStorage server              error.configKey=libstorage.server.services error.obj=<nil> time=1502963566650

I can not find any LIBSTORAGE_SERVER_SERVICES env (guessed from libstorage.server.services)
core@grzosrancheragent03 /etc/rexray $ rexray env | grep SERVICE
INFO[0000] updated log level                             logLevel=debug
DEBU[0000] os.args                                       time=1502963498361 val=[rexray env]
LIBSTORAGE_SERVICE=cinder
DEBU[0000] completed cli execution                       time=1502963498458
REXRAY_SERVICE=cinder
INFO[0000] exiting process                               time=1502963498458
REXRAY_LIBSTORAGE_SERVICE=cinder
DEBU[0000] completed onExit at end of program            time=1502963498458

Maybe when I can fix my problem using the env vars, I can also run the plugin installation.
To docker-runc, I do not really see a container running docker ps -a. I tried out of the blue, but failed:
core@grzosrancheragent03 /etc/rexray $ docker-runc ps rexray/cinder:edge
open /run/runc/rexray/cinder:edge/state.json: permission denied
core@grzosrancheragent03 /etc/rexray $ sudo !!
sudo docker-runc ps rexray/cinder:edge
container "rexray/cinder:edge" does not exist

You need to find the proper id of the container that is/was running RR under the docker-runc list of containers or in the /run/runc directory.
Make sure to clear out your env variables. LIBSTORAGE_SERVICE is the only env variable that should be specified relating to services.
For example LIBSTORAGE_SERVICE=ec2 rexray start -f. You would also expand it in the cinder case as follows..
LIBSTORAGE_SERVICE=cinder CINDER_USERNAME=xxx rexray volume ls

I just tried installing the plugin again today and it succeded. It works now with keystone v2, but not v3, which is ok for me.
This is the log file while trying to install the plugin with the v3 authurl:
v3-error.txt

@fbiaustria Anything different from your side that made it work this time?

I used the wrong auth url, or more specific the wrong port, typical layer 8 problem right here. Sorry for your time.

Hi, I have the same issue while trying to install plugin on Ubuntu 22.04
latest: Pulling from rexray/ebs
Digest: sha256:bbe1cfc5241d765c735e1d80fd790a0fc50e2e7064239255c4b61397a16c3355
713b84867e46: Complete
Error response from daemon: dial unix /run/docker/plugins/234346d5a594eac85a189c39d52320c25ea874251d9f8d2b78408de0780bb64c/rexray.sock: connect: no such file or directory


[KYUUBI #3469]Bump silencer-plugin from 1.7.6 to 1.7.9

Why are the changes needed?

Close https://github.com/apache/incubator-kyuubi/issues/3469, This pr aims to bump silencer-plugin from 1.7.6 to 1.7.9
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Codecov Report

Merging #3470 (158289d) into master (08f6f4e) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3470      +/-   ##
============================================
- Coverage     51.47%   51.43%   -0.05%
  Complexity       13       13
============================================
  Files           481      481
  Lines         26734    26734
  Branches       3750     3750
============================================
- Hits          13762    13750      -12
- Misses        11629    11638       +9
- Partials       1343     1346       +3

Impacted Files
Coverage Δ

.../kyuubi/server/mysql/constant/MySQLErrorCode.scala
13.84% <0.00%> (-6.16%)
:arrow_down:

...ache/kyuubi/server/mysql/MySQLCommandHandler.scala
76.13% <0.00%> (-3.41%)
:arrow_down:

...ache/kyuubi/server/mysql/MySQLGenericPackets.scala
76.59% <0.00%> (-2.13%)
:arrow_down:

...rg/apache/kyuubi/ctl/cmd/log/LogBatchCommand.scala
78.00% <0.00%> (-2.00%)
:arrow_down:

...ain/scala/org/apache/kyuubi/engine/EngineRef.scala
72.26% <0.00%> (-0.85%)
:arrow_down:

...n/scala/org/apache/kyuubi/engine/ProcBuilder.scala
82.60% <0.00%> (-0.63%)
:arrow_down:

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
97.44% <0.00%> (-0.08%)
:arrow_down:

...g/apache/kyuubi/operation/BatchJobSubmission.scala
74.64% <0.00%> (ø)

...pache/kyuubi/engine/YarnApplicationOperation.scala
66.66% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks, merging to master


[API] Use .once instead of manually handling parameter callbacks

Is this a request for a new feature or a bug report?
Enhancement
General Description:
Just a thought. Rather than manually executing callbacks, should be able to just assign them a .once and let EventEmitter handle it.
In .send there's already a binding for the internal message id, which both executes the callback and resolves the promise.
By binding two .onces, one for the callback and one for the Promise should be able to clean up a number of places where some unnecessary callback wrapping is done.
The only reason this api accepts callbacks as a parameter is to support some older implementations that used that syntax - not entirely opposed to just eliminating that and forcing the use of promises as the only means of interaction with the api. There's a reason this still doesn't have a 1.0.0 release.

Emitters were tidied up in https://github.com/haganbmj/obs-websocket-js/commit/1b916107f2a623394a3fbcd1ffd3c2f9afb62869
Closing this for now.


Add support for fetching Azure App Config values by filter

Describe the feature
Azure App Configurations supports getting a paginated list of configs if you pass in a key or label filter.  Support for this was added in the Go SDK back in September (https://github.com/Azure/azure-sdk-for-go/issues/15188#issuecomment-1712042399) It would be great to have this functionality included in Dapr as well.
Release Note

RELEASE NOTE:
Add support for getting Azure App Config values using filters instead of specific key or label values

More information needed.

Why is this helpful or necessary?
What would a complete request and a complete response look like for example?
Does this change existing behavior?

My first thoughts as a maintainer are this:
We should support such a feature if we can directly add support for all current and future configuration stores as a native feature of the building block.
I want to avoid a world where components cannot be swapped out because they rely on request metadata to control component specific behavior.
What we did here https://docs.dapr.io/reference/components-reference/supported-configuration-stores/azure-appconfig-configuration-store/#azure-app-configuration-request-metadata was not a great design choice because it is component specific through the unstructured / untyped request metadata.

* Why is this helpful or necessary?

It would allow fetching configuration keys using wildcard values.  Most useful when dealing with multi-tenant setups: https://learn.microsoft.com/en-us/azure/architecture/guide/multitenant/service/app-configuration#key-prefixes

What would a complete request and a complete response look like for example?

Say you have two tenants, Tenant1 and Tenant2, and you have two configurations stored for each of them, URLKey and DBKey.  Right now, you have to do two separate requests if you want to get all configurations for one tenant.  With this change, you can do one request instead:  http://localhost:3500/v1.0/configuration/azureappconfig?key=tenant1.* and get back { tenant1.URLKey: tenant1URLValue, tenant1.DBKey: tenant1DBValue }

Does this change existing behavior?

No, this would be a logic change based on the value of the key.
Regarding other maintainability concerns, this endpoint can currently return multiple configurations by passing in no keys (and returning all configurations) and this change would not add any other metadata.  Platforms that don't support these filters would simply fail to find the key specified.


Releases for Windows on Arm

The current Windows version -- Lapce-windows.msi -- fails to run on Windows on Arm (through x86_64/x86 emulation).
It would be nice to have a native binary release for Windows on Arm.

It's not supported

Rust does have support for aarch64-pc-windows-msvc ... so, assuming that the dependencies are working, you could theoretically build native aarch64 binaries for Windows? (see: https://doc.rust-lang.org/nightly/rustc/platform-support.html#tier-2-with-host-tools)
Keep in mind that you'll need Visual Studio components installed ... see: https://rust-lang.github.io/rustup/installation/windows-msvc.html#msvc-prerequistes
That said, I'm haven't even tried installing/running VS from Windows on ARM ... (I know you can use VS on Wintel to compile stuff for WinARM but ...)

As I said earlier it's not supported, you won't be able to compile it on aarch64 on Windows


Windows Experience Pack

Dev Home version
0.1201.442.0
Windows build number
10.0.22631.3374
Other software
OS Build Version: 10.0.22631.3374.amd64fre.ni_release.220506-1250
.NET Version: .NET 8.0.1
Steps to reproduce the bug
Dev Home does not work with WEP 521; desktop widgets not functioning.
Expected result
WEP 521 is the commercially available version of this system component. Dev Home should work with it!
Actual result
Dev Home widgets page complains that the wrong version of Windows Experience Pack is installed
Included System Information
CPU: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
Physical Memory: 15.85GB (7.59GB free)
Processor Architecture: x64
Included Extensions Information
Extensions:
Microsoft.Windows.DevHome_0.1201.442.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHome_0.1201.442.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHomeGitHubExtension_0.1200.442.0_x64__8wekyb3d8bbwe
Widget Service:
MicrosoftWindows.Client.WebExperience_521.20060.465.0_x64__cw5n1h2txyewy

Please check your Windows Insider settings -- whatever ring you're on is not providing the highest versions.

Duplicate of #2382


Revert #143

Reverting PR - https://github.com/thanos-io/objstore/pull/143

/retest

Docs check fails due to openstack docs


Plans for 62.x.x.x and Windows ?

Do you have any plans if 62.x.x.x  is realized to make new nice version for Windows x64?
The last one is made at 18 Dec 2016.

Right now I don't have plans, but I may reconsider after #248 is done. I wouldn't count on it, though.


Yarn Plug’n’Play

I was wondering if there was any plan to support Yarn Plug’n’Play at some point in the future?

There's definitely a plan to support pnp! I you want to help — I can outline the idea we had regarding that.


Add keyword arguments to frequentist models

This PR adds keyword arguments to the frequentist models. (To be able to use GLM keyword arguments.)

@ayushpatnaikgit @sourish-cmi
I haven't added documentation/tests for the kwargs.
For documentation, should I link to the corresponding GLM function or directly list out all the kwargs mentioned in the GLM docs?

@ayushpatnaikgit @sourish-cmi I haven't added documentation/tests for the kwargs. For documentation, should I link to the corresponding GLM function or directly list out all the kwargs mentioned in the GLM docs?

It is better to add documents/test in the PR. I think it is better to list out all the kwargs mentioned in the GLM doc. Also link it to the corresponding GLM function. Because later if a new kwargs added in GLM.jl, we have to add the list in CRRao as well. At least user will also have link to original GLM.jl

I've added a link to the corresponding functions and mentioned that we support the same keywords.
Do we need tests? There are quite a few keywords to test.

I've added a link in the docs to the corresponding functions and mentioned that we support the same keywords. The GLM documentation has descriptions for the keywords.
Do we need tests? There are quite a few keywords to test.

I think two things to check. (1) If the current tests are all passing. I believe it is all passing. (2) Second, if tests for keywords are passing. Just check for a few keywords like weights - at this moment. That is a requirement from the survey package.

I've added tests for keywords (wts for Linear, Logistic and Poisson, atol for NegativeBinomial).


⚠ GitLab Server has degraded performance

In 52d53e3, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 14156 ms

Resolved: GitLab Server performance has improved in d1c4f95.


[Question]  how do I force the code to end the request before the end of the routine is reached?

i was assuming that if i use $response.send() the request is closed and the response is sent to the client. however, the code will continue to run. The result is that the last $ response.send is displayed as a result on the client side. how do I force the code to end the request before the end of the routine is reached?
my work-around at this moment :
Import-Module -Name Polaris
$global:PolarisRestPort = 8183
$global:AppName = "Polaris-Test"

    $app = Start-Polaris -Port $global:PolarisRestPort -MinRunspaces 1  -MaxRunspaces  5   # all params are optional

    $functionMiddleWare = {
        $authkey = $Request.Headers['Authorization']
        if($authkey -eq $null)
        {
            $Response.SetStatusCode(401)
            $Response.Send("not authorized")
            [Polaris]::Send($Response)
            }}
    New-PolarisRouteMiddleware -Name MyParser -Polaris $app  -Scriptblock $functionMiddleWare
    $functionHello = { $Response.Send("hello")}
    New-PolarisRoute -method GET -Path '/hello' -Polaris $app  -Scriptblock $functionHello
    while($app.Listener.IsListening){Wait-Event callbackcomplete}

If you want to return early in a handler, couldn't you use a return after $Response.Send(?

seems not to work for me:
  $functionMiddleWare = {
        $authkey = $Request.Headers['Authorization']
        if($authkey -eq $null)
        {
            $Response.SetStatusCode(401)
            $Response.Send("not authorized")
            **return**
            }}

Hey @loomanss - The return statement would work from a standard route but from a middleware I believe you are going to need the changes I introduced in #192.
Not sure how long before we can get the code out to the gallery as a new version but you could always just download the module from this repo and try it out to make sure it works for you.
With the latest changes you can just do:
$functionMiddleWare = {
        $authkey = $Request.Headers['Authorization']
        if($authkey -eq $null)
        {
            $Response.SetStatusCode(401)
            $Response.Send("not authorized")
            }}

There's more details on custom authentication in the about_Authentication.md document

Yes - sorry for the delay. Drowning in releases I need to do at the moment 😅


Format keeps adding spaces

throw new Exception("Cannot open file        $this->file");
Between file and $this every  time is formatted adds a space.

resolved in v0.8.0


CRM457-2122: Improve autocomplete effectiveness

Description of change
Link to relevant ticket
This PR aims to improve the autocomplete in a number of ways:
Ignore spaces
Sometimes users put a space at the start or the end by mistake, as such leading and trailing spaces should be trimmed.
Ignore case
Case here is only useful to display grammatically correct strings to the user. A&E and a&e are identical so should be treated as such
Ignoring stop words
The way this is handled should probably change, the hardcoded list is somewhat inflexible but I also don't imagine the list will be changed much once it's committed.
Fuzzy matching
Candidates should also be matched regardless of word order and regardless of if all the words are present. The following cases are now considered

User types "Child Psychologist" and both that and "Psychiatrist (including child)" are returned
User types "Forensic Firearm" and both "Forensic scientist" and "firearm expert" are returned
User types "Consultant Forensic psychiatrist" and "Forensic psychiatrist" is returned

autoselect: true
This will prevent users from saving custom entries when they instead mean to just select the first entry when pressing Return.
Sorting by frequency
Matches will first attempt to sort by how often they occur if the autocomplete component has the data passed as data-values.
String distance
Matches will be sorted by how "distant" they are from the query using Levenshtein distance after attempting to sort by frequency. This won't always be correct, but close matches should be right near the top.
Ignore punctuation
Candidates that have ampersands and quotes should match even without the user putting them in

So first of all this is awesome. I had a quick play on the dev branch and it behaves really nicely.
BUT I think quite a lot of the problems we need to solve are server-side. E.g. the problem described in improvement 2 is about case-sensitivity, where someone has written 'accountant' and we've not associated that with the 'Accountant' service type.

The problem is the searches are case sensitive, the solution is they should not be case-sensitive. Coupled with autoselect: true it's now really hard to mistype a candidate this way. Will need a BA to clarify these requirements further though if there's uncertainty here.

Now, the auto-complete is already case sensitive - if you type 'accountant' you'll see 'Accountant' in the dropdown.
So the problem appears to be that providers aren't clicking on Accountant even though we know they see it. The solution therefore has to be some server-side intelligence so that if the service_type_autocomplete_suggestion matches a known value not-quite-exactly we still associate the quote with that known value. I think this means, in PriorAuthority::Steps::PrimaryQuoteForm#service_type_autocomplete_suggestion=(value), trimming whitespace, adding case-insensitivity, and ignoring stop words. We don't want to match too strongly in case a provider has deliberately put in something custom which we don't want to throw away, but the "this is clearly what we meant" cases are ones we can definitely fix.

I'm not convinced here, for all my testing these client-side changes are enough to mitigate against a lot of the list Mary shared with us (I didn't do all of them) barring the synonyms that I am reminded to ticket up still.
It's a lot harder to do the wrong thing, and for the average user that's probably enough.

Ah, apologies! In my playing around I hadn't noticed that, as you say:

Coupled with autoselect: true it's now really hard to mistype a candidate this way.

This completely solves the thing I was worried about. Marvellous.

I do note that the autoselect is quite strong. If any of the words in what you type matches any of the words in any of the autocomplete entries, you cannot add a custom entry. E.g. I cannot enter "Arborist's report" because it will always adjust it to the closest match of all the other "X report" entries, even though none of them are anything like Arborist. I can imagine someone who really does want to write something custom being pretty frustrated with this, especially if it silently selects a different service type without them noticing. But this may be more a UX decision.

I do note that the autoselect is quite strong. If any of the words in what you type matches any of the words in any of the autocomplete entries, you cannot add a custom entry. E.g. I cannot enter "Arborist's report" because it will always adjust it to the closest match of all the other "X report" entries, even though none of them are anything like Arborist. I can imagine someone who really does want to write something custom being pretty frustrated with this, especially if it silently selects a different service type without them noticing. But this may be more a UX decision.

It's a valid point, but unfortunately the requirements of the ticket do remove the ability for custom things like that to match.
The alternative is we remove autoselect: true and maybe add some hint text, but as you say this is a UX point. I'll raise it with Mary on the autoselect spike ticket.

Ah Mary has already raised this on said ticket and we're getting rid of the autoselect: true

Ah Mary has already raised this on said ticket and we're getting rid of the autoselect: true

Ah ok. Annoyingly that kinda revives my "let's do some stuff server-side to cover when a user types something that, case-insentively and whitespaced-removed, matches something in the dropdown, but they don't click on the dropdown" thing.

Uh apparently I edited your comment instead of adding one? THanks Github??
The client takes care of all of that still, the only thing not considered is the user not selecting anything but there's a few other options I can look at that still allow custom ones not in the list.
I have an idea that might allow autoselect: true and custom ones, but I'll need to look at it.


Error handling for EnvironmentError broken with Scons 3.0.x

Version of SCons
3.0.4

Version of Python
2.7 through 3.7

How to reproduce your issue?  Please include a small self contained reproducer. Likely a SConstruct should do for most issues.

Again, no SCEE, but the mistake is pretty obvious, in the source code, this is from as Nuitka commit, due to the fork, it's not very clean, but Errors.py is wrong here:

-    elif isinstance(status, (EnvironmentError, OSError, IOError)):
+    elif isinstance(status, (__builtins__["EnvironmentError"], OSError, IOError)):

The EnvironmentError defined in that module is not the one that is supposed to be handled there, which is why in error cases, instead of reporting the real issue, an AttributeError is raised.
It may be the case that some bug hiding has taken place after 3.0.1 where you started to use getattr, but these appear pretty pointless. Something looks wrong there though, as EnvironmentError as defined, just won't ever fit into these.

Ugh... it's pretty dodgy for SCons to also use the name EnvironmentError, that was bound to lead to confusion.

What is "SCEE"?

My typo version of Short, Self Contained, Correct, Example @bdbaddog
What I am saying is, that I don't have a test case, which I consider bad. But in this instance the flaw in the code is pretty obvious.

Fixed in PR #3354


Question about evaluating the fine-tuned model on test set

Hello, I was able to fine-tune the pre-trained model provided on the lipo dataset, and I obtained a model named last.ckpt at the end.
I wanted to evaluate the performance of this last checkpoint on my test set, so I was wondering how we could load this model (last.ckpt) and evaluate its performance on a test set.
Thank you for your help!

Hello, I was able to fine-tune the pre-trained model provided on the lipo dataset, and I obtained a model named last.ckpt at the end.
I wanted to evaluate the performance of this last checkpoint on my test set, so I was wondering how we could load this model (last.ckpt) and evaluate its performance on a test set.
Thank you for your help!

Have you solved the problem? I also meet the problem to evaluate it.


Change test_array_backends mixin classes to subclass QiskitDynamicsTestCase

Summary
Changes the classes utilized by test_array_backends to be subclasses of QiskitDynamicsTestCase. The arraylias module tests have also been updated (this is the only test folder that currently uses this).
Details and comments

A modification where Arraytest inherits QiskitDynamicsTestCase  caused a no-member error in the existing tests that inherits QiskitDynamicsTestCase since the method of QiskitDynamicsTestCase is not found in the tests.(e.g. self.assertAllClose()). At least, I believe we have to acknowledge this error.
It might be good to provide a means of Arraylais to make tests for some arrays work.


feature Discussion

新增功能，在插件视图区新增刷推特等功能。

[ ] x.com

[ ] github trending

[ ] hacker news

It's best to be able to drag the X views, either in the sidebar or in the bottom status bar.


No CMake in windows search path

Brief Issue Summary
The extension (ENOENT)  throws no exception when no CMake is found.
Expected:
I would expect that a notification opens. This informs me about the no existing or found Cmake binary and were I can get/download it.

This isn't a use case I've ever thought of, but it would indeed be helpful to provide a download link.

To be honest, I think that this shouldn't be needed. But it would be nice anyway.

I think this has been covered by #296.
Having the option to download CMake would be nice, especially if it were so friction-free that it could get the entire userbase off of CMake < 3.7.2


Remove platform from scratch build name

Signed-off-by: Luiz Carvalho<EMAIL_ADDRESS>

Not updating release notes: bugfix to unreleased feature.


img_0.png being overwritten

I am exporting several separate bodymovin animations to a folder. A couple of them have an images. Rather than write separate files, both use the image name "img_0.png" so only one image is created and then overwritten. In my animations, the same image appears instead of two images. Is there a way to control the image names or have new names generated when two animations are trying to write the same image name?
I could create separate folders for each animation .json, but I'd rather keep them all in one folder as there will be many.
Thank you!

can't you export them to two different folders?
that way they won't conflict.


FIX/UI - SC TextField

The story:
As a developer, I want the textField to use styled-components.

What we should do:
We should change the current TextField to styled-components.

To be successful we need to:
Check these off as they are completed:

[ ] TextField.tsx uses style-components

@lanphantastic could you please double check this is not what @YagoMackay is already working on in issue #201 ? Thanks!

@quimgv Oh. From what I see, @YagoMackay is modifying the text.css while I'm trying to modify TextField.tsx. I believe those two are different unless I misunderstood how the files are interacting with each other.

@lanphantastic  and @quimgv  Hi guys! Yes, I just modified text.css  not TextField.tsx so should be fine to go forward with it! Not really sure about their interaction though...


Master into beta

Description
Update beta with the latest fixes from master
Breaking Changes
None
JIRA Link
N/A
Checklist

[ ] Updated the Readme.md (if required) ?

:tada: This PR is included in version 23.0.0-alpha.22 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@patch dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add music and sounds

It would be nice to have sounds in the game, particularly when two puzzle parts get merged, and when a puzzle is finished.
A background ambient music would be nice too, or light crowd noises with lot of echo like in museums.
Here is where parts are merged : https://github.com/felixmariotto/art-salad/blob/0ec2d750de1c5ab31f84e701bb4abdd436db9dc0/src/puzzles/puzzleManager.js#L172-L191
A event should be fired here with the events module, and this event should be listened in a new audio module.

done


Vaultwarden 1.30.0

Description of changes
Passkeys!
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Looks like the update script needs an update as well. But even with the changes below the bw_web_builds fod hash remains empty.
diff --git a/pkgs/tools/security/vaultwarden/update.nix b/pkgs/tools/security/vaultwarden/update.nix
index c2c03413cc43..82aef630e919 100644
--- a/pkgs/tools/security/vaultwarden/update.nix
+++ b/pkgs/tools/security/vaultwarden/update.nix
@@ -8,18 +8,19 @@
 , gnugrep
 , gnused
 , jq
+, yq
 }:

 writeShellScript "update-vaultwarden" ''
-  PATH=${lib.makeBinPath [ curl git gnugrep gnused jq nix nix-prefetch-git nix-update ]}
+  PATH=${lib.makeBinPath [ curl git gnugrep gnused jq yq nix nix-prefetch-git nix-update ]}

   set -euxo pipefail

   VAULTWARDEN_VERSION=$(curl --silent https://api.github.com/repos/dani-garcia/vaultwarden/releases/latest | jq -r '.tag_name')
   nix-update "vaultwarden" --version "$VAULTWARDEN_VERSION"

-  URL="https://raw.githubusercontent.com/dani-garcia/vaultwarden/''${VAULTWARDEN_VERSION}/docker/Dockerfile.j2"
-  WEBVAULT_VERSION=$(curl --silent "$URL" | grep "set vault_version" | sed -E "s/.*\"v([^\"]+)\".*/\\1/")
+  URL="https://raw.githubusercontent.com/dani-garcia/vaultwarden/''${VAULTWARDEN_VERSION}/docker/DockerSettings.yaml"
+  WEBVAULT_VERSION=$(curl --silent "$URL" | yq -r ".vault_version")
   old_hash=$(nix --extra-experimental-features nix-command eval -f default.nix --raw vaultwarden.webvault.bw_web_builds.outputHash)
   new_hash=$(nix --extra-experimental-features nix-command hash to-sri --type sha256 $(nix-prefetch-git https://github.com/dani-garcia/bw_web_builds.git --rev "v$WEBVAULT_VERSION" | jq --raw-output ".sha256"))
   sed -e "s#$old_hash#$new_hash#" -i pkgs/tools/security/vaultwarden/webvault.nix

We should really add the required nginx location code in another PR.

You just need to proxy everything to the same backend now, not sure it warrants the extra setup (though I wouldn't be opposed to it)

Drafting until I figure out what's up with the tests.

I think selenium is broken
subtest: use the web interface to sign up, log in, and save a password
server: must succeed: PYTHONUNBUFFERED=1 test-runner | systemd-cat -t test-runner
server # Traceback (most recent call last):
server #   File "/nix/store/jdm5chqkmh3z0wbip7r165fas3bfg1y4-python3-3.11.5-env/lib/python3.11/site-packages/selenium/webdriver/common/driver_finder.py", line 38, in get_path
server #     path = SeleniumManager().driver_location(options) if path is None else path
server #            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
server #   File "/nix/store/jdm5chqkmh3z0wbip7r165fas3bfg1y4-python3-3.11.5-env/lib/python3.11/site-packages/selenium/webdriver/common/selenium_manager.py", line 78, in driver_location
server #     args = [str(self.get_binary()), "--browser", browser]
server #                 ^^^^^^^^^^^^^^^^^
server #   File "/nix/store/jdm5chqkmh3z0wbip7r165fas3bfg1y4-python3-3.11.5-env/lib/python3.11/site-packages/selenium/webdriver/common/selenium_manager.py", line 57, in get_binary
server #     if not path.is_file() and os.environ["CONDA_PREFIX"]:
server #                               ~~~~~~~~~~^^^^^^^^^^^^^^^^
server #   File "<frozen os>", line 679, in __getitem__
server # KeyError: 'CONDA_PREFIX'
server #
server # The above exception was the direct cause of the following exception:
server #
server # Traceback (most recent call last):
server #   File "/run/current-system/sw/bin/test-runner", line 11, in <module>
server #     driver = Firefox(options=options)
server #              ^^^^^^^^^^^^^^^^^^^^^^^^
server #   File "/nix/store/jdm5chqkmh3z0wbip7r165fas3bfg1y4-python3-3.11.5-env/lib/python3.11/site-packages/selenium/webdriver/firefox/webdriver.py", line 59, in __init__
server #     self.service.path = DriverFinder.get_path(self.service, options)
server #                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
server #   File "/nix/store/jdm5chqkmh3z0wbip7r165fas3bfg1y4-python3-3.11.5-env/lib/python3.11/site-packages/selenium/webdriver/common/driver_finder.py", line 41, in get_path
server #     raise NoSuchDriverException(msg) from err
server # selenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain driver for firefox using Selenium Manager.; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location
server #

Yeah, looks like it's fixed on staging-next, so I might just wait for that.

Fixed the permission error in the test, Selenium is broken and should be fixed on staging-next.

Verified the tests pass when rebased on staging-next, so going to just merge this.

Looks like we need `SystemConfiguration on darwin now.
https://hydra.nixos.org/build/240147348

https://github.com/NixOS/nixpkgs/pull/266243


Downloading NLTK dependencies before deploy

Context

I'm trying to deploy a Django application that makes use of NLTK. I want to include things like NLTK wordnet and stopwords but not sure how to go about this.
Since my app is already quite large I have slim_handler turned on, in case that matters.
Expected Behavior
Is there any way to extend the build step of zappa and have something like this in there:
nltk.download('wordnet')
nltk.download('stopwords')

Not sure where this would go and I guess I'd need to explicitely mention in which directory this would go so that it can be found?
Actual Behavior
I'm currently migrating this app from heroku where you can list all nltk dependencies in a file called nltk.txt and they're downloaded upon deployment.
Possible Fix
Some mechanism to add dependencies that can't be provided through pip/requirements.txt
Your Environment

Zappa version used: 0.51.0
Operating System and Python version: Ubuntu, 3.7

Where does nltk.download() puts the files in? If you do that before packaging and it's somewhere in the local project directory they should be packaged automatically.


error in scalar pmcmc test

I'm now getting this in the scalar pmcmc test in test-filtering (but don't think I was getting it in tests I ran yesterday but could be wrong).
Error is occurring in buildNimbleFxnInterface but is wrapped in a try so the code continues. Not sure if that means we are ok with it.  The invocation leading to the error seems to occur when buildCallable is called within compileNimbleFunction and more specifically in
debugging in: Rgenerator(R_NimbleFxn, dll, project = nimbleProject)
debug: {
wrappedInterfaceBuild <- newClass$new
wrappedInterfaceBuild(nfObject, defaults, dll = dll, project = project)
}
===== Starting MCMC test for scalar pmcmc. =====
defining model...
Detected y as data within 'constants'.
Adding y as data for building model.
building model...
setting data and initial values...
running calculate on model (any error reports that follow may simply reflect missing values in model variables) ...
checking model sizes and dimensions...
model building finished.
compiling... this may take a minute. Use nimbleOptions(showCompilerOutput = TRUE) to see C++ compiler details.
compilation finished.
done compiling model
Setting samplers to:
[[1]]
RW_PF sampler: sigma_x,  latents: x
[[2]]
RW_PF sampler: sigma_y,  latents: x
compiling... this may take a minute. Use nimbleOptions(showCompilerOutput = TRUE) to see C++ compiler details.
Error in get("name", envir = nfObject) : object 'name' not found
Error in get("name", envir = nfObject) : object 'name' not found
Error in get("name", envir = nfObject) : object 'name' not found
Error in get("name", envir = nfObject) : object 'name' not found

No that shouldn't happen.  I'll look at it.

I spoke too soon.  That is an expected occurrence and that is why it was wrapped in try().  I added silent = FALSE so the message will not be output.
But I have an error occurring before that test.  I have
===== Starting Filter test for multivariate ensembleKF using ensembleKF. =====
defining model...
Detected y as data within 'constants'.
Adding yCov,xCov,x0,obsMat,y as data for building model.
building model...
setting data and initial values...
running calculate on model (any error reports that follow may simply reflect missing values in model variables) ...
checking model sizes and dimensions... note that missing values (NAs) or non-finite values were found in model variables: x, yMean, prevX. This is not an error, but some or all variables may need to be initialized for certain algorithms to operate properly.
model building finished.
compiling... this may take a minute. Use nimbleOptions(showCompilerOutput = TRUE) to see C++ compiler details.
compilation finished.
done compiling model
Building filter
compiling... this may take a minute. Use nimbleOptions(showCompilerOutput = TRUE) to see C++ compiler details.
compilation finished.
Process R abort trap: 6 at Thu Oct  6 12:20:01 2016
Assertion failed: (rows() == other.rows() && cols() == other.cols()), function lazyAssign, file /Library/Frameworks/R.framework/Versions/3.2/Resources/library/nimble/include/Eigen/src/Core/Assign.h, line 498.
That eigen assertion would indicate incompatible objects are being used, like A = B + C if A is the wrong size for the result.  This is initially baffling. I will look into it.  Do you see this error?

No I didn't see that at any point.
On Oct 6, 2016 12:27 PM, "perrydv"<EMAIL_ADDRESS>wrote:

I spoke too soon. That is an expected occurrence and that is why it was
wrapped in try(). I added silent = FALSE so the message will not be output.
But I have an error occurring before that test. I have
===== Starting Filter test for multivariate ensembleKF using ensembleKF.
defining model...
Detected y as data within 'constants'.
Adding yCov,xCov,x0,obsMat,y as data for building model.
building model...
setting data and initial values...
running calculate on model (any error reports that follow may simply
reflect missing values in model variables) ...
checking model sizes and dimensions... note that missing values (NAs) or
non-finite values were found in model variables: x, yMean, prevX. This is
not an error, but some or all variables may need to be initialized for
certain algorithms to operate properly.
model building finished.
compiling... this may take a minute. Use nimbleOptions(showCompilerOutput
= TRUE) to see C++ compiler details.
compilation finished.
done compiling model
Building filter
compiling... this may take a minute. Use nimbleOptions(showCompilerOutput
= TRUE) to see C++ compiler details.
compilation finished.
Process R abort trap: 6 at Thu Oct 6 12:20:01 2016
Assertion failed: (rows() == other.rows() && cols() == other.cols()),
function lazyAssign, file /Library/Frameworks/R.framework/Versions/3.2/
Resources/library/nimble/include/Eigen/src/Core/Assign.h, line 498.
That eigen assertion would indicate incompatible objects are being used,
like A = B + C if A is the wrong size for the result. This is initially
baffling. I will look into it. Do you see this error?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nimble-dev/nimble/issues/235#issuecomment-252063894,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACYr3kn3fi5B2nx469HQCr8iJOMKgHG2ks5qxUuBgaJpZM4KQODK
.

I'm getting it on one machine but not another, both OS X.

I also am not getting the ensembleKF error on my Windows 10 machine.
On Thu, Oct 6, 2016 at 12:44 PM, perrydv<EMAIL_ADDRESS>wrote:

I'm getting it on one machine but not another, both OS X.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nimble-dev/nimble/issues/235#issuecomment-252068009,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABgfPVw42m2qNXKe11aHEhkpHE7uwL5-ks5qxU-XgaJpZM4KQODK
.

At this point I can say that the error appears to be real, but I have no idea why it is triggered on one system and not others.  Maybe something peculiar about an Eigen flag or configuration, although I don't think those should differ.  Or maybe somehow the assert violation is only noticed due to the memory arrangements on one machine and not another.  Anyway I think I see what is happening but may not be able to fix it today.

I am closing this because I think I have fixed it and the related issues that arose.  This turned out to be a real somewhat deep bug in size processing that did have potential to lead to wrong calculations under particular conditions, although in practice that may have only happened in one testing case.  I think this is ready for full testing (and please run on your own algorithms that may not be in our test suite).  It's not too hard to imagine unintended consequences from the changes involved.


Fixed typos in markdowns

Description
Fixed a few typos in Markdown files.
To-do list

[x] If my change impacts other components, I have tested to make sure they don't break.
[x] If my change impacts documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.

[x] This pull request is ready to merge.

Excellent, thank you!


Cannot select aarch64 slice in universal binary

When trying to load a universal (fat mach-o) binary, selecting the aarch64 slice does not actually affect which slice is loaded.
BN Version: 2.2.2557-dev
Repro steps:

Open libbinaryninjacore.1.dylib in binja
On the Open with Options menu, change to the arm64 slice
Press Open
Observe that binja loads the x86_64 slice

Expected beahvior: Binja loads the arm64 slice

Looks like binja always just loads the first slice of the binary, regardless of arch

Fixed in 2.2.2560-dev


Add CLBLAST native library to native libraries build

Build llama against CLBLAST (windows only for now)
Passing build: https://github.com/jasoncouture/LLamaSharp/actions/runs/7714965548/job/21028424704
Step 1 of #464
Step 2 will be to update the binaries, and add a new NuGet package spec.

Is this good to merge now? I can see you've got the Linux stuff in there but commented out, do you want to include that in this PR, or merge as is and leave it for the future?

@martindevans it should be good to go.
Sorry for the close and reopen, fat fingers on my phone.

Llamacpp doesn't build clblast on Linux, I'll figure that out eventually, but fo now windows only.

Thanks again!


Hash more than just SHA256

Some day SHA256 will be broken maybe, so let's go ahead and hash SHA384 and whatever else seems sensible.

@helio-frota if you're interested, you could add SHA384 here:
https://github.com/trustification/trustify/blob/main/modules/ingestor/src/service/hashing.rs

Hey @bobmcwhirter, could I give this issue a shot. I'm a bit new to group contribution, but I'll see what I can do.

Right on, thanks! Should be fairly straight-forward (famous last words). Just fork, branch, submit a PR and I'll be glad to review it.

Closed implemented by #182


add early check for span matching rule

Which problem is this PR solving?

Rules would continue to check every span every after a matching span was found.
Fixes #434

Short description of the changes

Checks if matching span has been found and stops checking if it has.

Turns out my idea was poorly thought through; we shouldn't do this.
Closes #434.


Lady adopted

@Catelyn Said Lady has been adopted.
@JoelStuemke @placement please review

Lady was my foster.  She is definitely adopted. -donag

Thank you Dona!
Thank you,
Zach Whaley
On Sun, Jan 11, 2015 at 9:05 PM, donag<EMAIL_ADDRESS>wrote:

Lady was my foster. She is definitely adopted. -donag
—
Reply to this email directly or view it on GitHub
https://github.com/gpa-centex/gpa-centex.github.io/pull/116#issuecomment-69525856
.


Implement -minMax option of bigWigAverageOverBed.

Implement -minMax option of bigWigAverageOverBed in bigwigaverageoverbed- (as eg: -minmax)
$ bigWigAverageOverBed
bigWigAverageOverBed v2 - Compute average score of big wig over each bed, which may have introns.
usage:
   bigWigAverageOverBed in.bw in.bed out.tab
The output columns are:
   name - name field from bed, which should be unique
   size - size of bed (sum of exon sizes
   covered - # bases within exons covered by bigWig
   sum - sum of values over all bases covered
   mean0 - average over bases with non-covered bases counting as zeroes
   mean - average over just covered bases
Options:
   -stats=stats.ra - Output a collection of overall statistics to stat.ra file
   -bedOut=out.bed - Make output bed that is echo of input bed but with mean column appended
   -sampleAroundCenter=N - Take sample at region N bases wide centered around bed item, rather
                     than the usual sample in the bed item.
   -minMax - include two additional columns containing the min and max observed in the area.

Seems like a minor change but would be a major improvement for us since we use max and count often. Any plans to implement this @jackh726 ?

Yes, I can try to get to this over the weekend! Should be a small and easy change.

@jackh726 I almost have a pull request ready for bigwigaverageoverbed and pybigtools:
In [21]: ?pybig.bigWigAverageOverBed
Signature: pybig.bigWigAverageOverBed(bigwig, bed, names=None, stats=None)
Docstring:
Gets the average values from a bigWig over the entries of a bed file.

Parameters:
    bigWig (str): The path to the bigWig.
    bed (str): The path to the bed.
    names (None, bool, or int):
        If `None`, then each return value will be a single `float` or `int`,
            the calculated statistics value over an interval in the bed file.
        If `True`, then each return value will be a tuple of the value of column 4 and the
            calculated statistics value over the interval with that name in the bed file.
        If `False`, then each return value will be a tuple of the interval in the format
            `{chrom}:{start}-{end}` and the calculated statistics value over that interval.
        If `0`, then each return value will match as if `False` was passed.
        If a `1+`, then each return value will be a tuple of the value of column of this
            parameter (1-based) and the calculated statistics value over the interval.
    stats (None, str): Calculate specific statistics for each bed entry:
        - `size`: Size of bed entry (`int`)
        - `bases`: Bases covered by bigWig (`int`)
        - `sum`: Sum of values over all bases covered (`float`)
        - `mean0`: Average over bases with non-covered bases counting as zeroes (`float`)
        - `mean` or `None`: Average over just covered bases (`float`)
        - `min`: Minimum over all bases covered (`float`)
        - `max`: Maximum over all bases covered (`float`)
        - `all`: `size`, `bases`, `sum`, `mean0`, `mean`, `min` and `max`

Returns:
    This returns a generator of values. (Therefore, to save to a list, do `list(bigWigAverageOverBed(...))`)
    If no name is specified (see the `names` parameter above), then returns a generator of `float`s or `int`s
    depending on the chosen statistics to calculate.
    If a name column is specified (see above), then returns a generator of tuples `({name}, {stats})`
Type:      builtin_function_or_method

In [7]: bwaob = pybig.bigWigAverageOverBed(bigwig="Astro.bw", bed="consensus_peaks_bicnn.bed", names=True, stats="all")

In [8]: for i, entry in enumerate(bwaob):
   ...:     if i == 10:
   ...:         break
   ...:     print(entry)
   ...:
('chr1:3094805-3095305', 500, 500, 31.629608038812876, 0.06325921607762575, 0.06325921607762575, 0.044780001044273376, 0.08956000208854675)
('chr1:3095470-3095970', 500, 347, 7.746940311975777, 0.015493880623951555, 0.022325476403388406, 0.0, 0.044780001044273376)
('chr1:3112174-3112674', 500, 197, 3.239086809568107, 0.006478173619136214, 0.01644206502318836, 0.0, 0.0298533346503973)
('chr1:3113534-3114034', 500, 168, 2.5076801106333733, 0.005015360221266746, 0.01492666732519865, 0.0, 0.01492666732519865)
('chr1:3119746-3120246', 500, 500, 18.73296721186489, 0.03746593442372978, 0.03746593442372978, 0.01492666732519865, 0.044780001044273376)
('chr1:3120272-3120772', 500, 500, 23.28560095373541, 0.04657120190747082, 0.04657120190747082, 0.01492666732519865, 0.07463333755731583)
('chr1:3121251-3121751', 500, 348, 13.463853831402957, 0.026927707662805916, 0.038689235147709646, 0.0, 0.07463333755731583)
('chr1:3134586-3135086', 500, 385, 8.045473688282073, 0.016090947376564146, 0.02089733425527811, 0.0, 0.0298533346503973)
('chr1:3165708-3166208', 500, 294, 4.388440193608403, 0.008776880387216806, 0.01492666732519865, 0.0, 0.01492666732519865)
('chr1:3166923-3167423', 500, 99, 1.4777400651946664, 0.002955480130389333, 0.01492666732519865, 0.0, 0.01492666732519865)

In [9]: bwaob = pybig.bigWigAverageOverBed(bigwig="Astro.bw", bed="consensus_peaks_bicnn.bed", names=False, stats="all")

In [10]: for i, entry in enumerate(bwaob):
    ...:     if i == 10:
    ...:         break
    ...:     print(entry)
    ...:
('chr1\t3094805\t3095305\tchr1:3094805-3095305', 500, 500, 31.629608038812876, 0.06325921607762575, 0.06325921607762575, 0.044780001044273376, 0.08956000208854675)
('chr1\t3095470\t3095970\tchr1:3095470-3095970', 500, 347, 7.746940311975777, 0.015493880623951555, 0.022325476403388406, 0.0, 0.044780001044273376)
('chr1\t3112174\t3112674\tchr1:3112174-3112674', 500, 197, 3.239086809568107, 0.006478173619136214, 0.01644206502318836, 0.0, 0.0298533346503973)
('chr1\t3113534\t3114034\tchr1:3113534-3114034', 500, 168, 2.5076801106333733, 0.005015360221266746, 0.01492666732519865, 0.0, 0.01492666732519865)
('chr1\t3119746\t3120246\tchr1:3119746-3120246', 500, 500, 18.73296721186489, 0.03746593442372978, 0.03746593442372978, 0.01492666732519865, 0.044780001044273376)
('chr1\t3120272\t3120772\tchr1:3120272-3120772', 500, 500, 23.28560095373541, 0.04657120190747082, 0.04657120190747082, 0.01492666732519865, 0.07463333755731583)
('chr1\t3121251\t3121751\tchr1:3121251-3121751', 500, 348, 13.463853831402957, 0.026927707662805916, 0.038689235147709646, 0.0, 0.07463333755731583)
('chr1\t3134586\t3135086\tchr1:3134586-3135086', 500, 385, 8.045473688282073, 0.016090947376564146, 0.02089733425527811, 0.0, 0.0298533346503973)
('chr1\t3165708\t3166208\tchr1:3165708-3166208', 500, 294, 4.388440193608403, 0.008776880387216806, 0.01492666732519865, 0.0, 0.01492666732519865)
('chr1\t3166923\t3167423\tchr1:3166923-3167423', 500, 99, 1.4777400651946664, 0.002955480130389333, 0.01492666732519865, 0.0, 0.01492666732519865)

In [11]: bwaob = pybig.bigWigAverageOverBed(bigwig="Astro.bw", bed="consensus_peaks_bicnn.bed", names=None, stats="all")

In [12]: for i, entry in enumerate(bwaob):
    ...:     if i == 10:
    ...:         break
    ...:     print(entry)
    ...:
(500, 500, 31.629608038812876, 0.06325921607762575, 0.06325921607762575, 0.044780001044273376, 0.08956000208854675)
(500, 347, 7.746940311975777, 0.015493880623951555, 0.022325476403388406, 0.0, 0.044780001044273376)
(500, 197, 3.239086809568107, 0.006478173619136214, 0.01644206502318836, 0.0, 0.0298533346503973)
(500, 168, 2.5076801106333733, 0.005015360221266746, 0.01492666732519865, 0.0, 0.01492666732519865)
(500, 500, 18.73296721186489, 0.03746593442372978, 0.03746593442372978, 0.01492666732519865, 0.044780001044273376)
(500, 500, 23.28560095373541, 0.04657120190747082, 0.04657120190747082, 0.01492666732519865, 0.07463333755731583)
(500, 348, 13.463853831402957, 0.026927707662805916, 0.038689235147709646, 0.0, 0.07463333755731583)
(500, 385, 8.045473688282073, 0.016090947376564146, 0.02089733425527811, 0.0, 0.0298533346503973)
(500, 294, 4.388440193608403, 0.008776880387216806, 0.01492666732519865, 0.0, 0.01492666732519865)
(500, 99, 1.4777400651946664, 0.002955480130389333, 0.01492666732519865, 0.0, 0.01492666732519865)

In [13]: bwaob = pybig.bigWigAverageOverBed(bigwig="Astro.bw", bed="consensus_peaks_bicnn.bed", names=None, stats="max")

In [14]: for i, entry in enumerate(bwaob):
    ...:     if i == 10:
    ...:         break
    ...:     print(entry)
    ...:
0.08956000208854675
0.044780001044273376
0.0298533346503973
0.01492666732519865
0.044780001044273376
0.07463333755731583
0.07463333755731583
0.0298533346503973
0.01492666732519865
0.01492666732519865

In [15]: bwaob = pybig.bigWigAverageOverBed(bigwig="Astro.bw", bed="consensus_peaks_bicnn.bed", names=None, stats="mean0")

In [16]: for i, entry in enumerate(bwaob):
    ...:     if i == 10:
    ...:         break
    ...:     print(entry)
    ...:
0.06325921607762575
0.015493880623951555
0.006478173619136214
0.005015360221266746
0.03746593442372978
0.04657120190747082
0.026927707662805916
0.016090947376564146
0.008776880387216806
0.002955480130389333

In [17]: bwaob = pybig.bigWigAverageOverBed(bigwig="Astro.bw", bed="consensus_peaks_bicnn.bed", names=None, stats="mean")

In [18]: for i, entry in enumerate(bwaob):
    ...:     if i == 10:
    ...:         break
    ...:     print(entry)
    ...:
0.06325921607762575
0.022325476403388406
0.01644206502318836
0.01492666732519865
0.03746593442372978
0.04657120190747082
0.038689235147709646
0.02089733425527811
0.01492666732519865
0.01492666732519865

In [19]: bwaob = pybig.bigWigAverageOverBed(bigwig="Astro.bw", bed="consensus_peaks_bicnn.bed", names=None, stats=None)

In [20]: for i, entry in enumerate(bwaob):
    ...:     if i == 10:
    ...:         break
    ...:     print(entry)
    ...:
0.06325921607762575
0.022325476403388406
0.01644206502318836
0.01492666732519865
0.03746593442372978
0.04657120190747082
0.038689235147709646
0.02089733425527811
0.01492666732519865


HeroController._getMostValuableKeys throws an exception

Steps to Reproduce
Launched the app on my Android phone then picked up and logged into the phone more or less at the same time as the app was launching. I've only seen this exception once.
Flutter Doctor
[✓] Flutter (on Mac OS, channel master)
    • Flutter at /Users/danrubel/home/git/flutter/flutter
    • Framework revision a9b965cb9b (3 days ago), engine revision d85ead8ec2

[✓] Android toolchain - develop for Android devices (Android SDK 22.0.1)
    • Android SDK at /Users/danrubel/Library/Android/sdk
    • Platform android-22, build-tools 22.0.1
    • Java(TM) SE Runtime Environment (build 1.8.0_72-b15)

[✓] iOS toolchain - develop for iOS devices (Xcode 7.2.1)
    • XCode at /Applications/Xcode.app/Contents/Developer
    • Xcode 7.2.1, Build version 7C1002
    x ideviceinstaller not available; this is used to discover connected iOS devices.
      Install via 'brew install ideviceinstaller'.
    x ios-deploy not available; this is used to deploy to connected iOS devices.
      Install via 'brew install ios-deploy'.

[✓] Atom - a lightweight development environment for Flutter
    • Atom installed; Flutter plugin version 0.2.2

Logs and Crash Reports
Installing app.apk to Nexus 5X...
Running lib/main.dart on Nexus 5X...
Observatory listening on http://<IP_ADDRESS>:16223
Diagnostic server listening on http://<IP_ADDRESS>:8101
Showing Nexus 5X logs:
--------- beginning of main
I/flutter : Diagnostic server listening on http://<IP_ADDRESS>:47736
--------- beginning of system
I/flutter : ══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter : The following assertion was thrown during a scheduler callback:
I/flutter : 'package:flutter/src/widgets/heroes.dart': Failed assertion: line 481: '_from != null' is not true.
I/flutter : Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter : more information in this error message to help you determine and fix the underlying cause.
I/flutter : In either case, please report this assertion by filing a bug on GitHub:
I/flutter :   https://github.com/flutter/flutter/issues/new
I/flutter : When the exception was thrown, this was the stack:
I/flutter : #0      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:27)
I/flutter : #1      HeroController._getMostValuableKeys (package:flutter/src/widgets/heroes.dart:481)
I/flutter : #2      HeroController._updateQuest (package:flutter/src/widgets/heroes.dart:492)
I/flutter : #3      BindingBase&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:393)
I/flutter : #4      BindingBase&SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:362)
I/flutter : #5      _beginFrame (file:///b/build/slave/Linux_Engine/build/src/out/android_Release/gen/sky/bindings/hooks.dart:48)
I/flutter : ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1 item1 processlib/connection.dart5:1
LFUTF-8Dartmaster

@Hixie

The most valuable keys feature has been removed: #5500


Have logos generate into examples folder, and be renamed as to not over write each other

Generate to directory route

replacer function


Update tekton pipeline and tasks to account for api basepath

Signed-off-by: hollisc<EMAIL_ADDRESS>Update java-grade-pipeline and corresponding tasks to account for optional API basepath.

No need for api-basepath, use health-endpoint with what ever path you want to use from pipeline parameter

@csantanapr, made the changes as discussed and tested to verify pipeline is working as expected.  Ready for review


:tada: release: v9.0.0

:tada: This PR is included in version 9.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Verify Leaflet 1.0 support

Plugin support

[ ] leaflet-routing
[WIP] Support Leaflet 1.0 #43
[ ] Leaflet.Elevation - bower dep. leaflet-dist: 0.7.x
[x] Leaflet.draw - since v0.4.0, update to v0.4.9
[x] Leaflet Control Geocoder - Leaflet 1.0.0 badge, v1.5.4 would remove bower ~0.7.2 dep., but #155
[x] leaflet-plugins - "Tested with: Leaflet 1.0.x", update to v3.0.0
[x] Leaflet.EasyButton - "version 2.x.x and up expect Leaflet 1.x."
[ ] Leaflet.RestoreView - no info
[x] Leaflet.Locate - "Tested with Leaflet 1.0", update to v0.60.0
[ ] leaflet-sidebar - "developed to work with Leaflet 0.6.4 and should work fine with v0.7 too"

breaking changes

[ ] L.Browser.touch

My (possibly incomplete) selection of probably breaking changes from the list of API changes, see Changelog 1.0-beta1 and later.
1.0-rc1 (April 18, 2016)
API changes

[ ] Consistent GeoJSON casing (by yohanboniface) #4108
[ ] Move L.LatLng.equals to L.CRS.equals. (by perliedman) #4074

1.0-beta1 (July 14, 2015)
Vectors API improvements

[ ] Added SVG & Canvas classes that now contain all renderer-specific code for vector layers and can be added as layers to the map.
[ ] All vector layer classes (Path, Polyline, etc.) now don't contain any renderer-specific code and instead can be passed a renderer layer to use as renderer in options;
[ ] Removed MultiPolyline and MultiPolygon classes since multiple rings are now handled by Polyline and Polygon classes respectively. Layers with multiple rings now perform much better (since each is now physically a single path object instead of being a FeatureGroup of layers).
[ ] Changed Circle to inherit from CircleMarker and not the other way.
[ ] Removed Polyline and Polygon spliceLatLngs method (just use setLatLngs instead).
[ ] Changed Polygon getLatLngs to always return an array of rings (nested array) (by yohanboniface). #2618 #3386 Leaflet/Leaflet#3279 #2648
[ ] Removed L_PREFER_CANVAS global switch and added Map preferCanvas option instead (by yohanboniface). #3623

Layers API improvements

[ ] Removed Map tilelayersload event.
[ ] Removed Popup open and close events in favor of add and remove for consistency.
[ ] Moved all layer-related logic in Map.js to Layer.js.
[ ] Renamed clickable option to interactive (by AndriiHeonia). #2838 #2499

TileLayer API improvements

[ ] Removed TileLayer.Canvas in favor of the much more flexible and powerful GridLayer.
[ ] Removed url property in tileload and tileloadstart events (get it through tile.src).

Other breaking API changes

[ ] Changed DomUtil off to require context attribute if you remove a listener that was previously added with a particular context.
[ ] Removed DomUtil.getViewportOffset method as it is no longer necessary.
[ ] Removed DomUtil getTranslateString and getScaleString methods.
[ ] Removed DomUtil documentIsLtr method.
[ ] Removed LatLng RAD_TO_DEG, DEG_TO_RAD and MAX_MARGIN constants.
[ ] Renamed Util.limitExecByInterval to Util.throttle.


Generate record structs

@homu r+

:pushpin: Commit 036bff0 has been approved by gkoz

:hourglass: Testing commit 036bff0 with merge 6ac516d...

@homu retry

:hourglass: Testing commit 036bff0 with merge b934659...

:sunny: Test successful - status


Bottom border on hover is not visible on connection icons (New connection etc.)

Azure Data Studio Version:

Steps to Reproduce:

Hover over 'New connection' icon
notice that bottom border is not visible
We've noticed it on Source Control icon as well, it might be across all icons.

I'm not able to notice a missing border on the New Connection icon (screenshot below).  Please provide a screenshot if there is a particular UI element being rendered incorrectly.  Thanks!


Add Mycelium Network to All Examples (go, python, yaml)

Related Issue

For the manual, we want to make sure Pulumi is well documented with Mycelium (see here: https://github.com/threefoldtech/info_grid/issues/617)

Todo

Add Mycelium to all examples

e.g. Virtual machine has it in yaml, but not Kubernetes: https://github.com/threefoldtech/pulumi-threefold/blob/development/examples/yaml/kubernetes/Pulumi.yaml

This means we need to add Mycelium for yaml, go and python examples

@xmonader I am tagging you here as it's related to the info_grid issue you created. Thanks.

Hi! Can we close this issue? It seems merged. Thanks.


<EMAIL_ADDRESS>hash check failed

Updating 'bun-canary' (1.1.31-canary.9+ff476313a -> 1.1.31-canary.19+ba9db6cdb)
Downloading new version
bun-windows-x64.zip (35.1 MB) [==============================================] 100%
Checking hash of bun-windows-x64.zip ... ERROR Hash check failed!
App:         anderlli0053_DEV-tools/bun-canary
URL:         https://github.com/oven-sh/bun/releases/download/canary/bun-windows-x64.zip
First bytes: 50 4B 03 04 14 00 00 00
Expected:    842c4a042047fc267defc0dfe1030d0db1d91f253aa72b5b744cde338e64f472
Actual:      9a87b29d5adde69b268873ace233a44a6d47f833f83780289956e9e7d4c3a4e4

It should now work as expected, run scoop update and then try to reinstall

Installing 'bun-canary' (1.1.31-canary.32+183a8f61d) [64bit] from 'anderlli0053_DEV-tools' bucket
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 691983|OK  |   8.3MiB/s|C:/Users/ander/scoop/cache/bun-canary#1.1.31-canary.32+183a8f61d#40211c6.zip
Download: Status Legend:
Download: (OK):download completed.
Checking hash of bun-windows-x64.zip ... ok.
Extracting bun-windows-x64.zip ... done.
Linking ~\scoop\apps\bun-canary\current => ~\scoop\apps\bun-canary\1.1.31-canary.32+183a8f61d
Creating shim for 'bun'.
Creating shim for 'bunx'.
'bun-canary' (1.1.31-canary.32+183a8f61d) was installed successfully!


feat(go): bump go version

Checklist:

[ ] Have you added an explanation of what your changes do and why you'd like them to be included?
[ ] Have you updated or added documentation for the change, as applicable?
[ ] Have you tested your changes on all related environments with successful results, as applicable?

Type of Changes:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

What is the current behavior? (link to any open issues here)
What is the new behavior (if this is a feature change)?
Other information:

/retest

/retest

/test pr

/test pr


Change UI and add Download Button in QR Generator extension

Hey @ridsuteri 👋,
I am contributor at GSSoC'22.
I want to change the UI of QR Generator from:

To This:

Also I will add a Download button So users can download the Generated QR.
Please AssIgn it to me.

looks cool @SainathPoojary, go-ahead

Hi @ridsuteri 👋, I have raised a Pull request, Please review it.


termintation -> termination

Signed-off-by: Graham Christensen<EMAIL_ADDRESS>

git grep for termintation_time, this will also need to be corrected in the docs.
Note: this is a breaking change.


Add the first entry to the blog

Done for the new site https://kaizendorks.github.io/2020/04/11/new-website/


Remove deprecated --no-suggest

It is deprecated in Composer v2.

You are using the deprecated option "--no-suggest". It has no effect and will break in Composer 3.

Removed as part of #70.


Disable arch_native by default

It is common to compile on machines that don't have a GPU installed e.g. RBE build nodes. Also setting default compilation to use the native arch is not as reproducible because it is dependent upon the hardware of the build node that the compiler is invoked on.
Turn off the arch_native feature by default to make the default configuration more reproducible.

Thank. It is also problematic for clang toolchain, since it does not support any equivalent to -arch=native


Bluetooth support on x86 MacOS

Now it should be supported, currently Released a build from a mac Intel device.
next step finding a generic build to work across all mac


Add frame scaling support

There are three types of scaling:

noop
nearest neighbour
old implementation (nearest neighbour without interpolation (:)

👍 Looks really good


transporter: CRITICAL: elasticsearch error (Bulk Insertion Error. Failed item count [x])

I'm trying to transport 15000 documents from MongDB to Elasticsearch and i'm getting Bulk insertion error. I can't really figure out what the issue is.

es-bulk-insertion-err-gist

closing this in favor of https://github.com/compose/transporter/issues/209


UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'message' of undefined

Operating system  windows , react-native version 0.39.2
I run into this error while running the application.  I created the application but I made no changes.

react-native run-android

JS server already running.
Running C:\Users\tigin\AppData\Local\Android\sdk/platform-tools/adb -s fce7e07a reverse tcp:8081 tcp:8081
Building and installing the app on the device (cd android && gradlew.bat installDebug)...
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring project ':app'.

failed to find Build Tools revision 23.0.1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Total time: 22.563 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
(node:6556) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'message' of undefined

"failed to find Build Tools revision 23.0.1" seems like it might be the key problem there. Do you have revision 23.0.1?

Thanks. It worked after the update.
@lacker

Android\sdk\tools > android list sdk -a
Show lists of sdk
Find tools line and type the following entry in the line number.
12 - Android SDK Platform-tools, revision 23.0.1
and update
Android\sdk\tools  >android update sdk -a -u -t 12

I am facing same issue when generating signed apk,
react-native run-android --variant=release

Following is the error message
BUILD FAILED

Total time: 2 mins 15.42 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

(node:13173) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'message' of undefined

without --variant=release it works fine

@ashutosh-akss , I am facing the same issue. Could you please help me to fix this.

@mohit-pandey are you getting this only when generating signed apk? Or even while generating debug apk ? Its still not fixed for me. Waiting for fix. For now I am compiling it on mac

@ashutosh-akss , yeah , i am getting it while generating signed apk.
Is there any other way with which i can run the app on my android device?

@mohit-pandey If you have android studio installed, just try importing android folder into android studio and generate signed apk from android studio. It works for me. You might get warning to upgrade gradle  you can ignore that

I have the same issue. Using APK platform tools version 23 revision 3.
Also, even without --variant=release still doesn't solve the issue

for singned apk. I just use android studio instead. Makes life easier.

I have the same problem. I have an app in 2 pcs. I coded it in one and uploaded it to git and downloaded in the 2. The first pc can run it with no issues. The second one throws:
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:processDebugResources'.

at index 4

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Total time: 6.027 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
(node:3536) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'message' of undefined
Can anyone help me? I'm just starting with react-native. I use windows 10

To find the actual error message, build directly with gradle and enable debug logging with --debug.
debug build -
cd android && ./gradlew assembleDebug --debug

release build -
cd android && ./gradlew assembleRelease --debug

I recommend that you first make sure to remove ./android/app/build so that there's no remnants of a broken build that could influence the result. Also check that the broken build didn't leave anything in your android src tree. Mine had left behind a bunch of files in ./android/app/src/main/assets and ./android/app/src/main/res. I didn't notice these so I wasted time chasing the wrong problem.
In my case I had been switching my environment between java7 and java8 for a different project. When I came back to my entirely unmodified react-native project and tried to run the build with react-native run-android --configuration Release, it failed with the unhelpful error:
(node:3536) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'message' of undefined

I then tried to build directly with ./gradlew assembleRelease --debug which came out with problems about duplicate resources (exactly the error messages reported by others in #5787 - for me this was because of the files left behind in my src tree, which I hadn't expected to be modified during the build and so didn't notice).
After cleaning ./android/app/build and the source tree then building again directly with gradle, the actual problem was reported:
12:14:13.098 [ERROR] [org.gradle.BuildExceptionReporter] > compileSdkVersion 'android-25' requires JDK 1.8 or later to compile.

Switched back to java8 and voila, successful build.

I'm using a meizu m3s  android version is 5.1 (Flyme <IP_ADDRESS>G).
for many project when i do this:
react-native run-android  it fails as in this issue.
but I solved  using:
cd android && ./gradlew assembleDebug --debug (build successful)
then
adb install ./app/build/outputs/apk/app-debug.apk

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with Canny! Check out its new home: https://react-native.canny.io/feature-requests/p/unhandledpromiserejectionwarning-unhandled-promise-rejection-rejection-id-2-type


mocha fails to exit

since I'm in way over my head trying to debug this, I thought I'd mention to you the issue that mocha fails to exit when the test is complete. This is a known, intentional behaviour in Mocha 4. However it creates issues when running on (e.g.) TravisCI. If you have encountered this and have a solution that you can implement in this example app. I'd love to see it.

I've just been attempting to implement testing for Vue in my Rails app and came across this app, and also read your issue. After struggling with the same issue you've mentioned, I found that replacing Karma with MochaWebpack makes everything easier, (mostly) prettier, and faster.
$ yarn add mocha-webpack --dev
Then in package.json:
"scripts": {
  "test": "NODE_ENV=test mocha-webpack --webpack-config config/webpack/test.js --require test/javascript/setup.js test/javascript/**/*_test.js"
}

The --require test/javascript/setup.js part provides a nice test helper file for global settings and whatnot. The last argument is where to find the tests.
Then get rid of the karma.conf.js file and run $yarn remove karma. I also had to use an absolute path to find the component I wanted to test (import ComponentName from "../../app/path-to-component/component-name" instead of just import ComponentName from "component-name").
When I run yarn test with that setup, it runs quickly, there's nothing that fails to exit, and the test output is much more readable.

Hi @lazylester,
As configured, yarn test starts Karma as a forever-server because it runs the following command under the hood:
NODE_ENV=test yarn karma start

To run Karma once, simply append --single-run:
yarn test --single-run

This appends the flag to the command being run:
NODE_ENV=test yarn karma start --single-run

In my projects, I typically rewrite test into two commands to be less ambiguous:

test: run once
test-server: run forever

Here's an example of similar commands in a different project of mine. Hope this helps.


cmd/go: running get on a custom repo no longer works when upgrading to go 1.8.3

I ran the following with custom urls.
go get -u -d customurl.com/lib/platform/genlog
get -u -d customurl.com/ext/daemon-example
This worked with go 1.7.4 and fails with go 1.8.3.
With go 1.8.3, the first command works, but the second command fails with the following error.
Error: Get Failed: package customurl.com/lib/platform/genlog: customurl.com/lib/platform/genlog is a custom import path for https://mysvnrepo.com/PIM/golang/customurl.com/lib/platform/genlog/trunk, but /gopath/src/customurl.com/lib/platform/genlog is checked out from https://mysvnrepo.com/PIM
The package is actually downloaded though.
When doing a svn info https://mysvnrepo.com/PIM/golang/customurl.com/lib/platform/genlog/trunk
I get the following.
Path: trunk
URL: https://mysvnrepo.com/PIM/golang/customurl.com/lib/platform/genlog/trunk
Repository Root: https://mysvnrepo.com/PIM
Repository UUID: 71ba88c3-99bc-4787-b7e4-f6bc34d7c3e8
Revision: 34403
Node Kind: directory
Last Changed Author: username
Last Changed Rev: 33154
Last Changed Date: 2017-01-27 09:05:49 -0600 (Fri, 27 Jan 2017)

I am guessing that the commit https://github.com/golang/go/commit/17ad60b8a4b92ee36f5b14c609ad1d0b5805b886 broke it.
/cc @rsc

We're currently frozen and wrapping up Go 1.9. If this was broken through the whole Go 1.8 cycle, it can probably wait until Go 1.10.
/cc @rsc though in case he has time to investigate.

I'm thinking line https://github.com/golang/go/blob/1363eeba6589fca217e155c829b2a7c00bc32a92/src/cmd/go/get.go#L405 should be changed from
if remote != repo && rr.isCustom {

to
if ! strings.HasPrefix(repo, remote) && rr.isCustom {

/cc @rsc

What does curl https://customurl.com/lib/platform/genlog show as far as meta tags?

I am going to assume you mean curl https://customurl.com/lib/platform/genlog?go-get=1.
<html>
<head>
<meta name="go-import" content="customurl.com/lib/platform/genlog svn https://mysvnrepo.com/PIM/golang/customurl.com/lib/platform/genlog/trunk">
</head>
<body>
go get customurl.com/lib/platform/genlog
</body>
</html>

@rsc Is there anything else you need from me? It would be really awesome if a fix didn't have to wait till go 1.10.

The relevant parts of the go command docs read:

The meta tag has the form:
<meta name="go-import" content="import-prefix vcs repo-root">

The import-prefix is the import path corresponding to the repository root. It must be a prefix or an exact match of the package being fetched with "go get". If it's not an exact match, another http request is made at the prefix to verify the <meta> tags match.
The vcs is one of "git", "hg", "svn", etc.
The repo-root is the root of the version control system containing a scheme and not containing a .vcs qualifier.
For example,
import "example.org/pkg/foo"

will result in the following requests:
https://example.org/pkg/foo?go-get=1 (preferred)
http://example.org/pkg/foo?go-get=1  (fallback, only with -insecure)

If that page contains the meta tag
<meta name="go-import" content="example.org git https://code.org/r/p/exproj">

the go tool will verify that https://example.org/?go-get=1 contains the same meta tag and then git clone https://code.org/r/p/exproj into GOPATH/src/example.org.

The problem here is that the <meta> tag being served does not name a Subversion repository root. Subversion is different from Git and Mercurial (and like CVS) in that you can check out a subtree, and it appears that that's what is being directed here. This is not really supported, at least according to the docs.
Whether we should support it, since it mostly works, is a different question. It looks like perhaps we should change the go/src/cmd/go/internal/get/vcs.go from looking for "\nRepository Root: " to look instead for "\nURL: ".
@joegrasse, can you try that and see if it fixes your use case?
I'm a bit reluctant to make a change at this point in the Go 1.9 cycle, but maybe it's OK if we can establish that (1) all recent subversions do print URL lines, and (2) if you do check out the repository root instead of a subdirectory, the URL and Repository Root lines say the same thing.

@rsc Making changes to vcs.go worked. Here is what i did.
$ git clone https://go.googlesource.com/go
$ cd go
$ git checkout go1.8.3
$ patch src/cmd/go/vcs.go ../issue-20731.patch
$ cd src
$ GOROOT_BOOTSTRAP=/usr/local/go ./all.bash

(1) I have svn version 1.7.21 and 1.8.14 and they both print out the URL.
(2) On my test of checking out the repo root, the URL and Repository Root lines said the same thing.
Contents of issue-20731.patch
--- vcs.go.old  2017-06-21 14:06:15.166391000 -0500
+++ vcs.go.new  2017-06-21 14:22:56.566029000 -0500
@@ -299,14 +299,14 @@

        // Expect:
        // ...
-       // Repository Root: <URL>
+       // URL: <URL>
        // ...

-       i := strings.Index(out, "\nRepository Root: ")
+       i := strings.Index(out, "\nURL: ")
        if i < 0 {
                return "", fmt.Errorf("unable to parse output of svn info")
        }
-       out = out[i+len("\nRepository Root: "):]
+       out = out[i+len("\nURL: "):]
        i = strings.Index(out, "\n")
        if i < 0 {
                return "", fmt.Errorf("unable to parse output of svn info")

@rsc I see that a patch has been committed. Will this end up making go 1.9?

Yes (unless a problem is discovered with it and it's rolled back).

Ok, thanks.


optional schema fields not working in Node 18 due to File is not defined error

Describe the bug and the expected behavior
Using the parse function from @conform-to/zod produces a ReferenceError: File is not defined error when passed a zod schema with an optional field and run using Node 18.
However, everything works fine:

when using Node 18 but without having the field be optional
when the code is run in the browser, including the optional field
when using Node 20 (because Node 20 implements the File class), including the optional field

Expected behavior:
The following code should run in NodeJS 18 without any errors
import { parse } from '@conform-to/zod';
import { z } from 'zod';

parse(new FormData(), { schema: z.string().optional() });

Actual Behavior:
Running the code above in NodeJS 18 breaks with the error ReferenceError: File is not defined, and references the following line of code:
https://github.com/edmundhung/conform/blob/main/packages/conform-zod/coercion.ts#L58
Conform version
0.8.0
Steps to Reproduce the Bug or Issue
Put the following code in a repro.mjs file and then run node ./repro.js using Node 18.
import { parse } from '@conform-to/zod';
import { z } from 'zod';

parse(new FormData(), { schema: z.string().optional() });

What browsers are you seeing the problem on?
No response
Screenshots or Videos
No response
Additional context
No response

Thanks for reporting the issue @jessethomson. This should be fixed on v0.8.1.


Is it possible with select and range from materialize ?

Hi,
Do you think it's possible to use eui-aggregation with select and range from materialize ?
Thanks !

@devads With select it could work. "range"could be interesting for numeric ranges. A date-picker would be cool too for date-range aggregations and filters. I'll have a look asap...

@svola Great, thanks a lot !

Did you find a way to do this ?
Thanks

Sorry not yet. It's on my To-Do list though...

+1

I would like to do this as well, can someone point me in the right direction?


multi different filters for same column

Your yadcf supports 2 or more filters for same column?
Maybe auto_complete + auto_complete or auto_complete + multiple_select

Duplicate of https://github.com/vedmack/yadcf/issues/165


Improving DataModelOracle: inspecting generic types on class fields.

@pefernan Just a couple of missing licenses; and code formatting looks wrong.. but changes themselves looks fine. Could you please add the licenses and check your code formatter (the code in this PR is formatted differently to, for example, your commits on LiveSpark).

@manstis curious, I'm using the same profile it should take the same formatting template.

+1 to merge. Thanks @pefernan

So I tried to remove the seemingly redundant calls and learned the hard way that they are not redundant at all. Thanks for very good code coverage! The piece of code I was looking at is just a little bit cryptic.


Unknown enum GatewayResponse

So just now i received following error: Error: data did not match any variant of enum GatewayResponse
The issue most likely was that there was not enough eth in wallet to pay for fees. I say most likely because when I added some eth to the wallet then the error showed no more. So maybe it is worth adding enum for such response.

Too little information.


fix(date-picker): set role, aria-label attributes on calendar container

Ref: https://github.com/carbon-design-system/carbon/blob/6b57099f46a734c7642b77093ff937e23f79be40/packages/react/src/components/DatePicker/DatePicker.js#L385-L390

Fixed in [v0.70.1(https://github.com/carbon-design-system/carbon-components-svelte/releases/tag/v0.70.1)


Fix #678 Detect Circular References

This adds logging capability to track potential circular references that exist between services in DS.

NOTE
I have made this PR not because it is necessarily at a stage where we are confident that this is the correct approach, more just because I figured it would be helpful for people wanting to make comments on the design who don't want to do so in the RFA.


Syntax highlighting issues in .NET 5

Release Type: Official Release
Version: <IP_ADDRESS>1
Platform(s): N/A
Describe the bug
The syntax highlighting and intellisense of RoslynPad is broken again (see #786, #894, #1012).
Additional context
The RoslynPad services are dependent on System.Reactive. Initially there was an issue with that dependency missing (included in .NET Framework by default and not .NET Core). Later the issue was regarding the netcoreapp3.1 version being resolved into a non-standard way and that was fixed by upgrading to version 5.0 (or at least I was sure I finally fixed it). But now it seems to broken yet again (possibly with changes introduced around the new VS 16.9).

I checked this recently and it seems to be all good.

it still doesn't work