[10.x] Do not remove null query parameters

This is resend of #42795 to master
As outlined in issue #42794 , Arr:query() removes parameters set to null as a side effect of using http_build_query internally.
For example:
$query = ['foo' => 1, 'bar' => 'hello world', 'nullable' => null, 'empty' => ''];

Removes the nullable => null parameter, while keeping empty => '', which might be confusing.
One particular scenario where this issue can occur is with GET routes which expect query parameters to get back to a filtered state.
With the current implementation, if this particular route expects a parameter just to be present, for example as a boolean parameter, the UrlGenerator would remove these null parameters when, for example generating redirects, or links in a mailable, among other scenarios.
This parameters could come from a view with a link "share report by email", as ConvertEmptyStringsToNull middleware convert all empty strings to null, the request would generate unexpected links in the sent mail.
This PR:

Converts all nulls to empty strings before calling http_build_query in Arr@query()
Fixes test cases, and test helpers to account for nullable query parameters.

Edit: fixed wording, previously it said it would convert empty strings to nulls, but it is actually the other way around,

I don't plan to break this behavior.

@taylorotwell would you consider a different method?
Otherwise I can tell #42794 OP to use a macro instead

Hej all, just want to point to a more advanced example https://github.com/laravel/framework/issues/42794#issuecomment-1156454217


Mat-dialog-actions not at the bottom

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Actions to be at the bottom of the dialog
What is the current behavior?
Actions right after content
What are the steps to reproduce?
StackBlitz starter: https://stackblitz.com/edit/angular-cuikyx
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
<EMAIL_ADDRESS><EMAIL_ADDRESS>any browser and any OS

There is an issue since 2017 and nothing has been done. first mention was in #4609

Works for me in Edge, Firefox and Chrome

Works? I do not wee the actions at the bottom....

Dup #4609

@vinagreti Sorry, misunderstood at the bottom


Doesn't show model used, only has, its used to show the name, now doesn't find it

thats is

It never shows for me now the model name

Did you set the model root path in Settings?

http://sprunge.us/qs6LdB

Can you attach the picture here if it's OK?  Is it only certain images that this happens?

Not sure what picture do you mean, like full app screenshoot?
I noticed it doesn't print the correct information on any picture/model.

I was checking again, more carefully, I'm not sure if something happened, but I think that maybe I figure it out, hashes of new images seem to be different. I took some screenshots, but 90% of what I do is NSFW. I noticed that one of the newer models that is not showing up now is actually showing up in an older image but with different hash. So something happened, but I don't know if its on A1111 side or what. Maybe it was updated ?
If you want to take a look: https://imgur.com/a/lh55oHG but its all NSFW

If you've updated A1111 recently, the hash are now different.  I haven't had the time to update A1111, so I haven't gotten around to looking at what's changed.
I'll update this issue to reflect the actual problem.

AUTOMATIC1111 has switched to computing the full SHA-256 hash of the file that is calculated once when the model is first loaded. It is then cached to a cache.json file.
I have currently implemented this so that if you point Toolkit to the cache.json file, it will use the precomputed hashes. However, if you have not yet previously loaded the model in A1111's webui, the cached hash will not be there yet.
I found that hashing a 4GB/7GB in C# can be quite slow. Not minutes slow, but certainly slower than A1111, as it manages to use a 1MB buffer, whereas C#'s built-in hash only has a 4KB buffer. So A1111 is fast enough that it doesn't seem any different when switching models, plus it only does it when you select a model.
I don't know how this will affect non-A1111 users if those tools update their hash method as well.
Note that nothing has changed from the image metadata point of view. The hash seems to be a bit longer (10 characters instead of 8), but the same field is used.  DiffusionToolkit will still use the old hash method as a fallback.
You can still search using either hash.
It's just the display information that;s affected.

I'm able to compute the hash now in comparable time, just needed to call some methods manually and use a large buffer. I am also able to write out the hashes in the same format used by AUTOMATIC1111 cache.json, however it seems that A1111 keeps a copy of the hashes in memory so if you try to update the cache outside the webui while it is running, A1111 doesn't know about it.

This is now available in v0.9

You have to set the path to A1111's cache.json in Settings > Checkpoints
If you select a new model in A1111 who's SHA256 hash has not been calculated yet, A1111 will generate the new hash, but Toolkit needs to be refreshed to see the new hash. Click Edit > Reload Models to update the hash.
Click on another image to update the hash in the preview pane


Stop service! again and agian.

Hi,
From the past 2 years, I warmed you that software service stops automatically all the times.
now it's here! it's back from ver 0.5.5.
why you don't like to fix this problem?
it's simple, just check the activity of the service at fixed intervals, and then reactivate that if disabled!
of easier! you can find the bug[s] that caused this problem, and fix them. you know, this can't fix by itself! it can? so you must try to fix it.
you spent your time on it and I know it. I respect that; but don't let these funny problems and bugs turn your app into garbage!
thanks a lot!

so far there also person that didnt get the issue, i personaly didnt get dnscrypt-service stopped by itself
probably once, when there is push-update, so its like waiting for user-respond
when there are people with issue and there that didnt, it not easy to detect what causing the issue
it not as simple as creating restart-script
check dnscrypt log and see what it said in there when the service stop running
additionally u can also look at windows-event-viewer see if you can get any additional hint
also try excluding dnscrypt in your AntiVirus/anti-malware/internet security software
it possible those causing the issue, internet security software usually have their system to check secure connection or not, that can conflicting with dnscrypt

Many times dnscrypt client proxy got terminated on its own after recent update.  I found a workaround which is pretty simple but effective.
go to services, right click on DNSCrypt client, go to properties> recovery. then make restart the service for first failure,second failure & subsequent failures, apply it.

Hope, it helps.

after recent update the dnscrypt proxy service is getting stopped every now & then. I've found a very easy workaround for it
go to services, then right click on DNSCrypt client proxy, then go to propeties>recovery>

apply it. Hope, it helps.

The 53 port is already occupied causes service stop on my computer. Maybe you can have a check if there's any process using this port.

I'm having the same issue and found a (so far) workaround.
See my thread here at https://github.com/bitbeans/SimpleDnsCrypt/issues/356
But I'm a NON-tech, and so I hope the underlying issue is identified and then solved by the tech-wizards here.


add nimlsp and supporting modules to vendor

