Docker/Install

$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
Verify that you now have the key with the fingerprint 9DC8 5822 9FC7 DD38 854A  E2D8 8D81 803C 0EBF CD88, by searching for the last 8 characters of the fingerprint.
$ sudo apt-key fingerprint 0EBFCD88
pub   rsa4096 2017-02-22 [SCEA]
9DC8 5822 9FC7 DD38 854A  E2D8 8D81 803C 0EBF CD88
uid           [ unknown] Docker Release (CE deb<EMAIL_ADDRESS>sub   rsa4096 2017-02-22 [S]
Use the following command to set up the stable repository. To add the nightly or test repository, add the word nightly or test (or both) after the word stable in the commands below. Learn about nightly and test channels.
Note: The lsb_release -cs sub-command below returns the name of your Ubuntu distribution, such as xenial. Sometimes, in a distribution like Linux Mint, you might need to change $(lsb_release -cs) to your parent Ubuntu distribution. For example, if you are using Linux Mint Tessa, you could use bionic. Docker does not offer any guarantees on untested and unsupported Ubuntu distributions.
x86_64 / amd64
armhf
arm64
$ sudo add-apt-repository
"deb [arch=amd64] https://download.docker.com/linux/ubuntu
$(lsb_release -cs)
stable"
INSTALL DOCKER ENGINE
Update the apt package index, and install the latest version of Docker Engine and containerd, or go to the next step to install a specific version:
$ sudo apt-get update
$ sudo apt-get install docker-ce docker-ce-cli containerd.io
Got multiple Docker repositories?
If you have multiple Docker repositories enabled, installing or updating without specifying a version in the apt-get install or apt-get update command always installs the highest possible version, which may not be appropriate for your stability needs.
To install a specific version of Docker Engine, list the available versions in the repo, then select and install:
a. List the versions available in your repo:
$ apt-cache madison docker-ce
docker-ce | 5:18.09.1~3-0~ubuntu-xenial | https://download.docker.com/linux/ubuntu  xenial/stable amd64 Packages
docker-ce | 5:18.09.0~3-0~ubuntu-xenial | https://download.docker.com/linux/ubuntu  xenial/stable amd64 Packages
docker-ce | 18.06.1~ce~3-0~ubuntu       | https://download.docker.com/linux/ubuntu  xenial/stable amd64 Packages
docker-ce | 18.06.0~ce~3-0~ubuntu       | https://download.docker.com/linux/ubuntu  xenial/stable amd64 Packages
...
b. Install a specific version using the version string from the second column, for example, 5:18.09.1~3-0~ubuntu-xenial.
$ sudo apt-get install docker-ce=<VERSION_STRING> docker-ce-cli=<VERSION_STRING> containerd.io
Verify that Docker Engine is installed correctly by running the hello-world image.
$ sudo docker run hello-world
This command downloads a test image and runs it in a container. When the container runs, it prints an informational message and exits.
Docker Engine is installed and running. The docker group is created but no users are added to it. You need to use sudo to run Docker commands. Continue to Linux postinstall to allow non-privileged users to run Docker commands and for other optional configuration steps.
UPGRADE DOCKER ENGINE
To upgrade Docker Engine, first run sudo apt-get update, then follow the installation instructions, choosing the new version you want to install.
Install from a package
If you cannot use Docker’s repository to install Docker Engine, you can download the .deb file for your release and install it manually. You need to download a new file each time you want to upgrade Docker.
Go to https://download.docker.com/linux/ubuntu/dists/, choose your Ubuntu version, then browse to pool/stable/, choose amd64, armhf, or arm64, and download the .deb file for the Docker Engine version you want to install.
Note: To install a nightly or test (pre-release) package, change the word stable in the above URL to nightly or test. Learn about nightly and test channels.
Install Docker Engine, changing the path below to the path where you downloaded the Docker package.
$ sudo dpkg -i /path/to/package.deb
The Docker daemon starts automatically.
Verify that Docker Engine is installed correctly by running the hello-world image.
$ sudo docker run hello-world
This command downloads a test image and runs it in a container. When the container runs, it prints an informational message and exits.
Docker Engine is installed and running. The docker group is created but no users are added to it. You need to use sudo to run Docker commands. Continue to Post-installation steps for Linux to allow non-privileged users to run Docker commands and for other optional configuration steps.
UPGRADE DOCKER ENGINE
To upgrade Docker Engine, download the newer package file and repeat the installation procedure, pointing to the new file.
Install using the convenience script
Docker provides convenience scripts at get.docker.com and test.docker.com for installing edge and testing versions of Docker Engine - Community into development environments quickly and non-interactively. The source code for the scripts is in the docker-install repository. Using these scripts is not recommended for production environments, and you should understand the potential risks before you use them:
The scripts require root or sudo privileges to run. Therefore, you should carefully examine and audit the scripts before running them.
The scripts attempt to detect your Linux distribution and version and configure your package management system for you. In addition, the scripts do not allow you to customize any installation parameters. This may lead to an unsupported configuration, either from Docker’s point of view or from your own organization’s guidelines and standards.
The scripts install all dependencies and recommendations of the package manager without asking for confirmation. This may install a large number of packages, depending on the current configuration of your host machine.
The script does not provide options to specify which version of Docker to install, and installs the latest version that is released in the “edge” channel.
Do not use the convenience script if Docker has already been installed on the host machine using another mechanism.
This example uses the script at get.docker.com to install the latest release of Docker Engine - Community on Linux. To install the latest testing version, use test.docker.com instead. In each of the commands below, replace each occurrence of get with test.
Warning:
Always examine scripts downloaded from the internet before running them locally.
$ curl -fsSL https://get.docker.com -o get-docker.sh
$ sudo sh get-docker.sh

If you would like to use Docker as a non-root user, you should now consider adding your user to the “docker” group with something like:
sudo usermod -aG docker your-user
Remember to log out and back in for this to take effect!
Warning:
Adding a user to the “docker” group grants them the ability to run containers which can be used to obtain root privileges on the Docker host. Refer to Docker Daemon Attack Surface for more information.
Docker Engine - Community is installed. It starts automatically on DEB-based distributions. On RPM-based distributions, you need to start it manually using the appropriate systemctl or service command. As the message indicates, non-root users can’t run Docker commands by default.
Note:
To install Docker without root privileges, see Run the Docker daemon as a non-root user (Rootless mode).
Rootless mode is currently available as an experimental feature.
UPGRADE DOCKER AFTER USING THE CONVENIENCE SCRIPT
If you installed Docker using the convenience script, you should upgrade Docker using your package manager directly. There is no advantage to re-running the convenience script, and it can cause issues if it attempts to re-add repositories which have already been added to the host machine.
Uninstall Docker Engine
Uninstall the Docker Engine, CLI, and Containerd packages:
$ sudo apt-get purge docker-ce docker-ce-cli containerd.io
Images, containers, volumes, or customized configuration files on your host are not automatically removed. To delete all images, containers, and volumes:
$ sudo rm -rf /var/lib/docker
You must delete any edited configuration files manually.
Next steps
Continue to Post-installation steps for Linux.
Review the topics in Develop with Docker to learn how to build new applications using Docker.
requirements, apt, installation, ubuntu, install, uninstall, upgrade, update
Rate this page:
 522 136

This repo is for the Docker-in-Docker official image https://hub.docker.com/_/docker/
Closing since the issue seems mistakenly opened


hapi-v17 support

Just requesting support for hapi-v17. hapi-bunyan is currently the only plugin holding me back from upgrading.

We can get updated version for hapi-v17 ?


Missing device config: 0x031e:0x0001:0x0001:1.48

What are the IDs?
Manufacturer ID: 0x031e
Product type: 0x0001
Product ID: 0x0001
Firmware version: 1.48
Additional info:
supportsAGI: true
association groups: Lifeline, On/Off Control, Switch Multilevel Set, Sw Multi Start/Stop
supportsConfigCCV3: false
supportsZWavePlus: true
zWavePlusVersion: 1

mis reported
https://devices.zwave-js.io/?jumpTo=0x031e:0x0001:0x0001:1.48


Shows JDK not installed on Windows 11

I have already installed JDK 15 but still it shows me error

@vrajdesai78  Can you enter the command java -version in your terminal and paste the output here?

@vrajdesai78  Can you enter the command java -version in your terminal and paste the output here?

It's okay I have cloned the repo and build project instead of directly downloading MSI file.

Okay. Anyway, it looks like a duplicate of #82


ERR fatal: unrecognized argument: --show-pulls

Describe the bug
When I try to run gitleaks I get the following error:
$ gitleaks detect .
    ○
    │╲
    │ ○
    ○ ░
    ░    gitleaks

9:01AM ERR fatal: unrecognized argument: --show-pulls

Currently running Linux Mint 20.
To Reproduce
Steps to reproduce the behavior:
Run gitleaks detect . in a local repository
Expected behavior
Should start to detect secrets but does not.
Screenshots
X
Basic Info (please complete the following information):

OS: Linux Mint 20.2
Gitleaks Version: 8.0

Additional context
Not sure where "--show-pulls" comes from. Git has no --show-pulls and from what I can see neither do gitleaks.
cc @zricethezav

I am happy with gitleaks detect --no-git for now, closing.

@codekuu thank you for opening this issue. You actually bring up a bug that should be fixed. --show-pulls was introduced in git 2.27 see https://github.com/git/git/blob/master/Documentation/RelNotes/2.27.0.txt#L69-L72 for git's release notes. I believe --show-pulls should be removed since it shows merge commits which don't introduce any new information in the commit history.


support custom serialization/deserialization. fixes #75

The solution described in https://github.com/polemius/recoil-persist/issues/75#issuecomment-1474769954 doesn't work (at least for my use case) because setItem accepts a string whereas I (and I suspect @tpict) need to control how stringify/parse actually work.

Could you please update documentation as well?

Please add mention of converter to Usage section

I assume in the Usage section it makes sense to show the default but please let me know if you think something else should go there.

I assume in the Usage section it makes sense to show the default but please let me know if you think something else should go there.

I thought maybe we could show in Usage section all options like:
import { recoilPersist } from 'recoil-persist'

const { persistAtom } = recoilPersist({
  key: 'recoil-persist', // this key is using to store data in local storage
  storage: localStorage, // configurate which storage will be used to store the data
  converter: JSON, // ....
})

Yeah, what I put there is
import { recoilPersist } from 'recoil-persist'
const { persistAtom } = recoilPersist({
  key: 'recoil-persist', // this key is using to store data in local storage
  storage: localStorage, // configurate which storage will be used to store the data
  converter: { // configurate how values will be serialized/deserialized in storage
    parse: (value) => JSON.parse,
    stringify: (value) =>  JSON.stringify
  }
})

Although converter: JSON would be semantically the same thing, I think it's useful to show both functions. WDYT?

converter: { // configurate how values will be serialized/deserialized in storage
    parse: (value) => JSON.parse(value),
    stringify: (value) =>  JSON.stringify(value)
}

you need to pass values to function

Released in 5.0.0 🚀


Copy Number-Only Samples Ignored by Oncoplot if Top Set

A similar issue was fixed before #282 but I still experience it even if I downloaded from master branch. A self-contained example is:
copyTable <- data.frame(Gene = c("MYC", "EGFR", "EGFR", "EGFR"),
                        Sample = c("John", "John", "David", "Lucas"),
			Status = rep("Amp", 4))

plotData <- data.frame(Hugo_Symbol = c("MYC", "TP53", "NRAS", "KRAS"),
                       Chromosome = '.',
                       Start_Position = '.',
                       End_Position = '.',
                       Reference_Allele = '.',
                       Tumor_Seq_Allele2 = '.',
                       Variant_Classification = rep("Missense_Mutation", 4),
                       Variant_Type = '.',
                       Tumor_Sample_Barcode = c("James", "Chris", "David", "David"))

MAF <- read.maf(plotData, cnTable = copyTable, removeDuplicatedVariants = FALSE)
oncoplot(MAF, showTumorSampleBarcodes = TRUE, top = 2)

The problem happens if top is set. If not, then the correct plot is generated. You can simply remove the top parameter in the above example to get the correct plot. It's also concerning to see
Warning messages:
1: In min(x) : no non-missing arguments to min; returning Inf
2: In max(x) : no non-missing arguments to max; returning -Inf

when top is used.

Hi,

Using top argument only applies to mutations. Reason being, in GISTIC results, frequent CNV alterations that are found across all the samples in a cohort belong to passenger genes, which often have no functional impact. If you're reading CN data with mutation data, these genes always come up as top altered (mutated/CN altered). To avoid this, oncoplot with top argument chooses genes based on mutation frequency rather than CN frequency.

For example dataset from vignette, top altered genes are largely passenger genes which have no functional impact in AML, and they are due to CN deletion. To avoid this bias, top argument chooses genes based on  MutatedSamples rather than AlteredSamples.  I will suppress them. They are due to NA's in the plot matrix - which are plotted in gray color.

Oh, it is by design. I wasn't expecting it. Perhaps it should be described on the documentation page. Reading the description of top doesn't explicitly state that. It refers to "top genes" but I wouldn't guess that all-CNV genes are excluded just from reading it. Or, it could be discussed in Details.

Yes, makes sense. I will update the docs before the release.
Thank you.


Added support for custom excerpt

Pretty self-explainatory
I left the truncate words for the custom excerpt, too.

@LorenzoLeonardini Thanks ;)


