Prompt [in vscode] not working properly after setting spaceship Theme in zsh

Current behavior
The integrated  terminal prompt is displaying ''gcloud' not found'kubectl' not found' after I set the ZSH THEME to spaceship. If I set it to any other theme, the prompt message disappears so I assume this is a spaceship issue and not a vscode or a wsl issue.
Expected behavior
Expected the prompt to just display the current working directory and not the gcloud and kubectl messages. Here's a screenshot of the prompt when I use a random theme

Relevant Zsh configuration (.zshrc)
# Your configuration here
# If you come from bash you might have to change your $PATH.
#  export PATH=$HOME/bin:/usr/local/bin:$PATH

# Path to your oh-my-zsh installation.
 export ZSH=$HOME/.oh-my-zsh

# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="spaceship"

# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in $ZSH/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"

# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"

# Uncomment the following line to automatically update without prompting.
# DISABLE_UPDATE_PROMPT="true"

# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13

# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"

# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"

# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"

# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"

# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder

# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git nvm zsh-completions zsh-autosuggestions)
autoload -U compinit && compinit

source $ZSH/oh-my-zsh.sh

# User configuration

# export MANPATH="/usr/local/man:$MANPATH"

# You may need to manually set your language environment
# export LANG=en_US.UTF-8

# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
#   export EDITOR='vim'
# else
#   export EDITOR='mvim'
# fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
fpath=($fpath "/home/sammy/.zfunctions")

  # Set Spaceship ZSH as a prompt
  autoload -U promptinit; promptinit
  prompt spaceship
source /mnt/c/Users/Hp/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

Environment
Spaceship version: <3.11.2> (use echo $SPACESHIP_VERSION)
Zsh version: 5.8
Zsh framework: oh-my-zsh
Zsh plugin manager: None
Terminal emulator: vscode integrated terminal on wsl
Operating system: Windows
Screenshot
Provide a screenshot that shows your issue.

Possible solution

I have the same issue right now..(Arch Linux)

Could you please make sure those files are available under sections/ directory ? If those exists, please attach output after setting setopt xtrace verbose.

I reinstalled zsh and spaceship prompt. Everything is working well for me now. @1Jo1 let me know if you have resolved the problem on your end as well so that I can close the issue

yeah it works :)


kafka rebalance with a failure broker needs repair when online

I started 4 brokers , created topic with rep 3 and then add 3 more brokers and did rebalance, during that one of the brokers (id==0) died and error in partitions on status, mesos restarted broker 0 (woo hoo) but then when i ran it again it all went to replication 4 and need to have it back to 3 spread evenly.

# ./kafka-mesos.sh add 0..3
Brokers added

brokers:
  id: 0
  active: false
  state: stopped
  resources: cpus:0.50, mem:128, heap:128
  failover: delay:10s, maxDelay:60s

  id: 1
  active: false
  state: stopped
  resources: cpus:0.50, mem:128, heap:128
  failover: delay:10s, maxDelay:60s

  id: 2
  active: false
  state: stopped
  resources: cpus:0.50, mem:128, heap:128
  failover: delay:10s, maxDelay:60s

  id: 3
  active: false
  state: stopped
  resources: cpus:0.50, mem:128, heap:128
  failover: delay:10s, maxDelay:60s

# ./kafka-mesos.sh start 0..3
Brokers 0,1,2,3 started

# bin/kafka-topics.sh --zookeeper master0:2181 --topic TESTING --create --replication-factor 3 --partitions 12
Created topic "TESTING".

# ./kafka-mesos.sh add 4..6
Brokers added

brokers:
  id: 4
  active: false
  state: stopped
  resources: cpus:0.50, mem:128, heap:128
  failover: delay:10s, maxDelay:60s

  id: 5
  active: false
  state: stopped
  resources: cpus:0.50, mem:128, heap:128
  failover: delay:10s, maxDelay:60s

  id: 6
  active: false
  state: stopped
  resources: cpus:0.50, mem:128, heap:128
  failover: delay:10s, maxDelay:60s

# ./kafka-mesos.sh start 4..6
Brokers 4,5,6 started

# bin/kafka-topics.sh --zookeeper master0:2181 --topic TESTING --describe
Topic:TESTING PartitionCount:12 ReplicationFactor:3 Configs:
  Topic: TESTING  Partition: 0  Leader: 1 Replicas: 1,3,0 Isr: 1,3,0
  Topic: TESTING  Partition: 1  Leader: 2 Replicas: 2,0,1 Isr: 2,0,1
  Topic: TESTING  Partition: 2  Leader: 3 Replicas: 3,1,2 Isr: 3,1,2
  Topic: TESTING  Partition: 3  Leader: 0 Replicas: 0,2,3 Isr: 0,2,3
  Topic: TESTING  Partition: 4  Leader: 1 Replicas: 1,0,2 Isr: 1,0,2
  Topic: TESTING  Partition: 5  Leader: 2 Replicas: 2,1,3 Isr: 2,1,3
  Topic: TESTING  Partition: 6  Leader: 3 Replicas: 3,2,0 Isr: 3,2,0
  Topic: TESTING  Partition: 7  Leader: 0 Replicas: 0,3,1 Isr: 0,3,1
  Topic: TESTING  Partition: 8  Leader: 1 Replicas: 1,2,3 Isr: 1,2,3
  Topic: TESTING  Partition: 9  Leader: 2 Replicas: 2,3,0 Isr: 2,3,0
  Topic: TESTING  Partition: 10 Leader: 3 Replicas: 3,0,1 Isr: 3,0,1
  Topic: TESTING  Partition: 11 Leader: 0 Replicas: 0,1,2 Isr: 0,1,2
root@master0:/vagrant/

# ./kafka-mesos.sh rebalance 0..6
Rebalance started:
TESTING
  0: 1,3,0 -> 6,5,0 - running
  1: 2,0,1 -> 0,6,1 - running
  2: 3,1,2 -> 1,0,2 - running
  3: 0,2,3 -> 2,1,3 - running
  4: 1,0,2 -> 3,2,4 - running
  5: 2,1,3 -> 4,3,5 - running
  6: 3,2,0 -> 5,4,6 - running
  7: 0,3,1 -> 6,0,1 - running
  8: 1,2,3 -> 0,1,2 - running
  9: 2,3,0 -> 1,2,3 - running
  10: 3,0,1 -> 2,3,4 - running
  11: 0,1,2 -> 3,4,5 - running

# ./kafka-mesos.sh rebalance status
Rebalance is running:
TESTING
  0: 1,3,0 -> 6,5,0 - running
  1: 2,0,1 -> 0,6,1 - running
  2: 3,1,2 -> 1,0,2 - running
  3: 0,2,3 -> 2,1,3 - running
  4: 1,0,2 -> 3,2,4 - running
  5: 2,1,3 -> 4,3,5 - running
  6: 3,2,0 -> 5,4,6 - running
  7: 0,3,1 -> 6,0,1 - running
  8: 1,2,3 -> 0,1,2 - running
  9: 2,3,0 -> 1,2,3 - running
  10: 3,0,1 -> 2,3,4 - running
  11: 0,1,2 -> 3,4,5 - running

# ./kafka-mesos.sh rebalance status
Rebalance is idle:
TESTING
  0: 1,3,0 -> 6,5,0 - error
  1: 2,0,1 -> 0,6,1 - error
  2: 3,1,2 -> 1,0,2 - error
  3: 0,2,3 -> 2,1,3 - done
  4: 1,0,2 -> 3,2,4 - done
  5: 2,1,3 -> 4,3,5 - done
  6: 3,2,0 -> 5,4,6 - done
  7: 0,3,1 -> 6,0,1 - error
  8: 1,2,3 -> 0,1,2 - error
  9: 2,3,0 -> 1,2,3 - done
  10: 3,0,1 -> 2,3,4 - done
  11: 0,1,2 -> 3,4,5 - done

# bin/kafka-topics.sh --zookeeper master0:2181 --topic TESTING --describe
Topic:TESTING PartitionCount:12 ReplicationFactor:5 Configs:
  Topic: TESTING  Partition: 0  Leader: 1 Replicas: 0,5,1,6,3 Isr: 0,5,1,6,3
  Topic: TESTING  Partition: 1  Leader: 2 Replicas: 0,6,1,2 Isr: 2,0,1,6
  Topic: TESTING  Partition: 2  Leader: 3 Replicas: 1,0,2,3 Isr: 3,1,2,0
  Topic: TESTING  Partition: 3  Leader: 2 Replicas: 2,1,3 Isr: 2,3,1
  Topic: TESTING  Partition: 4  Leader: 3 Replicas: 3,2,4 Isr: 2,3,4
  Topic: TESTING  Partition: 5  Leader: 4 Replicas: 4,3,5 Isr: 5,3,4
  Topic: TESTING  Partition: 6  Leader: 5 Replicas: 5,4,6 Isr: 5,6,4
  Topic: TESTING  Partition: 7  Leader: 3 Replicas: 6,0,1,3 Isr: 3,1,6,0
  Topic: TESTING  Partition: 8  Leader: 1 Replicas: 0,1,2,3 Isr: 1,2,3,0
  Topic: TESTING  Partition: 9  Leader: 2 Replicas: 1,2,3 Isr: 2,3,1
  Topic: TESTING  Partition: 10 Leader: 3 Replicas: 2,3,4 Isr: 2,3,4
  Topic: TESTING  Partition: 11 Leader: 5 Replicas: 3,4,5 Isr: 5,3,4

# ./kafka-mesos.sh rebalance 0..6
Rebalance started:
TESTING
  0: 0,5,1,6,3 -> 2,1,3,4 - running
  1: 0,6,1,2 -> 3,2,4,5 - running
  2: 1,0,2,3 -> 4,3,5,6 - running
  3: 2,1,3 -> 5,4,6,0 - running
  4: 3,2,4 -> 6,5,0,1 - running
  5: 4,3,5 -> 0,6,1,2 - running
  6: 5,4,6 -> 1,0,2,3 - running
  7: 6,0,1,3 -> 2,3,4,5 - running
  8: 0,1,2,3 -> 3,4,5,6 - running
  9: 1,2,3 -> 4,5,6,0 - running
  10: 2,3,4 -> 5,6,0,1 - running
  11: 3,4,5 -> 6,0,1,2 - running

# ./kafka-mesos.sh rebalance status
Rebalance is idle:
TESTING
  0: 0,5,1,6,3 -> 2,1,3,4 - done
  1: 0,6,1,2 -> 3,2,4,5 - done
  2: 1,0,2,3 -> 4,3,5,6 - done
  3: 2,1,3 -> 5,4,6,0 - done
  4: 3,2,4 -> 6,5,0,1 - done
  5: 4,3,5 -> 0,6,1,2 - done
  6: 5,4,6 -> 1,0,2,3 - done
  7: 6,0,1,3 -> 2,3,4,5 - done
  8: 0,1,2,3 -> 3,4,5,6 - done
  9: 1,2,3 -> 4,5,6,0 - done
  10: 2,3,4 -> 5,6,0,1 - done
  11: 3,4,5 -> 6,0,1,2 - done