Integration of nimlsp in my editor (Emacs) has been quite the revelation. It's not perfect: crashes every once in awhile, but not often!
The hover-hints, M-. to find a definition, ability to jump to the definition in the sources in vendor/ (including sources in vendor/nimbus-build-system/vendor/Nim), and M-, to jump back — wow, huge productivity and learning boost! (for me anyway)
I figured out how to get nimlsp working in the context of a nimbus-build-system project, cf. the changes in this PR. The make nimlsp target is entirely optional and shouldn't get in the way of anyone who doesn't have a use for it.
One thing to note: if choosenim is installed, in order for the finding/jumping to use the correct locations (i.e. in nim-dagger's vendor/), you'll probably have to disable choosenim while working in the project:
$ mv ~/.choosenim ~/.choosenim.disabled
$ mv ~/.nimble ~/.nimble.disabled

I start my editor like this:
$ cd repos/nim-dagger
$ make nimlsp  # if not already made
$ ./env.sh emacsclient -t -a ''

(in both screenshots below I pressed M-. to display the full definition)

Any thoughts or objections re: adding nimlsp and supporting modules to nim-dagger's vendor?

I'm curious why lsp needs to live in the project to make this work..
"goto function" and similar functionality already works out of the box with the vscode plugin and it seems to me that people that want to use other editors should be able to keep their supporting binaries outside the project and just load the right nim environment via env.sh.
A downside of keeping it in the project is that it becomes difficult to analyze dependencies for security audits and cruft removal - third-party risk is a thing in most of what we do.

I'm curious why lsp needs to live in the project to make this work..

I was having trouble getting it to work correctly if it wasn't inside vendor, e.g. if the nimlsp executable (symlink to it) was in ~/.nimble/bin: definitions were failing to resolve or resolving to the wrong Nim sources.

"goto function" and similar functionality already works out of the box with the vscode plugin and it seems to me that people that want to use other editors should be able to keep their supporting binaries outside the project and just load the right nim environment via env.sh.

I'll give an alternative approach another shot... I'll try building the nimlsp binary so that it's located at e.g. ~/repos/nimlsp/nimlsp. And then I can invoke the env.sh shim like this:
$ cd repos/nim-dagger
$ PATH="${HOME}/repos/nimlsp:${PATH}" ./env.sh emacsclient -t -a ''

A downside of keeping it in the project is that it becomes difficult to analyze dependencies for security audits and cruft removal - third-party risk is a thing in most of what we do.

nimlsp and its two dependencies (jsonschema and ast-pattern-matching) in vendor should be inert relative to the code compiled into dagger artifacts, since dagger doesn't import them, but it's still a fair point.

I can explain what has happened.
nimlsp is essentially statically linking a particular version of the Nim compiler by directly importing the source files of Nim (you can think of it as an alternative build of compiler with some minor modifications). This means that a particular build of nimlsp will carry a specific version of the Nim compiler and it will use the standard library that is discovered in a relative location to the nimlsp binary.
If that's still not clear, this short code snippet may be worth more than the explanation above:
https://github.com/PMunch/nimlsp/blob/master/src/nimlsppkg/suggestlib.nim#L3-L11
So, when you built nimlsp within the nimbus-build-system env, you ensured that you are linking exactly our version of Nim into and that the resulting binary is in the right directory to find the standard library that we use.

It's unfortunate... I agree with @arnetheduck that this will complicate security analysis and clutter the view in general, on the other hand it's a shame we can't use the tools that make use the most productive...
I'm not sure if there is an alternative way of setting nimlsp up so that it doesn't go into our vendor modules but still builds and links against them?

I found a way that works 100%, without having to check nimlsp and its deps into vendor:
(below its assumed that the plain vanilla env.sh shim is in the root of nim-dagger; I can open a PR just for that)
$ cd repos && \
  git clone https://github.com/PMunch/nimlsp.git nimlsp-dagger && \
  cd nimlsp-dagger

$ ~/repos/nim-dagger/env.sh \
  ~/repos/nim-dagger/vendor/nimbus-build-system/vendor/Nim/bin/nimble \
  --accept --depsOnly --nimbleDir:"${PWD}/.nimble" install

$ ~/repos/nim-dagger/env.sh \
  nim c -d:danger -d:nimcore -d:nimsuggest --opt:speed \
  --path:"${PWD}/$(ls -d .nimble/pkgs/ast_pattern_matching-*)" \
  --path:"${PWD}/$(ls -d .nimble/pkgs/jsonschema-*)" \
  --threads:on -o:nimlsp src/nimlsp

Editor invocation:
$ cd repos/nim-dagger
$ PATH="${HOME}/repos/nimlsp-dagger:${PATH}" ./env.sh emacsclient -t -a ''

Upsides

(obviously) Doesn't involve checking nimlsp, jsonschema, and ast-pattern-matching into vendor.
Don't have to disable ~/.choosenim and ~/.nimble. The ~/repos/nimlsp-dagger/nimlsp executable doesn't get confused: all definitions are properly resolved within dagger's vendor.

Downsides

Need to setup a nimlsp-[project] per nimbus-build-system project, but it's not a big deal (steps above are now worked out and easily repeatable).
A bit more ceremony re: starting one's editor, but with the help of shell aliases it's not a big deal.

Personally I think it's nicer to have nimlsp checked into vendor, but I'm happy to live with this alternative solution (works great) and I definitely appreciate the concerns re: security analysis.

Closing in favor of #34. Can use the approach I described in https://github.com/status-im/nim-dagger/pull/33#issuecomment-996076749 for nimlsp integration.

Could it be simplified by letting Nimble use its default package dir (and making it a Make target, since you'll re-run it for every new Nim version)?
build-nimlsp:
        ./env.sh vendor/nimbus-build-system/vendor/Nim/bin/nimble \
                --accept install nimlsp@#head

Might need to run nimble uninstall nimlsp || true first, to force a reinstall.
Such a target could join "ctags" in nimbus-build-system: https://github.com/status-im/nimbus-build-system/blob/25a4c270330026442e09f6cddfb7a944da7cfa4b/makefiles/targets.mk#L174


[Future Development] Can we help in any way?

Note: This extension has grown beyond its initial requirements and needs a rewrite for better language support..
Do you already have an idea what needs to be done? Maybe it's something we can already start contributing to.

This extension rocks!

Sure 👍  Although a rewrite might be better of as a new extension.
Because my language support is so hacky, I was thinking about using a third party library, such as PrismJS. Another extension is already using this library, and can be used as reference: https://github.com/rafamel/subtle-brackets


Is this project alive? Does it support Spark 2.3.x/2.4.x?

No, we graduated this into the SNAP product 3 years back.
Our company Sparklinedata was bought by Oracle: https://www.oracle.com/corporate/acquisitions/sparklinedata/
SNAP is available on Spark 2.3 and 2.4

Thanks for @hbutani 's replies. Understand.


Tool won't run on case if missing core-default.xml or yarn-default.xml

The files mentioned in the title are optional in Hadoop, but the tool fails, if they are missing.

Issue solved in https://github.com/hortonworks/gohadoop/pull/14/commits/35a37836516840f9635e41938336c6e5635b7d28


loans - active loans values overflow in vault card #2847

/kind feature
Which issue(s) does this PR fixes?:
Fixes #2847

FYI @thedoublejay


LMS signature verification code

This is not ready for review. It will be used as a POC before doing a design.
It is a heads up that I am looking at implementing LMS signature verification.
Things to do

data validation checks
Currently just uses one shot API, the message may be able to be streamed via an update() also..
lots of plumbing to work with EVP_signature  and EVP_PKEY
Figure out API  LMS vs HSS
Optimizations - threads for partial results?

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

patrially addresses https://github.com/openssl/openssl/issues/21360

I had a look at the latest changes, and just wanted to say that I like how it's shaping up!

Ta. Still quite a few tests to write and documentation to fix up..

(NOTE to self - dont forget to set RAND_CTX callback to NULL in tests when using fake-rand). EC Key generation for example goes into a infinite loop, waiting for a generated rand to no be zero. (i.e. OPENSSL_TEST_RAND_ORDER=0 sometimes caused the hss_key_eq_test() test to run after the hss_pkey_sign_test()).

(i.e. OPENSSL_TEST_RAND_ORDER=0 sometimes caused the hss_key_eq_test() test to run after the hss_pkey_sign_test()).

The random ordering mandates that tests are idempotent with respect to ordering.  This sometimes means coding a dependency.  It might require adding something like this to the start of hss_pkey_sign_test();
if (!hss_key_eq_test_has_run)
    hss_key_eq_test();

not required for this case. I was just missing the cleanup required for a testcase.


MINOR: Add toString to PartitionReassignment

This patch adds a toString() implementation to PartitionReassignment. It also makes the ListPartitionReassignmentsResult constructor use default access, which is the standard for the admin client *Result classes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

cc @omkreddy I am going to merge this to 2.4.

+1, thanks for the PR


Extract the attribute value of type

Like
interface props {
title:string;
type:'small' |'middle' |'default'
}
How can I get the value of type in the props interface?

Something like:
interface props {
title:string;
type:'small' |'middle' |'default'
}

type allTypes = props["type"];

Playground.

It looks like this is a question rather than a bug report. This issue tracker is for tracking bugs and active work on TypeScript itself, rather than a general forum for programmers using TypeScript to get help or ask questions.
You can ask questions on sites like Stack Overflow. We are not able to provide one-on-one support on the issue tracker. Please read the issue template carefully - it has important information on what kinds of reports can be acted on here, as well as links to useful TypeScript resources. Thanks!


Add livequery support

LIVEQUERY_SUPPORT=1
LIVEQUERY_CLASSES="Test, TestAgain"
https://github.com/ParsePlatform/parse-server/wiki/Parse-LiveQuery

Good job, thanks.


[BugFix] Fix insert overwrite concurrent with dropping partition bug

What type of PR is this：

[X] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #11857
Problem Summary(Required) ：

Fix insert overwrite concurrent with dropping partition bug. The drop partition edit log during insert overwrite gc is written within the same lock with drop partition operation, which will lead to the failure of restart of FE.
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

run starrocks_fe_unittest

[FE PR Coverage Check]
:disappointed: fail : 9 / 21 (42.86%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/load/InsertOverwriteJobRunner.java
9
21
42.86%
[130, 150, 154, 185, 266, 267, 268, 269, 272, 273, 312, 324]

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test

@Mergifyio backport branch-2.4


changes for Miniprovisioner failing for new key

Problem:
Miniprovisioner jenkins job failing for cvg_count & storage_set_id parameter, so adding cvg_count parameter in the template file.
http://eos-jenkins.colo.seagate.com/job/Cortx-PR-Build/job/Mini-Provisioning/job/CentOS-7.9.2009/job/Hare/5/console
Snippet of error :
`23:29:18  fatal: [srvnode-1]: FAILED! => changed=true
23:29:18    cmd: /opt/seagate/cortx/hare/bin/hare_setup config --config 'json:///opt/seagate/cortx/hare/conf/hare.config.conf.tmpl.1-node' --file '/var/lib/hare/cluster.yaml'
23:29:18    delta: '0:00:00.791333'
23:29:18    end: '2021-07-27 11:59:18.685174'
23:29:18    msg: non-zero return code
23:29:18    rc: 255
23:29:18    start: '2021-07-27 11:59:17.893841'
23:29:18    stderr: 2021-07-27 11:59:18,578 [ERROR] Error performing configuration (Required key 'server_node>8efd697708a8f7e428d3fd520c180795>storage>cvg_count' not found)
23:29:18    stderr_lines: <omitted>
23:29:18    stdout: ''
23:29:18    stdout_lines: <omitted>`

`11:32:44  fatal: [srvnode-1]: FAILED! => changed=true
11:32:44    cmd: /opt/seagate/cortx/hare/bin/hare_setup config --config 'json:///opt/seagate/cortx/hare/conf/hare.config.conf.tmpl.1-node' --file '/var/lib/hare/cluster.yaml'
11:32:44    delta: '0:00:00.819430'
11:32:44    end: '2021-07-29 00:02:44.410383'
11:32:44    msg: non-zero return code
11:32:44    rc: 255
11:32:44    start: '2021-07-29 00:02:43.590953'
11:32:44    stderr: 2021-07-29 00:02:44,288 [ERROR] Error performing configuration (Required key 'server_node>8efd697708a8f7e428d3fd520c180795>storage_set_id' not found)
11:32:44    stderr_lines: <omitted>
11:32:44    stdout: ''
11:32:44    stdout_lines: <omitted>`

Solution:
Added cvg_count and storage_set_id keys with TMPL values in the template file
Testing:
In later job this issue got resolved and hare_setup init worked well
`17:42:34  TASK [hare : [mini_provisioning] : Hare Init] **********************************
17:43:26  changed: [srvnode-1] => changed=true
17:43:26    cmd: /opt/seagate/cortx/hare/bin/hare_setup init --config 'json:///opt/seagate/cortx/hare/conf/hare.init.conf.tmpl.1-node' --file '/var/lib/hare/cluster.yaml'
17:43:26    delta: '0:00:51.280300'
17:43:26    end: '2021-07-29 06:13:26.442779'
17:43:26    rc: 0
17:43:26    start: '2021-07-29 06:12:35.162479'
17:43:26    stderr: |-
17:43:26      Cluster is not running
17:43:26      2021-07-29 06:13:09,882 [INFO] Waiting for all the processes to start..
17:43:26      2021-07-29 06:13:11,891 [INFO] Waiting for all the processes to start..
17:43:26      Stopping s3server@0x7200000000000001:0x17 at ssc-vm-rhev4-0733.colo.seagate.com...
17:43:26      Stopped s3server@0x7200000000000001:0x17 at ssc-vm-rhev4-0733.colo.seagate.com
17:43:26      Stopping m0d@0x7200000000000001:0x9 (ios) at ssc-vm-rhev4-0733.colo.seagate.com...
17:43:26      Stopped m0d@0x7200000000000001:0x9 (ios) at ssc-vm-rhev4-0733.colo.seagate.com
17:43:26      Stopping m0d@0x7200000000000001:0x14 (confd) at ssc-vm-rhev4-0733.colo.seagate.com...
17:43:26      Stopped m0d@0x7200000000000001:0x14 (confd) at ssc-vm-rhev4-0733.colo.seagate.com
17:43:26      Stopping hare-hax at ssc-vm-rhev4-0733.colo.seagate.com...
17:43:26      Stopped hare-hax at ssc-vm-rhev4-0733.colo.seagate.com
17:43:26      Making sure that RC leader can be re-elected next time
17:43:26      Cluster is not running
17:43:26    stderr_lines: <omitted>
17:43:26    stdout: |-
17:43:26      2021-07-29 06:12:36: Generating cluster configuration... OK
17:43:26      2021-07-29 06:12:37: Starting Consul server on this node......... OK
17:43:26      2021-07-29 06:12:44: Importing configuration into the KV store... OK
17:43:26      2021-07-29 06:12:44: Starting Consul on other nodes...Consul ready on all nodes
17:43:26      2021-07-29 06:12:44: Updating Consul configuraton from the KV store... OK
17:43:26      2021-07-29 06:12:46: Waiting for the RC Leader to get elected........ OK
17:43:26      2021-07-29 06:12:51: Starting Motr (phase1, mkfs)... OK
17:43:26      2021-07-29 06:12:59: Starting Motr (phase1, m0d)... OK
17:43:26      2021-07-29 06:13:00: Starting Motr (phase2, mkfs)... OK
17:43:26      2021-07-29 06:13:06: Starting Motr (phase2, m0d)... OK
17:43:26      2021-07-29 06:13:08: Starting S3 servers (phase3)... OK
17:43:26      2021-07-29 06:13:09: Checking health of services... OK
17:43:26    stdout_lines: <omitted>`

Signed-off-by: pavankrishnat<EMAIL_ADDRESS>

@mssawant @suvratjoshi @knekrasov - This PR is raised for PR #1723 for which I have some github related issue. Please review.

Hi @pavankrishnat ,
1.
Commit message has so many details.
It can be written in this way :
Problem:
. . . . . . .

2. If we have a JIRA ticket number then please write it in the commit message as well as PR title.
Something like this :
EOS-XYZ : Hare Miniprovisioner failing for a missing key
Hi @vaibhavparatwar, We need to close https://github.com/Seagate/cortx-hare/pull/1723, fi this is correct one.
Thank you!

Hi @pavankrishnat ,
1.
Commit message has so many details.
It can be written in this way :
EOS-XYZ : Hare Miniprovisioner failing for a missing key
Problem:
. . . . . . .

2. If we have a JIRA ticket number then please write it in the commit message as well as PR title.
Something like this :
EOS-XYZ : Hare Miniprovisioner failing for a missing key
Hi @vaibhavparatwar, We need to close #1723, if this is correct one.
Thank you!

Yes will close #1723  @suvratjoshi

Hi @pavankrishnat ,
1.
Commit message has so many details.
It can be written in this way :
EOS-XYZ : Hare Miniprovisioner failing for a missing key
Problem:
. . . . . . .

2. If we have a JIRA ticket number then please write it in the commit message as well as PR title.
Something like this :
EOS-XYZ : Hare Miniprovisioner failing for a missing key
Hi @vaibhavparatwar, We need to close #1723, if this is correct one.
Thank you!

@suvratjoshi,
Done, Corrected the Commit message as suggested.


internationalization support

Find out how to do this in react native and implement it for the following items

Buttons
Header titles
description
side menu items
helper text

hey, is this issue still relevant? if so, can you give more specific details?

Hi @shachargiladi, yes this is still relevent. Thanks for checking it.
You can take this as a referance.
https://www.reactnative.guide/13-internationalization/13.1-framework-intro.html
Basically all the text that is visiable to user should have localized entry in some kind of config file like en.json, hi.json etc.

Hi, if this issue isn't being worked on, could you assign me to it? Thank you!

@ebiroud assigned. Thanks a lot.

@ebiroud thanks a lot for implementing this.


Issue: torch._scaled_mm RuntimeError on RTX 6000 (with runpod/pytorch:2.4.0-py3.11-cuda12.4.1-devel-ubuntu22.04)

Description
When using the flux-fp8-api with configuration .configs/config-dev-1-RTX6000ADA.json on an RTX 6000, I receive a RuntimeError regarding unsupported torch._scaled_mm due to compute capability requirements. My environment uses the Docker image runpod/pytorch:2.4.0-py3.11-cuda12.4.1-devel-ubuntu22.04.
Docker Image:
runpod/pytorch:2.4.0-py3.11-cuda12.4.1-devel-ubuntu22.04
Error Details
RuntimeError: torch._scaled_mm is only supported on CUDA devices with compute capability >= 9.0 or 8.9, or ROCm MI300+

Relevant Configuration Path
config_path = ".configs/config-dev-1-RTX6000ADA.json"

Has anyone encountered this before?

Oh- it could be that you're using an RTX 6000 - non-ada, which is different than the RTX 6000 ADA. They have a similar name, but one is ada generation, and the other is from last gen, which would have compute capability 8.6.

gotcha - was wondering about that possibility - ty


Inconsistent XEASY parameter file name

Hi,
I just came across a small inconsistency in the way that XEASY parameter filenames are generated which causes a slightly confusing error message in certain cases.
In pullxeasy.c there is a fallback for if the spectrum file does not use the usual extension ".16", for example in pullxeasy2d() (line 39):
if (strstr(spectra2d, ".16"))
  strreplacecpy(parfile, spectra2d, ".16", ".param");
else
  sprintf(parfile, "%s.param", spectra2d);

whereas in checkxeasy() (line 52) from checkxeasy.c this is not used:
strreplacecpy(parfile, filename, ".16", ".param");

This means that using pipe2xeasy with an output file not containing ".16" tries to read the output spectrum file as a parameter file (as the strreplacecpy() call does not change the filename string) and results in the following error message:

Parameter file [...]: Not XEASY parameter file.
Couldn't find description such as 'Version'.

Would it be possible (/sensible) to implement the same fallback in checkxeasy() or to present a warning if the output file is missing the ".16" extension?
Best regards,
Henry

Hi,
You're correct. There is a case that the tool can not handle XEASY parameter filename generated by the tool itself. New version, v1.0.6, will be released to address this issue.
Thank you for your notice.
Masashi

Many thanks for the quick response and fix!
Best, Henry


iOS: Dark theme keeps turning itself off

Looks like this is still happening in the latest build, too. I turn on dark mode, switch out of the app, come back in, and it's light themed.

That's because it is following the system appearance. If you disable that preference, it'll stick with what you use.
I agree this is confusing. We might want to hide the theme segmented controls when follow system appearance is enabled.

Let's make not following the system preference the default then. If people want it to follow the system, they should have to go into NewsBlur preferences or change it manually in the app.

Hmm, I don't like that. I think people would expect it to follow the system appearance by default, with the option (if they notice it) to use a different appearance.
How about this: follow system by default, but if someone changes the theme via a menu or gesture, automatically turn off the follow system preference, so their choice sticks.

Love it, great compromise.


Upstream master with mods rebased

update Clever/master to drone/master then rebase onto upstream-master-with-mods. This means we can have a clean history of our changes applied over current master in drone/drone

Assigning to @rgarcia so that we can be sure that the changes required are here.

changes lgtm


Redirect to authorize endpoint is to http when behind load balancer terminating SSL

I have IdentityServer3 and Admin in the same host behind a load balancer and I am terminating SSL at the load balancer.
I therefore have RequireSsl=false and the PublicOrigin of IdentityServer set to the https address of the load balancer.
When logging in to Admin the redirect is to http instead of https and so fails
(e.g. http://identity.abc.com/admin/authorize?state=1180072232507164&client_id=idAdmin&response_type=token)

Same setup works fine for me.
Do you have the Authority on OpenIdConnectAuthenticationOptions set as https in the Admin?

Yes, I do.
And you have RequiresSsl = false in your AdminHostSecurityConfiguration ?

From: Allan Hardy<EMAIL_ADDRESS>Sent: 20 April 2016 13:48
To: IdentityServer/IdentityServer3.Admin
Cc: Michael Toomey; Author
Subject: Re: [IdentityServer/IdentityServer3.Admin] Redirect to authorize endpoint is to http when behind load balancer terminating SSL (#30)
Same setup works fine for me.
Do you have the Authority on OpenIdConnectAuthenticationOptions set as https in the Admin?

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/IdentityServer/IdentityServer3.Admin/issues/30#issuecomment-212409896

This email has been checked for known viruses - AVEVA Group IT Services.

The information contained in this message, together with any attachments, may be legally privileged or confidential and is intended only for the use of the individual(s) or entity named above. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately before deleting it.
This message has been checked for all known viruses through Microsoft Online Protection, for and on behalf of the AVEVA Group. Although no viruses were found it is the recipient's responsibility to ensure that this message is safe for use on their system.
AVEVA Group plc is a Public Limited Company registered in England with registered number 2937296. The registered office of AVEVA Group plc is High Cross, Madingley Road, Cambridge, England CB3 0HB

When you terminate SSL on load balancer, this balancer will in most cases add special HTTP header "X-Forwarded-Proto" with value either http or https to give back-end server an idea whether initial call was over http or https.
Without further thinking what it may cause, maybe it would be enough just to modify condition in IdentityAdminAppBuilderExtensions.cs, something like changing following code:
app.Use(async (ctx, next) =>
{
     if (!ctx.Request.Scheme.Equals("https", StringComparison.OrdinalIgnoreCase) &&
         options.AdminSecurityConfiguration.RequireSsl)
    {
          ctx.Response.Write("HTTPS required");
    }
    else
    {
         await next();
    }
});

to:
app.Use(async (ctx, next) =>
{
	if (!string.IsNullOrEmpty(ctx.Request.Headers["X-Forwarded-Proto"])) //behind load balancer
	{
		if (!ctx.Request.Headers["X-Forwarded-Proto"].Equals("https", StringComparison.OrdinalIgnoreCase) &&
			options.AdminSecurityConfiguration.RequireSsl)
		{
			ctx.Response.Write("HTTPS required");
		}
		else
		{
			await next();
		}
	}
	else //direct traffic
	{
		if (!ctx.Request.Scheme.Equals("https", StringComparison.OrdinalIgnoreCase) &&
			options.AdminSecurityConfiguration.RequireSsl)
		{
			ctx.Response.Write("HTTPS required");
		}
		else
		{
			await next();
		}
	}
});

Although question is what it will do next when AccessToken is returned upon login.

I have had a go at getting in the same scenario. Https terminating at load balancer with http between load balancer and the web servers.
@senseicz this was very useful but it only got me one hop of the way.
When you click login it goes to the /authorize endpoint. Because the OAuthAuthorizationServer server is now running requiring ssl this request fails as the request comes in as http.
So, I tried again using RequireSsl false on the IdentityAdmin.
The problem that I can see is when the identity server responds it first POST's the identity token to the admin endpoint https://myserver/admin which responds with a 302 and Location
http://myserver/admin/authorize?state=13284069124445454&client_id=idAdmin&response_type=token
This is where it obviously can't find the endpoint as it is http and needs to be https. I cant work out where this POST request is handled in IdentityAdmin. The weird bit is it doesnt seem to come through the OWIN pipeline at all.
The only thought I had to solve this was a bit of OwinMiddleware that intercepts this response modifying the Location to be the https address. However, as I said the POST from the IdentityServer to the IdentityAdmin endpoint doesn't seem to go through the IdentityAdmin OWIN pipeline.
Any other ideas anyone?

Doh. I didn't put my OWIN Middleware early enough in the pipeline. I finally got this "working". i.e. It's a hack.

I put in the following middleware at the top of my pipeline before the CookieAuthentication used by IdentityAdmin Server.

app.Use(async (ctx, next) =>
{
await next();
if (ctx.Response.StatusCode == 302 && ctx.Response.Headers.Any(x => x.Key == "Location"))
{
    ctx.Response.Headers["Location"] = ctx.Response.Headers["Location"].Replace("http://", "https://");
}

});

Then I faced another issue. The API seems to implement a HAL like standard and it uses absolute urls. This means that all the urls generated by the MetaController are http addresses as to it that is correct because https is terminated at the load balancer. This results in a Access Denied header when making the Ajax request to get clients.

So, to cludge this until I think of a better plan I replace the protocol on all the links. i.e. .Replace("http://", "https://")

The solution I can up with for the AbsoluteUri's used in the REST API was to make them relative to the authority. See pull request #38

Merged pull request, ty @KMC13

May I ask for these changes to made a new beta release and push them out via new NuGet package? Would help me a lot, many thanks in advance :-)


Allow arbitrary DayTimeInterval's

Awesome library thank you so much!
Currently a library consumer is forced to use any of the intervals as specified in:
https://github.com/danheron/Heron.MudCalendar/blob/4f6e4f9c4f825a51e94ecca49ac7fa9dbd91c07c/Heron.MudCalendar/Enums/CalendarTimeInterval.cs#L3-L8
For the project I am currently working on I would preferably have a custom interval of 3 hours.
Let me know if this is something I can pickup and what the preferred way would be to implement this.
Thanks!

It's difficult to change it to an arbitrary amount now as it would break backwards compatibility.  However I will add some more options to the enum including an option for 3 hours.

Thank you @danheron! I appreciate it!


Don't use django-jsonfield in this package

https://code.djangoproject.com/ticket/27675#comment:8
https://docs.djangoproject.com/en/2.2/ref/contrib/postgres/fields/#jsonfield

Dear @anhtran  i facing issue  related to this package due to Django-JSONFIELD on action_info column. while displaying information on django adminpanel we can't do lookup on that field.


Added '-p' / '--parse' to automatically parse the input file

Thanks for your pull request. I would like to merge it but I want to merge it in develop branch first. Than I can also update documentation before increasing version.
I see no option to change target branch on my own so maybe you can do it? Otherwise I would merge it on command line and close this pull request.

I pushed it to develop and if I merge develop do master this pull request should be closed.


im new and i get an error that saysm  npm install https://github.com/woor/discord.io/tarball/gateway_v6 npm should be run outside of the node repl, in your normal shell. (Press Control-D to exit.)

i type:
npm install https://github.com/woor/discord.io/tarball/gateway_v6
i get an error that says:
npm should be run outside of the node repl, in your normal shell.
(Press Control-D to exit.)

i type:
npm install https://github.com/woor/discord.io/tarball/gateway_v6
i get an error that says:
npm should be run outside of the node repl, in your normal shell.
(Press Control-D to exit.)


FEATURE: 更多echarts示例

Version
Vben Admin V5
Description
更多echarts示例, 有个数据大屏页面就好了
Proposed Solution
有个酷炫的数据大屏页面就好了
Alternatives Considered
No response
Additional Context
No response
Validations

[X] Read the docs
[X] Ensure the code is up to date. (Some issues have been fixed in the latest version)
[X] I have searched the existing issues and checked that my issue does not duplicate any existing issues.

暂时没有计划


Question: Dismiss bottom sheet programmatically?

I can dismiss my bottom sheet by navController.popBackStack(), the issue is there's no animation. It's very rough and flashy, which is bad UX. Am I dismissing / popping the bottom sheet wrong?

Yes, this is not implemented properly. In PR for M3 I've posted our solution which does this properly: https://github.com/google/accompanist/pull/1543#discussion_r1143061950 - but you have to implement your own "destination" type to achieve this.

navController.popBackStack() is indeed how you dismiss a bottom sheet destination. However, Accompanist doesn't control what that looks like - it just calls sheetState.hide().
If you can reproduce the same rough and flashy animation when hiding any bottom sheet that uses ModalBottomSheetLayout, you should file an issue in the issue tracker.


python version mediapipe

there will be one python version's mediapipe? I would like to produce more algrithm with python.

Yes, we are woking on the Python API. The OSS release plan is still quite vague: https://github.com/google/mediapipe/issues/444#issuecomment-599249534. Will keep you posted.

MediaPipe python is released in v0.7.9 https://google.github.io/mediapipe/getting_started/building_examples.html#python


Question about program used

Hello, I love the rice, it looks great!
I was wondering what is the task manager you are using in this screenshot. It looks similar to btop but I'm not sure. I've been using htop, bashtop and and btop for years but I've never seen something like this.

Hey! sorry for late reply. That task manager is bottom (btm)


Release automatization

I feel like going with vercel again makes this pr unnecessary so I'll close it and if needed it will be reopened.


Implement a solution to cleanup GCP resources in beam testing projects

FR to create a solution to clean up lingering GCE, VMs, Dataproc clusters, etc.
Some sort of perodic job which runs and deletes leaked GCE VMs would prevent the resource concerns caused by failed tests as in:
https://issues.apache.org/jira/browse/BEAM-12898
Possible solutions:

Name all the resources with a convention that represents a TTL. Then the resources can be deleted by a cron/periodic job if the TTL has expired
Dataproc cluster may have a TTL configuration option itself which the flink on dataproc test can use.
Similar to how we delete old Dataflow jobs in https://github.com/apache/beam/blob/master/.test-infra/jenkins/job_CancelStaleDataflowJobs.groovy

Imported from Jira BEAM-12903. Original Jira may contain additional context.
Reported by<EMAIL_ADDRESS>

Hi team, the new cron-job is now running: https://ci-beam.apache.org/job/Cleanup Dataproc Resources/8/console , now in case that Flink resources get leaked those will be monitored and cleaned periodically ,we think this task can be closed now, regards.


Hooked up boxplot function to Shiny

Seems to be working ok; though I noticed when turning on notches they don't render correctly. I didn't look into why yet.

It may be the small number of observations in some cases. DE and HI have
too few counties.  The plots are all  the state's area (county, huc,
aquifer, etc) values of a particular data element.
Gary Martin<EMAIL_ADDRESS>Hydrologist
U.S. Geological Survey
Kentucky Water Science Center
9818 Bluegrass Parkway
Louisville, Kentucky
40299-1906
(502) 609-1383 (cell)
(502) 493-1914 (phone)
(502) 493-1909 (fax)
On Mon, May 23, 2016 at 10:17 AM, Rob Dudley<EMAIL_ADDRESS>wrote:

Seems to be working ok; though I noticed when turning on notches they
don't render correctly. I didn't look into why yet.
You can view, comment on, or merge this pull request online at:
https://github.com/USGS-R/wateRuse/pull/88
Commit Summary

Hooked up boxplot function to Shiny

File Changes

A inst/shiny/plotBoxplots.R
https://github.com/USGS-R/wateRuse/pull/88/files#diff-0 (84)
M inst/shiny/server.R
https://github.com/USGS-R/wateRuse/pull/88/files#diff-1 (6)
M inst/shiny/ui.R
https://github.com/USGS-R/wateRuse/pull/88/files#diff-2 (23)
M man/time_series_data.Rd
https://github.com/USGS-R/wateRuse/pull/88/files#diff-3 (2)

Patch Links:

https://github.com/USGS-R/wateRuse/pull/88.patch
https://github.com/USGS-R/wateRuse/pull/88.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/USGS-R/wateRuse/pull/88

I fixed a little conflict and will push it up now.


Missing references to mutable variable

Description
The highlighting of references to a mut variable does not include its definition, as well as some of the previous usages. I am assuming this is due to how join points are introduced during compilation.

Standard let-bindings seem to work.

Expected behavior: All references to xyz are highlighted.
Actual behavior: Only some references are highlighted.
Reproduces how often: 100%
Versions
94abfdba6c75b6efee68c1838f05fa26efee9a2d

This is also an issue for an unused-variables linter


Use exceptions .ToString() when printing error

I believe this to better as all inner exceptions will also be printed. I found myself in a position where I was only getting a message about TargetInvocationException being thrown

Cheers

Released in 0.11.1


Add 2nd variable to s elector items so I can show a thumbnail image next to a name

I am trying to build this selector with a user image and name.  I believe it will require a core mod to get the image to work.
Can anyone assist in this hack/mod?
Would be nice if it was optional as a 2nd variable of data to show in item template
I think this could be modified.  Instead of taking array of data could instead take an object where name and thumbnail image can both be defined for each item...
Line 331
 for (var d in this.options.items) {
       var e = a(this.options.templates.pickerItem);
       e.find("i").html(this.options.items[d]), e.data("pickerValue", this.options.items[d]).on("click.picker", c), this.picker.find(".picker-items").append(e)
}

I modified library to accept array of objects!  Awesomeness so far http://jsfiddle.net/jasondavis/zynb8u3g/1/

Hi, which lines have you exactly modified? Could you share your changes in a pull request?
Thanks

WIll do I need to go through it and doucument it better.  I have it almost working as I need it with exception of 1 issues which you might be able to help with once I submit my changes.

To make a popover picker with image you have to set the pickItem template in the init options like below...
// Init Milestones Picker/Selector Popover
ProjectManagementTaskModal.cache.$assignedUserPickerEl.picker({
    input: 'input',
    container: '#task-modal',
    title: 'Assigned User',
    items: $assignedUserPickerArray,
    selected: selectedUserId,  // use this value as the current item and ignore the original
    defaultValue: 'None',  // use this value as the current item if input or element item is empty
    animation: false,
    selectedCustomClass: 'label label-success',
    //placement: 'bottomRight',
    placement:'top',
    showFooter: true, //false,
    // note that this is ignored cause we have an accept button:
    hideOnSelect: true, //hide picker if value clicked. ignore if 'mustAccept = true' & accept button visible
    mustAccept: false, // only when there's a picker-btn-accept button in the popover footer
    templates: {
        search: false,
        footer: '',
        buttons: '',
        pickerItem: '

',
    }
}).data('picker');

You can see my template string above

 has a specific CSS class.
Then in the items array above my array $assignedUserPickerArray must contain an array of objects with keys id, name, and image.  THe image key is important as the modiciation in the library looks for this key to decide if this picker has image or not.
This code below from the library is modified to look for the image key in your array of objects and if it sees you have images it will then take the image placeholders from the template above and fill them in with real image values....
        for (var i in this.options.items) {
            var itemElement = $(this.options.templates.pickerItem);
            if (this.options.items[i]['image']) {
                itemElement.find('.item-image').attr('src', this.options.items[i]['image']);
            }
            itemElement.find('i').attr('id', this.options.items[i]['id']).html(this.options.items[i]['name']);

            itemElement.data('pickerValue', this.options.items[i]['name'])
                .on('click.picker', itemClickFn);
            this.picker.find('.picker-items').append(itemElement);
        }

That is the bulk of the mod but there is a couple other edits I will show in a better post soon

JSFiddle Demo to play with here http://jsfiddle.net/jasondavis/zynb8u3g/11/

My dream version of the popover selector library would work something like this....

Allow an array of objects like I have done here so that more than just a name string value can be supplied for each item.  Currently with a flat array like it uses it majorly restricts this libraries usage as anything with a database is pretty much not able to use it without major hacks.  I got around this so far with my updates but I am certain is can be improved on!

In addition to allowing an array of objects, it would be nice to allow a variable amount of object keys. The very minimum in my opinion would be an id and a name.  My modification uses an id and name object key with the optional image key.  This handles 90 of my uses that I can imagine ever needing in future projects!   It would be nice to be flexible enough to allow more keys set to any value to work as well..  For example if I had some sort of link list I might want a key for id, name, and url.  Another example is when I use for a Tag selector I would like to have id, name, and count where count might show the number of records belonging to a Tag.

If there was a way to do the keys like I mention above where you can set any number of keys you want in the array of objects.  Then in the template setting you would be able to output your custom key into the template string with something like {{url}} and {{count}}`.
This template...
templates: {
    pickerItem: '

',
}

could be set as this below where  {{name}} and {{count}}` would be populated on each item using data from the array of objects...
templates: {
    pickerItem: '
{{name}} {{count}}
',
}

So I think this is all possible without too much work and would make this library extremely useful for thousands of projects that it currently can't be used with too well.  I have got half of this working so far so I feel it's possible but I am not sure I can do it alone.
Some issues I have...
1)
In my Task modal DIV I have to use a Text input field instead of a DIV or other element because when I use a non-input.  The popover opens behind half of another DIV in my modal.  When I use a text input field I can then use this option container: '#task-modal', which fixes the issue.  For some reason when I use that on a non-input pickler it simply breaks and will not work at all or when I do get it working it shows my picker halfway hidden under another DIV.  I have tried hundrewds of ways to fix this with no success.  IN the end I got my desired result using the Text input by styling it to look like a DIV/SPAN.  I also set a background image on the text input to show my user thumbnail image as the selected item when popover is closed.
To set the background image on the input I have to use the libraries DOM event pickerSelect which is fine for my use but in a perfect world it would be nice to have this background image set within the library instead of having to write code in an external event to do it.
$assignedUserPickerEl.on('pickerSelect', function(event) {
    var newAssignedUserHtmlStr = $('
', {
        html: event.pickerItem.html()
    });

    // get element ID attribute of selected Assigned User item used as DB User ID
    var newAssignedUserId = newAssignedUserHtmlStr.find('i').attr('id');
    console.log('[NEW SELECTED ASSIGNED USER ID NUMBER] ======== "'+newAssignedUserId+'" / Source var = newAssignedUserId');

    // get NEW selected Assigned User item "event.pickerItem.text()" value
    console.log('[NEW SELECTED ASSIGNED USER NAME] ======== "'+newAssignedUserSelection+'" / Source vars = event.pickerItem.text() & newAssignedUserSelection');

    // get Assigned user Image src attribute of selected item
    var newAssignedUserImg = newAssignedUserHtmlStr.find('img').attr('src');
    console.log('[NEW SELECTED ASSIGNED USER IMAGE URL] ======== "'+newAssignedUserImg+'" / Source var = newAssignedUserImg');

    // Update image URL in DOM input background image
    $(this).css('background-image', 'url(' + newAssignedUserImg + ')');

    // AJAX post to server saving new selected Assigned user with ID

});

2)
There should be a public method to call that will get my the selected id, name, image url, and any other data attached to the selected item when an item is selected.  Maybe have it fire in the event or something.
So anyways these are all just my ideas and opinion for improvements for a future version.  I think you have done an amazing job so far so I would love to see this library further developed.  I will try to contribute as much as I can as well.
Thanks for sharing the library and your time.