Subset search functions for native cube views

It would be nice to have search functions in the ViewService to find all views that reference a subset.
Kinda similar to the search functions in the ProcessService
https://github.com/cubewise-code/tm1py/blob/7358f7bf7d372b18fb82f93a36336aa79304c8cf/TM1py/Services/ProcessService.py#L93

closed with #752


Documentation update request for CentOS 7 + selinux enforcing

Panel or Daemon: Panel
Version of Panel/Daemon: 0.6.4
Server's OS: CentOS 7.4
Your Computer's OS & Browser: CentOS 7.4

Add Details Below:
Not a technical request, just a documentation update request.
The server I installed the panel on has SELinux running.  I had to do the following to get SELinux to play nice with the panel:
cd /var/www/html/pterodactyl/storage/
chcon -R -t httpd_sys_rw_content_t app/ debugbar/ framework/
chcon -R -t httpd_log_t logs/

setsebool httpd_can_network_connect=1

I figured I'd provide this info in case anyone else needed it - maybe it could be added to the docs?

Please use the Suggest Edits at the top right of the docs, thank you.

@parkervcp might add this to the CentOS specific docs in the guides.

I actually ended up disabling SELinux entirely.  Even in permissive mode, I couldn't start any servers - Docker kept giving me permission denied errors.
So, it might be better to make a note about disabling SELinux entirely, rather than the original steps I proposed.


Make kueue image multiarch

What would you like to be added:
Make kueue image multiarch for x86 and arm
Why is this needed:
To be able to run in any environment.
Completion requirements:
This enhancement requires the following artifacts:

[ ] Design doc
[ ] API change
[ ] Docs update

The artifacts should be linked in subsequent comments.

/priority backlog
/help

@alculquicondor Hi.
I'm interested in this. Does this mean multi-platform image?

Yes :)
You need to find a way to do that from the Makefile and Dockerfile

@alculquicondor Thanks for clarifying. Can I take this?

Yes, just write /assign in a comment.

/assign


⚠ Bofrost.lu has degraded performance

In 44c0671, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2570 ms

Resolved: Bofrost.lu performance has improved in 3b0e5ab after 6 minutes.


Set biom->type in BIO_METH_new

Merging master to 1.1.0 - it looks like a line was missed in the cherry pick.

It's probably worth messaging to the community - this caused some failures in interesting ways.  We caught it due to SSL_get_fd(ssl) returning -1 on a custom BIO we installed for instance.

Why is this not merged yet?

Thanks for the nudge; sometimes things slip through the cracks.  Sorry we didn't get it in the recent release.


fix: use identifier for seed tables

Description
Issue: When using the macro generate_alias_name the table created by the seed does not use the alias but the model name, leading to a wrong table name.
Models used to test - Optional

Checklist

[x] You followed contributing section
[x] You added unit testing when necessary
[x] You added functional testing when necessary

@Jrmyy consider to merge this one first https://github.com/dbt-athena/dbt-athena/pull/242


New to GitHub and JS

Hello!
I am not sure if anyone is going to see this, but can anyone recommend good places to practice and run my own JS code? I am super new to learning JS and right now I am just writing code on online websites. Also, is this the best place to ask questions when I am having trouble with my code?
Thanks!

Hello,
Super new to this again, but I am teaching myself JS and learning different concepts. I was wondering how these concepts are applied to doing something other than seeing the results in the console.log area? How can I use the concepts and basic code that I am writing to do something other than just seeing if it runs?
Thanks again!


[FR] Define Custom Volume Entity

I would like to be able to associate the volume slider with a separate entity (in my case, an AV receiver)
Currently I can assign custom volume buttons to it, but not the slider.
I would think a new config option e.g. volume_entity and if present it overrides the media player as default volume control endpoint would do the trick.

You should be able to already do this using the media_player_id input. After forking this project all commands previously made using media_player.play_media and media_player.change_source were changed to remote.send_command and remote.turn_on, leaving the volume slider as the only entity that still used the media player entity. Try setting media_player_id to your AV receiver media player entity ID. I just tried it and it worked fine.


Rename Model to Topics

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/293
Originally created by @mbergeron on 2019-01-16 20:31:45

We still refer to the model but we need to change this term because it makes no more sense.
We need to come up with a term that serves as the grouping unit for designs.

[ ]  Remove from UI - > bigger refactoring to follow - just change to 'topics' for now

View 7 previous comments from the original issue on GitLab


Core ML: function support

Core ML has added support for storing multifunction models of type mlprogram in iOS18 / macOS15. Each function is an independent graph/program, that may point to shared weight blobs.
Representationally it uses this proto message at the model level to encode multiple functions, and then within the mlprogram proto, it uses block specializations as dictionary from function name to the function / program itself.
Xcode UI displays the model using a toggle as show below

It would be great if Netron could also add a toggle to switch between multiple functions (when more than 1 is present)
Please find attached a sample model that has been generated by the code here.
combined_adpater_models.mlpackage.zip

Examples:
https://github.com/user-attachments/files/15793898/combined_adpater_models.mlpackage.zip

@aseemw can you validate the latest changes at TIP?
Questions:

Is there an example using functions in the main graph?
Would program.functions.main be listed in the functions section or is it a special case for model.description?
Are functions supported in class non-program model?

can you validate the latest changes at TIP?

Sure! Where can I find instructions to build Netron from source?

Are functions supported in class non-program model?

No, only for mlprograms

Would program.functions.main be listed in the functions section or is it a special case for model.description?

In the case of a single main function in program.functions.main , it wont be present in the model.description.functions.
So only when model.description.functions is a non empty list, you would find the corresponding function names as keys in  program.functions

Is there an example using functions in the main graph?
What do you mean by that?

Sure! Where can I find instructions to build Netron from source?

See CONTRIBUTING.md

Is there an example using functions in the main graph?

What do you mean by that?

The attached example contains only two functions, not a main function or how a function is invoked from another part of the graph?

The attached example contains only two functions, not a main function or how a function is invoked from another part of the graph?

Right, when there are more than 1 functions, it's not necessary for the main function to be present.
And right now the functions are independent , there is no way to invoke another function from within a function.

See CONTRIBUTING.md

Got it!
I tried it. The multifunction support looks good, other than maybe good to call the field "function" instead of "graph"

And right now the functions are independent , there is no way to invoke another function from within a function.

Is there a way to invoke a function from the main graph or are functions only ever invoked from code? For example, a package with functions is more a way to package multiple graphs into a single file, not a way to add structure to model files?

And right now the functions are independent , there is no way to invoke another function from within a function.

Is there a way to invoke a function from the main graph or are functions only ever invoked from code? For example, a package with functions is more a way to package multiple graphs into a single file, not a way to add structure to model files?