# bin/kafka-topics.sh --zookeeper master0:2181 --topic TESTING --describe
Topic:TESTING PartitionCount:12 ReplicationFactor:4 Configs:
  Topic: TESTING  Partition: 0  Leader: 1 Replicas: 2,1,3,4 Isr: 1,2,3,4
  Topic: TESTING  Partition: 1  Leader: 2 Replicas: 3,2,4,5 Isr: 5,2,3,4
  Topic: TESTING  Partition: 2  Leader: 3 Replicas: 4,3,5,6 Isr: 5,6,3,4
  Topic: TESTING  Partition: 3  Leader: 5 Replicas: 5,4,6,0 Isr: 0,5,6,4
  Topic: TESTING  Partition: 4  Leader: 6 Replicas: 6,5,0,1 Isr: 0,5,1,6
  Topic: TESTING  Partition: 5  Leader: 0 Replicas: 0,6,1,2 Isr: 0,1,6,2
  Topic: TESTING  Partition: 6  Leader: 1 Replicas: 1,0,2,3 Isr: 0,1,2,3
  Topic: TESTING  Partition: 7  Leader: 3 Replicas: 2,3,4,5 Isr: 5,2,3,4
  Topic: TESTING  Partition: 8  Leader: 3 Replicas: 3,4,5,6 Isr: 5,6,3,4
  Topic: TESTING  Partition: 9  Leader: 4 Replicas: 4,5,6,0 Isr: 0,5,6,4
  Topic: TESTING  Partition: 10 Leader: 5 Replicas: 5,6,0,1 Isr: 0,5,1,6
  Topic: TESTING  Partition: 11 Leader: 6 Replicas: 6,0,1,2 Isr: 0,1,6,2

This should be fixed after merging rebalance-replication-factor PR.


focal filter not working with resizing

Maybe I'm not understanding how the focal filter works. My expectation is that I can define a focal point in the image and imagor will try to crop/resize around it. When I generate an image with different focal points, I get the same results.
Using docker run -p 8000:8000 -e VIPS_MAX_RESOLUTION=168000000 shumc/imagor -imagor-unsafe
These produce the same image:

http://localhost:8000/unsafe/575x335/filters:focal(4000x7000)/https://images.unsplash.com/photo-1663524789632-509f6250460c
http://localhost:8000/unsafe/575x335/filters:focal(10x10)/https://images.unsplash.com/photo-1663524789632-509f6250460c

I would expect them both to generate 575x335 images with the first focused on the lower right portion of the image and the second focused on the upper left portion. (the original is 4672x7008)

The focal filter currently only works when /smart/ applied:
First you find the crop region:
http://localhost:8000/unsafe/3000x5000:4000x6000/https://images.unsplash.com/photo-1663524789632-509f6250460c

which looks something like this:

Apply that focal region to smart cropping:
http://localhost:8000/unsafe/575x335/smart/filters:focal(3000x5000:4000x6000)/https://images.unsplash.com/photo-1663524789632-509f6250460c

Got it... thanks for the quick reply.
I was hoping to be able to just specify a single focal point, but it seems to have the desired effect if I define a very small rectangle (focal(9x9:10x10)).


Function body is not read correctly

For instance, pow_ad_eval_simpl2_mem.thorin from
https://github.com/NeuralCoder3/thorin2/blob/autodiff/lit/clos/pow_ad_eval_simpl2_mem.thorin
can not be read by thorin.
./build/bin/thorin ./lit/clos/pow_ad_eval_simpl2_mem.thorin -o - -VVVV

Directly produces the error
In def aug_f_745675_660796_216256:
Assertion "some operands are set, others aren't"' failed.
Filter: 0:(.Idx 2)
Body: <nullptr>

The error was that at some points the memory argument was not passed.
The error message seems to be at the wrong place / non-informative.

Ah, I just debugged it. Problem is that the filter has already been set but not the body. Thus, the assert. I'm considering removing this assertion as it causes more trouble and confusion than it actually helps.


License?

Hello,
I would like to fork this project and make a few cosmetic adjustments to the board. However, this project does not currently have a LICENSE file, so I'm not sure if this is allowed.
Under which license is this project distributed?
You can find more information about software licenses here: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository

MIT License added.  Thank you.


app fails with nested dirs in shared dir

Disclaimer: Most likely there could be my mistake than a bug in the setup as I'm new to angular2 and systemjs config
With the default directory structure the app works fine. But app fails to load when /shared directory contains nested directories
Steps to reproduce and a minimal demo of the problem
My dir structure looks like this
client
    ├── app
    │   ├── +about
    │   ├── +home
    │   ├── platform
    │   ├── shared
    │   │   ├── components
    │   │   │   ├── comment-panel
    │   │   │   ├── control-sidebar
    │   │   │   ├── diff
    │   │   │   ├── footer
    │   │   │   ├── health
    │   │   │   ├── name-list
    │   │   │   ├── navbar
    │   │   │   ├── section-header
    │   │   │   ├── sidebar
    │   │   │   ├── spinner
    │   │   │   └── toolbar
    │   │   ├── interfaces
    │   │   ├── models
    │   │   ├── pipes
    │   │   └── services
    │   └── status
    ├── assets
    │   ├── fonts
    │   ├── images
    │   └── svg
    └── css

Here's the barrel info in case it helps narrow down the problem
ex:
shared/index.ts
export * from './components/index';
export * from './services/index';
export * from './pipes/index';
export * from './models/index';

inside shared/components/index.ts
export * from './sidebar/index';

inside shared/components/sidebar/index.ts
export * from './sidebar.component';

Note that the npm run build.dev runs fines and generates all flles. I'assuming there is something to do with systemjs configurations.
here's the errors when loaded

As i expected it was a mistake on my end. After moving the files, I forgot to update import statements which was causing the error.


Substituting unsubscription links does not work when using group unsubscribes (ASM)

https://sendgrid.com/docs/User_Guide/Settings/tracking.html
There doesn't seem to be a way to substitute the subscription management links within the content body of our email messages when using the unsubscribe groups functionality. Only the global unsubscribe link can be substituted using a defined tag; as soon as you define an ASM object within the request, the substitute tag is ignored and a generic "Unsubscribe From This List | Manage Email Preferences" footer is appended to the bottom of the email.
Is this intended or am I missing some other functionality to accomplish what I'm looking to do?

Hey @Ugenx,
This is a really good question. Our support team is much better equipped to help people with specific
use cases. You can access support contact options by logging into https://support.sendgrid.com.
SendGrid Docs Team


Gopls quickfix so it doesn't break if no go.mod or .git folder

See title, in line with other lsp configs.

ah sorry about it sort of combining with the perlls pr, I can remove those commits if needed, but it'll probably take me a while to figure out and I did the stuff in the review, so is it ok?

I fixed the branch

thank you!
btw just for my reference, how did you do it? like what git commands?

git rebase -i master, then I deleted all non-pertinent commits (all but the last one) and force pushed once I checked the diff with your branch and master (I made some educated assumptions about your intentions with this PR :) )

I see. i need to learnt to use rebase and diff better. thanks!

Why did you close the PR?

...I don't understand how PR's work

Yes, when the PR is merged, the PR will close and the changes will be applied to the target branch (in this case master).

cwd is not a good fallback, sorry, cleaning up old PRs now


Reset Github API tokens

Github updated their API auth token format: https://developer.github.com/changes/2021-04-05-behind-githubs-new-authentication-token-formats

Hello there!
We noticed that, at April 5th, 2021 at 23:07 (UTC) your application (spi-ingestor-prod, with a user-agent header of SPI-Server) accessed the GitHub API with a token that has an outdated format.
In order to provide additional security benefits to all our customers, we recently updated the format of our API authentication tokens. Please update your authentication tokens to take advantage of these benefits. You can reset your token with this API endpoint: https://docs.github.com/en/rest/reference/apps#reset-a-token.
To understand more about this change, and why it's important, visit https://developer.github.com/changes/2021-04-05-behind-githubs-new-authentication-token-formats.
Thanks,
The GitHub Team

[ ] dev token updated
[ ] prod token updated

That developer.github.com link is a 404 at the moment, so maybe this email went out in error/too early.

There's no indication that tokens in the old format will be deprecated. I'm not sure we need to act on this at all, certainly not straight away. Setting these tokens up with our extended quota was a bit of a hassle and I'm not keen on touching this.

I agree, let's leave it until we have to do it.
They'll give plenty of warning before deprecating the old ones.

The emails have stopped, I don't think this anything we need to act on anymore. Will close the issue for now, can reopen if it comes up again.


closes #375

Updates are deployed on staging: http://<IP_ADDRESS>
Feels good to have all of this updated. No major changes, just versioning and associated config, should only require one 👍 .

Re-enabled Travis, all tests passing!


Custom slug style

Hello,
I want to create custom slug style:
Entity:
   /**      * @Gedmo\Slug(fields={"title"}, style="withoutLowercase")      * @ORM\Column(length=128, nullable=false, unique=true)      */     private $slug;
I expect such an effect:
Title: TestTitle
Slug: TestTitle
When I use "camel" style slug is: Testtitle
Any ideas?

Hi use custom transliterator, you can override it in listener. sluggable supports most common behavior, the rest needs to be customized on your own.


Add gzipped json artifact for each corpus

Currently, each corpus comes with the original .bel file containing the raw BEL script, and a .pickle file containing the processed PyBEL Graph, but for programmatic access over the web, loading pickle files directly is not secure. One alternative is to store PyBEL Graph JSON files in version control but they tend to be very large. I propose that a Gzipped version of the JSON (.json.gz) be stored in addition to (or instead of) the .pickle files.
For reference, the large corpus is 44 MB as .pickle, 94 MB as .json, and 19MB as .json.gz.

I updated the tox script with df28a60879b13c0a5d1b4cfe841f5194cb83565b to automatically generate the gz version of the json. In the next release of PyBEL, I'll include export of gzipped JSON as well (that doesn't have any unnecessary whitespace) which will get propogated to the BEL-Repository library


feat(transformer/class-properties): only rename symbols if necessary

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#7896  👈 (View in Graphite)
#7872
#7871
#7870
#7869
#7868
#7867
#7866
main

How to use the Graphite Merge Queue
Add either label to this PR to merge it via the merge queue:

0-merge - adds this PR to the back of the merge queue
hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.


Multiple languages in NavigationView

Multiple languages in NavigationView
When I changed the ApplicationLanguages.PrimaryLanguageOverride to "en-US", the text of the Settings NavigationViewItem was still '设置'.

@doghappy Are you trying to change the language override dynamically? It should work if you set it in your Application's OnLaunched. Dynamic changes aren't supported properly across our control set right now.


[Bug] Adding two or more images with ImageMobject showing the recent image in the Scene.

Describe the bug
The ImageMobject works perfectly fine as long as there's only one image in the Scene but as soon as another ImageMobject (with different image) has been added in the Scene, both of the images in the screen referenced to the recently added image in the Scene.
Additional context
Here's the video that may clear the things out.
https://user-images.githubusercontent.com/41651498/229421639-118509e1-e8b4-4eb6-b27f-6d6a3de0a052.mp4
I guess the bug is in ShaderWrapper's init_textures function. The name_to_ids has the key "name" which is same ("Texture") for all the ImageMobject which are added in the Scene. So, the texture id of the recently added ImageMobject in the scene gets updated to all the previous ones.

may I try this bug

For this issue, I have an ugly solution:
modify image_mobject.py,
class ImageMobject(Mobject):
    shader_folder: str = "image"
    shader_dtype: Sequence[Tuple[str, type, Tuple[int]]] = [
        ('point', np.float32, (3,)),
        ('im_coords', np.float32, (2,)),
        ('opacity', np.float32, (1,)),
    ]

    def __init__(
        self,
        filename: str,
        height: float = 4.0,
        **kwargs
    ):
        self.height = height
        self.image_path = get_full_raster_image_path(filename)
        self.image = Image.open(self.image_path)
        super().__init__(texture_paths={"Texture"+str(id(self)): self.image_path}, **kwargs)

modify shader_wrapper.py
    def init_program_code(self) -> None:
        def get_code(name: str) -> str | None:
            texture_name=""
            if self.texture_paths is not None and self.shader_folder=="image":
                for k in self.texture_paths:
                    texture_name = k

            return get_shader_code_from_file(
                os.path.join(self.shader_folder, f"{name}.glsl"),texture_name=texture_name
            )

        self.program_code: dict[str, str | None] = {
            "vertex_shader": get_code("vert"),
            "geometry_shader": get_code("geom"),
            "fragment_shader": get_code("frag"),
        }