Jason
@JasonDavisFL

Hi jasondavis could you post the modified code of the library somewhere please ?


Update to BotBuilder v3.2.1 and workaround for the ResumptionCookie issue

Refer to #14 and to https://github.com/Microsoft/BotBuilder/issues/1256 for info around the ResumptionCookie issue
If merged, please create a new NuGet package.

FYI - https://github.com/Microsoft/BotBuilder/pull/1279

WIll keep an eye from when AuthBot is updated after this, so we can update AzureBot too


accept base64 encoded key instead of bytes and make sha optional

Closes: https://github.com/GoogleCloudPlatform/google-cloud-php/issues/266
@bshaffer Does this line up well with what you were thinking?

@jdpedrie, @bshaffer Hoping to get this in before beta tomorrow, would either of you please be able to take a look for me? :)

@dwsupplee sorry for not seeing this earlier
This is great!! Thank you for getting this in so fast. You guys are 🎸 🌟 's


Installation fails for Visual Studio 2012 Update 5

I Just tried to install this extension for Visual Studio 2012 Update 5. I wasn't able to find it in the marketplace (why??) so I downloaded the file and executed it. The installation process stops with an error and see lots of log messages. See the attached file.
VSIXInstaller_26509f7e-8990-4204-b33b-59f2eb6ede50.log.txt
Seems like it doesn't like the Visual Studio Build Tools 2017 but why didn't it install the extension for vs2012?

