setup-hosts.yml fails at "Install host packages"

THIS IS A PUBLIC FACING ISSUE.
Do not include private or confidential information in this issue.

Is this a feature or a bug?

[ ] Feature (request for enhancement, new functionality)
[X] Bug (something is broken)

Which version of rpc-openstack does this issue relate to?

[ ] master
[X] newton-14.0
[ ] mitaka-13.1
[ ] liberty-12.2

Run git log --pretty=oneline | head -n 1 and provide the output below between
the backtick lines:
root@deploy01:/opt/rpc-openstack# git log --pretty=oneline | head -n 1
2f79a24b26c8a6e34fd335eddf1686b87af3620d Make possible to deploy rally (#2295)

What happened?

Example: I can't snapshot a cinder volume on an AIO RPC-O deployment.

When running scripts/deploy.sh it fails when trying to install packages on the target hosts, in particular, curl with the following error message:
failed: [compute02] (item=[u'apparmor-utils', u'apt-transport-https', u'bridge-utils', u'build-essential', u'cgroup-lite', u'curl', u'dmeventd', u'dstat', u'ebtables', u'
htop', u'iptables', u'irqbalance', u'libkmod-dev', u'libkmod2', u'linux-image-extra-4.4.0-64-generic', u'lvm2', u'python-software-properties', u'python-dev', u'rsync', u'
rsyslog', u'sshpass', u'sysstat', u'time', u'vlan', u'wget']) => {"cache_update_time": 0, "cache_updated": false, "failed": true, "item": ["apparmor-utils", "apt-transpor
t-https", "bridge-utils", "build-essential", "cgroup-lite", "curl", "dmeventd", "dstat", "ebtables", "htop", "iptables", "irqbalance", "libkmod-dev", "libkmod2", "linux-i
mage-extra-4.4.0-64-generic", "lvm2", "python-software-properties", "python-dev", "rsync", "rsyslog", "sshpass", "sysstat", "time", "vlan", "wget"], "msg": "'/usr/bin/apt
-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold"     install 'apparmor-utils' 'cgroup-lite' 'curl' 'dstat' 'ebtables' 'htop' 'libkmod
-dev' 'python-software-properties' 'sshpass' 'sysstat'' failed: E: Unable to correct problems, you have held broken packages.\n", "stderr": "E: Unable to correct problems
, you have held broken packages.\n", "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nSome packages could not be installed.
This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor b
een moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n curl : Depends: libcurl3-gnu
tls (= 7.47.0-1ubuntu2) but 7.47.0-1ubuntu2.2 is to be installed\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state informatio
n...", "Some packages could not be installed. This may mean that you have", "requested an impossible situation or if you are using the unstable", "distribution that some
required packages have not yet been created", "or been moved out of Incoming.", "The following information may help to resolve the situation:", "", "The following package
s have unmet dependencies:", " curl : Depends: libcurl3-gnutls (= 7.47.0-1ubuntu2) but 7.47.0-1ubuntu2.2 is to be installed"]}
What were you doing when it happened?

Example: I have an existing cinder volume and I get this error when I try
to snapshot it using openstackclient:
 $ openstack --os-cloud=mycloud volume snapshot list
 publicURL endpoint for volumev2 service in RegionOne region not found

I had run scripts/deploy.sh from /opt/rpc-openstack
The above run was at the following stage prior to failure:
+ [[ no == \y\e\s ]]
+ run_ansible setup-hosts.yml --skip-tags=V-38660
+ openstack-ansible --forks 15 setup-hosts.yml --skip-tags=V-38660
Variable files: "-e @/etc/openstack_deploy/user_osa_secrets.yml -e @/etc/openstack_deploy/user_osa_variables_defaults.yml -e @/etc/openstack_deploy/user_osa_variables_ove
rrides.yml -e @/etc/openstack_deploy/user_rpco_secrets.yml -e @/etc/openstack_deploy/user_rpco_variables_overrides.yml -e @/etc/openstack_deploy/user_variables.yml "

What did you expect to happen instead of what actually happened?

Example: I expected a cinder volume snapshot to be successfully created.

I expected the packages to be installed.
Do you think the documentation team wants to know about this?

[ ] Yes, and I submitted an issue to Docs issues
[ ] Yes, and I contributed a documentation patch to docs-rpc
[X] No documentation required for this change

Does your change require a release note?

[ ] Yes, it's a pretty big deal like I am and I've made a reno note!
[ ] Nope, this change has no major impact.

Unfortunately I am not sure if a release note is required.

Suggested resolution or what worked for me was to update the rpc-openstack/rpcd/playbooks/configure-apt-sources.j2 to the following:
{{ ansible_managed }}
See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
newer versions of the distribution.
deb {{ host_ubuntu_repo }} {{ ansible_distribution_release }} main restricted
deb-src {{ host_ubuntu_repo }} {{ ansible_distribution_release }} main restricted
Major bug fix updates produced after the final release of the
distribution.
deb {{ host_ubuntu_repo }} {{ ansible_distribution_release }}-updates main restricted
deb-src {{ host_ubuntu_repo }} {{ ansible_distribution_release }}-updates main restricted
N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
team, and may not be under a free licence. Please satisfy yourself as to
your rights to use the software. Also, please note that software in
universe WILL NOT receive any review or updates from the Ubuntu security
team.
deb {{ host_ubuntu_repo }} {{ ansible_distribution_release }} universe
deb-src {{ host_ubuntu_repo }} {{ ansible_distribution_release }} universe
deb {{ host_ubuntu_repo }} {{ ansible_distribution_release }}-updates universe
deb-src {{ host_ubuntu_repo }} {{ ansible_distribution_release }}-updates universe
N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
team, and may not be under a free licence. Please satisfy yourself as to
your rights to use the software. Also, please note that software in
multiverse WILL NOT receive any review or updates from the Ubuntu
security team.
deb {{ host_ubuntu_repo }} {{ ansible_distribution_release }} multiverse
deb-src {{ host_ubuntu_repo }} {{ ansible_distribution_release }} multiverse
deb {{ host_ubuntu_repo }} {{ ansible_distribution_release }}-updates multiverse
deb-src {{ host_ubuntu_repo }} {{ ansible_distribution_release }}-updates multiverse
N.B. software from this repository may not have been tested as
extensively as that contained in the main release, although it includes
newer versions of some applications which may provide useful features.
Also, please note that software in backports WILL NOT receive any review
or updates from the Ubuntu security team.
deb {{ host_ubuntu_repo }} {{ ansible_distribution_release }}-backports main restricted universe multiverse
deb-src {{ host_ubuntu_repo }} {{ ansible_distribution_release }}-backports main restricted universe multiverse
Uncomment the following two lines to add software from Canonical's
'partner' repository.
This software is not part of Ubuntu, but is offered by Canonical and the
respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
deb {{ host_ubuntu_repo }} {{ ansible_distribution_release }}-security main restricted
deb-src {{ host_ubuntu_repo }} {{ ansible_distribution_release }}-security main restricted
deb {{ host_ubuntu_repo }} {{ ansible_distribution_release }}-security universe
deb-src {{ host_ubuntu_repo }} {{ ansible_distribution_release }}-security universe
deb {{ host_ubuntu_repo }} {{ ansible_distribution_release }}-security multiverse
deb-src {{ host_ubuntu_repo }} {{ ansible_distribution_release }}-security multiverse

@mrhillsman The configure-apt-sources playbook does not exist in newton-14.0, only in newton-14.1, so I'm a little confused about this bug report. Also, this issue is being resolved in that branch with https://github.com/rcbops/rpc-openstack/pull/2307

@odyssey4me thx for update. I'll close this one, not sure how I misread the version.


Cutting and pasting a symlink loses it (does not relink?)

Describe the bug
If you cut and paste an existing link copy of a file into a different folder, it disappears in copyparty.
To Reproduce
I have the following config:
[global]
theme: 2
ftp: 3921
ftps: 3990
ftp-pr: 12000-13000
# Use hashed passwords
ah-alg: argon2
# Thumbnail view on by default
grid
# Enable general file indexing
# Maybe it's called "e2d..." because it uses an 'up2k' tree for the database...
e2dsa
# Enable metadata and tag indexing (ffprobe)
e2ts
# Full-sized image thumbnails
th-no-crop
# Don't crawl my website please google
force-js
no-robots
# Don't create symlinks to deduplicate, make copies of every file
# no-dedup
# Allow cross-volume symlinks for deduplication
xlink

[/protected]
/snip/protected
accs:
  rwmda: gremious
  G: *
flags:
  fk: 8
  fka,

make folder /protected/one
make folder /protected/two
make folder /protected/two/three
Upload a new image you don't have to protected/one
Upload the same image to protected/two
(so far everything is OK)
Select said image and cut, then paste it into /protected/two/three
Refresh

Notice image is not there in ether /protected/two/three or /protected/two
copyparty logs say:
Dec 08 13:14:46 hostname copyparty[1575637]: 13:14:46.399 scandir
[s] FileNotFoundError(2, 'No such file or directory') @ /snip/protected/two/three/noise.png

The link is still there on the filesystem (eza is just a fancy ls):
gremious@hostname ~> eza -l snip/protected/two/
drwxr-xr-x - gremious  8 Dec 13:11 three
gremious@hostname ~> eza -l snip/protected/two/three/
lrwxrwxrwx - gremious  8 Dec 13:10 noise.png -> ../one/noise.png

However, I think that should be ../../one/noise.png now and not ../one/noise.png?
Server details

server OS / version: Debian bullseye
python version: Python 3.9.2
filesystem (lsblk -f on linux): btrfs

thx!! yep it doesn't rewrite the symlink destination like it should, I'll try to get this fixed tonight 👍


Update README.php example for Cashier >6.0

Cashier >6.0 uses the functiontaxPercentage instead of getTaxPercent. So I adapted the example in the README.php for the Cashier integration to make it easier to implement this.
With the previous example code you would get an
FatalErrorException (E_UNKNOWN)
Trait method taxPercentage has not been applied, because there are collisions with other trait methods on App\User

Seems like the readme was already updated by now. Thanks

Seems like the readme was already updated by now. Thanks


Double all timeouts on flutter_tools integration tests

Due to CPU contention we've seen these go pretty slow on Cirrus (see https://github.com/flutter/flutter/issues/19542#issuecomment-414265152) and there's also a chance our flakes are timeouts due to running slow rather than hanging.

@fkorotkov the Windows bot here seemed to time out after all the tests finished, which is a new kind of failure mode...

@Hixie, sorry about that. That is very weird. Do you know if running tests involve creation daemon processes? I found a few Go issues that show the same behaviour. Investigating...

We have had issues in the past where we didn't terminate processes correctly, though normally it's on failure (and it seems there weren't any here). Are you doing something that would wait for background processes and not just waiting for the main script to end?
Restarting this one to make it green before merging; I believe the failed run logs can still be accessed if required.

Yeah we could definitely have runaway daemon processes. Is it possible to dump all running processes to the logs on termination, or some such?

@Hixie @DanTup seems might be related to https://github.com/golang/go/issues/13155. I've added some extra checks to workaround it. Will deploy shortly.

@fkorotkov I think I just saw the same again here:
https://cirrus-ci.com/task/5300252680650752
If you think it's us leaving processes around, let me know and maybe we can dump the list at top/bottom of the list to debug (maybe it'd be a neat feature if Cirrus failed with "script finished but these new processes were left hanging around:.."!).

@DanTup weird thing is that it's happening only on Windows so far 🤔Will try to get some debug information.

@DanTup @Hixie I've simplified how Cirrus CI agent is running scripts and capturing output. Plus added some additional logs. Let's see if hanging windows builds will happen again.

Great; we'll let you know if we see it again 👍


Fix Procfile parsing to match more possible file names

This should now match other generally accepted Procfile name formats like procfile and Procfile.dev.

Sorry I'm not really familiar with Go so if this is not the right style, feel free to just fix my commit any way you see fit.

Thanks for the PR!
I took a look and decided to add some unit tests and refactor the existing logic to have less branching. The result is merged via #8 so I am closing this one :)


GH-950: Always wrap listener exception in LEFE

Fixes https://github.com/spring-projects/spring-kafka/issues/950
Provide access to the group.id for all listener types, including
simple listeners.

Hm, i have just pushed that "What's New" change: https://github.com/spring-projects/spring-kafka/commit/acdc2686203e634d6ecbcc3bf40e973124989179
Didn't think that you are going to tackle it so fast 😄
Please, consider to rebase and sorry for confuse with docs work...

Yeah - I just figured I'd do it on the first PR that needs a doc change. np; fixing...

Need to fix tests


Fixed HTTP gems mock

With http 0.8.0.pre the format changed slightly, this makes it work with both pre-0.8 and post.
cc @ixti @tarcieri

I'd suggest renaming http_gem -> http_rb

Done

@zanker would be awesome if you will merge this one as well:
https://github.com/bblimke/webmock/pull/397

What needs to be done for #397, or you just mean pull that into this?

@zanker yeah, just merge it in. It "normalizes" HTTP::Response::Status :D

@ixti sure, done

@zanker Thanks!
@bblimke It can be merged. Failed specs are not related to this PR (except probably for ruby 1.8.7, which we do not support in http.rb since 0.7.x)

@ixti it seems the failed specs are related to this PR.
I'm getting this error in most examples.
       uninitialized constant WebMock::HttpLibAdapters::HttpGemAdapter
     # ./spec/../lib/webmock/http_lib_adapters/http_rb/client.rb:11:in `webmock_enabled?'

Master is now green.

@bblimke Sorry I missed that. Will provide a fixed version in a sec.


Enable referencing Cadl types using metatype info

This is the implementation issue for: https://github.com/microsoft/cadl/issues/890
In order to use augment decorators, and have complete coverage of types that need to be decorated, we need to allow type references using metatype information, for example:
Operation parameters
op Foo(bar: string, baz: string): void;

...

@@path(Foo::parameters.bar);

Operation return types
op Foo(): Bar;

...

@@error(Foo::returnType);

Anonymous Types
model Foo {
  nestedProp: {
    bar: string;
  };
}

alias A = Foo.nestedProp::type.bar;

Template Parameters
model MyTemplate<TNameProperty> {
  ...TNameProperty;
}

...

@@doc(MyTemplate, "Using name {name}", MyTemplate::templateArguments[0])

also means having additional constraints around usage of this syntax

pri: 0
est: 8


Add first example

Adding Ex01_BasicUsage to show basic usage of Phodam.
Covers:

Generating primitives like string, float, int
Generating an instance of a well-defined type (that has another type inside of it)

Misc:

Moves all tests to the namespace PhodamTests\ for clarity

Resolved code comments here: 8edb104


Receiving 404 not found error for index.html of build in SpringrollConnect

I've put up a build of odd-squad-dr-o; it works locally and I can see in Jenkins that the index.html is there in the Workspace, but when I try to play the development build, I get the following:

Any suggestions?

Fixed. Try again.


DOS on the client

Put a function to be able to do a DOS attack of an infected client like a botnet

Quasar is not that type of tool. Also please put request for enhancements together when you have more then a few to help prevent spamming threads, thank you.

Please use the search function before requesting features.


How to set MAIL_SMTP_VARIABLES on .env file?

Could anyone tell me how to set MAIL_SMTP_VARIABLES on .env file? Thank you.

There is no difference between using the env file and setting it directly with environment variables, did you encounter any problems?
If you don't know how to send emails using heirloom-mailx, you can refer to https://www.systutorials.com/sending-email-from-mailx-command-in-linux-using-gmails-smtp/ or see it at https://github.com/ttionya/BitwardenRS-Backup#mail_smtp_variables for zoho's example.

RCLONE_REMOTE_NAME="onedrive"
RCLONE_REMOTE_DIR="/BitwardenBackup/"
CRON="5 * * * *"
ZIP_ENABLE="TRUE"
ZIP_PASSWORD="PassSworD!"
ZIP_TYPE="7z"
BACKUP_FILE_DATE_SUFFIX="%Y%m%d"
BACKUP_KEEP_DAYS="2"
MAIL_SMTP_ENABLE="TRUE"
MAIL_SMTP_VARIABLES="
  -S smtp-use-starttls \
  -S smtp=smtp://smtp.zoho.com:587 \
  -S smtp-auth=login \
  -S smtp-auth-user=<my-email-address> \
  -S smtp-auth-password=<my-email-password> \
  -S from=<my-email-address>"
MAIL_TO="<destination-email-address>"
MAIL_WHEN_SUCCESS="TRUE"
MAIL_WHEN_FAILURE="TRUE"
TIMEZONE="UTC"

I haven't tried it, but I don't think there is a problem with this command.
If it does, try writing MAIL_SMTP_VARIABLES to a line.


Data class parameter named "default" gets weird mapping

Given a data class with a parameter named default, it get's mapped as a weird property name, like p0_772401952, where the p# part seems related to the index in which the parameter is in the constructor and 772401952 is some static int.
package com.pureport.kato.api

import com.github.pozo.KotlinBuilder

@KotlinBuilder
data class Foo(
    val default: Boolean
)

@KotlinBuilder
data class Foo2(
    val bar: String = "",
    val default: String
)

@KotlinBuilder
data class Foo3(
    val default: String,
    val bar: String = ""
)

package com.pureport.kato.api;

public final class FooBuilder {
  private boolean p0_772401952;

  public FooBuilder setP0_772401952(boolean p0_772401952) {
    this.p0_772401952 = p0_772401952;
    return this;
  }

  public Foo create() {
    return new Foo(p0_772401952);
  }

  public static FooBuilder builder() {
    return new FooBuilder();
  }
}

package com.pureport.kato.api;

import java.lang.String;

public final class Foo2Builder {
  private String bar;

  private String p1_772401952;

  public Foo2Builder setBar(String bar) {
    this.bar = bar;
    return this;
  }

  public Foo2Builder setP1_772401952(String p1_772401952) {
    this.p1_772401952 = p1_772401952;
    return this;
  }

  public Foo2 create() {
    return new Foo2(bar, p1_772401952);
  }

  public static Foo2Builder builder() {
    return new Foo2Builder();
  }
}

package com.pureport.kato.api;

import java.lang.String;

public final class Foo3Builder {
  private String p0_772401952;

  private String bar;

  public Foo3Builder setP0_772401952(String p0_772401952) {
    this.p0_772401952 = p0_772401952;
    return this;
  }

  public Foo3Builder setBar(String bar) {
    this.bar = bar;
    return this;
  }

  public Foo3 create() {
    return new Foo3(p0_772401952, bar);
  }

  public static Foo3Builder builder() {
    return new Foo3Builder();
  }
}

Thank you for your report. I quickly checked it and I could reproduce the issue.
My first guess is that Kotlin might handle the variable name default under the hood differently, since in Java it's a reserved keyword.
I will look at it, however I strongly suggest you to use different variable name instead. If you have mixed Java + Kotlin environment, this might came up later again in different libraries.

Thanks @Pozo!  I'll see if we can potentially do a rename.


fix(proxy): remove kong branding from kong HTML error template

Summary
remove kong branding from kong HTML error template

Checklist

[x] The Pull Request has tests
[x] There's an entry in the CHANGELOG
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Full changelog

[Implement ...]

Issue reference
FTI-4560

Backport to 3 series ?


[RESTEASY-1991] response builder built response (#1835)

[RESTEASY-1991] Exception removed from BuiltResponse readEntity and code added for the task.  BuiltResponseEntityNotBacked created to support existing exception throwing scenarios.  ClientFilterResponseBuilderTest created to test code change.

Update ClientResponse.java

I changed "    " (four spaces) to "   " (three spaces), and the diff is much easier to read.

This is not ready for 3.7.  There were changes to master that need to be integrated into 3.7.  This is on my to do list.


Finish setting up the TulipaIO.jl repo

Sorry about delaying this.  I finished all the tasks upto (4) on this list. (5) & (6) requires admin privileges. Can someone take care of this?
cc: @clizbe?

@suvayu I think I completed 5 & 6 successfully. :)

Great! Let's see if the next CopierUpdate job fails :-p before closing this issue

[ ] Fix copier template
[ ] Protect main branch
[ ] Register package
[ ] Anything else? Write this stuff down.

The package is registered now.


Page zoom

allow zooming really far out, and further in, than you currently can in the browser. allow zooming like you can do in any design tool.

is this about wrapping the main with pinch-zoom and of course adding key controls?

yep! i'm curious how much of the zoom in and out and pan behavior from a design tool we can mimic right here on any webpage

maybe even v1 of this feature only does hotkey zooming like the following?

Zoom In: cmd +
Zoom Out: cmd -
Actual Size: cmd + 0
Center Canvas: cmd + 1
Zoom Selection: cmd + 2
Center Selection: cmd + 3

Tried a POC today that felt like it could totally be built upon to fulfill this feature:
html {
    width: 500vw;
    height: 500vh;
    display: grid;
    place-content: center;
    overflow: scroll;
    background: hsl(0 0% 95%);
}

This plus listening for cmd+scroll events, we could transform scale the html tag. we get natural native scrolling and zooming. if it works out well, setup the keyboard events, call it good. Needs more QA, but wanted to share 👍


@conda-forge-admin, please add user @bedaro

Additional comment:
No response

There's been an issue where the bot isn't responding properly if there's a comma after the name. 🤷♂ Fixed in #9.


Issue trying to mix coins -- Getting Java FXM error

I'm trying to mix some coins and I getting an error in the log file. I tried re-importing my wallet as well as removing the password and still hasn't worked. My wallet ha no passphrase either.
When I go through the flow, I get the last screen with the CTA to Preview, and when I press it, nothing happens. The modal closes and I'm back at the UTXO screen.
Here is the log file:
2023-03-20 06:51:20,464 ERROR [JavaFX Application Thread] c.s.s.SparrowWallet [null:-1] Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException 	at javafx.fxml@18/javafx.fxml.FXMLLoader$MethodHandler.invoke(Unknown Source) 	at javafx.fxml@18/javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source) 	at javafx.base@18/javafx.event.Event.fireEvent(Unknown Source) 	at javafx.graphics@18/javafx.scene.Node.fireEvent(Unknown Source) 	at javafx.controls@18/javafx.scene.control.Button.fire(Unknown Source) 	at javafx.controls@18/com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(Unknown Source) 	at javafx.controls@18/com.sun.javafx.scene.control.inputmap.InputMap.handle(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source) 	at javafx.base@18/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source) 	at javafx.base@18/javafx.event.Event.fireEvent(Unknown Source) 	at javafx.graphics@18/javafx.scene.Scene$MouseHandler.process(Unknown Source) 	at javafx.graphics@18/javafx.scene.Scene.processMouseEvent(Unknown Source) 	at javafx.graphics@18/javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source) 	at javafx.graphics@18/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source) 	at javafx.graphics@18/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source) 	at java.base/java.security.AccessController.doPrivileged(Unknown Source) 	at javafx.graphics@18/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(Unknown Source) 	at javafx.graphics@18/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source) 	at javafx.graphics@18/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source) 	at javafx.graphics@18/com.sun.glass.ui.View.handleMouseEvent(Unknown Source) 	at javafx.graphics@18/com.sun.glass.ui.View.notifyMouse(Unknown Source) 	at javafx.graphics@18/com.sun.glass.ui.mac.MacView.notifyMouse(Unknown Source) Caused by: java.lang.reflect.InvocationTargetException: null 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) 	at java.base/java.lang.reflect.Method.invoke(Unknown Source) 	at com.sun.javafx.reflect.Trampoline.invoke(Unknown Source) 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) 	at java.base/java.lang.reflect.Method.invoke(Unknown Source) 	at javafx.base@18/com.sun.javafx.reflect.MethodUtil.invoke(Unknown Source) 	at javafx.fxml@18/com.sun.javafx.fxml.MethodHelper.invoke(Unknown Source) 	... 57 common frames omitted Caused by: java.lang.IllegalStateException: Could not create Whirlpool HD wallet  	at com.sparrowwallet.sparrow@1.7.3/com.sparrowwallet.sparrow.whirlpool.Whirlpool.setHDWallet(Unknown Source) 	at com.sparrowwallet.sparrow@1.7.3/com.sparrowwallet.sparrow.whirlpool.WhirlpoolServices.prepareWhirlpoolWallet(Unknown Source) 	at com.sparrowwallet.sparrow@1.7.3/com.sparrowwallet.sparrow.wallet.UtxosController.prepareWhirlpoolWallet(Unknown Source) 	at com.sparrowwallet.sparrow@1.7.3/com.sparrowwallet.sparrow.wallet.UtxosController.previewPremix(Unknown Source) 	at com.sparrowwallet.sparrow@1.7.3/com.sparrowwallet.sparrow.wallet.UtxosController.lambda$mixSelected$15(Unknown Source) 	at java.base/java.util.Optional.ifPresent(Unknown Source) 	at com.sparrowwallet.sparrow@1.7.3/com.sparrowwallet.sparrow.wallet.UtxosController.mixSelected(Unknown Source) 	... 64 common frames omitted Caused by: java.lang.NullPointerException: Cannot invoke "com.sparrowwallet.drongo.SecureString.asString()" because the return value of "com.sparrowwallet.drongo.wallet.DeterministicSeed.getPassphrase()" is null 	... 71 common frames omitted