modify shaders.py
@lru_cache()
def get_shader_code_from_file(filename: str, texture_name="") -> str | None:
    if not filename:
        return None

    try:
        filepath = find_file(
            filename,
            directories=[get_shader_dir(), "/"],
            extensions=[],
        )
    except IOError:
        return None

    with open(filepath, "r") as f:
        result = f.read()
        result = re.sub(r"\s+ASPECT_RATIO\s+=\s+[\s0-9/.]+", f" ASPECT_RATIO = {ASPECT_RATIO}", result)

    # To share functionality between shaders, some functions are read in
    # from other files an inserted into the relevant strings before
    # passing to ctx.program for compiling
    # Replace "#INSERT " lines with relevant code
    insertions = re.findall(r"^#INSERT .*\.glsl$", result, flags=re.MULTILINE)
    for line in insertions:
        inserted_code = get_shader_code_from_file(
            os.path.join("inserts", line.replace("#INSERT ", ""))
        )
        result = result.replace(line, inserted_code)

    if texture_name!="":
        result = result.replace("Texture",texture_name)

    return result

@germanzhu : please mention to add the field "texture_paths" to class ShaderWrapper in shader_wrapper.py.


fix typo

Thanks Elie - the HTML is generated automatically from the RDF source, so I've changed it in all 5 files.
(incl two places in the HTML)


Main README: Fixing link to Polyglot's README

Hi 👋
Just a small change to fix the broken link to Polyglot's README from the root README.
Polyglot's directory has a piranha subdirectory.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Can you please try to remove build.rs and the other dependency and check if you can build it with cargo build --nodefault-features ?

Sorry, the PR should have only the README change. I removed the other changes.
Building with cargo build --no-default-features works! Thanks


lmbda in update_mini_batch

self.weights = [(1-eta*(lmbda/n))*w-(eta/len(mini_batch))*nw for w, nw in zip(self.weights, nabla_w)]
why n is the training dataset size not the batch_size?

Please check the 87 and 92 equations in the neuralnetworksanddeeplearning.com

Closing, since this is not an issue.


Broken links in styleguide/template.md

Several links point to 404 pages at the bottom of the styleguide/template.md document.
For example:

Alert styles https://github.com/MicrosoftDocs/cpp-docs/raw/master/images/alerts.png
Button links https://github.com/MicrosoftDocs/cpp-docs/blob/master/docs/core/index.md
Intune docs https://docs.microsoft.com/intune/get-started/choose-how-to-enroll-devices

... and probably much more. Those are just three ones in a row.

@ratijas
Thanks for the info. I'm not sure we need our own style guide, given the common one for Docs covers most of what we do. I'll look into it.

That's some high-quality guide! I never knew it existed.

I know, right? I think the only thing we need that's specific to cpp-docs is a table for how we format keywords, functions, parameters, EBNF-non-terminals, and maybe a few others.

Thank you for your patience as we work through our backlog. We have received more issues than we can manage at this time. We are closing issues based on their severity, how broadly applicable they are, and whether there is enough information provided to act on the issue. If you believe that this issue should not have been closed, please add a comment explaining why by 3/8/2024. We appreciate your contribution and encourage you to propose changes using public PRs, or submit feedback through our updated control at the top of the page, as we phase out Git Issues for this repo. For more information on our feedback systems, see https://aka.ms/ContentUserFeedback.


Cluster master send api call to terminate instance in an exist autoscaling group

Hi ，
I'm running a k8s cluster created by kube-aws of version  0.9.8,
and I have an existing autoscaling group ,
I changed the desired instance count of the existing autoscaling group from 5 to 7 maybe.
But then an api call from the k8s cluster master sent to aws and terminated the new instance...
From CloudTrail I found that
"requestParameters": {
        "shouldDecrementDesiredCapacity": true,
        "instanceId": "instance-id-of-the-master-node"
    }

# from response
"cause": "At 2017-10-17T05:47:21Z the instance was taken out of service in response to a user request, shrinking the capacity"

@zhangtiny123 Hi, thanks for using kube-aws 👍
Probably you've enabled CA on your cluster and unfortunately encountered #800?
You should also increase MinSize so that CA won't try to scale down your cluster in the first place.
You would also need to fix your cluster.yaml according to https://github.com/kubernetes-incubator/kube-aws/issues/800#issuecomment-325965541 so that autoscaling is actually enabled on one or more node pool(s).

@mumoshu
Yes, it's the same issue as #800 , sorry for the duplicate report,  I don't find that...
Thanks for your help. 👍 👍 👍


Update _server-sdk-template.mdx

🚀 Deployed on https://6324990d9eada363810d84bf--cozy-fox-0defec.netlify.app


[feat][broker] Add config to count filtered entries towards rate limits

Motivation
Currently, when using entry filters, filtered out messages do not count against the rate limit. Therefore, a subscription that is completely filtered will never be throttled due to rate limiting. When the messages are delivered to the consumer for a filtered subscription, those messages will count against the rate limit, and in that case, the message filtering can be throttled because the check to delay readMoreEntries() happens before message filtering. Therefore, the rate limit will essentially be increased as a function of the percent of messages let through the filter (some quick math is that the new rate is likely dispatchRate * (1 / percentDelivered), where percent delivered is a percent as a decimal).
It's possible that some use cases prefer this behavior, but in my case, I think it'd be valuable to include these filtered messages in the dispatch throttling because these messages still cost the broker network, memory, and cpu. This PR adds a configuration to count filtered out messages towards dispatch rate limits for the broker, the topic, and the subscription.
Modifications

Add configuration named dispatchThrottlingForFilteredEntriesEnabled. Default it to false so we maintain the original behavior. When true, count filtered messages against rate limits.
Refactor the code to acquirePermitsForDeliveredMessages so that it is in the AbstractBaseDispatcher, which makes it available to the entry filtering logic.

Verifying this change
A new test is added as part of this PR.
Does this pull request potentially affect one of the following parts:
This PR introduces a new config while maintaining the current behavior.
Documentation

[x] doc-not-needed
Config docs are auto-generated.

@michaeljmarshall Please resolve the merge conflict.


Exit Survey

As OMD leadership, I want volunteers to be sent a link to a short exit survey 30 minutes after finishing a shift so that we can improve our systems and collect general data for reporting.
Acceptance Criteria:

[ ] Creates an exit survey with a unique link/token
[ ] Sends a message with a link to a volunteer's notification preference 30 minutes after completing all accepted shifts for a need
[ ] Add report in admin for reviewing exit survey(need details from Sarah)

@cidsinga I recall we had a meeting with Sarah where she provided details about the form itself. Do you have notes on that?  If so, could you share them here?

Sarah was going to get back to us with the actual questions etc for the exit survey, but never did, and I didn’t get far enough along to need to ask for them. So I don’t think the questions have ever been created.
Casey
Sent from my iPhone

On Nov 1, 2021, at 9:53 AM, Benjamin Wood @.***> wrote:

@cidsinga I recall we had a meeting with Sarah where she provided details about the form itself. Do you have notes on that? If so, could you share them here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

From Sarah via email:

Text message:

Thanks for taking a shift at the child welfare office today! We’d love to know how you’re feeling about it, or if there’s anything that needs our attention. Please take this one-minute survey.

Survey:

Did you have adequate supplies to care for the child(ren) during your time at the office?
Y/N

If no, create a comment box (“what was missing or running low?”)

Did the assigned social worker respond to questions or concerns in a timely manner?

Y/N

If no, create a comment box (“Tell us about that. Please include the social worker’s name so we can follow up.”)

Did the hours you signed up for match the hours you volunteered?

Y/N
-If no, create a comment box (“How many hours did you volunteer today in total?”)

How are you feeling after your shift at the child welfare office? (check all that apply)

Happy
Contented
Excited
Restless
Sad
Worried
Angry

Include a comment box if they want to elaborate

Your feedback is important to us, and we love hearing from our volunteers! Do you have any comments or kudos you’d like to pass along?

Y/N (answer is optional)
Comment box

Any questions for your Volunteer Coordinator?

Y/N
-If yes, create a comment box


[Feature Request] Custom Theme For Editor.

Just Like Custom Theme, Which Allows User-Defined Colors, And Is Applicable On Entire App, The Same Custom Theme For Editor Section. Which Will Allow User-Defined Colors For Editor.

But that will be not good for normal user because in Editor theme there are a lots of instances like color , font style, etc.... are available.
Btw you can make your own editor theme using plugins (for template checkout this)


RHMAP-11790 Update to Xcode 8 recommended settings

Update to Xcode 8 recommended settings
Set deployment target to iOS 8
Set the automatic signing
Added .entitlements file and push capabilities

+1


Install instructions and demo data

The README file is definitely WIP but perhaps good for a start

addressed!

Pull Request Test Coverage Report for Build 20

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.183%

Totals

Change from base Build 17:
0.0%

Covered Lines:
106

Relevant Lines:
108

💛  - Coveralls

Looks great, thanks @anupriyatripathi! :shipit:


table permission is not working after table name change

Motivation
table permission is not working after change table name,
if i change the table name,  all of users in superset can not read this table ( because no permission),
this is really bad

@zhxjdwh where are you changing the table name? In the database, or via Superset?

@zhxjdwh where are you changing the table name? In the database, or via Superset?

superset menu “Sources” -> "Tables" -> "Edit Record" -> rename the "Table Name"


Tanka can't handle top level arrays

Hi @sh0rez.
I'm glad to help with this issue https://github.com/grafana/tanka/issues/310. Please, let me know if I forgot something or we need to add anything else.

@sh0rez all changes are ready. Let me know if it's ok. If you think it's ok, we could create another PR with a single commit for readability.


Detect when isolate reload is barred and inform the user

Resubmit of previous PR without the role of the engine

@devoncarew FYI-- This is the same as my previous commit.

:+1: lgtm


Updated README.md with "using in Android-Projects"

Added some information, what's neccessarry to use wslite in Android-Projects with Groovy. Added the information which should be entered in the build.gradle file and the proguard-rule.pro file and a small example for using it...

Thanks!  Sorry for the delay on merging this.


Make some properties optional: migrations, checks, and DataStore

use GetGlobalDataStore if now dataStore is provided

Remember that it needs to run in Lune where GetGlobalDataStore does not exist

one unique ds key, like DocumentServiceFallback


Just won't animate with the example you have...

So I did nothing but follow the steps you have here:
https://klarsys.github.io/angular-material-icons/
I've include both libs (cuz i want animation):
    <script src="//cdn.jsdelivr.net/angular-material-icons/0.4.0/angular-material-icons.min.js"></script>
    <script src="//cdnjs.cloudflare.com/ajax/libs/SVG-Morpheus/0.1.8/svg-morpheus.js"></script>

I get no load errors at all so for sure both libs are loaded...
then i have your directive WITH the option attr. that should trigger the anination auto-magically :)

I see the icon fine but there is no animation.  questions:

why?

are you internally using the code that I see needs to be used when using this animation library natively:
var myIcons = new SVGMorpheus('#myIconSet');

can you give me some code that works properly or tell me how to better debug why?  is the animation just supposed to happen for me?  i'm not sure what the triggers are may can you explain how that works?

sorry bout all the queries i just really dig the way this looks :)

Animation (morphing) will trigger when there is a change in icon attribute from your controller and that if the new icon is different from currently displayed.
Yes.
I recommend looking at index.html and demo.js in this repo. That's the code behind live demo.

Ok.. figured there was maybe just some holes in the instructions.   I was just going from this doc:
https://klarsys.github.io/angular-material-icons/
and there is no mention on how to make it animate or the mechanics, just says to include morpheus.    Maybe just add parenthetically in that doc (..."see the demo for details on how the animation works from one icon to another via your controller") or something like that.  Think most developers all they need is a working example and they can figure it out right?
thanks I will give it a go and let you know if i have any luck... sure i can figure it out because i see your stuff animating :)

OK. Updated the document.

@jeffthompson1971  how did you make it to work?
@urmilparikh  what changes you have made this to work in the document?