@crapp; thanks for reporting this issue! I've investigated a little and it seems that there is an install target missing in the extension.vsixmanifest file. The file specifies the target Microsoft.VisualStudio.Community for VS2012 to VS2017 where VS Community actually means VS Community and above.
But there hasn't been a VS Community version for VS 2012 or VS 2013 so I guess that's why Visual Studio thinks that your VS2015 install is not supported.
I just uploaded a new release to the marketplace (called 1.0.1) to validate this theory.

Hi, thanks for your quick reply. Indeed I am now able to Install the extension from the market place for VS2012. But after restarting visual studio I see another error message stating it could not load SourcetrailExtensionPackage
I suppose this is the relevant part from C:\Users\myuser\AppData\Roaming\MicrosoftVisualStudio\11.0\ActivityLog.xml
  <entry>
    <record>42</record>
    <time>2017/07/20 06:37:57.315</time>
    <type>Information</type>
    <source>VisualStudio</source>
    <description>Begin package load [SourcetrailExtensionPackage]</description>
    <guid>{ACF15780-03B5-440E-A41E-DB79B7043FC2}</guid>
  </entry>
  <entry>
    <record>43</record>
    <time>2017/07/20 06:37:57.358</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>CreateInstance failed for package [SourcetrailExtensionPackage]</description>
    <guid>{ACF15780-03B5-440E-A41E-DB79B7043FC2}</guid>

