.env.local support

Hi. I've started using this library recently, but I noticed there's no option to pass a list of files to be read (it's just .env, always .env), not even .env.local (which is a standard feature while using Symfony (pretty popular PHP framework))
Would it be possible to add the following features?

[ ] A better, custom list of files instead of 1 file to load (.env that is later overriden by .env.local)
[ ] A way to override said list of files (So if I get some options I can add .env.prod as well)

Very nice and clean lib, I'd love if those features could be added.

There is currently no concept of a list of options, but you can certainly rename the file loaded, as noted in the readme, like so:
DotNetEnv.Env.Load("./path/to/.env")

There is currently no concept of a list of options, but you can certainly rename the file loaded, as noted in the readme, like so:
DotNetEnv.Env.Load("./path/to/.env")

Yes, I'm already using this. However this loads ONLY that file, where as most env loaders will usually load .env AND .env.local
Though a temporary solution would be to simply load both?
DotNetEnv.Env.Load("./path/to/.env");
if (exists) {
    DotNetEnv.Env.Load("./path/to/.env.local");
}

Would this actually work  in a sensible way (by only overriding variables) or do you also clear something during load?

Yes, I'm already using this. However this loads ONLY that file, where as most env loaders will usually load .env AND .env.local
Though a temporary solution would be to simply load both?
DotNetEnv.Env.Load("./path/to/.env");
if (exists) {
    DotNetEnv.Env.Load("./path/to/.env.local");
}

Would this actually work  in a sensible way (by only overriding variables) or do you also clear something during load?

Ah got it, yeah what you wrote would work. I could also add that to the api. I'll take a look later and see how easy it will be.

Resolved by #50 and on nuget in 2.1.0 now

Many thanks


Ability to call a single converter by ID

I would like to be able to call the convert method of a single converter, using its id (ie "gd").
I'm aware that I could use the WebPConvert::convert method with a single converter. It however contains some logic regarding exceptions, which I do not want, because I need to be able to catch the exceptions thrown by the converter. (WebPConvert::convert for example never throws ConverterNotOperationalException's, because it is not considered an exception that a converter is not operational - but in my case, I need to handle all types of errors)

Done.
Added this code:
    /* Call the "convert" method on a converter, by id */
    public static function callConvert($converterId, $source, $destination, $options = [], $prepareDestinationFolder = true)
    {
        $className = 'WebPConvert\\Converters\\' . ucfirst($converterId);
        if (!is_callable([$className, 'convert'])) {
            throw new ConverterNotFoundException();
        }
        call_user_func(
            [$className, 'convert'],
            $source,
            $destination,
            $options,
            $prepareDestinationFolder
        );
    }

Example usage:
ConverterHelper::callConvert('imagick', $source, $destination, array(
        'skip-pngs' => true
    ));

WebPConvert are now using this helper function


Tests for headers= and methods=

This looks good to me. I'll merge it and add tests.

Originally posted by @simonw in https://github.com/simonw/asgi-cors/issues/7#issuecomment-2041784530

files-to-prompt . --ignore LICENSE | llm -m opus \
  --system 'write tests for headers= and methods= arguments'

https://gist.github.com/simonw/9e22bdf6918e8465fc81165e4030c65d

Ended up finding and fixing a bug thanks to those tests.


2 blanks or 4 blanks per level for code indentation?

It's maybe quite a small issue, but probably still merits some discussion, and if we can standardize on something, that's maybe better than each dev just indenting as they personally like best, at least for code files that they start from scratch themselves:
Do we use 2 blanks or 4 blanks for code indentation?
The existing Monero codebase has both cases. I did not count, but I would guess that the files that merely use 2 blanks per level to indent has a majority right now.
@UkoeHB used 4 blanks in his Seraphis library.
I basically see 3 possible stances for Seraphis wallet code:

We use only 2 blanks.
We use 4 blanks.
Devs can decide themselves, at least for files that they start themselves.

Maybe some people see things so relaxed that for them a stance 4) Allow mixing even within the same file would be acceptable. Note however that this would go against a rule stated in Monero's "Contributing" file that asks to respect the formatting of the surrounding code if you do changes.
Opinions?

Personally, I am a "2 blanks" type, and for the code we produce at the company where I work, we use that exclusively, and for many years already.
However I admit that 4 blanks per level has one big advantage: You see faster when your code gets too complicated for its own good because your lines start further and further to the right, and you seriously should start to look for ways to slice the big and complicated method that causes this into individual and smaller methods.

Linus Torvalds demands all linux code be written with 8 blanks per level and a maximum of 3 levels.  His point is if you are looking at code for 20 hours straight, you can still look at it effectively even  after that time.  And, if you need more than 3 levels, your coding is too complicated and needs to be broken down.  Torvalds runs 10,000 developers and a vast code base so his is the voice of experience..
I would suggest setting a minimum of 4 blanks.  If you want to use 6 or 8, feel free because there is not too much difference between 4, 6 and 8.  It all is very easy to read.   And no more than 3 levels.

Well obviously I vote for 4 spaces. The most important thing is NO indentation for namespaces. This is one of my pet peeves.

Discussed and decided in the second meeting. We go with 4 blanks.


Update Inactive Strategic Initiatives

This PR attempts to move some of the currently inactive initiatives into a place that reflects that. This is not to say that they're ended or over, but trying to reflect the current state of them given the context of their history of activity.
If there is interest in kicking off or restarting these initiatives, I ask that they have well-defined scope, goals, and commitment as agreed upon by the CommComm but not be a cause for the delay of landing of this PR. If needed or wanted, I'd be totally happy to add some documentation about that in the document in a separate PR.

Going to merge this – I was looking for it the other day and couldn't find it. Oops? 😅


Project maintenance

Is this project abandoned ? I see last commits from 3 years ago @lokesh-coder
What would be good solution if you don't have time anymore to merge pull requests ?

Hi @Herz3h, this is one of my favorite projects, but for some reasons I couldn't spend time on the this.
But however I have lot of ideas to improve. I have started to experiment with the latest browser support and modern tools.
May be in a month this project will get updated.

Ah thats great news, thank you for this awesome plugin !

Any update on this @lokesh-coder ?


TransferFunction() class needs to use xarray

The matlab codes used  n_ch_in x n_ch_out x n_bands arrays.
Lets use a structure like this:
xrd = xr.DataArray(np.zeros(num_ch_in, num_ch_out, num_freqs ), dims=["input_channels", "output_channels", "frequency"],
coords={"input_channels": ["hx", "hy"],
"output_channels": ["hx", "hy"]
"frequency": numpyarray_of_frequencies from bands})

Because the current code uses a 3D array mirroring that used by Gary, it will take more than a single step to transition to using xarray exclusively.
The approach I am going to take here is to make a .to_xarray() method in the TransferFunction class.  This once this method is working we can then change routines that interact with the current 3D tf_array to use the xarray and we don't lose the integrity of our tests while building this method.

to_xarray() methods are added.
But we are not yet using the zarrays as the native data container.  For readability we should make an xarray creator function that is called repeatedly in the init function, rather than init all the xarrays one after the other

See note in TRegression.py, xarrays inside regression
Modify set_tf() method to use xarray version of TF
This will require changing:
aurora/transfer_function/TTFZ.py:52:        Zxy = self.TF[zRows[0], 1,:].squeeze()
aurora/transfer_function/TTFZ.py:53:        Zyx = self.TF[zRows[1], 0,:].squeeze()
aurora/transfer_function/base.py:139:            self.TF = np.zeros((self.num_channels_out, self.num_channels_in,
aurora/transfer_function/base.py:255:        self.TF[:,:, index] = regression_estimator.b.T #check dims are consitent
aurora/transfer_function/base.py:271:        stderr = np.zeros(self.TF.shape)
The trick here is that in order to make transfer_function.base.set_tf work with xarray, we will need the regression_estimator class to also represent as an xarray.

all quantities in TF base class are using xarray.  Opened issue #81 for TTFZ.py which still uses numpy arrays


During deno install -A -f --unstable -n eggs<EMAIL_ADDRESS>I got the following errors

Coming from: https://docs.nest.land/eggs/installation.html -->
deno install -A -f --unstable -n eggs<EMAIL_ADDRESS>--> see screenshot

Thank you for pointing out this problem.
What is your current Deno version ?
If you are on 1.4.6, does it work with version 1.4.1 ?
In any case<EMAIL_ADDRESS>should solve these problems and will be released in the coming days 🙂

@oganexon thank you very much. The account which I used was on a ridiculously old Deno version deno 1.1.0 :) - sorry for that -->
if you like it, it might be a good idea to add a "Troubleshooting" section right before "Permissions used" https://docs.nest.land/eggs/installation.html#permissions-used
or something like: "Please ensure your deno version is above x.y.z"

@michael-spengler We already have something like this but it's maybe not sufficiently emphasized 😄


colab errors

/content/Image-Super-Resolution-via-Iterative-Refinement
0/2 images processed/usr/local/lib/python3.7/dist-packages/torchvision/transforms/functional.py:405: UserWarning: Argument interpolation should be of type InterpolationMode instead of int. Please, use InterpolationMode enum.
"Argument interpolation should be of type InterpolationMode instead of int. "
/usr/local/lib/python3.7/dist-packages/torchvision/transforms/functional.py:405: UserWarning: Argument interpolation should be of type InterpolationMode instead of int. Please, use InterpolationMode enum.
"Argument interpolation should be of type InterpolationMode instead of int. "
0/2 images processed
Traceback (most recent call last):
File "infer.py", line 12, in
import wandb
ModuleNotFoundError: No module named 'wandb'

So sorry for this, and you can install wandb temporarily, I will fix it soon.


Add iterators to kernels tensor_view and fix roialign to work with non-standard shape

This adds iterators to tensor_view, which can allow kernels to work with non-standard shapes like for roialign.
To improve the performance of indexing when using the iterators, the shape class was updated to use integral_constants since the compiler doesn't always fold the const values. An integral_constant will at least enforce that in the AST.
Finally, since index calculations with single integers are improved, I also updated pointwise to use single index rather than multi index. There is about 4% improvement in some cases.

@scxiao Any feedback?


enhance RunURLAssertSuite to support non-DB managing controllers

To support isolated testing controllers like ironicapi_controller.go, which renders MySQL URLs from a MariaDBAccount but does not itself manage the creation of the MariaDBAccount, add new RunURLOnlyAssertSuite which does not wait for finalizers to set up; instead, the assertURL function should use Eventually() to wait for the URL change to take place.  This is so that the check
for URL being updated can itself wait, without having to rely on waiting for finalizers to be set up, as these controllers don't actually manage finalizers.

@gibizer this is just an improvement to the harness function that asserts the URL is set or is updated.  I needed this for controllers like ironicapi_controller / ironicconductor_controller.   right now I can just hand-write the tests in those controllers but if this can just go in very quick , that would help.  right now only placement is the only thing merged that's using this


Make use of tasks-api

Since today and with the June release, VS Code will have API to programmatically contribute and refine tasks. With that API parts of the asset-generator should become obsolete. Feel free to ping me or @dbaeumer or drop some details about how the task.json is generated today and we might be able to do a PR for that.

Awesome -- thanks @jrieken!

The C# DevKit makes use of the tasks api.


Add option to hide controls in fullscreen

Would be awesome to hide the controls in fullscreen if mouse wasn't moved a certain time and re-show them on mouse move.

Hey @master-lincoln ,
Good suggestion and relatively easy to add. My only concern was keyboard users but some clever focus event detection should solve that. I'll look into it. We actually do it on selz.com (check the homepage vid) so I've already written the CSS but an option would be good.

I didn't have that effect on selz.com. Checked with Chromium 40 and Firefox 36 on Linux.

Sorry you're right. Because it's a purely CSS solution I put in there it's based on :hover so if you can hover out (you'd need multiple screens) it'd slide down. I'll work on a JS based solution (with class hook) for this to monitor mouse move.