Is there a way to invoke a function from the main graph or are functions only ever invoked from code? For example, a package with functions is more a way to package multiple graphs into a single file, not a way to add structure to model files?

" are functions only ever invoked from code" --> this one
" more a way to package multiple graphs into a single file" --> yes, and so to also allow those multiple graphs to share weights more seamlessly.


Windows version

Awesome project, I hope it'll get traction and be popular ! Anyhow, a Windows version would be really nice. Is it on the tracks ? Is there some particular issues to work around to get it to work on Windows ?

Anyyy Update?

+1

+100 :)

+1000

+10000 :)

+10

+1000000000^100000

Guys, seriously, this does not help and just spam everybody inboxes. Please only comment if you have something more interesting to say than "+1" or whatever.

+1
Agreed, the amount of emails I'm getting over this is ridiculous.

+1 we are accepting contribution.
On Wed, Jan 28, 2015 at 12:06 PM, Cody Kaczynski<EMAIL_ADDRESS>wrote:

+1
Agreed, the amount of emails I'm getting over this is ridiculous.
—
Reply to this email directly or view it on GitHub
https://github.com/breach/breach_core/issues/90#issuecomment-71905682.

--
http://ithoughtyouweretherobot.com
Metal and Wire
http://nolonelyguineapigs.com/
Wandering and Rambling
http://morglog.org
Old and Neglected.
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: OpenPGP.js v.1.20121007
Comment: http://openpgpjs.org
xsBNBFG3btUBB/9+/WJNOSIuc/praKPaPOweqXV5s7PGRD+HAnNWF/19YAY3
AFtfeoelhhY4sMJoobTaJzcZojznZ1kl/7UuuYCnbJO3Z9kaSMVrVxEZMSLe
YmW8Hc4ZsTnl9f05DQFy8ABpAvMLmXJQXh63BbfzjFqNbSWQfLhrubSM2Elq
xmN6EsmRyAuEeYlSnal+Di2MlViohpCbbagE2D6AZTUECIamTib6+DuLG4XO
b4GGKHR9TXu2qS1VH6hqcvdEz2MDE5OqZzAnBgcF2dvcOdTk9gAOoR1T+qKj
IJtg2X0ETbxcPqEXQoXE8VrxN0MLT5JQKTg26+csU4P2w0rEWsUsJombABEB
AAHNJU1vcmdhbiBBbGxlbiA8bW9yZ2FucmFsbGVuQGdtYWlsLmNvbT7CwFwE
EAECABAFAlG3btwJEG9pFLKaVEfeAAD7hwf+K8LN/kfgi8GTRLiTcuM+hSbm
uAeiBY+VaJIQFLzoFlt8A0hBlLNPFNNmUDxdPrMErdHgZ7HtJW/6RANuBTti
5hr3EBguH1GQyK7BbUqJGvaEX4UNRej3uyX3ufXDsIB/3NsKaTyyu+SO0+Hv
Cn2DwmlfSXcPhoarx6Turizn/WwgtTN3tqrMWxxiCKWydLH5xYuz+23BLMdc
oF/zkbF+7ddFhmyfiFh4Ej9//tsfwPj2cACU3uLTrcwCo7IxUtkrqMF/fhlm
LEqjhzDDjq9v7GNWb/5xB2xgTaucJ7/ljuS8nPlZqwCI8NlTgSqC8nyVLyjS
yVtOzkItcS0UqyW1Mg==
=V/Ia
-----END PGP PUBLIC KEY BLOCK-----

Hi guys. A little update on that. I haven't had all the time I wanted in the past weeks.
Thrust which was the new techno stack for breach was intended to be a chromium shell that supports webviews. Doing so we incited the folks at atom-shell to add webviews as well. So it'll be better to join forces with them. Bottom line, thrust will probably become an atom-shell wrapper so that it can be used with vanilla node / io.js. This does not require a lot of work as we already had such prototype months ago.
Once last thing that is needed from atom-shell to implement a proper browser is the ability to manage cookies and sessions. This requires quite more work and is tracked here: https://github.com/atom/atom-shell/issues/959. Once we land that (and I don't know when it'll be) we can go back to breach and refactor it on top of this new stack.
I'm pretty busy right now unfortunately, so I can't make any promises about when it'll be. Breach is therefore going in cryogenic statis. But it'll eventually wake up (esp. if you contribute!). We all want different stuff from a browser, we've seen it with Vivaldi. It's exciting to see new implementations, but it also feel like we'd like to build our own stuff. It seems that one size does not fit all and that's why Breach is exciting and will eventually come back!
Hope it helps.
Up and to the moon.

+1 It's spamming my webmail

+1 Yes it does!

+15, going to check Thrust

+100 @dittoslash dont spam!! +100

My inbox is full of Windows Version now!!

+1000 wtf?? :open_mouth:

Alright, we dont need anymore '+1'|'+100", The developers already know that we all need one.

One more +532895892375892376982376 comment and I never will come back to test/support this project. You do harm this project with spamming guys. And yes sorry I know my comment is not needed as well but when I get hundreds of mails with only senseless spam it's going on my nerves...

so just build the damn windows binaries and do your other stuff later on? after this you will NEVER get this "+1" emails again?!?!

if only 10% of +1 people was involved in the development i think all was build
people who work on this porject do it in their spare time and this is their project so they plan the workflow and what to do and when
if someone is hurry he can only start to contribute actively to the project and don't cry as a child to have a new toy, alternatively stop to waste thei time and wait
Thank to the contributors for all their work

+1000 wtf??

so just build the damn windows binaries and do your other stuff later on? after this you will NEVER get this "+1" emails again?!?!

Oh wow.

You can also contribute with a bounty:
https://www.bountysource.com/issues/3077134-windows-version

Can you explain what you re doing with thrust right know on http://breach.cc/? because i spend some days to search after the evolution of the project without knowing it was stop

I'd like to contribute, C# or JS.

(https://github.com/breach/breach_core/issues/90#issuecomment-65096106)[Looks like he needs help with the C++ end] @jeromeyers

@bradgearon, you should come check this out...

+9001

Any news so far?


Issue 23163

Need to update the taxon constraints - see https://github.com/geneontology/go-ontology/pull/23165


Add support for prettier-eslint

https://github.com/kentcdodds/prettier-eslint

This will let me get rid of my git hooks!

This would be fantastic!

There are more project which you may consider
projects

Some thoughts about prettier-eslint:
I would expect people using eslint to also have the Eslint extension. So I think it would be possible to call eslint.executeAutoFix after having run prettier. (Cross-extension call)

It's done by https://marketplace.visualstudio.com/items?itemName=RobinMalfait.prettier-eslint-vscode
Closing

Has this been removed from the vscode extension store?
Suddenly disabled in my editor and I can't find it in the list anymore:

@batjko I removed the prettier-eslint extension from the store.
Good news: You can enable prettier.eslintIntegration using this plugin! So there was no need to keep supporting that other extension.

@RobinMalfait Well that's good to know. I'm a little taken aback that an extension can just be uninstalled from my local editor without my knowledge. Some deprecation announcement would have been nice as well.

@batjko There was a deprecation notice, after that I removed it.

I add two extension to market-place. It just prettier-vscode patched for  use semistandard or standard in place of eslint

https://marketplace.visualstudio.com/items?itemName=bysabi.prettier-vscode-semistandard
https://marketplace.visualstudio.com/items?itemName=bysabi.prettier-vscode-standard

This is the patcher: https://github.com/bySabi/patch--prettier-vscode

@RobinMalfait Sorry I didn't see anything in the editor. Was it just on Github or something?
I don't think people can be reasonably expected to regularly revisit all their extension's homepages just to check if they may get removed soon.
Anyway, it's not a big deal, but clearly communication for such cases could be better - perhaps a notification inside the editor?

@batjko I will do that the next time, if I have no other things to do ;)

That make me think, we should update JavaScript formatter ...
@batjko I'm surprised vscode silently uninstalled a deprecated extension, instead of just preventing it's installation.

@batjko I'm surprised vscode silently uninstalled a deprecated extension, instead of just preventing it's installation.

So was I. I was wondering why my code suddenly doesn't get re-formatted anymore. I check my extensions and it was simply gone. It's not a necessarily an issue with this extension, but with how VSC handles the deprecation of extensions, if this is possible.


Added my site

Excited to join the webring, there are a lot of awesome sites in here :)

Seems this site and user no longer exist.

Incomplete PR.


AIC text

Codecov Report

Merging #542 into master will increase coverage by 0.60%.
The diff coverage is 57.14%.

@@            Coverage Diff             @@
##           master     #542      +/-   ##
==========================================
+ Coverage   90.37%   90.97%   +0.60%
==========================================
  Files          22       22
  Lines        1621     1607      -14
==========================================
- Hits         1465     1462       -3
+ Misses        156      145      -11

Flag
Coverage Δ