80070002

    <errorinfo>Die Datei oder Assembly "Microsoft.VisualStudio.Shell.11.0, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.</errorinfo>
  </entry>
  <entry>
    <record>44</record>
    <time>2017/07/20 06:37:57.358</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>End package load [SourcetrailExtensionPackage]</description>
    <guid>{ACF15780-03B5-440E-A41E-DB79B7043FC2}</guid>

80004005 - E_FAIL

    <errorinfo>Die Datei oder Assembly "Microsoft.VisualStudio.Shell.11.0, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.</errorinfo>
  </entry>

This is party in german. Essentially the log messages says File, assembly Microsoft.VisualStudio.Shell.11.0, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a or a dependency could not be found.
This Version <IP_ADDRESS> looks a bit suspicious.

Thank you for testing the new release so quickly. I checked the project file used to build the extension and it states that is uses Version 11 of the Shell assembly. However when opening the project in Visual Studio it somehow loads version 14 of the assembly.
I will try to fix that by specifying the exact dll to use  instead of trusting Visual Studio with that.

@crapp: I think I solved the issue, but to be sure, can you please test this build of the extension?
Download: vs-sourcetrail-1-0-2.zip

I still can't install from a vsix file. The Installer thinks VS2017 BuildTool is a normal VS installation and throws an exception because a File is not found. You should not try to install the extension for build tools only installations (There exists VS2015 Buildtools and VS2017 Buildtools)  See the attached logfile.
VSIXInstaller_3c5480f1-4165-4397-a5df-e0f504618c59.log.txt
Thats why I used the title

Installation fails with Visual Studio 2017 Build Tools installed

So actually we are having two separate issues here:

the extension is not installable for VS2012
the installer somehow runs into issues when trying to locate Visual Studio-Buildtools 2017

The first issue should be fixed but we need to circumvent the second one in order to validate this. I think it's time to upload another version to the VS Marketplace so we can test this. Please try to update the extension from inside Visual Studio to version 1.0.2

I can now intsall the extension from the marketplace and don't see any error messages when visual studio ist started. The SOURCETRAIL menu is visible and I can use it. So one problem solved. Thanks for your efforts!

Awesome! Glad I could help. And thanks for your testing.
I found this this issue on the Microsoft Developer Community regarding the Visual Studio-Buildtools 2017 related error. Unfortunately it's a Visual Studio issue we cannot do anything about.
However this may only happen when installing from the downloaded vsix file. Installing from within Visual Studio should work regardless.


Lack of feedback for connecting Insomnia Designer to github

Describe the bug
Lack of feedback for connecting Insomnia Designer to github, mainly where does one get the token for github? Which token is it?
Also, if you hit Done, nothing happens. No error, or feedback that you forgot the token or such.
To Reproduce
Steps to reproduce the behavior:

Click on 'Create" on the top right
Click on 'Git Clone'
What does the token input represent?

Expected behavior
a help marker for the authentication token, perhaps linking to githubs documentation. A notification or any kind of text indicating what was incorrectly filled out in the "Configure Repository" form.
Desktop (please complete the following information):

OS: macOS 10.15.3
Installation Method: Download from website
App Version: Version 2020.1.3 (2<IP_ADDRESS>86)

Okay, so I added a basic tooltip with references to the official documentation for the most popular platforms.

I will also try to make some improvements to the error messages.

Marking this as closed with #2517 - while smart notifications with why auth failed are tricky (we recently added more logging in the console window to help, #2432), having docs about how to generate access tokens for each provider are a good alternative. The rest of the configure docs form is self-explanatory. 😄 🎉


Feature: set line height

Hi all, I know this might be complicated due to the current Grid implementation, but I think it would be really nice if we could set a line height option to give more air to text.
Maybe this PR on NyaoVim could give some hints.
Thanks!

Thanks for the suggestion, @metalelf0 !
I think we could potentially add this by factoring in the line-height when we measure the font, and making sure the text is vertically centered within that line (which should happen for free by setting the line-height css property). The cursor size would also need to be addressed - it is sized with font size, so would encompass the entire line. We could potentially handle this by doing a separate measurement (one with line-height, one without - the latter being to size the cursor). Seems doable though, and the PR you linked to is definitely helpful

Note that the 'linespace' option exists for this, and OptionSet autocmd could be used by frontends to handle changes to it.

Ah, cool, thanks @justinmk  - didn't know about that option. I'll read up on :help linespace and investigate leveraging that.


feat: add allowedPackages for the fbc test

Description
This supports EC-272 and https://github.com/redhat-appstudio/release-service-catalog/pull/372
Issue ticket number and link

https://issues.redhat.com/browse/EC-272

Type of change

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

How Has This Been Tested?
Looking for CI feedback.
Checklist:

[x] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
[ ] I have updated labels (if needed)

/lgtm
/approve


Rename gitter_url to chat_url?

Maybe we should make it more general? It looks weirdly specific atm.

I'd be in favour of this, but the badge that gets displayed when you add a chat URL currently says 'chat on gitter', so we'd need to figure out what to put there instead :)
Or we could change it to one of the icon links on the header of the item, and make it a speech bubble, or something like that.