How did you create this wallet? Have you tried closing and then reopening the wallet?

Yes. I tried closing and opening as well as re-importing the wallet.

I got it working. reinstalled the app. Thanks!


Use raw require path as the key for assets

With this PR, the asset paths would depend on the original asset path instead of the output asset path.
Related issue: #3
Before
{
   "assets/photo.jpg": "assets/44b3dae18da1232cf0c3c9aacd467ae6.jpg"
}

After
{
   "images/user/photo.jpg": "assets/44b3dae18da1232cf0c3c9aacd467ae6.jpg"
}

Thanks! 🎉 Will be released v1.0.0 on Monday.


sync/WaitGroup: new feature WaitWithTimeout

Hi!
I would like to have a WaitWithTimeout function in the standard sync/WaitGroup structure.
Example:
package main

import (
	"context"
	"log"
	"os"
	"os/signal"
	"sync"
	"syscall"
	"time"
)

func main() {

	wg := &WaitGroupTimeout{}
	ctx, cancel := context.WithCancel(context.Background())

	var gracefulStopChan = make(chan os.Signal, 1)

	signal.Notify(gracefulStopChan, syscall.SIGTERM, syscall.SIGINT)

	go func() {
		sig := <-gracefulStopChan

		log.Printf("Caught sig: %+v\n", sig)
		log.Println("Application graceful shutdown begin...")

		// Shutdown

		cancel()
		if ok := wg.WaitWithTimeout(10 * time.Second); !ok {
			log.Println("Force shutdown by timeout")
		}
		log.Println("Application graceful shutdown finished")
		os.Exit(1)

	}()

	log.Println("APP start")

	wg.Add(1)
	go func() {
		defer wg.Done()
		for {
			select {
			case <-ctx.Done():
				//time.Sleep(4 * time.Second)
				for {
					// failed shutdown process or closes something resource
				}
				log.Println("Break the process 1")
				return
			case <-time.After(1 * time.Second):
				log.Println("Process 1")
			}
		}
	}()

	wg.Add(1)
	go func() {
		defer wg.Done()
		for {
			select {
			case <-ctx.Done():
				time.Sleep(5 * time.Second)
				log.Println("Break the process 2")
				return
			case <-time.After(1 * time.Second):
				log.Println("Process 2")
			}
		}
	}()

	wg.Wait()
}

