Multiple channels: get one lambda per channel after optimization ?

Hello,
I understand that I can run an mTRF with multiple features (e.g., X with 5 features and 10k samples) and multiple responses (e.g., y with 3 channels and 10k samples). If I want to optmize with multiple lambda values, as of now if I understand correctly, it will optimize accross all the channels and return the best lambda (one value then) for all of them.
Is there a way to optimize the lambdas by channel, ie get one best lambda per channel at the end ?
Thank you !

Hi,
Thank you very much for your attention on this package and it is absolutely possible to achieve this ! I am recently testing this feature locally and will push this function soon. Thanks for bringing this up!
Best,
Jin

Hello,
Thank you very much for looking into this. I am a fan of the package haha.
Glad to hear it is possible to achieve this feature. Do you think it will add up any constraint on the perfromance, i.e will it run in the same time as of now, or the training will be much slower ?
How long would it take for the feature to be available on master please ? Looking forward to it already xD
Best,
Mamady

Hi Mamady,
Glad you like it. It won't slow down the training too much. The part that is affected most is fitting the weights - now we need to fit a projection from input to each channel of the output iteratively with separated regularization parameters.
I will try to upload the new feature maybe the end of this week!
Best,
Jin

HI Jin,
Great ! Looking forward to it already !
Best,
Mamady

Hi Mamady,
Thank you so much again for your suggestion of this new feature! I just pushed a preview version of this feature in the fit_reg_per_chan branch. You can try it by pip install that branch:
pip install git+https://github.com/powerfulbean/mTRFpy.git@fit_reg_per_chan

An example of how to using that feature can be found at:
https://github.com/powerfulbean/mTRFpy/blob/e5c357bbd6f17cc9e024fb7472705127eebfdced/tests/test_model.py#L44
I also submitted a pull request #36  to my colleague for necessary code review. Hopefully, the new feature will be merged into the main branch soon!
Best,
Jin

HI Jin,
Great ! Looking forward to it already !
Best, Mamady

Hi Mamady,
Thank you so much again for your suggestion of this new feature! I just pushed a preview version of this feature in the fit_reg_per_chan branch. You can try it by pip install that branch:
pip install git+https://github.com/powerfulbean/mTRFpy.git@fit_reg_per_chan

An example of how to using that feature can be found at:
https://github.com/powerfulbean/mTRFpy/blob/e5c357bbd6f17cc9e024fb7472705127eebfdced/tests/test_model.py#L44
I also submitted a pull request #36  to my colleague for necessary code review. Hopefully, the new feature will be merged into the main branch soon!
Best,
Jin

Hi Jin,
This is GREAT ! I have tested it and it works like a charm.
I have also lookied at the changes you applied in the code, I was worried in the first place that loop going through each specific channel for training would add an overhead, but it looks like no in fact.
Thank you very much and keep up the good work !
Best,
Mamady

Hi Jin,
This is GREAT ! I have tested it and it works like a charm.
I have also lookied at the changes you applied in the code, I was worried in the first place that loop going through each specific channel for training would add an overhead, but it looks like no in fact.
Thank you very much and keep up the good work !
Best, Mamady

Hi Mamady,
No problem! And your point about the overhead is reasonable to me. I am thinking about replacing the training loop with vectorization operation. Will keep you updated in the future!
For now, I will close this issue. Thank you so much for your support!
Best,
Jin


[BUG] Reduce TaskBatcher excessive logging in DEBUG mode

Describe the bug
https://github.com/opensearch-project/OpenSearch/blob/a0b519826b2dab19f022e16e613f630a0bce253e/server/src/main/java/org/opensearch/cluster/service/TaskBatcher.java#L197-L201
While executing a pending task, we first try to log the task summary. If the pending task batchingKey has 200K tasks in the linked list, we'll end up collecting task summary of all those tasks. This takes 10 minutes which blocks the overall execution of all the tasks. This summary is being used only for logging purpose in debug setting only.
Ideally we should not log excessive even in debug mode as calculating log string is taking minutes.
Related component
Cluster Manager
To Reproduce

Create 200K primary shards in a cluster which can take load of these many shards
kill opensearch process on all cluster manager nodes, so it triggers reroute flow
You'll see shards will go in init mode quickly
But actually starting these shards will take more than 10 minutes

Expected behavior
Ideally we should not log the same thing if content is same just the shardId is different. We should short circuit and log a smaller sized string to avid this delay.
Additional Details
Hot/threads
::: {6bb0987818c65f26bf4a1028fbc6d538}{l9ltzN3dT5GCddpWAkPLYg}{1JNBmxGoSrqq3Jpe4ywfgg}<redacted>
   Hot threads at 2024-02-06T16:08:40.878Z, interval=500ms, busiestThreads=3, ignoreIdleThreads=true:

   99.8% (498.8ms out of 500ms) cpu usage by thread 'opensearch[6bb0987818c65f26bf4a1028fbc6d538][clusterManagerService#updateTask][T#1]'
     10/10 snapshots sharing following 15 elements
       java.base@17.0.6/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
       java.base@17.0.6/java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1850)
       java.base@17.0.6/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
       java.base@17.0.6/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
       java.base@17.0.6/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
       java.base@17.0.6/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
       java.base@17.0.6/java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:662)
       app//org.opensearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:202)
       app//org.opensearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:243)
       app//org.opensearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:756)
       app//org.opensearch.common.util.concurrent.PrioritizedOpenSearchThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedOpenSearchThreadPoolExecutor.java:282)
       app//org.opensearch.common.util.concurrent.PrioritizedOpenSearchThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedOpenSearchThreadPoolExecutor.java:245)
       java.base@17.0.6/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
       java.base@17.0.6/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
       java.base@17.0.6/java.lang.Thread.run(Thread.java:833)

We should look at 2 things:

debug log should be brief
trace can be more detailed but still need to be capped (considering there can be 100k more tasks being batched together), it would be too expensive to log all those in clustermanagerService#updateTask which is single threaded.

Looking into it

Tasksummary string is being computed and passed to runTasks in Masterservice
https://github.com/opensearch-project/OpenSearch/blob/a0b519826b2dab19f022e16e613f630a0bce253e/server/src/main/java/org/opensearch/cluster/service/MasterService.java#L284
Usage:
Logging -
https://github.com/opensearch-project/OpenSearch/blob/a0b519826b2dab19f022e16e613f630a0bce253e/server/src/main/java/org/opensearch/cluster/service/MasterService.java#L287
https://github.com/opensearch-project/OpenSearch/blob/a0b519826b2dab19f022e16e613f630a0bce253e/server/src/main/java/org/opensearch/cluster/service/MasterService.java#L291
https://github.com/opensearch-project/OpenSearch/blob/a0b519826b2dab19f022e16e613f630a0bce253e/server/src/main/java/org/opensearch/cluster/service/MasterService.java#L295
https://github.com/opensearch-project/OpenSearch/blob/a0b519826b2dab19f022e16e613f630a0bce253e/server/src/main/java/org/opensearch/cluster/service/MasterService.java#L304
https://github.com/opensearch-project/OpenSearch/blob/a0b519826b2dab19f022e16e613f630a0bce253e/server/src/main/java/org/opensearch/cluster/service/MasterService.java#L310
https://github.com/opensearch-project/OpenSearch/blob/a0b519826b2dab19f022e16e613f630a0bce253e/server/src/main/java/org/opensearch/cluster/service/MasterService.java#L314
https://github.com/opensearch-project/OpenSearch/blob/a0b519826b2dab19f022e16e613f630a0bce253e/server/src/main/java/org/opensearch/cluster/service/MasterService.java#L316
https://github.com/opensearch-project/OpenSearch/blob/a0b519826b2dab19f022e16e613f630a0bce253e/server/src/main/java/org/opensearch/cluster/service/MasterService.java#L328
Passed as source parameter in ClusterChangedEvent object -
https://github.com/opensearch-project/OpenSearch/blob/a0b519826b2dab19f022e16e613f630a0bce253e/server/src/main/java/org/opensearch/cluster/service/MasterService.java#L320

Looks like change in the summary value in ClusterChangedEvent should not have an impact on the flow. For now, i am working on introducing a short summary which will contain the task batching key instead of computing and logging full tasks details.


[semantic-arc-opts] Create a new pass called semantic arc opts.

[semantic-arc-opts] Create a new pass called semantic arc opts.
I am going to run it very early and use it to ensure that extra copies due to my
refactoring of SILGenPattern do not cause COW copies to be introduced.
For now, it does a very simple optimization, namely, it eliminates a copy_value,
with only a destroy_value user on a guaranteed parameter.
It is now disabled behind a flag.
rdar://29870610

@swift-ci smoke test and merge


Help Me: Suddenly all pm2 process was gone

hi
i don't know what's happening in my server, all games was gone.
but selenium folders are still there.

from os import listdir
from os.path import isfile, join, isdir
import subprocess

def start_pm2_app(script_path, app_name, session_name):
    interpreter_path = "venv/bin/python3"
    command = f"NODE_NO_WARNINGS=1 pm2 start {script_path} --name {app_name} --interpreter {interpreter_path} --watch {script_path} -- {session_name}"
    subprocess.run(command, shell=True, check=True)
    # command = f"NODE_NO_WARNINGS=1 pm2 save"
    # subprocess.run(command, shell=True, check=True)

mypath = "./selenium/"
allfolder = [f for f in listdir(mypath) if isdir(join(mypath, f))]
for folder in allfolder:
    if "Telegram" in folder:
        continue
    else:
        script_path = join(mypath, folder)
        if isdir(script_path):
            start_pm2_app(script_path, folder, folder)

i came up with this solution, but i got this error.
anyone can help me ?

Hi @Jelingam,
In your other post you were talking about writing a script to stop PM2 handling the idle processes, and now they have mysteriously disappeared? Strange!
If your PM2 processes have disappeared, you can attempt to restore them using:
pm2 resurrect

If that doesn't work, the format of the PM2 command the script uses is shown in the text at the end of the process:

We backed up the session data in case of a later crash!
You could add the new/updated session to PM use: pm2 start games/blum.py --interpreter venv/bin/python3 --name Blum:Wallet1 -- Blum:Wallet1
Enter 'y' to continue to 'claim' function, 'e' to exit, 'a' or  to automatically add to PM2:

So you could write a script or manually set up each one to restore them based on this example:
pm2 start games/blum.py --interpreter venv/bin/python3 --name Blum:Wallet1 -- Blum:Wallet1

You'd need to change the name of the script for each game, replacing games/blum.py with the script you wish to handle the session and then substitute Blum:Wallet1 with the name of the session folder from the Selenium folder.

from os import listdir
from os.path import isfile, join, isdir
import subprocess
def start_pm2_app(script_path, app_name, session_name):
interpreter_path = "venv/bin/python3"
command = f"NODE_NO_WARNINGS=1 pm2 start {script_path} --name {app_name} --interpreter {interpreter_path} --watch {script_path} -- {session_name}"
subprocess.run(command, shell=True, check=True)
# command = f"NODE_NO_WARNINGS=1 pm2 save"
# subprocess.run(command, shell=True, check=True)
mypath = "./selenium/"
allfolder = [f for f in listdir(mypath) if isdir(join(mypath, f))]
for folder in allfolder:
if "Telegram" in folder:
continue
else:
script_path = join(mypath, folder)
if isdir(script_path):
start_pm2_app(script_path, folder, folder)