Hey @master-lincoln , sorry for the delay but this is now in v1.0.29. I've made it so it hides after 1s (CSS transition) and if you mouseover over the progress bar (the only visible control), the controls re-appear. If you focus a child control they should also appear. On a touch device you need to tap the video which will play or pause it if you have the click option set to true (default).
The option is within the fullscreen option object and the property name is hideControls. It's defaulted to true.
Check it out on plyr.io :+1:


nvidia-x11: 390.25 -> 390.48

Also fixes missing symbol error with kernel 4.16.
Motivation for this change
There is another pr updating the nvidia driver: https://github.com/NixOS/nixpkgs/pull/38450
This pull request also contains a patch that solves the error on kernel 4.16: https://devtalk.nvidia.com/default/topic/1030082/linux/kernel-4-16-rc1-breaks-latest-drivers-unknown-symbol-swiotlb_map_sg_attrs-/
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@vcunat Who should be assigned to review this PR?

18.03:
[detached HEAD 53daaf588c4] nvidia-x11: 390.25 -> 390.48
Author: Bastian Köcher<EMAIL_ADDRESS>Date: Thu Apr 5 11:48:56 2018 +0200
2 files changed, 26 insertions(+), 5 deletions(-)
create mode 100644 pkgs/os-specific/linux/nvidia-x11/fix_missing_symbol.patch


[Issue] - Health Checker - Check for dynamic memory has a rounding issue