// I would not like to transfer this code from one project to another
type WaitGroupTimeout struct {
	sync.WaitGroup
}

// WaitWithTimeout returns the value "true" when  the [WaitGroup] counter is zero.
// And returns the value "false" when the wait is completed by timeout.
func (wg *WaitGroupTimeout) WaitWithTimeout(timeout time.Duration) bool {

	timeoutChan := time.After(timeout)
	waitChan := make(chan struct{})

	go func() {

		wg.Wait()
		close(waitChan)
	}()

	select {
	case <-timeoutChan:
		return false
	case <-waitChan:
		return true
	}
}

Related Issues and Documentation

proposal: sync: add WaitContext to WaitGroup #40916
In a concurrent scenario, will the mixed use of waitgroup and goroutine cause the program to be abnormal or hang up?  #47665 (closed)
sync: return true from the last WaitGroup.Done #7019 (closed)
proposal: sync: add Go method to WaitGroup to launch a tracked goroutine #63796

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

Duplicate of #40916

It is easy to do this with an additional time.Timer.

I do this in one line wg.WaitWithTimeout(10 * time.Second). How to put your time.Timer into one function?

Certainly, you can't do it in one line.
Programming with channels is fun, why to lose the fun? :D
I mean it is fun to write the code in your first comment.


V-wheel broken after unpacking

I just went through and built a blot from one of the demo kits in the office.
One of the part boxes contained a v-wheel with a dislocated washer through the middle:

This ended up being an easy fix to grab another v-wheel, but I want to flag this issue in case we want more of a process around q/a for shipping parts.

This isn't broken. You just need to recenter the washer. I take an allen and swirl it around the hole.

Marking this as won't fix then, as it sounds like the underlying issue isn't as big as originally thought.

Should i add this to tuning.md or assesmbly.,md?

Assembly guide @BrightTheBackpack, because we encounter it while assembling!


Cant open Microsoft apps

I've been trying almost everything that i could find on how to possibly fix the issue but i just cant fix it. Im on 21H2, i dont know if that has anything to do with the problem but might be useful information.

offtopic, you provided no information either


Part2 album module - deploy docs

Coverage remained the same at 49.123% when pulling 6d67cd1ed24282dfd05d9324671e777e42361d00 on part2_album-module into 4e2a0fbb425dab4b77b5f54930e86ed1cd0f6291 on part3_model-and-database.


Why does dotnet publish not publish everything in a sln

I have a sln that has an identity provider web app, and a blazor assembly. To publish I use this line:
dotnet publish MyApi.sln     -c Release -o C:\My\Publish --self-contained false
This will publish MyApi but it never publishes the identity provider. On top of that I have had to add all dlls as project references to MyApi so they will all be published. The sln is setup to have all the dependencies it needs. I do not understand why publish does not honor what is there. It does not even copy a directory and its contents that are created as a build post event. How can I get everything in the sln and things built by post build into the publish directory?

I have this same issue on stackoverflow but in much more detail.

As the issue template says, you shouldn't be filing issues in this repo.
Probably logging at https://github.com/dotnet/sdk would be a good start.

There are two web apps in my sln. The first is an identity provider, the second is a web api with blazor wasm.
If I run dotnet publish from command line the identity provider is published but not the web api. If I run publish
from visual studio 2022 17.6.3 then web api is published but not identity provider. Why doesn't publish produce
both? To me this is a bug.

I can do that.


Using defaults results in circular modifications in-place

Describe the Bug
When creating a VPN using the aws_vpn_connection resource, lots of defaults for the VPN are set up which is desired. When you come to plan/apply you get in-place changes where the default values are to be taken out and replaced with nothing. This leads to the VPN being modified and the tunnels going down during the process despite nothing actually happening.
Expected Behavior
You don't modify in place or anything when the modification is to remove the default values so that you can use the default values.
Steps to Reproduce

Create a resource

resource "aws_vpn_connection" "main" {
    count                       = var.enable_vpn ? 1 : 0
    vpn_gateway_id              = aws_vpn_gateway.vpn_gateway[0].id
    customer_gateway_id         = aws_customer_gateway.customer_gateway[0].id
    type                        = "ipsec.1"
    static_routes_only          = true

    tags = {
        Name = "${var.customer_name}-VPN"
    }
}

Apply the VPN - and then later apply again

