Usage Error: Couldn't find a script named "jest"

I'm in a Yarn2 PnP monorepo, where jest is installed in some of the modules' package.json but not at the root package.json. I tried running a test which was correctly highlighted by CodeLens but I received the following message in the terminal:
Usage Error: Couldn't find a script named "jest".

Repo structure is like this:
    package.json (containing workspaces definition)
    module1
        package.json (containing own module dependencies)
        tsconfig.json
        jest.config.ts
    module2
        package.json (containing own module dependencies)
        tsconfig.json
        jest.config.js

module2 is using a different build system than module1 so I cannot have a common jest.config for the two

Have you checked the add-on settings options for PNP?
Regards
Tristan
Simon Sotak @.***> schrieb am Mi., 12. Jan. 2022, 11:31:

I'm in a Yarn2 PnP monorepo, where jest is installed in some of the
workspaces' package.json but not at the root package.json. I tried
running a test which was correctly highlighted by CodeLens but I received
the following message in the terminal:
Usage Error: Couldn't find a script named "jest".
—
Reply to this email directly, view it on GitHub
https://github.com/firsttris/vscode-jest-runner/issues/230, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AANBJTDRKAS5XNUBLKGEKSLUVVRCTANCNFSM5LYXOEPA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@firsttris Yes, it's enabled:

I think problem here is that you have no jest in your root package.json, though even if you add it there this might still not work correctly since it will try to load jest config from root as well. Perhaps this plugin needs proper support for yarn workspaces, to work with monorepos.

check 0.4.48 and report if this issue still persists.


building js9 from 9.0.3 branch fails

After having removed all containers and images:
eval "$(ssh-agent -s)"
ssh-add -K ~/.ssh/id_rsa
export GIGDIR="/Users/$USER/gig9"
rm -rf $GIGDIR
export GIGBRANCH="9.0.3"
export GIGSAFE=1
rm -rf /tmp/jsinit.sh
curl https://raw.githubusercontent.com/Jumpscale/developer/${GIGBRANCH}/jsinit.sh?$RANDOM > /tmp/jsinit.sh
bash /tmp/jsinit.sh
source ~/.jsenv.sh
js9_build -l -p

Here's the result:
...
Found existing installation: cryptography 1.2.3
Uninstalling cryptography-1.2.3:
Successfully uninstalled cryptography-1.2.3
Found existing installation: paramiko 1.16.0
Uninstalling paramiko-1.16.0:
Successfully uninstalled paramiko-1.16.0
Found existing installation: psutil 3.4.2
E:DEPRECATION: Uninstalling a distutils installed project (psutil) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Uninstalling psutil-3.4.2:
Successfully uninstalled psutil-3.4.2
Running setup.py develop for JumpScale9Lib
Complete output from command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/opt/code/github/jumpscale/lib9/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps:
running develop
running egg_info
writing requirements to JumpScale9Lib.egg-info/requires.txt
writing dependency_links to JumpScale9Lib.egg-info/dependency_links.txt
writing top-level names to JumpScale9Lib.egg-info/top_level.txt
writing JumpScale9Lib.egg-info/PKG-INFO
reading manifest file 'JumpScale9Lib.egg-info/SOURCES.txt'
writing manifest file 'JumpScale9Lib.egg-info/SOURCES.txt'
running build_ext
Creating /usr/local/lib/python3.5/dist-packages/JumpScale9Lib.egg-link (link to .)
Adding JumpScale9Lib 9.0.3 to easy-install.pth file

Installed /opt/code/github/jumpscale/lib9
Running post install task
[Wed28 21:21] - SystemProcess.py    :661 :j.sal.process                  - INFO     - Checking whether at least 1 processes redis-server are running
Collecting 0-core-client from git+https://github.com/zero-os/0-core#egg=0-core-client&subdirectory=client/py-client
Cloning https://github.com/zero-os/0-core to /tmp/pip-build-caothk_2/0-core-client
Requirement already satisfied: redis>=2.10.5 in /usr/local/lib/python3.5/dist-packages (from 0-core-client)
Installing collected packages: 0-core-client
Running setup.py install for 0-core-client: started
Running setup.py install for 0-core-client: finished with status 'done'
Successfully installed 0-core-client-1.1.0a4
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/opt/code/github/jumpscale/lib9/setup.py", line 98, in <module>
'developement': develop
File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/opt/code/github/jumpscale/lib9/setup.py", line 37, in run
self.execute(_post_install, (libname, libpath), msg="Running post install task")
File "/usr/lib/python3.5/distutils/cmd.py", line 336, in execute
util.execute(func, args, msg, dry_run=self.dry_run)
File "/usr/lib/python3.5/distutils/util.py", line 301, in execute
func(*args)
File "/opt/code/github/jumpscale/lib9/setup.py", line 19, in _post_install
j.tools.jsloader.generateJumpscalePlugins()
AttributeError: 'JSLoader' object has no attribute 'generateJumpscalePlugins'
'JSLoader' object has no attribute 'generateJumpscalePlugins'

----------------------------------------
E:Command "/usr/bin/python3 -c "import setuptools, tokenize;__file__='/opt/code/github/jumpscale/lib9/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps" failed with error code 1 in /opt/code/github/jumpscale/lib9/
Traceback (most recent call last):
  File "/usr/local/bin/js9_getcode_libs_prefab_ays", line 26, in <module>
    j.do.execute("cd %s;sh install.sh" % path)
  File "/opt/code/github/jumpscale/core9/JumpScale9/core/InstallTools.py", line 1986, in execute
    die=die)
  File "/opt/code/github/jumpscale/core9/JumpScale9/tools/executor/ExecutorLocal.py", line 41, in execute
    outputStderr=outputStderr, timeout=timeout)
  File "/opt/code/github/jumpscale/core9/JumpScale9/sal/process/SystemProcess.py", line 203, in execute
    raise RuntimeError("Could not execute cmd:\n'%s'\nerr:\n%s" % (command, err))
RuntimeError: Could not execute cmd:
'set -e;cd /opt/code/github/jumpscale/lib9;sh install.sh'
err:
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
    DEPRECATION: Uninstalling a distutils installed project (psutil) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Command "/usr/bin/python3 -c "import setuptools, tokenize;__file__='/opt/code/github/jumpscale/lib9/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps" failed with error code 1 in /opt/code/github/jumpscale/lib9/
Could not execute cmd:
'set -e;cd /opt/code/github/jumpscale/lib9;sh install.sh'
err:
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
    DEPRECATION: Uninstalling a distutils installed project (psutil) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Command "/usr/bin/python3 -c "import setuptools, tokenize;__file__='/opt/code/github/jumpscale/lib9/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps" failed with error code 1 in /opt/code/github/jumpscale/lib9/

Up until version js9 version 9.0.3 we had a problem the install scripts do not consider the GIGBRANCH variable when cloning out repository inside the docker image (only the core9 repo is taking into consideration that variable). This means that while you are exporting GIGBRANCH=9.0.3 the code for libs9  repo will come from master branch and that is the reason for the error you are seeing.
Now on master branch for developer repo, the GIGBRANCH variable is considered and passed to the scripts that clone the other repositories.
I can see the following solutions for your problem:

Do the same steps as you mentioned but also export the variable GIGDEVELOPERBRANCH=master as mentioned in https://github.com/Jumpscale/developer , This way you will install from branch 9.0.3 for all the code repos and only the installer scripts will come from master branch of developer repo.

Install from master branch by exporting both variables GIGBRANCH and GIGDEVELOPERBRANCH to master

We backport the fixes on developer master branch to 9.0.3 branch and then you can install from 9.0.3 for all repositories.

We backport the fixes on developer master branch to 9.0.3 branch and then you can install from 9.0.3 for all repositories.

Yes, that's what we should do


Handle Multiple Regions

In the scenario in which I have some nodes in US-EAST and some in US-WEST, I'd like to have DNS cover both of them.  Zonify would have to be smart about how it pulls the records and everything.

Closing this because it can be handled through a method that, while advanced, is doable.


Octree collision broken?

Godot version
3.5.stable.arch_linux
System information
Operating System: EndeavourOS KDE Plasma Version: 5.25.4 KDE Frameworks Version: 5.96.0 Qt Version: 5.15.5 Kernel Version: 5.18.16-arch1-1 (64-bit) Graphics Platform: X11 Processors: 6 × Intel® Core™ i5-8400 CPU @ 2.80GHz Memory: 15.6 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 1070/PCIe/SSE2 Manufacturer: Gigabyte Technology Co., Ltd. Product Name: Z370 AORUS Gaming WIFI
Issue description
Disabling BVH collision will cause the game to crash with an error after moving character:
E 0:00:04.714   ~List: Condition "_first != nullptr" is true.
  <C++ Source>  ./core/self_list.h:108 @ ~List()

Steps to reproduce

Turn off Project Settings->General->Physics->3D->Godot Physics->Use BVH
Start game
Move character around for a bit until it crashes with the error above.

Minimal reproduction project
Note: rename to FPS-test.tar.lzma after download.
FPS-test.zip

The MRP isn't available:

The transfer you requested has been deleted.

Please upload attachments directly to GitHub, so that they remain available in the future (without relying on third-party file hosts still working by then).

I disabled BVH out of curiosity, lmao. But if it's going to be removed anyways, then this is probably not worth fixing. Also, the project I uploaded is too large to fit on github, but I didn't expect the file hosting site to delete my upload less than an hour later...

I got the project small enough to upload. There was a lot of extra files in the .import directory. I still had to use lzma compression, which means I had to rename it with .zip in order for github to accept it, so you might need to rename the file to FPS-test.tar.lzma in order to extract it.
FPS-test.zip

There was a lot of extra files in the .import directory

You don't need to include this folder as it'll be imported by Godot when opening the project in the editor for the first time :slightly_smiling_face:

Able to reproduce on Ubuntu 22.04.1 LTS in Regolith. Processor is i7-1260p on Iris Xe Integrated graphics.
E 0:00:10.896   ~List: Condition "_first != nullptr" is true.
  <C++ Source>  ./core/self_list.h:108 @ ~List()