While this correctly iterates through the Selenium session folders, it is trying to set the game session folder name as the script to run, rather than the relative script from the ./games directory.

Tnx Phil

My pleasure, I hope you got sorted.


devtools: api to inspect service worker for current webcontents

Fixes #1331
Depends on https://github.com/atom/brightray/pull/107

[ ] Need to implement for browser window (facing some crashes), currently works for webview

with next update for chromium we get better observers for service wokers

/cc @paulcbetts , @hokein thoughts ?

Into it!


Rename build_args in GH action workflow

Fixes #11646
Status
not-tested
Description
The argument name in the v1 container is actually build_args, not build-args (as it is expected in the v4).
Is it backward compatible (if not, which system it affects?)
YES
Related PRs
Fix #11638 and https://github.com/dmwm/WMCore/pull/11651
External dependencies / deployment changes
None

And this one also failed for reqmgr2ms-unmerged dockerfile, all the others succeeded. Error was at the "Publish to registry" step with error message:
Step 10/22 : RUN curl -ksLO https://raw.githubusercontent.com/dmwm/WMCore/$TAG/requirements.txt
 ---> Running in 2031079ad032
The command '/bin/sh -c curl -ksLO https://raw.githubusercontent.com/dmwm/WMCore/$TAG/requirements.txt' returned a non-zero code: 3
Error: exit status 3
Usage:
exit status 3
  github-actions build-push [flags]

Flags:
  -h, --help   help for build-push

where $TAG should have been properly expanded, otherwise it would have failed in the Build step.


Added --limit= flag to csv export. (Includes tests.)

Addresses (my own) feature request #14.
Added --limit=<seconds> flag to csv export. Only the first seconds will be processed, then substudy will stop early. Useful when testing a new file or subtitle timing.
Added tests to confirm that the generated csv contains expected data.
Bumped cli_test_dir to version 0.1.2 to take advantage of new expect_file_contents and expect_contains methods.

No, thank you for having tests already in the project, so it was easy to TDD this! I've never even looked at Rust before, so I was glad to have an "easy" entry point. :)
I agree with all your suggestions, but my free time is unpredictable, so I'm not sure when I'll get back to this. Thanks for replying quickly, though, even if I can't follow up as quickly!

For the record, I don't think you're being "nitpicky" at all! Keeping codebases clean, consistent, and well-factored is important. And since I'd never even looked at Rust or your project before, there are bound to be things I need to fix up. :)

I've updated cli_test_dir to have the APIs that this patch needs. We're getting closer!

Just as a followup, I think this is almost ready to merge. IIRC, it just needs some tests to prove that it honors --end-time and doesn't export any sound clips or CSV records beyond that time.
I've added the necessary APIs to cli_test_dir, so this should be pretty easy. No rush, just letting folks know the current status of this PR. Thank you for the work you've done on this!

Hello, I'm putting some more work in on substudy, and I have some time to look at this if you're still interested. :-) There may be some merge conflicts because I cleaned up a bunch of serialization and error-handling code, but it shouldn't be anything too horrible.

This could still be merged if somebody were interested in cleaning it up, but the affected code will be heavily rewritten soon.


Support Jammy Jellyfish

Describe the Enhancement

Ultimately, we want to be able to build Ruby apps on top of the Paketo Jammy stacks. Currently, builds fail because buildpacks like mri don't have the Jammy stack listed in their supported stacks.
Possible Solution

Update buildpack.toml and dependencies to add io.buildpacks.stacks.jammy as a compatible stack
https://github.com/paketo-buildpacks/node-engine/issues/487
(If necessary) Recompile installed dependencies to work on Jammy
Add some integration tests that test the buildpack against Jammy

Motivation

Part of https://github.com/paketo-buildpacks/builder-jammy-base/issues/1

At least the following list needs to be updated:

[ ] https://github.com/paketo-buildpacks/bundle-install
[ ] https://github.com/paketo-buildpacks/bundler
[ ] https://github.com/paketo-buildpacks/mri
[ ] https://github.com/paketo-buildpacks/passenger
[ ] https://github.com/paketo-buildpacks/puma
[ ] https://github.com/paketo-buildpacks/rackup
[ ] https://github.com/paketo-buildpacks/rails-assets
[ ] https://github.com/paketo-buildpacks/rake
[ ] https://github.com/paketo-buildpacks/thin
[ ] https://github.com/paketo-buildpacks/unicorn

https://github.com/paketo-buildpacks/ruby/releases/tag/v0.20.0 contains Jammy support


🔧 round 2 card price

close #8173

@roiLeo only problem i see with rounding is this:

and also some zero value NFTs when you sort by lowest price
but i guess is the price we have to pay for it?

@roiLeo only problem i see with rounding is this:  and also some zero value NFTs when you sort by lowest price but i guess is the price we have to pay for it?

please share link

@roiLeo only problem i see with rounding is this:  and also some zero value NFTs when you sort by lowest price but i guess is the price we have to pay for it?

please share link

2 cents transactions:
https://deploy-preview-8174--koda-canary.netlify.app/ahk/u/CmWHiv7h4m9tEzKD94DH4mqwGTvsdYQe2nouWPF7ipmHpqA?tab=activity&buy=true&sale=true
explorer low value items:
https://deploy-preview-8174--koda-canary.netlify.app/ksm/explore/items?listed=true&sort=price_ASC

I made a change that can have break part of code, now numbers show well but with . as separator

I made a change that can have break part of code, now numbers show well but with . as separator

i don't even know how you got those commas, it was always a . here for me
(i do prefer commas, its the separator i use irl )
thanks for fixing it!

i don't even know how you got those commas, it was always a . here for me (i do prefer commas, its the separator i use irl ) thanks for fixing it!

It's determined by your Browser language (european use ',')


Call the application via API?

Is there a way to call the API to get responses?

@gamercoder153 this is unclear - Big-AGI is actually calling upstream APIs, but it's not an API itself. What's the reason behind the request?

@enricoros Instead of using the OpenAI API in my application, I want to use Big AGI to utilize beam functionality.

@gamercoder153 I'm afraid it won't be possible unfortunately. Beam requires the human in the loop, it cannot be fully automated.
It's something we can consider in the future, but won't be able to do soon.
What prevents you from using Big-AGI as your main application?

@enricoros I wish it could happen. It's okay, no worries BTW. You guys are doing a great job. the only problem with using big-agi is I cant use custom tools and RAG

@gamercoder153 custom tools could happen soon. How would you see yourself using those tools?

@enricoros While I can't answer for @gamercoder153 one interesting tool use would be to have the capability to 1) identify code blocks in an LLM output, 2) connect to some online instance that can run code (e.g., Google Colab's REST API or potentially via the Repl.it API) and serve those code blocks, and 3) return the output/error messages directly to the chat window, so I can easily add any custom messages I'd want to ask the LLM.
This way, one could prompt it for something like "Write me a Python function that computes the function x^23+2*x^5 for x =25". Suppose the code, when run on Repl.it generates and error, I'd have that error pasted directly in the chat window, to minimize clicks, so I can simply add a custom message to the LLM, or just, with a single click, forward the error to the LLM.
This would make code tool use much more pleasant , I believe.

My use case is.. I want to say.. send me notification tomorrow at 7pm .. and it would use NTFY to do that. I would use that all the time. Looking forward to custom tools in Big AGI.

Not sure what you mean exactly, but I have submitted a roadmap request if that is what you were after.
https://github.com/enricoros/big-AGI/issues/627

I just discovered that Big-AGI UI can display HTML ..when toggled on. That's it for me... I can now do what I wanted, send notifications to NTFY server. I wish there was an option to have it "On" by default, so that it would display HTML when there is a valid HTML in the response. That would make the UX so much smoother. Still ... amazing feature.

@AMOz1 this is really smart. Can you expand more in how you did it? I love this hack, very unconventional and interesting.
Regarding setting it on HTML rendering, it's easy to do, and probably should be there in Big-AGI 2 (we already have one advanced UI mode which turns it on by default).

@enricoros
sure...

on ntfy.sh I create an account and "subscribe" to my arbitrary topic
on mobile, I install NTFY app and login
in Big-AGI , I use custom persona with the following system prompt https://gist.github.com/AMOz1/0f7d9e48c19a05059c66e2a2afb6cc05
then, I just say something like ... "let's send the notification to buy milk tomorrow at 5pm" .. and Claude Sonnet 3,5 (in my case) constructs a HTML with a button to send the notification
NTFY server then sends the notification with the specified "Delay" header parameter and it pops as a notification in  my NTFY mobile app


Improve memory and cpu performance

add a simple check on the sha to abort re-marshaling the index if the sha hasnt changed.
adds some simple benchmarks to validate this change.

pre-change
go test -bench=. -v -benchmem github.com/fluxcd/source-controller/internal/helm/repository -run=^a -benchtime=10s
goos: linux
goarch: amd64
pkg: github.com/fluxcd/source-controller/internal/helm/repository
cpu: AMD FX(tm)-6100 Six-Core Processor
BenchmarkHelmChartIndex
BenchmarkHelmChartIndex-6   	   15674	    765526 ns/op	   47414 B/op	     883 allocs/op
PASS
ok  	github.com/fluxcd/source-controller/internal/helm/repository	19.777s

post-change
go test -bench=. -v -benchmem github.com/fluxcd/source-controller/internal/helm/repository -run=^a -benchtime=10s
goos: linux
goarch: amd64
pkg: github.com/fluxcd/source-controller/internal/helm/repository
cpu: AMD FX(tm)-6100 Six-Core Processor
BenchmarkHelmChartIndex
BenchmarkHelmChartIndex-6   	  621212	     18005 ns/op	     304 B/op	       6 allocs/op
PASS
ok  	github.com/fluxcd/source-controller/internal/helm/repository	11.451s