# aws_vpn_connection.main[0] will be updated in-place
  ~ resource "aws_vpn_connection" "main" {
        id                                   = "vpn-0c6ec0afe0bd1debb"
        tags                                 = {
            "Name" = "***-VPN"
        }
      ~ tunnel1_ike_versions                 = [
          - "ikev1",
          - "ikev2",
        ]
      ~ tunnel1_phase1_dh_group_numbers      = [
          - 2,
          - 14,
          - 15,
          - 16,
          - 17,
          - 18,
          - 19,
          - 20,
          - 21,
          - 22,
          - 23,
          - 24,
        ]
      ~ tunnel1_phase1_encryption_algorithms = [
          - "AES128",
          - "AES128-GCM-16",
          - "AES256",
          - "AES256-GCM-16",
        ]
      ~ tunnel1_phase1_integrity_algorithms  = [
          - "SHA1",
          - "SHA2-256",
          - "SHA2-384",
          - "SHA2-512",
        ]
      ~ tunnel1_phase2_dh_group_numbers      = [
          - 2,
          - 5,
          - 14,
          - 15,
          - 16,
          - 17,
          - 18,
          - 19,
          - 20,
          - 21,
          - 22,
          - 23,
          - 24,
        ]
      ~ tunnel1_phase2_encryption_algorithms = [
          - "AES128",
          - "AES128-GCM-16",
          - "AES256",
          - "AES256-GCM-16",
        ]
      ~ tunnel1_phase2_integrity_algorithms  = [
          - "SHA1",
          - "SHA2-256",
          - "SHA2-384",
          - "SHA2-512",
        ]
      ~ tunnel2_ike_versions                 = [
          - "ikev1",
          - "ikev2",
        ]
      ~ tunnel2_phase1_dh_group_numbers      = [
          - 2,
          - 14,
          - 15,
          - 16,
          - 17,
          - 18,
          - 19,
          - 20,
          - 21,
          - 22,
          - 23,
          - 24,
        ]
      ~ tunnel2_phase1_encryption_algorithms = [
          - "AES128",
          - "AES128-GCM-16",
          - "AES256",
          - "AES256-GCM-16",
        ]
      ~ tunnel2_phase1_integrity_algorithms  = [
          - "SHA1",
          - "SHA2-256",
          - "SHA2-384",
          - "SHA2-512",
        ]
      ~ tunnel2_phase2_dh_group_numbers      = [
          - 2,
          - 5,
          - 14,
          - 15,
          - 16,
          - 17,
          - 18,
          - 19,
          - 20,
          - 21,
          - 22,
          - 23,
          - 24,
        ]
      ~ tunnel2_phase2_encryption_algorithms = [
          - "AES128",
          - "AES128-GCM-16",
          - "AES256",
          - "AES256-GCM-16",
        ]
      ~ tunnel2_phase2_integrity_algorithms  = [
          - "SHA1",
          - "SHA2-256",
          - "SHA2-384",
          - "SHA2-512",
        ]
        # (41 unchanged attributes hidden)
    }

aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 1m40s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 1m50s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 2m0s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 2m10s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 2m20s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 2m30s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 2m40s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 2m50s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 3m0s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 3m10s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 3m20s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 3m30s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 3m40s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 3m50s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 4m0s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 4m10s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 4m20s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 4m30s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 4m40s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 4m50s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 5m0s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 5m10s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 5m20s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 5m30s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 5m40s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 5m50s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 6m0s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 6m10s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 6m20s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 6m30s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 6m40s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 6m50s elapsed]
aws_vpn_connection.main[0]: Still modifying... [id=vpn-0c6ec0afe0bd1debb, 7m0s elapsed]

Have you tunnels go down

Environment (please complete the following information):
Terraform v1.1.9
on windows_386

provider registry.terraform.io/hashicorp/aws v4.13.0
provider registry.terraform.io/hashicorp/cloudinit v2.2.0
provider registry.terraform.io/hashicorp/kubernetes v2.11.0
provider registry.terraform.io/hashicorp/null v3.1.1
provider registry.terraform.io/hashicorp/template v2.2.0
provider registry.terraform.io/hashicorp/tls v3.3.0

Additional Context
Add any other context about the problem here.

@Kieran-Bacon I have run this module multiple times for 2 different connections using OpenTofu v1.6.1 and AWS Provider v5.37.0.  I have not seen any of the cycling issues that you're referring to. I believe this may be due to an older version of TF or the AWS provider. Please try this out with the latest module, AWS provider, and Terraform and let me know your results. If this continues to occur, then please reopen and we'll work to see what the issue is. Thanks!


MVP TODO project link missing

Hi,
I was trying to see the code for the project "Architecture Blueprints - todo-mvp-room", but it leads to a 404 page not found error. Hope you can fix it 😃.

@KerryHeroVitamin - todo-mvp using Room: Here is a link -
https://github.com/googlesamples/android-architecture/tree/todo-mvp
The repo branch was updated by PR #450 by @JoseAlcerreca recently.
The changes to update todo-mvp to use Room can be seen here.


Docs dir move up

🚀 Pull Request
Description
Move the Iris documentation directory from iris/docs/iris to docs/iris.
The references to this directory in the documentation and the appropriate config files have been made.
Closes #3836.

Consult Iris pull request check list

@tkknight I assume you want me to wait until this PR is out of draft before starting to review?

@tkknight I assume you want me to wait until this PR is out of draft before starting to review?

Yes @bjlittle , it is in draft until I finish up some double checks.


fix: {{ white change for vulnerabilities found by bot }}

this PR doesn't contains any code... closing it

PR had been created for seeing existing vulnerabilities that found by bot:
https://github.com/Capgemini/dcx-react-library/issues/403


Release v0.6.0

New features are almost ready to be released.
Here's the checklist for releasing v0.6.0:

[x] Add remaining indicators.
[x] Write corresponding documentation and review. (#182 )
[x] Add docstrings.
[x] Update benchmarks.(#183 )
[x] Final sanity check and code style.
[x] Release to PyPI.
[x] Apply release description to tag.

@DaveSkender There's an error in creating new tag. Do we need to tag manually..?

I've just tagged and published release note. And I except that the next release will be the first official release, we might need to discuss some requirements and check its functionality on the next issue :)


[WIP] Move runsteps into its own package

Which issue this PR addresses:
Partially fixes https://github.com/Azure/ARO-RP/issues/856
What this PR does / why we need it:
This moves the runSteps function into its own package so it can be reused, and makes Installer make use of it.
Test plan for issue:
StepRunner has direct tests, and Installers use of it is tested. (not quite yet)
Is there any documentation that needs to be updated for this PR?
N/A

(I am aware this is a WIP, so feel free to disregard any of my above comments if they become irrelevant.)

@hawkowl this is ready to merge IMO but I think it's going to hit conflicts from the ARO operator code pending, so I'm going to hold off and let you rebase first.


Server down? gameservermanagers.com is "ERR_NAME_NOT_RESOLVED"

Some DNS problems of some sort, anyway I can't get through to the server, and my vps can neither.
Confirmed by http://isup.me/gameservermanagers.com as well

Will be fixed soon. Thanks for reporting this

It works now :)


Update protos to IBC v3.0.0-alpha2 and Cosmos SDK v0.45

Closes: #1797
Description

[x]  Update Protocol Buffers definitons to Cosmos SDK v0.45 et IBC v3.0.0-alpha2

[x] Remove channel version negotiation step during channel handshake

In IBC v2, relayers would query the NegotiateAppVersion endpoint before calling ChanOpenTry.
Applications would then need to verify that the passed in version was correct.
As of IBC v3, applications will perform this version negotiation during the channel handshake, thus removing the need for the relayer to query the version.

PR author checklist:

[x] Added changelog entry, using unclog.
[ ] Added tests: integration (for Hermes) or unit/mock tests (for modules).
[x] Linked to GitHub issue.
[x] Updated code comments and documentation (e.g., docs/).

Reviewer checklist:

[ ] Reviewed Files changed in the GitHub PR explorer.
[ ] Manually tested (in case integration/unit/mock tests are absent).

We should also bump up the IBC_GO_MODULE_VERSION_REQ to match ibc-go v3

b0b29edc

I think we still have 3 sets of COSMOS_IBC|SDK_COMMIT files, would be cool to reduce the redundancy there.

Done :)

We might have moved a bit too fast with upgrading the files: https://github.com/cosmos/ibc-go/releases/tag/v3.0.0-beta1. I think we should regenerate the files from v3-beta1, or maybe even better, wait it out until v3 comes out (towards end of Febr)?

At a high level, when comparing to v3.0.0-alpha2 this release:

addresses all issues raised by Trail of Bits during an audit of ICS27
simplifies controller chain portID to only contain a prefix and the owner address
introduces JSON encoded metadata to ICS27 to store the version, connection sequences, encoding/txtype, and the interchain account address
the ics27 host chain will include the MsgResponse in the packet acknowledgement upon successful transaction execution. Please see the auth module documentation for more information.

Sure, that was expected. We don't want to merge this before v3 is out anyway :)


[WIDGET] Mentor preview widget

A widget to display all mentors who have contributed a roadmap.

Hello, I would like to work on it.

Hey @palak296, Sure please go ahead.
You'll need to create a widget that can be reused in the mentors' screen that'll have details like:

Image of mentor
Name of mentor
A small title
and, if possible GitHub and LinkedIn icons that are clickable.