Same error can be found on Windows 11 build 22000.795 with i7-1260p on Irix Xe Integrated graphics.
E 0:00:06.264   ~List: Condition "_first != nullptr" is true.
  <C++ Source>  ./core/self_list.h:108 @ ~List()

No idea on the crash, but we are probably intending to remove octree from 3.x now we've had a decent amount of testing with BVH. Octree still has some bugs and was there for compatibility purposes during the rollout.
It has already been removed entirely from 4.x.


Request/Feature - Possible to have the paths relative to the OS?

I have projects synced on multiple OS's (documentation mostly) and if the paths kinda followed the keybindings concept:
'.platform-darwin':
"/Users/me/project1"
'.platform-win32':
"C:\Users\Me\project1"
It would allow the projects.cson to be sync'ed for cross platform support.
Thanks!

There is a setting called Save Paths Relative To Home that will save all paths relative to the path set in Project Home under the Core setting


Fix environment variables not being applied in production.

https://stackoverflow.com/questions/78362920/how-to-pass-environment-variables-from-render-dashboard-to-deno-docker-container

https://propromo-chat-c575fve9ssfr.deno.dev

https://propromo-chat-c575fve9ssfr.deno.dev/


Fix sorting of accepted api changes to work on Chrome

Chrome doesn't swap elements unless a 1 or -1 is returned from the sort function, other positive or negative values are ignored.

@bot-gradle test this

I've triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge

I've triggered a build for you.

Pre-tested commit build failed.

Your PR is queued. See the queue page for details.

I've triggered a build for you.


Syringe doafter based on Syringe contents

About the PR

Altered the additional doafter time penalty to be based on what's actually in the syringe rather than what you have the TransferAmount set to for both drawing and injecting.
Why / Balance

It just makes sense.. honestly though, if I could change the total do-after time to something less than five seconds I would, but I know that for balance reasons it's probably not good to be able to inject someone in like one second with 1u of content. That would be infringing on the territory of hypospray speed for self-injections...
I think the equation for calculating the additional do-after was wrong or I'm just really bad at math. I fixed it based on what the comment intended.
Technical details

Altered do-after equation to be based on empty space when drawing and current content amount when injecting.
Media

[ X ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl:

tweak: Additional syringe doafter delay is now based on syringe contents rather than transfer amount setting.

me and getting irrelevant build & test debug audio failure cases... I'll just ignore the failed test

the additional times for a syringe to inject before the patch would be
5 / 5 - 0.5 = .5 seconds
10 / 5 - 0.5 = 1.5 seconds
15 / 5 - 0.5 = 2.5 seconds
the additional times for a syringe to inject after the patch would be
5 / 10 = .5 seconds
10 / 10 = 1 second
15 / 10 = 1.5 seconds
but with the added bonus that it's based on syringe contents rather than transfer amount, so it's basically always faster by up to one second


x/tools/go/types: Type checker does not handle some imported types

Using Go 1.4.1, it seems that the type checker cannot handle some imported type declarations. This was found using stringer. By way of example, I can create a project with two packages, domain and impl:
domain/domain.go:
package domain

type Value map[string]string

impl/impl.go:
package impl

import (
	"github.com/obeattie/test/domain"
)

type Foo interface {
	Bar(domain.Value)
}

Upon invoking go generate (and therefore stringer, and therefore the type checker), I get the following error:
stringer: checking package: impl.go:8:6: Value not declared by package domain

I would not expect this to cause an issue, given this will compile just fine.

What if you first do
go install domain
And then invoke go generate on impl directory?

You wrote domain/domain.go but your impl/impl.go imports test/domain.  Can you confirm that your impl.go is importing the domain package that contains domain/domain.go?

@ianlancetaylor Yes. I wrote the code above as an example, but did a bad job of making it clear. I originally encountered the issue in this code (you need to checkout that specific branch if you want to see for yourself).
To @minux's point, yes, running go install github.com/obeattie/sase/domain first does fix this. Is this, in fact, expected behaviour?

It seems a lot of tools expect you to have installed all dependent
packages, so in that sense, it's expected behavior, as of today.
However, that is certainly not ideal, given that source code is
available, it probably should fallback to source code if the installed
package is not available or stale.
I will leave the judgement to the x/tools developers.
/cc @alandonovan and @griesemer

Used directly, the type checker satisfies direct import dependencies by loading export data for installed packages.  This assumes that the packages have been built and installed more recently than their source code was edited.
Because this is assumption is often false, the golang.org/x/tools/go/loader package provides a means of loading all dependencies from source code as needed.  I recommend that you use that.
The stringer tool doesn't use go/loader; perhaps it should.

Expected behavior as explained above.


用自己的数据集生成anchor的预训练权重

你好，如何用自己的数据集生成anchor的预训练权重？tusimple数据集的格式

In English, please.

Hello, how to use your own data set to generate anchor's pre training weight? Format of tusimple dataset     It's gen_ anchor_ mask. py?

I use gen_ anchor_ mask.py.The anchor pre training weight generated by py is only 4.71kb

I use the anchor pre training weight generated by myself. The size is only 4.71kb. The effect after training is very poor

Try visualizing the anchors. There might be something wrong with it.


Strange Error

Hello!
02.03 21:15:29 [Server] ERROR Unable to inject handlers, are you on 1.8?  02.03 21:15:29 [Server] WARN java.lang.NoSuchMethodException: net.minecraft.server.v1_8_R3.MinecraftServer.getServerConnection() 02.03 21:15:29 [Server] WARN at java.lang.Class.getDeclaredMethod(Class.java:2130) 02.03 21:15:29 [Server] WARN at us.myles.ViaVersion.ViaVersionPlugin.injectPacketHandler(ViaVersionPlugin.java:60) 02.03 21:15:29 [Server] WARN at us.myles.ViaVersion.ViaVersionPlugin.onEnable(ViaVersionPlugin.java:43) 02.03 21:15:29 [Server] WARN at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:320) 02.03 21:15:29 [Server] WARN at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:348) 02.03 21:15:29 [Server] WARN at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:416) 02.03 21:15:29 [Server] WARN at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:351) 02.03 21:15:29 [Server] WARN at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:323) 02.03 21:15:29 [Server] WARN at org.bukkit.craftbukkit.v1_8_R3.CraftServer.<init>(CraftServer.java:260) 02.03 21:15:29 [Server] WARN at net.minecraft.server.v1_8_R3.PlayerList.<init>(PlayerList.java:71) 02.03 21:15:29 [Server] WARN at net.minecraft.server.v1_8_R3.DedicatedPlayerList.<init>(SourceFile:14) 02.03 21:15:29 [Server] WARN at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:179) 02.03 21:15:29 [Server] WARN at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:524) 02.03 21:15:29 [Server] WARN at java.lang.Thread.run(Thread.java:745)
It works perfectly fine on Spigot 1.8.x, however for another one of my servers in my network, I use a different server software called "sportbukkit" which is just a fork of CraftBukkit/Bukkit as well. I'm not quite seeing why it's not working with it; some help would be nice.
https://github.com/overcastnetwork/sportbukkit

SportBukkit isn't running the latest nms packages.
Are there any updates to this "SportBukkit?" You need to make sure it's R3.

Well this is a hack and it supports only spigot ATM, I think this is a won't fix.

We only support vanilla Spigot possibly PaperSpigot. This is due to how the injection process works, it might be portable in the future which I'll reopen if we get round to it. The recommended use is just normal Spigot 1.8.8. (Though a lot of other people report compatibility with various versions)

I know this is closed, however I decided to test this again with SportBukkit and it works flawelessly. I'm not sure if this was an issue you fixed unconsciously or not. Either way, great job!

@saucequan great to hear that :)


My Nginx Proxy Manager does not renew SSL certificates after expiry

I am assuming I am not the only 1 having this issue. I tried to see if anyone had any resolution but didn't seem so.
The only reason I am opening my own "issue" is I didnt want to hijack someone else's report. I apologize if this isn't the correct way.
A bit about my issue:

Docker/Portainer NPM install (https://github.com/jlesage/docker-nginx-proxy-manager)
Certbot 1.19.0
My SSL certs expired - and I tried to renew it - keeps failing on each.
I deleted some certs hoping I could create new ones - fails.
I deleted the proxy host, deleted certs and tried to re-create new ones - failed.

I am happy to include anything you guys would like me to - sort of a noob here so may take a bit of pointing me to the right direction...

You are really bad at censoring your domain.

You are really bad at censoring your domain.

Not sure if you are being sarcastic or if this somehow helps me in fixing my issue...

Sorry I cant help you. Im here because of the same Issue. It looks like you want to hide your Domain, but its clearly visible at the second line.

Sorry I cant help you. Im here because of the same Issue. It looks like you want to hide your Domain, but its clearly visible at the second line.

ah - that's ok. i am not fighting russian hackers. Just didn't want to have everything out in open - thanks for pointing out though. appreciate your concern.

There has been a recent issue with the Lets Encrypt SSL Root Cert expiring. Have you tried to purge and re-create the ssl certs? It could be they are not transitioning properly and thus failing on renewal.

I'm getting similar errors when trying to issue a new cert on a google domain. Does it want us to use the "dns challenge" option when issuing the new cert?? If so, I have no idea how to fill it in.

Yes - I tried deleting them but no effect. I even deleted host and recreated them- nothing.  ---- On Sat, 02 Oct 2021 10:26:54 -0500  @.***  wrote ----
There has been a recent issue with the Lets Encrypt SSL Root Cert expiring. Have you tried to purge and re-create the ssl certs? It could be they are not transitioning properly and thus failing on renewal.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

@rainman369 I believe it just passes the field through to certbot so you would need to follow the directions for certbot... For google they can be found here... https://certbot-dns-google.readthedocs.io/en/stable/

I have pihole with unbound  - would that matter? ---- On Sat, 02 Oct 2021 15:28:17 -0500  @.***  wrote ----
@rainman369 I believe it just passes the field through to certbot so you would need to follow the directions for certbot... For google they can be found here... https://certbot-dns-google.readthedocs.io/en/stable/
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

I dont know, I am not overly familiar with unbound.
The import thing would be what /var/log/letsencrypt/letsencrypt.log says about the failure when you attempt to get a new cert, since what you have posted so far pertains to a renewal, and only states that it failed. Look through that, and if you cannot see an answer post it (scrubbed of course so you do leak any identifiers or passwords.) and maybe we can find you an answer.

I dont know, I am not overly familiar with unbound. The import thing would be what /var/log/letsencrypt/letsencrypt.log says about the failure when you attempt to get a new cert, since what you have posted so far pertains to a renewal, and only states that it failed. Look through that, and if you cannot see an answer post it (scrubbed of course so you do leak any identifiers or passwords.) and maybe we can find you an answer.

Here's the output of the /var/log/letsencrypt/letsencrypt.log - I have removed all my domain mentions - all I could see was "firewall" which doesn't seem right. Also, all the domains in question are def registered and i am able to ping them tracing back to my IP. I tried disabling pihole/unbound (which basically takes me directly to public DNS) - but that doesn't help at all.
I deleted and tried to re-create; no help there either. Nothing seems to work...
Thank you for helping out.
letsencrypt-var.log

There has been a recent issue with the Lets Encrypt SSL Root Cert expiring. Have you tried to purge and re-create the ssl certs? It could be they are not transitioning properly and thus failing on renewal.

Tried deleting proxy hosts as well as their SSL certs - still doesn't work.

edit: I missed where you said you have removed the hosts. do you get a different error when you attempt to create new certs? Also have you checked the lets encrypt log file? it should be under your data volume.
Attached the log files above - both time it says "Internal Error"
I also noticed you are using the jlesage image and not the "official" one, so I dont know if there is any difference in the lets encrypt install he provides.

That will be mylast option - delete the docker container and recreate it with "official" one...

I'm getting similar errors when trying to issue a new cert on a google domain. Does it want us to use the "dns challenge" option when issuing the new cert?? If so, I have no idea how to fill it in.

I was able to solve my quoted issue by selecting HTTPS instead of HTTP in nginx when applying for the certificate.

I did not have any luck when I change my schema from HTTP to HTTPS.
I upgraded my container from the "official" "jc21" repo - still same issue. This time around I have to create brand new proxy hosts since I created a new container - and with this new one, it has it's own mariadb- so nothing was transferred over.
Here's the latest attempt to have a brand new cert
letsencrypt-jc21NPM.log
.


WIP Supported routes fetch

What does this PR do?
Fixes #2872
Adds two request methods to the Traffic Ops API path /api/?$ - the OPTIONS method returns a list of supported API versions, and the GET method returns a list of all API paths that exist on the server. The latter does not evaluate regular expressions for existing objects, e.g. the path api/1.2/servers/[0-9]+(\.json)$ will appear in the output, not the path api/1.2/servers/1.
Why is this a WIP?
Because, aside from the fact that it includes no documentation and hasn't been run through go fmt or rat, while the code appears to do what I want it to do, I'm not happy with the way I had to modify existing to code to accomplish it. I think at minimum a discussion about re-organizing parts of the main package needs to be had before this could be included.
Which TC components are affected by this PR?

[ ] Documentation
[ ] Grove
[ ] Traffic Analytics
[ ] Traffic Monitor
[x] Traffic Ops
[ ] Traffic Ops ORT
[ ] Traffic Portal
[ ] Traffic Router
[ ] Traffic Stats
[ ] Traffic Vault
[x] Other - Potentially this could affect the Python/Go/Java clients (?)

What is the best way to verify this PR?
Build TO (Go) and run any/all tests. Ensure endpoints work, check the output of OPTIONS/GET requests against /api/?$.
Check all that apply

[ ] This PR includes tests
[ ] This PR includes documentation updates
[ ] This PR includes an update to CHANGELOG.md
[x] This PR includes all required license headers
[ ] This PR includes a database migration (ensure that migration sequence is correct)
[ ] This PR fixes a serious security flaw. Read more: www.apache.org/security

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2774/
Test FAILed.

An endpoint that lists the available versions must by necessity be outside the versioning it lists. Placing it under a versioned route will, first of all, cause the API definition of previous versions change, and secondly will replace the "N+1" problem with the "chicken and egg" problem. If I don't know what versions the API has, I'm forced to try /api/1.0/api-routes and when that 404's I'm back where we are today. The X-Server-Name header tells me that I know I'm dealing with a version of Traffic Ops where re-implementation in Go has started, but beyond that it could be anywhere between experimental and present day. So an endpoint relaying communications options is totally useless if it's versioned.
Rather than change the output to JSON, I'd prefer to just implement content negotiation. I still think the relationships and data being represented are too simple to use JSON by default, but if a client expects JSON they should send Accept: application/json and the endpoint should probably support that.
I don't understand why not versioning the api/ endpoint would in any way inhibit our ability to fix anything later. It should be as simple as adding
.. versionchanged:: Traffic Ops 5.8
    Now conforms to RFC 99999

to the docs. I know nothing else is versioned against Traffic Ops, but maybe that's just an exception we have to make, because like I said the api/ endpoint by concept definition cannot be versioned with the rest of the API.
FWIW all of this confusion would vanish if we tied the API version to the Traffic Ops version.

Placing it under a versioned route will, first of all, cause the API definition of previous versions change

Why do you think that? We can define a route, say /api/1.2/routes as "returns all routes served by this server across all versions". Nothing wrong with that. Sure, it feels odd, but there are no practical issues.

secondly will replace the "N+1" problem with the "chicken and egg" problem. If I don't know what versions the API has, I'm forced to try /api/1.0/api-routes and when that 404's I'm back where we are today, so it's already effectively version-less because only one version could possibly be useful.

Sort of. That's what I was suggesting: you're right, users will be compelled to use the minimum version,/api/1.0/api-routes. But, why would we ever change that endpoint? Answer: if there's a critical design flaw. In which case, we add /api/1.new/api-routes to address the flaw.
If the flaw is not security related, we still serve /api/1.0/api-routes, which itself includes /api/1.new/api-routes. Clients then have a choice: they can optimistically assume 1.new/api-routes, and if it returns a 404, then realize the server is old and try 1.0/api-routes. Or, they can start with the old one, and hit the new one if it's returned inside 1.0/api-routes.
If the flaw is security related, we change /api/1.0/api-routes to return 410 Gone, which we document as signalling clients to try /api/1.new/api-routes. Old clients break, but that's inevitable with a security issue; and new clients retry.

Rather than change the output to JSON, I'd prefer to just implement content negotiation. I still think the relationships and data being represented are too simple to use JSON by default, but if a client expects JSON they should send Accept: application/json and the endpoint should probably support that.

I'd support respecting Accept headers. And I agree in principle that this endpoint is better as plaintext, since it doesn't need the structure. But because the rest of our API is JSON, it's better to conform to that, and serve JSON by default, unless there's an Accept header for something else. It would be strange and unexpected to have our API be JSON by default, for all but one endpoint. At least for GET; I could buy the argument that if we did OPTIONS, it's ok since it's a separate method.

I don't understand why not versioning the api/ endpoint would in any way inhibit our ability to fix anything later. It should be as simple as adding

With a fundamental change to the structure? Then old clients would break horribly, with no way of knowing why they even broke (because they're older than the change). New clients could potentially try to parse in multiple ways, until one succeeds, at both terrible cost and the inability to distinguish which version is actually malformed. That's why versioning exists.

FWIW all of this confusion would vanish if we tied the API version to the Traffic Ops version.

How? We would have to roll the TC version for any API change, and vica-versa. There are advantages and disadvantages of tying the versions together, but this isn't one of them. We would have the exact same problems, and any change to this API endpoint in particular would require the exact same version rolls. Or you couldn't roll the version, if we didn't version some endpoints.
Or are you suggesting the API not serve older versions at all? And only serve the latest version with TC? IMO that's completely unacceptable. That makes operator and developer lives easier, at the cost of astronomically increasing the difficulty for CDN clients, tenants, and Self-Service customers, many of whom may have very limited understanding of programming or software engineering.

Why do you think that? We can define a route, say /api/1.2/routes as "returns all routes served by this server across all versions"

Because if at some point in the future it changes, then we have to either change /api/1.2/routes or it'll just be wrong and clients will break without knowing why.

Clients then have a choice: they can optimistically assume 1.new/api-routes, and if it returns a 404, then realize the server is old and try 1.0/api-routes

But isn't that exactly the problem we're trying to solve? We have truly reached versioning hell if I need versioning fallback for my version endpoint. Once I know whether 1.new/x will succeed, I no longer need the version endpoint.

I'd support respecting Accept headers. And I agree in principle that this endpoint is better as plaintext, since it doesn't need the structure. But because the rest of our API is JSON, it's better to conform to that, and serve JSON by default, unless there's an Accept header for something else. It would be strange and unexpected to have our API be JSON by default, for all but one endpoint. At least for GET; I could buy the argument that if we did OPTIONS, it's ok since it's a separate method.

IMO if you don't send an Accept (or send Accept: *) you're telling the server you don't care about the MIME of the response, and plaintext seems like the least complicated, most "default" MIME type, if that makes sense.

With a fundamental change to the structure? Then old clients would break horribly, with no way of knowing why they even broke (because they're older than the change). New clients could potentially try to parse in multiple ways, until one succeeds, at both terrible cost and the inability to distinguish which version is actually malformed. That's why versioning exists.

If your response headers tell you the version of the server, then you instantly know the form of the response. I can't think of a good reason for the fundamental structure to change at any point in the near future.

Or are you suggesting the API not serve older versions at all? And only serve the latest version with TC? IMO that's completely unacceptable. That makes operator and developer lives easier, at the cost of astronomically increasing the difficulty for CDN clients, tenants, and Self-Service customers, many of whom may have very limited understanding of programming or software engineering.

It's sort of beside the point, and it's definitely not true that all of the confusion would vanish now that I think about it, but basically, yeah. If you're a user with limited understanding of programming, then you're not using the API, you're using Traffic Portal. every major revision would have no breaking changes until the next revision, so by definition x.y would be compatible with x.z for all y and z. We should probably support back a major version, but I wouldn't expect a client written for TC 1.0 to work with TC 3.0
Rolling major revs isn't really the issue as far as I'm concerned - that's not a big deal. The problem is I have no idea what API version any given server supports. If it's tied to the server version, then Server: Traffic Operations/4.0.0 immediately tells me what's supported, without any need to list all the routes on the server.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2777/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4727/

At this point it'd be simpler to re-do the entire thing than try to fix all the conflicts and dig back through the many-years-old feedback to be sure it's addressed. And probably should be brought up in the mailing list so an agreement could be reached before doing any work.


route alias does not when used with name() function

Q
A

Bug?
no

New Feature?
no

Framework
Laravel

Framework version
5.8.x

Package version
2.4.0

PHP version
7.3.x

Actual Behaviour
Given the following route definition:
/** @var Router $api */
$api = app(Router::class);
$api->version('v1', function (Router $api) {
    $api->get('entity/{uuid}', MyHandler::class)->name('myalias');
});

When using route('myalias') it will throw an exception Route [myalias] not defined..
Expected Behaviour
Obviously it should not throw an exception
Steps to Reproduce
See actual behavior.
Possible Solutions
After a quick check I've realised that RouteCollection->add() does the name list lookup. The problem is that ->name() is added afterwards to the route, so the route collection is not build up correctly. Refreshing the RouteCollection seems to fix the behavior.
Additional note
It will still fail when we have an exception before the Adapter->dispatch() is hit and we'll use route()  during exception handling. Didn't found a better solution for now but it gives us an additional feature for now w/o breaking existing functionality.

Thanks for your work @christoph-kluge  !


Added Coil image loading librarie.

Please add it in alphabetical order as followed in this project.

Please add it in alphabetical order as followed in this project.

Done :smile: :100:


0 counts for k-mer generated from same sequence as used in FM-index

Hello,
I came across an odd bug. I created an index for mm39. I then generated a k-mer sequence from mm39 chr19:
'GGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGG'
While very repetitive, the awFmParallelSearchCount function returns 0 for this k-mer in the search list.
I can confirm the sequence exists inside chr19:
From lines 766498 onward (refseq: NC_000085.7):
                                                                        *
TTCACAGGAATACCCCACTCTGCTGGTACCAATTTGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGG
TTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTT
AGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAG
GGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGGTTAGGG

I marked the beginning of the sub-sequence with a *
I am on the latest commit. I have not regenerated the index since commit 71e7dd6. There were 5 of these total I found in the entire genome, all very long k-mers of length 250-ish or over. This was just the example I managed to track down

It is worth noting that adding a letter to the problematic k-mer sequence results in a count of 1, and removing a letter from the problematic k-mer sequence results in a count of 0.

Thanks for the bug report. I'm currently wrapping up my  Ph.D dissertation so my time is limited, but I'll address this as soon as I have the time.

Now that I have time to look at this, I've confirmed that I can reproduce the error. I'm working to identify the problem, and I hope to have this fixed soon.

I've solved this issue merge with #42 . There was an issue with some query position variables using uint8_t's, and having issues with queries longer than 255. These variables have been updated to uint32_t's, so they should handle even unreasonably long queries.
Thanks again for reporting this error!


movies.json crash when imported on Windows

Looks like a user reported a crash here: https://github.com/meilisearch/meilisearch/issues/3800#issuecomment-1713394918
When importing the movie.json dataset available in the getting started of the docs, Meilisearch return an internal error
The movie.json import perfectly works on Linux and macos.
👉 Windows bugs are not the priority for the Meili team, so we need someone from the community to check if they can reproduce the bug on their machine, and then, someone to fix the bug. Please try to reproduce the bug with the latest version of Meilisearch
Reported on v1.3.3

I started a local windows instance downloaded from https://github.com/meilisearch/meilisearch/releases/download/v1.3.3/meilisearch-windows-amd64.exe
with
./meilisearch-windows-amd64.exe --master-key=masterKey
and ran all the integration tests in the dart repository https://github.com/meilisearch/meilisearch-dart
here are the results:

any call to updateFilterableAttributes AFTER documents are added, crashes with an internal error:
thread 'indexing-thread:7' panicked at 'the allocator is unable to allocate that much memory<PHONE_NUMBER> bytes requested)', C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\grenad-0.4.4\src\sorter.rs:350:9
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Rayon: detected unexpected panic; aborting

and the instance is bricked, meaning if I restart it again, it crashes with the same error.
btw I have no idea why is it trying to access C:\Users\runneradmin, since it's not my user name.
I suppose there is an issue with re-indexing documents in general on windows.
also it takes VERY long to add documents in general on windows vs docker

all other tests are working, including document addition in bulk/patches and updating index settings BEFORE documents are added.

Thank you very much @ahmednfwela, it will help the users coming week to fix the issue.
In more general I recommend using Linux in production with Meilisearch, this is where we do most of our tests.
Also to ease your production with Meilisearch, you can use our cloud offer to manage Meilisearch in an easier way. The migration to another version of Meilisearch can only be done with one click.

Can someone check if the issue is still present with v1.6.0?

Unlike the previous indicated error, I failed at Adding movies.json
curl -X POST 'http://localhost:7700/indexes/movies/documents?primaryKey=id' -H 'Content-Type: application/json' -H 'Authorization: Bearer aSampleMasterKey' --data-binary movies.json
{"message":"The `json` payload provided is malformed. `Couldn't serialize document value: expected value at line 1 column 1`.","code":"malformed_payload","type":"invalid_request","link":"https://docs.meilisearch.com/errors#malformed_payload"}

version: v1.6.2

that's because you forgot the @ before movies.json
curl \
  -X POST 'http://localhost:7700/indexes/movies/documents?primaryKey=id' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer aSampleMasterKey' \
  --data-binary @movies.json

that's because you forgot the @ before movies.json
curl \
  -X POST 'http://localhost:7700/indexes/movies/documents?primaryKey=id' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer aSampleMasterKey' \
  --data-binary @movies.json

Oh, sorry. I thought it would work on PowerShell also, but the '@' sign only works in Bash and stated on Quick start page already.
I finished executing all the steps on Quick start page and seems like no issue.

Thank you @Elkiwa
Can I close the issue or @ahmednfwela you still have the problem with v1.6.2?

nope, all good

thank you for your reactivity @ahmednfwela
a pleasure to have you in the community


Streamline Composer GitHub Issue submission for users

Overview:

Adds the composer.utils.collect_env utility module to facilitate gathering of system information for debug purposes.
Updates the Trainer initialization to register the customized excepthook.
Resolves #673

The collect_env module provides the following functionality:

Use Torch's version of collect_env to gather system information
Extends functionality to gather Composer pertinent system information
Provides a wrapper for sys.excepthook to automatically gather system information when an exception is caught
Provides configure_excepthook() helper function to override original sys.excepthook
Provides restore_excepthook() helper function to restore original sys.__excepthook__
Handles IPython exceptions
Documentation

Sample environment report:
        ---------------------------------
        System Environment Report
        Created: 2022-04-27 00:25:33 UTC
        ---------------------------------

        PyTorch information
        -------------------
        PyTorch version: 1-91+cu111
        Is debug build: False
        CUDA used to build PyTorch: 111
        ROCM used to build PyTorch: N/A

        OS: Ubuntu 18.04.6 LTS (x86_64)
        GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
        Clang version: Could not collect
        CMake version: version 3.10.2
        Libc version: glibc-2.27

        Python version: 3.8 (64-bit runtime)
        Python platform: Linux-5.8.0-63-generic-x86_64-with-glibc2.27
        Is CUDA available: True
        CUDA runtime version: 11.1.105
        GPU models and configuration:
        GPU 0: NVIDIA GeForce RTX 3080
        GPU 1: NVIDIA GeForce RTX 3080
        GPU 2: NVIDIA GeForce RTX 3080
        GPU 3: NVIDIA GeForce RTX 3080

        Nvidia driver version: 470.57.02
        cuDNN version: Probably one of the following:
        /usr/lib/x86_64-linux-gnu/libcudnn.so.8.0.5
        /usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.0.5
        /usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.0.5
        /usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.0.5
        /usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.0.5
        /usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.0.5
        /usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.0.5
        HIP runtime version: N/A
        MIOpen runtime version: N/A

        Versions of relevant libraries:
        [pip3] numpy==1.22.3
        [pip3] pytorch-ranger==0.1.1
        [pip3] torch==1.9.1+cu111
        [pip3] torch-optimizer==0.1.0
        [pip3] torchmetrics==0.7.3
        [pip3] torchvision==0.10.1+cu111
        [pip3] vit-pytorch==0.27.0
        [conda] Could not collect

        Composer information
        --------------------
        Composer version: 0.6.0
        Host processor model name: AMD EPYC 7502 32-Core Processor
        Host processor core count: 64
        Number of nodes: 1
        Accelerator model name: NVIDIA GeForce RTX 3080
        Accelerators per node: 1
        CUDA Device Count: 4

To Do's:

[ ] Collect info on Composer pip and conda dependencies

Can you also post a sample output in the PR description? Curious to see what this looks like!

Can we ask for feedback from users (e.g. @dblalock) on the following before merging:
Provides a wrapper for sys.excepthook to automatically gather system information when an exception is caught
Provides configure_excepthook() helper function to override original sys.excepthook
Provides restore_excepthook() helper function to restore original sys.__excepthook__

For example, what if the bug is due to some misconfiguration that happens outside of composer, but then causes exceptions within? We would be assuming a bug in Composer. For rapid prototyping and debugging, do users really want a very verbose env collection every time? My current stance is that this is undesirable feature for UX.


Add file browser backend

@BenElgar does this / could this also return the parent directory name and full path when I call readDir, similar to ls -a?
i.e. it'd be nice to get
{
  parent: Entry,
  entries: Entry[]
}

for purposes of not splitting the path logic between backend and frontend.

@jwmza I don't entirely understand the use case but I added that to the interface :)
a7c859d (#342)

I don't entirely understand the use case but I added that to the interface :)

Thanks @BenElgar  -  basically the idea is to give the user the ability to click either a child directory or a .. button to go into the parent directory, i.e. the following GUI:
Root:
/path/to/dir

[ ..     ]      // Clicking does same as "cd .."
[ child1 ]      // Clicking does same as "cd child1"
[ child2 ]      // Clicking does same as "cd child2"
[ child3 ]      // Clicking does same as "cd child3"

Therefore, the underlying data takes the current directory as an input and returns both all the children as well as the parent path (parent of the current directory; not the current directory itself)

Ah, sorry, I misunderstood entirely. That makes more sense. Done that here: https://github.com/deref/exo/pull/349/files


DODO token not showing up in BSC token list UI

Describe the bug
DODO token does not display in the https://bsc.gnosis-safe.io/ token list UI even though it is compliant with the BEP20 standard.
To Reproduce
Steps to reproduce the behavior:

Click on https://bsc.gnosis-safe.io/app/#/safes/0x5abbF2bbC6E5520e3d274007546a67B6B333564C/balances and observe the token list UI.
Cross reference what is displayed in the UI with BSCscan - https://bscscan.com/address/0x67ee3cb086f8a16f34bee3ca72fad36f7db929e2

Expected behavior
Token appears in the user's UI, based on latest BSCscan data.

Every token is showing up now


Add Fedora-36 native compile

Signed-off-by: Brent Baude<EMAIL_ADDRESS>

/lgtm

Duplication Is Evil!
/lgtm
/hold

/hold cancel


python310Packages.opencensus-ext-azure: 1.1.9 -> 1.1.11

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.opencensus-ext-azure is: OpenCensus Azure Monitor Exporter
meta.homepage for python310Packages.opencensus-ext-azure is: https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-azure
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.1.11 with grep in /nix/store/yryw9z22p7j8jqv3629s30sfsf3v5836-python3.10-opencensus-ext-azure-1.1.11
found 1.1.11 in filename of file in /nix/store/yryw9z22p7j8jqv3629s30sfsf3v5836-python3.10-opencensus-ext-azure-1.1.11

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

8 total rebuild path(s)

8 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.opencensus-ext-azure
python310Packages.qcodes
python310Packages.qcodes-contrib-drivers
python310Packages.qcodes-loop
python311Packages.opencensus-ext-azure
python311Packages.qcodes
python311Packages.qcodes-contrib-drivers
python311Packages.qcodes-loop

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/yryw9z22p7j8jqv3629s30sfsf3v5836-python3.10-opencensus-ext-azure-1.1.11 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.opencensus-ext-azure https://github.com/r-ryantm/nixpkgs/archive/d7ee02def5cbd8ebdddf354d7f88f045f9f7afde.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/d7ee02def5cbd8ebdddf354d7f88f045f9f7afde#python310Packages.opencensus-ext-azure

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/yryw9z22p7j8jqv3629s30sfsf3v5836-python3.10-opencensus-ext-azure-1.1.11
ls -la /nix/store/yryw9z22p7j8jqv3629s30sfsf3v5836-python3.10-opencensus-ext-azure-1.1.11/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages failed to build:

python310Packages.qcodes
python310Packages.qcodes-contrib-drivers
python310Packages.qcodes-loop

5 packages built:

python310Packages.opencensus-ext-azure
python311Packages.opencensus-ext-azure
python311Packages.qcodes
python311Packages.qcodes-contrib-drivers
python311Packages.qcodes-loop

Maintainer pings
cc @BillHuang2001 @evilmav for testing.

Result of nixpkgs-review pr 261123 at d7ee02de run on x86_64-linux 1

8 packages built successfully:

python310Packages.opencensus-ext-azure
python310Packages.qcodes
python310Packages.qcodes-contrib-drivers
python310Packages.qcodes-loop
python311Packages.opencensus-ext-azure
python311Packages.qcodes
python311Packages.qcodes-contrib-drivers
python311Packages.qcodes-loop


Support "Human-Readable Description of Ring Observation Pointing Designs" (some day)

From pds-opus created by rfrenchseti: SETI/pds-opus#472
There is a document available as part of Cassini EOM that maps human-readable text with Cassini observation IDs. We need to be able to search on the nice text.

For now, Mitch will look at putting any documentation on the main website.
BYBTW 3/11/2021

Talk to Mike Evans. This may take a year or two to produce.

Joe is currently updating the document; waiting for review.
When complete, we will post a link to it on the main Cassini page.


allow port numbers up to 65535 in OutgoingRequest.setAuthority

Fixes #460

Thanks for merging this @guybedford!  If it's not a pain, would you mind publishing a new release?  That would unblock some of my tests for .NET the WASIp2 port.

Sure no problem @dicej I've posted a 0.16.4.


check and fix log folder permissions

Proposed Changes
As described in #752 it wont work to write user logs since WAU2.0.0, this affected Winget-Install.ps1 runs within the user (seems to work for WAU user runs).
We are now checking on every run, if the folder permissions are correctly set to allow "everyone" to do everything within the logs folder and if the permissions are missing, we are setting it.
Please let me know, if "Install-Prerequisites.ps1" is a good place to check this, or if we should move it somewhere to the WAU installation itself (dont know which file is responsible for this?).
Related Issues
#752

Worth noting that making folders under programfiles user-writable is not generally advisable as it can be used to circumvent application launch protections like AppLocker.
May make more sense to instead have this log sit in the user or programdata area.

I think it would be better to have user logs stored elsewhere, as @ITistheworst suggests. Currently, we’ve simply added user permissions to the Update.log to keep things straightforward.

I have now changed everything needed, to write the user logs to the AppData folder, a Symlink to the Intune Log folder will also be created. I hope it suits all like this.


WebKit on Linux

Allows WebKit on non-macOS platforms. Already have mostly functional code for this. Dependent on #124

Initial dev in webkit branch.


Memory allocation fails on darwin arm64 with latest qemu

Description
Starting the default with 4GiB fails:
qemu-system-aarch64: Addressing limited to 32 bits, but memory exceeds it by<PHONE_NUMBER> bytes
Need to reduce memory, to e.g. 2GiB.
Since https://github.com/qemu/qemu/commit/3715c251cc781b263fbd7f7c535fde7a4da401c3
Most likely the highmem=off parameter to qemu should be parametrized, and not used with later versions.
The reasons that caused it to be needed (for ARM) earlier, seems to no longer be true with QEMU 7.0.
This was: QEMU emulator version 6.2.50 (v6.1.0-3974-gf6620d0b34-dirty)

If this is a regression of QEMU, this should be perhaps fixed in the QEMU upstream?

To be honest I am not sure, like where this extra "highmem" parameter comes from ?

To be honest I am not sure, like where this extra "highmem" parameter comes from ?

https://github.com/lima-vm/lima/pull/24
cc @Tarik02 Could you take a look? What should we do?

It might have to be versioned, based on the QEMU version.
I was thinking to make it a user-changeable option, at least ?

cc @Tarik02 Could you take a look? What should we do?

Sorry for offtop, will check this after we win war with russia.


In app deposit entry

Let existing user to deposit from transaction history.

https://www.figma.com/file/iXF0PWGB77ibA9mygIrLOC/Chainsfr_lucas_2?node-id=205%3A5


python310Packages.ha-philipsjs: 2.9.0 -> 3.0.0

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 212604 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.philips_js
python310Packages.ha-philipsjs
python311Packages.ha-philipsjs


Compose and Gradle Bump

Updated compose bom to 2024.10.01

Updated compose to 2024.10.01
Updated gradle wrapper to 8.9
Updated target sdk to 35


npm install excel-as-json failed

Hi,
I am unable to install and excerpt of the error below.  I have also attached the npm-debug.log, would you help please?
npm-debug.log.txt
Thanks
H:\node\testlab\excelJson>npm install excel-as-json --save-dev
npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN package.json<EMAIL_ADDRESS>No README data
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.

<EMAIL_ADDRESS>install H:\node\testlab\excelJson\node_modules\excel-as-json\node_modules\excel\node_modules\libxmljs
node-gyp rebuild

H:\node\testlab\excelJson\node_modules\excel-as-json\node_modules\excel\node_modules\libxmljs>if not defined npm_config_node_gyp (node "I:\nodejs-0.10.24\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (rebuild)
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
...

This is a problem building one of my dependencies, dependecies: the excel package uses libxmljs at v 0.14.0 (resolved to 0.14.3 in your build, current version 0.18.0).
From your npm-debug.log.txt

3212 error Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
3212 error This is most likely a problem with the libxmljs package,

If you search through that log for libxmljs, you don't find much more info than this. On my mac, node-gyp writes errors to stdout, so you could retry and look for those node-gyp errors for more details.
It may be a node-gyp dependency problem - you should verify that all required dependencies are installed. Details are here.
libxmljs has had issues building on windows. This open issue looks similar to your problem, was opened in v 0.17.0, so getting the excel.js author to update his version of libxmljs won't help.
If you continue to want to use this package, see an update that fixes your problem and the [excel.js] (https://github.com/trevordixon/excel.js) project updates its dependency, create a new issue and I will update as well.
Closing this issue; nothing for me to do.

Hi Steve,
Thanks for your reply and explanation.
Sam
On Sun, Jun 12, 2016 at 8:57 PM, Steve Tarver<EMAIL_ADDRESS>wrote:

Closed #2 https://github.com/stevetarver/excel-as-json/issues/2.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stevetarver/excel-as-json/issues/2#event-689867330,
or mute the thread
https://github.com/notifications/unsubscribe/ABm8u_rT0wMHvLtjtSeteO5NZQaHCbzMks5qLKrngaJpZM4Ieq_v
.


[Xamarin] Implements missing functionality in renderers

This PR fixes some rendering issues in @almedina-ms xamarin forms branch and makes some progress towards #3255
-Vertically stacked action sets now render correctly without overlapping at a single point
-Shadows on Frames have now been removed
-Sets the default wrap mode to wrap for text blocks
-Implements loading host configs on Xamarin iOS and Xamarin Android
-Applies padding, spacing, and margin for all elements as defined by the schema
-Hooks up binding contexts - this fixes action events
-Applies colours as defined by the schema or configs
-Renders radio buttons in choice sets
-Renders checkboxes in choice sets
-Implements tag content as an attached property
-Renders image sets corretly by using a flex layout
-Renders markdown in text blocks

[ ] TextInputs - Multiline editor needs implementing
[x] ChoiceSet - combobox (This should be rendered as an XF picker)
[x] ToggleInputs - should move over to the CheckBox control added as part of this PR
[x] RadialImages (Person type) - Write a Xamarin custom renderer effect
[ ] On the Food Order card, the action buttons don’t render.
[ ] Some cards render with extra white space below.

Microsoft Reviewers: Open in CodeFlow

Ok, heres the current state of the renderers using the v1.0 samples from main
FlightUpdate

FoodOrder

ImageGallery

InputForm

Inputs

Restaurant

Solitaire

SportingEvent

StockUpdate

WeatherCompact
![WeatherCompact](https://user-images.githubusercontent.com/293292/88220910-8f826880-cc5b-11ea-9d58-
e54d669266f0.PNG)
WeatherLarge

Outstanding work to support v1
TextInputs - Multiline editor needs implementing
ChoiceSet - combobox (This should be rendered as an XF picker)
ToggleInputs - should move over to the CheckBox control added as part of this PR
RadialImages (Person type) - I don't see this as a blocker, we could write a Xamarin custom renderer or wait for XF 4.8
Xamarin Forms 4.8 includes experimental Brush support which could significantly reduce the amount of pre-processors.

Hi @Pepsi1x1, this is looking really great and very much appreciated. Is your current plan to close those remaining items or use it as-is for now? Unfortunately we only have limited time available to support XF right now, but are there any high-impact ways we can support you with this work? If you get it to a stable 1.0 release we could setup Builds and NuGet publishing for example.

Hi @matthidinger, thanks appreciate you taking the time to look over this.
I was waiting for 4.8 on the assumption that the brushes support would be a simple resolution for the radial image support, however OpacityMask isn't part of that change so it looks like a custom renderer is required.
I'm happy to work on the remaining issues in the knowledge that it has legs.
Builds and publishing would be great once these are complete. Testing against a wide range of cards to prove the implementation is probably my barrier, also an understanding of the bar that performance was aiming for would be useful. This branch outputs the time taken to render cards but without context I'm unsure if this meets the required standards.
In light of this, it may make sense to convert this to a draft PR until those are complete?

@Pepsi1x1 making this a draft PR until you feel like it's ready for general consumption sounds reasonable to me. I will queue up a chat with the team internally about what we can provide for builds/CI and of course NuGet publishing, but I think I can make the case that if the community is willing to support this code that we can provide the infrastructure around it. Keep us posted how it's going!

There are two outstanding visual issues to resolve before I’d consider this a stable build.
On the Food Order card, the action buttons don’t render.
Some cards render with extra white space below.
I’ll need to investigate these using the Xamarin Inspector and see which elements in the visual hierarchy are the culprits.

Just to keep you updated on this, I'm still actively working on this - the issue with the extra whitespace below some cards is proving a difficult one to isolate.

Closing due to age - if this is still needed, please re-open


[backport] Fix typo

The backport of #3634.

jenkins test this please

jenkins, test this please.

LGTM!


Can I create a latex with NSString?

Now the code create a latex is a UIView.I want to return a string then it can display with UIlabel.Is it OK?

Hey @saagarjha, if I understand your question correctly, it would not be possible, because the MTMathUILabel is a custom subclass of UIView. The MTMathUILabel draws the individual symbols to the context of UIView and therefore you should think about it as an UIImageView rather that UILabel. So back to your question - no it would not be possible to get the string from the MTMathUILabel, which you could display as a part of another UILabel.

I think you've got the wrong guy :)

Thanks.

@smallqiang YW


Allows to configure which annotations get copied from Certificate

What this PR does / why we need it:
This PR adds a new controller flag --copied-annotations that allows to modify which annotations get copied from Certificate to CertificateRequest:

by default all are copied except for ones with keys prefixed with kubectl.kubernetes.io/, fluxcd.io/,  argocd.argoproj.io/
all annotations can be copied by setting --copied-annotations=*
some annotations can be copied by setting `--copied-annotations=,
some annotations can be excluded by setting --copied-annotations=*,-<some-prefix>
all annotations can be excluded by setting --copied-annotations=''

Which issue this PR fixes :
fixes #4162
Special notes for your reviewer:

I think ideally we would remove them altogether, but see https://github.com/jetstack/cert-manager/issues/4162#issuecomment-885635381 for alternative approaches considered
I've tested the scenarios listed above
I've tried to make the flag options syntax similar to how the --controllers flag work for consistency

Release note:

Allows to configure which annotations get copied from Certificate to CertificateRequest. Annotations with keys prefixed with `kubectl.kubernetes.io/`, `fluxcd.io`, `argocd.argoproj.io` are now excluded by default.

/kind cleanup

/assign @JoshVanL

/lgtm


Pre-release Nearby does not detect location

The pre-release version of Nearby (current master branch) loads the CSV, but does not detect your location when used in a freshly-installed app. Tested on an API 24 real device (Samsung Galaxy S7). The released version works fine (tested on the same night).
Might have something to do with location permissions not being asked? Not sure, will have to test further. @maskaravivek , what do you think could have broken it?

2nd fresh install test - location permissions were asked and granted, but location is still not detected.

Log before the unsorted and distance-less list is displayed:
04-10 02:28:54.764: D/fr.free.nrw.commons.nearby.NearbyListFragment(27251): NearbyListFragment created
04-10 02:28:54.771: D/fr.free.nrw.commons.nearby.NearbyListFragment(27251): Saved instance state is null, populating ListView
04-10 02:28:56.300: D/fr.free.nrw.commons.nearby.NearbyPlaces(27251): Reading from CSV file...

Seems like various methods are not called, including loadAttractionsFromLocation() in NearbyListFragment.
As a side note, could I please request that logging be done with the class TAG in the future? It helps to be able to filter out logs relevant to our app, especially when testing from a real device with lots of other processes present. For instance Log.d("NearbyAdapter", "Place " + place.name); in NearbyAdapter could be Log.d(TAG, "Place " + place.name); with TAG being defined as private static final String TAG = NearbyAdapter.class.getName();. Sorry I missed that bit when I reviewed the code.

@misaochan I couldn't take a look at it but could it be because of the refactoring that was done by me?
Will take care to use TAG in future. Also any opinion on using Timber for logging.

I second the use of Timber

We are calling LocationServiceManager#getLatestLocation(…) straight away after the initialisation of LocationServiceManager in NearbyListFragment#onViewCreated(…) but we aren't give the location enough time to get updated. Maybe by passing in a callback to the LocationServiceManager it may work, I'll have a look into it.

Reverting the refactor does indeed seem to solve the problem. It's a pity since the refactor really made the code neater, but I can't figure out exactly which part of the refactor is causing it.

For the record, the change that fixes this problem seems to be related to the duplicate LocationServiceManager instances, one in the activity, another in the fragment.
I changed a lot of other things too, so I'm not 100% sure about the cause, though.


OSL Plugin fixes

Hi,
Fixes in this PR:

Shader files in separate directories
Shaders from env. variable path override shaders in plugin directory
Texture buttons in OSL material plugins are update properly
Parameters are hidden based on special metadata token
Vector parameter connection works
Viewport shading for OSL materials

Thanks for review.

@dictoon I've fixed the comments and add one more commit where broken output parameter is fixed and string inputs connected properly. That makes as_texture shader work.


build reproducibility features

This might become an eternal metabug bug I've gotta start somewhere!
So you want your build to be reproducible, or at least certain aspects of your build to be reproducible (while perhaps tweaking others). Some increasing levels of reproducibility I am vaguely aware of:

I can at all build the application reliably
A local developer can build the application reliably
I can produce a binary with the same general behaviour/characteristics
Perfect bit-level reproducibility is possible (may require a vm image)
Heurmetically sealed builds (all build/runtime deps precisely tracked)

For a "pure" rust application, levels 1 and 2 are pretty free. But if you have system deps you may find yourself needing something like #102 (linux build deps).
Level 3 is where cargo-dist can put in some "simple" extra elbow-grease:

record toolchain info like cargo-dist version, rust version, maybe clang/xcode/visual-studio/etc info

describe: store precise empirically observed information in the dist-manifest.json (may require #45)
prescribe: allow the user to record what versions they want in their config so the CI can try to fetch those (cargo-dist-version=xxx, rust-version=xxx, ...)

record exact compiler invocations cargo-dist performed to produce an artifact in dist-manifest.json
timestamps..? system info dumps..?

Level 4 requires even more effort, I'm not sure if rust has a clean story on bit-level reproducibility:

Probably just need docker
Probably need binary sanitization steps like #32

Level 5 I think is basically just "use nix", and even then only nixos will really enforce that you eat your vegetables. It has some (experimental?) support on macos. It has no real support on windows (mingw/wsl don't count in my books, sorry).

Getting "level 3" rock-solid is all I truly care about, because I think it's important to be able to go back and do new builds for historical releases that work similar to the old ones but with potentially changed behaviours. For instance you might want to apply a bugfix, or bring up a new platform, update a problematic toolchain, get missing debuginfo, or bisect various build variables. In these cases level 4 and 5 aren't strictly applicable, but it would still be nice to preserve everything that can/should be the same.
That said I am absolutely happy to support going "deeper". It's just not my expertese and will probably need to be opt-in because I can't tell every windows dev to setup docker/nix to do a build. I want cargo-dist to be able to still do useful things if you're not a hardcore release engineer and just want "decent builds now".

Oh at some point I introduced cargo-dist-version and rust-toolchain-version, so we're a little better. Those are used to generate CI but aren't otherwise checked.


(#184) Refactor build.yml test execution into test.sh functions

This commit introduces test.sh, refactoring chunks of test
execution code into functions from build.yml into this script.
Full test coverage is retained with this refactoring.
Usage: ./CI/scripts/test.sh --help
Usage: test.sh [--help | --list] [test_all]
The standalone test.sh can now be used in dev-build
environments to run one or all of the test cases.
--list will list the test cases that can be run.
E.g. ./test.sh test-run_example-simple_app will run
the test-chunk named test-run_example-simple_app.

hi, @jlmucb @rgerganov - This refactoring is ready to roll.
I am stabilizing this execution through CI and on my Linux dev box.
There may be minor script corrections, but overall this is ready to roll. Kindly review this work.


Add reply option in desktop notification [macOs]

Something like this -

This could be done using - https://github.com/CharlieHess/node-mac-notifier

@zulipbot claim

@zulipbot abandon

@zulipbot claim


Annular CoM detection in GUI

Hello @uellue and @sk1p,
It would be beneficial for some applications (Lorentz STEM) to include annular mask for centre of mass imaging. This would allow filtering of large proportion of diffraction contrast from magnetic and electric field imaging in nano-diffraction. It would be a great feature for live imaging applications. The technique was first introduced with annular DPC detectors in https://doi.org/10.1109/20.104427.

@matkraj That's a nice point! With the current version one can do this with scripting. Implementing this in the GUI is not too difficult, too. I'm including this in our GSoC ideas list, together with the other remaining items of #31 .
Is this more of a general idea or would this be used asap by someone?
How does this compare with correlation-based detection of the shift?

@uellue It is a more general idea. It will be a very useful feature when live imaging.
Gradient cross-correlation will be always better. Interestingly, the two techniques can be somehow similar if one could make an annular detector with variable position and beam only overlapping a tiny proportion over the inner quadrants.

It will be a very useful feature when live imaging.

Actually, the correlation will also work with live data in LiberTEM. Just missing a GUI at the moment. 😄


Added support for the v1/codes API

@ivern would you mind opening a pull request again the https://github.com/Availity/availity-angular/tree/develop branch.  Not sure why the travis-ci is failing but recently we switched to an open source account (travis, saucelabs) which might solve the issue.


[BugFix] Fix first load statistic collect hang since task exceed thread pool queue size

when statistic collect task exceed thread pool queue size, the async collect will downgrade to async then make stream load task publish timeout.
Fixes #28032
What type of PR is this:

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

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)


feat(data-classes): Add workMailEvent

Is your feature request related to a problem? Please describe.

AWS WorkMail can be configured to invoke your AWS Lambda
Describe the solution you'd like

Add WorkMail data class
Describe alternatives you've considered

Additional context

Docs:
Configuring AWS Lambda for Amazon WorkMail
Event structure
{
    "summaryVersion": "2018-10-10",
    "envelope": {
        "mailFrom" : {
            "address"<EMAIL_ADDRESS>        },
        "recipients" : [
           { "address"<EMAIL_ADDRESS>},
           { "address"<EMAIL_ADDRESS>}
        ]
    },
    "sender" : {
        "address"<EMAIL_ADDRESS>    },
    "subject" : "Hello From Amazon WorkMail!",
    "messageId": "00000000-0000-0000-0000-000000000000",
    "invocationId": "00000000000000000000000000000000",
    "flowDirection": "INBOUND",
    "truncated": false
}

Example responses:
{
  "actions": [
    {
      "action": {
        "type": "BOUNCE",
        "parameters": {
          "bounceMessage": "Email in breach of company policy."
        }
      },
      "allRecipients": true
    }
  ]
}

{
  "actions": [
    {
      "action": {
        "type": "DEFAULT"
      },
      "allRecipients": true
    },
    {
      "action": {
        "type": "DROP"
      },
      "recipients": [
<EMAIL_ADDRESS>      ]
    }
  ]
}

Field docs

summaryVersion: The version number for LambdaEventData. Only updates when a backwards incompatible change is made in LambdaEventData.
envelope: The envelope of the email message, which includes the following fields.
mailFrom: The From address, which is usually the email address of the user who sent the email message. If the user sent the email message as another user or on behalf of another user, the mailFrom field returns the email address of the user on whose behalf the email message was sent, not the email address of the actual sender.
recipients:  A list of recipient email addresses. There is no distinction between To, CC, or BCC.
sender: The email address of the user who sent the email message on behalf of another user. This field is set only when an email message is sent on behalf of another user.
subject: The email subject line. Truncated when it exceeds the 256 character limit.
messageId: A unique ID used to access the full content of the email message when using the Amazon WorkMail Message Flow SDK.
invocationID: The ID for a unique Lambda invocation. This ID remains the same when a Lambda function is called more than once for the same LambdaEventData. Use to detect retries and avoid duplication.
flowDirection: Indicates the direction of the email flow, either INBOUND or OUTBOUND.
truncated: Applies to the payload size, not the subject line length. When true, the payload size exceeds the 128 KB limit, so the list of recipients is truncated in order to meet the limit.

Thanks for the feature request, Michael! Adding a label to hear from more customers looking to use it.


Rich Text: List of supported applications

List of tested working applications in Rich Text mode.
And those that will be in the future,
or which one do you need?
for example.
It could use Google Docs support.

Let's be clear on that: there will be no 'application-specific' support in Beeftext. When it comes to rich text, Beeftext is copy/pasting HTML data in the application via the Windows clipboard. If an application doesn't deal properly with HTML formatted data, their author is to blame.


Checks Side Panel Island: Toggle

User Story
As a user, I want to be able to display and hide the side panel so that I can make the best use of my display and see what I need to see when I need to see it.
Description
Create a toggle icon button that will open and close the checks results side panel webview view (as opposed to the marginal view)
See the "Checks Side Panel view" section of the Figma design
Blocked by #1283
Implementation idea

[ ] Create a way to open and close webviews from a webview
[ ] Create a speech bubble icon button next to the scroll groups at the top of the scripture editor webview?
[ ] Implement toggle ability through the speech bubble/comment icon button for the checks side panel island

@paranext/paranext-ux Does the toggle button appear in the toolbar for all webviews (like the scroll groups do) or just for the scripture editor webview (because that is where checks results are relevant)?

Note we will need to add some way for extensions to add buttons to that tab nav bar. I'd suggest considering putting something in the web view definition or something...? And the extension can provide some data including icon, label, command to run for each button or something? Needs further consideration and probably discussion with UX to determine what they want. For example, should all buttons go in the same place to the right of the scroll group, or is there some kind of ordering we need to consider? Is the tab nav design solid enough now that we can work through what options we should give extensions regarding hiding it or parts of it?

Good questions. UX is working on roadmap item 15 "tabs and ui design" in the next sprint.

update: It's not in the next sprint. I've added it to the backlog to consider for the next sprint. Feel free to comment and ask to boost priority for it.


Add CHANGELOG for release 0.2

Signed-off-by: Peixin Li<EMAIL_ADDRESS>According to the output there are a few PR w/o project info,
@sameerz @jlowe @revans2 @tgravescs Please help review the changelog
# Run w/ generate-changelog
GITHUB_TOKEN=xxx  scripts/generate-changelog --releases=0.2,0.1

# Output:
Generating changelog ...
Processing pull requests ...
Processing issues ...
Done.
Merged Pull Requests w/o Project:
branch-0.1 #181 Remove INCOMPAT for NormalizeNanAndZero, KnownFloatingPointNormalized https://github.com/NVIDIA/spark-rapids/pull/181
branch-0.1 #191 WindowExec handle different spark distributions https://github.com/NVIDIA/spark-rapids/pull/191
branch-0.1 #195 Support public release for plugin jar https://github.com/NVIDIA/spark-rapids/pull/195
branch-0.1 #206 Change groupID to 'com.nvidia' in IT scripts https://github.com/NVIDIA/spark-rapids/pull/206
branch-0.1 #208 Remove unneeded comment from pom.xml https://github.com/NVIDIA/spark-rapids/pull/208
branch-0.2 #645 [window] Add GpuWindowExec requiredChildOrdering https://github.com/NVIDIA/spark-rapids/pull/645
branch-0.2 #714 Move spark 3.0.1-shims out of snapshot-shims https://github.com/NVIDIA/spark-rapids/pull/714

FYI

To get a preview of the Markdown file

#645  and #714 were merged to branch-0.2 but did not have 0.2 set as a project and were missed from the changelog.  It thought the changelog tool was supposed to report PRs merged without a project?

I've updated the project on those two PRs.

#645 and #714 were merged to branch-0.2 but did not have 0.2 set as a project and were missed from the changelog. It thought the changelog tool was supposed to report PRs merged without a project?

Yes, it does not list PR w/o project. And it reports the info in stdout for the tool user.
I will recommit a new one after https://github.com/NVIDIA/spark-rapids/pull/723 get merged

#479 was not implemented, I marked it as wontfix.  I also fixed typos in a number of issue/PR headlines.
#579 is an issue in the 0.2 release that is missing from the changelog.  Please investigate how that was missed, there may be others missing as well.  I'm guessing because it is missing the feature request, label, so I just added it to that one.  However there may be others.

#479 was not implemented, I marked it as wontfix. I also fixed typos in a number of issue/PR headlines.
#579 is an issue in the 0.2 release that is missing from the changelog. Please investigate how that was missed, there may be others missing as well. I'm guessing because it is missing the feature request, label, so I just added it to that one. However there may be others.

Thx, #579 is added when I run script again

The issues on branch-0.1 were part of the 0.1 release, I moved them to that project.

The PRs on branch-0.1 were part of the 0.1 release, I moved them to that project.

Thx, looks OK from local run. I will wait for https://github.com/NVIDIA/spark-rapids/pull/723 premerge run

#723 is going to go into 0.3 (see the project update in the PR from two days ago).  @revans2 can you retarget the PR to branch-0.3?

#723 is going to go into 0.3 (see the project update in the PR from two days ago). @revans2 can you retarget the PR to branch-0.3?

kk, I just push a lastest changelog

build

build

@jlowe @sameerz Let me know if the latest changelog is OK or not, the release phase is blocked by this PR. thx!


fixed c++ not being esacaped

special mention to @sharlot  who made the same MR but just slightly later 🫡

Thanks to both of you @jonnytest1 and @sharlot
LGTM


User Group Authentication

🗒 Summary
This branch adds support for user group authentication within the Cognito Lambda authorizer function used with the Ingress API gateway. A user's requesting group is now determined based on the PDS node identifier used to submit an ingress request. This group must be among the Cognito groups within a decoded access token to allow the ingress request through to the API gateway. This ensures that users cannot act on behalf of PDS nodes that they do not belong to.
⚙ Test Data and/or Report
One of the following should be included here:

Unit tests have been updated to reflect the change from a "non-proxy" Lambda integration to a "proxy" integration with API gateway.

♻ Related Issues

Resolves #18

Thanks @collinss-jpl ,but I think I am missing something. Is the node value sent by the CLI in the header useful ? Or should we get it from the JWT token or from Cognito service ?

We need to do both, the authorizer function gets the Cognito groups for a user from the decoded JWT token. It then uses the group provided from the CLI to ensure they match before allowing the request.


Palindrome Checker

I would like to add a code to check Palindrome strings in Java.
Please assign me this issue @sherigar .
HACTOBERFEST2023

@sherigar Kindly accept my PR for Palindrome Checker.
HACTOBERFEST2023

I am willing to contribute to this issue,
Can you please assign this issue to me
HACTOBERFEST2023


About the evaluation metrics of IMavatar

Hi yufeng,
Your work IMavatar is brilliant 🙂. I re-run your work IMavatar on RTX2080Ti. However, the results of my run and your given pre-trained model seem inconsistent with your paper. Attached is part of my results. I think it is because we use different evaluation metrics codes. My metrics are modified from NerFACE. Would you please share your implementation code of evaluation metrics?

Thanks a lot,
Zichen

Hey Zichen,
Thanks for the kind work!
I've cleaned the metric file and added it as ./code/utils/calculate_metrics.py. I know I've already replied to your email but just replying so that I can close this issue :)
Best,
Yufeng


Support for wav files

I would be very interested in adding support for wav files, as there are many in my music library. Is the project willing to have this feature? I'd be happy to contribute.

Hello! Support for wave files would be a welcome contribution, thank you for asking!
Note however that Polaris doesn't do any transcoding when you stream, so wave files will use a lot of bandwidth.

I took a brief look at the codebase in order to feel what the implementation might look like. I noticed, as you said, that Polaris doesn't do any kind of transcoding. Would it be enough to just add the relevant enum fields for wav, and related minor changes?

As you identified, changes to Polaris itself would be pretty limited:

Add relevant enum value
Detect format from file extension
Update metadata parsing (https://github.com/agersant/polaris/blob/6c27409ef2674c728fad625552c481e3a3bab717/src/app/index/metadata.rs#L30)
Add tests

The big catch is I don't think there exists a Rust library which can read ID3 tags from a wav file. I just did a quick search and most libraries seem to focus on finding and decoding the audio data. I would be hesitant to accept a contribution without metadata parsing, as these files would end up looking pretty sad in the existing clients.

That seems pretty easy. I'm willing to make those changes and submit a pull request. Regarding the metadata support, I would argue that it would be better to have sad looking files than to not have those files at all. But I believe we can work out the metadata extraction for wave files easily, as the ID3 format is almost the same for different audio formats. The id3 crate even mentions wav support, so I think it will probably just work. I can start working on this as soon as you approve.

That would be ideal as rust-id3 is already a Polaris dependency, let's give it a try!

I have filled a pull request for rust-id3 to add support for wave files. As soon as it gets merged, I'll start working on Polaris.


Navigation spec fails intermittenly

One of the navigations specs fails intermittently. I think when you run just that one spec, it fails every time. When you manually run through the steps in that spec, everything works fine, so I think there is some issue with waiting in Capybara.

Opened a PR for this issue @crawfoal.

Two things to consider (both are kind of a "shot in the dark"):

What resolution are the tests currently running at? What does the navigation part of the page look like at that resolution? (this idea came from an article by Semaphore... I doubt that this is the issue but there's no harm in looking into it anyway)
Ensure that webmock is preventing requests from being made when the specs are running. I can't remember why, but recently I suspected there might be an issue here.


Page "Console Process Groups" cannot be found via tree menu

The Page "Console Process Groups" cannot be found via the tree menu on the left side.
By default the current page has an entry in the tree view and the tree view is expanded to show this entry.
But there is no entry for this page. So far I have only seen this with archived and/or outdated pages on docs.microsoft.com.
I found this page with my search engine.
Futhermore this page has a bad "path". There is only Docs at the top of the page and not something link Docs / About Consoles / Console Process Groups

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

ID: b6e01447-e1fa-bff4-707b-31d89048fce3
Version Independent ID: 85e58a53-0d7b-1d76-709a-7902132db512
Content: Console Process Groups - Windows Console
Content Source: docs/console-process-groups.md
Product: console
GitHub Login: @miniksa
Microsoft Alias: miniksa

Oops. Looks like we missed putting a page into the table of contents doc. I'll get on that. It should fix both issues.
Thanks for the report!

Thank you :)


CI smoke test for critical networking endpoints

Some endpoints are using websockets and silently broke in different Kubernetes version.
We should add at least a couple of smoke test with different version to check that they are still working with newer/older versions.
Endpoints to check:

port-forward
exec

Version: at least a couple (1.20 and 1.24)

Work done until this moment:
CI:

Created new workflow provisionally named custom-ci
Added new dispatch k3s_version.
The entry passes to acceptance-cluster-setup.sh script through env var K3S_CUSTOM added to the main script. However it does not work with make so I substituted it by calling the script directly like:

scripts/acceptance-cluster-setup.sh $K3S_CUSTOM

Changed script  acceptance-cluster-setup.sh to use custom-ci only when passed and default if not.
I checked its functioning in self hosted runner and seems to work ok: https://github.com/mmartin24/epinio_fork/actions/runs/4158691011

Tests:

Added new makefile line test-acceptance-api-critical-endpoints with momentary label criticalep targetting desired tests.

Problems found so far:

make prepare_environment_k3d seems not to work after. Error thrown:

https://cert-manager.io/docs/usage/ingress/
fatal: No names found, cannot describe anything.
GOARCH="amd64" GOOS="linux" CGO_ENABLED=0 go build  -ldflags '-X github.com/epinio/epinio/internal/version.Version=' -o dist/epinio-linux-amd64
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
make: *** [Makefile:76: build-images] Error 128

When executing test-acceptance-api-critical-endpoints it throws:

make: *** [Makefile:121: test-acceptance-api-critical-endpoints] Error 1.

So far it seems related somehow to flag --poll-progress-after in Ginkgo execution. It seems to work when using --slow-spec-threshold. So this seems to work:
ginkgo -v --nodes 1 --slow-spec-threshold 200s --randomize-all --flake-attempts=1 --fail-on-pending --label-filter "criticalep"  acceptance/api/v1/.

I am going to pause this task for a moment given those 2 issues to attend other priorities and will come back to it later.

Disregard the work previously mentioned above.
Pr for this here: https://github.com/epinio/epinio/pull/2647


Autostart with Scheduler

Your Windows build number:  (Type ver at a Windows Command Prompt)
Microsoft Windows [Version 10.0.17134.112]

What you're doing and what's happening:  (Copy&paste specific commands and their output, or include screen shots)
my overall goal is to start an executable during the start of the system, with the features currently available in the production release ( no insider builds).

I try to start a binary installed on the WSL system. The start will be done over the Windows Task Scheduler.
Exported version of the Schedule job
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
  <RegistrationInfo>
    <Date>2018-06-18T12:09:41.2179849</Date>
    <Author>############</Author>
    <URI>\TestWSL</URI>
  </RegistrationInfo>
  <Triggers>
    <BootTrigger>
      <Enabled>true</Enabled>
    </BootTrigger>
  </Triggers>
  <Principals>
    <Principal id="Author">
      <UserId>#################</UserId>
      <LogonType>Password</LogonType>
      <RunLevel>LeastPrivilege</RunLevel>
    </Principal>
  </Principals>
  <Settings>
    <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
    <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
    <AllowHardTerminate>true</AllowHardTerminate>
    <StartWhenAvailable>false</StartWhenAvailable>
    <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
    <IdleSettings>
      <StopOnIdleEnd>true</StopOnIdleEnd>
      <RestartOnIdle>false</RestartOnIdle>
    </IdleSettings>
    <AllowStartOnDemand>true</AllowStartOnDemand>
    <Enabled>true</Enabled>
    <Hidden>true</Hidden>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
    <UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>
    <WakeToRun>false</WakeToRun>
    <ExecutionTimeLimit>PT72H</ExecutionTimeLimit>
    <Priority>7</Priority>
  </Settings>
  <Actions Context="Author">
    <Exec>
      <Command>C:\Users\######\Desktop\test.bat</Command>
    </Exec>
  </Actions>
</Task>

I used to test it directly via the Scheduler and press there run.
The test.bat will then call
start wsl;  wsl sudo myBinary start
The first line should keep the WSL instance alive and the second one should start my binary.

What's wrong / what should be happening instead:

When i double click the test.bat. Everything works fine. The binary is getting started and the WSL instance stays alive.
When I run it over the scheduler, I get the follow:
Microsoft-Windows-AppModelExecEvents.dll: unrecognized service
Furthermore my binary gets started, but the pid files will not be generated which causes by application to stop.
If somebody has a good idea of helping me with this kind of problem I would really appreciate it.
Thanks in advanced!
Korbi
PS:
I know that currently in the insider builds there are background jobs and so on, but I need a solution which does not depend on the current insider builds.

Look at the accepted answer at
https://stackoverflow.com/questions/41225711/wsl-run-linux-from-windows-without-spawning-a-cmd-window
I think you might get some inspiration from there. ;-)
(I use it to start a hidden Bash, so I can launch Konsole without a leading Bash Prompt Window.)


Add patches & remove unused configs

Codecov Report

Merging #45 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #45   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            8         8
  Lines          108       108
  Branches        14        14
=========================================
  Hits           108       108

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 e0e538c...32de861. Read the comment docs.


Calculate a subset of Coupling from the HDF5

Currently the function lazy_schedule_couplings all the molecular orbitals coefficients (100 HOMOs and 100 LUMOs) and compute all the coupling between them.
Instead of calculating all the coupling the function should allow the user to choose how many MO she wants to use.

The user can request now how many frontier orbitals she/he wants to use.