It doesnt turn out be that big of a real world performance gain. =(

Could i get some guidance from the maintainers on how to best approach this?  I'm not sure if there is some history the existing cache system. The performance issue is in unmarshaling large indexes over and over again (ours is 30mb and will grow).
I threw in a cache for fun and everything is fixed in a big way now. I'm just not sure how to proceed.
https://github.com/tehlers320/source-controller/commit/9b62349427fb457525c2587580047e77943a06b7
Performance is fantastic now
With in memory cache
Reconciliation finished in 737.117902ms, next run in 10m0s

Without in memory cache (avoiding marshal)
Reconciliation finished in 7.910032747s, next run in 10m0s

Here is what throwing a memory cache in looks like, CPU is cut dramatically. Memory not at all. Test build put in at 21:25 (was v0.21.2 prior)

@tehlers320 I am also testing adding a cache to the controller that would cache an arbitrary number of indexes with expiration. Let's talk about it on slack.

Closing in favor of https://github.com/fluxcd/source-controller/pull/626/files


Diagnostic pop-up overwrites hovered character

Whenever the diagnostic pop-up appears above a line the current character gets overwriten with ┃

nvim v0.8.2
tmux v3.3a
Alacritty v0.11.0
lspsaga commit #57a29c028

I can't reprodue your issue . it's not override the char in another window

which commit ?

in my test it works fine you config some markdown server . i did not use that.

i can't reproduce . you may need use a min config to reproduce it .

output of :echo winwidth and with a min config if you can reproduce.

should be fixed.


Prepare for v1.7.3 release

Bump the version and update the changelog.

I'm going to go ahead and merge this to tag a new release (to address https://github.com/pulumi/pulumi-std/issues/69), but happy to address any feedback subsequently.


Add a white border around the indicator

Currently the indicator looks great in light theme, but in dark theme it is hardly recognizable.

I use it with vivaldi and the colors are... not great. The border could be white/black or we could use dark/light theme.


Error code 052110-1

Wont connect to internet after using the DNS from the app, using DSI if that matters

There's a multitude of possible causes for this error. Here are some you can check for:

The DNS is not configured correctly.
Entralinked is not displaying the correct DNS. Make sure that it matches the private IPv4 of your PC.
Your DS is not connected to the same network as your PC.
A firewall is blocking communcations between Entralinked and your DS. Make sure that your firewall allows Java to communicate.
Other software (such as a VPN or Virtual Machine) might be causing interference.


Update indexeddb.json

Added Safari unique index bug

Could you include a link to more details on this bug or at least a bit more information? Thanks.

Perhaps this refers to https://bugs.webkit.org/show_bug.cgi?id=149107 ?

I can't see the bug in this.
We just figured it out in development.
Von meinem iPhone gesendet

Am 09.03.2016 um 07:35 schrieb Chris Rebert<EMAIL_ADDRESS>Perhaps this refers to https://bugs.webkit.org/show_bug.cgi?id=149107 ?
—
Reply to this email directly or view it on GitHub.

@dennispost Can you provide any more details then? If not I'm going to close this PR.


Bumped the toml and lint dependencies to their latest,

and moved to requiring Dart 3.2+ (because that's what toml bumped to).
Code compiles, and dart test seems to pass.

Thanks!


Add more coverages for Trinity CLI tests

What is wrong?
This is a follow-up to the discussion in https://github.com/ethereum/py-evm/pull/968#issuecomment-400944731
The coverages in the trinity CLI tests here is insufficient.
How can it be fixed
Add more coverages for trinity CLI to at least include the following cases:

[x] Make sure that in the case when IPC file is not found, then it prints error log
[ ] Make sure that trinity attach works

Likely can be closed in favour of issue #1472.

@veox yep, thanks!


Sync search improvements

Changes Unknown when pulling 1f731dda24b174dbb22b51458cd84601cb4302b1 on sync-search-changes into ** on master**.


Can't we submit new results any more?

Recently, I discovered this awesome repository and project. Thanks for your contribution!
However, when I try to upload the result, it just told me "empty response". and "failed to upload"

Are we forbidden from uploading new submissions? or it is a temporary problem?
Thanks!

I think I may misunderstand this... Though it told me it failed to upload, it successfully calculated the result and uploaded.


feat: Added Dashboard UI

Pull Request
Related Issues:
#31 issue
Fixes #31
Description:
Added a fully responsive dashboard UI
Note: Do [x] to select the below checkbox
Checklist:

[x] I have tested my changes.
[x] My code follows the project's coding standards.
[ ] I have updated the documentation (if applicable).

Screenshots:

Please review and let me know of any changes and - I am wondering if it's okay to remote the old dashboard versions -
currently we have 2 of the dashboard files namely, dashbaord.jsx and dashboard1.jsx should I just remove them. or let them be.


Typed bind, apply and call?

Tuples with rest are landed, so where my typed bind, apply and call? :)

Currently is not possible to rewrite lib.d.ts typings
type RetType<T> = T extends (...args: any[]) => infer R ? R : any;
type Args<T> = T extends (...args: infer A) => infer R ? A : any;
declare global {
    interface Function {
        bind<This>(this: This, this_: {}, ...a: Args<This>): RetType<This>;
        foo<This>(this: This, this_: {}, ...a: Args<This>): RetType<This>;
    }
}

df.bind({}, ''); // bad - no error
df.foo({}, ''); // ok - error

That is a duplicate of https://github.com/Microsoft/TypeScript/issues/212.
We need to make the change, run the local tests and see if there are any interesting breaks.


In place holds have been retired

In the holds for mailboxes you are mention an option is In place holds for mailboxes. This functionality has been retired.
I am cross referencing to the following page for more information
On Microsoft Docs page  https://docs.microsoft.com/en-us/exchange/security-and-compliance/in-place-and-litigation-holds is says this
As we continue to invest in different ways to preserve mailbox content, we're announcing the retirement of In-Place Holds in the Exchange admin center (EAC) in Exchange Online. Starting July 1, 2020, you won't be able to create new In-Place Holds. But you'll still be able to manage In-Place Holds in the EAC or by using the Set-MailboxSearch cmdlet in Exchange Online PowerShell. However, starting October 1, 2020, you won't be able to manage In-Place Holds. You'll only be able to remove them in the EAC or by using the Remove-MailboxSearch cmdlet. Using In-Place Holds in Exchange Server and Exchange hybrid deployments will still be supported. You will also still be able to place mailboxes on Litigation Hold. For more information about the retirement of In-Place Holds in Exchange Online, see Retirement of legacy eDiscovery tools.
When a reasonable expectation of litigation exists, organizations are required to preserve electronically stored information (ESI), including email that's relevant to the case. This expectation often exists before the specifics of the case are known, and preservation is often broad. Organizations may need to preserve all email related to a specific topic or all email for certain individuals. Depending on the organization's electronic discovery (eDiscovery) practices, the following measures can be adopted to preserve email:
[Enter feedback here]

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

ID: 4119f918-a0b2-4bdc-535e-11d2c476f675
Version Independent ID: 1520175d-398b-4df1-86db-8ba6b26260df
Content: How to identify the type of hold placed on an Exchange Online mailbox - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/identify-a-hold-on-an-exchange-online-mailbox.md
Service: o365-seccomp
GitHub Login: @markjjo
Microsoft Alias: markjjo

@nikki-c Good point. In-Place Holds are still listed in this topic because it's possible that an existing In-Place Holds may still be applied to mailboxes (especially inactive mailboxes) and they can be removed. So this topic explains how to identify them. I could add a note to the topic stating this. Is that your recommendation/ask?

I would make it clearer as it is misleading at the moment. And maybe reference the the link I added.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Mark Johnson - MSFT<EMAIL_ADDRESS>Sent: Thursday, February 25, 2021 6:17:46 PM
To: MicrosoftDocs/microsoft-365-docs<EMAIL_ADDRESS>Cc: Nikki Chapple (Group<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/microsoft-365-docs] In place holds have been retired (#4250)
@nikki-chttps://github.com/nikki-c Good point. In-Place Holds are still listed in this topic because it's possible that an existing In-Place Holds may still be applied to mailboxes (especially inactive mailboxes) and they can be removed. So this topic explains how to identify them. I could add a note to the topic stating this. Is that your recommendation/ask?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/microsoft-365-docs/issues/4250#issuecomment-786103001, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQRY4GX4PILW54U7RL2UYNLTA2H4VANCNFSM4YGSAWFQ.
itevomcid

@nikki-c Will do. Thanks.


Optimize for old SSSE3/SSE 4.2-era processor

Do you think it makes sense to add a "vec_ssse3.h" and optimize for SSE3/SSSE 4.2-era processors (which I have a bunch of)?

Made a pull request for discussions:
https://github.com/mozilla/LPCNet/pull/139

Made a pull request for discussions:
https://github.com/mozilla/LPCNet/pull/139

I think it's a good idea to optimize for non-AVX CPUs, but perhaps not in the way you started. First, I suggest you have a look at the new exp_improved_simd2 branch, which significantly improves the AVX2 code (close to 2x speedup). I think the same optimizations can be directly converted to SSE* by just using two 128-bit instructions instead of each 256-bit instruction.

Thanks Jean-Marc, I'll take a look and try to "backport" to SSE 4.2 (Atom and Celeron) as you recommend. Btw, the new dot-product related functions also provide speed-up in the decoding?

The new code is only for decoding -- encoding is already pretty fast.

Right, encoding is really fast indeed.
When I have something for SSE 4.2, should I just use the unit test in order to see if the results match the other implementations?


Setting up database needs more details

For docs/src/main/asciidoc/installation/installation.adoc:

The instructions  say "Create two databases" but doesn't say what names to use.  It should be something like:

Create two databases in your dbms.  The database names are strings composed like:
<your-project-name>Port
<your-project-name>Serv

The instructions should specify uncommenting the dependency on the mysql dependency if that database is used.

                    <dependency>
                            <groupId>mysql</groupId>
                            <artifactId>mysql-connector-java</artifactId>
                            <version>5.1.18</version>
                    </dependency>

Thanks @chrisvire
@boatisEnt Can you take a look at adding these? Let me know if you have questions.

These items have been added to the documentation. Thanks for the ticket @chrisvire If you want you can also contribute directly to the documentation by forking this project and submitting pull requests
https://github.com/entando/entando-docs


Selection info could be returned as  layer IDs instead of (or in addition to) layer indexes

I am parsing metadata to know which layer is currently selected in photoshop and then saving settings generator settings per layer.
I just noticed that the onimagechange returns selected layer ids array starting from 0 but when i pull full document info i get layer starting from 1.
When I use setLayerSettingsForPlugin and pass it the layer id 0, it does not produce any errors and instead goes on and acts like setDocumentSettingsForPlugin.
I see the second error occurs getGeneratorSettings extend script has the following condition:
if (params.layerId) {
theRef.putIdentifier(classLayer, params.layerId);
}
Which would fail when layer id is 0 and would instead treat is a DocumentSetting.
I have temporarily fixed the error by adding 1 to the layer id reported in the meta-data.

An update on this, the selection layers actually return layer index instead of layer ID. My test PSD was ambiguous, hence I didn't notice the difference.
It would make more sense to send layer IDs as that is what is used to reference layers through out the generator API but at-least its not a bug :)

I agree that it would be nice to return layer IDs instead of (or in addition to) indexes. I suspect the use of indexes is for efficiency (is that correct, @timothynoel )?
At any rate, since this is a feature request and not a bug, I'm going to a.) mark it as such, and b.) change the title of the issue so that others aren't confused.

Possible, it would just be a matter of sending more stuff to send back (we can get ids from indeces in constant time.) We'd need to send both id/indeces I think, and put the id's into another array to preserve compatibility. You still need the indeces tell you where the layers went, or you'd have to send back the full list.   I'll keep it in mind, but it will have to wait for the next version.

@timothynoel In a perfect world, we could do this entirely on the JS side. However, we haven't yet moved to a world where generator-core keeps a document model around (that code is still in generator-assets). If that code were moved to core, it would be easy to do this rewriting in JS.
As you know, though, we've all got a million things to do, and moving to a stateful model in generator-core is pretty low on that to do list. :smile:


scene.update_mesh_positions() misdocumented as computing normals

Documentation error where update_mesh_positions is said to compute normals from the new vertex positions, which is not the case.

I think I have a fix for this: replacing VectorBufferNone with base_mesh->compute_normals(positions, base_mesh->triangles()) on line 410 of scene.cpp.
However, I can't seem to make a branch so I can make a PR for this fix. Any suggestions? Also just happy if someone with the right permissions can make this fix.

@errollw you can create a fork with your branch, and then create a pull request to merge from your fork. Here's an example of what that looks like: #38


Upgrade to CosmWasm/wasmvm 1.2

(when it's finalized)
Changes for wasmd:

[x] New cosmwasm_1_2 capability
[x] New MsgVoteWeighted and WasmMsg::Instantiate2 emitted by contracts
[x] New code info query
[x] Handle new SystemError::NoSuchCode correctly analogue to SystemError::NoSuchContract

Update:
Windows (client) support was moved to #1169

done


Allow file extensions restriction on FilePond

The default FilePond validation plugin only checks against MIME types. Sometimes you want to limit on extensions as well. While the <input type="file"> field supports file extensions via accept and works out of the box, FilePond tries to compare the files MIME type against the file extension which always fails.
This PR adds a custom validator which extracts the allowed extensions from the allowedFileTypes and returns a valid MIME type when the files extension is in the list of allowed extensions.

Thanks!

why this commit reverted?


Prior Bootstrap Classes Taught not showing up in subsequent code windows, in Lessons

Hiya,
Prior Bootstrap Classes Taught not showing up in subsequent code windows, specfically the <btn>, <btn-block>'  <btn-info>, <btn-primary>,<btn-danger>, for` the Bootstrap CSS lessons,, in Lessons. I thought at first that this was done on purpose so that we memorize the bootstrap classes but it is blatantly obvious in the first lesson on the list, and it bugs me a lot haha.
Challenge Name
-** https://www.freecodecamp.com/challenges/use-the-bootstrap-grid-to-put-elements-side-by-side

https://www.freecodecamp.com/challenges/taste-the-bootstrap-button-color-rainbow

https://www.freecodecamp.com/challenges/call-out-optional-actions-with-button-info

https://www.freecodecamp.com/challenges/warn-your-users-of-a-dangerous----

https://www.freecodecamp.com/challenges/create-a-block-element-bootstrap-button

Issue Description
When you load lesson asterisked on top, you see that the lesson is on the Bootstrap Grid. All past lessons are related to the bootstrap button. Each one of the previous lessons did not have the important btn and btn-block classes already filled in, and this one also did not have it filled in. I found it odd, as in previous lessons, the previous code that is used is almost always included (unless we're segueing purposely)
The first lesson on top, for the rendered code on the right  in the fake CatPhotoApp to work, the buttons should have been coded in the code preview already. However while the Bootstrap code was rendered in the fake app, the code preview window does not show the code...and the lesson is not even about putting that actual code in! Normally it's already put in for you, if it was covered in a previous lesson.
Browser Information

Browser Name, Version: Chrome Version 52.0.2743.82
Operating System:  Windows 7 Enterprise
Mobile, Desktop, or Tablet:  Desktop

Screenshot

Most of the exercises above that you mentioned have btn and btn-default class on <button></button> element. If not, then the assignment is to give them one.
Example of Call out Optional Actions with Button Info

This picture shows where the code is, that is responsible for rendering buttons on main page.

If I missed a point, feel free to correct me.

As @Dayfiri said, they are there, they are just moved down the page to make room for the style section. Please reopen if we're mistaken about the issue.

Hiya,
Unfortunately not what I meant....most of what's listed in my bug form
already is past those lessons. Particulars the first one.
Thanks,:)
Katrina
On Oct 25, 2016 4:48 AM, "Matko Hromin"<EMAIL_ADDRESS>wrote:

Most of the exercises above that you mentioned have btn and btn-default
class on  element. If not, then the assignment is to
give them one.
Example of Call out Optional Actions with Button Info
https://www.freecodecamp.com/challenges/call-out-optional-actions-with-button-info
[image: screenshot from 2016-10-25 10-40-21]
https://cloud.githubusercontent.com/assets/16082563/19678794/8c704b54-9a9f-11e6-947e-288f77129987.png
This picture shows where the code is, that is responsible for rendering
buttons on main page.
[image: screenshot from 2016-10-25 10-42-29]
https://cloud.githubusercontent.com/assets/16082563/19678918/0c5a4c52-9aa0-11e6-8eba-a6978dc8f3b1.png
If I missed a point, feel free to correct me.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/11357#issuecomment-255974809,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVooRlWFVKvqbsswqInYk08dvrbct03Nks5q3cJegaJpZM4KfLJu
.

Hi,
Please re-open. Maybe I am missing something, and I'll post a screenshot as
soon as I can to illustrate,  but for most of the examples I posted, the
bootstrap code is in the HTML and not in the stylesheet.
The classes are not defined, even though it is rendered in the fake app.
And, as I said, the lessons are no longer about doing those bootstrap
classes, have progressed beyond that.
That's why it's bugging me...because, if I understand correctly, any CSS,
Bootstrap or not, has to be defined first before being called within the
HTML
On Tue, Oct 25, 2016 at 9:39 AM, Dylan<EMAIL_ADDRESS>wrote:

Closed #11357 https://github.com/FreeCodeCamp/FreeCodeCamp/issues/11357.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/11357#event-835464020,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVooRj_WWdH4jVPy4_lT6jHYgFQLxDvJks5q3gaAgaJpZM4KfLJu
.

@TrinNicole I see what you mean. In this case, the CSS is being added via an external style sheet (not within style tags within the code). This is communicated via the following excerpt from the first challenge in the Bootstrap section.

You can add Bootstrap to any app by adding the following code to the top of your HTML:

In this case, we've already added it for you to this page behind the scenes.


RobotFramework

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

No information provided - Closing


fix multi-part AOI input processing for non-Oracle vector layers

Only one AOI is processed, after a long hang during processing:

Should follow pattern used for BCGW to add features to feature_layer_lst and then mergevectorlayer

Fixed in dev and merged to main


PhysicalDeviceFeatures2Builder::push_next()?

I'm trying to get_physical_device_features2() for PhysicalDeviceDescriptorIndexingFeatures.
Edit: maybe VkPhysicalDeviceVulkan12Features?  Same issue.

relates to https://github.com/MaikKlein/ash/pull/305

Thinking about it, I don't know what cause PhysicalDeviceFeatures2 to ever be used as a branch.  It can be, but it's main usage would be for get_physical_device_features2().  Afterwards DeviceCreateInfo.p_enabled_features == PhysicalDeviceFeatures2.features, so there is currently no reason to have PhysicalDeviceFeatures2 be a branch of DeviceCreateInfo.

I just hit this issue too. I think this is a functional workaround?
        let mut descriptor_indexing_features = ash::vk::PhysicalDeviceDescriptorIndexingFeaturesEXT::default();
        let mut features_v2 = vk::PhysicalDeviceFeatures2::default();

        unsafe {
            features_v2.p_next = &mut descriptor_indexing_features as *mut _ as *mut std::ffi::c_void;
            instance.get_physical_device_features2(device, &mut features_v2)
        };

This function is now available since #305 (in Ash release 0.33) where we finally cleaned up how structextends is handled. Any struct that is mentioned one or more times in a structextends gets a trait ExtendsXXX and fn push_next(), and that trait is implemented for the struct mentioning it in structextends. And it is removed from all structs that are never extended according to vk.xml, getting rid of unnecessary bloat.


Upgrade to Core 2.0

Title says it all.
You can use this as a reference: https://docs.microsoft.com/en-us/aspnet/core/migration/1x-to-2x/

https://github.com/fusionalliance/autorenter-api-aspnetcore/pull/48


views are not used by default

Thanks you for this awesome gem.
I'm using master branch (gem 'devise-i18n', github: 'tigrish/devise-i18n', branch: 'master'). Unfortunately rails still renders (old) devise views like:
Processing by Devise::SessionsController#new as HTML
  Rendered /home/lukas/.rvm/gems/ruby-2.3.0/gems/devise-3.5.6/app/views/devise/shared/_links.html.erb (27.6ms)
  Rendered /home/lukas/.rvm/gems/ruby-2.3.0/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb within layouts/application (692.6ms)
Completed 200 OK in 981ms (Views: 944.8ms | ActiveRecord: 3.6ms)

When I generate views to my project by rails g devise:views:i18n_templates then everyting is OK.
The problem is that devise-i18n views are not included in the view paths. (At first I was suspicious that there is a wrong order in view paths array, I temporarily move default devise view away (mv /home/lukas/.rvm/gems/ruby-2.3.0/gems/devise-3.5.6/app/views/devise/sessions/new.html.erb{,.bak}) doesn't help).

Fixed!


Enable/Disable widget on events

Hi everyone, i've read many post about Enable/Disable widget in Druid, from 1 or 2 years ago.
First of all, i'm a beginner and i want to know how to do it and how the situation has evolved.
Specifically, in my project, i want to Enable a Spinner when a thread doing a task and disable it when the thread finish tasks.
I'm trying to use a ViewSwitcher controlled by an AppState.value, but it doesn't seem to work.
Thanks in advance.
Sardina Simone

Sardina, please have a look at druid/examples/blocking_function.rs which if I recall does a similar thing using the Either widget.

@ratmice thanks for reply. Yeah, i've already saw that code and i've implemented some parts of it.
I used a Viewswitcher instead of Either but the Delegate part is almost the same.
The only difference between mine and blocking_function, is that i don't pass any variable inside the thread through sink.submit_command, as a payload. This thing confuse me a lot also because submit command require a payload.
Furthermore blocking_function confuse me a lot because, is write all in main.rs file and i use main, view and data .rs files.
Thanks in advance.
Sardina Simone

This thing confuse me a lot also because submit command require a payload.

If you don't have a payload you can just use ().

Specifically, in my project, i want to Enable a Spinner when a thread doing a task and disable it when the thread finish tasks.
I'm trying to use a ViewSwitcher controlled by an AppState.value, but it doesn't seem to work.
Thanks in advance.

And just to clarify this ViewSwitcher and Enable/Disable are two completely different things. Which posts do you mean?

Furthermore blocking_function confuse me a lot because, is write all in main.rs file and i use main, view and data .rs files.

The blocking_fuction example was written as one file just for readability. It makes no difference.

@xarvic thanks for reply.
The function submit.command( ) require three argument, i can't use ( ) for it. Also, i want to use inside that the SELECTOR to manage AppDelegate.
Thanks in advance.

My bad. What I meant to say was: You can create a Selector<() >. () carries no information therefore you get a Selector without a payload. You still have to write ()  every time you use it but you can ignore that.

@xarvic thanks for reply. Oh, i got it,; now it works even without a payload!
Thanks a lot Christoph.
Regards,
Sardina Simone


Move Apifox.Apifox 2.1.29 to Ruihu.Apifox 2.1.29

Microsoft Reviewers: Open in CodeFlow

[Policy] Reset Feedback

[Policy] Approved


[WEB API PATCH] Indications / Contraindications

Added in Contraindications to the Indications column and renamed the column as such.
Commit:
https://github.com/OHDSI/CommonEvidenceModel/commit/128522d218e2fbeeeea28f8cdda474ef6a42bcc9

Missing UPPER() on line 11, this was a bug.  Also added IND/CI on line 21 & Line 47.  Added the UPPER back in Line 40, 45
postProcessingNegativeControls/inst/sql/sql_server/findDrugIndications.sql
Column rename
postProcessingNegativeControls/inst/sql/sql_server/optimizeEvidence.sql
Column rename
postProcessingNegativeControls/inst/sql/sql_server/summarizeEvidence.sql

Keeping this issue open for this minor fix:
https://github.com/OHDSI/WebAPI/issues/391

Note to self: look at the commit referenced above to ensure we're in sync with WebAPI SQL Files.

Fixed in: https://github.com/OHDSI/Atlas/commit/844777cd470c386d525ad07b20ef44876993b94a


serverless-python-requirements plugin issue

serverless plugin serverless-python-requirements' not found

@ssabnis can you please elaborate? did you run npm install? I see it's missing in the README, i'll add it.


AFter updating from v<IP_ADDRESS> to v<IP_ADDRESS> a receive a "is not compatible" error

Error
"Unable to resolve dependencies. 'Xamarin.Google.iOS.Core <IP_ADDRESS>' is not compatible with 'Xamarin.Google.iOS.InstanceID <IP_ADDRESS> constraint: Xamarin.Google.iOS.Core (>= <IP_ADDRESS>)'."

@rubenc57 We had a slip on G.Core version on Xamarin.Google.iOS.InstanceID <IP_ADDRESS>. G.Core was not meant to be updated. Please, downgrade to version <IP_ADDRESS>, there is no difference between these versions.
Sorry for the inconveniences.
Best,
Israel Soto.


Add rendering of template variables to environment variables

fixes #29

Would you mind merging main before I review?

I've merged

I've added the comment you asked for.


Fix leftover renaming of BUILD_CURL_TRANSPORT cmake option within the repo.

Closing this one (PR race condition). @antkmsft already fixed this in https://github.com/Azure/azure-sdk-for-c/pull/753.


Allow configuring labels on Pods

Update deployment templates to allow configuring labels on Pods

 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.

Would be great if this could be approved and merged.


Water conservation validation

Proposal
I propose an addition to the Parameters object called forcing::Float64. This number denotes the net exchange 'flux' of the environment into the model. It is updated by each call to a formulate! method, where special care has to be taken everywhere with connected LevelBoundary and Terminal nodes. When du is fully formulated, its sum must be equal to forcing. An error can be thrown when the difference $e_k$ at timestep $t_k$ is too large. $e_k$ is given by
$$
e_k = \sum_{i=1}^n f_i(\mathbf{u}(t_k),p(t_k),t_k) - \sum_{i=1}^n F_i(\mathbf{u}(t_k),p(t_k),t_k),
$$
assuming there are $n$ basins. The first term is the sum of du and the second the sum of the forcings, i.e. forcing.
It could be nice to introduce a new state, say water_balance_error, which is the cumulative (integral) version of $e$. That is, this state denotes how much water was actually introduced/removed erroneously since the start of the simulation. There a several nice uses for this state:

An intuitive bound can be placed on how large this state is allowed to get;
The partial derivatives of forcing are computed automatically in the Jacobian. These partial derivatives can give an insight in which basin storages are involved in breaking water conservation;
When the time comes for sensitivity analysis, calculating the derivative of water_balance_error with respect to a node parameter can reveal whether the related (non-basin) node is involved in breaking water conservation.

Implementation considerations
There are several ways to gather the information to calculate $e$ within water_balance!. How and where this information is gathered determines what types of errors with water conservation are actually caught. Using the sum of the fully formulated du is nice because that's 'as late as possible', i.e. the values that are actually used by the solver.
To gather the forcings, the above method is necessary for basin forcings (evaporation, precipitation etc.). For boundary nodes it could be done differently, outside the formulate! calls. A new function get_boundary_flows! could be added, with a method for each boundary node, which grabs the forcing flows from the flow object. This might be cleaner than the approach above because this way the information which flows are 'boundary flows' is more directly available.
Final notes

In the formal model description it must be made clear that the forcing can actually depend on the model state as indicated above (e.g. when a level boundary is connected to a resistance node).
One thing to work out is how this combines with coupling.
If this is implemented, it should be decided which parts must be (optional) user input and what the default settings are.

Hi @SouthEndMusic , looks like a good start, but at the basin level we also have (forcing) fluxes: rain, evaporation, drainage, etc.

@gijsber that is incorporated in this, basin forcing is handled by one of the formulate! calls.

@visr : is this issue still needed?If not, please close

Closing in favor of #642


libqalculate: 3.5.0 -> 3.6.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libqalculate/versions.
meta.description for libqalculate is: '"An advanced calculator library"'.
meta.homepage for libqalculate is: '"http://qalculate.github.io"
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.6.0 with grep in /nix/store/hgh7arnhqsg2glwkafzbfawdvjw5w3aq-libqalculate-3.6.0

directory tree listing: https://gist.github.com/fbc96a813d3fc132f035fa05a898f9fc

du listing: https://gist.github.com/e7046d1aca3a818d0576bd853d40e140

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

78 total rebuild path(s)
26 package rebuild(s)
26 x86_64-linux rebuild(s)
25 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
25 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
kde-cli-tools
kdeplasma-addons
kdev-php
kdev-python
kdevelop
kdevelop-unwrapped
kmenuedit
kwin-tiling
libqalculate
libsForQt5.khotkeys
libsForQt512.khotkeys
nasc
plasma-desktop
plasma-workspace
plasma5.kde-cli-tools
plasma5.kdeplasma-addons
plasma5.khotkeys
plasma5.kmenuedit
plasma5.plasma-desktop
plasma5.plasma-workspace
plasma5.powerdevil
plasma5.systemsettings
powerdevil
qalculate-gtk
systemsettings
wacomtablet

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/hgh7arnhqsg2glwkafzbfawdvjw5w3aq-libqalculate-3.6.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A libqalculate https://github.com/r-ryantm/nixpkgs/archive/8384fd752d591850a9bdff6681ef3a70ecd62113.tar.gz

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

cc @gebner for testing.

@c0bw3b Yes, qalculate-gtk and libqalculate are released together and need to be updated together.

Merged with qalculate-gtk update: 12d9b6929cabb40b02132ff1308e4f1d8ff47d28


Fix upside down badges in README.md

Looks very good.

@BenMorel I see you follow this upside down patter in every Bricks repo.


Live quiz ID

Hello there! Is there a way to get the Quiz Id for a Live quiz?

I assume you are referring to QuizId and not the Quiz Code, So there are multiple of ways to get it. For example doing a simple /CheckRoom Post Request leaves you a LongQuizId which might be used for something, I dont know. At this point you need to put something from your self. 😇

Yes I needed the QuizId. Thank you for your tip, will play around with it. 😃


how to set tssh as vscode default tools when create a new remote window？

I have tried change ”remote.SSH.path“ to  "C:\Users\wyjbot\AppData\Local\Microsoft\WinGet\Links\tssh.exe" .but it not work

Is this normal on your win? I still can't bring up win11 file browser to upload. I suspect that vscode remote.SSH.path does not take effect

If you want to use trzsz in the vscode terminal, modifying remote.SSH.path is not supported.

trzsz ( trz / tsz ) is not supported even you set remote.SSH.path to tssh.bat.
After you log in to the remote server in vscode, execute the following command in Windows PowerShell:
Get-WmiObject Win32_Process | Where-Object { $_.CommandLine -like '*tssh*' } | Select-Object ProcessId, CommandLine

You will see  the output similar to this:
tssh -T -D 55648 xxx bash

When you open multiple remote terminals in vscode, the number of ssh processes will not increase.
That's because each terminal in vscode is implemented by vscode itself through -D dynamic port forwarding.
tssh cannot capture the input and output of each terminal in vscode, so it cannot support trzsz.

fine, I use my company's file transfer tool called "ift". it could use in vscode. I don't know how it execute.but just use tssh.bat. it report below bug.
[10:58:44.985] "remote.SSH.path": D:\tssh.bat
[10:58:44.985] "remote.SSH.configFile": undefined
[10:58:44.985] "remote.SSH.useFlock": true
[10:58:44.985] "remote.SSH.lockfilesInTmp": false
[10:58:44.985] "remote.SSH.localServerDownload": auto
[10:58:44.985] "remote.SSH.remoteServerListenOnSocket": false
[10:58:44.985] "remote.SSH.showLoginTerminal": true
[10:58:44.986] "remote.SSH.defaultExtensions": []
[10:58:44.986] "remote.SSH.loglevel": 1
[10:58:44.986] "remote.SSH.enableDynamicForwarding": true
[10:58:44.986] "remote.SSH.enableRemoteCommand": false
[10:58:44.986] "remote.SSH.serverPickPortsFromRange": {}
[10:58:44.986] "remote.SSH.serverInstallPath": {}
[10:58:44.986] "remote.SSH.permitPtyAllocation": true
[10:58:44.986] "remote.SSH.preferredLocalPortRange: undefined
[10:58:44.986] "remote.SSH.useCurlAndWgetConfigurationFiles: false
[10:58:44.991] VS Code version: 1.92.0
[10:58:44.991] Remote-SSH version<EMAIL_ADDRESS>[10:58:44.991] win32 x64
[10:58:44.999] SSH Resolver called for host: ptm
[10:58:44.999] Setting up SSH remote "ptm"
[10:58:45.002] Using commit id "b1c0a14de1414fcdaa400695b4db1c0799bc3124" and quality "stable" for server
[10:58:45.004] Install and start server if needed
[10:58:45.006] Checking ssh with "D:\tssh.bat -V"
[10:58:45.007] Finding installed ssh failed: spawn EINVAL
[10:58:45.008] Resolver error: Error: spawn EINVAL
	at ChildProcess.spawn (node:internal/child_process:421:11)
	at Object.spawn (node:child_process:799:9)
	at c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:589529
	at new Promise (<anonymous>)
	at R (c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:589449)
	at k (c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:589400)
	at A (c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:592580)
	at T (c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:589171)
	at C (c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:589076)
	at t.generateMultiLineCommand (c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:590768)
	at t.generateSshCommand (c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:623446)
	at c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:582869
	at async t.withShowDetailsEvent (c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:586054)
	at async k (c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:579675)
	at async t.resolve (c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:583465)
	at async c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:851047
[10:58:45.010] TELEMETRY: {"eventName":"resolver","properties":{"osReleaseId":"","arch":"","askedPw":"0","askedPassphrase":"0","asked2fa":"0","askedHostKey":"0","remoteInConfigFile":"1","gotUnrecognizedPrompt":"0","dynamicForwarding":"1","localServer":"0","didLocalDownload":"0","installUnpackCode":"0","outcome":"failure","reason":"Unknown","exitCodeLabel":""},"measures":{"resolveAttempts":1,"isExecServer":0,"timing.totalResolveTime":23}}
[10:58:45.012] ------

[10:58:45.245] Opening exec server for ssh-remote+ptm
[10:58:45.263] Initizing new exec server for ssh-remote+ptm
[10:58:45.264] Using commit id "b1c0a14de1414fcdaa400695b4db1c0799bc3124" and quality "stable" for server
[10:58:45.266] Install and start server if needed
[10:58:45.272] Checking ssh with "D:\tssh.bat -V"
[10:58:45.272] Finding installed ssh failed: spawn EINVAL
[10:58:45.273] Exec server for ssh-remote+ptm failed: Error: spawn EINVAL
[10:58:45.273] Error opening exec server for ssh-remote+ptm: Error: spawn EINVAL

fine.

I use my company's file transfer tool called "ift". it could use in vscode, I don't know detail about how it execute. the problem is it only available for company‘s server and need Employee authentication.

just  for using  automated-interaction tssh.bat. it report below bug.

[10:58:44.985] "remote.SSH.path": D:\tssh.bat
[10:58:44.985] "remote.SSH.configFile": undefined
[10:58:44.985] "remote.SSH.useFlock": true
[10:58:44.985] "remote.SSH.lockfilesInTmp": false
[10:58:44.985] "remote.SSH.localServerDownload": auto
[10:58:44.985] "remote.SSH.remoteServerListenOnSocket": false
[10:58:44.985] "remote.SSH.showLoginTerminal": true
[10:58:44.986] "remote.SSH.defaultExtensions": []
[10:58:44.986] "remote.SSH.loglevel": 1
[10:58:44.986] "remote.SSH.enableDynamicForwarding": true
[10:58:44.986] "remote.SSH.enableRemoteCommand": false
[10:58:44.986] "remote.SSH.serverPickPortsFromRange": {}
[10:58:44.986] "remote.SSH.serverInstallPath": {}
[10:58:44.986] "remote.SSH.permitPtyAllocation": true
[10:58:44.986] "remote.SSH.preferredLocalPortRange: undefined
[10:58:44.986] "remote.SSH.useCurlAndWgetConfigurationFiles: false
[10:58:44.991] VS Code version: 1.92.0
[10:58:44.991] Remote-SSH version<EMAIL_ADDRESS>[10:58:44.991] win32 x64
[10:58:44.999] SSH Resolver called for host: ptm
[10:58:44.999] Setting up SSH remote "ptm"
[10:58:45.002] Using commit id "b1c0a14de1414fcdaa400695b4db1c0799bc3124" and quality "stable" for server
[10:58:45.004] Install and start server if needed
[10:58:45.006] Checking ssh with "D:\tssh.bat -V"
[10:58:45.007] Finding installed ssh failed: spawn EINVAL
[10:58:45.008] Resolver error: Error: spawn EINVAL
	at ChildProcess.spawn (node:internal/child_process:421:11)
	at Object.spawn (node:child_process:799:9)
	at c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:589529
	at new Promise (<anonymous>)
	at R (c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:589449)
	at k (c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:589400)
	at A (c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:592580)
	at T (c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:589171)
	at C (c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:589076)
	at t.generateMultiLineCommand (c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:590768)
	at t.generateSshCommand (c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:623446)
	at c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:582869
	at async t.withShowDetailsEvent (c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:586054)
	at async k (c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:579675)
	at async t.resolve (c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:583465)
	at async c:\Users\wyjbot\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.2024072315\out\extension.js:2:851047
[10:58:45.010] TELEMETRY: {"eventName":"resolver","properties":{"osReleaseId":"","arch":"","askedPw":"0","askedPassphrase":"0","asked2fa":"0","askedHostKey":"0","remoteInConfigFile":"1","gotUnrecognizedPrompt":"0","dynamicForwarding":"1","localServer":"0","didLocalDownload":"0","installUnpackCode":"0","outcome":"failure","reason":"Unknown","exitCodeLabel":""},"measures":{"resolveAttempts":1,"isExecServer":0,"timing.totalResolveTime":23}}
[10:58:45.012] ------

[10:58:45.245] Opening exec server for ssh-remote+ptm
[10:58:45.263] Initizing new exec server for ssh-remote+ptm
[10:58:45.264] Using commit id "b1c0a14de1414fcdaa400695b4db1c0799bc3124" and quality "stable" for server
[10:58:45.266] Install and start server if needed
[10:58:45.272] Checking ssh with "D:\tssh.bat -V"
[10:58:45.272] Finding installed ssh failed: spawn EINVAL
[10:58:45.273] Exec server for ssh-remote+ptm failed: Error: spawn EINVAL
[10:58:45.273] Error opening exec server for ssh-remote+ptm: Error: spawn EINVAL

What will be the output of executing D:\tssh.bat -V in PowerShell?

OpenSSH

The weird thing is that vscode will report an error spawn EINVAL.
It may be a permission issue, can you try C:\tssh.bat ?

even i directly run it in vsocde bottom terminal：
PS C:\Users\wyjbot> C:\tssh.bat -V
OpenSSH
PS C:\Users\wyjbot> D:\tssh.bat -V
OpenSSH

The output OpenSSH is as expected, I mean try setting remote.SSH.path to C:\tssh.bat.

I use my company's file transfer tool called "ift". it could use in vscode, I don't know detail about how it execute. the problem is it only available for company‘s server and need Employee authentication.

The ift may not be implemented through the ssh connection, but through other connection and authentication.


Timeouts on transformations?

I'm currently looking at a bug which causes my app to load to a blank screen (with no errors). I suspected it was something to do with operations not being flushed so I've added a timeout on transformations that checks  that the queue is empty after the timeout period and throws an error if not. If you think this might be a useful feature I'll work up a PR.

This is probably solved by 0.6.1. Will reopen if I see any problems.


CRBRUS not showing up on Terra

Hi team,
You recently added CRBRUS support to several additional chains beyond osmosis. However I noticed it is not showing up on Terra (phoenix-1). See previous PR for reference: https://github.com/cosmostation/chainlist/pull/1233

Thank you for letting us know. Our development team has updated the data.


HashMaps with tuple keys are not sorted, even with setting sort_maps set to true

What happened?
As the title says. This test should pass when triggered several times:
#[test]
pub fn insta_sort_order() {
        let mut m = HashMap::new();
        m.insert((1, 3), 4);
        m.insert((2, 3), 4);
        m.insert((1, 4), 4);
        m.insert((3, 3), 4);
        m.insert((9, 3), 4);
        insta::with_settings!({sort_maps =>true}, {
            insta::assert_ron_snapshot!(m);
        });
    }

However, this test fails spuriously. Indeed, when reviewing the test result, one can easily see that the map is not sorted. One such result is the following:
Expression: m
────────────────────────────────────────
+new results
────────────┬───────────────────────────
          0 │+{
          1 │+  (1, 3): 4,
          2 │+  (1, 4): 4,
          3 │+  (3, 3): 4,
          4 │+  (9, 3): 4,
          5 │+  (2, 3): 4,
          6 │+}

Reproduction steps
No response
Insta Version
1.21
rustc Version
1.64
What did you expect?
HashMaps using tuples as key should be sorted before serialization if the appropriate setting is set.

Looking at the code, the issue seems to stem from
https://github.com/mitsuhiko/insta/blob/master/src/content/serialization.rs#L53
A tuple key has type Content::Tuple(Vec<Content>), and when transformed into the Key enum, we get a Key::Other variant. Thus, the ordering is basically random.
I wonder if the Key enum type is really necessary. Content already implements PartialOrd and PartialEq. I replaced the aforementioned line with
                items.sort_by(|a, b| a.0.partial_cmp(&b.0).unwrap_or(Ordering::Less));

and nothing bad has happened yet. My motivating example however now passes, and the serialization produced by insta is sorted correctly.
What do you think ?

The motivation is that 1 < 2 when Content::I32(1) and Content::U64(2) which otherwise would not be the case.

Thanks for the fix :)


Add sub-reader for PHI Versaprobe data

Phi Parser:

Parser for PHI Versaprobe .spe (regular spectra) and .pro (sputter depth profiling)
New config file to account for these data sets
Correct parsing of binary encoded data
Mapping of optional instrument devices (sputter source, neutral ion gun, C60 gun, defect positioner) to the config file

Other changes:

The main reader supports energy reading as well as more options for writing raw detector data (i.e., write scan data if there is no data for the individual channels

Error fixes:

Links that are broken (see #2) are temporarily removed from config files until that bug is fixed.
The mapping of keys and the renaming of ENTRY[entry] to the actual entries (e.g. `ENTRY[MeasurementGroup_Survey]) has been streamlined and harmonized across all subreaders

Still missing:

[ ] Example data for this reader (pending approval by data provider)
[ ] Test data for this reader (pending approval by data provider)

This PR depends on FAIRmat-NFDI/pynxtools#220 and should be merged afterwards/together.
EDIT: FAIRmat-NFDI/pynxtools#220 merged into pynxools-xps@main.
Resolves FAIRmat-NFDI/pynxtools-xps#1.

An additional consideration we already discussed in discord is adding an additional axis for the depth profile so you can view it in one NXdata. Depending on the effort this can either be handled here or in a separate PR.

I realized that this is a bit of an involved effort because the XPS reader so far only works for one-dimensional datasets with an energy axis. In principle, I think I should redesign it such that not every scan gets an axis in NXdata, but rather the scan numbers, measurement cycle numbers, sputter cycle numbers, are axes to one NXdata. However, this requires quite a bit of effort to disentangle in the main reader, so I suggest that I will do it in a separate PR.
Thus, I would just simply wait for the approval that the example/test data can be included here and then it would merge this PR.

Thus, I would just simply wait for the approval that the example/test data can be included here and then it would merge this PR.

Sounds reasonable. I'll approve this already. Feel free to add the test data and merge when ready


Testing mpl images for graphs

Summary
As of now there is no testing module for graph images. This issue will be resolved by this PR and is motivated from issue #6397.
Details and comments
List of changes and additions for creating the tests for graphs.

There was no option for saving graph images like we can save images of circuit using the parameter filename.  Made changes in  qiskit/visualization/state_visualization.py  so that we can save .png using state_drawer . (This has only been implemented for plot_bloch_multivector for now).
Made different folders for Graphs and Circuit in qiskit-terra\test\ipynb\mpl . These house the reference images along with the testing.py files. Made this for clarification and because this resolved an issue I was facing with  results.py and mpl_results_graph.py.
mpl_results_graph.py is identical to results.py with a few modifications for the file names.
test_graph_matplotlib_drawer.py works similar to test_circuit_matplotlib_drawer.py. Originally I changed it a bit, but with the modifications to state_visualization.py this works properly.

The test works properly when run via Binder -

The added test for plot_bloch_multivector can be seen above

@javabster sorry I forgot to add the link to this PR and I will look into the comments that you have posted in a day or two. Thanks

@javabster I think the basic architecture works fine, I will now start adding the test for other cases as well, these test will of course be very similar to  test_plot_bloch_multivector. Do you have any suggestions about this ??

@javabster I was actually thinking that we could expand this for other cases as well(other plots). Would that be okay ?? I don't think it would take a lot of time considering that the basic architecture works fine.

sure go for it!

@javabster So I have successfully added the tests for paulivec, state_city, Bloch sphere. But I am facing issues with the qsphere, the tests run normally on my laptop but when I run the same tests on binder they fail. The error
ERROR: test_plot_state_qsphere (__main__.TestGraphMatplotlibDrawer)
test for plot_state_qsphere
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/qiskit/visualization/state_visualization.py", line 765, in plot_state_qsphere
    import seaborn as sns
ModuleNotFoundError: No module named 'seaborn'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/home/jovyan/test/ipynb/mpl/graph/test_graph_matplotlib_drawer.py", line 132, in test_plot_state_qsphere
    self.graph_drawer(state=state, output="qsphere", filename="qsphere.png")
  File "/home/jovyan/test/ipynb/mpl/graph/test_graph_matplotlib_drawer.py", line 77, in wrapper
    results = func(*args, **kwargs)
  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/qiskit/visualization/state_visualization.py", line 1304, in state_drawer
    return draw_func(state, **drawer_args)
  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/qiskit/utils/deprecation.py", line 62, in wrapper
    return func(*args, **kwargs)
  File "/srv/conda/envs/notebook/lib/python3.7/site-packages/qiskit/visualization/state_visualization.py", line 771, in plot_state_qsphere
    ) from ex
qiskit.exceptions.MissingOptionalLibraryError: "The 'seaborn' library is required to use 'plot_state_qsphere'. You can install it with 'pip install seaborn'."

So basically the environment that binder is running needs seaborn (I actually used pip to install it and the .ipynb file runs fine) But I don't think adding pip install in the mpl_circuit file will look clean so where do I add the pip install command for seaborn?
The other problem- I also added a test for histogram but after each run, the probabilities change after each run, due to noise. Now, I am looking into how to remove noise completely. I actually tried using the Noise model and equate the probability of error = 0 but that did not work.
Let me know your thoughts on these and thanks for your help.

@javabster I have added tests for the 6 main plots, qsphere, paulivec, state_city, histogram, bloch_vector and finally hinton . I don't think there are any other major ones.
One thing the histogram plot is made using counts = {"11": 500, "00": 500} basically I fixed the outcome because executing it leads to fluctuation of counts. Originally thought that this was happening due to noise but https://quantumcomputing.stackexchange.com/questions/9813/how-to-run-the-qiskit-aer-simulator-without-noise shows that the reason for this is different and it is not removable. Moreover I don't think the purpose of this test is to test the simulator and because this will tell if a change has happened in the plot_hisotgram command , I think this is good enough.
Let me know what you think

Here is a snapshot of the snapshot tests

@singhmeet11 This looks nice. I like the white space separator between the circuit images and the visualizations. And I'd agree you're not trying to catch simulator problems, just the visuals.

@javabster The tests run fine too now. Yayy

@javabster Thanks! I think this is ready to be merged now.

@javabster Thanks! I think this is ready to be merged now. Wait, what does dismissing stale review mean ??

it just means that the commit you pushed mean my previous comment was outdated. Nothing to worry about 😄


Dev

QOL updates.
Cleaned, now auto skips a Human players turns for as long as others are not ready, changed HumanJson raising error to continue on incorrect move input from front, added a test run script, added an 'in_folder' argument to MoskaGame that controls where to run the game and where to put log files: more intuitive solution.


Create 0000-01-02-PakizeBozkurt.md

I added second slide. :+1:

Great!

I completed the course. It was nice work! Thank you! :1st_place_medal:


Type assumptions about inserting columns

I think the following behavior should be treated as a bug:
julia> using DataFrames
julia> df["a"] = repmat([1, 3, 5], 10, 1)
julia> nrow(df)
1

If we attempt to insert a vector, we should automatically expand the DataFrame. At one point, I thought we were doing this (although I'm not sure).

No longer allowed.


Feature: Allow Registration of MiddlewareProviderFactory functions

When implementing types whose methods implement multiple middlewares, it would be useful to have MiddlewareProvider factory functions we could register on the DialConfig (For instance ProvidesPublish which would implement a Channel.Publish middleware as a method) that could be called to generate a new provider than type assert to find and apply it's middleware  methods.
This would significantly increase caller usability for, say, a logger middleware provider ala #19 which will need to implement all middlewares and be vary tedious to register on the configuration value.

Closed by #30


Arakoon cluster repeatedly loses master with preferred master.

We have a global nsm cluster over 3 datacenters. We've added a preferred master in datacenter 1. But it seems like it is constantly losing its master and another server is elected as master.
2016-07-04 14:26:33 518354 +0200 - perf-roub-01 - 86211/0 - arakoon - 319 - info - cV858Fahh7iQ4iMJ is master
2016-07-04 14:27:46 811932 +0200 - perf-roub-01 - 86211/0 - arakoon - 8776 - info - cV858Fahh7iQ4iMJ is master
2016-07-04 14:29:07 569843 +0200 - perf-roub-01 - 86211/0 - arakoon - 16920 - info - cV858Fahh7iQ4iMJ is master
2016-07-04 14:30:27 124541 +0200 - perf-roub-01 - 86211/0 - arakoon - 22065 - info - cV858Fahh7iQ4iMJ is master

While it should be 09FydVMSuGL4Fp3k

was node 09Fyd... alive and participating in the cluster at that time ?

It was up and running at the moment and running OK. After arakoon 3 was done rebuilding itself in datacenter 3 from the tlogs and catching up with the other nodes the master switched immediately to the preferred master.
2016-07-04 14:58:28 807358 +0200 - perf-stras-06 - 7731/0 - arakoon - 429996 - info - Completed replay of 34765.tlog, took 0.002346 seconds, 0 to go
2016-07-04 14:58:28 807420 +0200 - perf-stras-06 - 7731/0 - arakoon - 429997 - info - catchup_store completed, store is @ Some ("31770125")
2016-07-04 14:58:28 807435 +0200 - perf-stras-06 - 7731/0 - arakoon - 429998 - info - CATCHUP end
2016-07-04 14:58:28 808152 +0200 - perf-stras-06 - 7731/0 - arakoon - 429999 - info - LP4jHErsfu5vzjGG: election_suggest: n=4213 i=31770126 (Vc ([Sequence
([Assert          ;"/nsm_host_version/";4; Assert          ;"/nsm/\240\n\000\000gc_epochs";16; Set            ;"/nsm/\240\n\000\000gc_epochs";16;"..."]);]
,false)
2016-07-04 14:58:28 808223 +0200 - perf-stras-06 - 7731/0 - arakoon - 430000 - info - LP4jHErsfu5vzjGG: NAK:other node is behind: i':31770125 nak_max:3177
0126
2016-07-04 14:58:28 808238 +0200 - perf-stras-06 - 7731/0 - arakoon - 430001 - info - LP4jHErsfu5vzjGG: handle_prepare replying with "Nak (4212,(4213,3177
0126))"
2016-07-04 14:58:28 808312 +0200 - perf-stras-06 - 7731/0 - arakoon - 430002 - info - LP4jHErsfu5vzjGG: NAK:other node is behind: i':31770125 nak_max:3177
0126
2016-07-04 14:58:28 808326 +0200 - perf-stras-06 - 7731/0 - arakoon - 430003 - info - LP4jHErsfu5vzjGG: handle_prepare replying with "Nak (-2,(4213,317701
26))"
2016-07-04 14:58:28 808348 +0200 - perf-stras-06 - 7731/0 - arakoon - 430004 - info - LP4jHErsfu5vzjGG: handle_prepare: starting election timer
2016-07-04 14:58:28 808379 +0200 - perf-stras-06 - 7731/0 - arakoon - 430005 - info - LP4jHErsfu5vzjGG: handle_prepare replying with "Promise(4215,3177012
6,Some (Vc ([Sequence([Assert          ;\"/nsm_host_version/\";4; Assert          ;\"/nsm/\\240\\n\\000\\000gc_epochs\";16; Set            ;\"/nsm/\\240\\
n\\000\\000gc_epochs\";16;\"...\"]);],false))"
2016-07-04 14:58:28 808404 +0200 - perf-stras-06 - 7731/0 - arakoon - 430006 - info - LP4jHErsfu5vzjGG: NAK:other node is behind: i':31770126 nak_max:3177
0126
2016-07-04 14:58:28 808418 +0200 - perf-stras-06 - 7731/0 - arakoon - 430007 - info - LP4jHErsfu5vzjGG: handle_prepare replying with "Nak (4212,(4215,3177
0126))"
2016-07-04 14:58:28 808434 +0200 - perf-stras-06 - 7731/0 - arakoon - 430008 - info - LP4jHErsfu5vzjGG: NAK:other node is behind: i':31770126 nak_max:3177
0126
2016-07-04 14:58:28 808446 +0200 - perf-stras-06 - 7731/0 - arakoon - 430009 - info - LP4jHErsfu5vzjGG: handle_prepare replying with "Nak (4215,(4215,3177
0126))"
2016-07-04 14:58:28 809993 +0200 - perf-stras-06 - 7731/0 - arakoon - 430010 - info - 09FydVMSuGL4Fp3k is master

https://github.com/openvstorage/arakoon/issues/96


ReadDir timeout because of weird port usage

Hello!
I am getting a weird issue while a code similar to the example with config.
After I used the DialConfig function with an url containing a specific port, I try to read the content of a directory which fails becausey
dial tcp <my correct server ip>:<a random port that changes from run to run>: i/o timeout

The random port ends up in the 2xxx range
On the context : I get this error when running the code behind a company firewall. It works fine on my laptop with more a more open internet access
I wonder if this is an issue with pooling or if I have an issue with the firewall which could be fixed with the ActiveListenAddr  param?
Thank you and have a nice day

Issue was on my side: The ftps server had a policy to forward the connection to a passive port, which was not whitelisted
Have a nice day


vimHugeX behaves differently in nix-shell than if declared in configuration.nix

Describe the bug
When I run
nix-shell -p vimHugeX
and then vim I can access the X clipboard.
In particular the vim command "+p works.
Now If I declare vimHugeX as to be installed in configuration.nix,
e.g. environment.systemPackages = with pkgs; [ vimHugeX ];
and open vim then I can not access the clipboard.
Steps To Reproduce
Steps to reproduce the behavior:

Use the following minimal configuration.nix:

{ config, pkgs, ... }:

{
	imports =
		[ # Include the results of the hardware scan.
		  ./hardware-configuration.nix
		];

	# Bootloader.
	boot.loader.grub.enable = true;
	boot.loader.grub.device = "/dev/sda";
	boot.loader.grub.useOSProber = true;

	# Select internationalisation properties.
	i18n.defaultLocale = "en_US.utf8";

	# Configure console keymap
	console.keyMap = "de";

	# Define a user account. Don't forget to set a password with ‘passwd’.
	users.users.user=
	{
		isNormalUser = true;
		description = "User";
		extraGroups = [ "networkmanager" "wheel" ];
		packages = with pkgs; [];
	};

	environment.systemPackages = with pkgs; [
			 vimHugeX
			 git
	];

	############# X SERVER ###############
	services.xserver.enable = true;
	services.xserver.libinput.enable = true; #enable touchpad
	services.xserver.windowManager.i3.package = pkgs.i3-gaps; #use i3 as i3-gaps
	services.xserver.windowManager.i3.enable = true; #use i3wm
	services.xserver.displayManager.lightdm.enable = true; #use lightdm
	services.xserver.autorun = true; #autostart xserver when booting
}

Open vim and type "+.
Observe that the command is aborted as soon as the + is typed.
Compare with the behavior of vim in nix-shell -p vimHugeX

Expected behavior
vim should behave the same in both situations.
In both cases I want vim to be able to access the X clipboard.
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.71, NixOS, 22.05 (Quokka), 22.05.3475.ed9b904c5eb`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.8.1`
 - channels(root): `"nixos-22.05"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

I found the cause of the problem:
the package pkgs.vim was installed in a previous generation of my system and still in the nix-store.
This package has no clipboard support.
I suspect that when evoking vim the package pkgs.vim was called instead of pkgs.vimHugeX despite not being declared.
After removing old generations and calling the garbage collection the package was purged from the nix-store.
Now vim starts the declared package pkgs.vimHugeX.
I will close the issue as I found the workaround of deleting previous generations and then using the garbage collection.
However I hope that the issue of undeclared packages being opened instead of the declared ones will be adressed.


Can't filter dashboard if there's a project group name that starts with a number

Uncaught SyntaxError: Failed to execute 'querySelectorAll' on 'Document': '[octopygmy-id=1services-grouping]' is not a valid selector.

I use the number to order the dashboard project groups, is there another way to do it? :smile:
To now I've worked around this adding a letter in front of the number.

Ah, yeah. I can take care of that. Thanks for bringing it up. No workaround right now though.
I know HTML5 is more permissive on things like that but I've always wondered what we developers have against things starting with a number.

at the moment I've added a letter before the number ;) before I had 1 Services, now I have P1 Services and it works, but of course if you can fix it it would be better :smile:

Thank you!


Update Composer dependencies (2021-01-27-00-07)

Visual regression test passed!
View the visual regression test report

Visual regression test passed!
View the visual regression test report


[3.0] Cannot build master branch in Windows after changes on platform\iphone\export\export.cpp

Operating system or device - Godot version:
Windows 10 64bit - Godot 3.0 commit fdcac7be02e119e5fdc43bd650921d799e65b8ef
Issue description:
.-Did a git pull origin master
.-Build with scons as usual
.-Error:
platform\iphone\export\export.cpp(265) : error C3861: 'chmod' identifier not found

Duplicate of #9554.

sorry, got away from my PC and took too long to report and didnt check just before posting


incorrect/invalid metadata infos in Media Information dialog during playback

Required Info

Host Operating System & Version
{Ubuntu 20.04.2 }

Kernel Version (Linux Only)
(5.x)

Branch
{ kantv }

Android Studio Version
4.2.1

NDK Version
NDK-r14b

Xcode Version
12.5

Language
{Java }

Section
{  UI   }

Issue Description
incorrect/invalid metadata infos would be found in "Media information" dialog
How to reproduce the issue
(1) launch online tv/radio playback;
(2) click "Info"  in context menu to launch "Media Information" dialog;
(3) the issue could be found at following screenshots;
Chinese UI:

English UI:

Root Cause
some codes should be modified in Java layer
btw, I think "Media Information" dialog is a transparent dialog maybe a better idea

Chinese UI after fix the issue:

English UI after fix the issue:


add theme coming-soon

Changes required
The link titled 'wiki page' on your readme's installation section returns a 404. Please fix this.
For more information regarding the role of readme, you can visit: https://github.com/gohugoio/hugoThemesSiteBuilder#readmemd
Referring back to my previous remarks here, it seems that you have not incorporated those changes yet.

all issues mentioned are fixed.

Your README still contains images with relative path.

should be fine now


Support IPv6 routing

Any and every public API in flocker.route that accepts an IPv4 address should be made to work if it is called with an IPv6 address instead.

We are moving our development planning to JIRA. This issue is now being tracked at https://clusterhq.atlassian.net/browse/FLOC-62. You are welcome to file additional issues in GitHub if that's easier for you.


Add ssh_key_exclusive option

This option enables you to use the exclusive flag from the ansible
authorized_keys plugin to remove all other non-specified keys from the
authorized_keys file.
Using the option users_ssh_key_exclusive controls this global for all
users.
Signed-off-by: Martin Schiller<EMAIL_ADDRESS>

Fixes #56.

The default behavior remains the same, but I can change that if desired.


S3ObjectFinder.list_to_download is returning a list that includes objects already in the database

In routines.py, S3ObjectFinder().list_to_download() should return a list that does not include any bags that are currently saved to the database. However, it is returning a list that includes some bags that have been saved to the database.
In my our bucket linked to development Zorya, there are 3 bags. All 3 bags have the same name as bags saved in the database, so list_to_download should return an empty array. However, it's returning an array with one of the bags.
The files_in_bucket are ['4977307ee0f2493d984484cdb30dbb2b.tar', 'f70e24901427497b8caed6c4d234e7db.tar', 'f7254e2aadc14c849bd6edde66d92307.tar']. The return of list_to_download is ['f70e24901427497b8caed6c4d234e7db.tar']. If I run Bag.objects.filter(original_bag_name__contains='f70e24901427497b8caed6c4d234e7db.tar').exists() outside of this function in the Django shell, it returns True (as it should).
I'm not sure what is happening?

@bonniegee I think this might be because if you have an if/elif when I think what you want is really multiple if statements. I suspect what's happening is the first if is getting triggered so the elif is never executed.
Also, looking at this after a minute, I think that line 46 should use the exists method: Bag.objects.filter(original_bag_name=join(self.src_dir, filename)).exists()

Thanks @helrond -- I'll try if/if.
I'm not sure where I should add the exists method--like 46 is a docstring and line 52 is Bag.objects.filter(original_bag_name__contains=filename).exists().

If/if is returning the same list 😕

Oops I was looking at an older version of the code.

I don't know why yet, but your for loop is only getting executed twice, when really it should be executed three times. I'm not sure if the remove is affecting the iterator. I would suggest just turning lines 49-54 into a one-liner:
[filename for filename in files_in_bucket if not expected_file_name(filename) and Bag.objects.filter(original_bag_name__contains=filename).exists()]
There's probably a more elegant way to write that condition at the end using bool or all.


Control points do not update on from/to extent change

Control points of lines connected to a shape are updated when position of the shape is changed, but not when extent is changed. For default (Centered) attach point, it does not matter, but for all other attach points, it does - when the shape is resized, the line does not move even if it should. Only way to hotfix it from user end is to have extent event subscriptions that call update on the lines or updateConnectedLines on the shapes that can be resized.
c := RSCanvas new.
b1 := RSBox new.
b1 size: 100.
b1 translateTo: -150@0.
b2 := RSBox new.
b2 size: 100.
b2 translateTo: 150@0.
l := RSLine new.
l from: b1; to: b2.
l withBorderAttachPoint.
c add: b1; add: b2; add: l.

c open.

b1 size: 10

moved to roassal3


Avoid using the pipe operator just once.

I noticed using different styles in different parts
As stated in this style guide
# not preferred
some_string |> String.downcase()

# preferred
String.downcase(some_string)

now overall code formatting looks more consistent

I made a similar PR request to elixir-lang/elixir in the past and it got rejected, I think this one just comes down to personal preference.

@shdblowers, hmm.. I just yesterday was looking into style guide and found this style one which is approved by José Valim.

I guess the key word in his response is

mostly


RefreshingAWSCredentials using global lock + slow AssumeRoleWithWebIdentityCredentials

Describe the bug
Encountered interesting issue with GetCredentialsAsync() + "slow" AssumeRoleWithWebIdentityCredentials + tight timeout on calls to our app.
https://github.com/aws/aws-sdk-net/blob/master/sdk/src/Core/Amazon.Runtime/Credentials/RefreshingAWSCredentials.cs#L146

it acquires global lock
check if token is expired
makes a slow network call to CredentialsFromAssumeRoleWithWebIdentityAuthenticationAsync
release lock

Unfortunately don't have statistics from aws .net sdk, but have from aws nodejs sdk. Assume this slow call is about the same

we tried to implement simple wrapper

that works pretty well, because number of timeout errors goes down after deploying this fix (24th)

Expected Behavior
background refreshing token
Current Behavior
global lock
Reproduction Steps
do not apply
Possible Solution
No response
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
AWSSDK.Core   <IP_ADDRESS>
Targeted .NET Platform
.NET 6.0
Operating System and version
aws eks, docker, Debian 11, mcr.microsoft.com/dotnet/aspnet:6.0

can confirm we are having the same issue, using AWS EKS with AssumeRoleWithWebIdentity as recommended in this docs - https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html
i observe latency every 5 - 15 minutes or so when for example trying to make a dynamodb call and the token is expired and AssumeRoleWithWebIdentity is called to the regional aws sts endpoint with a average latency of around 100ms - 200ms


Better error handling for download endpoint

In e2e test, grab current machine.py version

This change is

Codecov Report
Attention: 14 lines in your changes are missing coverage. Please review.

Comparison is base (525950f) 66.63% compared to head (cc909d2) 66.63%.

Files
Patch %
Lines

...AspNetCore/Services/InvalidOperationInterceptor.cs
0.00%
7 Missing :warning:

...IL.Machine.AspNetCore/Services/NmtEngineService.cs
0.00%
6 Missing :warning:

...NetCore/Configuration/IMachineBuilderExtensions.cs
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #173      +/-   ##
==========================================
- Coverage   66.63%   66.63%   -0.01%
==========================================
  Files         437      438       +1
  Lines       34159    34171      +12
  Branches     4590     4584       -6
==========================================
+ Hits        22762    22769       +7
- Misses      10318    10330      +12
+ Partials     1079     1072       -7

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

src/SIL.Machine.AspNetCore/Services/NmtEngineService.cs line 140 at r1 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
You shouldn't throw an RpcException from the service layer, since it couples the services to the gRPC implementation of the API layer. You can catch the FileNotFoundException in the API layer and rethrow an RpcException. Also, the error message doesn't totally make sense to me. Maybe something like "The model for build revision , {engine.BuildRevision}, does not exist."

Put back to FileNotFound

src/SIL.Machine.AspNetCore/Services/InvalidOperationInterceptor.cs line 3 at r1 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
Is there a particular exception that we aren't handling that prompted the addition of this interceptor?

I put moved the FileNotFound catch to the API layer (I believe).  I just looked up 3 layer architecture - I think it makes sense now.

src/SIL.Machine.AspNetCore/Services/ServalTranslationEngineServiceV1.cs line 155 at r2 (raw file):
Previously, ddaspit (Damien Daspit) wrote…
I think NotFound would be a more appropriate status code.

Sure - data loss has "not recoverable"  - the person can rebuild the engine if need be, as could be the case if we allow for patching engines to allow for "IsModelPersisted" to be updated.