#unittests
90.97% <57.14%> (+0.60%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

lineage/plotTree.py
0.00% <0.00%> (ø)

lineage/states/StateDistributionGaPhs.py
84.21% <ø> (+1.15%)
:arrow_up:

lineage/states/StateDistributionGamma.py
98.98% <ø> (+1.90%)
:arrow_up:

lineage/states/StateDistributionGaussian.py
77.50% <50.00%> (+1.94%)
:arrow_up:

lineage/CellVar.py
97.75% <100.00%> (+0.02%)
:arrow_up:

lineage/LineageInputOutput.py
73.28% <100.00%> (ø)

lineage/states/stateCommon.py
95.08% <0.00%> (+4.91%)
:arrow_up:

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 8702800...8c97b99. Read the comment docs.


Please tell me how to realize the visualization shown in Figure 6？Thank U

Thanks for your interest in our work. We draw the bounding boxes and trajectories using Open-CV in Python. Specifically, we use the cv2.rectangle() for bounding boxes, cv2.line() for the trajectory, and cv2.addWeighted() to create the transparent coloured boxes. We're not releasing the visualization code, but you should be able to create the same visualization with a combination of these functions.

I'm a rookie, so I don't know how to use Open-CV for programming. Can you share the source code of the visualization part with me? If you can, I will be very grateful. This is my email<EMAIL_ADDRESS>


[helm values] Add note on evict-local-storage-pods

Setting it to true causes:
Error: unknown command "true" for "descheduler"
Run 'descheduler --help' for usage.
unknown command "true" for "descheduler"

This is confusing as other references to this parameter (outside of helm) do ask you to set it to true.
Would be better to just accept the value here, but for now this is what I can help with.

that's odd that it doesn't work, did you also get this error when setting it to true (without quotes)?

That's actually what I set, and I don't think I tried it with quotes

/retest

ERROR: failed to create cluster: failed to pull image "kindest/node:v1.21.4": command "docker pull kindest/node:v1.21.4" failed with error: exit status 1

Opening https://github.com/kubernetes/test-infra/pull/23570

/test

/test all

/test all

/test all

/test pull-descheduler-test-e2e-k8s-1-21-1-21

/lgtm
/approve

@damemi and @ingvagabund any idea why the CI bot thinks test pull-descheduler-test-e2e-k8s-1-21-1-21 needs to be run? From what I can tell it should not be running this job for the master branch. See https://github.com/kubernetes/test-infra/blob/master/config/jobs/kubernetes-sigs/descheduler/descheduler-presubmits-master.yaml.

@seanmalloy that is weird, maybe closing and reopening this will help?
/close

/reopen


NPM Extractor not calling "npm config fix" for npm >= 9

Describe the bug
When using the rtNpmInstall var from the jenkins-artifactory-plugin using NPM >= 9, we get the following error:
Invalid auth configuration found: _auth must be renamed to //{artifactory server}/artifactory/api/npm/:_auth in project config\nPlease run npm config fix to repair your configuration.`
According to JFrog documentation, the "npm config fix" command should be run after creating the .npmrc file. (https://jfrog.com/help/r/artifactory-changes-to-the-login-behavior-in-npm-v9/users-authenticating-with-the-npm-login-command)
There seems to be no hook for us to run this, and it seems like something the plugin should run.  The best that we can tell, the plugin uses this repository to write that .npmrc file (https://github.com/jfrog/build-info/blob/master/build-info-extractor-npm/src/main/java/org/jfrog/build/extractor/npm/extractor/NpmBuildInfoExtractor.java#L192C25-L193C86).
Maybe this command should be run here: https://github.com/jfrog/build-info/blob/master/build-info-extractor-npm/src/main/java/org/jfrog/build/extractor/npm/extractor/NpmBuildInfoExtractor.java#L73.
To Reproduce
Create a jenkins pipeline with a rtNpmInstall step.
Expected behavior
The pipeline should properly run "npm i" without errorying about auth.
Screenshots

Versions

Artifactory Version: 7.55.10
jenkins-artifactory-plugin Version: 3.18.1
build-info Version: 2.41.7

Additional context
Add any other context about the problem here.

Created #787 which should handle this. Reliant on maintainers to approve and merge.


Add new logo to navbar, its in the video folder in shared drive, if it doesn't center let them know asap so they can get designer to change

done


Optional support for file timestamps

See original issue on GitLab
In GitLab by [Gitlab user @traveltissues] on Nov 21, 2019, 13:38
Background
Optional support for file timestamps in NodeProperty. This is required for incremental workspace builds in BuildStream. For non-incremental builds (and sources not providing timestamps such as git kinds) the magic timestamps will continue to be used.
This depends on support in buildbox-casd: https://gitlab.com/BuildGrid/buildbox/buildbox-casd/issues/40
This is considered DONE when:

[x] update protos (mirror changes in https://gitlab.com/BuildGrid/buildbox/buildbox-common/issues/32 and https://gitlab.com/BuildGrid/buildbox/buildbox-casd/issues/40)
[x] https://gitlab.com/BuildGrid/buildbox/buildbox-common/issues/32
[x] https://gitlab.com/BuildGrid/buildbox/buildbox-casd/issues/40
[x] update docker image for latest casd
[x] Optionally support timestamps in importing trees to cascache:

[x] support properties in CASCache.import_directory -> CaptureTree (casd implementation)
[x] add node properties to _partial_import_cas_into_cas
[x] if mtimes are requested, only copy files

[x] properties support in IndexEntrys

[x] optional on if source supports mtimes: BST_SOURCE_HAS_MTIME = True other sources should use magic times still

[x] Optionally support timestamps in staging trees from cascache

[x] support properties in _import_files_from_cas and set mtime if supplied
[x] support properties in export_files

[x] parse MTime property in CASCache.checkout

[x] sandboxes:

[x] stage_sources ->
[x] _stage_sources_in_sandbox ->
[x] _stage_sources_at ->
[x] sourcecache.export(source)
[x] CasBasedDirectory.import_files

[x] sourcecache.commit()

[x] CasBasedDirectory.import_files
[x] SourceCache.export
[x] CasBasedDirectory.export_files
[x] Source._stage

[x] test can stage with arbitrary mtime

In GitLab by [Gitlab user @traveltissues] on Nov 26, 2019, 15:23
mentioned in merge request !1726

In GitLab by [Gitlab user @traveltissues] on Nov 28, 2019, 09:58
changed the description

In GitLab by [Gitlab user @traveltissues] on Nov 28, 2019, 09:59
changed the description

In GitLab by [Gitlab user @traveltissues] on Nov 28, 2019, 13:00
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 11:45
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 11:46
marked the task Optionally support timestamps in importing trees to cascache: as completed

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 11:46
marked the task support properties in  import_files -> import_directory -> CaptureTree (casd implementation) as completed

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 11:46
marked the task Optionally support timestamps in importing trees to cascache: as incomplete

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 11:47
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 11:47
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 11:56
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 11:56
marked the task support properties in _import_files_from_cas and set mtime if supplied as completed

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 12:33
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 12:34
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 12:34
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 12:53
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 12:59
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 13:07
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 13:13
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 13:17
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 13:20
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 13:20
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 13:24
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 13:26
marked the task sandboxes: stage_sources -> _stage_sources_in_sandbox -> _stage_sources_at as completed

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 13:27
marked the task optional on if source supports mtimes: BST_SOURCE_HAS_MTIME = True other sources should use magic times still as completed

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 13:30
marked the task stage() workspace source as completed

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 13:36
marked the task parse MTime property in CASCache.checkout (filenode.node_properties) and set file mtimes as completed

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 13:38
marked the task support properties in export_files parse MTime property and as completed

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 13:39
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 14:42
marked the task properties support in IndexEntrys as completed

In GitLab by [Gitlab user @traveltissues] on Dec 2, 2019, 14:42
marked the task _partial_import_cas_into_cas as completed

In GitLab by [Gitlab user @traveltissues] on Dec 9, 2019, 12:59
mentioned in merge request !1761

In GitLab by [Gitlab user @traveltissues] on Dec 9, 2019, 13:00
marked the task support properties in CASCache.import_directory -> CaptureTree (casd implementation) as incomplete

In GitLab by [Gitlab user @traveltissues] on Dec 9, 2019, 13:00
marked the task _partial_import_cas_into_cas as incomplete

In GitLab by [Gitlab user @traveltissues] on Dec 9, 2019, 13:00
marked the task properties support in IndexEntrys as incomplete

In GitLab by [Gitlab user @traveltissues] on Dec 9, 2019, 13:00
marked the task optional on if source supports mtimes: BST_SOURCE_HAS_MTIME = True other sources should use magic times still as incomplete

In GitLab by [Gitlab user @traveltissues] on Dec 9, 2019, 13:00
marked the task support properties in _import_files_from_cas and set mtime if supplied as incomplete

In GitLab by [Gitlab user @traveltissues] on Dec 9, 2019, 13:00
marked the task sandboxes: stage_sources -> _stage_sources_in_sandbox -> _stage_sources_at as incomplete

In GitLab by [Gitlab user @traveltissues] on Dec 9, 2019, 13:00
marked the task support properties in export_files parse MTime property: parse MTime property in CASCache.checkout (filenode.node_properties) and set file mtimes as incomplete

In GitLab by [Gitlab user @traveltissues] on Dec 9, 2019, 13:00
marked the task stage() workspace source as incomplete

In GitLab by [Gitlab user @traveltissues] on Dec 9, 2019, 13:02
marked the task support properties in CASCache.import_directory -> CaptureTree (casd implementation) as completed

In GitLab by [Gitlab user @traveltissues] on Dec 9, 2019, 13:24
marked the task Optionally support timestamps in importing trees to cascache: as completed

In GitLab by [Gitlab user @traveltissues] on Dec 9, 2019, 13:24
marked the task properties support in IndexEntrys as completed

In GitLab by [Gitlab user @traveltissues] on Dec 9, 2019, 13:24
marked the task optional on if source supports mtimes: BST_SOURCE_HAS_MTIME = True other sources should use magic times still as completed

In GitLab by [Gitlab user @traveltissues] on Dec 9, 2019, 13:24
marked the task support properties in _import_files_from_cas and set mtime if supplied as completed

In GitLab by [Gitlab user @traveltissues] on Dec 9, 2019, 15:07
marked the task parse MTime property in CASCache.checkout as completed

In GitLab by [Gitlab user @traveltissues] on Dec 9, 2019, 15:20
marked the task support properties in export_files as completed

In GitLab by [Gitlab user @traveltissues] on Dec 10, 2019, 15:33
marked the task https://gitlab.com/BuildGrid/buildbox/buildbox-common/issues/32 as completed

In GitLab by [Gitlab user @traveltissues] on Dec 11, 2019, 14:01
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 11, 2019, 16:37
marked the task update protos (mirror changes in https://gitlab.com/BuildGrid/buildbox/buildbox-common/issues/32 and https://gitlab.com/BuildGrid/buildbox/buildbox-casd/issues/40) as completed

In GitLab by [Gitlab user @traveltissues] on Dec 11, 2019, 18:24
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 11, 2019, 18:25
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 11, 2019, 18:26
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 12, 2019, 13:04
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 12, 2019, 15:20
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 12, 2019, 15:20
marked the task CasBasedDirectory.import_files as completed

In GitLab by [Gitlab user @traveltissues] on Dec 12, 2019, 15:20
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 12, 2019, 15:22
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 12, 2019, 15:23
marked the task CasBasedDirectory._partial_import_cas_into_cas as completed

In GitLab by [Gitlab user @traveltissues] on Dec 12, 2019, 15:26
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 12, 2019, 15:27
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 12, 2019, 15:49
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 12, 2019, 15:57
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 12, 2019, 15:57
marked the task CasBasedDirectory.import_files as completed

In GitLab by [Gitlab user @traveltissues] on Dec 12, 2019, 15:59
marked the task CasBasedDirectory.export_files as completed

In GitLab by [Gitlab user @traveltissues] on Dec 16, 2019, 14:40
marked the task sourcecache.export(source) as completed

In GitLab by [Gitlab user @traveltissues] on Dec 16, 2019, 14:42
marked the task SourceCache.export as completed

In GitLab by [Gitlab user @traveltissues] on Dec 16, 2019, 14:42
marked the task Source._stage as completed

In GitLab by [Gitlab user @traveltissues] on Dec 16, 2019, 14:49
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 16, 2019, 14:51
marked the task _stage_sources_at -> as completed

In GitLab by [Gitlab user @traveltissues] on Dec 16, 2019, 14:51
marked the task _stage_sources_in_sandbox -> as completed

In GitLab by [Gitlab user @traveltissues] on Dec 16, 2019, 14:51
marked the task stage_sources -> as completed

In GitLab by [Gitlab user @traveltissues] on Dec 16, 2019, 14:51
marked the task sandboxes: as completed

In GitLab by [Gitlab user @traveltissues] on Dec 16, 2019, 15:44
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 16, 2019, 15:45
marked the task Optionally support timestamps in staging trees from cascache as completed

In GitLab by [Gitlab user @traveltissues] on Dec 16, 2019, 15:45
marked the task sourcecache.commit() as completed

In GitLab by [Gitlab user @traveltissues] on Dec 16, 2019, 15:49
changed the description

In GitLab by [Gitlab user @traveltissues] on Dec 17, 2019, 13:40
marked the task test can stage with arbitrary mtime as completed

In GitLab by [Gitlab user @juergbi] on Jan 13, 2020, 16:07
marked the task https://gitlab.com/BuildGrid/buildbox/buildbox-casd/issues/40 as completed

In GitLab by [Gitlab user @traveltissues] on Feb 3, 2020, 08:55
assigned to [Gitlab user @juergbi]

In GitLab by [Gitlab user @juergbi] on Feb 4, 2020, 07:06
marked the task update docker image for latest casd as completed

In GitLab by [Gitlab user @juergbi] on Feb 5, 2020, 17:13
closed via merge request !1761

In GitLab by [Gitlab user @juergbi] on Feb 5, 2020, 17:13
mentioned in commit 067ea76296a84620d2147dabdf1f3d0699c810d0


Terrific Performance subclass feature dropping at end of turn it is triggered

Bard College of Harlequin Terrific Performance is dropping at the end of the turn it triggers instead of the characters next turn.
Save is in combat with Bard up next if I recall. multiclass bard and sorc. also the text for the terrific performance shoes duplicates of a lot of the text when it procs and you mouse over the debuff.
Workshop campaign - Island of Domination
Bard-Terrific Performance issue.zip

@dolenam317

Game doesn’t have end of target turn. Best we can do is end of source turn.


False positive UnsafeCallOnNullableType when using e.g. exitProcess()

Code like
    if (projectPaths == null) {
        exitProcess(1)
    }

    // ...

    projectPaths!!.forEach { projectPath ->
    }

triggers UnsafeCallOnNullableType although projectPaths cannot be null at that point as exitProcess() never returns (it is marked to return Nothing).

I would just say it is planned. Ah full data flow analysis is impossible as you can extract sub routines which do the null check or some other checks -> performance flow downs.
It's a turned off rule to let you check all the locations if you want to refactor something.
Does intellij flag the !! As unnecessary?

Does intellij flag the !! As unnecessary?

No, it doesn't, it actually demands it (which I'd also consider a bug, in Kotlin itself). But you're right, this is probably too hard to fix on the detekt level.

@sschuberth Make sure your exitProcess has type Nothing and not Unit. Here is an example to show that Kotlin understand it correctly
    fun neverReturn(): Nothing {
        while (true) { }
    }

    fun testNever(testVar: List<String>?) {
        if (testVar == null) {
            neverReturn()
        }
        testVar.forEach { it.length }
    }

@MyDogTom As written in my initial post it does return Nothing, and it's not "my" exitProcess() but the one from kotlin.system.


chore: have bankSend accept from argument set to default as validator address

Closes #187
Refs: https://github.com/Agoric/BytePitchPartnerEng/issues/27
tooling improvements
Improve bankSend to accept a parameter as from. Set it to validator account by default so it won't break existing usage.

Not able to request review (gh disables it). Could you please take a look at this? @turadg

Let's make these improvements in agoric-sdk instead. That'll require https://github.com/Agoric/agoric-sdk/issues/10369
Meanwhile just make a library in z:acceptance
(I recently requested that a new bankSend in a PR be made compatible with the existing signature, which just meant to update it there)


Clarified a few confusing points with regards to dictation

@Karl-Bridge-Microsoft : PR passed acceptance checklist. Please evaluate further for technical accuracy, language, etc. Thanks!

I've updated almost 20 topics with similar verbiage using our publishing system. The updates include this particular topic. Please check our public docs again to ensure your requested updates are correct. Thanks!


Add an option which priors move transition than leave transition to <transition-group>

What problem does this feature solve?
When a child leaves, the children after that does not animate.
Reproduction link
It does not animate even if leave transitions are not set.
Reproduction link
Adding this feature will enable move transition when children are leaving.
What does the proposed API look like?
Add prefer-move-than-leave prop which takes true or false.
The default is false.
When it is false, it will behave as now.
When it is true, it will not do leave transitions but do move transitions.

Implemention
Add if (el._leaveCb) el._leaveCb() here.
https://github.com/vuejs/vue-next/blob/03ae3006e1e678ade4377cd10d206e8f7b4ad0cb/packages/runtime-dom/src/components/TransitionGroup.ts#L149-L157

Seems like it is possible by using position: absolute.
link


more clippy fixes

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit 63ffc6ae883f366ae008148c8e6fe93bbbd3a3b7 has been approved by ehuss

:hourglass: Testing commit 63ffc6ae883f366ae008148c8e6fe93bbbd3a3b7 with merge cb06cb2696df2567ce06d1a39b1b40612a29f853...

:sunny: Test successful - checks-azure
Approved by: ehuss
Pushing cb06cb2696df2567ce06d1a39b1b40612a29f853 to master...


Mini display for vendor.

Not really needed but could help some other vendors to monitor their machine by just looking at the display like showing the current sales, active users, ip and status.
One thing is the lcd display can be connected to different addresses for the i2c but the ssd1306 can't.
I'm doing this plan to my esp8366 wireless based machine using the source code but I don't have an esp32 modules that I could test for.
Thank you for reviewing this suggestion.

you can download juanfi manager for this one it has the things your looking for


Jaws screenreader doesn't read the braces

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.86.0
OS Version: windows 10/11, jaws 2024 and nvda 2023.3

Steps to Reproduce:

Write code containing braces like export const Navbar = () => {}.
Navigate through the code using the arrow keys with JAWS 2024 enabled.
Observe that JAWS does not read the braces as expected, it reads blank like they didn't exist.
Do insert shift 2 and change the punctuation jaws is reading to all the punctuation.
Check that jaws still doesn't read the braces.

This issue seems to have emerged in the latest version of VS Code, as previous versions worked fine with JAWS. Currently, NVDA appears to handle the code navigation correctly.

I didn't see that this one existed, closing issue.
https://github.com/microsoft/vscode/issues/200956


[Item Charges] Add Amulet of Chemistry and Bounty

Adds Tracker for Amulet of Chemistry Charges and Amulet of Bounty Charges

Fixes #9246
Closes #10781

I thought I rebased. but I guess I accidentally did a merge. 🤦♂

@dabolink I've squashed and force-pushed to your branch. These changes look good to go now.

Added Tracking of Amulet of Bounty as well

@Nightfirecat can you fixup the second bounty commit now too?


Update Composer dependencies (2021-06-01-00-11)

Visual regression test passed!
View the visual regression test report


Run clair with limited user

1>creat user clair
2>run clair with user clair

Coverage remained the same at 56.207% when pulling 8395c91bd198fb7329af387b56db7a9c212c93ae on yixingjia:noroot_clair into 10199c10efe5dff3479ddc174e287b34cb39b306 on vmware:master.

Coverage decreased (-0.008%) to 56.196% when pulling 111d1d75f426d6efd4fc856a7130251d5108b2b6 on yixingjia:noroot_clair into 7cd44e4eb639bf6afd420551e4f9d2661ba099b4 on vmware:master.

Coverage increased (+0.02%) to 56.22% when pulling 111d1d75f426d6efd4fc856a7130251d5108b2b6 on yixingjia:noroot_clair into 7cd44e4eb639bf6afd420551e4f9d2661ba099b4 on vmware:master.

Coverage increased (+0.02%) to 56.22% when pulling e9d1b89936a1e04cfddf3bd758a2d708b8be0684 on yixingjia:noroot_clair into 7cd44e4eb639bf6afd420551e4f9d2661ba099b4 on vmware:master.


[BUG] Multiple CMake errors when trying to run MenuConfig in VSCodeInsiders

Multiple cMake errors when trying to run MenuConfig of the cloned current repo, in VSCode studio.
ESP32S3
ESP-IDF 5.2.0
Windows 10

Executing action: confserver
Running cmake in directory C:\iot-reference-esp32c3\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=c:\Espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe -DESP_PLATFORM=1 -DCCACHE_ENABLE=1 C:\iot-reference-esp32c3"...
-- Found Git: C:/Espressif/tools/idf-git/2.39.2/cmd/git.exe (found version "2.39.2.windows.1")

-- Component directory C:/iot-reference-esp32c3/components/esp-aws-iot/libraries/common does not contain a CMakeLists.txt file. No component will be added
-- Component directory C:/iot-reference-esp32c3/components/esp-aws-iot does not contain a CMakeLists.txt file. No component will be added
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32s3
Processing 4 dependencies:
[1/4] espressif/cbor (0.6.0~1)
[2/4] espressif/esp_secure_cert_mgr (2.4.1)
[3/4] espressif/led_strip (2.5.4)
[4/4] idf (5.2.0)
---------------------------ERROR--------------------------
CMake Error at C:/Espressif/v5.2/esp-idf/tools/cmake/component.cmake:224 (message):
CMake Warning (dev) at build_properties.temp.cmake:8:
Syntax Warning in cmake code at column 106

-----------------------END OF ERROR-----------------------
-- Configuring incomplete, errors occurred!
See also "C:/iot-reference-esp32c3/build/CMakeFiles/CMakeOutput.log".
---------------------------ERROR--------------------------
Argument not separated from preceding token by whitespace.

Call Stack (most recent call first):
C:/Espressif/v5.2/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:3 (include)

This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Error at
C:/iot-reference-esp32c3/components/FreeRTOS-Libraries-Integration-Tests/CMakeLists.txt:11
(include):
include could not find requested file:

  C:/iot-reference-esp32c3/components/FreeRTOS-Libraries-Integration-Tests/FreeRTOS-Libraries-Integration-Tests/src/ota_pal_test.cmake

Call Stack (most recent call first):
C:/Espressif/v5.2/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:107 (include)
C:/Espressif/v5.2/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:127 (__component_get_requirements)

Call Stack (most recent call first):
C:/Espressif/v5.2/esp-idf/tools/cmake/build.cmake:578 (__component_get_requirements)
C:/Espressif/v5.2/esp-idf/tools/cmake/project.cmake:605 (idf_build_process)
CMakeLists.txt:7 (project)
-----------------------END OF ERROR-----------------------
---------------------------ERROR--------------------------
cmake failed with exit code 1, output of the command is in the C:\iot-reference-esp32c3\build\log\idf_py_stderr_output_15388 and C:\iot-reference-esp32c3\build\log\idf_py_stdout_output_15388
-----------------------END OF ERROR-----------------------
---------------------------ERROR--------------------------
SDK Configuration editor confserver process exited with code: 2
-----------------------END OF ERROR-----------------------

In the project folder, go to Components -> FreeRTOS-Libraries-Integration-Tests, and edit the CMakeLists.txt, and comment out the following line
# This gives OTA_PAL_TEST_SOURCES, and OTA_PAL_TEST_INCLUDE_DIRS
#include(${CMAKE_CURRENT_LIST_DIR}/FreeRTOS-Libraries-Integration-Tests/src/ota_pal_test.cmake)
After this MenuConfig worked.  It appears ota_pal_test.cmake was dropped 1/12 ago.

Hi @wreyford,
Thanks for bringing this to us! I'm looking into this and create PR as soon as I can.
Thank you again!

Hi @wreyford,
Could you help re-compile with #99? I fixed the issue locally, but I'd like to have your result with the change.
Thank you.

This issue should be resolved by #99. I'm closing it.
Feel free to reopen if it's not resolved with your finding.
Thank you.


Image tostring/fromstring methods replaced by tobytes/frombytes

In Pillow 3.0.0 some deprecated parts of the API have been removed (http://pillow.readthedocs.org/en/3.0.x/releasenotes/3.0.0.html#deprecated-methods). This pr replaces calls to tostring/fromstring with tobytes/frombytes.
this changeset might be not backward compatible with the older PIL implementation (I didn't verify) and it's been only verified to the extent of the tests coverage.

I just tried this on an Ubuntu 12.04 VM that has PIL installed. The calls to tobytes() fail.
I suppose we could deprecate support for PIL, but would it be better (for another release or so?) to continue to support it?

yes, PIL is probably only required when using the system python2 in some linux distributions, but a deprecation period may make sense.
do you think the rdkit conda recipe could anticipate these changes with a patch (conda users should have no issue in upgrading from PIL to the current pillow release)?

On Wed, Oct 21, 2015 at 3:44 AM, Riccardo Vianello<EMAIL_ADDRESS>
wrote:

do you think the rdkit conda recipe could anticipate these changes with a
patch (conda users should have no issue in upgrading from PIL to the
current pillow release)?

You mean apply the patch in the conda recipe?

yes, I could add a patch file to the conda recipe and apply these changes on the fly. Alternatively, I could specify some constraints in the rdkit package dependencies (at build-time at least, otherwise pillow 3.0.0 would be used causing some tests to fail).

I think going with the patch in the conda recipe makes sense for now.

I would prefer if this was merged with master since it fixes problems not just with anaconda but also on distros with up to date packages. I don't think that people using by (computing standards) ancient distro will go and update just their RDKit installation..

Point taken.
@rvianello: how about supporting both ways. I've attached an (basically untested) diff as a suggestion on how this might work.
frombytes.diff.txt
does this look reasonable/make sense?

yes, I think the proposed approach makes totally sense, I will send an update to the PR.


Crowdsourcing electric kettles

Who among the @hackseq/steering_committee can bring an electric kettle for brewing tea? I think we just need 2-3 kettles.
Santina and I can bring ours.

I can bring another one. Do we need power bars and extension cords as well?

Mm I guess for hackseq in general, we can bring whatever we think would be helpful. Kettles, extension cords, USB cords, USB keys, extra utensils, paper towel, etc.

I think two kettles is enough. And there are enough power sockets on the long table for both kettles.


chore: bdd-sbhg-1586739840 to 0.0.1

chore: Promote bdd-sbhg-1586739840 to version 0.0.1

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

Needs approval from an approver in each of these files:

OWNERS

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


Correct variable name in documentation sample code

Am I right about this?  Seems that the 'data' argument should be passed on down.  Documentation is important and this stymied me a bit when I looked at it.  Thanks!

@daniel347x Looks like you are correct! Thanks for the PR! 👍


create a release via github action, containing git hash in version

currently the release process is very good, but slightly complex, and not automated. ripme2app contains a github workflow, which uploads a binary as artefact on every build. this has three drawbacks. first, the jar is within a zip, second, the zip is hidden within the github action menu, and third, the version number is fixed, so it is difficult to tell if it is newer or not.
to upload, a github workflow action could be implemented, like done here releasing paru, which then [ends up in github releases].(https://github.com/Morganamilo/paru/releases)
a version number could be the last release tag, plus the count of commits since the last release, plus the git hash. the distance since the last release allows to determine what version is newer, e.g. 1.7.94.r13 is newer than 1.7.94.r11. it could be generated like this:
> git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
1.7.94.r11.g1742995e

another possibility would be to use some plugin which generates a build number, e.g.:

jgitver plugin, for maven or gradle
palantir plugin, for gradle
...

version calculation is done now with jgitver gradle plugin. does exist also for maven in case somebody wants to continue maintaining the mvn build.

a development build is published, but there is no notion of "branch" yet. e.g. "latest-", instead of "latest". or - produce it on branch "main" only.

@saladzic should we try a real release?

@soloturn I think it's time for a release ;)

@saladzic i tried but for a reason unknown to me jgitver does not detect the release tag when building. what i also do not find ideal is that we produce too many interim versions which may confuse people which one to download now ... what is your thought about it?

found how to throw these away, just delete the tags, e.g. with
git push origin -d <tag>


feature: Derive Display for all aries messages

Derives Display trait for all aries messages
Removed default Decorators type parameter D = NoDecorators - turned out somewhat problematic in conjunction with the custom Display proc macro. Not a big price to pay though, only slightly inconveniences developer working in messages crate, but not messages consumers.

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

Comparison is base (37019db) 0.05% compared to head (8b2bf0f) 0.05%.
Report is 1 commits behind head on main.

Files
Patch %
Lines

aries/messages/src/msg_parts.rs
0.00%
1 Missing :warning:

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1069   +/-   ##
=====================================
  Coverage   0.05%   0.05%
=====================================
  Files        471     471
  Lines      24009   24009
  Branches    4306    4302    -4
=====================================
  Hits          13      13
  Misses     23995   23995
  Partials       1       1

Flag
Coverage Δ

unittests-aries-vcx
0.05% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


General User & Admin Dashboard High Fidelity & Mobile Views

Follow Figma for dashboards
Complete mobile views for general and admin dashboards
Add country to right sidebar

/cib dashboard high

Branch 131-dashboard-high created!


Roll engine 58a1894a1cd7..e27a2e955bc3 (12 commits)

https://github.com/flutter/engine/compare/58a1894a1cd7...e27a2e955bc3
git log 58a1894a1cd7..e27a2e955bc3 --no-merges --oneline
e27a2e955 Dart SDK roll for 2018/09/07 (flutter/engine#6201)
93dac2a88 Always save canvas and correctly pass antialias boolean in ClipRects. (flutter/engine#6199)
16c56afb0 Roll src/third_party/skia 300b6197e344..094b3eaf479c (17 commits) (flutter/engine#6200)
2af72eb2c Don't map iOS reduce motion to disabled animations (flutter/engine#6194)
687cf08c7 Add option to invert paint colors to be used for smart invert accessibility on iOS (flutter/engine#6176)
85d47fb03 Accept file URIs as parameters in the RunInView service RPC (flutter/engine#6191)
5a19d7633 Roll src/third_party/skia 0b80e62a14ae..300b6197e344 (9 commits) (flutter/engine#6198)
f33615c15 Roll src/third_party/skia b090b2b26803..0b80e62a14ae (2 commits) (flutter/engine#6197)
75f6bdfd4 Revert "Dart SDK roll for 2018/09/06 (#6189)" (flutter/engine#6192)
b09563b2e Roll src/third_party/skia 106d04e907c1..b090b2b26803 (1 commits) (flutter/engine#6193)
e164e83a8 Reset the raster cache when the compositor context is created. (flutter/engine#6150)
f02fc8c10 Dart SDK roll for 2018/09/06 (flutter/engine#6189)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

@rmistry @liyuqian : New roll has been created by https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5353327579627520

Commit queue failed; closing this roll.


Website rewrite

This is not happening anytime soon, but this issue is here to note that it's something I want to do. Quick notes:

Should be SSR so that requests can be processed within the local network; client-side would both mean that JavaScript would be required to use the website (small con) and that some large responses would need to come from the server, which would eat bandwidth.
Should be written with some standard JS framework for better potential community support.
Should ideally be somewhat easily portable to some other framework if/when someone wants to rewrite this again.

Nevermind, I'm coupling this to #514 and doing it with Razor Pages or something. As more and more mogboard functionality is absorbed into Universalis, more pages will be able to be ported one-by-one to Universalis itself.

I see in #514 is closed now -- is there still a thought to rewrite the frontend?  Might be a good idea to split up the work on a page / feature-by-feature basis.

Yeah, I have this one under control, though. I've already written interfaces to the mogboard database, so I just need to finish wiring up some API endpoints and then copy/paste templates incrementally.

Completed, closing.


sha1 hex hash output does not match node crypto output

Hi, apologies if this is addressed somewhere and I've missed it, but I've searched to no avail so thought I'd bring it up here.
I've noticed that the default hash output does not match node's crypto output.
Example code:
const crypto = require('crypto')
const hash = require('object-hash')

const h1 = crypto.createHash('sha1').update('a').digest('hex')

console.log(h1)
// 86f7e437faa5a7fce15d1ddcb9eaeaea377667b8

const h2 = hash('a')

console.log(h2)
// 5534a68034d8b780cb8676def94b51f538c7a502

Unless I'm missing something (which is very possible!) I assume the output of the two functions should be the same, but they are not. This is a problem for the codebase I'm working on right now, as we need the sha1 hex hashes to match in web and node environments. Any possible hints on where I may be going about this wrong?
(Extra note: this problem originates from object-hash throwing an error with latest browserify & tinyify, due to some quirks with browserify standalone builds. see https://github.com/goto-bus-stop/browser-pack-flat/issues/39)

@ungoldman object-hash treats its input as JS values, not as strings, and it can’t hash strings as-is (without introducing the risk of a collision). object-hash should provide the same output when run in browsers and Node.js, though (unless the object contains some browser- or Node.js-specific values).

Thank you I think I understand now!
Did some digging and I see what's happening. 'string:' + string.length + ':' is getting prepended to the value with the _string method (https://github.com/puleos/object-hash/blob/master/index.js#L304-L307).
So
const val = 'a'
const output = crypto.createHash('sha1').update('string:' + val.length + ':' + val).digest('hex')
// 5534a68034d8b780cb8676def94b51f538c7a502

produces output matching a string fed to object-hash with default options.


Debian buster warns iptables-legacy tables present

When building the next version for Debian Buster the fail2ban tests warn about legacy IP tables, as Debian has switched from iptables to nftables (https://wiki.debian.org/iptables). Not sure what we should do with this as the right solution may depend on what is running on the host.

We can just ignore the warning in the tests (filter with grep) and hope that it works.
We can use update-alternatives in the container to select iptables, which should get rid of the warning and work well with hosts that are running iptables. Not sure what will happen if the host runs nftables though.
We can add a new configuration option that selects the proper implementation and allow end users to select the implementation (which is passed to update-alternatives). Then we can support hosts with iptables and hosts with nftables, but we add a new configuration option that people need to understand.
We can possibly try to figure out what the host is running and use the same implementation. Not sure how easy that is, but perhaps the presence of legacy rules could be enough?

Suggestions welcome! See https://github.com/docker/libnetwork/pull/2285 and https://github.com/docker/libnetwork/issues/2331. Note that this should only affect fail2ban, I don't think we use iptables for anything else.

It seems very surprising there is no Docker suggested way to handle this...
To keep compatibility with host, I would continue to use iptables in the container at least until a majority of distribution move to nftables. We should document this point as a requirement for the HOST.
Also, converting iptables rules to nftables is doable with iptables-translate. My opinion is Docker should manage this transparently (in a future release?), and we should not try to do it inside the container (your last proposal).
As a conclusion and to be sure everything will work as expected, I would go with the update-alternatives way.

I've implemented the update-alternatives approach for now, but it feels messy.


FE correctly shown as implausible for supported SP

Warn message determined to be correct
PGN 64923 with Supported SPNs 3516
13:45:53.7450 18FD9B00 [8] FF FE FF FF FF FF FF FF
Found: AFT 1 DEF Information 1 from Engine #1 (0):
SPN  3515, AFT 1 DEF Temperature 2: Not Available
SPN  3516, AFT 1 DEF Concentration: Error
SPN  3518, AFT 1 DEF Conductivity: Not Available
SPN  3519, AFT 1 DEF Temperature 2 Preliminary FMI: 31.000000
SPN  3520, AFT 1 DEF Properties Preliminary FMI: 31.000000
SPN  3521, AFT 1 DEF Property: 1111
SPN  7346, DEF Speed of Sound: Not Available
WARN: <IP_ADDRESS>.a - N.8 Engine #1 (0) reported value for SPN 3516 (ERROR) is implausible
Broadcast data that does not meet plausibility values shall not result in a determination that the data is not supported as is required by the SPN column.  The warning for invalid values shall suffice as the test outcome.  Where the plausibility value is listed as N/A, only the reception of FFFFh shall be considered a failure for not supporting the required data.  Received values of the error indicator (e.g. FE00h), shall be considered a plausibility failure and not a non-support failure.  With this understanding, broadcast data that does not meet the plausibility values need not be queried, as if they are noted as an on request parameter.
SP is supported for Datastream
SPN 3516 - AFT 1 DEF Concentration
Provided value in Part 1

Well done Matt!


test: zombienet launch

replace polkadot-launch with zombienet

Looks good! There are some missing port numbers, not sure if we need them

Yes, we can explicit declaring so to connect with polkadot-app to check info. But I would assume explicit one node for each chain should be enough to make config a bit clean


Publish TypeScript type definitions

TypeScript type definitions are lovely for learning a new library. I'd love to benefit from these here.

Hi there, sorry about the late response.
I agree that this would be helpful, but I don't use TypeScript for k6 scripts, and currently don't have the bandwidth to look into this. If someone else can contribute it, we'd be happy to merge it.

Hi, I have just made the definitions,
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/65750
What do you guys think?

Hi @leandrodotec, and thanks submitting that PR.
Unfortunately, after internal discussion, the team has decided to not support type definitions for k6 extensions, including xk6-sql. This means that we can't accept a PR that adds the definitions to the @types/k6 package, since it would add a maintenance burden we currently don't have the capacity for.
We're terribly sorry for the inconvenience and miscommunication. We encourage you to either create a secondary package in the DefinitelyTyped repo which you or someone else would maintain, or to add the definitions to a fork of this repo, and import them directly from there.
When, and if, this extension becomes part of the k6 repository, then we would consider adding the definitions to @types/k6, but not before. Thanks for understanding, and sorry again.


Update for version 0.16

Updated output of commands. Removed unneeded flags such as
--watch. Didn't resist the temptation to reword some parts.
Issue #1630

 You should sign our Contributor License Agreement in order to get your pull request merged.

You would make "life" easier with a more descriptive commit message heading.

Very nice update of the tutorial, @mdhender!  Awesome work!
I couldn't resist the temptation to have the tutorial immediately available on gohugo.io for 0.15 too, so I did a :%s/0\.16/0.15/g and committed that to the v0.15.docs branch.  :wink:
Merged as 09379e8 (master) and 8d93a10 (v0.15.docs)


New API Implementation

Followup to https://github.com/twitter/secureheaders/pull/181. As with the last PR, it's probably better to ignore the diff and look at the code directly.
The biggest change in this PR is the added support for "named overrides" - additional configuration objects that can be referenced by name. The header values are all precomputed so named overrides save the overhead of building a policy per request.
(from the readme
class ApplicationController < ActionController::Base
  SecureHeaders::Configuration.default do |config|
    config.csp = {
      default_src: %w('self'),
      script_src: %w(example.org)
    }
  end

  # override default configuration
  SecureHeaders::Configuration.override(:script_from_otherdomain_com) do |config|
    config.csp[:script_src] << "otherdomain.com"
  end

  # overrides the :script_from_otherdomain_com configuration
  SecureHeaders::Configuration.override(:another_config, :script_from_otherdomain_com) do |config|
    config.csp[:script_src] << "evenanotherdomain.com"
  end
end

class MyController < ApplicationController
  def index
    # Produces default-src 'self'; script-src example.org otherdomain.org
    use_secure_headers_override(:script_from_otherdomain_com)
  end

  def show
    # Produces default-src 'self'; script-src example.org otherdomain.org evenanotherdomain.com
    use_secure_headers_override(:another_config)
  end
end

This code is now running on github.com. I'll let it sit for a few days and release a 3.0 gem. I'll add an "upgrading to 3.0 wiki" entry in the meantime since it is very much a breaking change.


[ZEPPELIN-1670] Disabling login button double click.

What is this PR for?
This PR is for preventing double click login button.
What type of PR is it?
Bug Fix | Improvement
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1670
Screenshots (if appropriate)

Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

thanks for addressing it! it's quite annoying to have sometimes double click on login if taking sometime indeed. I tested locally and it worked as expected, however CI is failing so may need to check CI and refer to comment above as well.

@astroshim Thanks for the improvement. Tested and LGTM.
Merge to master if there're no further comments.


Configurable parser lookahead limit instead of a hard 10_000_000 cap

Getting multiple
thread '<unnamed>' panicked at 'the parser seems stuck', crates\parser\src\parser.rs:51:9

when enabling the UI_Xaml_Controls feature on the windows-rs crate (VSCode on Window 10). Min repro.
// crates/parser/src/parser.rs
pub(crate) fn nth(&self, n: usize) -> SyntaxKind {
    assert!(n <= 3);

    let steps = self.steps.get();
    assert!(steps <= 10_000_000, "the parser seems stuck");
    self.steps.set(steps + 1);

    self.token_source.lookahead_nth(n).kind
}

Tried raising it from 10 million to u32::MAX and it seemed to work. I think having this be configurable instead of raising the current 10 million limit would be more reasonable?

FWIW, we wouldn't have to increase that limit by much, only to 15M or so.

As mentioned in #10949, this doesn't actually make the limit configurable, but only bumps it a little. If the parser is really stuck, this makes it crash slightly later, and if it's not, this makes it work instead of crashing, so it's not so bad.


Music stops playing after clicking on loop "queue" or "now playing music"

On discord i receive "interaction failed" and in the terminal i receive this:
/home/ubuntu/musicbot/node_modules/discord.js/src/client/actions/InteractionCreate.js:50
if (channel && !channel.isTextBased()) return;
^
TypeError: channel.isTextBased is not a function
at InteractionCreateAction.handle (/home/ubuntu/musicbot/node_modules/discord.js/src/client/actions/InteractionCreate.js:50:33)
at Object.module.exports [as INTERACTION_CREATE] (/home/ubuntu/musicbot/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (/home/ubuntu/musicbot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:352:31)
at WebSocketShard.onPacket (/home/ubuntu/musicbot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:489:22)
at WebSocketShard.onMessage (/home/ubuntu/musicbot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:328:10)
at callListener (/home/ubuntu/musicbot/node_modules/ws/lib/event-target.js:290:14)
at WebSocket.onMessage (/home/ubuntu/musicbot/node_modules/ws/lib/event-target.js:209:9)
at WebSocket.emit (node:events:527:28)
at Receiver.receiverOnMessage (/home/ubuntu/musicbot/node_modules/ws/lib/websocket.js:1180:20)
at Receiver.emit (node:events:527:28)
Node.js v17.9.0

I'm having the exact same issue where it will randomly crash with this error.
Not an expert here, but from my understanding it seems that the error is caused by the Discord.JS itself?

@omgomghax I don't know what the problem was but redownloading the bot fixed it.


Added toml-sort tool

Added the toml-sort to pre-commit to keep things clean in pyproject.toml

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Hi @Wauplin, thanks for suggestions and being open! I think running toml-sort each make style/quality doesn't make sense because most of the time, sorting TOML files won't be relevant. Having this tool invoked each time will just slow the process down for local developers.
To share, this is something pre-commit is good at, because it has a files filter. However, pre-commit is oriented around single use, so think either always fixing or always checking. So it's hard to use the same config for one being make quality (read only) and one being make style (can write). It looks like the current pre-commit config here has some autofix rules like trailing-whitespace and runs ruff in check mode. It also seems the current pre-commit config is mostly unused.
I think the best path forward would be making two pre-commit configs:

One .pre-commit-config-check.yaml emulating make quality that is "read only"
Default .pre-commit-config.yaml emulating make style that can write

Then you just change make style and make quality to invoke pre-commit:
quality:
	pre-commit run --all-files --config .pre-commit-config-check.yaml

style:
	pre-commit run --all-files

What are your thoughts on this?

I think running toml-sort each make style/quality doesn't make sense because most of the time, sorting TOML files won't be relevant. Having this tool invoked each time will just slow the process down for local developers.

While I understand the concern of not slowing down too much the developer experience, I still think it's fine to run it on every make style/make quality. I did some measurements and those 2 commands take on average ~160ms and ~600ms respectively. Adding the toml-sort call would add 50ms in both cases which is still ok in my opinion. What takes the most time in make quality is mypy (by far) so an additional toml sort check is ok. For make stlye, let's add it and if we really see that it's taking too much time, we could have a make style with only ruff by default and a "make style-all" with the additional toml-sort and python scripts calls (for context, we have some under-optimized python scripts running on each make style which is the part that takes most of the 160ms described above). I don't say we shouldn't care about speed here but I think ~200ms is still reasonable. The advantage being that it would integrate with the current developer workflow.

Alright, I rebased the tool atop main.
For the most part, toml-sort is a "one time" tool -- 99.9% of the time it will be a no-op, so it seems wasteful to add it into every invocation of make style/quality/CI, even if it only takes 50-ms.
I guess I think adding three toml-sort invocations is worse than adding one into pre-commit, and having pre-commit skip over it because of the files filter.
I will leave this PR in your hands. I think it's fine to merge as-is, and just know the sorting will eventually go stale unless integrated in CI.


No video content in the learning paths.

Describe the bug
I strongly believe that adding videos to the content of these learning paths will enhance them and make the learning experience more engaging to learners. .
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
There are several benefits to using video content when explaining lessons or teaching new material:
Visual aids: Videos can include visual aids such as slides, demonstrations, and animations, which can help learners better understand and retain the information being presented.
Engaging: Videos can be more engaging than text-based content, as they offer a combination of visual and audio elements that can hold the learner's attention.
Convenient: Videos can be more convenient for learners, as they can watch them at their own pace and on their own schedule. This can be especially helpful for those with busy schedules or who prefer to learn at their own pace.
Accessibility: Videos can be more accessible for learners with disabilities, as they can be accompanied by closed captions or transcripts.
Personal touch: Videos can add a personal touch to the learning experience, as learners can see and hear the instructor or presenter. This can help establish a connection with the learner and make the material feel more relatable.
Additional context
Using video content can be a valuable addition to any lesson or educational material, as it can enhance the learning experience and make the material more accessible and engaging for learners...

🎓 Student Ambassador

You can find a lot of video content for learning Microsoft technologies;
If you are an ambassador, you can check the "Ambassador event" channel in MS teams for learning through videos. In this channel, student ambassadors host virtual events on various technologies of Microsoft and you can easily learn by attending these events.
You can also check other channels on Teams where Microsoft experts conduct events on different technologies of Microsoft.
You can check the workshop-library repo of Microsoft where different technologies of Microsoft are taught in detail along with video tutorials from Microsoft experts. The link is given below
https://github.com/microsoft/workshop-library
You can check out the MLSA website where the "Events" tab is available in the top section of the website, click on that and you will find a lot of events that are conducted in video format.
You can also check out "Microsoft Learn student Hub", "Microsoft Reactor Livestreams" and "Microsoft developer live streams" for video content on different topics. These resources can be found on the MLSA website.
You can also check MSFTImagine youtube channel for video content on different Microsoft technologies.
You can also check out the official Microsoft Youtube channel, Windows YT channel, Azure YT channel, Microsoft Reactor YT channel, and many other official channels associated with Microsoft technologies.


Unexpected Pauli composition result (sign reversed)

Compose of two Pauli operators gives unexpected sign:
from qiskit.quantum_info import Pauli
import itertools
for a, b in itertools.product('XYZ', repeat=2):
    print(f'{a} {b} -> {Pauli(a) & Pauli(b)}')

gives:
X X -> I
X Y -> -iZ
X Z -> iY
Y X -> iZ
Y Y -> I
Y Z -> -iX
Z X -> -iY
Z Y -> iX
Z Z -> I

when we naively expects, for example XY = iZ. This is also confirmed by:
(Pauli('X').to_matrix() @ Pauli('Y').to_matrix() == Pauli('iZ').to_matrix()).all()
# True

Is this reverse of sign intentionally? It seems difficult for me to find a documentation mentioning this as well.
Thanks!

Yes, that's how we define difference between "compose" and "dot" - compose (&) means "apply the left one, then apply the right one", whereas dot (@) is the mathematical matrix multiplication.
You're right though that the documentation isn't necessarily easy to find - you'd need to know that & is the syntactic sugar we decided to use for Operator.compose.  We do say it, but I do recognise it's not the best layout.  We've got a big internal effort to work on how we present our documentation, but it might take a little while to bear fruit.


Mockup: new approach on task creation

In the feedback system, the current concept of courses, tasks and task configurations is very much based on files and text. This is not the case for model evaluation. Therefore we try to develop a new approach for the creation of tasks.
We try to adapt and further develop the data structure from the feedback system.
The new representation will be created as a mockup.
It will contain all necessary windows for creating, reading, updating and deleting courses, tasks and configurations.

Task System maybe needs a rework later, but until then this ticket is closed


Start scan from current point after restart, soft-ban detection, and a shutdown function on banned

Soft-ban could be detected when get_map_objects response only have current_timestamp and cell_id, which will make a point processed without any pokemon and fort found. By counting how many times forts  result is empty, we could find out when a worker is banned. Right now worker thread will be terminated (I use word shutdown) when it get banned.
MalformedResponse exception currently is not in use. I put a try-except block when assign value of response_dict to map_objects and handle the TypeError exception.
I did this because response_dict have a NoneType when "server is busy or offline" and in this situation I think it's better if worker simply move to the next point and try to send another request rather than restart itself.  There is also "sequence index must be integer, not 'str'" error, happen when worker considered not logged in by pgoapi. Worker need an immediate restart and relogin on this error.
For now I just put banned_count in the try-except block to shutdown the worker if it keep getting TypeError. It's better to create a counter and count how many times this TypeError happen, especially sequence index error, and raise MalformedResponse to restart worker when it reach the limit.
--edit--
On pgoapi commit 8c1c176, api will raise NotLoggedInException instead of return NotLoggedInException. This will make "TypeError : sequence index must be integer, not 'str'" exception never happen again. NotLoggedInException exception handling added in try-except block in cycle while loop, will restart worker when this exception raised.
banned_count removed from TypeError exception handling.

This really is too many Features in a single PR. Especially since ban detection is already in master.

Ban detection in master only detect permanent ban (status_code=3), and will keep restart worker when BannedAccount exception raised.

Workers are restarting because we experienced some false positive with status_code 3. You can look at the discussion here : #244

Restarting because of some false positive with status_code 3, but then workers with permanent banned account will just keep restarting. On the newest commit, I even add permanent ban boolean status that set to true when response have status_code 3. Then if it's just false positive like what you said, will set to false after point is processed.


inject a component for src

instead of using src image, can i inject a component? like react-native-image-slider? etc

not available on current version.
May be next version.