If you have any questions, Tag me here or on Discord (Link: https://teamaditya.co/)


Shorter cf oauth client RT validity

30 days is likely to be a too large default for most organizations (e.g. PWS sets 1 day)
In addition, a long refresh token validity (30 days) has the current side effect of growing the UAA db potentially up to its total capacity potentially creating outages, see https://github.com/cloudfoundry/uaa/issues/466: UAA stores all refresh tokens which have not expired or were invalidated.

Hey @gberche-orange
Thanks for this PR.  I personally don't totally understand those fields, but next to 600 you put the comment 1 hour.  How does 600 translate to 1 hour?
This change will break the manifest generation unit tests.  Would you mind fixing the commit so that the unit tests pass, and squash that work into a single commit so the PR just consists of passing commits?  See steps 6 and 9 of the General Workflow section of the Contributing doc for more details on these tests.
Finally, could @sreetummidi and @plfx review this commit and sign off on whether the change is reasonable?
Thanks,
Amit

The change is reasonable from the UAA's perspective. However, 600 seconds is ten minutes, rather than one hour. The refresh token time looks correct.

thanks @Amit-PivotalLabs and @plfx for reviewing this PR and sorry for having skipped the unit test step.
I pushed a commit which fixes it, the invalid comment, along with the updated sample aws manifest.

@gberche-orange Just to clarify, you'd like the default value to be 10 minutes instead of 1 hour?
@plfx Is 10 minutes too low for a token validity interval?
Assuming 10 minutes is the intended change, and we don't think it's too low, we can merge this in. Otherwise, @gberche-orange, maybe we can change the value to 1 hour (or 3600 in terms of the manifest)?

@dsabeti Please hold off on merging this.
This affects all deployments including PWS. Let's talk when I am in office.

@dsabeti My request is only to reduce the refresh token duration (refresh-token-validity ) from 30 days to 7 days. I am not requesting to change current access-token-validity of 600 s (10 mins): I'm merely adding a comment to make is more human readeable in the template.
@sreetummidi I understand the PWS deployment would not be affected by this PR as the RT 30 days default seems currently overriden by PWS ops: RT tokens emmited on the cf client expire after 1 day.

@sreetummidi Any updates on this?

@dsabeti I am good with this update.
Apologize for the delay !

Great. @gberche-orange. The story is prioritized to be merged in. We'll try to get to it soon.


fix: rollback

:tada: This PR is included in version 1.0.0-next.12 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


constant launch of the framework

how to kill the constant launch of the framework in the browser?

I found my problem. The problem of page synchronization https://osintframework.com/ with the extensionhttps://chrome.google.com/webstore/detail/eversync-sync-bookmarks-b/iohcojnlgnfbmjfjfkbhahhmppcggdog?hl=ru


fix(api/applications): seed delete representation attachment

Describe your changes

Issue ticket number and link
Type of change 🧩

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[ ] I have performed a self-review of my own code
[ ] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[ ] I have referenced the ticket number above
[ ] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes

Huh, I just fixed this before I saw your PR!


tini childs dont't receive sigterm after docker stop

Hello!
I have several ZEBRA daemons running in docker container with tini as entrypoint.
The problem is that all zebra daemons receive SIGKILL when container stopped..
ZEBRA processes in docker container for example:
ps -a
PID   USER     TIME  COMMAND
    1 root      0:00 /sbin/tini -vvv -- /usr/lib/frr/docker-start
    7 root      0:00 {docker-start} /bin/bash /usr/lib/frr/docker-start
   11 root      0:00 /usr/lib/frr/watchfrr zebra mgmtd bgpd staticd bfdd
   27 frr       0:01 /usr/lib/frr/zebra -d -F traditional -A <IP_ADDRESS> -s 90000000 -M dplane_fpm_nl
   33 frr       0:00 /usr/lib/frr/mgmtd -d -F traditional
   35 frr       0:00 /usr/lib/frr/bgpd -d -F traditional -A <IP_ADDRESS>
   42 frr       0:00 /usr/lib/frr/staticd -d -F traditional -A <IP_ADDRESS>
   45 frr       0:02 /usr/lib/frr/bfdd -d -F traditional -A <IP_ADDRESS>

All ZEBRA daemons have parent pid of tini (1):
cat /proc/27/status | grep PPid
PPid:	1
cat /proc/33/status | grep PPid
PPid:	1
cat /proc/35/status | grep PPid
PPid:	1
cat /proc/42/status | grep PPid
PPid:	1
cat /proc/45/status | grep PPid
PPid:	1

Another look to tini children:
pgrep -lP 1
7 /bin/bash
27 /usr/lib/frr/zebra
33 /usr/lib/frr/mgmtd
35 /usr/lib/frr/bgpd
42 /usr/lib/frr/staticd
45 /usr/lib/frr/bfdd

but only one process receive sigterm in tini logs
[DEBUG tini (1)] Passing signal: 'Terminated'
[TRACE tini (1)] No child to reap
[DEBUG tini (1)] Received SIGCHLD
[DEBUG tini (1)] Reaped child with pid: '7'
[INFO  tini (1)] Main child exited with signal (with signal 'Terminated')
[TRACE tini (1)] No child to reap
[TRACE tini (1)] Exiting: child has exited

I expect that all tini children must receive SIGTERM not only PID 7.

Try using process group mode (-g)
Without this flag tini doesn’t signal anything besides its first child.
You’d have to make sure your children are all in the same process group for
this to work. If you need something more fancy that isn’t supported in Tini.
Hope this helps!
On Mon, 30 Sep 2024 at 11:31, ardenisov @.***> wrote:

Hello!
I have several ZEBRA daemons running in docker container with tini as
entrypoint.
The problem is that all zebra daemons receive SIGKILL when container
stopped..
ZEBRA processes in docker container for example:
ps -a
PID   USER     TIME  COMMAND
1 root      0:00 /sbin/tini -vvv -- /usr/lib/frr/docker-start
7 root      0:00 {docker-start} /bin/bash /usr/lib/frr/docker-start
11 root      0:00 /usr/lib/frr/watchfrr zebra mgmtd bgpd staticd bfdd
27 frr       0:01 /usr/lib/frr/zebra -d -F traditional -A <IP_ADDRESS> -s 90000000 -M dplane_fpm_nl
33 frr       0:00 /usr/lib/frr/mgmtd -d -F traditional
35 frr       0:00 /usr/lib/frr/bgpd -d -F traditional -A <IP_ADDRESS>
42 frr       0:00 /usr/lib/frr/staticd -d -F traditional -A <IP_ADDRESS>
45 frr       0:02 /usr/lib/frr/bfdd -d -F traditional -A <IP_ADDRESS>
All ZEBRA daemons have parent pid of tini (1):
cat /proc/27/status | grep PPid
PPid:	1
cat /proc/33/status | grep PPid
PPid:	1
cat /proc/35/status | grep PPid
PPid:	1
cat /proc/42/status | grep PPid
PPid:	1
cat /proc/45/status | grep PPid
PPid:	1
Another look to tini children:
pgrep -lP 1
7 /bin/bash
27 /usr/lib/frr/zebra
33 /usr/lib/frr/mgmtd
35 /usr/lib/frr/bgpd
42 /usr/lib/frr/staticd
45 /usr/lib/frr/bfdd
but only one process receive sigterm in tini logs
[DEBUG tini (1)] Passing signal: 'Terminated'
[TRACE tini (1)] No child to reap
[DEBUG tini (1)] Received SIGCHLD
[DEBUG tini (1)] Reaped child with pid: '7'
[INFO  tini (1)] Main child exited with signal (with signal 'Terminated')
[TRACE tini (1)] No child to reap
[TRACE tini (1)] Exiting: child has exited
I expect that all tini children must receive SIGTERM not only PID 7.
—
Reply to this email directly, view it on GitHub
https://github.com/krallin/tini/issues/229, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANIHVTN5ZS4CYGR42QF7XLZZEK6XAVCNFSM6AAAAABPC3NWRGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2TMMBYHE2DCMI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Remove global util.main_event_loop

from discussion #62 on ib_async
pull request #1 created

deprecation warning on test results
======================= warnings summary =========================
tests/create_test.py:9
  /Users/gonzo/Documents/dev/eventkit/tests/create_test.py:9: DeprecationWarning: There is no current event loop
    loop = asyncio.get_event_loop_policy().get_event_loop()

proposed solution
try:
  loop = asyncio.get_running_loop()
except RuntimeError:
  loop = asyncio.new_event_loop()
  asyncio.set_event_loop(loop)

proposed solution to be applied to util.get_event_loopand tests/create_test.py
reference -> https://docs.python.org/3/library/asyncio-policy.html#asyncio.DefaultEventLoopPolicy

another good catch there.
I tried it in a couple places, and found even after that is fixed in the 3 tests using .get_event_loop(), then the underlying util.get_event_loop() starts failing again... but that got fixed by just adding this fix there too and also caching the first creation result and never creating another one.
After those updates, the tests work on 3.10 and 3.12 for me locally.
I'm adding/updating a next branch with those changes (and some other minor things). I'll add a PR against it, so see if those look right and we can merge more updates into a new version.


Itch.io

Hi,
I am doing a project on itch.io https://fsvieira.itch.io/the-corporation (also github https://fsvieira.github.io/thecorporation/) , and I think it would be interesting to list monogatari as engine there.
Then I could add it as  tool on my game description.
Thanks.

This has been actually a popular request so here we go! :D
https://hyuchia.itch.io/monogatari

Uau, that was pretty fast, thanks a lot.


Iheriting the Dataset class

My question is somewhat related to #529
I require a custom dataset to train my model with, but i can't find any good explanations for it.
The documentation about Dataset, DataLoader and DataBatch classes are not very clear. I have created a custom dataset class that inherits the original Dataset, but it requires a createDataBatch function to be implemented that returns a DataBatch instance.
DataBatch doesn't have a public constructor so how can this be achieved?

@RawEnchilada it seems that this is a bug, sorry about that. There is a workaround though: it looks like the internal constructor can still be referenced from java code. So one idea is that temporarily you can add a java class like so:
public class DataBatchUtil {
    public static DataBatch createBatch(float[][] x, float[] y, int size) {
        return new DataBatch(x, y, size);
    }
}

And use this utility class to create new data batches. This is a bit ugly, but should work temporarily.
Other alternative is maybe not implementing a new DataSet but reusing available implementations. What is your use case, perhaps it can be implemented without a new class?


Lazy load factories' definitions?

I'm trying to figure out why my test is so slow in my project.
It seems that require 'factory_bot_rails' takes 1.46 seconds to load, and all files including factory_bot_rails take 2.2 seconds to load.factory_bot_rails occupied 65% of my time!
So I wonder whether it is possible to load the definitions only when the factory is used?
My project has hundreds of factories and only few of them will be used in a single test file.
It would be a waste of time to load all the factories when you are fixing a bug and just want to test a test case.
FactoryBot.define do
  factory :user do
    # user definitions here
    # load the definitions only when `:user` is used
  end
end

System configuration
factory_bot version:  5.0.2
rails version:  <IP_ADDRESS>
ruby version:  2.5.5

I think you could set FactoryBot.definition_file_paths = [] to avoid automatically loading definitions, then if you have each factory in its own file you can just required the files that you need.

I found that the real problem is that I specify the class by constant (ex: factory :admin, class: User), and Rails will autoload it for me.
So I replaced all of them with string (ex: factory :admin, class: 'User').
And then it runs fast now :).


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/971 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target.git

Docs Build status updates of commit 89e9887:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch Release_Archive_master_2021-07-20-02-09-57 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Incorporating parser.rb with ABNF comments into master

How do you feel about moving my version of lib/jcr/parser.rb into your master branch?  It does have a extraneous stuff for a product that is just a pure validator, but will help me keep the Parslet verification code and the ABNF in sync.
If you're up for it, I'll create a pull request off your current master, and include my abnf creation Python script as well.  I'll double check it passes all the tests before submitting it!

Should have said, you can see my copy at:
https://github.com/codalogic/jcrvalidator/blob/abnf_prep/lib/jcr/parser.rb

Yeah, that sounds good to me.


[onnx] upgrade OnnxRuntime to 1.9.0 and add UINT8 support

Change-Id: I7c6a2c3608bbaa969b454d705045218c596a9366
Description
Fixes: https://github.com/deepjavalibrary/djl/issues/1103

Codecov Report

Merging #1271 (f84ad2d) into master (8a431ba) will decrease coverage by 0.05%.
The diff coverage is 0.00%.

:exclamation: Current head f84ad2d differs from pull request most recent head 4109023. Consider uploading reports for the commit 4109023 to get more accurate results

@@             Coverage Diff              @@
##             master    #1271      +/-   ##
============================================
- Coverage     72.03%   71.97%   -0.06%
+ Complexity     5119     5116       -3
============================================
  Files           473      473
  Lines         21945    21947       +2
  Branches       2347     2347
============================================
- Hits          15807    15796      -11
- Misses         4936     4948      +12
- Partials       1202     1203       +1

Impacted Files
Coverage Δ

.../main/java/ai/djl/onnxruntime/engine/OrtUtils.java
31.03% <0.00%> (-2.30%)
:arrow_down:

...gine/src/main/java/ai/djl/dlr/engine/DlrModel.java
51.61% <0.00%> (-3.23%)
:arrow_down:

api/src/main/java/ai/djl/util/Platform.java
69.81% <0.00%> (-1.89%)
:arrow_down:

api/src/main/java/ai/djl/repository/Artifact.java
87.80% <0.00%> (-1.63%)
:arrow_down:

...ain/java/ai/djl/tensorflow/engine/TfNDManager.java
87.78% <0.00%> (-1.53%)
:arrow_down:

...ngine/src/main/java/ai/djl/mxnet/jna/LibUtils.java
40.00% <0.00%> (-1.18%)
:arrow_down:

.../main/java/ai/djl/benchmark/AbstractBenchmark.java
90.00% <0.00%> (-1.18%)
:arrow_down:

...mark/src/main/java/ai/djl/benchmark/Arguments.java
88.42% <0.00%> (-0.53%)
:arrow_down:

.../djl/training/listener/MemoryTrainingListener.java
76.62% <0.00%> (ø)

...rc/main/java/ai/djl/paddlepaddle/jni/LibUtils.java
48.27% <0.00%> (ø)

Continue to review full report at Codecov.

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


[vcpkg-scripts] Update msys2

Semi-automated update from vcpkg-ci-msys2[*].
Needed to stay ahead of expiring downloads.
Major changes:
gfortran -> 13.2
msys2-runtime -> 3.4.9-3 (upstreamed fixes for flaky "Bad address" errors when invoking Windows program from MSYS2)
pkgconf -> 2.1 (upstreamed fixes for search order and link lib order)
python -> 3.11

Hm, the final ffmpeg error is
D:/installed/x64-windows/tools/pkgconf/pkgconf.exe --exists --print-errors aom >= 1.0.0
/d/buildtrees/ffmpeg/src/n6.0-c7510d6860.clean/configure: line 995: D:/installed/x64-windows/tools/pkgconf/pkgconf.exe: Bad address
ERROR: aom >= 1.0.0 not found using pkg-config

but earlier invocations of pkgconf worked, and the Bad adress errors start earlier, too:
check_func_headers bzlib.h BZ2_bzlibVersion -lbz2
test_ld cc -lbz2
test_cc
BEGIN ./ffconf.IrXuJGdW/test.c
    1	#include <bzlib.h>
    2	#include <stdint.h>
    3	long check_BZ2_bzlibVersion(void) { return (long) BZ2_bzlibVersion; }
    4	int main(void) { int ret = 0;
    5	 ret |= ((intptr_t)check_BZ2_bzlibVersion) & 0xFFFF;
    6	return ret; }
END ./ffconf.IrXuJGdW/test.c
cl.exe -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -DPIC @D:/buildtrees/ffmpeg/x64-uwp-rel/cflags.rsp -nologo -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00 -DHAVE_UNISTD_H=0 -ID:/installed/x64-uwp/include -c -Fo./ffconf.IrXuJGdW/test.o ./ffconf.IrXuJGdW/test.c
/d/buildtrees/ffmpeg/src/n6.0-c7510d6860.clean/configure: line 995: /c/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe: Bad address

The common thing is that both pkgconf.exe and cl.exe are invoked from within MSYS2 bash, so it could be an MSYS2 runtime issue.

Non of the pkgconf PR went through so there seem to be still bugs in latest pkgconf.

Unrelated to "Bad address".

Upstream pkgconf has a search order regression since 2.0.0: https://github.com/pkgconf/pkgconf/issues/326, https://github.com/pkgconf/pkgconf/pull/327.
MSYS2 fixes this with a patch now. That's why I made this PR now.
The remaining regressions in #34228 are from CMake reordering link libraries which are imported from pc files because it doesn't assume any dependencies. I fixed this for graphviz by adding dependencies unless they are explicit, https://github.com/microsoft/vcpkg/pull/34228/commits/6a15df6e2db83655487aeab69c30c89ded166e93.
IIRC this started in some CMake 3.2x. This may explain why qtinterfaceframework has been flaky before. The relevant link libraries are picked via pkgconfig in qtmultimedia... IIRC there was a connection to link groups support, but I can't remember what's the chicken and what's the egg.
I'm really close to forking or wrapping FindPkgConfig.cmake :-(

Nightly CI is now complaining about libcrypt being removed the msys2 index. Time to update.
But pkgconf 2.0 is still unusable because of https://github.com/pkgconf/pkgconf/issues/322. I will try to remove this part of the update.

My fixes for pkgconf and msys2-runtime are finally accepted into upstream sources... I hope the flaky "Bad Address" issues are resolved then.

jkqtplotter: baseline regression, https://github.com/microsoft/vcpkg/pull/35319

Could you take the opportunity and use mingw-w64-i686-pkgconf/libwinpthreads on x86 and mingw-w64-x86_64-pkgconf on x64
somthing similar to https://github.com/microsoft/vcpkg/pull/24160, except that the file is scripts/cmake/vcpkg_find_acquire_program(PKGCONFIG).cmake

Could you take the opportunity and use mingw-w64-i686-pkgconf/libwinpthreads on x86 and mingw-w64-x86_64-pkgconf on x64 somthing similar to #24160, except that the file is scripts/cmake/vcpkg_find_acquire_program(PKGCONFIG).cmake

vcpkg_find_acquire_program(PKGCONFIG).cmake is subject of #35299.
These PRs used to have different blockers. That's why they exist in isolation. I can create a third, integrated PR. But I don't want to delay any of these isolated PRs now. Every day of delay means more users which will run into future msys2 download errors from not updating vcpkg early enough. And every day is another chance for the vcpkg maintainers to merge new baseline regressions...

Included in https://github.com/microsoft/vcpkg/pull/35331 (proposed).

Merged with #35331.


Mixed case filter options

When trying to filter based on hostname, could it be possible to ignore the case ? It's just to avoid the following frustrating moment :D
$ falcon -p ddev host_search -f OS=Windows -f hostname=VM-azdaz2022
Exception: hostname
$ falcon -p ddev host_search -f OS=Windows -f Hostname=VM-azdaz2022
VM-azdaz2022 - (id)

Thanks !

Hey! Thank you for raising your feature recommendations / issues! I'm going through them now and getting them categorised
This one in particular may be tricky from our side as we build an FQL query on the backend and pipe this through to Falcon verbatim, so I need to see whether we can coerce FQL case insensitivity through the API (I believe not, but will ask).


Hizeros/streamlit

feat:Add streamlit+pne.chat to build use case of simple chatbot
fix:Fixed the problem that api_key was not passed in

great. But I hope that you can add a related document to the use cases, showing how to use streamlit, and the corresponding runtime performance diagram.


Add easy-ocr extension

Description

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Not at all, that was just my idea of adding multiple options for users. Do you want me to refactor it and add commit when done?

If you don't mind I think that would be better 🔥

Is this ready for another review?

Yes it is, I removed Google cloud vision ocr option


Revert parameter tuning commits

I’d like to suggest that we revert the parameter tuning from PR #345 and #351 until we have come to a conclusion about the problem with the reduced mapping rate discussed in #354.
This would allow us to make a release with the other fixes that we have accumulated since v0.11.0.

I have run this PR on the evaluation datasets and compared it to v0.11.0.
As expected:

Mapping rate is nearly unchanged
Accuracy is nearly unchanged (average differences: +0.0027 SE and -0.0022 PE)

Yes, this is in percentage points.


what are Constants and literals in C++.md

what are Constants and literals in C++

Description 📜what are Constants and literals in C++.md
Fixes #8541

Type of change 📝

[X] Doc#umentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[X] C/#CPP

Checklist ✅

[ X] I follow Contributing Guidelines & Code of conduct of this project.
[ X] I have performed a self-review of my own code or work.
[ X] I have commented my code, particularly in hard-to-understand areas.
[ X] My changes generates no new warnings.
[ X] I'm GWOC'21 contributor

I have made all the changes. Please review once and try to merge it.


View keeps switching from MaterialX to Shader editor

Tested with latest master (1.0.77) and Blender 3.0.1.
To reproduce:

open Blender
switch to 'USD Hydra' Render Engine
switch to MaterialX tab
press 'New'
-> view switches to Blender shader editor which it shouldn't do
switch back to MaterialX tab
select new 'NodeTree' material
'Create Basic Nodes'
switch back to MaterialX tab...
select 'NodeTree' material
try to add any MaterialX node
see Blender crash

Just tested it again with the latest revision: it doesn't crash anymore. But it still keeps jumping to the 'Shader Editor', making the MaterialX graph editor barely usable.

It is Blender related issue, so we can't fix it on our side, but we will try to find appropriate workaround.

Let's create a blender bug @DagerD


Separate VS Code setup from setting-up-rpi.md doc

RPi OS comes with Thonny pre-installed, so VS Code is nice, but optional. Breaking out its installation steps into a separate document will make RPi setup cleaner and shorter.

Removed. Will use code-server container for web-based VS Code instead.


Show balance of collective on its transactions page

\transactions page doesn't show you the net balance of the collective. On the main collective page, that's shown in the budget header.

you can see it in the goals progress line


Bumps and release v0.19.0

@slint just bumping invdenio-rdm-records is good enough. @zzacharo just bumped this module to the december release line 0.18.X 2 days ago so we are good on that front.


OAuthApplicationDatabase update_application infinite recursion

