Observable that is created by a generator can't repeat

Bug Report
Current Behavior
Observable that is created by a generator can't repeat.
Reproduction

REPL or Repo link: https://codesandbox.io/s/stupefied-hermann-5o802?file=/src/index.js

of course it works
from([0, 1, 2])
  .pipe(repeat(3))
  .subscribe(console.log);

but below doesn't work
function* gen() {
  let i = 0;
  while (true) {
    yield i++;
    if (i > 2) return;
  }
}
from(gen())
  .pipe(repeat(3))
  .subscribe(console.log);

Expected behavior
from(someGeneratorObject).pipe(repeat(3)) also should repeat.
Environment

Runtime: Node v12.9.1, Chrome v81.0.4044.138
RxJS version: 6.5.5

I think this is the expected behavior and it's how iterators work:
const iterator = gen();
iterator.next(); // 0
iterator.next(); // 1
iterator.next(); // 2
iterator.next(); // undefied, iterator is done
iterator.next(); // undefied, iterator is done
...

If you want to get a new iterator with each new subscription, you can use defer:
defer(() => gen()) //or  from(defer(() => gen()))
  .pipe(repeat(3))
  .subscribe(console.log);

It works as you expected

As Toni has explained, what you are seeing is the expected behaviour.


Spark/ADAM Pipeline

First copy of working Spark/ADAM pipeline. Some issues remaining, but this is a reasonable working copy for now. Hold off on merging; this depends on changes that are not yet merged into ADAM. I have a custom build with these changes in a branch of cgl-docker-lib.

@fnothaft where would you like review comments for this and related?
The diff for https://github.com/bigdatagenomics/adam/compare/master...fnothaft:ssf-plus-599 is quite large.

@heuermh The ssf-plus-559 is https://github.com/bigdatagenomics/adam/pull/901 and https://github.com/bigdatagenomics/adam/pull/906 as a single branch. Can you comment on all three pull requests on their individual pull request? Thanks!

@almussel can you review? I think this is good to merge.

We will merge https://github.com/bigdatagenomics/adam/pull/906 shortly and work on the ADAM issue you reported today, but I think this is ready.

Looks good to me!

+1

Created a pull request to address review comments here:  https://github.com/fnothaft/toil-scripts/pull/2
@almussel could you review?

+1

@hannes-ucsc can you remove the needs work tag? I think this is good to go, pending @almussel's review.
@almussel can you review a4f33a4? This mounts ephemeral storage as an HDFS volume. We depend on https://github.com/BD2KGenomics/cgl-docker-lib/pull/68 now.