Maybe we could add other categories such as irc_channel, discord_url, or whatever people use.  When adding a library you would only specify the relevant one(s). I think it would be quite easy to have different badges for each, and it makes clear which tool is used.
Note that it is not incompatible with a "default chat category", which would be used if none of the others fit.


Dummy generator class

Implement a dummy generator class that does nothing other than call each of the methods in the run process to demonstrate dynamic loading, multi-threading, status, and mutex functionality.

Base functionality implemented in7c522df, needs to implement dummy checks and test status system.

Dummy checks and status system working in 86abdc2


Add documentation about enhanced ecommerce task

https://trello.com/c/cuhxDKMB/150-add-documentation-around-enhanced-ecommerce-data-export

Looks good - could we add a link in to some GA docs on query time imports for context?

@MatMoore added link to GA query time time page.


NetSuite: Update startTime and endTime with updateCallLog

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage remained the same at 73.489%

Files with Coverage Reduction
New Missed Lines
%

src/core/log.js
1
69.8%

Totals

Change from base Build<PHONE_NUMBER>4:
0.0%

Covered Lines:
567

Relevant Lines:
741

💛  - Coveralls


Set proper StartupWMClass in desktop entry

Fixes #1166

This fix worked for me too.

Can you PR it on my fork pls:
https://github.com/QuriousDev/MessengerForDesktop
I am setting a new clean website with clean installers.

Thank you!


Recover documents with too many outstanding ops