@sajeetharan, you can refer source of demo page (index.html in github).
Basically, when including directive in your html, use something like:
<ng-md-icon icon="{{icon}}"></ng-md-icon>
...and then change $scope.icon in your controller based on timer or some other event.

I Have done that, the demo works fine . when i take a single icon and trying to animate it does not work? can you add a working sample for single icon animation?

Morphing can happen only between two different icons. For animating single icon, consider using css.

Strange issue here, but my icon will not change unless I hover over it (ie, it won't do it automatically). Doesn't seem to be happening on the demo site and I'm not sure why this is happening. Has it happened before?

Can you share a plunker or a codepen showcasing the issue?

 I eventually remembered that I was modifying the data outside of angulars digest scope, and hovering over it triggered a digest. All good now. Thanks for the library!


Tm csv nilcheck

What does this PR (Pull Request) do?

[x] This PR fixes #REPLACE_ME OR is not related to any Issue

This fixes an issue where if a cache returns no values for its proc entries and TM was set to use CSV data, it could cause a crash. Now instead it will return an error and be logged in the TM interface (currently the json format happily accepts empty entries with no error)
Which Traffic Control components are affected by this PR?

Traffic Monitor

What is the best way to verify this PR?

Test against a cache that does not return any proc data in its stats to verify that it does not crash when using the "http_polling_format": "text/csv" option in the config.
If this is a bug fix, what versions of Traffic Control are affected?

master
5.0

The following criteria are ALL met by this PR

[x] This PR includes tests OR I have explained why tests are unnecessary
[x] This PR includes documentation OR I have explained why documentation is unnecessary
[x] This PR includes an update to CHANGELOG.md OR such an update is not necessary
[x] This PR includes any and all required license headers
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Additional Information

One other thing to be aware of is that the current astats json parsing has no issues with this. It blindly accepts empty values (or no values) coming from the astats plugin on caches. So in these scenarios there is no warning/error that entries do not exist. So in this case the csv version actually provides some more useful information for health

@ocket8888 #5358 should land in 5.0.0


Add some build logic to demonstrate source pinning

This adds some

Groovy/Kotlin pre-compiled script
Groovy/Kotlin build script
Groovy/Kotlin class

which compile statically against the method Task.doNotTrackState().
This allows trying out source pinning by using a distribution from https://github.com/gradle/gradle/pull/20373.
For example, running the distribution in one of simple-kotlin-kotlin-dsl or simple-java-groovy-dsl will show that when using an older version for the source Gradle API, then it won't compile:
grl -Dorg.gradle.api.source-version=6.9 -Dgradle.api.repository.url=file:///<path-to-provider-api-migration-testbed>/gradle-repository/build/repo help

For doing the above, you first need to create the gradle API dependency as described in the README: https://github.com/gradle/provider-api-migration-testbed/tree/main/gradle-repository

Note that with the current state of the PR https://github.com/gradle/gradle/pull/20373, pre-compiled Groovy scripts still will compile, though they shouldn't.

FTR, this demo works, because Task.doNotTrackState(String) was introduced in Gradle 7.3, so nothing before that should compile.

Superseded by #5.


Seed 3-up card bar chart throws width error

In the latest predix-seed live demo, the chart is throwing an error even though the width should be fine.

@carlosfhernandez Can you please create a rally story for this?

This bug would have been caused because of on going development of the charts. It was fixed in px-simple-bar-chart so it would not show up now in predix-seed.


Question: Usage with Electron vs Targeting macOS + windows separately

Purely from an educational standpoint what would be the purpose of targeting macOS and Windows as separate components when you could potentially use something like https://github.com/PaulLeCam/react-native-electron to make cross-platform desktop apps that would even include running on linux…
It seems to work with react-native-web obviously like this project it's still very new and probably not 100% ready for primetime but might be something to shortcut the process

Hey @christopherhein, the main reason why i preferred keeping some components separate for different platforms was to utilize their native capabilities in the way they demand, which on the other hand increases my control on the application and keeps lower the complexity. It finally boils down to the requirements you have to cater in your project. In my personal opinion and experience, it is always better to separate out the different concerns and handle them differently the way they require or it'll increase the complexity and hinder in the growth of the project. React-native-electron looks promising to me and would save a lot of time and energy if it's offering is matching your requirements. ReactNativeEverywhere tries to give a generic way to cater requirements from prototyping to demanding and complex production apps, which required targeting different platforms as separate components. Hope this answers your question.

Yeah, that makes a lot of sense - appreciate the response and amazing work so far on the proj!


Autocomplete on chips does not work anymore in RC1

When you type in a title for a chip, the autocomplete does not trigger properly anymore.
Only when you type on the input field near or on your text again, you get the autocomplete options to show.
This can be reproduced on the documantation page itself:
http://materializecss.com/chips.html
When you type in e.g. "google" nothing happens, until you click on the text a second time.
Affected Version: 1.0.0-rc.1
Browsers:
Chrome 66.0.3359.139
Firefox 59.0.3
Opera 52.0.2871.99

Same thing happens in http://materializecss.com/autocomplete.html page. Have to click out of input-field for it to pop-up.

Fixed in ac5c80e3

Guys it's not fixed. The problem still occurs on your page, chips autocomplete and form autocomplete too.

After applying this fix (it does work for the posted issue) it exposes another issue. The item click handler only fires the second time. The first time, the options close and nothing else happens. The second time, the option populates the input as expected.

The fix provided by acburst worked for me and fixed the issue I just added the changes to my local copy.


Library incompatible w/ newer versions of CsvHelper

This is more of an issue with CsvHelper making a breaking change by adding a CultureInfo parameter to their constructors, but I think it'd be good to get this updated. If your app is using this library and CsvHelper latest, this library will break because it cant find a matching constructor without CultureInfo.
Great library btw, I'm so happy I discovered it :)

Bump...

I'm thinking maybe I should just fork this and use a separate nuget package?

I do it.
https://www.nuget.org/packages/Trady.Core.Fork/
https://github.com/ridicoulous/Trady

@ridicoulous hmm, what's your goal? To tailor this lib for your own purposes or to fix bugs/shortcomings of this lib?

@onionhammer first of all my own purposes and may be a little bit of improvements. For example, I added TEMA indicator

@ridicoulous Hmm, to fork the nuget packages I would have to produce like 6 nuget packages, not just 1. Any interest in upgrading CsvHelper in your fork?

@ridicoulous Hmm, to fork the nuget packages I would have to produce like 6 nuget packages, not just 1. Any interest in upgrading CsvHelper in your fork?

No problem to upgrade


Added engineer medal

About the PR

[ ] Adding the Engineer Medal.

Changelog
:cl:

add: added an engineer medal to the Chief Engineer locker

give this to atmos for setting up the ame :star:

I think I'd prefer just having a medal case made and given to captain


BIGTOP-2570: ease hadoop charm debugging

We need to make sure our bigtop services are actually started before setting the .started state.
Without this fix, our NN will set .started even if host.service_restart('hadoop-hdfs-namenode') fails.  This is bad because our slave/datanode units will attempt to do things (like relate to the NN) when they can't.
This doesn't help us know why the service failed to start, but it does prevent other charms from relating to an unready application.

Though this started with a systemctl service that failed to start, it has turned into a crusade to make charm actions/status/logging better so we can more easily debug problems like this in the future.
In addition to handling start_foo better, i added some additional logging, corrected some bad status, and updated actions to better log their output.  I've updated the jira/pr title to reflect this extra scope.

LGTM +1

LGTM as well :+1:


"Not Found" error

Getting "Not Found" for some reason with node 0.12.7 and npm 2.11.3. Not sure what is causing this... :\

ok, should be fixed in latest github commit. will do more tests...
It is because GitHub doesn't treat org and user the same. I also might switch out github to use gh-api to reduce friction/bugs with their (rather complicated) GitHub API wrapper.

should be fixed in 1.3.2


Cross origin requests are not supported

Add support for CORS
https://web.dev/cross-origin-resource-sharing/

@g-savitha thanks for pointing this out. You may go ahead and raise a PR for this.


Dependency updates

Another weekly rollup, also bumps our sub-dependencies in yarn.lock as that's not done automatically when individual packages are upgraded.

Note: After this PR is merged #44 should be able to be rebased and merged

Coverage decreased (-0.02%) to 75.102% when pulling a971c8c6011b74cb2db56dbdebaa6b28db4a3583 on kevinansfield:dep-updates into 622951b10d7e09d5eeb126df8d8ee3c95f089abc on TryGhost:master.


Slow IRS DEV Cucumber Integration test execution

Description

Current behaviour
Expected behavior

Steps to reproduce the Bug

should be fixed by now, latest cucumber executions took 21m 1s, tavern 36m 34s


当我在macbook pro M2上对IDF5.0进行./install.sh时出现如下错误 (IDFGH-8089)

Detecting the Python interpreter
Checking "python3" ...
Python 3.8.9
"python3" has been detected
Checking Python compatibility
Installing ESP-IDF tools
Current system platform: macos-arm64
Selected targets are: esp32s2, esp32h2, esp32, esp32c2, esp32c3, esp32s3
Installing tools: xtensa-esp-elf-gdb, riscv32-esp-elf-gdb, xtensa-esp32-elf, xtensa-esp32s2-elf, xtensa-esp32s3-elf, riscv32-esp-elf, esp32ulp-elf, esp32s2ulp-elf, openocd-esp32
Skipping<EMAIL_ADDRESS>(already installed)
Skipping<EMAIL_ADDRESS>(already installed)
Skipping<EMAIL_ADDRESS>(already installed)
Skipping<EMAIL_ADDRESS>(already installed)
Skipping<EMAIL_ADDRESS>(already installed)
Skipping<EMAIL_ADDRESS>(already installed)
Skipping<EMAIL_ADDRESS>(already installed)
Skipping<EMAIL_ADDRESS>(already installed)
Skipping<EMAIL_ADDRESS>(already installed)
Installing Python environment and packages
Python 3.8.9
pip 20.2.3 from /Users/chenxuezhi/.espressif/python_env/idf5.0_py3.8_env/lib/python3.8/site-packages/pip (python 3.8)
Skipping the download of /Users/chenxuezhi/.espressif/espidf.constraints.v5.0.txt because it was downloaded recently. If you believe that this is causing you trouble then remove it manually and re-run your install script.
Installing Python packages
Constraint file: /Users/chenxuezhi/.espressif/espidf.constraints.v5.0.txt
Requirement files:

/Users/chenxuezhi/esp/esp-idf-5.0/esp-idf/tools/requirements/requirements.core.txt
Looking in indexes: https://pypi.org/simple, https://dl.espressif.com/pypi
Ignoring windows-curses: markers 'sys_platform == "win32"' don't match your environment
Collecting setuptools>=21
Using cached setuptools-65.1.0-py3-none-any.whl (1.2 MB)
Collecting click<8.1,>=7.0
Using cached click-8.0.4-py3-none-any.whl (97 kB)
Collecting pyserial<3.6,>=3.3
Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
Collecting future<0.18.3,>=0.15.2
Using cached https://dl.espressif.com/pypi/future/future-0.18.2-py3-none-any.whl (491 kB)
ERROR: Could not find a version that satisfies the requirement cryptography<36.1,>=2.1.4 (from -c /Users/chenxuezhi/.espressif/espidf.constraints.v5.0.txt (line 23)) (from versions: none)
ERROR: No matching distribution found for cryptography<36.1,>=2.1.4 (from -c /Users/chenxuezhi/.espressif/espidf.constraints.v5.0.txt (line 23))
WARNING: You are using pip version 20.2.3; however, version 22.2.2 is available.
You should consider upgrading via the '/Users/chenxuezhi/.espressif/python_env/idf5.0_py3.8_env/bin/python -m pip install --upgrade pip' command.
Traceback (most recent call last):
File "/Users/chenxuezhi/esp/esp-idf-5.0/esp-idf/tools/idf_tools.py", line 2513, in
main(sys.argv[1:])
File "/Users/chenxuezhi/esp/esp-idf-5.0/esp-idf/tools/idf_tools.py", line 2505, in main
action_func(args)
File "/Users/chenxuezhi/esp/esp-idf-5.0/esp-idf/tools/idf_tools.py", line 2026, in action_install_python_env
subprocess.check_call(run_args, stdout=sys.stdout, stderr=sys.stderr, env=env_copy)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/Users/chenxuezhi/.espressif/python_env/idf5.0_py3.8_env/bin/python', '-m', 'pip', 'install', '--no-warn-script-location', '-r', '/Users/chenxuezhi/esp/esp-idf-5.0/esp-idf/tools/requirements/requirements.core.txt', '--upgrade', '--constraint', '/Users/chenxuezhi/.espressif/espidf.constraints.v5.0.txt', '--extra-index-url', 'https://dl.espressif.com/pypi']' returned non-zero exit status 1.

Looking in indexes: http://pypi.douban.com/simple/
Requirement already satisfied: cryptography in /Users/chenxuezhi/Library/Python/3.8/lib/python/site-packages (37.0.4)
Requirement already satisfied: cffi>=1.12 in /Users/chenxuezhi/Library/Python/3.8/lib/python/site-packages (from cryptography) (1.15.1)
Requirement already satisfied: pycparser in /Users/chenxuezhi/Library/Python/3.8/lib/python/site-packages (from cffi>=1.12->cryptography) (2.21)

更新到release/5.0版本以后的问题已经解决


Delay after changing characteristics

Hi there,
I noticed a short delay after e.g. switching on/off a switch. The HomeKit app shows a small rotating gear after pressing the button and Siri says something like "checking your home ..." after performing an action. The action is executed nearly instant tho. It's just like the homebridge/cmd4 takes some time to report the result back to the HomeKit app.
Did not have this behavior with the cmdswitch2 plugin which I used before changing to cmd4. The initial status check after opening the HomeKit app takes longer as well.
Is there anything I can do about that?
Best regards

It is defenitely your plugin that's causing this problem.
I found this post:
https://github.com/nfarina/homebridge/issues/1559#issuecomment-350555592
Did not digg into your code yet, but could that be the issue?

I will have a look tomorrow.  The ultimate example is State.js As for the
delay, Is the polling value the same?
tfn,
John
On Wed, Oct 10, 2018 at 7:59 PM Florian Bernd<EMAIL_ADDRESS>wrote:

It is defenitely your plugin that's causing this problem.
I found this post:
nfarina/homebridge#1559 (comment)
https://github.com/nfarina/homebridge/issues/1559#issuecomment-350555592
Did not digg into your code yet, but could that be the issue?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/14#issuecomment-428771922,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGQRX9mqEq-akYX7eYrPjun4Blr-HYzcks5ujonFgaJpZM4XWbAJ
.

Thank you! I did not enable polling at all. But the behavior with your plugin is the same as if polling was enabled with a delay of 2-3 seconds.
The COMPUTER script might ofc need some time to obtain the status by invoking the ping command, but the RASPBERRY_SCREEN should execute without any noticable delay.
This is how my config.json looks like:
    {
      "name": "CustomDevices",
      "platform": "Cmd4",
      "accessories": [
        {
          "name": "COMPUTER",
          "type": "Switch",
          "state_cmd": "bash ~/.homebridge/Cmd4Scripts/COMPUTER.sh"
        },
        {
          "name": "RaspberryPi Screen",
          "type": "Switch",
          "state_cmd": "bash ~/.homebridge/Cmd4Scripts/RASPBERRY_SCREEN.sh"
        }
      ]
    }

COMPUTER.sh:
#!/bin/bash

if [ "$3" = "On" ]; then

	if [ "$1" = "Get" ]; then
	   ping -c 2 -W 1 <IP_ADDRESS> | grep -i "2 received" &> /dev/null
	   rc=$?
	   if [ "$rc" = "0" ]; then
		  echo "true"
		  exit 0
	   else
		  echo "false"
		  exit 0
	   fi
	fi

	if [ "$1" = "Set" ]; then
	   if [ "$4" = "true" ]; then
		  wakeonlan B0:6E:BF:5F:73:32
		  exit $?
	   fi
	   if [ "$4" = "false" ]; then
		  exit -1
	   fi
	fi

fi

exit -1

RASPBERRY_SCREEN.sh:
#!/bin/bash

if [ "$3" = "On" ]; then

	if [ "$1" = "Get" ]; then
	   rc=$(vcgencmd display_power)
	   rc=${rc: -1}
	   if [ "$rc" = "0" ]; then
		  echo "$rc"
		  exit 0
	   else
		  echo "1"
		  exit 0
	   fi
	fi

	if [ "$1" = "Set" ]; then
	   if [ "$4" = "true" ]; then
		  vcgencmd display_power 1
		  exit $?
	   fi
	   if [ "$4" = "false" ]; then
		  vcgencmd display_power 0
		  exit $?
	   fi
	fi

fi

exit -1

I've found this comment:
               // I have found that IOS HomeKit will have a spinning
               // Indicator that will never stop, unless you do a get
               // before the final callback. This could all be because
               // use exec, compared to other plugins, but this works.

This sounds very fishy to me. The cmdswitch2 plugin does not have this workaround and still works fine without the "spinning indicator" for simple switches. I'll play around with this a bit and let you know, what I discover.

Ok that was fast success. If I comment out the complete block starting on line 1439 and replace it by a simple callback() call, everything works fine for me without any delay.

Thank you!
I can imagine the homebridge core module was bugged somehow in earlier versions what caused the strange behaviour described in your comment for the workaround.

I thought about fixing it, but it would impact others and I could not
guarantee it would not cause more issues.
Sorry it took so long.  Yesterday I had to get new batteries for my
bluetooth keyboard and then resolve an issue that others were having with
HomeKit not connecting to Homebridge on OSX.  Whatever could go wrong did.
I thank you for doing your own investigation.  You were extremely helpful.
My latest endeavour is here (50Mb - lots of good pictures):
http://benicegames.com/CNC/MyCNCBook.pdf
I'm actually in the wiring phase, the book is behind a bit.
take care,
John Talbot
On Fri, Oct 12, 2018 at 10:39 AM Florian Bernd<EMAIL_ADDRESS>wrote:

Thank you!
I can imagine the homebridge core module was bugged somehow in earlier
versions what caused the strange behaviour described in your comment for
the workaround.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/14#issuecomment-429348766,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGQRX0aL4Y5N4RoDxzAMneASXH3_VN9Bks5ukKmugaJpZM4XWbAJ
.


How to retrieve vectors by ids for LangChain vectorstore FAISS?

Feature request
In Qdrant vectorstore, we have a method:
    def retrieve(
            self,
            collection_name: str,
            ids: Sequence[types.PointId],
            with_payload: Union[bool, Sequence[str], types.PayloadSelector] = True,
            with_vectors: Union[bool, Sequence[str]] = False,
            consistency: Optional[types.ReadConsistency] = None,
    ) -> List[types.Record]:
        """Retrieve stored points by IDs

        Args:
            collection_name: Name of the collection to lookup in
            ids: list of IDs to lookup
            with_payload:
                - Specify which stored payload should be attached to the result.
                - If `True` - attach all payload
                - If `False` - do not attach any payload
                - If List of string - include only specified fields
                - If `PayloadSelector` - use explicit rules
            with_vectors:
                - If `True` - Attach stored vector to the search result.
                - If `False` - Do not attach vector.
                - If List of string - Attach only specified vectors.
                - Default: `False`
            consistency:
                Read consistency of the search. Defines how many replicas should be queried before returning the result.
                Values:
                - int - number of replicas to query, values should present in all queried replicas
                - 'majority' - query all replicas, but return values present in the majority of replicas
                - 'quorum' - query the majority of replicas, return values present in all of them
                - 'all' - query all replicas, and return values present in all replicas

        Returns:
            List of points
        """

I have not see simarly method in FAISS implementation, how to retrieve vectors with_vectors=True in FAISS vectorstore?
Motivation
I am using FAISS vectorstore, and now:

use FAISS added some doc and returned doc ids;
I want a method like in Qdrant, to retrieve the embedding from this doc ids;

Here is the Qdrant simarliy code:
ids_inserted = qdrant_client.add_texts(
    [description],
    [{
        "source": "todo"
    }],
)

# now I want to get the embeddings
records_inserted = qdrant_client.retrieve(
    collection_name="test",
    ids=ids_inserted,
    with_vectors=True
)
self.embedding = records_inserted[0].vector

Your contribution
Sorry, no.

Indeed, you are correct. The current FAISS wrapper does not provide a get_by_id method to retrieve a vector by its ID, as there isn't a prominent use-case that necessitates it.
Nonetheless, the add method in faiss stores vectors in the given index using sequentially generated indices by default. The FAISS wrapper use a index_to_docstore_id dictionary, which essentially converts these indices into UUIDs for the respective documents stored in the underlying document store. Consequently, you can leverage the underlying document store and the index_to_docstore_id dictionary to retrieve a document based on its ID generated by faiss:

from langchain.vectorstores.faiss import FAISS
from langchain.embeddings.fake import FakeEmbeddings
from langchain.docstore import InMemoryDocstore
from langchain.docstore.document import Document
import faiss
embedding_size = 1536
index = faiss.IndexFlatL2(embedding_size)
embedding_fn = FakeEmbeddings(size=embedding_size).embed_query
docstore = InMemoryDocstore({})
vectorstore = FAISS(embedding_fn, index, docstore, {})
documents = [Document(page_content='Hello How are you doing')]
vectorstore.add_documents(documents)
index_to_docstore_id = vectorstore.index_to_docstore_id
for i in range(len(documents)):
    print(docstore._dict[index_to_docstore_id[i]])

Thank you for your response, the use-case for me is, I want first save some customize tools as embeddings, then when I need to use this customize tools, I need to do a embed_query  for user query, then get the embed_query  response as embeding parameter to query the related customize tools, and pass to a agent, then do llm run, that's it.
Acctually, this is the method that I use to query the related customize tools in above final step:
    def similarity_search_with_score_by_vector(
        self,
        embedding: List[float],
        k: int = 4,
        filter: Optional[Dict[str, Any]] = None,
        fetch_k: int = 20,
        **kwargs: Any,
    ) -> List[Tuple[Document, float]]:

so the parameter embedding is the key that I need to retrieve from privious saved embedded customize tools.

I used the method @dosu-beta provided, it seems that the query is not accurated, see below query result for query_docs("What time is it?"):
embedding_vector.len: 1536
Hello, Deep AI!
{}
0.46679974

get_the_time(tool_input) - Retrieves current time and clock. Input is always None.
{'source': 'tool', 'when':<PHONE_NUMBER>.3212175, 'name': 'get_the_time', 'docstring': 'Retrieves current time and clock. Input is always None.'}
0.5283552

Process finished with exit code 0

For the query 'What time is it?', it gives me the second priority of get_the_time customize tools. If I query with What time is it for current?, it gives me the results that I want:
embedding_vector.len: 1536
get_the_time(tool_input) - Retrieves current time and clock. Input is always None.
{'source': 'tool', 'when':<PHONE_NUMBER>.3212175, 'name': 'get_the_time', 'docstring': 'Retrieves current time and clock. Input is always None.'}
0.51712805

Hello, Deep AI!
{}
0.5289209

Process finished with exit code 0

I am using the OpenAIEmbeddings as embedder to do embed_query:
def query_docs(text: str):
	embedding_vector = bot.embedder.embed_query(text)
	print(f"embedding_vector.len: {len(embedding_vector)}")
	docs = vector_db.similarity_search_with_score_by_vector(embedding=embedding_vector, k=2)
	for d in docs:
		print(d[0].page_content)
		print(d[0].metadata)
		print(d[1])
		print("\n")

query_docs("What time is it for current?")

@KevinZhang19870314 please see my above comment

@KevinZhang19870314 please see my above comment

Thank you for your response, then I can use index_to_docstore_id.


pull request for e2e test at 12/27/2016 07:56:14

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Merging the prompt functions into lol.fish naturally broke oh-my-fish support

So can we undo it?

this breaks oh my fish support completely. if you are that concerned of having a single file to grab for non omf installs why not produce a release tarball other folks can download?

https://github.com/er0/lolfish/issues/6#issuecomment-682126715


No diff between AoT and JIT

Is AoT the default build or JIT?
I see no difference in the build commands.
How to enable one or the other?

The default (usingnpm build) is a dev build, which is JIT.  For AoT, use npm run build:aot
From README.MD:
development
npm run build:dev
production (jit)
npm run build:prod
AoT
npm run build:aot

@Torqode please have a look at the package.json
  "build:aot:prod": "npm run clean:dist && npm run clean:aot && webpack --config config/webpack.prod.js  --progress --profile --bail",
    "build:aot": "npm run build:aot:prod",
    "build:dev": "npm run clean:dist && webpack --config config/webpack.dev.js --progress --profile",
    "build:docker": "npm run build:prod && docker build -t angular2-webpack-start:latest .",
    "build:prod": "npm run clean:dist && webpack --config config/webpack.prod.js  --progress --profile --bail",

As you can see the build:aot is just running build:aot:prod which at the end just runs  webpack --config config/webpack.prod.js  --progress --profile --bail which is the same as build:prod.

Yes, in that regard they are the same.  The difference is that the :aot flag is parsed out in webpack.common.js to determine if AoT should be performed or not.

Nice spot. What about the tsconfig.json?

It will always use tsconfig.webpack.json.  I'm guessing the repo includes a normal tsconfig so that IDEs like Visual Studio can compile the Typescript without affecting the Webpack build process.

Closing as the AOT identification is actually in the parameters detection


Flutter: Offering WebView Preload

Hello all, first I'll introduce myself.
My name is Eitan and I'm working on Taboola's Flutter library.
Problem Background:
Our library offers content that's displayed in a WebView. To load it I'd like to call something like webview.loadUrl() where the url points to our content. Hopefully, this should work regardless of the WebView's Widget build() event and regardless of whether the WebView's attached to the view hierarchy or not.
In recent days, we've been working, together with MailOnline, to try and improve the speed of loading our content. I've been trying to build a method to preload our WebView's content before displaying it (ideally, in our WebView extending class constructor).
The issue:
To the best of my understanding:

You can only call loadUrl() from the WebViewController of the WebView.
You only get the relevant WebViewController from the WebView's onWebViewCreated(controller) callback.
I found that onWebViewCreated(controller) is only called after Flutter calls the Widget's build() method.

This means you cannot preload a WebView's content, unless I'm missing something.
P.s.,
On our Android SDK we have no issue preloading, since we can call loadUrl() directly on the WebView, regardless of whether it's displayed or not.
There's an open ticket on this issue (with different use cases but still): https://github.com/flutter/flutter/issues/51875
Our regular Android/iOS example projects for reference + documentation links:
https://sdk.taboola.com/taboolasdk/docs/taboola-android-sdk-feed-via-native
https://sdk.taboola.com/taboolasdk/docs/taboola-ios-sdk-feed-via-native
https://github.com/taboola/android-sdk-examples
https://github.com/taboola/ios-sdk-examples
Any help would be appreciated,
Thx in advance, Eitan.

Hi @EitanSchwartz
You can comment your use case on the existing issue https://github.com/flutter/flutter/issues/51875
Please follow up on that issue, I'm closing the current one as a duplicate.
If you disagree, please write in the comments and I will reopen it.
Thank you


Add github actions to run tests

Run github actions with php 7.3, 7.4, 8.0, 8.1, 8.2
Bump min php 7.3 to match phpunit test requirement
Add sodium to composer suggestion
Add package to avoid dependencies with known security vulnerabilities

closes #117

The travis script seems way more complex. This is more basic and can be extended.
A run looks like this: https://github.com/Rotzbua/openpgp-php/actions/runs/1473401145

@singpolyma Interested? If yes I will solve the merge conflicts otherwise I will close this PR.


example of using different mixins

IMPORTANT: Please do not create a Pull Request without creating an issue first.
Before submitting (must do checklist)

[ ] Did you read the contribution guide?
[ ] Did you update the docs? We use Numpy format for all the methods and classes.
[ ] Did you write any new necessary tests?
[ ] Did you update the CHANGELOG?

Type of Change

[ ] Examples / docs / tutorials / contributors update
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Improvement (non-breaking change which improves an existing feature)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Proposed Changes

Related Issue

Closing issues

Codecov Report

Merging #430 (2e4e472) into master (f4d0a34) will decrease coverage by 33.93%.
The diff coverage is 82.65%.

:exclamation: Current head 2e4e472 differs from pull request most recent head 766075c. Consider uploading reports for the commit 766075c to get more accurate results

@@             Coverage Diff             @@
##           master     #430       +/-   ##
===========================================
- Coverage   87.08%   53.14%   -33.94%
===========================================
  Files          99      112       +13
  Lines        5047     5321      +274
===========================================
- Hits         4395     2828     -1567
- Misses        652     2493     +1841

Impacted Files
Coverage Δ

etna/pipeline/base.py
82.51% <82.24%> (-12.73%)
:arrow_down:

etna/pipeline/pipeline.py
73.33% <100.00%> (-24.07%)
:arrow_down:

etna/commands/__init__.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/commands/backtest_command.py
0.00% <0.00%> (-96.43%)
:arrow_down:

etna/commands/forecast_command.py
0.00% <0.00%> (-92.00%)
:arrow_down:

etna/commands/__main__.py
0.00% <0.00%> (-87.50%)
:arrow_down:

etna/commands/resolvers.py
0.00% <0.00%> (-80.00%)
:arrow_down:

etna/analysis/outliers/density_outliers.py
22.44% <0.00%> (-75.52%)
:arrow_down:

etna/analysis/outliers/median_outliers.py
25.00% <0.00%> (-70.84%)
:arrow_down:

etna/datasets/datasets_generation.py
26.47% <0.00%> (-70.59%)
:arrow_down:

... and 102 more

Continue to review full report at Codecov.

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


[patterns] patternAssignments allow finals to be overwritten.

Consider the following:
void main() {
  final (a, b) = ('left', 'right');
  print('$a $b');
  (b, a) = (a, b);
  print('$a $b');
}

The third statement makes a and b have different values, but they are final so they are expected  not to change after the initial assignment.
I expected this to not compile and to fail with an error message like what the analysis results give e.g.:
The final variable 'a' can only be set once.
The final variable 'b' can only be set once.

but it compiles and outputs
left right
right left

I tested it on DartPad
master channel
Use Flutter version 3.8.0-19.0.pre.1 and Dart version 3.0.0-277.0.dev
+ Dart experiments: --enable-experiment=records,patterns

Missing compile-time errors are a front-end issue. The VM has this behavior too.


Jinja2 and Vue.js delimiter

Hi there,
Very educational example app.
I am writing my own app trying to migrate my UI from Jinja2 to Vue.js and I have a question:
How does the {{ csrf_token() }} in index.html get rendered via Jinja2 and the rest of the of the double curly braces get rendered via vuejs?
In my example the token does not get rendered

You mean https://github.com/frostming/flask-vue-todo/blob/master/frontend/index.html?
There only exist one pair of double curly braces, which are rendered as Jinja2 template delimiter. Vue.js templates are built into a single js file and injected to index.html later.

Oh, you are right about that, didn't think of it that way.
The strange thing is that when I open the source code of my endpoint were index.html is rendered, the csrf token is not processed by jinja and I cannot post or get.
Can you maybe think of something I am doing wrong?

I managed to fix that, I had something cached in the browser probably. Now When I submit the form I get the error The CSRF token is missing although it gets rendered.

Fixed that, I used axios.get by mistake instead of axios.post


don't overwrite HTML file

@rultor release, tag is 0.0.22

@rultor release, tag is 0.0.22

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.0.22

@yegor256 Oops, I failed. You can see the full log here (spent 10min)
Fetching rainbow 3.1.1
Installing rainbow 3.1.1
Fetching redcarpet 3.6.0
Installing redcarpet 3.6.0 with native extensions
Fetching regexp_parser 2.9.2
Installing regexp_parser 2.9.2
Fetching strscan 3.1.0
Installing strscan 3.1.0 with native extensions
Fetching rexml 3.3.2
Installing rexml 3.3.2
Fetching rubocop-ast 1.31.3
Installing rubocop-ast 1.31.3
Fetching ruby-progressbar 1.13.0
Installing ruby-progressbar 1.13.0
Fetching unicode-display_width 2.5.0
Installing unicode-display_width 2.5.0
Fetching rubocop 1.65.0
Installing rubocop 1.65.0
Bundle updated!
\u001b[91m+ npm --no-color install -g uglify-js
\u001b[0m
added 1 package in 1s
\u001b[91mnpm notice
npm notice New minor version of npm available! 10.7.0 -> 10.8.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.2
npm notice To update run: npm install -g<EMAIL_ADDRESS>npm notice
\u001b[0m\u001b[91m+ npm --no-color install -g<EMAIL_ADDRESS>\u001b[0m
added 17 packages in 2s

3 packages are looking for funding
  run `npm fund` for details
\u001b[91m+ mkdir -p target/css
\u001b[0m\u001b[91m+ sass --no-source-map --style=compressed --no-quiet --stop-on-error sass/main.scss target/css/main.css
\u001b[0m\u001b[91m+ mkdir -p target/js
\u001b[0m\u001b[91m+ uglifyjs js/qos.js
\u001b[0mmake: Leaving directory '/home'
 ---> Removed intermediate container b8d5258682c3
 ---><PHONE_NUMBER>dc
Step 16/17 : COPY target /home/target
 ---> 848e25c3bc3f
Step 17/17 : ENTRYPOINT ["/home/entry.sh", "/home"]
 ---> Running in 40c1f805fc28
 ---> Removed intermediate container 40c1f805fc28
 ---> f5d81d541b41
Successfully built f5d81d541b41
Successfully tagged pages-action:latest
++ pwd
+ sudo docker build -t pages-action -q /home/r/repo
++ cat target/docker-image.txt
+ img=sha256:55c55b56c8b016a41fca93c2c8ab3e2ad8a4aa850bbef7a881f08d26aed5bf6f
+++ pwd
++ realpath /home/r/repo
+ docker run --rm -v /home/r/repo/target/fb:/work -e GITHUB_WORKSPACE=/work -e INPUT_FACTBASE=simple.fb -e INPUT_VERBOSE=true -e INPUT_OUTPUT=pages -e INPUT_COLUMNS=what,when,who -e INPUT_HIDDEN=_id sha256:55c55b56c8b016a41fca93c2c8ab3e2ad8a4aa850bbef7a881f08d26aed5bf6f
docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.38/containers/create: dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.
make: *** [Makefile:86: entry] Error 126
container 32d1fcf95e02ee9d801f436958f682df15f6aa0184f7cc896d7f6340b48ab638 is dead
Tue Jul 23 02:54:14 UTC 2024

@rultor release, tag is 0.0.22

@rultor release, tag is 0.0.22

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.0.22

@yegor256 Oops, I failed. You can see the full log here (spent 9min)
Installing unicode-display_width 2.5.0
Fetching rubocop 1.65.0
Installing rubocop 1.65.0
Bundle updated!
\u001b[91m+ npm --no-color install -g uglify-js
\u001b[0m
added 1 package in 1s
\u001b[91mnpm notice
npm notice New minor version of npm available! 10.7.0 -> 10.8.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.2
npm notice To update run: npm install -g<EMAIL_ADDRESS>npm notice
\u001b[0m\u001b[91m+ npm --no-color install -g<EMAIL_ADDRESS>\u001b[0m
added 17 packages in 2s

3 packages are looking for funding
  run `npm fund` for details
\u001b[91m+ mkdir -p target/css
\u001b[0m\u001b[91m+ sass --no-source-map --style=compressed --no-quiet --stop-on-error sass/main.scss target/css/main.css
\u001b[0m\u001b[91m+ mkdir -p target/js
\u001b[0m\u001b[91m+ uglifyjs js/qos.js
\u001b[0mmake: Leaving directory '/home'
 ---> Removed intermediate container 86b9e523c692
 ---> 9fdebdf653a0
Step 16/17 : COPY target /home/target
 ---> 3cdc49353664
Step 17/17 : ENTRYPOINT ["/home/entry.sh", "/home"]
 ---> Running in 5635dbf4b168
 ---> Removed intermediate container 5635dbf4b168
 ---> 9c41c5a5dd85
Successfully built 9c41c5a5dd85
Successfully tagged pages-action:latest
++ pwd
+ sudo docker build -t pages-action -q /home/r/repo
++ cat target/docker-image.txt
+ img=sha256:ab05d3d6339683ea34c3f72ff5d8639e16b4147e98bf0cb6b812f8e69844a453
+++ pwd
++ realpath /home/r/repo
+ docker run --rm -v /home/r/repo/target/fb:/work -e GITHUB_WORKSPACE=/work -e INPUT_FACTBASE=simple.fb -e INPUT_VERBOSE=true -e INPUT_OUTPUT=pages -e INPUT_COLUMNS=what,when,who -e INPUT_HIDDEN=_id sha256:ab05d3d6339683ea34c3f72ff5d8639e16b4147e98bf0cb6b812f8e69844a453
D: Judges 0.20.0
D: Factbase 0.2.1
D: Ruby: 3.3.4-p94
D: Current directory: /work
D: Time: 2024-07-23T03:12:09Z
error: The factbase is absent at simple.fb
/usr/local/bundle/gems/judges-0.20.0/lib/judges/impex.rb:47:in `import': The factbase is absent at simple.fb (RuntimeError)
	from /usr/local/bundle/gems/judges-0.20.0/lib/judges/commands/print.rb:47:in `run'
	from /usr/local/bundle/gems/judges-0.20.0/bin/judges:133:in `block (2 levels) in <class:JudgesGLI>'
	from /usr/local/bundle/gems/gli-2.21.5/lib/gli/command_support.rb:131:in `execute'
	from /usr/local/bundle/gems/gli-2.21.5/lib/gli/app_support.rb:298:in `block in call_command'
	from /usr/local/bundle/gems/gli-2.21.5/lib/gli/app_support.rb:311:in `call_command'
	from /usr/local/bundle/gems/gli-2.21.5/lib/gli/app_support.rb:85:in `run'
	from /usr/local/bundle/gems/judges-0.20.0/bin/judges:218:in `<top (required)>'
	from /usr/local/bundle/bin/judges:25:in `load'
	from /usr/local/bundle/bin/judges:25:in `'
make: *** [Makefile:86: entry] Error 1
make: Leaving directory '/home/r/repo'
container ea1e1245f6daa5eb33ae556a175803fad961f97f5d481463bdfd8922eaa666e6 is dead
Tue Jul 23 03:12:21 UTC 2024

@rultor release, tag is 0.0.22

@rultor release, tag is 0.0.22

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.0.22

@yegor256 Oops, I failed. You can see the full log here (spent 10min)
Fetching rubocop 1.65.0
Installing rubocop 1.65.0
Bundle updated!
\u001b[91m+ npm --no-color install -g uglify-js
\u001b[0m
added 1 package in 852ms
\u001b[91mnpm notice
npm notice New minor version of npm available! 10.7.0 -> 10.8.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.2
npm notice To update run: npm install -g<EMAIL_ADDRESS>npm notice
\u001b[0m\u001b[91m+ npm --no-color install -g<EMAIL_ADDRESS>\u001b[0m
added 17 packages in 2s

3 packages are looking for funding
  run `npm fund` for details
\u001b[91m+ mkdir -p target/css
\u001b[0m\u001b[91m+ sass --no-source-map --style=compressed --no-quiet --stop-on-error sass/main.scss target/css/main.css
\u001b[0m\u001b[91m+ mkdir -p target/js
\u001b[0m\u001b[91m+ uglifyjs js/qos.js
\u001b[0mmake: Leaving directory '/home'
 ---> Removed intermediate container 63169fce9fe1
 ---> 5fada02768eb
Step 16/17 : COPY target /home/target
 ---> b487ec6a3edb
Step 17/17 : ENTRYPOINT ["/home/entry.sh", "/home"]
 ---> Running in 0fc8144ab128
 ---> Removed intermediate container 0fc8144ab128
 ---> c06771cfe19d
Successfully built c06771cfe19d
Successfully tagged pages-action:latest
++ pwd
+ sudo docker build -t pages-action -q /home/r/repo
++ cat target/docker-image.txt
+ img=sha256:b887545383f4b8c8e093d1ebe4cf8e40300059a6d3d708facb81fc30ea4d011f
+ test -e target/fb/simple.fb
+++ pwd
++ realpath /home/r/repo
+ docker run --rm -v /home/r/repo/target/fb:/work -e GITHUB_WORKSPACE=/work -e INPUT_FACTBASE=simple.fb -e INPUT_VERBOSE=true -e INPUT_OUTPUT=pages -e INPUT_COLUMNS=what,when,who -e INPUT_HIDDEN=_id sha256:b887545383f4b8c8e093d1ebe4cf8e40300059a6d3d708facb81fc30ea4d011f
D: Judges 0.20.0
D: Factbase 0.2.1
D: Ruby: 3.3.4-p94
D: Current directory: /work
D: Time: 2024-07-23T03:33:07Z
error: The factbase is absent at simple.fb
/usr/local/bundle/gems/judges-0.20.0/lib/judges/impex.rb:47:in `import': The factbase is absent at simple.fb (RuntimeError)
	from /usr/local/bundle/gems/judges-0.20.0/lib/judges/commands/print.rb:47:in `run'
	from /usr/local/bundle/gems/judges-0.20.0/bin/judges:133:in `block (2 levels) in <class:JudgesGLI>'
	from /usr/local/bundle/gems/gli-2.21.5/lib/gli/command_support.rb:131:in `execute'
	from /usr/local/bundle/gems/gli-2.21.5/lib/gli/app_support.rb:298:in `block in call_command'
	from /usr/local/bundle/gems/gli-2.21.5/lib/gli/app_support.rb:311:in `call_command'
	from /usr/local/bundle/gems/gli-2.21.5/lib/gli/app_support.rb:85:in `run'
	from /usr/local/bundle/gems/judges-0.20.0/bin/judges:218:in `<top (required)>'
	from /usr/local/bundle/bin/judges:25:in `load'
	from /usr/local/bundle/bin/judges:25:in `'
make: *** [Makefile:86: entry] Error 1
make: Leaving directory '/home/r/repo'
container 76652c76b3369e4ee2a72e0342c6028c24208cadf8a49a8383e90d87fb9237bd is dead
Tue Jul 23 03:33:51 UTC 2024

@rultor release, tag is 0.0.22

@rultor release, tag is 0.0.22

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.0.22

@yegor256 Oops, I failed. You can see the full log here (spent 9min)
Fetching rubocop 1.65.0
Installing rubocop 1.65.0
Bundle updated!
\u001b[91m+ npm --no-color install -g uglify-js
\u001b[0m
added 1 package in 844ms
\u001b[91mnpm notice
npm notice New minor version of npm available! 10.7.0 -> 10.8.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.2
npm notice To update run: npm install -g<EMAIL_ADDRESS>npm notice
\u001b[0m\u001b[91m+ npm --no-color install -g<EMAIL_ADDRESS>\u001b[0m
added 17 packages in 2s

3 packages are looking for funding
  run `npm fund` for details
\u001b[91m+ mkdir -p target/css
\u001b[0m\u001b[91m+ sass --no-source-map --style=compressed --no-quiet --stop-on-error sass/main.scss target/css/main.css
\u001b[0m\u001b[91m+ mkdir -p target/js
\u001b[0m\u001b[91m+ uglifyjs js/qos.js
\u001b[0mmake: Leaving directory '/home'
 ---> Removed intermediate container 3b2b63b82278
 ---> 6dd21314ee42
Step 16/17 : COPY target /home/target
 ---> d4ba5bf52fc0
Step 17/17 : ENTRYPOINT ["/home/entry.sh", "/home"]
 ---> Running in 10dd6f7cf638
 ---> Removed intermediate container 10dd6f7cf638
 ---> 15e097cf481a
Successfully built 15e097cf481a
Successfully tagged pages-action:latest
++ pwd
+ sudo docker build -t pages-action -q /home/r/repo
++ cat target/docker-image.txt
+ img=sha256:0036829ce7e15046f9d985b71d03488776170714231a9b2d87531e8cb0a0945e
+ test -e target/fb/simple.fb
+++ pwd
++ realpath /home/r/repo
+ docker run --rm -v /home/r/repo/target/fb/:/work -e GITHUB_WORKSPACE=/work -e INPUT_FACTBASE=simple.fb -e INPUT_VERBOSE=true -e INPUT_OUTPUT=pages -e INPUT_COLUMNS=what,when,who -e INPUT_HIDDEN=_id sha256:0036829ce7e15046f9d985b71d03488776170714231a9b2d87531e8cb0a0945e
D: Judges 0.20.0
D: Factbase 0.2.1
D: Ruby: 3.3.4-p94
D: Current directory: /work
D: Time: 2024-07-23T03:59:01Z
error: The factbase is absent at simple.fb
/usr/local/bundle/gems/judges-0.20.0/lib/judges/impex.rb:47:in `import': The factbase is absent at simple.fb (RuntimeError)
	from /usr/local/bundle/gems/judges-0.20.0/lib/judges/commands/print.rb:47:in `run'
	from /usr/local/bundle/gems/judges-0.20.0/bin/judges:133:in `block (2 levels) in <class:JudgesGLI>'
	from /usr/local/bundle/gems/gli-2.21.5/lib/gli/command_support.rb:131:in `execute'
	from /usr/local/bundle/gems/gli-2.21.5/lib/gli/app_support.rb:298:in `block in call_command'
	from /usr/local/bundle/gems/gli-2.21.5/lib/gli/app_support.rb:311:in `call_command'
	from /usr/local/bundle/gems/gli-2.21.5/lib/gli/app_support.rb:85:in `run'
	from /usr/local/bundle/gems/judges-0.20.0/bin/judges:218:in `<top (required)>'
	from /usr/local/bundle/bin/judges:25:in `load'
	from /usr/local/bundle/bin/judges:25:in `'
make: *** [Makefile:86: entry] Error 1
make: Leaving directory '/home/r/repo'
container bdddf99c4d786fda3bb6072d005940a75218e564c9aa41ff672f7621e46389ef is dead
Tue Jul 23 03:59:41 UTC 2024

@rultor release, tag is 0.0.22

@rultor release, tag is 0.0.22

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.0.22

@yegor256 Oops, I failed. You can see the full log here (spent 9min)
D: Time: 2024-07-23T04:35:59Z
The factbase imported from target/fb/simple.fb (1562 bytes, 6 facts) in 341μs
Factbase printed to target/output/simple/simple.json (1597 bytes) in 1ms
D: Judges 0.20.0
D: Factbase 0.2.1
D: Ruby: 3.2.2-p53
D: Current directory: /home/r/repo
D: Time: 2024-07-23T04:36:00Z
The factbase imported from target/fb/simple.fb (1562 bytes, 6 facts) in 310μs
Factbase printed to target/output/simple/simple.html (6404 bytes) in 4ms
D: Judges 0.20.0
D: Factbase 0.2.1
D: Ruby: 3.2.2-p53
D: Current directory: /home/r/repo
D: Time: 2024-07-23T04:36:00Z
The factbase imported from target/fb/simple.fb (1562 bytes, 6 facts) in 259μs
D: The following options provided:
   	TESTING → "yes"

👉 Running add-hr-policy (#0) at judges/add-hr-policy/...
D: Found 1 fact(s) by '(and (eq what 'pmp') (eq area 'hr'))' in 928μs
D: Inserted new fact #7
D: Set 'what' to "hr-policy" (String)
D: Set 'html' to "

Here is how it's cal... award b₂.
\n
" (String)
👍 The judge add-hr-policy modified 1/0 facts out of 7 in 11ms

👉 Running add-user-names (#1) at judges/add-user-names/...
D: The connection to GitHub API is mocked
D: GitHub user #526301 has a name: @yegor256
D: User #526301 is actually @yegor256
D: GitHub user #6305016 has a name: @yegor256
D: User #6305016 is actually @yegor256
D: GitHub user #6305016 has a name: @yegor256
D: User #6305016 is actually @yegor256
D: Found 3 fact(s) by '(and (exists who) (not (exists who_name)))' in 3ms
D: Found 7 fact(s) by '(always)' in 174μs
D: Txn #2760 modified the factbase in 4ms
D: Found and processed 3 facts by: (and (exists who) (not (exists who_name)))
👍 The judge add-user-names modified 0/0 facts out of 7 in 243ms

👉 Running normalize-qos-metrics (#2) at judges/normalize-qos-metrics/...
D: Found 2 fact(s) by '(eq what 'quality-of-service')' in 105μs
👍 The judge normalize-qos-metrics modified 0/0 facts out of 7 in 1ms
👍 3 judge(s) processed in 259ms
Factbase exported to target/fb/simple.fb (3262 bytes, 7 facts) in 352μs
Too many cycles already, as set by --max-cycles=1, breaking
Update finished in 1 cycle(s), modified 1/0 fact(s) in 261ms
D: Judges 0.20.0
D: Factbase 0.2.1
D: Ruby: 3.2.2-p53
D: Current directory: /home/r/repo
D: Time: 2024-07-23T04:36:01Z
The factbase imported from target/fb/simple.fb (3262 bytes, 7 facts) in 487μs
Factbase printed to target/output/simple/simple.rich.xml (5094 bytes) in 2ms
cat: /home/r/repo/target/js/main.js: No such file or directory
Stylesheet file /home/r/repo/target/xsl/index.xsl does not exist
make: *** [Makefile:47: target/html/simple.html] Error 2
make: Leaving directory '/home/r/repo'
container ea5cea226aae9e9aa30326d38e2351fe262fbc64665772af0557bad5a3fc553a is dead
Tue Jul 23 04:36:31 UTC 2024

@rultor release, tag is 0.0.22

@rultor release, tag is 0.0.22

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.0.22

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


Build failure : valent

Steps To Reproduce
Steps to reproduce the behavior:

build pkgs.valent from unstable.

Build log
error: builder for '/nix/store/i46aavqr8qr7jw3iwqcsjlb30l883pjm-valent-1.0.0.alpha.45.drv' failed with exit code 1;
       last 25 log lines:
       > Compiler for C supports link arguments -Wl,-z,now: YES
       > Checking for function "clock_gettime" : YES
       > Checking for function "localtime_r" : YES
       > Checking for function "sched_getcpu" : YES
       > Compiler for C supports arguments -fvisibility=hidden: YES
       > Configuring config.h using configuration
       > Library m found: YES
       > Found pkg-config: YES (/nix/store/mi7q9m86m3rkqmc0niyvfv25ji9fxxha-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2
       > Run-time dependency gio-2.0 found: YES 2.80.4
       > Run-time dependency gio-unix-2.0 found: YES 2.80.4
       > Run-time dependency gnutls found: YES 3.8.6
       > Run-time dependency json-glib-1.0 found: YES 1.8.0
       > Run-time dependency libpeas-2 found: YES 2.0.3
       > Run-time dependency sqlite3 found: YES 3.46.1
       > Dependency libportal-gtk4 found: NO. Found 0.8.1 but need: '<= 0.7.1' ; matched: '>= 0.6'
       > Did not find CMake 'cmake'
       > Found CMake: NO
       > Run-time dependency libportal-gtk4 found: NO (tried pkgconfig and cmake)
       > Dependency libportal found: NO. Found 0.8.1 but need: '<= 0.7.1' ; matched: '>= 0.6'
       > Run-time dependency libportal found: NO (tried pkgconfig and cmake)
       > Looking for a fallback subproject for the dependency libportal
       >
       > meson.build:205:18: ERROR: Automatic wrap-based subproject downloading is disabled
       >
       > A full log can be found at /build/source/build/meson-logs/meson-log.txt
       For full logs, run 'nix log /nix/store/i46aavqr8qr7jw3iwqcsjlb30l883pjm-valent-1.0.0.alpha.45.drv'

Additional context
I am using NixOS, unstable channel.
Notify maintainers

cc @Aleksanaa
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.57, NixOS, 24.11 (Vicuna), 24.11.20241018.4c2fcb0`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.9`
 - channels(root): `"nixos"`
 - channels(user): `"home-manager"`
 - nixpkgs: `/nix/store/riqkpszjqk02bi1wppfg8ip5xvh102qd-source`

Add a :+1: reaction to issues you find important.

Looks like it needs an update to newer commit. Sorry I'm already in bed now.

Should be fixed by https://github.com/NixOS/nixpkgs/pull/352892


Summary of the email regarding branching strategy added as docu-extension

#1
Please have a review regarding the content.
Did I capture the proposed idea of the email thread correctly?
#2
Please review regarding docu fomat.
I am not sure regarding the metadata in the head section of the page.
Just used it from a another docu page, but may be I missed a detail.

@kamir The documentation is amazing! I will let to merge it when we implement the branch strategy :)


Localfilesystem context corrupted in some crash-cases

What are the steps to reproduce?
Setup a persistent local context storage with the localfilesystem module and default configuration.
Create a rather large global context by saving objects with, let's say, 10 arrays each having 1000 lines.
Cause a memoy-leak.
What happens?
When a memory-leak occures or a very memory-consuming process consumes all available memory and a flush occures at the same time the write process and therefore the json containing the global context get's damaged and ignored on a nodered restart, leading to an empty global context.
What do you expect to happen?
The localfilesystem module and persistent global context should be resilient to many if not all kinds of errors that may happen in a typical execution of the nodered runtime. I'd expect the module to choose an atomic file write operation, like mv command on linux systems in combination with a *.tmp file to counter file write corruption.
Please tell us about your environment:

[x] Node-RED version: 0.19.2
[x] Node.js version: v8.11.2
[x] npm version: 5.6.0
[x] Platform/OS: Raspbian GNU/Linux 9 (stretch)
[ ] Browser:

Thanks - have pushed a fix to dev (for 1.0) that does just what you suggest.


[rv_dm] rv_dm needs a UNR report

Description
Looking at results from the nightlies, the FSM coverage is low. But it turns out that the missing coverage is not possible! The two main areas are:

The tlul_lc_gate instance that gates SBA connections. This is not hitting the StFlush state. Getting to that state requires a flush request (through flush_req_i). But that port is tied to zero in rv_dm.
In dmi_jtag, we're not seeing the DMIOpFailed state. Looking at the code, this is entered when there is a DTM_ERR response in the connection between the dap and dm_top. It turns out that the riscv debug module never generates DTM_ERR (the string isn't even in the code!), so this FSM state is presumably used if you happen to be connecting dmi_jtag to some other debug module. But we're not!

In both cases, I'd expect UNR to mark the states as unreachable.
There are two edges which I believe are possible (state_q going from Read or Write to Idle). I think this happens if we get a trst_n reset on the JTAG bus when the FSM is in the Read or Write state. That remains to be addressed, but won't be affected by a UNR report.
Note that the FSM coverage is currently reported as 75%, which is below the threshold needed for V2. Assuming my diagnosis is correct, the UNR report will jump the number well over the threshold.

The two edges mentioned at the end of the initial report are possible to hit (I'm pleased to say). PR #24152 hits them.

This was done by @moidx in 51852781d790a158784169effa7b785ba689612f.


Asynchronously adding routes at runtime doesn't work reliably

Environment
Applies to any environment. Reproduction uses Nuxt 3.7.4.
Reproduction
https://stackblitz.com/edit/github-wyjpmc?file=app.vue
Setup

Two pages exist: pages/index.vue with name home and pages/foobar/index.vue with name foobar.
The plugin plugins/alterRoutes.ts adds an additional route using router.addRoute() with name foobar-dynamic and path /foobar-dynamic. The path is loaded async (e.g. from an API call)
In app.vue a computed property returning the route name exists
In app.vue a watcher on the computed route name logs the name to the console
In app.vue the computed route name is logged to the console directly in setup()

Reproduce bug

Visit the front page home. Refresh. The name of the route is logged correctly to the console.
Now click on foobar-dynamic. The name is logged correctly to the console.
Now refresh the page.
The name of the route logged to the console is undefined.

Describe the bug
Only the initially available routes generated at build time are used for the inital router state. The reactive route from useRoute() does not contain the dynamically added route during setup.
The problem can be fixed with a workaround by calling router.replace() after adding the dynamic routes:
router.addRoute({
  // ...
})
await router.replace({
  ...router.resolve(route.path),
  force: true
})

Additional context
The closed issue #12823 seems related and also contains a few comments about adding/altering routes async. There is also #13467 which is open, but it doesn't specifically mention an async way of adding routes at runtime. There's also at least one open discussion about it.
Looking into it a bit this could be solved by allowing us to use an async method for the routes option in app/router.options.ts. That way the initial state of the router would already be correct and wouldn't require any additional plugins.
https://github.com/nuxt/nuxt/blob/5c7cca170a85b0584b4091e7e7e461b4800c0e36/packages/nuxt/src/pages/runtime/plugins/router.ts#L64C62-L64C62
This would be much more reliable, because it would also make sure that any other plugins (from third party modules or locally) won't have a stale/unmatched route. With the router.replace() workaround that has to be done in a custom plugin we additionally have to make sure that the order of the plugins is correct, which is another challenge in itself.
Alternatively a hook to alter the routes would also work.
A fix for this would really improve DX for a lot of us who build "headless CMS" sites where route paths can't possibly be known at build time and must be loaded at runtime, because they can be freely edited by content editors or are dynamically generated based on page titles (and therefore can change any time).
Logs
No response

@dulnan
https://github.com/nuxt/nuxt/issues/23337


Readme has typo in "uses" for "Get IP Addresses"

...
        steps:
            - name: Get IP Addresses
              id: ip
              uses: candidob<EMAIL_ADDRESS>...

Should be:
...
        steps:
            - name: Get IP Addresses
              id: ip
              uses<EMAIL_ADDRESS>...

Fixed, thank you!


Add progressive package

📖 Description
Link: https://github.com/drkameleon/progressive.art
📦 New package

[x] I have updated the packages/list.art:

All you have to do is add an entry like:packageName: "owner/repo"

[x] The repo in question is formatted as a valid Arturo package:

either have a main.art file and/or an info.art file specifying the entry point, depends and requires

[x] There is at least one published release:

Arturo's package manager versioning uses the published releases' tags which have to conform to SemVer

Ready to merge! 🚀


Correction/rcast breaks aliasing

Hi there,
There's a correction (again, sorry) for batch_bool<T,.>::operator[] for avx/sse double/float: a direct reinterpret_cast<&...> may break the implicit aliasing rules of the modern optimizing compilers. For instance, with g++, batch_bool<T,.>::operator[] works now with -ffast-math and -O6 (it was actually not always the case before).
Best regards.

Thanks! Quick note: there is again a mismatch between your git configuration and github.

Arggh... right. I'll change it for a next PR !

Thanks! I don't want to be nitoicky. It is just for you to be properly credited for your work!