Provide Version Number
Version <IP_ADDRESS>0
Describe the issue
When running the script, I receive the erorr message
"Dynamic Memory Detected: True 25.390625GB is the allowed dynamic memory of the server. Not supported to have dyn
amic memory configured."
Exchange is running as a Hyper-V machine and is not configured for dynamic memory.
The problem might arise from the PowerShell-Check:
} elseif (($counter.CookedValue / 1024) -ne $totalPhysicalMemory) {
$totalPhysicalMemory is 25 in our case and the left hand side results to 25,390625
Expected behavior
The error should not be shown if dynamic memory is disabled.
Script Output
see above snippet
Additional context
The Variable totalPhysicalMemory is already a rounded value:
$totalPhysicalMemory = [Math]::Round($hardwareInformation.TotalMemory / 1MB)
and shouldn't be compared with an unrounded float value.
$hardwareInformation.TotalMemory / 1024 / 1024 would be equal to $counter.CookedValue in my case (both exactly 26000)

@thomass4t could you provide the xml and txt output from the Health Checker and a screen shot of the VM guest machine settings on the Memory tab to the email address of<EMAIL_ADDRESS>That way I can look at to help determine what is going on and why yours is acting differently.

Logs are on the way via email ...

@dpaulson45
Hello David, have you received the needed information?
If yes, you might update the tags. Thank you and have a great week!

@thomass4t yes, thank you for providing that data. I will try to review it and get back to you as soon as possible.

+1 it's also happening here. Showing dynamic memory detected on Hyper-V and I just double-checked that dynamic memory is DISABLED(unchecked).
It shows in the log as "23.90625GB".


PDF support through an OCR such as Tesseract

Is your feature request related to a problem? Please describe.
I often need to treat pdf files, when the service is deployed within a docker environment. (for named entity recognition)
A Tesseract service is also available (OCR) within my environment. A pipeline between the two would be really convenient. (But in a more general case, it should be possible to any type of OCR)
Such as :

When we upload a pdf file, it is directly converted through a request call to the OCR_SERVER if the server exists within the environment variables. (or more globally OCR_SERVER)

Afterwards, the task is generated just like if it was a .txt file.

Describe the solution you'd like
Perform a requests.post within the "uploader.py" file in order to treat pdf files.
It will take the .pdf file as an input, convert it into .txt through a requests.post, and save it as a .txt file.
Describe alternatives you've considered

Monkey patching from an external application (but the feature might be useful for other people so it does not seem to be the best choice)

Thank your for your proposal! Could you create a PR with your solution?


embed: embed.FS does not retain modTime

What version of Go are you using (go version)?

$ go version
go version go1.16.3 darwin/amd64

Does this issue reproduce with the latest release?
Yes, currently testing against the latest for MacOS.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/smarciniak/Library/Caches/go-build"
GOENV="/Users/smarciniak/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/smarciniak/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/smarciniak/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.16.3/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.16.3/libexec/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.16.3"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/6c/77rtd6551sj02zmxj_fv17200000gn/T/go-build4009098143=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

Running the following code returns a ModTime of epoch when it should return a time of the file creation date.
This assumes that the file is saved as main.go
package main

import "embed"

//go:embed main.go
var content embed.FS

func main() {
	f, err := content.Open("main.go")
	if err != nil {
		panic(err)
	}
	stat, err := f.Stat()
	if err != nil {
		panic(err)
	}
	if stat.ModTime().IsZero() {
		panic("Does not retain the original f.Stat().ModTime()")
	}
}

What did you expect to see?
Running the above code should not panic since the time returned from the embed.FS structure should be non zero.
What did you see instead?
The following example will panic with:

Does not retain the original f.Stat().ModTime()

Duplicate of #44854


Provide rclone.conf via yaml config

Hey!
For easy maintenance it is not ideal to have to configure this addon in two areas, through UI supported addon config and an additional rclone.conf. I am saying not ideal, because obviously all of us are capable to manage that, however, I wonder if there is a better way?
Did you ever explore ways to provide the content of rclone.conf via the yaml config?
Untested. This should pretty much do the trick:
schedule: 10 4 * * *
command: sync
sources:
  - /backup
destination: 'hassbackup:'
include:
  - DailyBackup*
# we can also disable google drive trash using flags
flags:
  - --drive-use-trash=false
config: |
  [google]
  type = drive
  scope = drive
  token = REDACTED
  ; immediately delete backups instead of sending them to the trash
  use_trash = false
  [hassbackup]
  type = crypt
  remote = google:Backup/Home Assistant
  filename_encryption = off
  directory_name_encryption = false
  password = REDACTED
  password2 = REDACTED

I like this idea it would be much more convenient to have it in the UI, the only issue is that rclone wouldn't be able to write to the config, which currently isn't an issue, but could be if we add the rclone web UI. Still probably worth adding this 🤷

Good point and true. I would argue that a user that wants to use the UI doesn't need the config: part of the UI, a user that just wants to provide a fixed rclone.conf can go the config: route.
Pay attention that I did not use the config_path keyword from your existing solution. Those two can be mutually exclusive.
Are you going to work on this? I would be happy to provide a PR, but not before end of year ^^

Haha, only a 10 month turn around, dw I'll be adding this soon. I've just rewritten most of the core in golang, as it actually has a good scheduling library with support for cron-syntax. Won't be much extra effort to add support for this too 👍.

This is supported as of release 2.0.0 🎉, with the rclone_config option.

Great! Thank you

Sorry for the late response! I've just setup a new system with this option and everything works perfectly.
Could you implement one improvement? Would be great if config_path is not mandatory, or if [] were supported. Currently I need to resort to this:
config_path: /config/rclone.conf_not-used
rclone_config: |
  [owncloud]
  type = webdav

Sure it can be changed to optional, however, you shouldn't have to rename config_path as it will be overridden when you specify rclone_config. Also, this should ideally be a separate feature request as it's easier to track.


404 on Shortened link Click

So I installed correctly and everything. Great.
However, I went and read everything about mod_enable and all the apache and .htaccess settings, all of which I've confirmed to be correct, and it still sends me a 404.
Until I get the plugin with more complex links, here's the one I'm trying to use: http://ebear.us/r/1
Also, I'm using the latest master.zip.
If there's any reason this is happening or any way you can help me fix it, please let me know. Thanks!

Are you positive the .htaccess is correct, eg like https://github.com/YOURLS/YOURLS/wiki/.htaccess (see subdirectory)

Nearly positive, I checked multiple times. I'll check one last, but chances are there's no errors. And I'm sure of that.

Double check the htaccess. Check server logs. Double check mod_rewrite is enabled. Honestly, dunno. There is something misconfigured on your end, but it could be numerous things.

My .htaccess file is here.
The root directory or whatever it asks for in config is http://ebear.us/r
I double, even triple checked the configurations and if mod_rewrite was enabled, and it is.
Is there anything else besides those on my end that could be causing the issues?

That's not a .htaccess file, that's a config file (with mysql password and everything: bad idea to share that publicly)

@ozh welp time to change the password :P
Thank god it was a random one.
http://pastie.org/9985772
Well, there's the .htaccess.
I'm not even going to get into the facepalms I just did.

The most probable reason for this would that mod_rewrite is not enabled (which you can check with a phpinfo()). Other than this, I have no idea. Server error logs might tell more.

I checked via phpinfo(), it's listed as enabled. I checked every possible Error Log (Apache, MySQL, and normal System), I restarted the server. Do you think a fresh YOURLS install would help? Since I've tried everything as far as configuration goes, and it hasn't helped anything.

Reinstalling YOURLS won't help: this is a server config error, YOURLS has nothing to do with it.
AFAIK the docroo is not the problem, if there was a problem with this the server would simply not serve pages at all.
Honestly, don't know.

Yeah @ozh since this is a completely fresh server, it makes no sense.


Would it be possible to change a value that's in different form state?

my redux state looks like this
form
-- form1
-- form2
-- form3
when i am in a component that's connected to form1, can i change a value that's in form2 or form3?
I tried using this.props.onChange('some path', value) but seems like this only works in the current scope of where i am.
Help is appreciated.
Thank you

You might want to use the change action creator


Evaluation in KITTI label file format

Hi again,
I was wondering if there is a way how to save results of evaluate.py into a KITTI label format. I have noticed that there is a results/submit/ folder which contains the detections, but the coordinates seem to be different to what KITTI label format expects and there are some low confidence guesses as well.
Thanks for any info on this!

Hi @wojtat ,
Only two results are saved inargs.saved_path/submit and args.saved_path/results.pkl in this evaluation script.
If both of them are not what you need, you may update the code to save the results, and all prediction results can be easily obtained.
Best.


Broken docs link in Session maximum execution time section

Describe the bug
The link to [Specify the session length](https://qiskit.org/ecosystem/ibm-runtime/how_to/run_session#session_length.html) on this page https://qiskit.org/ecosystem/ibm-runtime/faqs/max_execution_time.html#session-maximum-execution-time is broken, I get a 404 following it.
Steps to reproduce
click the link
Expected behavior
link should work
Suggested solutions
fix the link
Additional Information

qiskit-ibm-runtime version:
Python version:
Operating system:

cc @beckykd

There is also a broken link here: https://qiskit.org/ecosystem/ibm-runtime/sessions.html#maximum-session-timeout
The link to [Determine session details](https://qiskit.org/ecosystem/ibm-runtime/how_to/run_session#determine-session-details.html)..

The links are up, maybe the time you were trying to load the page the system was updating.

I'm still getting a 404 not found error page clicking the links in the page above.

@mriedem I believe all the broken links you mentioned are now fixed
Specify the session length - https://docs.quantum.ibm.com/run/run-jobs-in-session#specify-length
Determine session details - https://docs.quantum.ibm.com/run/run-jobs-in-session#session-details


Absolute IRI "sec:BbsBlsSignature2020" confused with prefix "sec".

   "@mattrglobal/jsonld-signatures-bbs": "0.7.1-unstable.2673a0a",

I believe this is caused by the interaction between sec-v3-unstable...
https://github.com/mattrglobal/jsonld-signatures-bbs/blob/2673a0a077c232ca5be61b93339be547e5341635/src/BbsBlsSignature2020.ts#L54
imo this call to super should be with https://github.com/mattrglobal/jsonld-signatures-bbs/blob/2673a0a077c232ca5be61b93339be547e5341635/src/BbsBlsSignature2020.ts#L401
See similar approach taken here:
https://github.com/w3c-ccg/lds-jws2020/blob/master/packages/json-web-signature-2020/src/JsonWebSignature.ts#L25

@OR13 can you provide an example of when this is occuring because I believe this is correct behaviour based on the limitations of the security v2 context

This is a work around because the new sec-v3 context doesn't properly expand with the current json-ld signatures implementation due to the removal of the prefixes and moving to long form IRIs. See this issue for additional details: https://github.com/digitalbazaar/jsonld-signatures/issues/118

more details here: https://github.com/w3c-ccg/security-vocab/pull/80

I am attempting to get the credentials to work with only:

credentials/v2
security/v3-unstable

Reminder to fix this :
https://github.com/mattrglobal/jsonld-signatures-bbs/blob/2673a0a077c232ca5be61b93339be547e5341635/src/BbsBlsSignature2020.ts#L59
Then we won't need to load sec-v3 with when cred-v2 or bbs-v1 is included.

IMO, we should just wait until the latest stable uses addresses this issue
Then add examples of linked data signatures and credentials, that replace the current sample and only use:

credentials/v2
security/v3
credentials/v1  + https://w3c-ccg.github.io/ldp-bbs2020/contexts/v1
security/v2 + https://w3c-ccg.github.io/ldp-bbs2020/contexts/v1

This issue will be addressed in the up and coming v0.8.0 release


Fail to build php-fpm image

Got the following error when trying to build php-fpm image on Docker for Windows:
Service 'php-fpm' failed to build: The command '/bin/sh -c curl -L -o /tmp/memcached.tar.gz "https://github.com/php-memcached-dev/php-memcached/archive/php7.tar.gz"     && mkdir -p /usr/src/phar.gz --strip 1     && docker-php-ext-configure memcached     && docker-php-ext-install memcached     && rm /tmp/memcached.tar.gz' returned a non-zero code: 1

Hi @fresnizky, see #147 for fixes.


Historical date of Marketplace

Currently when slots are finished/failed/cancelled they are deleted internally and hence removed from API listing. It would make sense to keep them for historical tracking purposes.

Duplicate of https://github.com/codex-storage/nim-codex/issues/885


problems with utest and mingw-w64

utest doesn't compile with mingw-w64. I added th following patch to utest/ctest.h:
diff --git a/utest/ctest.h b/utest/ctest.h
index 6d859bc..a62103f 100644
--- a/utest/ctest.h
+++ b/utest/ctest.h
@@ -58,6 +58,10 @@ struct ctest {
 #define __CTEST_APPLE
 #endif

+#ifdef __MINGW32__
+#undef CTEST_SEGFAULT
+#endif
+
 #if defined(_WIN32) && defined(_MSC_VER)
 #define __CTEST_MSVC
 #endif

Thank you for the patch


Files glob patterns specified did not match any files

When I  run npm run build I got the following error .
error: Files glob patterns specified did not match any files

Is that after npm run clean? There are no CSS files after that command, so if you add a single one Stylelint will be happy and stop complaining!


[Engine PANIC] 6 or more upserts in a row causes PANIC, less than 6 is OK. Only for versions > 2.0.0

Dear Prisma Team,
Bug description
I discovered a weird error which occurred when upserting many rows, when they are already present in the database.
Error: PANIC: called `Option::unwrap()` on a `None` value
Is thrown when I run more than 5 upserts in a row. The 6th upsert crashes the engine.
Also this does not happen when using prisma 2.0.0, only upwards.
I'd image that there may be some issue with the caching of prepared statements because I also had an error where prisma was complaining about a missing ID in a nested create->connect write even if I hardcoded the value. And that error also was only present if I used prisma > 2.0.0. However, since I have no reproduceable example for that, this report is more about the 6-upsert-crash issue.
Note that in version 2.1.3 the error only occurs when running the 6 upserts via graphql.
In 2.2.0 the error even occurs when using the prisma client directly, without graphql....

How to reproduce
I have prepared a repo here: https://github.com/allesklarbeidir/prisma-panic-6-upsert
Expected behavior
It should just run fine without any error, like in version 2.0.0
Prisma information
It's all in the repo: https://github.com/allesklarbeidir/prisma-panic-6-upsert
Environment & setup

OS: Mac OS 10.15.5
Database: PostgreSQL
Prisma version 2.0.0 is ok, upwards there's the described error
Node.js version: v12.14.0

I am unable to reproduce this with 2.4.0-dev.29 when using Prisma client directly. I used the following script.
Test this script with other versions and also testing the original GraphQL repro now.
const { PrismaClient } = require('@prisma/client')

const prisma = new PrismaClient()

async function main() {
  const five = await Promise.all(
    [1, 2, 3, 4, 5].map(async (i) => {
      return await prisma.keyValuePair.upsert({
        update: {},
        where: {
          name: `test_${i}`,
        },
        create: {
          name: `test_${i}`,
          description: `description_${i}`,
        },
      })
    }),
  )
  console.log({ five })

  const six = await Promise.all(
    [1, 2, 3, 4, 5, 6].map(async (i) => {
      return await prisma.keyValuePair.upsert({
        update: {},
        where: {
          name: `test_${i}`,
        },
        create: {
          name: `test_${i}`,
          description: `description_${i}`,
        },
      })
    }),
  )
  console.log({ six })
}

main()

Update: I am also unable to reproduce this with 2.2.0 and the provided reproduction.

Unable to reproduce this on version 2.3.0. Tried it with these approaches:
  for (let i of [1, 2, 3, 4, 5, 6]) {
    await prisma.user.upsert({
      update: {
        name: `user ${i} updated`,
      },
      create: {
        email<EMAIL_ADDRESS>        name: `user ${i}`,
      },
      where: {
        id: i,
      },
    })
  }

and
const users = [7, 8, 9, 10, 11, 12, 13].map((i) =>
    prisma.user.upsert({
      update: {
        name: `user ${i}`,
      },
      create: {
        email<EMAIL_ADDRESS>        name: `user ${i}`,
      },
      where: {
        id: i,
      },
    })
  )
  await Promise.all(users)

Hey @allesklarbeidir
Can you please try this again with the latest version and report back? Thanks!

Hey, thank you guys for looking into this!
I've been away for a week, so I'm looking again into this right now.
Setting up a clean environment, so I can isolate the error better.
I'll post feedback as soon as I have some news.

Hey @pantharshit00,
it took me some time to re-investigate on this in a structured way, but now I got some new insights.
Meanwhile I built a testsuite for my microservice-architecture where I have multiple graphql servers with nexus + prisma and with this testsuite I was able to debug multiple version-combinations, all with an always fresh and clean environment.
One important note (I didn't know that'd be important when I opened the issue):
I use YugaByteDB – I have seen an issue where you declare, that prisma is unfortunately not working with YugaByte and that you don't have the resources to fix that right now, and I completely understand that but please do not solely dismiss this as unsolvable due to YugaByte --> I have an idea :)
Originally this issue even caused my database to crash, I found out a little later after more debugging, then I used an older version of YugaByte and it did not crash anymore. So for a while I thought the error was gone, but it wasn't.
I have created a new minimal example for reproducing the error:
https://github.com/allesklarbeidir/yb-prisma-error-reproduce
I have watched the YugaByte Postgres log file when running the tests and there I can see that prisma is mostly generating transactions for the queries. Especially if using a nested "connect".
The error happens in the following way:

Insert row a in relation A.
(model KeyValuePair in the "yb-prisma-error-reproduce" repo)

Insert row b in relation B with a foreign key to row a in relation A.
(model ReferenceKeyValuePair in the "yb-prisma-error-reproduce" repo)

(This is probably optional)
Delete row b.
Delete row a.

Repeat

Now, this is fine with prisma 2.0.0 no mater how often you repeat the process.
But if you use prisma >= 2.1.0 an error occurs in the 6th iteration. YugaByte seems to fail to return row a for the nested "connect-check" when prisma wants to insert row b with a transaction (checking if row a exists before the insert).
I can see this in the postgres logs:
First the 0-test-5 and 0-test-6 KeyValuePair is inserted:
LOG:  statement: BEGIN

LOG:  execute s0: INSERT INTO "public"."KeyValuePair" ("name","description") VALUES ($1,$2) RETURNING "public"."KeyValuePair"."name"

DETAIL:  parameters: $1 = '0-test-5', $2 = '0-some-description-5'

LOG:  execute s1: SELECT "public"."KeyValuePair"."name", "public"."KeyValuePair"."description" FROM "public"."KeyValuePair" WHERE "public"."KeyValuePair"."name" = $1 LIMIT $2 OFFSET $3

DETAIL:  parameters: $1 = '0-test-5', $2 = '1', $3 = '0'

LOG:  statement: COMMIT

LOG:  statement: BEGIN

LOG:  execute s0: INSERT INTO "public"."KeyValuePair" ("name","description") VALUES ($1,$2) RETURNING "public"."KeyValuePair"."name"

DETAIL:  parameters: $1 = '0-test-6, $2 = '0-some-description-6'

LOG:  execute s1: SELECT "public"."KeyValuePair"."name", "public"."KeyValuePair"."description" FROM "public"."KeyValuePair" WHERE "public"."KeyValuePair"."name" = $1 LIMIT $2 OFFSET $3

DETAIL:  parameters: $1 = '0-test-6', $2 = '1', $3 = '0'

LOG:  statement: COMMIT

Then the 0-test-5 ReferenceKeyValuePair is inserted, which works fine.
LOG:  execute s2: SELECT "public"."KeyValuePair"."name" FROM "public"."KeyValuePair" WHERE "public"."KeyValuePair"."name" = $1 OFFSET $2

DETAIL:  parameters: $1 = '0-test-5', $2 = '0'

LOG:  execute s3: INSERT INTO "public"."ReferenceKeyValuePair" ("kvpId","someId") VALUES ($1,$2) RETURNING "public"."ReferenceKeyValuePair"."kvpId", "public"."ReferenceKeyValuePair"."someId"

DETAIL:  parameters: $1 = '0-test-5', $2 = '0-someid-5'

LOG:  execute s4: SELECT "public"."ReferenceKeyValuePair"."kvpId", "public"."ReferenceKeyValuePair"."someId" FROM "public"."ReferenceKeyValuePair" WHERE ("public"."ReferenceKeyValuePair"."kvpId" = $1 AND "public"."ReferenceKeyValuePair"."someId" = $2) LIMIT $3 OFFSET $4

DETAIL:  parameters: $1 = '0-test-5', $2 = '0-someid-5', $3 = '1', $4 = '0'

LOG:  statement: COMMIT

Then the 0-test-6 ReferenceKeyValuePair is inserted, which is rolled back because the 'row a' reference is not found.
LOG:  statement: BEGIN

LOG:  execute s2: SELECT "public"."KeyValuePair"."name" FROM "public"."KeyValuePair" WHERE "public"."KeyValuePair"."name" = $1 OFFSET $2

DETAIL:  parameters: $1 = '0-test-6', $2 = '0'

LOG:  statement: ROLLBACK

So then the 6th insert with a nested connects fails. To me it clearly looks like an YugaByte issue, and I will report it there, because if I use YugaByte >= 2.2.0 the database even crashes and is not just not returning the previously inserted 'row a'.
But I'd like to ask you, if you guys can help tracking the error down by pointing me in a direction on how I can disable the Prepared statement caching for PostgreSQL prisma-feature which was introduced in prisma 2.1.0 because I suspect it may be related to the error in YB and even a hacky workaround would be super helpful for me right now, so that I might use new prisma versions with disabled Prepared statement caching for PostgreSQL.
I can't imagine any other change from prisma 2.0.0 to 2.1.0 to be causing this issue.

@allesklarbeidir
You can disable statement caching by setting the cache size to zero using statement_cache_size=0 parameter in the connection string.
postgresql://test:test@testhost:5432/mydb?schema=public&statement_cache_size=0

Regarding usage of yugabyte, I will recommend you to not run this in a critical production setup as our CI pipeline failed when we tried to test against yugabyte(https://github.com/prisma/prisma-engines/pull/1139) so some bugs can bite you really hard down the road. But still, best of luck with your investigation.

@pantharshit00
Thank you very much for the statement_cache_size=0 instructions!
I just tested the error-reproduction repo I provided with that parameter in the connection string and the error is completely gone 🎉 !
I tested all the versions in the repo (prisma 2.0.0, 2.1.3, 2.2.0) without and with the statement_cache_size=0 parameter and once I add the parameter to the connection string all the prisma versions are working with yugabyte, not only the 2.0.0 version. I ran it with yugabyte 2.1.5 and 2.2.0 like all the tests I ran during my investigation.
I also tested the latest version of prisma (2.11.0) and yugabyte (<IP_ADDRESS>-b106) and it's working if add the parameter.
If I find some time, I'll try to run your testsuite to see if this changes anything for your tests as well. But you could check that out yourself... I guess you're faster with setting up your tests with yugabyte + the statement_cache_size=0 parameter 😉
With this knowledge the guys at yugabyte might also find it easier to fix the bug, we'll see. Would be awesome to have prisma working together with yugabyte in stable way.
I'll report back as soon as I have some news :)

I am going to close this now. Happy to take a look again if we get more information.


Blur needs support of AVX and not AVX2

According to
https://microsoftteams.uservoice.com/forums/908686-bug-reports/suggestions/40115269-blur-option-disappeared
Teams added support for AVX for background in June 2020.
But the documentation still states otherwise.

Background video effects require Windows 10 or a processor with AVX2 instruction set.

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

ID: 29a61ff5-b3a5-158d-149a-dec344060e05
Version Independent ID: 97fac351-a283-aaa8-cde1-fbd9cf4e8504
Content: Hardware requirements for Microsoft Teams - Microsoft Teams
Content Source: Teams/hardware-requirements-for-the-teams-app.md
Service: msteams
GitHub Login: @SerdarSoysal
Microsoft Alias: serdars

@HolgerJeromin  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.


Upgrade faraday version

The current faraday version is out of date and blocking other gems to updates.

Merged in 1.3.0, thanks!


eden: [representation] add Representation page to nav bar

When we're nearing completion, expose the Representation page by adding it to the navigation bar.

@sparkplug0025 Now that nav bar items are dynamic, can we only display the Delegates page when there are election results? Adding this to the side bar should be fine. But the mobile nav bar is already crowded. I've asked Thomas about this here: https://t.me/eden_dev/3387

And he confirmed that it can replace Treasury in the mobile nav bar for now. As for the side bar, we can keep Treasury around since we have more space.

The label should be "My Delegates" and the icon should be the star (<DelegationNav /> from _app/ui/nav-icons/delegation-nav.tsx).


Is it possible to  retrieve studies data from json objects Using Ohif as embedded viewer?

Hi all,
Thank you for this helpful open source.
We want to integrate Ohif viewer as a react component (by importing @ohif/viewer)
But we don't use any dicomWeb Services, so we have to send studies metadata as jsons.
Is there a way to pass json object as a prop to the viewer? Or there is another approach to solve this issue?
Thank you very much!

Hello, have you solved this problem? I have the same problem now

大家好， 感谢您提供这个有用的开源。 我们希望将 Ohif 查看器集成为一个反应组件（通过导入 @ohif/viewer） 但是我们不使用任何 dicomWeb 服务，因此我们必须将研究元数据作为 json 发送。 有没有办法将 json 对象作为道具传递给查看器？或者有另一种方法来解决这个问题？ 非常感谢！

In OHIf v3, you can make use of iframe
https://docs.ohif.org/deployment/cors/#embedding-ohif-in-an-iframe


How do  define Stop Loss and Take Profit?

How do  define Stop Loss and Take Profit in kucoin-futures-python?

good question. I've got the same problem.
i guess you have to set Take profit with a limit order like e.g:
order_id = client.create_limit_order('XBTUSDM', 'sell', '1', '30', '45000')
so 45000 is the price. But if this price is lower than the current price i got an error.
So therefore i thought to there must be "stop price order" in this SDK but there is not. Or do i get wrong?
How can i set a "stop price order" in order to set a stop loss?

Since this issue has already been addressed and there have been no updates for a long time, we will now close it.
If you need any further assistance, feel free to ask!


having some trouble importing shapes into notebook.

II tried to export a shape polygon into a jupyter notebook, and get the following MaxTryError and SSLError

I get the errors after after executing the following lines on a Notebook using the Oceanography Kernel:
from poseidon_viewer import get_shapes
p = get_shapes()

Steps that I follow to reproduce the error:

I am working remotely (this may or may be an issue).
I am using a newly created container using the Oceanography (Integrated Viewer) image.
The poseidon-viewer app is opened from the base path (is this still the way it has to be, or can we open the viewer from any other directory?)
Select the following a closed polygon defined by the following coordinates NW=(72, -70), SW = (11, -70), SE = (11, 24), NE=(72, 24).
Select Save and Export tool bottoms (I do see the message exported to clipboard.
Run the lines above.

@dmedv Hi Mitya, I am still having some issues trying to play with this. Have you had a chance to look into this issue?

@Mikejmnez Actually, this particular error seems to be an SSL related problem on the web proxy end, not a bug in the code. Our sysadmins are looking into it.

Thanks @dmedv . This week I have been playing with the poseidon viewer and it works well! I will be closing this issue, since the error above is no longer reproduced


[SPARK-44643][SQL][PYTHON] Fix Row.repr for the case the field is empty Row

What changes were proposed in this pull request?
Fix Row.__repr__ for the case the field is empty Row.
>>> repr(Row(Row()))
'<Row(<Row()>)>'

Why are the changes needed?
Row.__repr__ is broken when it contains an empty Row:
>>> repr(Row(Row()))
Traceback (most recent call last):
...
TypeError: not enough arguments for format string

Does this PR introduce any user-facing change?
Row that contains an empty Row will be shown in the REPL.
How was this patch tested?
Added the related test.

cc @HyukjinKwon @zhengruifeng

Merged to master and branch-3.5.


If the prior is off, I get a strange crash

Here is a textfile I am using:
import numpy as np
import bayesfit as bf

data = [[0.1, 10, 20],
        [0.2, 11, 20],
        [0.3, 14, 20],
        [0.4, 17, 20],
        [0.5, 20, 20],
        [0.6, 19, 20]]
data = np.array(data)
data[:, 0] *= 10

metrics, options = bf.fitmodel(data,
                               priors=('Norm(.3,0.01)',
                                       None, None, None),
                               param_free=[True, True, True, False])

Note that I explicitly multiply my stimulus values to a range that really doesn't match with the prior. This gives the following error:
Traceback (most recent call last):
  File "test.py", line 16, in <module>
    param_free=[True, True, True, False])
  File "/home/ingo/tmp/bayesfit/.venv3/lib/python3.6/site-packages/bayesfit/bayesfit.py", line 137, in fitmodel
    metrics = _fit_Grid(data_copy, options)
  File "/home/ingo/tmp/bayesfit/.venv3/lib/python3.6/site-packages/bayesfit/bayesfit.py", line 185, in _fit_Grid
    metrics = _extract_metrics_grid(data, options, metrics, posterior, grid)
  File "/home/ingo/tmp/bayesfit/.venv3/lib/python3.6/site-packages/bayesfit/extractMetrics.py", line 243, in extract_metrics_grid
    metrics['MAP'][i] = grid['A'][map_index]
ValueError: setting an array element with a sequence.

Removing the multiplication or setting the prior to 'Norm(0.3, 0.01)' solves the problem and gives a reasonable looking function.

I apologize for the delayed response!   Life got busy with moving ...
That is odd ... will look into the issue further in the coming days.

Given your example I have replicated the error.
There appears to be two issues here.  One is the sequencing error, which still needs to be fixed.
The second is the prior set.  A prior with a mean of 0.5 does not make sense for data whose intensities range between  1 - 10.  Changing the mean value estimate to 5 [ 'Norm(5,1)' ] will appropriately fit a function, with a MAP value estimate for the mu of the normal distribution at 3.42, which makes sense. No errors are output from the example code below.
That code is:
metrics, options = bf.fitmodel(data,                                priors=('Norm(5,1)',                                        None, None, None),                                param_free=[True, True, True, False])

@SlugocM , I'm not sure what you mean by the "sequencing error". Good luck with the move!

@igordertigor Thank you all around!  Finally tracked down the error.
The probability vector returned for a prior that is way off the mark is an array of zeros.  Of course, in theory these values are not zero, but are extremely  small.  However, in practice, they come back as zeros even if you use a double data type in an attempt to capture them.
Now, in the implementation, the vector representing the probabilities of a user provided prior are normalized before being applied to the likelihood surface to generate a posterior.  Therefore, the vector of zeros was being divided by its sum, which is zero, resulting in an error that propagated forward... the details of which I will save. In short, it resulted in a sequence being returned instead of an array when computing one of the metrics from the posterior.
I have have updated the master branch with a fix that addresses this issue by checking whether the sum of the vector of probabilities for user defined priors is equal to zero.  If so, an informative Value Error arises that tells the user that one of the priors they have provided is likely way off the mark, and so either to adjust the priors, or to use MLE by setting priors equal to None.
I will now close the issue :)

Sounds good. Thanks for looking into this.


mix not found

Laravel Mix Version: 6.0.9 (npm list --depth=0)
Node Version: v12.13.0
NPM Version: 6.12.0
OS: Windows 10

Description:
🚀❯ npm run dev

> @ dev D:\code\dnw\hannibal\src

> @ development D:\code\dnw\hannibal\src
> mix

Der Befehl "mix" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ development: `mix`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ development script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\Alex\AppData\Roaming\npm-cache\_logs\2021-01-11T11_18_48_485Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ dev: `npm run development`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\Alex\AppData\Roaming\npm-cache\_logs\2021-01-11T11_18_48_511Z-debug.log

The content of my package.json:
{
    "private": true,
    "scripts": {
        "dev": "npm run development",
        "development": "mix",
        "watch": "mix watch",
        "watch-poll": "mix watch -- --watch-options-poll=1000",
        "hot": "mix watch --hot",
        "prod": "npm run production",
        "production": "mix --production"
    },
    "devDependencies": {
        "@tailwindcss/forms": "^0.2.1",
        "@tailwindcss/typography": "^0.3.0",
        "alpinejs": "^2.7.3",
        "autoprefixer": "^10.2.1",
        "axios": "^0.21",
        "chokidar": "^3.5.0",
        "chokidar-cli": "^2.1.0",
        "cross-env": "^7.0.3",
        "esbuild": "^0.8.31",
        "laravel-mix": "^6.0.6",
        "lodash": "^4.17.19",
        "postcss": "^8.2.4",
        "postcss-custom-properties": "^10.0.0",
        "postcss-import": "^12.0.1",
        "postcss-nested": "^5.0.3",
        "precss": "^4.0.0",
        "tailwindcss": "^2.0.2"
    }
}

Node_modules are present.
Slightly different to #2761 as there was a problem with webpack. I'm unable to run mix or npx mix.
Steps To Reproduce:
Use a fresh laravel project. Or a fresh mix install. Doesn't work either way. 😂

Having the same issue; https://github.com/JeffreyWay/laravel-mix/issues/2550

Having the same issue; https://github.com/JeffreyWay/laravel-mix/issues/2550

Same issue, I reported it at laravel/framework but they close it saying that it was my computer :/

Same issue, I reported it at laravel/framework but they close it saying that it was my computer :/

As you might see it is at least a problem of three computers and not a path issue like in #2761.

As you might see it is at least a problem of three computers and not a path issue like in #2761.

Are you installing using npm install --no-bin-links?

Are you installing using npm install --no-bin-links?

Are you installing using npm install --no-bin-links?

No. Just a plain npm install.

Are you installing using npm install --no-bin-links?

No. Just a plain npm install.

It seems to be fixed right now.

It seems to be fixed right now.

@Wulfheart I have this error. How did you fix this?

@Wulfheart I have this error. How did you fix this?

@AliN11 which version of mix do you have installed? npm list --depth=0 should give you a hint.

@AliN11 which version of mix do you have installed? npm list --depth=0 should give you a hint.

@AliN11 which version of mix do you have installed? npm list --depth=0 should give you a hint.
6.0.6

But it is fixed! I Moved the project to another path and the problem is gone. I think the problem was related to the project path.

@AliN11 which version of mix do you have installed? npm list --depth=0 should give you a hint.
6.0.6

But it is fixed! I Moved the project to another path and the problem is gone. I think the problem was related to the project path.

With 6.10.0 it should also work under your old path.

With 6.10.0 it should also work under your old path.


What happened to the test resources?

Issue Description
I forked/cloned this repo to potentially add some features to the Datavec module. Compiling through Maven without test case execution worked fine, but when I try to run the test cases, I ran into all kinds of errors (mvn clean install).
When looking into the test errors for the datavec-api module, I noticed that the src/test/resources folder was not migrated when the project was moved into the monorepo.
The test resources can be found in the archived repo: https://github.com/deeplearning4j/DataVec/tree/master/datavec-api/src/test/resources
But they are not here: https://github.com/eclipse/deeplearning4j/tree/master/datavec/datavec-api/src
What happened to the test resources? Without them, none of the unit tests work...
Any instructions on how to run the unit tests? Without the tests, I don't feel comfortable to make changes...
Version Information
Please indicate relevant versions, including, if relevant:

Deeplearning4j version: 1.0.0-SNAPSHOT (master branch)
Platform information (OS, etc): macOS 10.13.6
CUDA version, if used
NVIDIA driver version, if in use

Additional Information
Where applicable, please also provide:
Running org.datavec.api.records.reader.impl.SVMLightRecordReaderTest
Tests run: 15, Failures: 0, Errors: 15, Skipped: 0, Time elapsed: 0.176 sec <<< FAILURE! - in org.datavec.api.records.reader.impl.SVMLightRecordReaderTest
testNextRecord(org.datavec.api.records.reader.impl.SVMLightRecordReaderTest)  Time elapsed: 0.135 sec  <<< ERROR!
java.io.FileNotFoundException: datavec-api/svmlight/basic.txt cannot be opened because it does not exist
	at org.datavec.api.records.reader.impl.SVMLightRecordReaderTest.testNextRecord(SVMLightRecordReaderTest.java:347)

testBasicRecord(org.datavec.api.records.reader.impl.SVMLightRecordReaderTest)  Time elapsed: 0.002 sec  <<< ERROR!
java.io.FileNotFoundException: datavec-api/svmlight/basic.txt cannot be opened because it does not exist
	at org.datavec.api.records.reader.impl.SVMLightRecordReaderTest.testBasicRecord(SVMLightRecordReaderTest.java:76)

Contributing
Would love to provide some additional functional, e.g. more supported date formats in StringToTimeTransformation, but can't do that without working unit tests...

Clone this repo and install: https://github.com/deeplearning4j/dl4j-test-resources
Then enable 2 profiles: testresources and test-nd4j-native
https://github.com/eclipse/deeplearning4j/blob/master/pom.xml#L679
https://github.com/eclipse/deeplearning4j/blob/master/datavec/pom.xml#L350

Thanks for the instructions - is that documented anywhere?


Added support for Twig 3

Proposed Changes

Allows either Twig 2.7 or 3 to be used

Coverage remained the same at 100.0% when pulling 471f4b41244cfb373c87b189caa5fc06a236c285 on vendi-advertising:vendi-allow-twig-3 into 445ecc02a1832aa658a1ffa22bfb9c32fbd2740f on voku:master.

Hello,
Happy new year! When will this PR be merged? I really would like to use HTML compression with Twig 3.
Thanks!

Hello,
Happy new year! When will this PR be merged? I really would like to use HTML compression with Twig 3.
Thanks!

@posido Sorry I didn't saw that pull request. :-/ Thanks for the reminder: merged and released :rocket:
@cjhaas Thanks for the fix.

@posido Sorry I didn't saw that pull request. :-/ Thanks for the reminder: merged and released :rocket:
@cjhaas Thanks for the fix.


Add forceDelete option for task queue deletion

By default, force delete is set to false as it can corrupt the Helix
Task Framework cache. We keep this as an expert only option to force
deleting the task queue without going through the Helix transitions
in case we need to perform some cleanups. In normal case, this flag
should always be false.

Codecov Report

Merging #5051 into master will decrease coverage by 19.04%.
The diff coverage is 42.85%.

@@              Coverage Diff              @@
##             master    #5051       +/-   ##
=============================================
- Coverage     58.54%   39.49%   -19.05%
=============================================
  Files          1182     1182
  Lines         63135    63135
  Branches       9287     9288        +1
=============================================
- Hits          36963    24937    -12026
- Misses        23455    36053    +12598
+ Partials       2717     2145      -572

Impacted Files
Coverage Δ
Complexity Δ

...roller/api/resources/PinotTaskRestletResource.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...lix/core/minion/PinotHelixTaskResourceManager.java
82.95% <60%> (+9.69%)
0 <0> (ø)
:arrow_down:

.../org/apache/pinot/common/http/MultiGetRequest.java
0% <0%> (-100%)
0% <0%> (ø)

...che/pinot/common/restlet/resources/TablesList.java
0% <0%> (-100%)
0% <0%> (ø)

...che/pinot/pql/parsers/pql2/ast/OptionsAstNode.java
0% <0%> (-100%)
0% <0%> (ø)

...ot/core/query/scheduler/TableBasedGroupMapper.java
0% <0%> (-100%)
0% <0%> (ø)

...t/core/segment/index/readers/OnHeapDictionary.java
0% <0%> (-100%)
0% <0%> (ø)

...t/core/query/scheduler/OutOfCapacityException.java
0% <0%> (-100%)
0% <0%> (ø)

...ot/core/query/scheduler/SchedulerQueryContext.java
0% <0%> (-100%)
0% <0%> (ø)

...pinot/common/exception/TableNotFoundException.java
0% <0%> (-100%)
0% <0%> (ø)

... and 562 more

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 ec0da53...b1cae6f. Read the comment docs.


Update DeviceDetailsPage.xaml.cs

Removed refresh rate as it's a property taken from DisplayInfo.
Also, some samples were missing Current so I added them.

@proudust I don't see your updates to Current, but please feel free to open another PR. Thanks again!


lasts: false on animation JSON doesn't work.

When calling _animanaged_.animations.fromJson with an animation with { lasts: false }, it still lasts.

It appears that the at function is modifying properties on the actual shape.


Is there a way to handle CS externally?

I mean, I want to use three SPI devices with the same SPI bus, but in the SPIMaster_Open() function you have to specify the ChipSelect ID and when you write using SPI, it automatically clear and set this pin. Is there a way to disable "automatic mode" of CS and do it manually with another GPIO?

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

ID: 8f9eb269-0b66-ffee-7ebf-1271d958b460
Version Independent ID: b8f0641a-6c52-a96f-7e4e-977f3a80f7e0
Content: Azure Sphere Applibs spi.h reference
Content Source: AzureSphere/articles/reference/applibs-reference/applibs-spi/spi-overview.md
Product: azure-sphere
GitHub Login: @esalc
Microsoft Alias: azurespheredocs

@rickeycv Thanks for the feedback! We are currently investigating and will update you shortly.

@rickeycv I raised your issue internally. Also assigned the issue to content author.

@rickeycv - you can use the regular POSIX read() and write() functions to avoid any 'automatic' CS behaviour.  You can pass these functions the file-descriptor (fd) returned when opening a SPI interface (for either 'A' or 'B' CS, it doesn't matter in this case).  As you suggest, you can then surround these write() and read() calls with additional calls to manually drive a separate 'C' CS using a GPIO.  Please let us know if this doesn't answer your question, thanks.

Currently i'm using POSIX read() and write() for SPI and they automatically control CS pin. I can't control it externally.
Thanks.

Thanks.  Yes, you're correct that read() and write() will still automatically change the CS pins.
So an alternative suggestion is to not attach anything to the CS pins at all.  Instead, you could pick 3 separate GPIOs - e.g. GPIO0, GPIO1, GPIO2.  Here's a pseudocode example:
spi0fd = SPIMaster_Open(SPI0, CSA, config);  // Don't connect anything to CSA.
gpio0fd = GPIO_Open(GPIO0, PushPull, High);  // Connect CS for first SPI device to GPIO0
gpio1fd = GPIO_Open(GPIO1, PushPull, High);  // Connect CS for second SPI device to GPIO1
gpio2fd = GPIO_Open(GPIO2, PushPull, High);  // Connect CS for third SPI device to GPIO2
GPIO_SetValue(gpio0fd, Low);  // Begin transaction with first SPI device
SPIMaster_WriteThenRead(spi0fd, ...);  // Or use other SPIMaster APIs, or individual write() and read(), as preferred
GPIO_SetValue(gpio0fd, High); // End transaction with first SPI device
GPIO_SetValue(gpio1fd, Low);   // Begin transaction with second SPI device
...

Yes, that could be a temporal solution but you are wasting one pin. Do you plan to modify API in order to disable CS "automatic control"?
Thanks.

Hello @rickeycv let us kindly ask you to open a new feature request on azure sphere feedback forum here. As this is out of the scope of this doc we will close the issue and follow-up with you on the feedback forum. Please share the link when you do so.
Thank you! :)


Last half second of OGG recording missing

Hey, svar is cool, just what I'm looking for atm.  I was hoping to save to ogg format but I notice that the last half second or so of recording (when I hit ctrl-C to stop recording) is missing.  This doesn't happen when I save to mp3 format, nor does it happen with I save to ogg with parecord.  I'm just curious if you know why this might be happening.  I'm a software programmer, so if you point me int the right direction I might be able to fix it if you don't have the time/interest.

I'm a software programmer, so if you point me int the right direction I might be able to fix it if you don't have the time/interest.

I guess that some "flush" functionality is missing here: https://github.com/arkq/svar/blob/master/src/writer_vorbis.c#L105 Read documentation for vorbis to see how to properly end file write. If you will be able to fix that, I'd be glad if you could provide a PR with the fix.

Yup, OGG container won't create "inefficient" pages via ogg_stream_pageout() if there aren't enough vorbis packets to make an "efficient" OGG page, so an ogg_stream_flush() is needed to flush any remaining vorbis packets before the container is closed.  PR coming shortly.


Douglas feedback

Hi folks, the query tool is up and running https://query.neurobagel.org/.
We would like for you to give us feedback on the tool from the perspective
of a user, who would use it to search for sample-level cohorts of openneuro data.
In its current state the query tool:

has access to some but not all open neuro datasets (~170 datasets)
has up-to-date options for diagnosis, imaging modality, etc
has two output tsv files available for download

dataset-level contains: dataset portal uri, dataset file path, dataset name, number of matching subjects, and available imaging modalities
participant level contains: dataset file path, subject id, age, sex, diagnosis, session id, session file path, number of sessions, and imaging modality

doesn't have options for assessment

We'd love to get your feedback on:

overall functionality
content and format of the output tsv files
UI experience
anything else you notice or have thoughts on

Please add your feedback as comments on this issue or if it is very extensive, a GDoc/Hackpad could also work.

Hi. I added a bug report regarding an issue with the dropdown and a PR for some other minor issues. Otherwise, it seems to work fine. I don't have any points regarding the data itself, as I know little/nothing about neuroimaging. My only other point is that I think gender would be a better label than sex, considering that there is an other category included.

Thanks @joshunrau!


Install normalize.css via yarn

Great, thanks! Merging away.

Just curious: what’s the advantage of installing via Yarn instead of Rails Assets?

Mainly, I feel, that we're doing things the direction Rails is going and the growth of other npm related dependencies which are (presumably) likely on projects.


SemanticException End of a WindowFrame cannot be UNBOUNDED PRECEDING

Hi Team,
Can you update the hive version used from 0.10.0 to latest
its not supporting the below:
org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: SemanticException End of a WindowFrame cannot be UNBOUNDED PRECEDING and many other data analytics
With Regards,
Charavana

HiveRunner 3.2.1 was released today which in turn uses:
<hive.version>1.2.1</hive.version>
so hopefully this resolves your issue. Let us know if this is not the case.

it was hive version 1.2.1 prior your upgrade also  ,my comment was wrong ....kindly upgrade the version from 1.2.1 to 2.X.x
please check if you can read and HQL file with simple unbound proceeding or unbound following in it

Can you please give an example of some HQL that is causing this? Or even better send a unit test that reproduces it.
Another option would be to try HiveRunner built from this branch:
https://github.com/klarna/HiveRunner/tree/Hive-2.3.0
This is the version we're going to work on next to try get Hive 2.3.x support.


Implementation of size to fit as per the content.

Implementation of size to fit as per the content.
Microsoft Reviewers: Open in CodeFlow

@BalajiR - Resolved the review comments. Please review the same.

@pragadeeshk - Thanks for reviewing the code. I have resolved all the comments. Please have a look and approve the same. Thanks.


Memory not cleaning with tornadoExecutionPlan.freeDeviceMemory().resetDevice();

Os: Ubuntu 22.04
Tornado Devices:
Number of Tornado drivers: 1
Driver: PTX
Total number of PTX devices  : 1
Tornado device=0:0  (DEFAULT)
PTX -- PTX -- NVIDIA GeForce RTX 3060 Laptop GPU
Global Memory Size: 5.8 GB
Local Memory Size: 48.0 KB
Workgroup Dimensions: 3
Total Number of Block Threads: [2147483647, 65535, 65535]
Max WorkGroup Configuration: [1024, 1024, 64]
Device OpenCL C version: N/A
Cuda version 12.0
Commit Id: 671b95e5a4007cbf4d1e6d7f9bed126ce0d21379
Example (Just a few second)
https://user-images.githubusercontent.com/6305941/218770489-d66a3512-5cc8-401e-b0df-2831ab369fa8.mp4

Thanks for the report @utrucceh . Is it possible to provide a test case?

Update: indeed you are right @utrucceh . The reset just marks some internal buffers to be reusable but it does not deallocate memory from the GPU. We will provide better documentation for this case.

Just an update: we clarified the documentation in the Javadocs associated with these calls. Our initial design was to "free" the resources from the GPU/FPGA from the runtime's view, and not physically deallocate memory. We designed this way to avoid constant allocation and deallocation.
However, after internal discussions with our team, we also decided to expose an option to free device memory (free OpenCL/PTX and Level zero functions). We are working to improve TornadoVM with new types and new functionality, so we will add this feature in near future.


Server resource called 3 times on ssr render

If you run the todo-app-sqlite example there's a print statement in the get_todos function that shows this happening.
On a server side render of the page you will see 3 logs of req.path = '/' but if you add or a delete a todo, which re-fetches the resource, it'll only log req.path = "/api/examples-todo-app-sqlite-src-todo.rs-get_todos"  once.

The same thing happens on the Axum versions

Thanks!
For anyone curious, this was actually applying to any Resource being run on the server.

an optimistic attempt to check whether the Future was synchronously ready and could be rendered, which I forgot would also drive the actual async work
running the Future normally
running the Future a separate time to serialize it to JSON and send it down to the client

I removed #1, fixed #3 so it was working with the reactive value being stored in the resource by #2, and left #2 so that now every resource just runs once.
Good eye, and thanks for the report.


NaN% for first time accuracy

When user makes new account, avg accuracy shows up as NaN%

Resolved. Good catch!


Use alternative stylesheet for dark mode

GTK css lacks media queries, and thus usual methods to toggle between dark and light mode in CSS (such as the prefers-color-scheme query) cannot be used.
Instead, waybar should check if dark-mode is enabled (say, by using adw_style_manager_get_dark) and include a different CSS file (e.g. style-dark.css).
This allows the user to have a dark and light configuration without re-templating or re-symlinking their configuration files every time they would like to change their theme (the solution to #1136)

It would probably be easiest to depend on a library for detecting this sort of thing, since interfacing with xdg-desktop-portal manually is a bit difficult.
From what I can tell, there are two main C libraries that provide information on the current theme, and signals for when it changes: libhandy and libadwaita.
@Alexays any opposition to depending on one of these?

@Alexays ping


Add web support

Depends on #69 (stacked PR, the diff is going to be huge until #69 is merged, just review 5b82a47)
This PR adds support for the web platform to make it easier to develop the app further. Eventually, this could be a second frontend to Vikunja - although this is not really the reason why I'm doing this.
With this PR, I've also fixed an issue that was seen during Hot Reload in the web, where the theme was not correctly reset.

I think it's fine to have it, but since Vikunja already has a great web frontend with a lot more features, I don't really see a reason to add (and then maintain) this.

For me the biggest advantage is to be able to develop the features locally with Chrome (or Chromium).
We can maybe keep this target enabled but without officially supporting it

What do you mean by developing locally with chrome? The official frontend is in Vue, you can develop that there, too, no?
We could, but it's just not what I would use flutter for for vikunja. @kolaente let me know what you think pls

Similar to what Beni said, we won't use the flutter web app as a replacement for the current web frontend anytime soon. I think having an easy way to develop for it without requiring a full-blown Android dev environment is a very good thing.
Can you add a note to the readme about how to get started with flutter web and how we'll only use it for development?

The Readme is on my todo list anyways, so I'ma just add this when I update it!


In veiclhe or bike when i am walking

I am using the premium version.
IOS is just fine! But when I use android, it show that I am on Veiclhe or Bike when i am actualy walking.
How is that possible? I need to configure this?
Cheers,
and congrats on the plugins, is really nice!

This is not the correct repo.  This repo is dead.  See the README


Description

Wrong color of whatsapp . I want to improve these icons a bit.
@Vaishnavi-Patil2211 Please assign this to me I want to work upon this issue
Expected Behavior
*-
Show us the trouble with screenshots

Which browsers are affected?
No response
Which OS are affected?
No response
Enter the version of your web browser

Device?
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

@Vaishnavi-Patil2211 please check https://github.com/OSCode-Community/OSCodeCommunitySite/pull/1090 . I have done it, So that we could move with the next issue

also @Vaishnavi-Patil2211 please add the gssoc label


#419 create FbLog4j class, similar to FbSlf4j

Created FbLog4j and FbLog4jTest classes with implementation and test of Log4J logger.
https://github.com/yegor256/takes/issues/419

@piddubnyi Thanks, let me find someone who can review this pull request

@pinaf please review,thanks

@piddubnyi is there an open issue for this PR?

@piddubnyi there are checkstyle violations. please check the travis build log and get it to pass.

@pinaf I fixed checkstyle manually this time, is there any formatter available to complete that ?
I also see the continuous-integration build failing. But that test is passed on my local setup, is there a way to rerun it ?

@piddubnyi I use INtelliJ with a settings.jar provided by yegor on his website yegor256.com

@piddubnyi It should be fine if it passed locally.

@piddubnyi a few more comments

@piddubnyi ping

Please provide more direct link to settings.jar, it is not so obvious to find it.

@piddubnyi http://img.teamed.io/settings.jar

@piddubnyi thanks. a few minor comments and we are good to merge.

I installed formatting settings, please confirm that no future adjustments needed.

@rultor merge

@rultor merge

@pinaf Thanks for your request. @yegor256 Please confirm this.

@rultor merge

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 9min)

@ypshenychka review this ticket please, for compliance with our quality rules

@rultor deploy

@rultor deploy

@davvd OK, I'll try to deploy now. You can check the progress here

@rultor deploy

@davvd Done! FYI, the full log is here (took me 12min)

@piddubnyi

#419 FbLog4j

According to our QA Rules:

Pull request title explains the problem it is fixing.

Please expand title of the PR by providing relevant information.

@piddubnyi

Please review.

According to our QA Rules:

Pull request description explains the solution proposed and contains a link to the original ticket it is related to.

Please provide appropriate description that briefly explains what was done in the branch and add link to initial ticket.

@piddubnyi
According to our QA Rules:

Messages in a ticket always start with a name of a user they are addressed to.

Please revise your messages and correct several of them by indicating an addressee in the beginning.

@ypshenychka Please confirm that quality rules are fulfilled now.

@piddubnyi It's fine now. Thank you.

@davvd Quality is acceptable.

@davvd Quality is acceptable.

@ypshenychka thanks for the review, we'll try better next time

@pinaf added 10 mins to @ypshenychka, for QA review, payment code is 73016912. Many thanks! 39 mins were added to your account in Transaction ID AP-8JG98106X41907249 (task took 296 hours and 6 mins). review comments (c=24) added as a bonus. +39 added to your rating, at the moment it is: +4603


Add a primitive lexer for Typst

This should close #2558.
I tried to add tests but:
jvoisin@home 20:49 (tyspt) ~/dev/pygments tox -- --update-goldens ~/text.typ
Traceback (most recent call last):
  File "/usr/bin/tox", line 33, in <module>
    sys.exit(load_entry_point('tox==3.21.4', 'console_scripts', 'tox')())
  File "/usr/lib/python3/dist-packages/tox/session/__init__.py", line 44, in cmdline
    main(args)
  File "/usr/lib/python3/dist-packages/tox/session/__init__.py", line 65, in main
    config = load_config(args)
  File "/usr/lib/python3/dist-packages/tox/session/__init__.py", line 81, in load_config
    config = parseconfig(args)
  File "/usr/lib/python3/dist-packages/tox/config/__init__.py", line 280, in parseconfig
    ParseIni(config, config_file, content)
  File "/usr/lib/python3/dist-packages/tox/config/__init__.py", line 1276, in __init__
    raise tox.exception.ConfigError(
tox.exception.ConfigError: ConfigError: pylint failed with ConfigError: skip_install: boolean value "True # doesn't need installing Pygments into the venv" needs to be 'True' or 'False' at Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/tox/config/__init__.py", line 1252, in run
    results[name] = cur_self.make_envconfig(name, section, subs, config)
  File "/usr/lib/python3/dist-packages/tox/config/__init__.py", line 1407, in make_envconfig
    res = meth(env_attr.name, env_attr.default, replace=replace)
  File "/usr/lib/python3/dist-packages/tox/config/__init__.py", line 1696, in getbool
    raise tox.exception.ConfigError(
tox.exception.ConfigError: ConfigError: skip_install: boolean value "True # doesn't need installing Pygments into the venv" needs to be 'True' or 'False'

[1]
jvoisin@home 20:49 (tyspt) ~/dev/pygments

Also, while the lexer is working ~ok, there is still a lot of space for improvements.

Getting there, but I can't manage to make pygments understand that inline code can become regular code via the open parenthesis :/

I've tried to add tests with a more recent version of tox, but:
$ tox -- --update-goldens ~/cv_jvoisin.typ
.pkg: _optional_hooks> python /home/jvoisin/dev/pygments/.venv/lib/python3.9/site-packages/pyproject_api/_backend.py True hatchling.build
.pkg: get_requires_for_build_editable> python /home/jvoisin/dev/pygments/.venv/lib/python3.9/site-packages/pyproject_api/_backend.py True hatchling.build
.pkg: build_editable> python /home/jvoisin/dev/pygments/.venv/lib/python3.9/site-packages/pyproject_api/_backend.py True hatchling.build
py: install_package> python -I -m pip install --force-reinstall --no-deps /home/jvoisin/dev/pygments/.tox/.tmp/package/5/pygments-2.17.1-py3-none-any.whl
py: commands[0]> pytest --update-goldens /home/jvoisin/test.typ
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --update-goldens
  inifile: None
  rootdir: /home/jvoisin

py: exit 4 (0.14 seconds) /home/jvoisin/dev/pygments> pytest --update-goldens /home/jvoisin/test.typ pid=27838
.pkg: _exit> python /home/jvoisin/dev/pygments/.venv/lib/python3.9/site-packages/pyproject_api/_backend.py True hatchling.build
  py: FAIL code 4 (0.59=setup[0.44]+cmd[0.14] seconds)
  evaluation failed :( (0.66 seconds)
[4]
$```

I've applied a few fixes that I missed on the initial review.
The rule for #include isn't working, though. Try
#include "foo.typ"

in the example. AFAICS, #include is eaten as Name.Variable by the rule in the 'markup' state, then "foo.typ" is outside code mode. Can it be fixed? What are the exact rules on code mode? (BTW, #(...) seems not to be working either.)
If you don't want to fix it now, we can always merge the PR without #include.

The rules are outlined here: https://typst.app/docs/reference/syntax/
Feel free to merge it as is, I'll try to improve it afterwards :)

Thank you @jvoisin!


Monitoring - Predefined metrics not match

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Enable cluster-level monitoring

Result:

Cannot see ingress-controller metrics
Some of the metric graphs from Grafana cannot match Rancher UI

Kubernetes Components

[x] Nginx Ingress Request Rate
[x] API Server Request Latency

ETCD

[x] Should consider multiple Etcd

Cluster

[x] CPU usage is using 2m avg

Other details that may be helpful:

[x] ingress-controller: use the new metric implementation since 0.16.1, should replace the stale metrics by new;
[x] ingress-controller: accpeted, active & handled state connections are Counters, using sum expressions are not correct: https://github.com/rancher/rancher/blob/95cc15027a192f2e7dc95c8c105d378f0e53a7a4/pkg/controllers/user/monitoring/metricExpression.go#L3411
[x] etcd network client grpc received bytes are using the wrong measure, received traffic and sent traffic are not in the same magnitude:
https://github.com/rancher/rancher/blob/95cc15027a192f2e7dc95c8c105d378f0e53a7a4/pkg/controllers/user/monitoring/metricExpression.go#L2467-L2468
https://github.com/rancher/rancher/blob/95cc15027a192f2e7dc95c8c105d378f0e53a7a4/pkg/controllers/user/monitoring/metricExpression.go#L2534
[x] etcd: there aren't any differences between failed and failure in Raft Proposals, and I prefer to use sum(increase(etcd_server_proposals_failed_total[5m])):
https://github.com/rancher/rancher/blob/95cc15027a192f2e7dc95c8c105d378f0e53a7a4/pkg/controllers/user/monitoring/metricExpression.go#L2638-L2653
https://github.com/rancher/rancher/blob/95cc15027a192f2e7dc95c8c105d378f0e53a7a4/pkg/controllers/user/monitoring/metricExpression.go#L2991-L3005
[x] metric-expression resources are managing by rancher, we should remove them from system-chart, as user clusters are never using them.

Environment information

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

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): Custom

@thxCode @loganhz i am concerned that QA wont understand what this change is and how to test it. You may need to explain more clearly

Sure, we will have a zoom with @jiaqiluo today

Some observations on Rancher: master 3/12

see the metric Ingress Controller Connections under Kubernetes Components Metrics in a custom cluster, but see Ingress Controller Connections and Ingress Controller Request Process Time under the same section in a DO cluster
The metric API Server Request Latency's value does not match in Rancher UI and Grafana UI

The bugfix validation is on Rancher: master 3/13
Cluster: custom RKE cluster, 1 control plane, 3 etcd node, 4 worker

there are Ingress Controller Connections and Ingress Controller Request Process Time presenting under Kubernetes Components Metrics section
Since the precision and scale of Y-direction of graphs in Rancher's dashboard  are different from those in Grafana's dashboard,  the Y-values in Nginx Ingress Request Rate, API Server Request Latencyand etc. are rougly equal to the values in their corresponding graphs in Grafana.
Graphs for ETCD in Grafana show multiple lines representing differnt etcd nodes when it is posibble
CPU usage in Grafana is using 5 mins avg as the default


Bug: Only last sample successfully duplicates in resolve_spirals, and .append() generally does not work reliably for RedisJSONDict

After the migration to RedisJSONDict in Pull Request #9, there have been issues with using .append() to add information into rsoxs_config.  An earlier example was in the update_bar function in rsoxs/Functions/alignment_local.py, where AF2 and diode would not get added to the bar when using .append().  However, changing to .insert() resolved the issue, and this change was made in Pull Request #9.
A similar issue is occurring in the resolve_spirals function in rsoxs/Functions/alignment_local.py.
out_2024-10-23_13-12-15_SpiralsResolved_Test.xlsx
As shown in the attached file in the "Bar" sheet, duplicates are only created for the B2 sample, even though duplicates were requested for all samples (A1, A2, B1, B2).  It is suspected that the rsoxs_config['bar'].append(newsamp) line is what is causing the issue.  As a workaround, it will be tested if using .insert() resolves the issue.

Update: .insert() results in the same issues.  Using += and .extend() also do not work and cause different errors.

For reference, further troubleshooting details are available here: https://nsls2.slack.com/archives/C01Q3BYKFRD/p1729712057921059


Locked files on mac worker.

Locked files plugin sees some files on mac worker as locked.
Searching for locked files in workspace.
$ lsof +D /jenkins/workspace/gRPC_pull_requests/config/opt/language/c/platform/macos
COMMAND    PID         USER   FD   TYPE DEVICE SIZE/OFF      NODE NAME
mdworker 25228 jenkinsnode2    4r   REG    1,2<PHONE_NUMBER>83905 /jenkins/workspace/gRPC_pull_requests/config/opt/language/c/platform/macos/templates/tools/doxygen/Doxyfile.include
mdworker 25228 jenkinsnode2    5r   REG    1,2<PHONE_NUMBER>83905 /jenkins/workspace/gRPC_pull_requests/config/opt/language/c/platform/macos/templates/tools/doxygen/Doxyfile.include
mdworker 25228 jenkinsnode2    7r   REG    1,2<PHONE_NUMBER>83905 /jenkins/workspace/gRPC_pull_requests/config/opt/language/c/platform/macos/templates/tools/doxygen/Doxyfile.include
ERROR: Build was failed as the workspace contained files that were locked by another process. See Locked files report for more information.

https://grpc-testing.appspot.com/job/gRPC_pull_requests/4259/config=opt,language=c,platform=macos/locked-files-report/

https://grpc-testing.appspot.com/job/gRPC_pull_requests/4255/config=dbg,language=php,platform=macos/locked-files-report/

Marked it P0 and Buildpony as it break builds on macos.

The common denominator seems to be the "mdworker" process - which is some disk indexing tool called Spotlight.
I disabled spotlight on grpc-mac-node2 by using instructions from:
http://osxdaily.com/2011/12/10/disable-or-enable-spotlight-in-mac-os-x-lion/
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

Was this seen on node1 as well?

Yes it was seen on node1: https://grpc-testing.appspot.com/job/gRPC_master/13085/config=dbg,language=c,platform=macos/console
Spotlight has been disabled on grpc-mac-node1 as well.

This should be resolved but the issue open for a while to see if that's the case.


Fixed Animation (Issue: Fix the member animation #135)

Fixed the Bug in the Animation Issue #135.

Good job, approved from my end

Good job, approved from my end

Thanks ✌✔


latest-v20.x shows two releases

https://r2.nodejs.org/download/release/latest-v20.x/ shows both Node.js 20.7.0 and 20.8.0:

AFAICT the other latest-* links only have one release as expected.

@MoLow do you know if the symlink paths are still being uploaded to the R2 bucket as separate folders? If so then that's probably what happened here, The last deploy to prod was a week ago so not sure if your redirect change is live or not

Hmmm staging seems to show the same and the redirect change is definitely on there.

/download/release/latest-v20.x/ should be grabbing nodejs/release/v20.8.0 from the bucket. Going to https://r2.nodejs.org/dist/v20.8.0/ only shows the v20.8 release, so the versions are still in their own separate directories. I definitely think for whatever reason it's still trying to hit nodejs/release/latest-v20.x on the bucket even though it really shouldn't be, will test locally to see what I can find


fix: Settings: Rename MeshModel Browser to Registry

Changed menu label and references to 'Registry'"
#9043

Another contributor has already completed this and completed the entire job (all the requested changes).


Better definition of display and operation

I illustrate with the following gif
Press Alt+F12 only the first definition is expanded, the others are collapsed
iter_rows has multiple definitions, the first one is displayed at the beginning, but if you want to see the second definition,
You need three steps.

Press DownArrow to move to the next position (worksheet.py) because it is collapsed, so
Press Enter to expand it
Press DownArrow to move to the next position and come to the second definition

If the file can be skipped and all definitions are expanded, the first two steps are not needed
Press DownArrow directly to come to the second definition

Another question
Press Alt+F12 to open the Peek window
At this time, when you press Enter to jump to the source file (here is workbook.py)
Peek window still exists, I think Peek window should be closed at this time

When peek shows you can hit F12 to visit each result


[pd.link]/[pd.link~] improvements

Added "-compress" flag to apply Opus compression. This makes audio streaming 5-10x more compressed, while still having decent audio quality
"-debug" flag now also logs buffer over/underruns.
Fixed circular buffer wrapping bug, falsely reporting buffer underruns
Allow creation without arguments
Fixed clicks when changing signal chain

hold on with merging, there's a small mistake somewhere...

fixed!


rest fixes

Hi, really good repo and good start for project 👍
I made some fixes and corrections

Change REST user_create rout url from /api/users to /api/signup, it need for anonymous: true in config/packages/security.yaml, I think it's ok when we can register new user without logging
Remove annotation @Security(name="Bearer") in actions which we can run anonymously
Fix some SWG annotations
Add some tests

Pull Request Test Coverage Report for Build 246

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.008%) to 95.602%

Totals

Change from base Build 239:
-0.008%

Covered Lines:
500

Relevant Lines:
523

💛  - Coveralls

I'll look at why coverage decreased and then merge this. LGTM

Thanks @alekseytupichenkov
Finally merged 🎉


Issue Report on Ver 1.2.0

I am using a Ferrari 458 Spyder racing wheel on windows 10 and the steering wheel registers any movement on the wheel as right-click. The left pedal is also unbound.

Thanks for the report! I'll take a look at this once I'm home again tomorrow.

having same problem

having same problem

Do any of you know if this problem is also occurring with older versions?

yes

yes

That's odd, it shouldn't be able to send mouse inputs at all. Is there a possibility that some other software or driver is interfering?

do i need to turn off steam driver

do i need to turn off steam driver

I'd recommend it, and then report your results back.

same issues as first person

same issues as first person

What version of Windows are you running? You can find this by typing winver in your programs menu and hitting enter.

win 10

I FIGURED IT OUT. I no longer have the problem, had to fully remove any drivers affecting this and recalibrate the wheel in the windows device manager along with restarting my computer.

HOW

it works thanks bro make a yt video for content


Tolerant: Completion: Magic

Better magic completion
%%r<un>
#%      java<script>

Before: some magics where with %% others with #%. Only one space was necessary for completion
Question: I had to repeat and (so magic-words.grep(*.starts-with($rest))) because if I affect it in the boolean context, its always false even : and (my word =  magic-words.grep(*.starts-with($rest)); True) or and (my @words = Array.new(magic-words.grep(*.starts-with($rest)))) {  makes the when fails do you have an idea why ?

Hmm -- not sure -- but I modified it slightly to just assign @words in an expression and it seems fine


please provide some examples how properly use it

wrote a function, calling it and nothing happens, no error and no anything else
const excel = () => {
  return (
    <ExcelFile>
       <ExcelSheet data={this.state.entities.results} name="Orders">
           <ExcelColumn label="Name" value="name" />
           <ExcelColumn label="Created at" value="createdAt" />
       </ExcelSheet>
     </ExcelFile>
  );
};

return excel();

I cannot understand that i'm doing wrong:
import React from 'react';
import { ExcelFile, ExcelSheet } from 'react-data-export';

export default class SampleComponent extends React.Component {
	render() {
		const dataSet1 = [
		    {
		        name: "Johson",
		        amount: 30000,
		        sex: 'M',
		        is_married: true
		    },
		    {
		        name: "Monika",
		        amount: 355000,
		        sex: 'F',
		        is_married: false
		    },
		    {
		        name: "John",
		        amount: 250000,
		        sex: 'M',
		        is_married: false
		    },
		    {
		        name: "Josef",
		        amount: 450500,
		        sex: 'M',
		        is_married: true
		    }
		];

		return (
			<ExcelFile filename="YourFileName.xlsx">
				<ExcelSheet data={dataSet1} />
			</ExcelFile>
		)
	}
}

I have got this error:

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Check the render method of SampleComponent.

try to add columns in your return, i think that is the problem

Nope:

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Check the render method of SampleComponent.

import React from 'react';
import { ExcelFile, ExcelSheet } from 'react-data-export';

export default class SampleComponent extends React.Component {
	render() {
		const dataSet1 =
		[{
			columns: ["Name", "Created At"],
			data: [
				["Name1", "28-01-2018"],
				["Name2", "27-01-2018"]
			]
		}];

		return (
			<ExcelFile filename="YourFileName.xlsx">
				<ExcelSheet data={dataSet1} />
			</ExcelFile>
		)
	}
}

Full example:
import React from 'react';
import ReactDOM from 'react-dom';
import { ExcelFile, ExcelSheet } from 'react-data-export';

class SampleComponent extends React.Component {
	render() {
		const dataSet1 = [{
			columns: ["Name", "Created At"],
			data: [
				["Name1", "28-01-2018"],
				["Name2", "27-01-2018"]
			]
		}];

		return (
			<ExcelFile filename="YourFileName.xlsx">
				<ExcelSheet data={dataSet1} />
			</ExcelFile>
		)
	}
}

ReactDOM.render(
	<SampleComponent />,
	document.getElementById("root")
)

Error:

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Check the render method of SampleComponent.
▶ 26 stack frames were collapsed.

./src/index.js
src/index.js:18
  15 | 	}
  16 | }
  17 |
> 18 | ReactDOM.render(
  19 | 	<SampleComponent />,
  20 | 	document.getElementById("root")
  21 | )

@denvist Your last code looks perfect. you just need to change property data to dataset,
so your code will look something like this,
<ExcelSheet dataSet={dataSet1} />

Hopefully this will solve your issue.

@securedeveloper same error

google says it is import error, so my other theory you import stuff in some bad way, your SampleComponent is undefined

Thank you @annslittleflower for your time.
Thank you @denvist you actually pointed out one more possible feature (which is default naming of ExcelSheets like MS Excel does like Sheet1, Sheet2 etc. )
I checked your script and I found 2 issues there,
1. Importing is not correct
The way you are currently importing is import { ExcelFile, ExcelSheet } from 'react-data-export';
But two possible import ways for you could be import {default as ExcelFile, ExcelSheet } from 'react-data-export'; or import ExcelFile, { ExcelSheet } from 'react-data-export';
2. You need to add name property in your ExcelSheet Component call.
So your code might be something like this,
import React from 'react';
import ReactDOM from 'react-dom';
import { default as ExcelFile, ExcelSheet } from 'react-data-export';

class SampleComponent extends React.Component {
	render() {
		const dataSet1 = [{
			columns: ["Name", "Created At"],
			data: [
				["Name1", "28-01-2018"],
				["Name2", "27-01-2018"]
			]
		}];

		return (
			<ExcelFile filename="YourFileName.xlsx">
				<ExcelSheet dataSet={dataSet1} name="MiniDatabase" />
			</ExcelFile>
		)
	}
}

ReactDOM.render(
	<SampleComponent />,
	document.getElementById("root")
)

PS: it seems you are using react starter kit which has own set of scripts, so you don't need to worry about webpack config and it is being taken care by those scripts.
Hopefully this will solve your issue. Plz acknowledge if it works for you.

@securedeveloper thank you for your explanation! I need more to learn about import/export functionality. Tomorrow i will check your solution.

@denvist still curious if that works for you if so I will update documentation accordingly on this weekend.

@securedeveloper yes, it's work!
btw: import * from 'react-data-export' arise importing error

@securedeveloper @denvist
I tried to run the code above (on a new app using npx create-react-app my-app) and the code does not run, I did not even got to the excel.
I looked for a solution for export failure - see issue #89