This issue is to track the general work for getting a document to recover itself when there are too many outstanding ops.
ODSP will start nacking all ops from the client once it sees 5k+ ops without a summary.  In order to reach that state, there is probably some other issue preventing summaries (opened issue #2075 to start using alerts to be more proactive to these error scenarios).  However once whatever issue preventing summaries is resolved, we want the container to be able to successfully summarize to recover.  It turns out there were several layers preventing this, so this issue can track that end goal, while other issues still exist for the specific problems.
If all else fails and we still have problems, we can explore having a node process connect to the doc and summarize, rather than relying on the normal client SummaryManager to spawn one.

With the latest changes, I was able to recover docs using our service-load node client. Will wait to close this until after it is confirmed to recover docs in browser clients.


Required fields to upload a route: name & file

I have added the functionality to not let the user push the submit button until the name has been written and the file has been uploaded

We need also to allow only .gpx files!!!

I will add those changes to this PR

I have added the requested changes @themrcesi


Dogfood Firezone among devs

We can (should) start dogfooding Firezone internally to alpha-test.
Depends on:

[x] #2013
[x] #2012
[x] #2020
[ ] #2043
[ ] Set up Gateway in Vultr
[ ] Set up private Resources to dogfood

[ ] google.com
[ ] firezonehq.slack.com
[ ] <IP_ADDRESS>
[ ] 2606:4700:4700::1111

[ ] #2362
[ ] Remove gateway tags

@AndrewDryga Was "remove gateway tags" referring to the Docker image tags or the UI tags visible in the portal?


disable message actions while app is in a disconnected state

Fixes TLON-2805
Since we don't currently queue up actions to retry when we're back online, if we know (via currentSession) that the app is in a disconnected state we shouldn't let users take network-dependent actions on messages. This PR changes the text color of these actions while in a disconnected state to $secondaryText and shows an alert if the user attempts to use the action.
Also fixes ~GenericHeader~ Screenheader so that it will actually turn gray when we're disconnected (and enables showSessionStatus on ~GenericHeader~ ScreenHeader from ChannelHeader).
https://github.com/user-attachments/assets/24e9c8e0-d6cd-49d5-8093-ba60d35052a7

lgtm! I'm assuming all send/submit buttons are already protected?

we do not, I'll add that now


[TextInput] Maxlength bug in specific situations

[x] Review the documentation: https://facebook.github.io/react-native
[x] Search for existing issues: https://github.com/facebook/react-native/issues
[x] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
React Native Environment Info:
    System:
      OS: Windows 10
      CPU: (4) x64 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
      Memory: 4.29 GB / 11.87 GB
    Binaries:
      Yarn: 1.12.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
      npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
    IDEs:
      Android Studio: Version  <IP_ADDRESS> AI-173.4907809
    npmPackages:
      react: 16.6.3 => 16.6.3
      react-native: 0.57.8 => 0.57.8

Description
In a specific situation maxLength don't works, when a special character is inserted between a number, a character and a letter: (maxLength: 5, value: 123-r) 123[insert here "&"]-r the result is 123&-
See the demo.
Reproducible Demo
TextInput MaxLength Bug

This is expected behaviors. maxLength work on characters, and doesn't distinguish between special char, number or letter.


Stylesheet not working after converting the mdx file to wikit file.

It seems like wikit only recognize the wikit format dictionary.
So I had to convert my mdx file to wikit file using this command ./wikit dict --create -o ./LDOCE5.wikit LDOCE5.mdx  and loaded it into wikit desktop.
But in the end, I found that the style is quite different between the Eudict and the Wikit Desktop.
Did i do something wrong ?

Open wikit configuration directory, remove the static/ cache directory and restart wikit to see if the problem disappeared.

Since there is not active on this thread, I'll close this issue if someday you can provide me more information to reproduce the issue, you can reopen again.

It didn't work for me either. Somehow wikit did not respect [css] and [js] fields in the .toml config alongside a .wikit file. After I manually copy the contents .css and .js files into those counterpart .js & .css files in the static/ cache directory, the css and js files started to work.
Not sure this is the same case as yours, but hope it helps.

@Congee Hi, can you give me a minimal example to reproduce the problem?


Ability to generate enum for endpoint urls

What is the problem this feature would solve?
This is to solve not having to duplicate endpoint urls in code. It would be neat if the kubb generation could do this for us in some way when using @kubb/swagger-ts. I dont know whats possible but something like:
Example openapi spec:
openapi: '3.0.2'
info:
  title: Example API
  version: '1.0'
servers:
  - url: https://example.com/v2
paths:
  /object/create:
    post:
      summary: Create an object
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ObjectRequest'
      responses:
        '200':
          description: Object created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ObjectResponse'

Generated output:
export const videoStreamStatusEnum = {
    "v2ObjectCreate": "/v2/object/create",
} as const;

What do you think? Is something like this already possible?
Cheers!
External documents/projects?
No response
What is the feature you are proposing to solve the problem?
No response
What alternatives have you considered?
No response

@aaronb-reach If you are using the Client Plugin, then a operations.ts file will be created containing all your api endpoints.
Example src/gen/operations.ts:
export const operations = {
  updatePet: {
    path: '/pet',
    method: 'put',
  },
  addPet: {
    path: '/pet',
    method: 'post',
  },
  findPetsByStatus: {
    path: '/pet/findByStatus',
    method: 'get',
  },
  findPetsByTags: {
    path: '/pet/findByTags',
    method: 'get',
  },
  getPetById: {
    path: '/pet/:petId',
    method: 'get',
  },
  updatePetWithForm: {
    path: '/pet/:petId',
    method: 'post',
  },
  deletePet: {
    path: '/pet/:petId',
    method: 'delete',
  },
  uploadFile: {
    path: '/pet/:petId/uploadImage',
    method: 'post',
  },
  createUser: {
    path: '/user',
    method: 'post',
  },
  createUsersWithListInput: {
    path: '/user/createWithList',
    method: 'post',
  },
  loginUser: {
    path: '/user/login',
    method: 'get',
  },
  logoutUser: {
    path: '/user/logout',
    method: 'get',
  },
  getUserByName: {
    path: '/user/:username',
    method: 'get',
  },
  updateUser: {
    path: '/user/:username',
    method: 'put',
  },
  deleteUser: {
    path: '/user/:username',
    method: 'delete',
  },
} as const


Fix badge and remove some minimization code

This PR:

Fixes the Jenkins badge

Removes the extraneous minimization code that was used for geometry debugging and caused problems with constraints. (#256)

Hm, no module named numpy?

Any ideas?

Talking to @Lnaden about potential fixes here regarding conda installation.

Ok, looks like that is working

@pgrinaway , what is the issue with conda-build, and could it possibly affect any other projects?

The current version is broken. I'm not sure why, so I've pinned it to 2.0.2, which does work.


Compatibility with Anki 23.12.1+ Qt5

Hello. This seems like a great addon! There are a few other randomised list addons, but none of them are as straight-forward as this one. I liked this one the most because it sounds like I can use it on any note type I want. I don't know if you want to keep this updated to work with the latest Anki versions, but this is the error I get:
Anki 23.12.1 (1a1d4d54)  (ao)
Python 3.9.15 Qt 5.15.2 PyQt 5.15.5
Platform: Windows-10-10.0.19045
When loading Shuffled List:
Traceback (most recent call last):
File "aqt.addons", line 245, in loadAddons
File "C:\Users...\Anki2\addons21\1261140161_init_.py", line 1, in
from . import main
File "C:\Users...\Anki2\addons21\1261140161\main.py", line 5, in
from .consts import addon_path
File "C:\Users...\Anki2\addons21\1261140161\consts.py", line 11, in
addon_path = os.path.dirname(file).decode(sys_encoding)
AttributeError: 'str' object has no attribute 'decode'
I'll try to ask ChatGPT to fix it, but I've never had luck with that thing before.

Edited consts.py to the following:
import sys
import os
from anki import version
anki21 = version.startswith("2.1.")
sys_encoding = sys.getfilesystemencoding()
if anki21:
addon_path = os.path.dirname(file)
else:
addon_path = os.path.dirname(file).encode(sys_encoding).decode()
Now it creates a randomised list, the shortcut works and everything, but for a cloze note-type at least the back of each card looks exactly like the front, the cloze deletion is not revealed etc. I don't know how to fix that.

I modified (well, chatGPT modified) main.py:
def prepare(html, card, context):
    unordered_list_re = re.compile(fr'(?<=
)([\s\S]*?)(?=
)')
    styling = f""""""

    if context == "qfmt":
        selected_text = card.question
        list_items = [f"
{line}
" for line in selected_text.splitlines()]
        random.shuffle(list_items)

        formatted_text = f"
{''.join(list_items)}
"
        html = unordered_list_re.sub(formatted_text, html)

    return html + styling

Now the cloze works, but the list is not shuffled on the front of the card. I, nor the AI, can figure out what to do next. I do not know how to code, beyond some html.

Hi, I am glad that you find this addon useful and thank you for this detailed question.
As far as I am concerned you can remove the legacy support in consts.py completely and just leave it as:
import os

addon_path = os.path.dirname(__file__)

As for the cloze cards: I have never tried this addon with cloze cards before. Did it work prior to the Anki update?

I actually didn't try it on an older version of Anki, I assumed it was made to work with cloze but perhaps not... it would be great if that was implemented, but maybe that's a whole other job that I certainly won't presume you have time for :)

I will take a look at it and give you an update if I manage to fix the issue with cloze cards.

I've looked into the cloze card issue, but unfortunately, I wasn't able to resolve it. My add-on modifies the HTML before it is shown on the screen, and apparently, this causes a conflict when revealing the cloze. Sorry :(

That's ok! Thanks for your efforts. I went down the faff route with one of the other addons that uses scripts to shuffle lists. Hopefully one day anki implements something like your addon directly, recalling based on cloze location familiarity instead of the actual information is a really old complaint.

Just a quick update: I've fixed the cloze deletion issue in the Shuffled List addon for Anki. The addon should now work correctly with cloze cards, maintaining both the shuffle functionality and proper cloze behavior. I tested both cloze deletion with new cards and same card and it works for both cases.
I've pushed the update to the repository. Let me know if it works for you.

Wow, you smashed it! That works fine now. The only issue I've found is that it doesn't like multiple lists per note.
Editing:

Displayed:

Don't really know what to make of that, it's naming the lists alright in the html:

Good job though, I appreciate the effort, for a single list it seems to work great.

Also when I add cloze to non-list text it sometimes doesn't display any cloze deletions on the front or back of cards:

Thanks for the feedback! I've just released another update which should fix the issues with multiple lists per note.

Hi! Sorry for the delay, I've got an exam on Friday I'm preparing for, I just had a try with the new code and it seems to work flawlessly. Awesome job! Thanks for your efforts.


breaks with pandas >= 2.0.0

Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[15], line 19
     15 print("Neighbors", nbh, len(nbh))
     17 pipeline = retriever >> GAR(scorer, graph_2) >> pt.text.get_text(dataset, 'text')
---> 19 pipeline.search('clustering hypothesis information retrieval')
     20 # qid                                        query    docno  rank       score  iteration                                               text
     21 #   1  clustering hypothesis information retrieval  2180710     0   -0.017059          0  Cluster analysis or clustering is the task of ...
     22 #   1  clustering hypothesis information retrieval  8430269     1   -0.166563          1  Clustering is the grouping of a particular set...
   (...)
     27 #                iteration column indicates which GAR batch the document was scored in ^
     28 #                even=initial retrieval   odd=corpus graph    -1=backfilled

File ~/p-graph/p-graph/lib/python3.11/site-packages/pyterrier/transformer.py:169, in Transformer.search(self, query, qid, sort)
    167 import pandas as pd
    168 queryDf = pd.DataFrame([[qid, query]], columns=["qid", "query"])
--> 169 rtr = self.transform(queryDf)
    170 if "qid" in rtr.columns and "rank" in rtr.columns:
    171     rtr = rtr.sort_values(["qid", "rank"], ascending=[True,True])

File ~/p-graph/p-graph/lib/python3.11/site-packages/pyterrier/ops.py:335, in ComposedPipeline.transform(self, topics)
    333 def transform(self, topics):
    334     for m in self.models:
--> 335         topics = m.transform(topics)
    336     return topics

File ~/p-graph/p-graph/lib/python3.11/site-packages/pyterrier/ops.py:335, in ComposedPipeline.transform(self, topics)
    333 def transform(self, topics):
    334     for m in self.models:
--> 335         topics = m.transform(topics)
    336     return topics

File ~/p-graph/p-graph/lib/python3.11/site-packages/pyterrier_adaptive/gar.py:81, in GAR.transform(self, df)
     79 batch = this_res.most_common(size)
     80 batch = pd.DataFrame(batch, columns=['docno', 'score'])
---> 81 batch['qid'] = qid
     82 batch['query'] = query
     84 # go score the batch of document with the re-ranker

File ~/p-graph/p-graph/lib/python3.11/site-packages/pandas/core/frame.py:4299, in DataFrame.__setitem__(self, key, value)
   4296     self._setitem_array([key], value)
   4297 else:
   4298     # set column
-> 4299     self._set_item(key, value)

File ~/p-graph/p-graph/lib/python3.11/site-packages/pandas/core/frame.py:4512, in DataFrame._set_item(self, key, value)
   4502 def _set_item(self, key, value) -> None:
   4503     """
   4504     Add series to DataFrame in specified column.
   4505
   (...)
   4510     ensure homogeneity.
   4511     """
-> 4512     value, refs = self._sanitize_column(value)
   4514     if (
   4515         key in self.columns
   4516         and value.ndim == 1
   4517         and not isinstance(value.dtype, ExtensionDtype)
   4518     ):
   4519         # broadcast across multiple columns if necessary
   4520         if not self.columns.is_unique or isinstance(self.columns, MultiIndex):

File ~/p-graph/p-graph/lib/python3.11/site-packages/pandas/core/frame.py:5253, in DataFrame._sanitize_column(self, value)
   5250     return _reindex_for_setitem(value, self.index)
   5252 if is_list_like(value):
-> 5253     com.require_length_match(value, self.index)
   5254 arr = sanitize_array(value, self.index, copy=True, allow_2d=True)
   5255 if (
   5256     isinstance(value, Index)
   5257     and value.dtype == "object"
   (...)
   5260     # TODO: Remove kludge in sanitize_array for string mode when enforcing
   5261     # this deprecation

File ~/p-graph/p-graph/lib/python3.11/site-packages/pandas/core/common.py:573, in require_length_match(data, index)
    569 """
    570 Check the length of data matches the length of the index.
    571 """
    572 if len(data) != len(index):
--> 573     raise ValueError(
    574         "Length of values "
    575         f"({len(data)}) "
    576         "does not match length of index "
    577         f"({len(index)})"
    578     )

ValueError: Length of values (1) does not match length of index (16)

what is the qid?

1

and the length of batch?

16

ah, now I see the title of the message.
does
batch["qid"] = [1] * len(batch)
work?

I tracked it down to df = dict(iter(df.groupby(by=['qid']))) -- the behavior on how lists of keys in groupby changed in pandas==2.0.0. Passing a str (instead a list[str]) fixes it.


[ #2161] Provide a way to require Creative Commons license in submission form

References

Fixes https://github.com/DSpace/dspace-angular/issues/2161

Description
Provided new validation for cclicense
It can be enabled through the new property "cc.license.required"
Disabled by default
Instructions for Reviewers
Please test the behaviour of the new property making submissions both providing and non providing cclicense during both enabled and non enabled cclicense required
List of changes in this PR:
1 Provided new cclicense validator class
2 Added property setting in dspace cfg
3 provided the class in the dspace-addon-validation-services.xml
4 provided test case

Checklist

[x ] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & integration tests). Exceptions may be made if previously agreed upon.
[ x] My PR passes Checkstyle validation based on the Code Style Guide.
[ x] My PR includes Javadoc for all new (or modified) public methods and classes. It also includes Javadoc for large or complex private methods.
[ x] My PR passes all tests and includes new/updated Unit or Integration Tests based on the Code Testing Guide.
[ x] If my PR includes new libraries/dependencies (in any pom.xml), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[x ] If my PR includes new configurations, I've provided basic technical documentation in the PR itself.
[ x] If my PR fixes an issue ticket, I've linked them together.

Provided pr angular side with label regarding the error https://github.com/DSpace/dspace-angular/pull/3287


Can't build software, cmake file not found

Hi, i was setting the system up, succesfully got docker to setup...
aaron@aaron-TravelMate-P238-M:~/Downloads/ibex-demo-system$ sudo docker run -it --rm \
>   -p 6080:6080 \
>   -p 3333:3333 \
>   -v $(pwd):/home/dev/demo:Z \
>   ibex
[sudo] password for aaron:
Please be aware that you are exposing your VNC server to all users on the
local machine. These users can access your server without authentication!
/usr/bin/xauth:  file /home/dev/.Xauthority does not exist

New '33f8941bd738:1 (dev)' desktop at :1 on machine 33f8941bd738

Starting applications specified in startxfce4
Log file is /home/dev/.vnc/33f8941bd738:1.log

Use xtigervncviewer -SecurityTypes None :1 to connect to the VNC server.

WebSocket server settings:
  - Listen on :6080
  - Web server. Web root: /usr/share/novnc
  - SSL/TLS support
  - proxying from :6080 to localhost:5901
<IP_ADDRESS> - - [20/Dec/2023 07:34:50] <IP_ADDRESS>: Plain non-SSL (ws://) WebSocket connection
<IP_ADDRESS> - - [20/Dec/2023 07:34:50] <IP_ADDRESS>: Path: '/websockify'
<IP_ADDRESS> - - [20/Dec/2023 07:34:50] connecting to: localhost:5901

My issue is that, i could not run this set of commands.
cd /home/dev/demo
mkdir -p sw/build
pushd sw/build
cmake ..
make
popd

It produced this set of errors,
aaron@aaron-TravelMate-P238-M:~/Downloads/ibex-demo-system$ cd /home/dev/demo
cmake ..
make
popdbash: cd: /home/dev/demo: No such file or directory
aaron@aaron-TravelMate-P238-M:~/Downloads/ibex-demo-system$ mkdir -p sw/build
aaron@aaron-TravelMate-P238-M:~/Downloads/ibex-demo-system$ pushd sw/build
~/Downloads/ibex-demo-system/sw/build ~/Downloads/ibex-demo-system ~/Downloads/ibex-demo-system/sw/build ~/Downloads/ibex-demo-system ~ ~
aaron@aaron-TravelMate-P238-M:~/Downloads/ibex-demo-system/sw/build$ cmake ..
CMake Error: The source directory "/home/aaron/Downloads/ibex-demo-system/sw" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
aaron@aaron-TravelMate-P238-M:~/Downloads/ibex-demo-system/sw/build$ make
make: *** No targets specified and no makefile found.  Stop.
aaron@aaron-TravelMate-P238-M:~/Downloads/ibex-demo-system/sw/build$ popd
~/Downloads/ibex-demo-system ~/Downloads/ibex-demo-system/sw/build ~/Downloads/ibex-demo-system ~ ~

I not sure what is dev in the cd /home/dev/demo command suppose to be.  There is no cmake file in sw/build
aaron@aaron-TravelMate-P238-M:~/Downloads/ibex-demo-system/sw$ ls
build  c  common  rust

Those instructions are out of date. You need to make this directory: sw/c/build with the c. You should be able to find the instructions here:
https://github.com/lowRISC/ibex-demo-system#c-stack
Where did you find these old build instructions?

i found it here. I assume this whole repository could not be use again? https://github.com/lowRISC/ibex-demo-system-labs/blob/main/lab1.md

Yes, you can skip those instructions if you don't have an FPGA. Those labs were written with an old version of the demo system: https://github.com/lowRISC/ibex-demo-system/releases/tag/v0.0.3


Make sure the AST is up to date before adding an import.

It looks like my fix for #1000668 was not enough; the refactoring library
gets confused quickly if it doesn't have a completely typechecked AST.
This also fixes #1000599.

Looks good, go ahead with the merge!

That looks something we should have in release/scala-ide-2.0.x branch, no?


Better error messaging when port is already in use.

Now the program just stops when the port is already in use.
It even gives the wrong message:
starting on port: 8080 for directory presentation
We might give a reason why it can't start the server.

fixed with eae4fb9235554aa55bef7689cb9cb0cdc57b1782

just build a v0.5.1 release with both fixes :)


Kubernetes ?

First of all this project sounds promising.
I may be kilometers away, because even if I'm tiny KVM/QEMU user, I'm clearly out regarding drivers/docker capabilities involved...
By advance, sorry if this issue is beyond supported use cases.
I try to use  dockurr/windows:latest on my K3S Kubernetes cluster (linux based).
My environment:
$> kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

Do I have a chance to make it run ?
I created such deployment:
apiVersion: apps/v1
kind: Deployment
metadata:
  name: windows
  namespace: test
spec:
  progressDeadlineSeconds: 600
  replicas: 1
  revisionHistoryLimit: 10
  template:
    spec:
      containers:
        - image: dockurr/windows:latest
          imagePullPolicy: IfNotPresent
          name: windows
          ports:
            - containerPort: 8006
              name: vnc
              protocol: TCP
            - containerPort: 3389
              name: rdp-tcp
              protocol: TCP
            - containerPort: 3389
              name: rdp-udp
              protocol: UDP
          resources: {}
          securityContext:
            allowPrivilegeEscalation: true
            capabilities:
              add:
                - NET_ADMIN
                - NET_BIND_SERVICE
                - NET_BROADCAST
                - NET_RAW
                - AUDIT_CONTROL
                - FOWNER
                - MKNOD
                - SETGID
                - SYS_CHROOT
                - AUDIT_WRITE
                - DAC_OVERRIDE
                - FSETID
                - KILL
                - SETPCAP
                - SETFCAP
                - SETUID
            privileged: false
            readOnlyRootFilesystem: false
            runAsNonRoot: false
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: File
          volumeMounts:
            - mountPath: /storage
              name: matlab-windows
            - mountPath: /dev/kvm
              name: kvm
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      terminationGracePeriodSeconds: 30
      volumes:
        - hostPath:
            path: /var/lib/rancher/k3s/storage/bind-mount-matlab-windows
            type: Directory
          name: matlab-windows
        - hostPath:
            path: /dev/kvm
            type: CharDevice
          name: kvm

On run, I get this :
Container: windows
Filter
Disconnected
❯ Starting Windows for Docker v2.08...
❯ For support visit https://github.com/dockur/windows

2024-04-04T16:24:12.949854390Z RTNETLINK answers: File exists
❯ ERROR: Failed to create bridge. Please add the following setting to your container: --cap-add NET_ADMIN

Thanks by advance for any inputs.
Best regards.

Indeed, this works with privileged: true
Great thanks !


Install Tailwind + Mix and adds basic mobile view

Fixes #5  and #3

Stack things and improves the usage of the available space on mobile views.

Hey @sjardim ! Thanks for this PR, I think it looks great!
For the time being, I'm going to close this because the mobile view was already added in #20. Someone else already has an open PR to add Vite instead of Mix (#19), but if that PR doesn't end up getting merged, I'll use this one instead.
I like how you've split out the cards into their own component file. If you were open to pulling down the latest version of master and doing that again, I'd be more than happy to merge it in 😄


TO: "Server Checks" page could not load

Found in TC 2.1
Errors in /var/log/traffic_ops/extensionCheck.log:
Can't use string ("1") as an ARRAY ref while "strict refs" in use at /opt/traffic_ops/app/bin/checks/ToCHRCheck.pl line 96.
2017/12/26 00:09:01 $VAR1 = {
'code' => '403',
'message' => 'Forbidden'
};

@zhilhuan - can you close this?

@mitchell852 closed. Thanks!


Recursive population in queries

Issue #308 was closed prematurely. It's no use saying we should subscribe to an issue for updates and then just closing the issue.

We have https://github.com/balderdashy/waterline/pull/1052 that is almost ready to be merged.

@particlebanana waiting your PR on my repo

+1

do they have any time estimates on #1052 it would be really nice to have this. I'm using hapi-waterline, but i'm hoping just by updating its supporting waterline once this is merged with the master branch that it will work out of the box.


Run proto-build automatically with GitHub Actions

Adds a rebuild-protos GitHub Actions workflow to automatically run proto-build every time a commit is merged/pushed to the main branch.
After running rebuild-protos, if there are any changed files, it uses the peter-evans/create-pull-request GitHub Action to open a PR with those changes automatically, thus ensuring cosmos-sdk-proto is reproducible and automating the work of regenerating the protos so it can be kept out-of-band with other PRs.
If no files are changed, the workflow otherwise completes successfully.
Note that this is using a 3rd party GitHub Action, and exposing the repo's GITHUB_TOKEN to it. However, the action is pinned to the latest release<EMAIL_ADDRESS>effectively making it trust-on-first-use (i.e. if future updates to the action introduce malware, we will not be affected unless we choose to bump versions. If however the malware is already there, we're vulnerable).
If we're really worried, we can do a quick audit of the code and/or fork the action, either of which might be wise.

This is unfortunately the sort of PR that you can only test by merging, especially as the workflow is configured to be "on push" to main.
I'll just say that this is adapted from the GitHub Action we use on @RustSec to automatically assign advisory IDs after PRs are merged and it's been working quite well in that capacity.

Re: pinning third party actions, I've discovered versions are insufficient since they're just tags that can potentially be changed in the upstream repo. The only way to pin immutably is to a commit hash.
If we're not too worried about supply chain attacks and think the branch protections are sufficient, that's fine by me as well.


Clean install of napari fails using pip

🐛 Bug
Following the instructions to install napari fails for me.
To Reproduce
Steps to reproduce the behavior:

conda create -y -n napari-env -c conda-forge python=3.9
conda activate napari-env
pip install "napari[all]"

The last command errors out with
Collecting PyQt5!=5.15.0,>=5.12.3
  Using cached PyQt5-5.15.8.tar.gz (3.2 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [23 lines of output]
      Querying qmake about your Qt installation...
      Traceback (most recent call last):
        File "/Users/dstansby/mambaforge/envs/napari-env/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 144, in prepare_metadata_for_build_wheel
          hook = backend.prepare_metadata_for_build_wheel
      AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "/Users/dstansby/mambaforge/envs/napari-env/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
          main()
        File "/Users/dstansby/mambaforge/envs/napari-env/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/Users/dstansby/mambaforge/envs/napari-env/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 148, in prepare_metadata_for_build_wheel
          whl_basename = backend.build_wheel(metadata_directory, config_settings)
        File "/private/var/folders/m4/v0b71w0s22z34l90psw9j82w0000gn/T/pip-build-env-ravz8xlg/overlay/lib/python3.9/site-packages/sipbuild/api.py", line 46, in build_wheel
          project = AbstractProject.bootstrap('wheel',
        File "/private/var/folders/m4/v0b71w0s22z34l90psw9j82w0000gn/T/pip-build-env-ravz8xlg/overlay/lib/python3.9/site-packages/sipbuild/abstract_project.py", line 87, in bootstrap
          project.setup(pyproject, tool, tool_description)
        File "/private/var/folders/m4/v0b71w0s22z34l90psw9j82w0000gn/T/pip-build-env-ravz8xlg/overlay/lib/python3.9/site-packages/sipbuild/project.py", line 601, in setup
          self.update(tool)
        File "project.py", line 166, in update
      sipbuild.exceptions.UserException
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Expected behavior
napari installs succesfully.
Environment

Please copy and paste the information at napari info option in help menubar here:

Any other relevant information:

Additional context

What platform are you on? architecture?
The failure is due to lack of a PyQt5 wheel on pypi.
What you can try is to install it from conda into your env:
conda install -c conda-forge pyqt
and then pip install napari which will not try to get pyqt5 from pypi.

I'm on macOS Ventura with an M1, which would explain why PyQt doesn't have a wheel. I can't find anywhere (apart from a mailing list) to report or request that upstream.
Installing pyqt from conda worked well. In terms of improving the install instructions here, I think it's worth saying that installing using pip can sometimes fail, and directing users to try conda if it does fail. I can open a PR for that.

There is such PR https://github.com/napari/docs/pull/89
But it will be nice if next person with macOS ARM experience rewiew it.

That would do it. there are no Qt5 wheels on pypi for arm64 (no pyqt5, no pyside2).
So on arm64 you need to provide the QT backend, either build yourself, use conda-forge, or install Qt6 from pypi.
We actually have a docs PR addressing this:
https://github.com/napari/docs/pull/89
Even once it's merged it's a bit of an issue because it will be in the dev docs and not what you get at napari.org.

Woops, I spoke too soon. Installing pyqt from conda:
conda create -y -n napari-env -c conda-forge python=3.9 pyqt
conda activate napari-env
python -m pip install "napari[all]"

actually still tries to install PyQt5 using pip. It doesn't seem to error out immediately, but I don't fancy waiting for it to build from source!

It's because you are using napari[all] which is just napari[pyqt] under the hood.
If you provide your own QT, then use just pip install napari

actually still tries to install PyQt5 using pip. It doesn't seem to error out immediately, but I don't fancy waiting for it to build from source!

It is solved here #5438, but also has not been released yet.
@psobolewskiPhD, we need to push the release, but it requires a release manager...

Ah that worked, thanks! For the user facing install instructions, is there a good reason not to recommend installing using conda first so the first set of instructions you come to in the docs works for all platforms?

is there a good reason not to recommend installing using conda first so the first set of instructions you come to in the docs works for all platforms?

Many user does not have conda, not all plugins have a conda version, and mixing (part of packages installed from conda, a part from pip) conda with pip may lead to multiple problems.

@Czaki that PR changes [dev] while here the question is [all] and the general install instructions.
@dstansby That's being discussed in the docs PR:
https://github.com/napari/docs/pull/89#issuecomment-1384675344
and on zulip: https://napari.zulipchat.com/#narrow/stream/270578-reviews/topic/docs.2389

@Czaki If we edit the README: https://github.com/napari/napari#installation
That bypasses release right? it just goes live when merged? So could add something like:
Note: `pip install "napari[all]"` installs the default Qt framework—currently PyQt5—in addition to napari, from PyPI. If there are no wheels (binaries) available for your platform, this will fail. However, you can install a Qt framework from conda-forge, for example `conda install pyqt`, and then `pip install napari` to just install napari.

(I think people may think all means more than just pyqt)

@dstansby feedback on https://github.com/napari/docs/pull/89 very welcome.
If you think those instructions would have helped prevent/solve this issue or you have an option on (or experience with) Rosetta2 python, we're all ears.

@dstansby I made some changes to adress your comments and @jni merged https://github.com/napari/docs/pull/89
Of course those docs won't be on the stable page until a release, but they are available if someone selects dev from the version switcher—not so obvious.
So the last thing we could do is modify the README on GitHub, as per:
https://github.com/napari/napari/issues/5515#issuecomment-1408508046
Anyone have any thoughts on that?

Thanks! I think the improved docs in https://github.com/napari/docs/pull/89 address this so I'll close. If I find any more issues/have any other suggestions I'll open a new issue or pull request over in the docs repo.