>>> db.update_application(**current)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ake/.venvs/ovos/lib/python3.11/site-packages/ovos_backend_client/database.py", line 425, in update_application
    self.update_application(oauth_service,
  File "/home/ake/.venvs/ovos/lib/python3.11/site-packages/ovos_backend_client/database.py", line 425, in update_application
    self.update_application(oauth_service,
  File "/home/ake/.venvs/ovos/lib/python3.11/site-packages/ovos_backend_client/database.py", line 425, in update_application
    self.update_application(oauth_service,
  [Previous line repeated 996 more times]
RecursionError: maximum recursion depth exceeded

The update_application() method calls itself causing above exception.
What is the intention of this method? should it be forwarded to the standard update method or should it do additional checks?

i think that was meant to just call add_application internally? def not intended to be like that

Resolved in #62 , closing


QuickLogic: upstreaming toolchain changes

This PR adds the following changes:

toolchain wrappers able to generate bitstreams and 4byte data
usage of the external qlf-fasm library
bump of qlfpga-symbiflow-plugins with correct architecture data
changes and addition of qlf library data
fixes to the repacker

Note: most of the changes happen to be library files additions

Its here :
/quicklogic/common/toolchain_wrappers/symbiflow_generate_libfilehttps://github.com/QuickLogic-Corp/symbiflow-arch-defs/blob/master/quicklogic/common/toolchain_wrappers/symbiflow_generate_libfile
From: Alessandro Comodi @.>
Sent: 17 May 2021 19:21
To: SymbiFlow/symbiflow-arch-defs @.>
Cc: Kishor Kumar @.>; Mention @.>
Subject: Re: [SymbiFlow/symbiflow-arch-defs] QuickLogic: upstreaming toolchain changes (#2137)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
@acomodi commented on this pull request.

In quicklogic/common/toolchain_wrappers/symbiflow_placehttps://github.com/SymbiFlow/symbiflow-arch-defs/pull/2137#discussion_r633549092:

@@ -45,6 +45,12 @@ else

fi
+# Generate lib file
+if [ -s $PART ]; then
I didn't see an option to generate these lib file in ql_symbiflow.
@kkumar23https://github.com/kkumar23, do you know whether this should be here or is it better to move it in ql_symbiflow?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/SymbiFlow/symbiflow-arch-defs/pull/2137#discussion_r633549092, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOX6WQG4GBLRT67LP23ZX63TOENN3ANCNFSM45AN3YFQ.

@kkumar23, Right, but the call to generate_symbiflow_lib is correct to be included in symbiflow_place? I might be missing something, but I think it might be better to have it explicitly generated in ql_symbiflow

Yes it can be done. We added this for easy reference.


Fix dialyxir warnings

Looks like there's a new release coming for Dialyxir, hopefully that fixes these.
https://github.com/jeremyjh/dialyxir/issues/423
warning: Mix.Project.compile/1 is deprecated. Use Mix.Task.run("compile", args) instead
  lib/dialyxir/project.ex:47: Dialyxir.Project.cons_apps/0

warning: Mix.Project.compile/1 is deprecated. Use Mix.Task.run("compile", args) instead
  lib/mix/tasks/dialyzer.ex:164: Mix.Tasks.Dialyzer.run/1

Yes, these are fixed in 1.1.0, just released.

awesome, thank you 🙏


Unable to install older Java (x86_64) versions

While asdf allowed to install older Java versions (compiled for x86_64) via arch, this seems not possible with rtx.
❯ arch -x86_64 rtx install<EMAIL_ADDRESS>arch: posix_spawnp: rtx: Bad CPU type in executable

As a workaround i manually downloaded the version and placed it in ~/.local/share/rtx/installs/java which seemed to work so far. Anything else to consider?

maybe this is because you're using the arm64 version of rtx. You could try the x64 version to see what happens.

I generally understand the limitation as i'm on a M1 Mac Book using a ARM64 binary. Unlike asdf which is purely shell based and hence does not have this limitation.
Anyways i figured that i also need to write a .rtxconf.msgpack file to make my workaround work.

Huh, I suppose I could put the architecture into that file name so that it wouldn’t be automatically loaded in different architecutures

Your suggestion would render my workaround useless, as i understand this. Since i'm on M1 i still need to be able run old stuff (like Java 11), so i'm fine with the state as as. I'm just curious what this file is used for exactly. It seem like its currently defining the PATH for that runtime.

An issue i just discovered though. Using a .tool-versions file in a project shows the openjdk-11.0.2 as selected but also reports an error.
 ❯ rtx list
-> java openjdk-11.0.2     (set by ~/Dev/playground/java/example/.tool-versions)
   java openjdk-17.0.2
   java openjdk-19.0.2
-> maven 3.8.7              (set by ~/.tool-versions)
[ERROR] failed to fetch runtimeconf for<EMAIL_ADDRESS>[ERROR] Run with RTX_DEBUG=1 for more information.

Checking the version shows that the autoselection did not work successfully.
 ❯ java --version
openjdk 19.0.2 2023-01-17
OpenJDK Runtime Environment (build 19.0.2+7-44)
OpenJDK 64-Bit Server VM (build 19.0.2+7-44, mixed mode, sharing)
[ERROR] failed to fetch runtimeconf for<EMAIL_ADDRESS>[ERROR] Run with RTX_DEBUG=1 for more information.

After some more testing, i can confirm that things work with my workaround. Looks like i can switch to rtx not looking back.
Issue can be closed from my point of view. Thanks for clarifying my questions.

glad to hear it! lmk if there is anything more we might be able to do here. I couldn't think of anything off the top of my head.


[Projection Support] Do not merge updates in case of different entity

This is a rather straight-forward improvement over the current update strategy - if we detect a nested model entry is entirely different entity (its type or ID changed), then we should not try to merge the updates.

This got merged into the #71 PR.


Create and sign an etching transaction

Hi. I'm trying to use your library to etch a new rune, but seems like it returns error:
Error validating transaction: witness script detected in tx without witness data.

I think the error occurs because I'm using taproot address. can you write an example about create and sign a tx in rune? many thanks and appriciate.

You can see example at here

Hey, thanks for your quick reply. I followed the example in that folder. It does return commit tx and reveal tx but when I try to broadcast it to bitcoin testnet through blockcypher it return errors:
Error validating transaction: Error running script for input 0 referencing 022c4e1b49e33d4955338a5c307e220c68720981665b572bd7b24ce85aab6663 at 1: incorrect number of witness items for version 0 witness program of length 20.

Hey, thanks for your quick reply. I followed the example and it returns commitx and revealtx, however, when I try to broadcast it to bitcoin testnet, it returns an error:
Error validating transaction: Error running script for input 0 referencing 022c4e1b49e33d4955338a5c307e220c68720981665b572bd7b24ce85aab6663 at 1: incorrect number of witness items for version 0 witness program of length 20.

Due to my research, this error occured because the transaction hasn't signed yet, but in code, I saw a function to sign commit tx. Can you help me about this. Many thanks!

{
    "addresses": [
        "tb1qp290l5642zjpj0arcqrqjfnk9sm99gcxlln7am",
        "tb1pgksxr7fc8v5nufhtfq0ls8mwrx3tq2nzm8s3gn67yqsqgkgvuykspcewra"
    ],
    "block_height": -1,
    "block_index": -1,
    "confirmations": 0,
    "double_spend": false,
    "fees": 284,
    "hash": "b298e8cbfde13817d50cbe1e4f744fa1ae606ac9cc82020a037dc4eb2d492dbd",
    "inputs": [
        {
            "addresses": [
                "tb1qp290l5642zjpj0arcqrqjfnk9sm99gcxlln7am"
            ],
            "age": 2568208,
            "output_index": 1,
            "output_value": 8000,
            "prev_hash": "022c4e1b49e33d4955338a5c307e220c68720981665b572bd7b24ce85aab6663",
            "script_type": "pay-to-witness-pubkey-hash",
            "sequence":<PHONE_NUMBER>,
            "witness": [
                "862a1fbb954daa54893f84cdf2a04218448cbf085784510be0a0962cab54142aa1b2d2f1e7c62f4ef3bc0f273ccdad43818bc9702b86093de5c6632c47a7dc10"
            ]
        }
    ],
    "opt_in_rbf": true,
    "outputs": [
        {
            "addresses": [
                "tb1pgksxr7fc8v5nufhtfq0ls8mwrx3tq2nzm8s3gn67yqsqgkgvuykspcewra"
            ],
            "script": "512045a061f9383b293e26eb481ff81f6e19a2b02a62d9e1144f5e202004590ce12d",
            "script_type": "pay-to-taproot",
            "value": 1306
        },
        {
            "addresses": [
                "tb1qp290l5642zjpj0arcqrqjfnk9sm99gcxlln7am"
            ],
            "script": "00140a8affd35550a4193fa3c0060926762c3652a306",
            "script_type": "pay-to-witness-pubkey-hash",
            "value": 6410
        }
    ],
    "preference": "low",
    "received": "2024-05-02T07:46:15.531059858Z",
    "relayed_by": "<IP_ADDRESS>",
    "size": 193,
    "total": 7716,
    "ver": 1,
    "vin_sz": 1,
    "vout_sz": 2,
    "vsize": 142
}

This is my commit TX after I decoded it

My example code is for P2TR address, your input addres is P2WPK.
for easy use, please  use P2TR address as input


Connect Wallet button in pool details

The last task of issue #158 was "Prompt user to connect wallet upon clicking an action button". Instead I hid the deposit/withdraw area and replaced it with a "Connect wallet" button. Upon connecting a wallet, the normal deposit/withdraw area will show up.
Added a new translation for "Connect Wallet". Do we also want the header wallet button to say "Connect Wallet"? It seems better to me than "? Wallet".

Works very nice!


feat: Making llama-embeder optional dependency

Closes #32

#34  👈
main

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

Join @tazarov and the rest of your teammates on  Graphite


Feedback

Been looking for a "Start Page" or "App Directory" of sorts for all the self-hosted apps and services I run and manage (which of which I've written myself). Came across your project and tried it out locally. It "just works" 👌 Nice! 🥳
For me to use this seriously in production (open to contributions) I would want to see a few things:

Support for Single-Sign-On (SSO), ideally via Trusted Header Auth with something like Authelia in front, See: https://www.authelia.com/integration/trusted-header-sso/introduction/

Or support for OAuth2 or OpenID Connect

Support for"App Icons". Perhaps even "tiles" as a UX option?
Some way of adding "default links / apps" so authorized users can add their own (if they wish) but always get a set of pre-defined defaults created by the admin.

Thanks!

Thanks for the feedback. Good ideas, I'll try to implement at least some of them.

Been thinking about this some more... Alternative to SSO support would be:

Or support for OAuth2 or OpenID Connect

Also I think for my use-case it would make sense to have an "anonymous" view vs. a "logged in view".


PR: Add "Copy to clipboard" button to the "About Spyder" dialog

Description of Changes

[X] Wrote at least one-line docstrings (for any new functions)
[X] Added unit test(s) covering the changes (if testable)

[X] Included a screenshot or animation (if affecting the UI, see Licecap)

Added a Copy to Clipboard button to the About Spyder dialog as requested in fix 7844
Removed the code for the dialog from app/mainwindow.py into widgets/about.py
Converted the dialog from QMessageBox to QDialog to support the extra button.
Updated copyright date from 2019 to 2020.

Issue(s) Resolved

Fixes #7844
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @davidxbuck

Hello @davidxbuck! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file spyder/widgets/about.py:

Line 177:80: E501 line too long (85 > 79 characters)

@davidxbuck please add the following lines after this fi in https://github.com/spyder-ide/spyder/blob/1ba3221e67f52c77207e386b5dc425fd46a3be66/.github/scripts/modules_test.sh#L48
if [[ $f == spyder/widgets/about.py ]]; then
    continue
fi

In this way the test should be fixed and this PR will be ready to merge :)!

Thanks a lot @davidxbuck for your contribution! This is going in!


main.py

upload main.py

Hey @erryte, thanks for opening up the PR. However, you. do need to make a slight update.
The intention of the assignment is to make your PR in your own fork. This PR is attempting to fork into my repo, instead of your fork.
To change this, you can:

Close this PR
Create a new PR from your fork, and make sure when opening the PR, you change the default target from heemosu:main (meaning the main branch of my fork) to your repo.

Let me know if that makes sense!

I made the change to main.py and opened a new PR. Can you see it or do I need to notify you again through GH?

On Nov 11, 2023, at 8:04 PM, Himanshu Raghuvanshi @.***> wrote:
Hey @erryte https://github.com/erryte, thanks for opening up the PR. However, you. do need to make a slight update.
The intention of the assignment is to make your PR in your own fork. This PR is attempting to fork into my repo, instead of your fork.
To change this, you can:
Close this PR
Create a new PR from your fork, and make sure when opening the PR, you change the default target from heemosu:main (meaning the main branch of my fork) to your repo.
Let me know if that makes sense!
—
Reply to this email directly, view it on GitHub https://github.com/heemonsu/oaf-psd-bootcamp/pull/3#issuecomment-1806994738, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANOTZWNYFFEAOO6XGTC7QCTYEBDENAVCNFSM6AAAAAA7AUMMMOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWHE4TINZTHA.
You are receiving this because you were mentioned.

incorrect PR


Specify boarder accurately with compose

Idea Description
Avoid use of "|" and specify the boarder using compose
Reference images and links

Implementation Idea:
Solution 1: Use Divider and specify bold etc
Solution 2: Use Box and specify color etc
Please take either way

I want to try this issue_


use swift-collections 1.1.3 when appropriate

Update the swift-collections tag used for toolchain builds to 1.1.3.

@swift-ci please smoke test

@swift-ci please build toolchain linux platform

https://github.com/swiftlang/swift/pull/76101 might've beat you

Oh, wow. They were jumping the gun then, but whatever. It's time now.

Closed in favor of https://github.com/swiftlang/swift/pull/76101


Can pytradfri be used to react when a remote control button was pressed?

I have only read but never actually played around with the TRADFRI gateway or any other LightLink gateway device.
As an example, consider a setup where a Raspberry Pi is connected to a TRADFRI gateway coupled to a remote control, as well as to a speaker. The Pi plays music and I can control the playback through python (this could be achieved by running mpc from within python). Can I use pytradfri such that an arbitrary Python function (skipping to the next song) is called whenever the "right" button is pressed on a particular remote?
I haven't found any blogs or examples illustrating such a scenario and I'd be greatly helped in my understanding of TRADFRI if this answer was answered.

The short answer to your question is: no. The reason for this is that the gateway does not catch button presses, so it's not possible. If this is an important feature for you, I would recommend looking into buying a Conbee USB-stick and configure it using, for instance, Home Assistant.

Thanks a lot! Much appreciated.


[Release Radar Request]  1.0

Open Source Project name
Wikipedia Scraper
What is your project?
The project is very handy for students  (or anyone looking for information) to get their desired Wikipedia Article onto their desktop in seconds.
All the student would need is to enter the title of the article they want.
Version
1.0
Date
16 July 2022
Description of breaking changes
This is the first version for the Wikipedia Scraper.
GitHub Repo
https://github.com/Jai-Verma-04/WikiPedia-Scraper
Website
None
Link to changelog
https://github.com/Jai-Verma-04/WikiPedia-Scraper/releases/tag/v1.0
Social media
https://www.instagram.com/p/CWxXO6BjdgON9UteK1rcitrDL7svGWSUjwYNmY0/
Anything else to add?
No response

Congrats on being featured in the MONTHOF Release Radar 🥳

Read the blog here
Check out our GitHub Tweet
Feel free to retweet Mish's tweet mentioning you
Check out our Release Radar YouTube video for the July Release Radar promo video 😄

Very thankful for the same Mam, and I hope you are doing fine.
I would like to inquire that I am not able to see my project on the blog,
although mentioned that i have been featured in the July released radar.
Regards
Jai Verma
Twitter: @Jai_Verma-_04
On Tue, Aug 30, 2022, 08:02 MishManners®™ @.***> wrote:

Congrats on being featured in the July Release Radar 🥳

Read the blog here
https://github.blog/2022-08-05-release-radar-jul-2022/
Check out our GitHub Tweet
https://twitter.com/github/status/1557773344996458497
Feel free to retweet Mish's tweet mentioning you
https://twitter.com/MishManners/status/1564440638556622848
Check out our Release Radar YouTube video
https://youtu.be/pAD2ZYYBHKA for the July Release Radar promo video
😄

—
Reply to this email directly, view it on GitHub
https://github.com/github/release-radar/issues/104#issuecomment-1231070675,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWSN4MVUIZR3TAIHXKCFK5DV3VXEXANCNFSM53XWCR6Q
.
You are receiving this because you authored the thread.Message ID:
@.***>


[PR-2] Update Config

atlantis help

atlantis
Terraform Pull Request Automation

Usage:
  atlantis <command> [options] -- [terraform options]

Examples:
  # run plan in the root directory passing the -target flag to terraform
  atlantis plan -d . -- -target=resource

  # apply all unapplied plans from this pull request
  atlantis apply

  # apply the plan for the root directory and staging workspace
  atlantis apply -d . -w staging

Commands:
  plan     Runs 'terraform plan' for the changes in this pull request.
           To plan a specific project, use the -d, -w and -p flags.
  apply    Runs 'terraform apply' on all unapplied plans from this pull request.
           To only apply a specific plan, use the -d, -w and -p flags.
  unlock   Removes all atlantis locks and discards all plans for this PR.
           To unlock a specific plan you can use the Atlantis UI.
  approve_policies
           Approves all current policy checking failures for the PR.
  version  Print the output of 'terraform version'
  help     View help.

Flags:
  -h, --help   help for atlantis

Use "atlantis [command] --help" for more information about a command.

atlantis plan -p test

Ran Plan for dir: account01/wafv2/ip-sets workspace: default
Plan Error
Show Output
running "terragrunt plan" in "/home/atlantis/.atlantis/repos/woodonggyu/terragrunt-aws-wafv2/13/default/account01/wafv2/ip-sets": exit status 1: running "terragrunt plan" in "/home/atlantis/.atlantis/repos/woodonggyu/terragrunt-aws-wafv2/13/default/account01/wafv2/ip-sets":

Initializing the backend...

Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.
Error refreshing state: state data in S3 does not have the expected content.

This may be caused by unusually long delays in S3 processing a previous state
update.  Please wait for a minute or two and try again. If this problem
persists, and neither S3 nor DynamoDB are experiencing an outage, you may need
to manually verify the remote state and update the Digest value stored in the
DynamoDB table to the following value:

time=2022-08-27T08:40:53Z level=error msg=Terraform invocation failed in /home/atlantis/.atlantis/repos/woodonggyu/terragrunt-aws-wafv2/13/default/account01/wafv2/ip-sets/.terragrunt-cache/3CPq7-_2g0p-Ortcu8RiUMbTjW4/ia4an0-lMsDSp6EWuOajMUicSUY/ipset prefix=[/home/atlantis/.atlantis/repos/woodonggyu/terragrunt-aws-wafv2/13/default/account01/wafv2/ip-sets]
time=2022-08-27T08:40:53Z level=error msg=1 error occurred:
	* exit status 1

atlantis plan -p test

Ran Plan for dir: account01/wafv2/ip-sets workspace: default
Plan Error
Show Output
running "terragrunt plan" in "/home/atlantis/.atlantis/repos/woodonggyu/terragrunt-aws-wafv2/13/default/account01/wafv2/ip-sets": exit status 1: running "terragrunt plan" in "/home/atlantis/.atlantis/repos/woodonggyu/terragrunt-aws-wafv2/13/default/account01/wafv2/ip-sets":

Initializing the backend...
Error refreshing state: state data in S3 does not have the expected content.

This may be caused by unusually long delays in S3 processing a previous state
update.  Please wait for a minute or two and try again. If this problem
persists, and neither S3 nor DynamoDB are experiencing an outage, you may need
to manually verify the remote state and update the Digest value stored in the
DynamoDB table to the following value:

time=2022-08-27T08:42:29Z level=error msg=Terraform invocation failed in /home/atlantis/.atlantis/repos/woodonggyu/terragrunt-aws-wafv2/13/default/account01/wafv2/ip-sets/.terragrunt-cache/3CPq7-_2g0p-Ortcu8RiUMbTjW4/ia4an0-lMsDSp6EWuOajMUicSUY/ipset prefix=[/home/atlantis/.atlantis/repos/woodonggyu/terragrunt-aws-wafv2/13/default/account01/wafv2/ip-sets]
time=2022-08-27T08:42:29Z level=error msg=1 error occurred:
	* exit status 1


Improve github actions

As a developer
I want to improve our GitHub actions
so that I can improve the performance and quality of life for development.
Hints / Details
Atm. some actions are executed even though they don't need to.

Build BE on FE PR only (if possible - watch out argocd relies on latest commit sha)
Eclipse Dash check on even though no new package was added
...

Potential Improvements:

Investigate if we could improve our actions with GitHub Matrix
Restrict the builds so they are only run if necessary.
Improve tests so a build does not happen too often (BE Build happens quite often)
Don't have duplicate runs

Acceptance Criteria

[ ] DockerHub Deployment on Tractuy-X
[ ] All builds on PR are green
[ ] PR does not trigger any github actions which requires secrets

Out of Scope

...

@jzbmw Recommendation to set this to low.


Performance enhancements

I benchmarked it by:
<?php
require(__DIR__ . '/vendor/autoload.php');

$hashids = new \Hashids\Hashids(
	'm5QxG7MsGMJ2ZNwkv2xp2p'
);

$bench_against = $hashids->encode($hashids->get_max_int_value() - 1000);
$bench = microtime(true);
for ($i = 0; $i < 50000; $i++)
{
	$o = $hashids->decode($bench_against);
}
echo microtime(true) - $bench;

and
<?php
require(__DIR__ . '/vendor/autoload.php');

$hashids = new \Hashids\Hashids(
	'm5QxG7MsGMJ2ZNwkv2xp2p'
);

$bench_against = $hashids->get_max_int_value() - 1000;
$bench = microtime(true);
for ($i = 0; $i < 50000; $i++)
{
	$o = $hashids->encode($bench_against);
}
echo microtime(true) - $bench;

(... although these are stupid benchmarks, they work somehow. It would better if I would use microtime(true) within the changed functions.)

Hi @arzeth,
Thank you for this PR; I need to spend some time on these. Good updates, can't believe PHP doesn't already optimize for these! :]
Will update here when I dig into this more (might take some time, as I'm a bit back-logged).

Interested in testing this out. I am trying to encode/decode a few thousand hashids every second.

Well, this has to be some sort of a record for slowest PR merge ever. Thanks for being patient.
The code is a bit faster, not by much, but faster nonetheless. And a bit cleaner too. Thanks for the PR, @arzeth.
@jamesduffy I have a few ideas on improving consistent shuffle function for later versions, which should make it a bit more efficient. Out of curiousity, what are you doing that you're encoding/decoding so many at a time?

@ivanakimov We use it for high performance user tracking. We needed to limit the number of db connections to get unique IDs between requests.

Ah coolio, gotcha.