Yes, there already are other things in /mnt/ephemeral and HDFS should operate within a subdirectory thereof.
I am ok with the workaround of creating /mnt/ephemeral/hdfs inside the container for now. In the container it would be /hdfs/hdfs, so you may want to consider -v /mnt/ephemeral/:/ephemeral/:rw or even -v /mnt/ephemeral/:/mnt/ephemeral/:rw to make it less confusing.
In the long run there is /var/lib/toil which is bind-mounted by cgcloud from /mnt/persistent/var/lib/toil.  Most scripts in toil-scripts set the working dir to that directory (via Toil's --workDir flag). You can then use job.fileStore.getLocalTempDir() within a job to get a job-specific temporary directory somewhere underneath --workDir. The catch is that currently the bind mount is hardwired to the persistent volume, not the ephemeral one which is what you would want. I think that is a mistake and it can easily be changed. In
https://github.com/BD2KGenomics/cgcloud/blob/master/toil/src/cgcloud/toil/toil_box.py#L77
persistent=True should be persistent=False. I will make that change now. It's up to you if you want to upgrade cgcloud and create a new toil-box image or if you want to go ahead with the hack.
Also think about clean-up.

@fnothaft, @massie and @heuermh now have write access to the repo which should enable you to add and remove labels.

@fnothaft, @massie and @heuermh now have write access to the repo which should enable you to add and remove labels.

Thanks! Worked on my side.
Will update this with the small comments from above tomorrow AM.

I'm confused. You took off the needs work label but you say you will update this again?

@hannes-ucsc Sorry, may have been a misunderstanding about the tag. I'd assumed it meant something like "this work is incomplete and not ready for review". I'll add the tag back and remove it when all PR comments are addressed.

Actually, looks like you can't add or remove tags from the GitHub mobile web UI... I'll sort the tags out once I'm back on my work machine.

OK, let's forget about the label.
Can this be merged?

@hannes-ucsc this is good to go from my side now. I made the last fixes to address your earlier comment. This depends on https://github.com/BD2KGenomics/cgl-docker-lib/pull/68, which I saw you just merged.
If you can merge this, I am going to make a follow-on PR to address @almussel's Spark/disk issue that we were discussing via email.


ClientSocket not a valid WebSocket

I am trying to execute the code as is on the GCP. It builds successfully, but throws the following error on execution. Any help is really appreciated!
SendServlet doPost: Error sending message over socket: ClientSocket is not a valid WebSocket object.  Object must obey one of the following rules:  (SendServlet.java:52)
(1) class implements org.eclipse.jetty.websocket.api.WebSocketListener or
(2) class is annotated with @org.eclipse.jetty.websocket.api.annotations.WebSocket

Please ask questions on StackOverflow, if you still need an answer, you may reopen this issue.


validator for empty array

fixes #82 based on the infos in the issue from @johnwillyn (Thx :+1: )
And I added a npm-script for tdd...

Awesome, thanks for doing this!

Np. Have a nice WE.

Hi Guys,
Thanks for looking into this so quickly.
I may be wrong about this (as I have only a limited working knowledge of this code), but I think the ‘|| !b.length’ expression needs to be added to the ‘and’ function:
function and(validator) {
return function(a, b) {
if (!isArray(b) || !b.length) return validator(a, b);
for (var i = 0, n = b.length; i < n; i++) if (!validator(a, b[i])) return false;
return true;
};
}
I only mentioned this in my original report.  Perhaps the ‘and’ operation is handled in some other path.
Thanks again,
John

On Sep 11, 2015, at 10:22 AM, Christoph Hermann<EMAIL_ADDRESS>wrote:
Np. Have a nice WE.
—
Reply to this email directly or view it on GitHub https://github.com/crcn/sift.js/pull/83#issuecomment-139559695.

Yes, I think you are right. I missed that one, sry. Will create a PR tomorrow or if you like you can.

Done.  I created a PR.  I was not able to get on before now as I had a sketchy connection while on vacation in the FL Keys.

On Sep 12, 2015, at 8:53 AM, Christoph Hermann<EMAIL_ADDRESS>wrote:
Yes, I think you are right. I missed that one, sry. Will create a PR tomorrow or if you like you can.
—
Reply to this email directly or view it on GitHub https://github.com/crcn/sift.js/pull/83#issuecomment-139759019.


chore: cleanup changelog.md

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


show game logs in the chat

things to log:

someone got reset
someone won the game
someone started a new game

we should probably do this in GameServer to persist the logs on browser refresh

'tis done


Increase in memory usage between TSDB v2.33.5 and v2.35.0

What did you do?
I ran a load test with two different version of Thanos receive leveraging TSDB and pinned to the following commits:

v0.25.2 Thanos -> 692a54649ed7
v0.27.0 Thanos -> 03831554a519

The test is pushing twenty million active series over 3h. The configuration for both runs was exactly the same. Six
Thanos receive replicas with exactly the same args and resources etc. The tests were run on an OpenShift cluster.
What did you expect to see?
I expected to see no significant difference between the memory consumption across both runs.
What did you see instead? Under which circumstances?
The tests were run at different times so the v0.27.0 graph is offset by 3hrs.
After summing by version, we can see a significant difference in memory usage on the newer TSDB after some time:

We can see across the two runs that we are remote writing the same number of series:

Side by side view:

View per Pod overlayed:

System information
No response
Prometheus version
No response
Prometheus configuration file
No response
Alertmanager version
No response
Alertmanager configuration file
No response
Logs
No response

cc @codesome @fpetkovski 🤗

I wonder if we can run the same test on Thanos 0.27 with an older Prometheus version. This way we can tell whether the memory increase is caused by TSDB or Thanos.

I wonder if we can run the same test on Thanos 0.27 with the Prometheus version from 0.25.2. This way we can tell whether the memory increase is caused by TSDB or Thanos.

Yes, let me follow up with that

Following up as promised to @fpetkovski suggestion around building Thanos v0.27.0 with the 0.25.2 TSDB
I made the required changes and pushed to my branch and docker image docker.io/philipgough/thanos:custom
 docker cp  $(docker create --name thanos-custom-tsdb docker.io/philipgough/thanos:custom):/bin/thanos /tmp/thanos-custom && go version -m /tmp/thanos-custom | grep github.com/prometheus/prometheus
        dep     github.com/prometheus/prometheus        v1.8.2-0.20211119115433-692a54649ed7
        =>      github.com/prometheus/prometheus        v1.8.2-0.20211119115433-692a54649ed7    h1:8rwRA5BKEAWtawaP4ozroDm3xMDrp9POAoT3HkQ3ZHw=

We can see that the dependencies align with whats in v0.25.2

Interestingly enough the custom build track almost identically with v0.27.0 while v0.25.2 still outperforms.
For interests sake, I then ran the same test with thanos main, which uses a newer TSDB and which shows an improvement over v0.27.0 but is also outperformed by the older version.
Perhaps this highlights an issue in Thanos directly or is intermittent?
I will try to reproduce locally and investigate further.

pprof might help as well.

I set up a proxy to mirror requests which enabled me to avoid offsetting the graphs. The results tracked almost identically between the two versions that were originally reported.
I am going to close the issue based on that result since it seems like there were other factors involved when tracking the run at different times!


Client Allocation Request for: Smashacakebrisbane

Client Allocation Questions
Core Information

Name: Smashacakebrisbane
Website / Social Media: www.smashacakebrisbane.com.au
Region: Oceania
DataCap Requested: 5TiB
Addresses to be Notarized: f17puvt5i5vtxmryxw4yqthnv45wn6vrtsgkqdutq
Notary Requested: MegTei

@dalicejor Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Request Approved
Your Datacap Allocation Request has been approved by the Notary
Message sent to Filecoin Network

bafy2bzacedgzhfrwuxh5ocbp2bwrowyhc66wksszor5snqqhmkve2r7n4aluc

Address

f17puvt5i5vtxmryxw4yqthnv45wn6vrtsgkqdutq

Datacap Allocated

NaNB

Signer Address

f1ystxl2ootvpirpa7ebgwl7vlhwkbx2r4zjxwe5i

You can check the status of the message here: https://filfox.info/en/message/bafy2bzacedgzhfrwuxh5ocbp2bwrowyhc66wksszor5snqqhmkve2r7n4aluc

@dalicejor 5TiB has been granted as requested, let me know if you need anything further


Add the tasks of "NLP benchmark with GUI"

Available tasks are limited to MiniWob++ currently.
We would like to add some tasks of "NLP benchmark with GUI."
For this purpose, we will need:

external task server
(the migration to the docker compose to integrate the server with RecGUI)
change in the design of the task sequence definition

An external task server, nlpb_gui, was added as a proof of concept.
nlpb_gui provides MNLI, STSB, and SQuAD examples with a simple UI for navigation.


[main] Upgrade to latest dependencies

release -dprotaso
/cc knative-sandbox/kn-plugin-operator-approvers
/assign knative-sandbox/kn-plugin-operator-approvers
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/pkg a01dfed...4a03844:
  > 4a03844 fix double close of channel (# 2575)
  > f78a006 upgrade to latest dependencies (# 2573)
  > d02dcd0 allow drainer to be reset (# 2572)
  > 894c2f2 SetupStaticPublishing and SetupDynamicPublishing returns Tracer with Shutdown function (# 2566)
  > 4f6a775 Remove pkg/pool (# 2568)
  > 9a1245b Update actions (# 2571)
  > 0049fdd Update community files (# 2570)
  > 52261a1 Update community files (# 2569)
  > 7b8b060 Add tracing.SetupDynamicPublishingWithInitialValue (# 2558)
bumping knative.dev/hack 9dabf7c...e9a8475:
  > e9a8475 Update community files (# 208)
  > 4621ee6 Update community files (# 207)
bumping knative.dev/operator bef2ecf...44f993d:
  > 44f993d upgrade to latest dependencies (# 1185)
  > b7944c3 Remove the sources if they are disabled (# 1175)
  > 277c783 Remove the disabled ingresses (# 1176)
  > b12d138 upgrade to latest dependencies (# 1183)
  > adf4913 Add the webhook for future CRD future conversion (# 1182)
  > 842d261 upgrade to latest dependencies (# 1181)
  > 21085a5 Change the order of resources and revert the webhook changes (# 1179)
  > 2c29190 Update actions (# 1178)
  > 11ff05b Update community files (# 1177)
  > 5869305 Add the version as the paramater for the fetcher (# 1174)
  > 290b9c7 upgrade to latest dependencies (# 1169)
  > 8dade8b Update community files (# 1168)
  > bb5ad72 Add the permission for rabbitmq (# 1161)
  > 8d8d2c6 Resolve the server-apply CRD conflicts by adding a dummy webhook (# 1159)
  > e0d5ef6 Tolerate the case that the existing eventing version is not found (# 1160)
  > dbb916c upgrade to latest dependencies (# 1156)
  > b879b3e upgrade to latest dependencies (# 1154)
  > 360cd5e upgrade to latest dependencies (# 1152)
  > a4f46d3 upgrade to latest dependencies (# 1151)

/lgtm
/approve


Exclude options and notPath not used

Hello,
I've updated from v1 to v2. But my exclude and notPath configuration are ignored.
This is the configuration file I use: https://gist.github.com/nWidart/832b717eab6652b2262dbc33a18bb393
I've tried having the exclude rules as an array, but same issue.
The gist above also contains the output I'm getting with --dry-run.
Am I missing something?
Thanks,
$ php -v: PHP 7.0.15 (cli) (built: Jan 23 2017 15:06:38) ( NTS )
$ php-cs-fixer -V : PHP CS Fixer 2.3.2 by Fabien Potencier and Dariusz Ruminski
I'm using a globally installed php-cs-fixer with composer.

Aha found the issue,
in version 1 I could run php-cs-fixer fix . but in v2 I need to remove the dot, to just php-cs-fixer fix
Sorry for the trouble.


Is this project still maintained?

I am wondering if this project is actually still maintained?  It seems that activity from contribs has vanished and many issues (and PRs) seem to be quite stale and outdated.

I responded to your email.

Hello @mikeerickson, @iamdtang.
Thank you very much for your efforts on this project. I really love to use it. ❤ 👏 🙇
I just want to ask the same question after five years;
"Is this project still maintained?"


fix: Support case insensitive digger commands

closes #344
Issue Description:
Requested by user:
Digger commentOps currently only work with exact lowercase "digger plan", "digger apply" etc.
Digger should be able to also support case insensitve commands such as "Digger plan" and so on since it is more forgiving.
Proposal: make digger case insensitive by default, allow users to make it case sensitive through some parameter passed into composite action case-sensitve (defaults to false)

@veziak next time you should see the assignees  of an issue before opening a PR. i was assigned and worked on it. why did you open a PR then?

Hi @tarunsamanta2k20 , apologies! I should have communicated it better. We wanted that feature to be included into the release we created yesterday and it was easier to create a new PR.


ins_pseudo_label_train.p

excuse me,could you tell me the "ins_pseudo_label_train.p" this file is how to get?

Hi, as I understand, we don't need to get it, it'll be generated by MIL aggregator (in train_MIL function).

excuse me,could you tell me the "ins_pseudo_label_train.p" this file is how to get?

Hi, as I understand, we don't need to get it, it'll be generated by MIL aggregator (in train_MIL function).

Thanks a lot for your detailed explanation, and sorry for the late response. I get it now that this file is automatically generated by the MIL aggregator when running the train_MIL function. If you don't mind me asking, how did your reproduced results compare to those reported in the paper? Were there any noticeable differences? Thanks again for your help!

excuse me,could you tell me the "ins_pseudo_label_train.p" this file is how to get?

Hi, as I understand, we don't need to get it, it'll be generated by MIL aggregator (in train_MIL function).


launch error on parrot os

when i try to launch Winpayloads :
Traceback (most recent call last):
File "./WinPayloads.py", line 2, in
from lib.main import *
File "/opt/Winpayloads/lib/main.py", line 8, in
import blessed
ImportError: No module named blessed

pip install  blessed
Requirement already satisfied: blessed in /usr/local/lib/python3.6/dist-packages (1.15.0)
Requirement already satisfied: six>=1.9.0 in /home/mc/.local/lib/python3.6/site-packages (from blessed) (1.11.0)
Requirement already satisfied: wcwidth>=0.1.4 in /usr/local/lib/python3.6/dist-packages (from blessed) (0.1.7)

resolved thank you


can I talk to you ?

my email: lucasmzainote at gmail.com

Yes. I have send you one email

I was having a little issue with your appimage, there's some game like god
of war in the version opengl that was having very slow fps and a few bugs.
How do I fix it ?
Em domingo, 23 de fevereiro de 2020, DanielDevBR<EMAIL_ADDRESS>escreveu:

Closed #4 https://github.com/ferion11/PCSX2_Appimage/issues/4.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ferion11/PCSX2_Appimage/issues/4?email_source=notifications&email_token=ANGJM2ECVMZPMHK3Q454QZTRELMVNA5CNFSM4KZ5OINKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOW2ODEGQ#event-3063689754,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANGJM2DUHG4MYL37JER7HITRELMVNANCNFSM4KZ5OINA
.

Do you speak portuguese ? I guess yes because you habe br in your name.
Sabe rapaz eu vou dar uma melhorada na minha maquina aqui, porque eu estou
sozinho e também estou desempregado cerca de um ano e dois meses agora e
minha familha está longe de mim então como não tenho amigos e tal pelo
menos vou ter algo a mais do que ficar atoa em casa, isso vai custar muito
mais talvez meus pais que moram longe me ajudem.
Em domingo, 23 de fevereiro de 2020, Lucas Machado zainote <
<EMAIL_ADDRESS>escreveu:

I was having a little issue with your appimage, there's some game like god
of war in the version opengl that was having very slow fps and a few bugs.
How do I fix it ?
Em domingo, 23 de fevereiro de 2020, DanielDevBR<EMAIL_ADDRESS>escreveu:

Closed #4 https://github.com/ferion11/PCSX2_Appimage/issues/4.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ferion11/PCSX2_Appimage/issues/4?email_source=notifications&email_token=ANGJM2ECVMZPMHK3Q454QZTRELMVNA5CNFSM4KZ5OINKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOW2ODEGQ#event-3063689754,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANGJM2DUHG4MYL37JER7HITRELMVNANCNFSM4KZ5OINA
.


replayweb-page 1.3.8

Microsoft Reviewers: Open in CodeFlow

Appears to use a proxy: https://ghproxy.com/

@oxygen-dioxide can you share why you were using the proxy?  Is \ was it providing some service I am not familiar with?
@denelon

@oxygen-dioxide can you share why you were using the proxy? Is \ was it providing some service I am not familiar with?
@denelon

Because github downloads very slow in mainland China without this proxy.

@oxygen-dioxide Thanks for clarifying.  I will not reject anymore of these and investigate if we can approve with the proxy.


Task that edits en existing release.

See GitHub API documentation.

This feature is available via updateGitHubRelease task which either creates a new or updates an existing.


Epic: Automated log and data collection

This will track tasks needed to fully automate collection of data and logs to troubleshoot any submariner issues in deployments.

[x] Add subctl sub-command to gather logs and data from a specific cluster #1152
[x] Add an option to gather data sub-command to gather data from all clusters #1218
[x] Generate tarball with all the gathered data
[ ] Modify gather data sub-command to selectively collect logs and data based on related failures
[x] Capture logs from submariner-operator pods #1143
[x] Capture logs from all submariner/connectivity pods #1143
[x] Capture logs from all service discovery pods #1143
[x] Capture all data present on broker #1154
[x] Capture data from operator and related config CRs #1155
[x] Capture data from submariner/connectivity resources like Clusters, Gateways, configmaps etc. #1156
[x] Capture data from service discovery resources like ServiceExports/Imports, Endpointslices, configmaps etc. #1158
[x] Capture data specific to CNI/CableDriver specific #1157
[ ] Add subctl sub-command to change debug verbosity level for specific pods before gathering data
[x] Add e2e tests for the new subctl gather command #1194
[x] Add log file to include additional info of note during the collection process, eg how many resources of a type were collected.

https://github.com/submariner-io/submariner-operator/pull/1188


Keyboard shortcuts interfere with form input

Sorry for short details at the moment but if the toolbar is enabled, I can't fill out forms on the site. The keyboard shortcut hijacks the clicks and switches to structure mode, etc. Any way to disable shortcuts globally?

There's no way to disable them, but they shouldn't be enabled when a form field is focused, thanks for the report.


Documentation update for layered section

Expected Behavior
The documentation states:
The plugin creates a "layered" application in build/layers and from that directory you can run java -jar myapp.jar. It works because that directory contains a lib directory with all the libraries and a resources directory with the configuration. Keep in mind that copying the only .jar file to another directory won't work.
So I assume from this block that layers should be located in the build/layers folder.
Actual Behaviour
Since Micronaut 3 they're located in the build/docker/layers folder.
Steps To Reproduce
Run gradle build command for any Micronaut 3 project.
Environment Information
No response
Example Application
No response
Version
3.0.3

The offending code seems to be located here at least - https://github.com/micronaut-projects/micronaut-gradle-plugin/blob/a499581cb81c4c059644e6ca81cc0c06bbe74f0b/src/main/java/io/micronaut/gradle/docker/tasks/BuildLayersTask.java#L29
and it was updated by #179 but no documentation update was added.

This seems to have "broken" more with the 3.1 plugin update, and at least on my machine, it now adds the sourceSet path as well, so you get docker/main/layers, assuming you only have a single sourceSet called main.

This seems to have "broken" more with the 3.1 plugin update, and at least on my machine, it now adds the sourceSet path as well, so you get docker/main/layers, assuming you only have a single sourceSet called main.

@frehov Yes, you're right. And plugin documentation is not updated yet.


Break out File Ingress / Egress as separate functions

Ingress() and Egress() should work Route to the needed functions, right now the Code is inside those functions, Break it out so that its easier to test

Fixed,


Added Password_Generator in Python.

Also added Anushka Mandal to Contributors list

@nightcore420 pls check the pr

Kindly check my pr @nightcore420


A single method not being fired in instanced environment

Describe the bug
Problem: Everything works! EVERYTHING except player death and respawn in what appears to be anything but Arena 1. I have not tested this in more than 2 instances, that part is just an assumption.
Things that are working in their respective instances:

Player spawning server side (invisible) projectiles and moving them to the appropriate instance (hold left click to fire)
Player picking up and dropping server side items (visible in hand and when dropped) by pressing F.
Switching back and forth between Arenas (Esc menu)
Players and networked objects are not visible between instances
Health is decremented by server side projectiles colliding with player (this includes Arena 2)

But for some reason, the health will decrement, but it never seems to be able to call the Kill command (which just disables renderers/colliders) or the Respawn command (which looks for respawn areas and spawns randomly) on death in Arena 2, but it works perfectly fine if a player is killed by a player in Arena 1
Repro project
Project shared with Coburn and Paul via Discord DM
To Reproduce
Steps to reproduce the behavior:

Import package, import mirror. Build settings set scenes as 0: Offline, 1: Online, 2: PublicTestArena
Create a build, launch 2 copies of the game (1 as Server and 1 as client)
Press Play from "Offline" scene in Editor and join as client
Have both CLIENTS join Arena 2 by clicking the Arena 2 button, press Esc to enable movement
Have build client shoot editor client and see the Debug Log decrementing health.
Client will never die.  However, have both clients switch to Arena 1 (press Esc to bring that menu back) and shoot each other, players will die when health reaches 0.

Expected behavior
Players should "die" and respawn when health reaches 0, but this only happens in Arena 1.
Desktop (please complete the following information):

OS: [Windows 10 1903]
Build target: [Windows]
Unity version: [e.g. 2018.4.14]
Mirror branch: [9.0.2]

The bug was just simple changes in the provided example


Crash report

"name" = "netscanner"
"operating_system" = "Arch Linux [64-bit]"
"crate_version" = "0.5.2"
"explanation" = """
Panic occurred in file 'src/components/interfaces.rs' at line 101
"""
"cause" = "index out of bounds: the len is 0 but the index is 0"
"method" = "Panic"
"backtrace" = """

   0: 0x5923bc0b7407 - <unresolved>
   1: 0x5923bc167de3 - <unresolved>
   2: 0x5923bc142772 - <unresolved>
   3: 0x5923bc110f16 - <unresolved>
   4: 0x5923bc0edc37 - <unresolved>
   5: 0x5923bc117442 - <unresolved>
   6: 0x5923bc0e3b46 - <unresolved>
   7: 0x5923bc117791 - <unresolved>
   8: 0x5923bc472a10 - <unresolved>
   9: 0x5923bc117534 - <unresolved>
  10: 0x7bcbed001e08 - <unresolved>
  11: 0x7bcbed001ecc - __libc_start_main
  12: 0x5923bc0b7985 - <unresolved>
  13:        0x0 - <unresolved>"""

This happened hours ago, and I'm not sure how "I triggered it".
I had netscanner running on background for a few hours on a terminal window, and I totally forgot about it.
When I remembered and came back to check on it, it had crashed.
Thanks.

Hi,
Thanks for the report. May I ask if this is some kind of virtual that you run it within ? This seems that You have no network interfaces available. But I really don't know how could this happen when it running a few hours and suddenly - this error ?
I'll fix this panic but I'm really curious how could this happen.

May I ask if this is some kind of virtual that you run it within

Nope. This is just my normal, home computer. It runs Arch with KDE, and the network configuration is managed by NetworkManager.

This seems that You have no network interfaces available

Hmmm, I do remember adding a new virtual network adapter because I was testing something... Maybe when I did that all interfaces were temporarily removed? I don't know, I'll check the system logs later and see if I find something to help me reproduce the crash again...

I couldn't reproduce the crash again, but I did find a lot of network-related activity in yesterday's system logs, right before (and after) I launched netscanner:
ago 05 16:37:07 arch systemd[1]: Starting Network Manager Script Dispatcher Service...
ago 05 16:37:08 arch systemd[1]: Started Network Manager Script Dispatcher Service.
ago 05 16:37:08 arch NetworkManager[552]: <info>  [1722886628.0176] device (enp3s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
ago 05 16:37:08 arch NetworkManager[552]: <info>  [1722886628.0177] device (enp3s0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
ago 05 16:37:08 arch NetworkManager[552]: <info>  [1722886628.0180] manager: NetworkManager state is now CONNECTED_SITE
ago 05 16:37:08 arch NetworkManager[552]: <info>  [1722886628.0182] device (enp3s0): Activation: successful, device activated.
ago 05 16:37:08 arch NetworkManager[552]: <info>  [1722886628.0199] manager: NetworkManager state is now CONNECTED_GLOBAL
ago 05 16:37:08 arch kdeconnectd[946]: 2024-08-05T16:37:08 kdeconnect.core: Failed to send mDNS query: Cannot assign requested address
ago 05 16:37:08 arch NetworkManager[552]: <info>  [1722886628.0565] audit: op="statistics" interface="enp3s0" ifindex=2 args="2000" pid=38621 uid=1000 result="success"
ago 05 16:37:09 arch NetworkManager[552]: <info>  [1722886629.8764] dhcp6 (enp3s0): activation: beginning transaction (timeout in 45 seconds)
ago 05 16:37:09 arch NetworkManager[552]: <info>  [1722886629.8769] policy: set 'Wired' (enp3s0) as default for IPv6 routing and DNS
ago 05 16:37:11 arch kernel: r8169 0000:03:00.0 enp3s0: Link is Down
ago 05 16:37:14 arch kernel: r8169 0000:03:00.0 enp3s0: Link is Up - 1Gbps/Full - flow control rx/tx
ago 05 16:37:14 arch NetworkManager[552]: <info>  [1722886634.5230] device (enp3s0): carrier: link connected
ago 05 16:37:18 arch systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
ago 05 16:37:18 arch sudo[47666]: pam_systemd_home(sudo:auth): New sd-bus connection (system-bus-pam-systemd-home-47666) opened.
ago 05 16:37:19 arch sudo[47666]:      gui : TTY=pts/4 ; PWD=/home/gui ; USER=root ; COMMAND=/usr/bin/netscanner
ago 05 16:37:19 arch sudo[47666]: pam_unix(sudo:session): session opened for user root(uid=0) by gui(uid=1000)
ago 05 16:37:20 arch kernel: r8169 0000:03:00.0 enp3s0: entered promiscuous mode
ago 05 16:40:29 arch kernel: r8169 0000:03:00.0 enp3s0: Link is Down
ago 05 16:40:32 arch kernel: r8169 0000:03:00.0 enp3s0: Link is Up - 1Gbps/Full - flow control rx/tx
ago 05 16:40:32 arch NetworkManager[552]: <info>  [1722886832.9862] device (enp3s0): carrier: link connected
ago 05 16:40:46 arch kernel: r8169 0000:03:00.0 enp3s0: Link is Down
ago 05 16:40:49 arch NetworkManager[552]: <info>  [1722886849.3673] device (enp3s0): carrier: link connected
ago 05 16:40:49 arch kernel: r8169 0000:03:00.0 enp3s0: Link is Up - 1Gbps/Full - flow control rx/tx
ago 05 16:41:51 arch kernel: r8169 0000:03:00.0 enp3s0: Link is Down
ago 05 16:41:55 arch NetworkManager[552]: <info>  [1722886915.1016] device (enp3s0): carrier: link connected
ago 05 16:41:55 arch kernel: r8169 0000:03:00.0 enp3s0: Link is Up - 1Gbps/Full - flow control rx/tx
ago 05 16:41:59 arch kernel: r8169 0000:03:00.0 enp3s0: Link is Down
ago 05 16:42:05 arch NetworkManager[552]: <info>  [1722886925.7798] device (enp3s0): state change: activated -> unavailable (reason 'carrier-changed', sys-iface-state: 'managed')
ago 05 16:42:05 arch kernel: r8169 0000:03:00.0 enp3s0: Link is Down
ago 05 16:42:05 arch NetworkManager[552]: <info>  [1722886925.7801] dhcp6 (enp3s0): canceled DHCP transaction
ago 05 16:42:05 arch NetworkManager[552]: <info>  [1722886925.7801] dhcp6 (enp3s0): activation: beginning transaction (timeout in 45 seconds)
ago 05 16:42:05 arch NetworkManager[552]: <info>  [1722886925.7801] dhcp6 (enp3s0): state changed no lease
ago 05 16:42:05 arch NetworkManager[552]: <info>  [1722886925.8477] manager: NetworkManager state is now DISCONNECTED
ago 05 16:42:05 arch systemd[1]: Starting Network Manager Script Dispatcher Service...
ago 05 16:42:05 arch systemd[1]: Started Network Manager Script Dispatcher Service.
ago 05 16:42:06 arch NetworkManager[552]: <info>  [1722886926.7987] device (enp3s0): carrier: link connected
ago 05 16:42:06 arch kernel: r8169 0000:03:00.0 enp3s0: Link is Up - 1Gbps/Full - flow control rx/tx
ago 05 16:42:06 arch NetworkManager[552]: <info>  [1722886926.7995] device (enp3s0): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'managed')
ago 05 16:42:06 arch NetworkManager[552]: <info>  [1722886926.8002] policy: auto-activating connection 'Wired' (ca110207-a8a4-4c0e-be5e-0812ffc6fc0c)
ago 05 16:42:06 arch NetworkManager[552]: <info>  [1722886926.8005] device (enp3s0): Activation: starting connection 'Wired' (ca110207-a8a4-4c0e-be5e-0812ffc6fc0c)
ago 05 16:42:06 arch NetworkManager[552]: <info>  [1722886926.8005] device (enp3s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
ago 05 16:42:06 arch kernel: r8169 0000:03:00.0 enp3s0: Link is Up - 1Gbps/Full - flow control rx/tx
ago 05 16:42:06 arch NetworkManager[552]: <info>  [1722886926.8007] manager: NetworkManager state is now CONNECTING
ago 05 16:42:06 arch NetworkManager[552]: <info>  [1722886926.8029] device (enp3s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
ago 05 16:42:06 arch NetworkManager[552]: <info>  [1722886926.8264] device (enp3s0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
ago 05 16:42:06 arch NetworkManager[552]: <info>  [1722886926.8272] policy: set 'Wired' (enp3s0) as default for IPv4 routing and DNS
ago 05 16:42:06 arch NetworkManager[552]: <info>  [1722886926.9705] device (enp3s0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
ago 05 16:42:06 arch NetworkManager[552]: <info>  [1722886926.9722] device (enp3s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
ago 05 16:42:06 arch NetworkManager[552]: <info>  [1722886926.9724] device (enp3s0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
ago 05 16:42:06 arch NetworkManager[552]: <info>  [1722886926.9727] manager: NetworkManager state is now CONNECTED_SITE
ago 05 16:42:06 arch NetworkManager[552]: <info>  [1722886926.9731] device (enp3s0): Activation: successful, device activated.
ago 05 16:42:06 arch NetworkManager[552]: <info>  [1722886926.9736] manager: NetworkManager state is now CONNECTED_GLOBAL
ago 05 16:42:06 arch kdeconnectd[946]: 2024-08-05T16:42:06 kdeconnect.core: Failed to send mDNS query: Cannot assign requested address
ago 05 16:42:08 arch NetworkManager[552]: <info>  [1722886928.4915] dhcp6 (enp3s0): activation: beginning transaction (timeout in 45 seconds)
ago 05 16:42:08 arch NetworkManager[552]: <info>  [1722886928.4921] policy: set 'Wired' (enp3s0) as default for IPv6 routing and DNS
ago 05 16:42:15 arch systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.

Yep. Netscanner, when scanning Wifi networks using iw will have to switch periodically from station to access point, especially when you're connected to the wifi. Also using packet dump and scanning will send a lot of ARP packets, and etc.
Crash probably happens because of one frame we're trying to get a list of interfaces right when the active interface link is down.

Hi,
Here is the fix: https://github.com/Chleba/netscanner/commit/81e0e8a387e9ba9f3700410d58cb9f5d05c4f3dc and it will be included in the next version.
Thank You for Your report :+1:


Nested rv-if don't rebind correctly

Hi all
I recently encountered this issues :
Consider this DOM

      <input rv-value='scope.data2'>{ scope.data2 }

If scope.firstDiv is set to false then true the secondDiv if correctly shwon but databinding is lost.
You can test it there : https://jsfiddle.net/jccazeaux/ou483fdj/
As you can see, databinding is lost when we toggle the level 1. To activate the databinding again we have to toggle the level 2.
This is a glitch in rv-if binder which doesn't reinit a bound flag. PR will follow

That was fast :smile:

:) I'm trying to get back on top of things. Do you think we're ready for a new version, and if so, do you know how we go about it?

I think we're ready for a 0.9. There was many updates since 0.8.1 and it's worth a release.
I don't think we leave important issues behind for now. I know there is still work on components but it can wait for a next release.
How we go about it? Well I don't really know. First we must synthetize all PR for the release notes (already done in issue #560) . Then build and go.

Ok, could you add your recent PRs to the list in #560? Then I will look into how we push a new version.

Done. I'll take some time to make sure no PR was missed.


Can't install on node > 10

when running npm i js-synthesizer --save it throws the following
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "10". Got "13.11.0"

could it be possible to allow not only node v10 but >10 too?
https://github.com/jet2jet/js-synthesizer/blob/master/package.json#L24
thanks

now i'm using yarn install --ignore-engines and it helps somehow

Thanks for the report.
I fixed this in #5, and will publish the new version of js-synthesizer in about 1 hour.


chore: bdd-spring-1583238513 to 0.0.1

chore: Promote bdd-spring-1583238513 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Logs available?

Hey tried to install this script but i get a error message:  throw an error when fetching server information
Discord seems to work but i think there is a problem with my rcon.

seems i missed a package, now it is working


Error building target: "Expected identifier or '('"

I'm getting this error while trying to build Connfa.
Xcode points out that the problem lays in DCProgramViewController.m line #16, which imports SVProgressHUD.h. What I understand from the buildtime output, Xcode looks for the SVProgressHUD.h at a location three direcotries upper than its operating position:
../../../SVProgressHUD/SVProgressHUD/SVProgressHUD.h

If I'm correct, the location where Xcode looks for SVProgressHUD.h is;
connfa-ios/Connfa/Classes/SVProgressHUD/SVProgressHUD/

Which is absent. I'm not a C programmer but I guess this absence breaks the syntax and several other errors like Unexpected '@' in program and '@end' must appear in an Objective-C context appears in the following lines.
Any idea how to fix this?

I figured that you have started using CocoaPods as dependency manager and the error was related to a missing dependency.
Apparently, your documentation regarding the project is obsolete. I suggest anyone having the same problem to first install CocoaPods:
$ sudo gem install cocoapods

Then edit the project Podfile and remove references to last two targets named DrupalCamp and DrupalCon, and update dependencies.
$ cd /path/to/project
$ pod install

After  these steps you can open your project in Xcode with this command and customize.
$ open Connfa.xcworkspace


Add recruitment_cycle to course and campus

Context
Recruitment cycle
Changes proposed in this pull request
Hardcode recruitment cycle for courses and campuses
Guidance to review
Check for recruitment cycle in /api/v1/courses

 Add endpoints to new rails api project


Update ClassicalSimulator to use simulation infrastructure

Related issue - #6343

Updated classical_simulator to use custom_state_simulator infrastructure #5417
used custom_state_simulator_test call interface in test file while testing.
Current test fail for me:

TypeError: ClassicalStateSimulator.__init__() missing 3 required positional arguments: 'initial_state', 'qubits', and 'classical_data'

@shef4 to fix the coverage failure you need to add more tests. tests that will cover the new lines you added, specifically these lines
************* cirq-core/cirq/sim/classical_simulator.py (4 uncovered)
Line   69 is new or changed but not covered:          return ClassicalStateTrialResult(
Line   70 is new or changed but not covered:              params, measurements, final_simulator_state=final_simulator_state
Line   71 is new or changed but not covered:          )
Line   76 is new or changed but not covered:          return ClassicalStateStepResult(sim_state)

Found 4 uncovered touched lines.

Hi @NoureldinYosri, in the Qualtran meeting I think it was mentioned that Classical Simulators are signed int types.
Would it be better to use the original _run() function and set state_type = Type[int] or state_type = type(int) as a default parameter?

these are two different things the state_type is the name of the class that will store the simulation state, this type should be a subclass of SimulationState class.
the conversation in the qualtran sync was about quantum number/registers. quantum numbers aren't represented explicitly in Cirq. Cirq deals with the qubits directly while Qulatran groups qubits to form registers that can then be used to represent numbers which can be signed/unsigned, integer/float, ..etc. Cirq and Qualtran are two different libraries and have different scopes.

Hi @NoureldinYosri, I'm not sure what is causing this CI fail, any insight would be really appreciated.
FAILED dev_tools/docker_test.py::test_docker_pre - assert 1 == 0
 +  where 1 = CompletedProcess(args=['docker run cirq_image_pre python -c "import cirq; assert cirq.__version__ is not None"'], returncode=1).returncode
= 1 failed, 20135 passed, 146 skipped, 86 xfailed, 726 warnings in 365.34s (0:06:05) =

@shef4 I supressed that test because it is failing at head.

@NoureldinYosri Thanks, glad to know it's working. Learnt some interesting concepts from this issue!


Internet search

Integrating search into the chat while preserving user privacy is no small task. I've broken down my thoughts about the relevant challenges and how we could implement the feature.
But first a quick recap on how search is integrated into an AI chat.

The user message is first analyzed with the LLM to produce the search query.
This query is then sent to a (regular) search engine (ChatGPT uses Bing, Bard uses Google Search)
The top links returned by the search engine are fetched (this means that the system needs to download/browse these web pages)
Contents of these web pages along with the initial user message are fed into the LLM to produce a response

Now, let's evaluate the privacy challenges with this approach:
Dependence on a search engine: Since the user data is sent to the search engine, the users need to trust the search engine (and not only the local model or the enclave). Thus, the search feature should come with a big warning so that users understand the privacy implications of using the search. In order to maximize privacy, we should consider using privacy-friendly search engines like DuckDuckGo.
Fetching web page contents: The challenge here is twofold. We are fetching the content of the returned web pages. This implies a potential exposure to the various site trackers or cookies. Sadly, we cannot do a lot of things against the tracker on the web pages
Local implementation of the search ?
I believe it's not technically feasible to do the search locally (in-browser) because the browser puts restrictions on what a webpage from a domain can fetch (CORS / Same-Origin Policy). If we still want to do it locally, we will need to provide either a browser extension or a desktop app. Those present challenges from an adoption perspective. So I don't think we should go down that road (at least for now).
Anyway if the search is done locally, the web pages that are loaded would be subject to the same issues regarding metadata leakage as the rest of the user browsing activity. Notably, a network administrator could infer which websites/domain were searched/accessed based on the destination IP in the network packets. Still, this concern all his browser history so users concerned by this risk will need to use VPN (or Tor/I2P if VPN aren't enough).
Call the search Engine & load pages from an enclave
Compared to the local implementation of the search, its implementation is straightforward. TLS ensures protection against direct data interception (from the service operator i.e. us and other attackers), so the communication to the search engine and the websites will be secure. However, like for the local search, metadata, which can often be revealing, remains exposed. It might actually be more problematic since a malicious administrator can spy on the network interface of the enclave and analyze all its traffic. If there are many users, the concept of "anonymity set" can offer some relief : you can't link a particular website to a user, since multiple users use the enclave at the same time. But I think we should go further. To address the issue, and provide greater privacy against us (the service operator) we could use a trustworthy VPN like Mullvad. They are known to take privacy seriously (Mozilla partnered with them for their VPN), and, like us, they use remote attestation to attest their server's software stack. That way we really couldn't even know which websites are queried from the traffic, which is very nice!

Interesting insights @clauverjat
My feedback:

The message used to create the search query for the search engine need not be done remotely, I guess you could do some local processing or small LLM to do keyword extraction but it's just a minor detail
I guess we could ask the users the level of privacy they want to have, and what are the implications of using external browsers, i.e. what is revealed to whom.

My assumption is that given that people already use web search a lot, both for professional and personal, and that good privacy solutions exist through VPNs as you mentioned or DuckDuckGo, the question is more: can the use of our service with web browser expose data to us, and in some way to those other services we rely on.
If we assume we just do synthesis generation and the user gets the content to be synthesized by the LLM in an enclave, then there is no more exposure to us than usual.
I think the easiest way to move forward is to ask our community what they want for search, and what they want to protect from whom but good mapping :)


Should JFXColorPickers have a fixed minHeight?

I just came across an issue that JFXColorpickers disappear inside a fit to height scroll pane if the windows gets resized. On the one hand I see that unlike other components they might be embedded inside other controls which require color pickers to be re-sizable, but is the current behavior really desired?

Hello,
yeah sure, thanks for pointing out the issue 👍


Clarify that SPINNAKER_CONFIG_JSON does not support multi-line parsing

@ethanfrogers : Mind taking a look at this one?  I'm not super familiar with this field.


Migrate format to dual fields specialist pub

do not merge yet – depends on a deploy to specialist publisher

(I've rebased this against master)
👍  this should be mergable now, since specialist publisher was deployed yesterday.

What are the implications of such a migration on the event log? Won't this migration mean that the state of the publishing API isn't reproducible by re-running the event log?


ClientOnProcessLogMessagesCompleted is inaccessible

I would like to inherit from LogReceiverWebServiceTarget and override the CreateLogReceiver method just to provide my own binding configuration. Unfortunately, the ClientOnProcessLogMessagesCompleted method is private.
Should I copy the code in my implementation or that method could be made protected ?
Thank you.

Think the cleanest approach is that you copy the implementation of ClientOnProcessLogMessagesCompleted to your own code.

Pull-requests are also wellcome to make it possible to control binding-configuration with help from NLog Layout-options.

Closing issue as resolved, due to inactivity.


Add link from OAuth setup to info about basic auth

https://www.kubeflow.org/docs/gke/deploy/oauth-setup/
Question:
If i haven't create  OAuth client ID, how do i fill in <CLIENT_ID> in this stage?

Hallo @hchiuzhuo The alternative to using OAuth is to authenticate with username and password ("basic authentication"). Here are some docs to help:
https://www.kubeflow.org/docs/gke/deploy/deploy-ui/#authenticating-with-username-and-password

We should add a link to the basic auth info from this page.

Hi, my question is when I fill Authorized redirect URIs, I have not generate client ID and client secret yet; then, how do I fill the <CLIENT_ID> in this stage? (My workaround is to fill up a whatever uri, after I got client ID and client secret, I came back and fill in again)

Ah thanks @hchiuzhuo I misunderstood. PR https://github.com/kubeflow/website/pull/942 has updated the page - your workaround is the right one.

/close


Redesign mediadevices

First phase:

Decouple encoding and webrtc from GetUserMedia
Redesign VideoTrack and AudioTrack
Remove mediadevices constructor
Remove examples with old design
Add a new simple example
Remove Enable from constraints
Implicitly disable a media when nil

Closing this in favor of https://github.com/pion/mediadevices/pull/244


Copy to clipboard

Expose a new function that allows to copy a dom element to clipboard.
It is clear how to do with chrome, safari and edge but we don't know about firefox (but if it does not work we leave it like that).
copyAsHtml(domElement, options)
options:

error: default value: (e) => (alert(e.toString())

Currently we can create an error in the case of firefox.

does webkit (safari) support javascript clipboard?

I guess it should be working indeed. At least based on https://web.dev/async-clipboard/
But there is a specific message concerning webkit here:
https://web.dev/async-clipboard/
And currently in another project it does not work for us:
https://github.com/cheminfo/nmrium/issues/1682

https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
Have you seen the notes about compatibility for Safari?

Have you seen the notes about compatibility for Safari?

yes and still no compatible


[shared_preferences] Fix possible clash of string with double entry

This prevents clashing of a string entry with a double entry.
This was already checked for string lists and big integers, yet doubles remained previously unchecked although being stored as strings as well.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides. (Note that unlike the flutter/flutter repo, the flutter/plugins repo does use dart format. See plugin_tool format)
[x] I signed the CLA.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

No new tests written because tests currently use InMemorySharedPreferencesStore

Limitations in existing testing isn't a reason to not add new tests. Is there a reason this is not easily testable? It seems like a unit test calling the method handler and validating that result.error is called should be straightforward. Failing that, it seems like an integration test covering this scenario would also be straightforward.

Is testing of the Android side already available? If so, can you point me to how that's done?
If it's not already available, I think it should be added by someone who knows the testing environment.

It looks like Android unit tests aren't set up for this plugin yet. Integration tests should be fine for this though.
See https://github.com/flutter/flutter/wiki/Plugin-Tests for pointers to where the test files are and how to run them.

Integration test for string clashes are added and succeed

Resolved a merge conflict that was caused by a different PR/push adding an issue tracker to pubspec.yaml


Add the knights sword quest

added the knights sword quest

Great, thanks as always!😄
I made a few changes:

Fixed thurgo's chat animations
Renamed variable stages
Added Sir Vyvin and the cupboard line of sight check

And tidied up choice/option usages, where the first message from the player is the same as the option, you can just add the expression to the option and it'll do it automatically:
option("Well, do you know the VAGUE AREA you lost it in?") {
    player<Unsure>("Well, do you know the VAGUE AREA you lost it in?")
    // ...
}

option<Unsure>("Well, do you know the VAGUE AREA you lost it in?") {
    // ...
}


Using a port-version in a package dependency results in incomparable versions

Escalating this to a bug because this doesn't seem like correct behavior:
Discussed in https://github.com/microsoft/vcpkg/discussions/37539

Originally posted by kevin-- March 18, 2024
We have an internal library which depends on libsamplerate 0.2.2#1.
According to https://learn.microsoft.com/en-us/vcpkg/reference/vcpkg-json#dependency-version-gt in this case it is valid to specify the dependency version include port-number like so:
    {
      "name": "libsamplerate",
      "version>=": "0.2.2#1"
    },

However when we run install, it doesn't compare the version strings correctly, leading to us having to override the dependency on the consuming-project level which is unideal.
What can we do to rectify this, as specifying port-version in the dependencies is also an error.
-- Running vcpkg install
Fetching registry information from /Users/xxx/projects/vcpkg-registry (HEAD)...
Fetching registry information from git@github.com:microsoft/vcpkg.git (HEAD)...
error: version conflict on libsamplerate:arm64-osx<EMAIL_ADDRESS>required 0.2.2#1, which cannot be compared with the baseline version 0.2.2.

The versions have incomparable schemes:
<EMAIL_ADDRESS>has scheme string
<EMAIL_ADDRESS>has scheme relaxed

This can be resolved by adding an explicit override to the preferred version. For example:

  "overrides": [
    { "name": "libsamplerate", "version": "0.2.2" }
  ]

See `vcpkg help versioning` or https://learn.microsoft.com/vcpkg/users/versioning for more information.
-- Running vcpkg install - failed

Vcpkg port can't change it's version scheme without version bump, so your users should update their baselines or use overrides.

Vcpkg port can't change it's version scheme without version bump, so your users should update their baselines or use overrides.

We have worked around it by changing the baseline thanks for the info.
IMO this feels like a defect, as bugs in ports can be very relevant to end dev experience


Computeinfo: optional images capabilities

according to the specification part of
device capabilities depend on CL_DEVICE_IMAGE_SUPPORT
behaviour regarding lack of images support is not
defined
this change skips checking images related capabilities
when they are not supported

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

Intuitively I would expect these queries to return 0 in the case that CL_DEVICE_IMAGE_SUPPORT is CL_FALSE.

But that would still allow you to query the property and not get an error code, you just can't pass/fail the test based on what the value returned is.

Agree with @alycm. My reading of the spec is that these queries are always supported but the spec only constrains the value when CL_DEVICE_IMAGE_SUPPORT returns CL_TRUE.
Should we make this explicit, require that implementations return 0 when CL_DEVICE_IMAGE_SUPPORT returns CL_FALSE and test for this?

Thanks, I think specification could be more detailed about that but I see your point and agree.


Assets and Rails.application.config.relative_url_root

When I set Rails.application.config.relative_url_root = '/service_example' it'll broken assets => ActionController::RoutingError (No route matches [GET] "/service_example/assets/stimulus-loading-1fc53fe7.js")
If you do not specify Rails.application.config.assets.prefix, then the assets are loaded without relative_url
GET http://localhost:3110/service_example/assets/application-bfcdf840.js net::ERR_ABORTED 404 (Not Found)
Fixed it by set: Rails.application.config.assets.prefix = "#{Rails.application.config.relative_url_root}/assets" ,
after that assets load from 'http://localhost:3110/service_example/assets/stimulus.min-4b1e420e.js' but fonts still broken
@font-face {     font-family: 'FactorA';     src: url('/factor-a-regular.woff2') format('woff2'),     url('/factor-a-regular.woff') format('woff');     font-weight: normal;     font-style: normal; }
For some reason, relative + prefix is added in this case. But for other assets only prefix without relative is added, what is the error?
http://localhost:3110/service_example/service_example/assets/factor-a-regular-a2af9cf7.woff2

Something wrong here, doesn't use Rails.application.config.relative_url_root
https://github.com/rails/propshaft/blob/af557fbd10dc9856c943b3324f340a87295f5041/lib/propshaft/railtie.rb#L42
But using it when you set Rails.application.config.assets.prefix:
https://github.com/rails/propshaft/blob/af557fbd10dc9856c943b3324f340a87295f5041/lib/propshaft/compiler.rb#L23

never minde, just set relative like this in config.ru:
map Rails.config.relative_url do
   ...
end


Allow for custom error letters.

Thinking of:

flake8-quotes which uses Q000
flake8-isort which uses I001

Thanks! I kept meaning to do this as we have no idea what letters plugins will use for expanding the functionality.

Arg... did I add an extra paren there?  I think I did.

https://github.com/AtomLinter/linter-flake8/pull/89/files


Added the Knuth Morris Pratt Algorithm (Java)

Issue #269
Hey @avinash201199!
Please add the hacktoberfest tag if you merge the PR.
Thank you :)

pull request merged, now close the issue :)
follow for more such repo to contribute
note- only 2 pr are accepted per day on a same repo


How can I debug notAuthorized errors?

I'm trying to connect to a postgresql instance by using psql -h <IP_ADDRESS>, but that fails with:
psql: server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request.

And in the cloud sql logs I see:
2017/04/05 08:38:23 using credential file for authentication<EMAIL_ADDRESS>2017/04/05 08:38:23 Listening on <IP_ADDRESS>:5432 for myproject-157612:europe-west1-c:myproject
2017/04/05 08:38:23 Ready for new connections
2017/04/05 08:39:09 New connection for "myproject-157612:europe-west1-c:myproject"
2017/04/05 08:39:09 couldn't connect to "myproject-157612:europe-west1-c:myproject": ensure that the account has access to "myproject-157612:europe-west1-c:myproject" (and make sure there's no typo in that name). Error during createEphemeral for myproject-157612:europe-west1-c:myproject: googleapi: Error 403: The client is not authorized to make this request., notAuthorized

The service account I'm using has the CloudSQLAdmin role. I have doublechecked that I have no typos in my project name, and have inspected the credentials file that is mounted into the cloudsql pod that it contains the service account credentials that I'm expecting.

I'm guessing that the project you listed in your original post is not actually your project ID since we don't have any databases inside the project "myproject-157612" according to our metadata. Can you send the project name and database name to<EMAIL_ADDRESS>and we can continue debugging there?

Sent mail

Solved, the issue was that I have assigned CloudSQLAdmin to my user, instead of CloudSQLClient.


Stop setting bootjdk on host when running docker-build

Fixes: #1707 & https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/1725
Stops attempting to find & setting the JDK-BOOT-DIR when running configure_build on the host machine of a docker-build. This works because the  BUILD_CONFIG[DOCKER_FILE_PATH] variable isn't set until right before the docker container is built, therefore it doesn't skip setting the JDK-BOOT-DIR when running the build within the docker container.
Tested / currently testing at: https://ci.adoptopenjdk.net/job/DockerfileCheck/179/ & https://ci.adoptopenjdk.net/job/DockerfileCheck/180/

run tests

@Willsparker - Looks like you have failing tests - are they related?

That's not related to this fix :-) Looks like a config problem. It's JDK14 as well, which I don't think we need to test for, necessarily.
The main thing is that it doesn't fail because it can't find JDK13 as a boot JDK on the host machine

@karianna FYI (ref discussion this morning where I mentioned different dockerfiles)
The DockerFileCheck job mentioned above currently tests three Dockerfiles which end-users might use in order to validate that they haven't suffered any bit rot:

The HotSpot ones we generate for end-users in this repository
The OpenJ9 ones we generate for end-users in this repository
The OpenJ9 ones from Eclipse

It does NOT (currently) cover pulling the docker build images we have from dockerhub which we use to build on xLinux ant aarch64Linux


MX

https://www.mx.com/

Fixed in https://github.com/jplock/awesome-fintech/commit/8abc238bbf2378cde9a322dc6ad164f0d5cbea70


Closes #1458 derive param exist flag@devel

Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[x] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[x] Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
[x] Updated relevant unit tests or have written new unit tests - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[x] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[x] Address or fix all lintr warnings and errors - lintr::lint_package()
[ ] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue in the Development Section on the right hand side.
[ ] Address all merge conflicts and resolve appropriately
[ ] Pat yourself on the back for a job well done! Much love to your accomplishment!

Hey Jeff.  You are need to change the branch to merge into - devel and not main .  I always look at the total number of files changed for a sanity check :)

Thanks a lot @jeffreyad! Just a minor comment from my side.

Thanks, updated.


Fix iframe switching functional tests

@testcafe-build-bot \retest

It's still WIP now.

@testcafe-build-bot \retest

@testcafe-build-bot \retest

I was able to reproduce issue with hanging tests on IE9 on my own VM. Looks like the iframe-driver sometimes fails to initialize, and not sends 'ready' messages to the server, judging by IE DevTools Network Log.

@testcafe-build-bot \retest

@testcafe-build-bot \retest

@testcafe-build-bot \retest

Seems like build bot died. Is there anyone except @AlexanderMoskovkin, who can restart it?

Nevermind, bot was stopped by @churkin

@testcafe-build-bot \retest

Okay, \cc @inikulin. Honestly, I do not know what exactly is going on in IE9, and thehack is ugly, but at least we need to increase test timeout.

\r-

We can do .then(() => delay(0))

The first failure are caused by Saucelabs VM, the second by overlapped drag unstable test, because I forgot to rebase my PR.

@testcafe-build-bot \retest

@testcafe-build-bot \retest

@testcafe-build-bot \retest

@testcafe-build-bot \retest

lgtm


Integrate Aim to track prompts and generated audios

Hey, Ruben from Aim here! 👋
This is an awesome project!
Aim is a completely open-source and supercharged AI metadata tracker.
Aim can be helpful for the exploration and comparison of prompts and generated audio outputs.

Aim repo: http://github.com/aimhubio/aim
Aim docs: http://aimstack.readthedocs.io/

thanks, interesting, looks cool! might be a bit outside the scope of this repo and more suited for a fork, but happy to reconsider if lots of support for it.


Instructions on front page of django-cms.org are wrong

Right on the front page of the django-cms.org are the "see how easy it is" 5 steps to install:
$ pip install --upgrade virtualenv
$ virtualenv env
$ source env/bin/activate
(env) $ pip install djangocms-installer
(env) $ djangocms -p . my_demo

Unfortunately if you actually try this, it doesn't work:
Path '.' already exists and is not empty, please choose a different one
If you want to use this path anyway use the -s flag to skip this check.(env) $

The instructions need fixing to include -s or to use a different directory.

You're right, and in fact the docs at http://docs.django-cms.org/en/develop/introduction/install.html#use-the-django-cms-installer include an extra step:

Create a new directory to work in, and cd into it:

mkdir tutorial-project
cd tutorial-project

@evildmp would you handle the changes in the django-cms.org website and then close this?

Thanks Jon for the report, now fixed. Easier fixing software than dealing with a J*dith...


Add more logging for item insertion and asserts

This adds debug! logging for all paths that insert items into
BindgenContext::items, and adds some debug_assert!s against dangling
ItemIds.
r? @emilio

:pushpin: Commit 6bbabff has been approved by emilio

@bors-servo r+

:zap: Test exempted - status


Add documentation

Background

This project still misses documentation including readme, user guide, ...
We also miss the automated generation publishing of the documentation from https://github.com/exasol/bucketfs-utils-python

Acceptance Criteria

[ ] - Add documentation generation and publishing
[ ] - Add user guide

Usage
Overview about the training process

[ ] - Add Readme
[ ] - Add changelog
[ ] - Add Developer Guide

Planned for any of the next Kehrwoche events.


There is an issue with the circle mask it appears on dark mode

When moonColor is changed, you see another shade of color that is present

Yeah you need to be able to control the strokeWidth property which means you'll need to fork it to make the change afaik


Donut chart labels

Hi there!
I want to hide the piece's label from my donut chart, but I think it is not possible using the directives.
http://c3js.org/reference.html#donut-label-show (Docs)
http://c3js.org/samples/chart_donut.html (Example)
I'm walking through the code and can't see how to put the follow settings in  $scope.config:
$scope.config.donut = {
  label: {
    show: false
  }
};

Nice work!  ;)

Fixed in master


Docker for local development

The current README is really good but users of this repository may have difficulty running the runserver command since the database isn't set up!
They would need to set up a database, but I propose we use docker/docker-compose to set up the django app as well as the PostgreSQL database.

I've tried to implement this.
Here is the branch with the code.
Here is error I get when running the containers.
Attaching to timeenjoyed-abode_db, timeenjoyed-abode_web
timeenjoyed-abode_db   |
timeenjoyed-abode_db   | PostgreSQL Database directory appears to contain a database; Skipping initialization
timeenjoyed-abode_db   |
timeenjoyed-abode_db   | 2023-03-04 23:51:11.549 UTC [1] LOG:  starting PostgreSQL 15.2 (Debian 15.2-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
timeenjoyed-abode_db   | 2023-03-04 23:51:11.553 UTC [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
timeenjoyed-abode_db   | 2023-03-04 23:51:11.553 UTC [1] LOG:  listening on IPv6 address "::", port 5432
timeenjoyed-abode_db   | 2023-03-04 23:51:11.556 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
timeenjoyed-abode_db   | 2023-03-04 23:51:11.576 UTC [66] LOG:  database system was shut down at 2023-03-04 09:37:07 UTC
timeenjoyed-abode_db   | 2023-03-04 23:51:11.600 UTC [1] LOG:  database system is ready to accept connections
timeenjoyed-abode_web  | (0.054)
timeenjoyed-abode_web  |             SELECT
timeenjoyed-abode_web  |                 c.relname,
timeenjoyed-abode_web  |                 CASE
timeenjoyed-abode_web  |                     WHEN c.relispartition THEN 'p'
timeenjoyed-abode_web  |                     WHEN c.relkind IN ('m', 'v') THEN 'v'
timeenjoyed-abode_web  |                     ELSE 't'
timeenjoyed-abode_web  |                 END
timeenjoyed-abode_web  |             FROM pg_catalog.pg_class c
timeenjoyed-abode_web  |             LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
timeenjoyed-abode_web  |             WHERE c.relkind IN ('f', 'm', 'p', 'r', 'v')
timeenjoyed-abode_web  |                 AND n.nspname NOT IN ('pg_catalog', 'pg_toast')
timeenjoyed-abode_web  |                 AND pg_catalog.pg_table_is_visible(c.oid)
timeenjoyed-abode_web  |         ; args=None; alias=default


Update autorest version to prerelease 3.0.0-alpha.20240424.7.x

Triggered from pull request: https://github.com/Azure/autorest.csharp/pull/4649

API change check
API changes are not detected in this pull request.

API change check
API changes are not detected in this pull request.


How to get an accurate colmap pose？Unable to accurately reproduce the kid-running poses

Hello, thank you so much for making your work open source.
I used colmap to reconstruct the kid-running data poses，But the reconstruction is not as accurate as the poses you released.
It seems that after removing the little boy in yellow clothes, some of the images only contain the ground, and there is no rich texture.
May I ask which colmap version you are using? and can you share your colmap reconstruction parameters with me.
Looking forward to your reply very much，Thank you.

Hi I believe I used the default parameters for running Colmap, where I use sequential matching with window size 15. Do you have visualization of your reconstruction somehow?

Hi I believe I used the default parameters for running Colmap, where I use sequential matching with window size 15. Do you have visualization of your reconstruction somehow?

Thank you for your reply, I also use SequentialMatching, but poses around 40 frames are always not very accurate (only ground, no red car can be seen).
May I ask which options you reset in the following parameters?

Hi I believe I used the default parameters for running Colmap, where I use sequential matching with window size 15. Do you have visualization of your reconstruction somehow?

I used the image of 1270x714 size and mask the kid in black to run colmap.
It looks like the red camera is continuous, but I compared the specific xyz values and found that the results in the middle frames are not as accurate as your results, and the render quality is slightly affected after I replaced the poses in your release data with my colmap results.

Hi,  how do you replace your poses with released data?

Hi, how do you replace your poses with released data?

Yes, I did ablation experiments only related to poses_bounds_cvd.npy and source_vv_poses.npy, and I rendered different moments from a fixed perspective.
For kid running dataset, problems began to occur after 45k steps. I would like to ask if there are any Settings in the code that will cause the network to train in a bad direction at about 45k steps，I don't know if it's caused by learning rate or some decay setting.

Have you checked the rendered images through source_vv_poses.npy are correct? And what problem you saw after 45K steps?


Abort running suites using DELETE request

Applicable Issues

Abort running suites using DELETE request

Description of the Change
The change implements the handling of DELETE requests at the endpoint:
/etos/<suite_id>
Upon receiving a request to this endpoint, ETOS API deletes the correspoding Kubernetes job. If no job is found for the given suite id, a 404 response is returned.
Alternate Designs
Possible Drawbacks

etosctl needs to be adapted for this change to prevent infinite waiting loop when its suite is aborted

Sign-off
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
Signed-off-by: Andrei Matveyeu<EMAIL_ADDRESS>

Closing this PR to conflicts/rebase errors. Created a new one: https://github.com/eiffel-community/etos-api/pull/57


[Frontend] - Refactor searchbar into its own component.

Details
The Navbar component is getting messy with much of the code in it being for the search functionality.
Tasks

[ ] Create a Searchbar.tsx in /components/Navbar
[ ] Add the refactored component back to the Navbar component.

@R-Sandor what is the status of this issue ?? keep me updated about this issue ??

@samr874 Hey! Thanks for reaching out. I was a little AFK over Christmas. I would have loved to give this to you but I already completed the refactor last week. Thank you for reminding me to close this!


Fix magento 2 quickstart and set php default to 8.1, fixes #3852

The Problem/Issue/Bug:

#3852

Magento 2 quickstart doc broken

Magento 2 now requires php 8.1

How this PR Solves The Problem:

Fix the quickstart docs (thanks @cmuench !)
Set the default PHP version for magento2 to php8.1

Manual Testing Instructions:
Walk through the quickstart and verify it.
Automated Testing Overview:

Related Issue Link(s):
Release/Deployment notes:

Awesome, thanks @rfay!

@rfay thanks for your passion.

Thanks so much for helping me though this problem @cmuench !


Incorrect AthenaError in Aws::Utils::Outcome<T, AthenaError> Template

Describe the bug
AthenaError exists twice: First one here and second time here.
Due to a namespace problem, the Outcome template uses the incorrect AthenaError (second one), same problem exists for all these methods as well.
This causes the following code not to compile:
auto outcome = client.ListNamedQueries(request);

// this should & used to work, now fails :(
outcome.GetError().GetExceptionName();

Expected behavior
auto outcome = client.ListNamedQueries(request);
outcome.GetError().GetExceptionName();

Should work and  probably use this class.
Current behavior
Aws::Utils::Outcome<T, AthenaError> template uses the incorrect AthenaError causing a compile error.
Steps to Reproduce
auto outcome = client.ListNamedQueries(request);
outcome.GetError().GetExceptionName();

Possible Solution
No response
AWS CPP SDK version used
main / e5dc51c
Compiler and Version used
Clang 13.0.0
Operating System and version
MacOS 11.6.1

Looks like this was fixed in pull/1988 and has been available since version 1.9.295


'az containerapp env certificate list ' is broken in containerapp extension v0.3.22

Please provide us with the following information:

This issue is a: (mark with an x)

[x] bug report
[ ] documentation issue or request
[x] regression (a behavior that used to work and stopped in a new release)

Issue description
Running azure cli command az containerapp env certificate list stopped working in the latest version of containerapp extension (0.3.22). It works just fine in version 0.3.21
Steps to reproduce

Install latest version of containerapp extension in azure cli (0.3.22)
execute the command az containerapp env certificate list -g MyResourceGroup --name MyEnvironment

Expected behavior [What you expected to happen.]
The command to return the list of certificates added into the container apps environment specified
Actual behavior [What actually happened.]
It returns an error "ERROR: Not Found({"type":"https://tools.ietf.org/html/rfc7231#section-6.5.4","title":"Not Found","status":404,"traceId":"00-0e305be13ababbc5eb2cec3eb561279f-c4c7b9a3af956ec6-01"})"
Screenshots
v0.3.22 (Broken)

v0.3.21 (Works)

We reverted the update that caused this issue, and it should be fixed now. Let me know if it still is showing up!


Use out-of-bag score to get the permutation Importance

Hi, I have tried to use out-of-bag score to get the permutation importance, the code is shown as below:
**
from sklearn.ensemble import RandomForestClassifier
import eli5
from eli5.sklearn import PermutationImportance
model = RandomForestClassifier(n_estimators=100,  n_jobs=-1, oob_score = True, bootstrap = True, random_state=42,)
model.fit(x,y)
perm = PermutationImportance(model, cv = None, refit = False, scoring = 'oob_score', n_iter = 50).fit(x, y)
**
It shows that  ValueError: 'oob_score' is not a valid scoring value.
Is there a possible way to use out-of-bag score to calculate the feature importance?
Many thanks
Yan

Out-of-bag scores are produced during the training process, while Permutation Importance relies on being provided a pretrained model.
PermutationImportance is asking for a method of the model object to use for scoring. In your case, the RandomForestClassifier object doesn't have an 'oob_score' method, and so I don't think this would be possible.


Banner without EOF can break eAPI management

Issue Summary
According to the AVD documentation, EOF is required when configuring banner string.
That looks like a "lazy" implementation, as EOF is only required to break banner in the terminal and is redundant in the YAML file. But the problem is that EOS is accepting the configuration when EOF is not specified, but treating everything after the banner string as part of the banner. eAPI configuration comes after and a simple playbook run to add a banner results in broken management connectivity to the switch. It also breaks any eos_cli config as it's appended to the end as well.
I'd suggest one of the following fixes:

remove EOF requirement in AVD docs and always enforce it in the template (Disadvantage: that can affect existing implementations)
make EOF optional, check if it's present and add if not

Which component(s) of AVD impacted
No response
How do you run AVD ?
None
Steps to reproduce
Add the banner without EOF, run the playbook.

Relevant log output
None

Contributing Guide

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

I'm happy to fix that if the proposed solution will be accepted.

Implement an if in the eos_cli_config_gen template that checks if the last line is \nEOF (+ optionally closing \n and if not it will add it.


This is an Error when I'm trying to open VocalRemover.py

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Selected settings: '...'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem and annotate the images.
Desktop (please complete the following information):

OS: [e.g. iOS]

Additional context
Add any other context about the problem here.

This is the Error message when I'm trying to open VocalRemover.py file:

This is the Error message when I'm trying to open VocalRemover.py file:

The error suggests that you haven't installed the Pillow module which I required to run the application.
Type "pip install Pillow" In the command prompt to install it.

I see the same Error when I'm trying to run it.


Issue tensorflow#33840 in tf.image.ssim_multiscale

Fix for issue tensorflow#33840 on tf.image.ssim_multiscale. #33840

@googlebot I signed it!

The issue (https://github.com/tensorflow/tensorflow/issues/33840) was reportedly fixed in the 2.5 release.
I think we can abandon this pull request then -- but just let us know otherwise. Thanks!

@aakash30jan Can you please check @jsmeredith's comments and keep us posted ? Thanks!

@gbaned @jsmeredith, I just checked the gist mentioned by @sachinprasadhs in the issue (#33840) . The issue was reported to be closed based on this wrong gist. The issue still persists in Tensorflow 2.5,  here is a proper gist to replicate the issue from what OP @AravindGanesh had mentioned.

@jsmeredith  Can you please take a look on above comments from @aakash30jan. Thanks!

@jsmeredith @gbaned The issue persists with TF v2.5 as confirmed by a recent  comment on the issue.

Acknowledged -- looks like I have some notifications yet to set up.  Thanks so much for pinging again, I'll take a look!

Hi!  I see some tests failing with this change, would you be able to fix those and update the CL?   (And double-check things like formatting, if it's possible to add a test which targets this fix, etc.)  Thanks!

@aakash30jan Any update on this PR? Please. Thanks!


upgrade deepspeed to 0.16.1

fixes #2154
multigpu tests: https://github.com/axolotl-ai-cloud/axolotl/actions/runs/12227499529

I've also pushed an upstream fix here in the meantime https://github.com/huggingface/transformers/pull/35157


Try limiting action runs

This a test to see if we can avoid doubling or test jobs where we run on both push and pull_request.
This runs tests on push to main, and pull_request. I believe that pull_request has it's SHA set to the merge commit of the PR branch and main, which should test on how it would merge, which is ultimately what we care about and gate merging on. If that fails, but the branch was passing locally, the dev can merge in main locally and see what the failure is. Outside of flakiness, I don't think I've seen a PR fail on push, but pass on pull_request or vice versa anyway.

So far, I think this seems like a good thing to do to reduce our actions runs. It helps blunt the impact of flakiness a little at least.


Files with Korean characters in the name are not exported

Describe the bug
When exporting bounding box annotations with with Korean Characters in the source image name,
only the annotation is exported (with scrambled character names) and the image files are not.
To Reproduce
Steps to reproduce the behavior:

Import image with korean characters in the name
annotate
export in any format
annotations are successfully exported ( with scrambled characters) but images are not

Expected behavior
All annotations AND images are exported successfully
Screen shots

Environment (please complete the following information):

OS: macOS 12.4
Label Studio Version 1.6.0

Are you sure it's related to file names?
Usually LS tries to avoid touching users input data directly, so it just shouldn't export any images. Therefore it might be super long (because of image/other resources downloading to the backend), and it's another reason to avoid exporting with images.
The simple solution is to manually copy images to the export folder.


split aggregation out block smaller than max block size

What problem does this PR solve?
Issue Number: close #6579
Problem Summary:
What is changed and how it works?
make the output block of aggregation smaller than max_block_size.
Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

split aggregation out block smaller than max block size.

/run-all-tests

/run-all-tests

And do we still need the scalar functions, after we add the blocks functions

No need, it just control the block size output by agg readImp.

And do we still need the scalar functions, after we add the blocks functions

No need, it just control the block size output by agg readImp.

Then remove the block funcs?

And do we still need the scalar functions, after we add the blocks functions

No need, it just control the block size output by agg readImp.

Then remove the block funcs?

it will be removed when split block in agg spilled to disk is finished.

And do we still need the scalar functions, after we add the blocks functions

No need, it just control the block size output by agg readImp.

Then remove the block funcs?

it will be removed when split block in agg spilled to disk is finished.

ok

Please file an issue to remove the useless block functions, others LGTM.

ok.

/run-all-tests

/merge

/merge

/run-integration-test


use webpack capabilities from vizlab 0.3.7

This needs a new version of vizlab, so don't merge until that is 👍 https://github.com/USGS-VIZLAB/vizlab/pull/385. But, it makes all of the webpack magic happen behind-the-scenes (files are saved to target). Not yet sure how this might do on Jenkins.

Not that I actually need this to build locally right now (except to explore webpack better), but here's what I got after running vizmake() some more:
[ BUILD ] vizlab/remake/scripts/svg_state_map.R |  prepSources(outfile = "vizlab/remake/scripts/svg_...
[ BUILD ] cache/state_boundaries.svg            |  publish("svg_state_map")
Error: 'cache/state_boundaries.svg' does not exist in current working directory ('D:/APAData/GitHub/DS Vizzies/gage-conditions').
In addition: Warning messages:
1: In checkVizPackages() :
  these packages are newer than required: vizlab (need 0.3.6, have 0.3.7)
2: running command 'npm list webpack' had status 1
3: running command 'npm list webpack-cli' had status 1
4: running command 'npm list d3' had status 1
5: package ‘tidyr’ was built under R version 3.4.4
6: package ‘bindrcpp’ was built under R version 3.4.4
7: Unknown variables: `p90_va`

I think those were the errors I got before I had webpack installed?

That may have been a correlation there, but I'm pretty sure this problem is independent of webpack. For one thing, I do have webpack installed. For another, the traceback is R all the way:
> traceback()
26: stop(e)
25: h(simpleError(msg, call))
24: .handleSimpleError(function (e)
    {
        restore(target$name, path)
        stop(e)
    }, "'cache/state_boundaries.svg' does not exist in current working directory ('D:/APAData/GitHub/DS Vizzies/gage-conditions').",
        quote(NULL))
23: stop("'", path, "' does not exist", if (!is_absolute_path(path)) paste0(" in current working directory ('",
        getwd(), "')"), ".", call. = FALSE)
22: check_path(path)
21: path_to_connection(x)
20: read_xml.character(viz[["location"]])
19: xml2::read_xml(viz[["location"]]) at inline_svg.R#2
18: publish.inline_svg(viz) at publish.R#8
17: publish(viz) at publish.R#16
16: publish.character("svg_state_map") at publish.R#8
15: publish("svg_state_map")
14: eval(target$command, envir)
13: eval(target$command, envir)
12: withCallingHandlers(eval(target$command, envir), message = function(e) if (quiet) invokeRestart("muffleMessage"))
11: target_run(target, store, quiet)
10: withCallingHandlers(target_run(target, store, quiet), error = function(e) {
        restore(target$name, path)
        stop(e)
    })
9: target_build(target, obj$store, obj$verbose$quiet_target)
8: remake_update2(obj, i, check = check, return_target = is_last)
7: FUN(X[[i]], ...)
6: lapply(plan, function(i) {
       is_last <- i == last_target_name
       remake_update2(obj, i, check = check, return_target = is_last)
   })
5: remake_update1(obj, plan, last_target_name, check = check)
4: remake_make1(obj, target_names, ...)
3: remake_make(obj, target_names)
2: remake::make(target_names = target_names, ..., remake_file = "remake.yaml") at vizmake.R#59
1: vizmake()

I'm thinking the issue is that cache/state_boundaries.svg doesn't get created in the main viz.yaml; it only gets published, and publish.inline_svg creates a character string but not a file.
publish.inline_svg <- function(viz) {
  svg <- xml2::read_xml(viz[["location"]])
  xml_string <- xml2::as_xml_document(svg)

  return(as.character(xml_string))
}

I had assumed that as in previous vizzies, the map_preprocess.yml file was something that only one person needed to run, and that the results would get pushed to S3 or SB and then re-fetched in the main viz.yaml. Looks like that's not how y'all are doing it here.
Given that map_preprocess.yml is required running on each computer, do you really need/want it to be in a separate yml file? Maybe it should be part of viz.yaml so that dependencies on it can be captured.

My next step for local debugging was to remake map_preprocess.yml. which stopped on the same file. Maybe that's coincidence, or maybe you actually DO have a dependency link from viz.yaml to map_preprocess.yml that I haven't spotted yet.
Either way, now I think the problem is indeed my system configuration, because
> remake::make(remake_file='map_preprocess.yml')
[  LOAD ]
[  READ ]                                       |  # loading sources
<  MAKE > map_preprocess
[ BUILD ] display_proj                          |  display_proj <- CRS("+proj=laea +lat_0=45 +lon_0=...
[  READ ]                                       |  # loading packages
[ BUILD ] svg_x                                 |  svg_x <- c(960)
[ BUILD ] svg_y                                 |  svg_y <- c(600)
[ BUILD ] cache/pre_state_boundaries_census.zip |  fetch_url("cache/pre_state_boundaries_census.zip"...
[ BUILD ] state_boundaries_census_sp            |  state_boundaries_census_sp <- read_shp_zip("cache...
[ BUILD ] site_locations_sp                     |  site_locations_sp <- readRDS("cache/site_location...
[ BUILD ] site_locations_albers_sp              |  site_locations_albers_sp <- spTransform(site_loca...
[ BUILD ] state_boundaries_albers_sp            |  state_boundaries_albers_sp <- spTransform(state_b...
[ BUILD ] state_boundaries_mutated_sp           |  state_boundaries_mutated_sp <- mutate_sp_coords(s...
[ BUILD ] site_locations_mutated_sp             |  site_locations_mutated_sp <- mutate_sp_coords(sit...
[ BUILD ] state_boundaries_scaled_sp            |  state_boundaries_scaled_sp <- scale_fit_sp_coords...
[ BUILD ] site_locatations_scaled_sp            |  site_locatations_scaled_sp <- scale_fit_sp_coords...
[ BUILD ] cache/state_boundaries_scaled.geojson |  geojson_write(state_boundaries_scaled_sp, file = ...
Success! File is at cache/state_boundaries_scaled.geojson
[ BUILD ] cache/site_locations_scaled.geojson   |  geojson_write(site_locatations_scaled_sp, file = ...
Success! File is at cache/site_locations_scaled.geojson
[ BUILD ] cache/state_boundaries.svg            |  geo2svg("cache/state_boundaries_scaled.geojson", ...
Error in target_run(target, store, quiet) :
  command for cache/state_boundaries.svg did not create file
In addition: Warning messages:
1: package ‘rgdal’ was built under R version 3.4.4
2: package ‘geojsonio’ was built under R version 3.4.4
3: running command 'geo2svg -w 960 -h 600 < cache/state_boundaries_scaled.geojson > cache/state_boundaries.svg' had status 127

and
> system('which geo2svg')
/usr/bin/which: no geo2svg in (/c/Rtools/bin:{rest of PATH...})
Warning message:
running command 'which geo2svg' had status 1

Yes, we don't have anything stored on SB or S3 right now, so everyone needs to run the preprocess. We had a short discussion about merging map_preprocess.yaml into the viz.yaml here: https://github.com/USGS-VIZLAB/gage-conditions/pull/12#issuecomment-401068140


error 'invalid duration s' occur after run some hours.

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):
helm install
Result:
Error parsing max age Error parsing auth refresh max age: time: invalid duration s
Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
v2.2.9
Installation option (single install/HA):
HA

Cluster information
1.15.3

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
Imported
Machine type (cloud/VM/metal) and specifications (CPU/memory):
cloud
Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.0", GitCommit:"2bd9643cee5b3b3a5ecbd3af49d09018f0773c77", GitTreeState:"clean", BuildDate:"2019-09-18T14:36:53Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.3", GitCommit:"2d3c76f9091b6bec110a5e63777c332469e0cba2", GitTreeState:"clean", BuildDate:"2019-08-19T11:05:50Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}

Docker version (use docker version):

Client: Docker Engine - Community
 Version:           19.03.4
 API version:       1.39 (downgraded from 1.40)
 Go version:        go1.12.10
 Git commit:        9013bf583a
 Built:             Fri Oct 18 15:52:22 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.7
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.8
  Git commit:       2d0083d
  Built:            Thu Jun 27 17:26:28 2019
  OS/Arch:          linux/amd64
  Experimental:     false

how to fix this issue?

@kaybinwong what is the value of this max-age setting? could be checked at SERVER_URL/v3/settings/auth-user-info-max-age-seconds

3600


Music isn't working

I tried using the bot for music commands, and it is not joining the voice channels.
Is there anything I should do?

Use HaNadeko for music, not NadekoBot.
If you are hosting your own bot, get googleapi key and install ffmpeg and add it to path. Its all explained inthe comprehensive guide.
If hanadeko stops working, just wait for the restart. You can also try running
!m s
!m d
[change server location to some other europe location]
and then queue your song.