Won't start with latest version (2.11)

Tonight my system pulled the latest deconz version (with watchtower).
Now the webgui is not reachable.
Last log entries:

[marthoc/deconz] Starting deCONZ...
[marthoc/deconz] Current deCONZ version: 2.11.00
[marthoc/deconz] Web UI port: 8100
[marthoc/deconz] Websockets port: 8443
[marthoc/deconz] VNC port: 5900
Killing Xtigervnc process ID 23... which was already dead
Cleaning stale pidfile '/root/.vnc/dockerpi:0.pid'!
Cleaning stale x11 lock '/tmp/.X0-lock'!
Cleaning stale x11 lock '/tmp/.X11-unix/X0'!
New 'dockerpi:0 (root)' desktop at :0 on machine dockerpi
Starting applications specified in /etc/X11/Xvnc-session
Log file is /root/.vnc/dockerpi:0.log
Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /root/.vnc/passwd dockerpi:0 to connect to the VNC server.
Fatal Python error: pyinit_main: can't initialize time
Python runtime state: core initialized
PermissionError: [Errno 1] Operation not permitted
Current thread 0xb6fe4460 (most recent call first):

[marthoc/deconz] NOVNC port: 6080

After going back to previous version 2.11.00 / 14.3.2021 (also 2.11 ?!?) everything is working again (although the system wouldn't want to accept my password and I had to reset it).

I'm also having issues after this update. First I could not login to the GUI, after a power cycle of the gateway I managed to login, but it says that the Conbee is not connected (firmware not connected, vendor unknown).
Docker logs show this:
[marthoc/deconz] Starting deCONZ...
[marthoc/deconz] Current deCONZ version: 2.11.00
[marthoc/deconz] Web UI port: 80
[marthoc/deconz] Websockets port: 443
[marthoc/deconz] VNC Disabled
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
libpng warning: iCCP: known incorrect sRGB profile
This plugin does not support propagateSizeHints()
This plugin does not support propagateSizeHints()
QWaitCondition::wait(): cv wait failure: Invalid argument
QWaitCondition::wait(): cv wait failure: Invalid argument

I have the same - it seems like the release notes expect novnc to be disabled....but for me because the DECONZ_NOVNC_PORT variable wasnt set, it tried to enable it anyway.
I set to 0, but now mine hangs at a similar place to yours. I tried logging in and rerunning start.sh with bash -x but then it core dumped and the container restarted

Reverted to stable release for now (I cleaned up all my old images to create some disk space minutes before realising Deconz was broken..)
Luckily that works and I can turn on my lights again 😁

Same here. Latest docker image is broken. As @MrTeal did, I switched to stable for now.

@LightningRhino Can you provide your compose file or the start up command?

I can't reproduce the error on a AMD64, what I'm image are you using?

Runs on armv7. Raspberry Pi 3B.

@phdelodder i had it on this image on raspberry pi 4:
REPOSITORY                     TAG              IMAGE ID       CREATED        SIZE
marthoc/deconz                 latest           15e3bbfe3b5b   10 hours ago   562MB

@LightningRhino Can you provide your compose file or the start up command?

docker run -d --name mydeconz --net=host --restart=unless-stopped -v dcnz-vol:/root/.local/share/dresden-elektronik/deCONZ -v /home/pi/otau:/root/otau -e TZ=Europe/Berlin -e DECONZ_WEB_PORT=8100 -e DECONZ_WS_PORT=8443 -e DECONZ_VNC_MODE=1 -e DECONZ_VNC_PASSWORD=foobar --device=/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE1962626-if00:/dev/ttyACM0 --dns=<IP_ADDRESS> marthoc/deconz

So I several errors, can some one please provide me with a the log file found on /root/.vnc/ ?

Fatal Python error: pyinit_main: can't initialize time
Python runtime state: core initialized
PermissionError: [Errno 1] Operation not permitted

@LightningRhino Seems to be an permission error, could it be possible to recreate the container?
@gareth-ellis is this the dump: https://github.com/marthoc/docker-deconz/issues/386?

@phdelodder  looks like it - I wasnt sure if it was due to be manually starting after. Need anything more for that? ive siwtch back to stable but can flip back again and get some info if it helps

@LightningRhino Seems to be an permission error, could it be possible to recreate the container?

I recreated the container by going back to the previous version. Or do I get you wrong?

@MrTeal the reason is that you are running an out of date libseccomp2, you can either use privileged to get it working or upgrade the library.

@LightningRhino Each time you change version the container is recreated.

stop the container
remove the container but not you volume(s)
execute the docker run command

let me know if that's possible. I have received comfirmation that it's running on a RPI 3B using:
  deconz:
    image: marthoc/deconz:armhf-2.11.00
    #build:
    #  context: ./docker-deconz/armv7
    container_name: deconz
    network_mode: host
    restart: always
    volumes:
      - /home/lodder/docker/config/deconz:/root/.local/share/dresden-elektronik/deCONZ
    devices:
      - /dev/ttyUSB0
    environment:
      - DECONZ_WEB_PORT=80
      - DECONZ_WS_PORT=443
      - DEBUG_INFO=1
      - DEBUG_APS=0
      - DEBUG_ZCL=0
      - DEBUG_ZDP=0
      - DEBUG_OTAU=0
      - DECONZ_DEVICE=0
      - DECONZ_VNC_MODE=1
      - DECONZ_VNC_DISPLAY=0
      - DECONZ_VNC_PASSWORD=changeme
      - DECONZ_VNC_PORT=5900
      - TZ=Europe/Brussels
      - DECONZ_DEVICE=/dev/ttyUSB0
    privileged: true

@phdelodder
I am aware of that.
Nevertheless I recreated the container with the latest image.
Problem still exists.
`[marthoc/deconz] Starting deCONZ...
[marthoc/deconz] Current deCONZ version: 2.11.00
[marthoc/deconz] Web UI port: 8100
[marthoc/deconz] Websockets port: 8443
[marthoc/deconz] VNC port: 5900
/usr/bin/xauth:  file /root/.Xauthority does not exist
New 'dockerpi:0 (root)' desktop at :0 on machine dockerpi
Starting applications specified in /etc/X11/Xvnc-session
Log file is /root/.vnc/dockerpi:0.log
Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /root/.vnc/passwd dockerpi:0 to connect to the VNC server.
Generating a RSA private key
.........................................................+++++
................................................+++++
writing new private key to '/root/.vnc/novnc.pem'
Fatal Python error: pyinit_main: can't initialize time
Python runtime state: core initialized
PermissionError: [Errno 1] Operation not permitted
Current thread 0xb6f12460 (most recent call first):

[marthoc/deconz] NOVNC port: 6080`
/root/.vnc/dockerpi:0.log says:
Thu Mar  5 14:55:57 1970  vncext:      VNC extension running!  vncext:      Listening for VNC connections on all interface(s), port 5900  vncext:      created VNC server for screen 0
Seems like a problem with the time/date.

@MrTeal the reason is that you are running an out of date libseccomp2, you can either use privileged to get it working or upgrade the library.

Indeed, just added privileged: true to my docker-compose file and restarted with docker-compose up -d --force-recreate Deconz and now it is running and working. thanks!
btw my libseccomp2 was already up to date
libseccomp2 is already the newest version (2.3.3-4).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

@MrTeal can you connect with noVNC or VNC?

@phdelodder No, but I wasn't able to do that before either, and never took the time to figure out why as I don't really use it.

Same problem with RPi 4B, also cannot connect via VNC.

@phdelodder great work, Thank you very much for helping!


Specify python3 in installation instructions.

Closes https://github.com/rtfd/readthedocs.org/issues/5550

Thanks, I wonder if can just use python -m venv venv

That would work (I just tested it), but we'd also need to update at least the Ubuntu required packages to include python3-venv:
$ python3 -m venv venv
The virtual environment was not created successfully because ensurepip is not
available.  On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

    apt-get install python3-venv

You may need to use sudo with that command.  After installing the python3-venv
package, recreate your virtual environment.

Failing command: ['/tmp/venv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']

Yes, can confirm this. Ubuntu Bug #1532231

It looks like the python3-venv packages exists on Xenial (16.04) and later. After installing it on my 18.04 machine, I was able to run python -m venv venv successfully, and it created an environment where python was linked to the system python3.6.

Thanks!


[Bug] [Admin/Donations] Paging arrows are not clickable

Describe the bug
We have paging arrow icons "<" and ">" on admin donation grid, but they are not clickable. It is possible to click them only if carefully aiming at the edge of the circle - see short video. Note, that this works well on the admin/campaigns grid.
To Reproduce
Steps to reproduce the behavior:

Login as Admin - check how to setup backend here
Go to /admin/donations
Make sure you have more than 5 donations
Try to move on next page or to change the rows per page
See how mouse doesn't change to "hand" for clicking

Expected behavior
Clicking on the paging arrows < > or on "rows per page" dropdown to be possible.
Screenshots
https://user-images.githubusercontent.com/7055304/205483830-1b5c87b6-387c-46eb-94fe-f8b96ce058a3.mov

@igoychev This has already been solved via GTM. Discord chat bot is not showing anymore in any of the /admin* pages.
Can you please validate if the ticket is about an ongoing issue?

Alright, I saw what's going one. When user visits the page directly or refreshes the page the Discord icon is now showing.
But when the user comes from another page where Discord is enabled, it's not getting hidden automatically.
No idea how to solve this on the GTM side.

Ah, I was looking at production and it was happening there. Now I checked on dev.podkrepi.bg and it looks fixed, so we just need to deploy...

Deployment done, issue is fixed on prod.


Changelog doesn't detail breaking changes that are causing downstream issues

So I'm using the livemotion elixir library but we maintain a custom integration with the motion library and we're noticing quite a few deprecations that happened in the v11 update that aren't reflected in the changelog.
I'm still trying to find the replacement for createMotionState() that was used.

Yeah this is a good point, I can add these to the changelog - however as an
undocumented API this one probably won’t be listed. You can find an upgrade
guide for documented features here:
https://motion.dev/docs/upgrade-guide
There’s no need to upgrade though if you were using createMotionState as
there’s no direct replacement, and the repo remains at
motiondivision/motionone
On Tue, 12 Nov 2024 at 23:38, Kurtis Rainbolt-Greene <
@.***> wrote:

So I'm using the livemotion elixir library but we maintain a custom
integration with the motion library and we're noticing quite a few
deprecations that happened in the v11 update that aren't reflected in the
changelog.
I'm still trying to find the replacement for createMotionState() that was
used.
You can view, comment on, or merge this pull request online at:
https://github.com/motiondivision/motion/pull/2864
Commit Summary

01bbd1b
https://github.com/motiondivision/motion/pull/2864/commits/01bbd1b20c171718451e6739f28f0edbe31e62c7
Adding breaking changes that were missed in 11 update

File Changes
(1 file https://github.com/motiondivision/motion/pull/2864/files)

M CHANGELOG.md
https://github.com/motiondivision/motion/pull/2864/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
(4)

Patch Links:

https://github.com/motiondivision/motion/pull/2864.patch
https://github.com/motiondivision/motion/pull/2864.diff

—
Reply to this email directly, view it on GitHub
https://github.com/motiondivision/motion/pull/2864, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB34WKQ364I35IK7NACYFAL2AJ7N3AVCNFSM6AAAAABRVDO7UKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY2TGNJRGU3TIOA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Problem with plugin

The plugin won't get installed in safari. I get triggered lul

Apple what are you doing?! :(
https://forum.videolan.org/viewtopic.php?t=146878


Address generation doesn't depend on the seed

package tests

import (
	"testing"

	"github.com/iotaledger/giota"
	"github.com/stretchr/testify/assert"
)

func TestAddressGen(t *testing.T) {
	seed1, err := giota.ToTrytes("SEEDTEST")
	assert.Nil(t, err)
	seed2, err := giota.ToTrytes("TESTSEED")
	assert.Nil(t, err)
	addr1, err := giota.NewAddress(seed1, 1, 2)
	assert.Nil(t, err)
	addr2, err := giota.NewAddress(seed2, 1, 2)
	assert.Nil(t, err)
	assert.NotEqual(t, addr1, addr2)
}

This test fails because of the same address value generated for the different seeds. Am I missing something here?

Those seeds are invalid, should have 81 trytes. NewAddress function should return error in this case.

Confirmed, with 81 charachter-long seed the results are indeed different. With anything less than 80 chars they are always the same. Should it pad the seeds with 999... if the seed length is < 81 ?

The wallet allows 60 <= seed <= 81.
I'm fine with either padding it automatically or throwing an error.

I think error is better, wallet doesn't pad by default.


V0.20.0

In flighting 🚀

[x] vite@5
[ ] electron@28 + esm

Is 0.15.5 okay to use with Electron 28 or should we wait with upgrading to 28 until 0.20 is ready?

Is 0.15.5 okay to use with Electron 28 or should we wait with upgrading to 28 until 0.20 is ready?

Of course, but v0.28.0-beta.1 is out! you can see the Migration to v0.28.0-beta.1.

Is 0.15.5 okay to use with Electron 28 or should we wait with upgrading to 28 until 0.20 is ready?

Of course, but v0.28.0-beta.1 is out! you can see the Migration to v0.28.0-beta.1.

started looking into this now, noticed the upgrade guide is missing the info that you also have to rename the entry for the preload script to mjs otherwise great, thank you! working through more errors here which are probably in dependencies

For preload scripts, electron@28 still has some limitations, and the .mjs file suffix must be used to enable esm support.
However, electron officially recommends building preload scripts into a bundle file. It seems that supporting esm has little impact on preload scripts.
I will update 0.28.0-beta.2 to continue optimizing esm support.

v0.28.0-beta.2 is out!


I get information from 25 servers only

Hi,
I have 41 servers in cloud.
If I try get informations with $hetznerClient->servers()->all() method then get only 25.
Can you help me?
Thank you!

All just respond with the first page of the servers. You need to change the size of the page (max: 50 servers per page) like:
$hetznerClient->servers()->all(new \LKDev\HetznerCloud\RequestOpts(50))

or if you want to get from the next page you need to change the page:
$hetznerClient->servers()->all(new \LKDev\HetznerCloud\RequestOpts(50,2))

I guess the best way to achieve to get all servers would be:
<?php
require_once __DIR__ . '/vendor/autoload.php';

$client = new \LKDev\HetznerCloud\HetznerAPIClient("<YOUR_API_TOKEN>");

$servers = [];
for ($i = 1; $i < PHP_INT_MAX; $i++) {
    $_s = $client->servers()->all(new \LKDev\HetznerCloud\RequestOpts(50, $i));
    $servers = array_merge($servers, $_s);
    if(empty($_s)){
        break;
    }
}

echo "Servers: ". count($servers).PHP_EOL;

But you are correct, the method is not correctly named. i will think about a better solution.

    $hetznerClient = new \LKDev\HetznerCloud\HetznerAPIClient($token);
    foreach ($hetznerClient->servers()->all(new \LKDev\HetznerCloud\RequestOpts(50)) as $server) {
        echo $project . ',' . $server->id . ',' . $server->name . ',' . $server->status . PHP_EOL;
    }

php ./get.php  | wc -l
25
But your second solution working fine. Thank you!

@dacrhu as of 1.8.2 the first solution should work too. There was a wrong parameter assigned within the request, so the per_page value did not work. (#29)


increase LP cap to $1m USDC

pending governance: https://github.com/Synthetixio/SIPs/pull/1807

approved https://gov.synthetix.io/#/proposal/0xaf1166b43c9f5127ce87851794c2ca3786a8f9e82317df5d33ae6bca4e985b2a


Basis worker fixes

Fixes #3191
This PR:

simplifies the basis API and fixes a number of issues around non-POT textures
uses more sophisticated logic for choosing runtime texture compression format and makes this user-configurable
adds support for multiple transcode workers with the option of having the workers be 'eager' or not
transcodes to uncompressed data if the dimensions are invalid for the current platform

The following API functions were removed:

basisDownload
basisSetDownloadConfig
basisDownloadFromConfig
basisTargetFormat

Instead, there is a single initialize function, which is now documented as public API:

basisInitialize

The call to perform transcode remains unchanged (this is internal, not public API):

basisTranscode

A followup PR will address the remaining issue of non-POT textures on webgl1 devices.
I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

uses more sophisticated logic for choosing runtime texture compression format and makes this user-configurable

Could you please add details on how is this configurable to the description.

A few additional notes on this PR:

the worker source has been split into its own file.
instead of concatenating worker source with basis source to construct the web worker, we download the basis script as a blob and load it in the worker using loadScript. This should result in less main thread overhead at startup.
the graphics device is now defaulted to 1 byte unpack alignment
an eager worker always requests more work, whereas a non-eager worker only requests a new job once the current job is finished. a set of non-eager workers will have better work balance over multiple workers compared to eager, but there is wasted time between the end of one job and start of the next.

uses more sophisticated logic for choosing runtime texture compression format and makes this user-configurable

Could you please add details on how is this configurable to the description.

Done

Hi guys

In order to customise the texture formats chosen at runtime, supply config.rgbPriority and config.rgbaPriority to basisInitialize. The default priorities are as follows:
const defaultRgbPriority = ['etc1', 'etc2', 'astc', 'dxt', 'pvr', 'atc'];
const defaultRgbaPriority = ['astc', 'dxt', 'etc2', 'pvr', 'atc'];

Can I just check that basisInitialize() is called once for whole project?
Where in the app startup process should I call basisInitialize() if I need to?

Note however that before consulting these priorities, the transcoder will first attempt to match with the basis file compression format. For example, if the basis file is stored in etc1 and the graphics device supports etc1, then this will be chosen (similarly with astc).

Does this refer to the Basis Mode ( ETC/ASTC ) setting in the editor texture inspector?

Hi @Kulodo,

Can I just check that basisInitialize() is called once for whole project?
Where in the app startup process should I call basisInitialize() if I need to?
Yes correct. This is called once at application startup. Currently basisInitialize must be called after the graphics device has been created, but I am busy making a change so basisInitialize can be called any time at startup.

Does this refer to the Basis Mode ( ETC/ASTC ) setting in the editor texture inspector?
Yes, correct. Basis can store the texture in either of these compressed formats. Using the matching format at runtime means the transcode step is a simple copy operation. Since no conversion is taking place, it is fast and doesn't suffer any quality degradation.


Secret Phrase

Where can I get the secret phrase from the wallet created ? private key ?
Thanks

The ZENCash Desktop GUI Wallet is technically a UI wrapper over the ZENCash command line tools. The ZEN private keys are stored in the wallet.dat file and it does not yet support encryption at file level. For that matter ZCash does not support encryption yet either... Using the wallet on a system infected with malware may result in wallet data/funds being stolen. Encryption will surely be supported in the future. There is currently no "secret phrase"...
One ZEN wallet that already supports encryption is Arizen:
https://github.com/ZencashOfficial/arizen

I don't quite get the security of ZCash wallet.  If private keys are kept in the wallet,  what would keep the account private?   Does it mean anyone logging on the computer has access to the wallet?   Can it be installed on an electrum USB?

The private keys are inside the wallet.dat. However they are only as private as your PC is secure! If anyone else gains access to your PC, this privacy may be compromised! The wallet.dat file does not yet support encryption at file level.


accelerate crf_log_norm

the base crf_log_norm function looks very cool, but it runs very slow.
I run the experiment on cpu
model name  : Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz

I use the configure
batch_size=128
max_seq_len=200

it runs 0.5s per batch
when I optimize the realization way
it  runs 0.25s per batch

Can one of the admins verify this patch?

This change assumes that the maximum sequence length is known and fixed, which breaks backwards compatibility. It would make sense to fallback to the dynamic_rnn implementation in that scenario.

Will take a look in early January
On Dec 12, 2016 3:25 PM, "Martin Wicke"<EMAIL_ADDRESS>wrote:

Assigned #6206 https://github.com/tensorflow/tensorflow/pull/6206 to
@ebrevdo https://github.com/ebrevdo.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/6206#event-891322354, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABtimw5FDnAMVPokf5E3wwN6xFcrz4RBks5rHfQhgaJpZM4LImfZ
.

Sounds good.

@ebrevdo would you have time to review this now?

We cannot accept this PR because it assumes a fixed length when calculating
the log_crf.  The current approach uses dynamic_rnn for the reason that the
max_seq_len is probably not known at graph build time, and varies from
step to step.
On Mon, Dec 12, 2016 at 5:25 PM, Martin Wicke<EMAIL_ADDRESS>wrote:

Assigned #6206 https://github.com/tensorflow/tensorflow/pull/6206 to
@ebrevdo https://github.com/ebrevdo.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/6206#event-891322354, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABtimw5FDnAMVPokf5E3wwN6xFcrz4RBks5rHfQhgaJpZM4LImfZ
.

Closing due to most recent response suggesting that this change is not correct.  Feel free to comment if you feel this is incorrect, thanks!


⚠ RPC server - Conflux has degraded performance

In 78d4936, RPC server - Conflux ($CONFLUX_RPC_URL) experienced degraded performance:

HTTP code: 0
Response time: 0 ms

Resolved: RPC server - Conflux performance has improved in 75cc4c3 after 5 minutes.


ci: Bump 'latest release' test to OpenEXR/Imath 3.2 and OCIO 2.3

Amended: also bump latest to OCIO 2.3, which was just released hours ago.

Merging because this is just a CI issue.


Add a searchbar

Add a global searchbar. We can possibly use some npm libraries for this like:
Look at the astro-pagefind integration or the astro-fuse. I had previously thought I would use fuse when the site was still on gatsby.
We may want to include SearchResultPage ld+json on the page. See this conversation.

an autocomplete examples: https://codepen.io/YoungElPaso/pen/RwGqEqq
search components: https://tailwindflex.com/search?q=search

https://www.codewithfaraz.com/content/238/create-a-navigation-bar-with-search-using-tailwind-css


Make GPUImage compatible with Catalyst

When macOS 10.15 will be released, I'll port some of my apps to macOS.
Brad do you know maybe if iOS-GPUImage2 is compatible with this?

GPUImage2 works across Mac and iOS, so all you should need to do is switch the framework target being used from the iOS one to the Mac one. I'm adding Swift Package Manager support (should be operational now, but I need more testing on this), which should aid the process.

How about Swift Package Manager support for GPUImage3  ^_^ ??

Brad I meant this new macOS 10.15 (Xcode 11) feature:
Project Catalyst
"What is Project Catalyst?
We'll start off with perhaps the most exciting piece of news for Mac users (and even more exciting for developers). Apple will be making it easier for developers to port iOS apps to the Mac. This is good for developers as they won't need to spend time and money writing code for two different apps."
If maybe you know if porting to macOS via Xcode 11 (macOS checkbox) && GPUImage2 iOS would work? Apple said Xcode 11 will automatically check/decide which third-party libraries will work on macOS port.

@sabiland - I thought this would be compatible with Catalyst as-is, but looking into it a little more, now I'm not so sure. I'm going to build a Catalyst test case and make sure this works with it.
@ggua5470 - Yes, as soon as I get this working correctly across the three platforms here, I'll bring across pretty much the same Package Manager manifest to GPUImage 3 (without Linux support, of course).

@BradLarson thx for info!

I do not know if it is possible for now, but I tried to build my app also for macos Catalina (without modyfying project, just trying to build) and I get those GPUImage2 errors.
Xcode

I do not know if it is possible for now, but I tried to build my app also for macos Catalina (without modyfying project, just trying to build) and I get those GPUImage2 errors.
Errors
Has anyone maybe succeded to build also for macos Catalina?
EDIT: I have switched to GPUImage3.
@sabiland Have you tried GPUImage3 on Mac Catalyst?
I have rewrite OpenGL shader to GPUImage3 metal shader, it works well on iOS, but the UIImage result on Mac Catalyst is totally empty.
Could you please help me?
Thanks in advance.

@objc public func testAdjustmentGroup() -> UIImage
    {
        let testImage = UIImage(named:"WID-small.jpg")!
        let brightnessFilter = BrightnessAdjustment()
        let filteredImage = testImage.filterWithOperation(brightnessFilter)

        // image is blank, but is not nil
        return filteredImage
    }

I do not know if it is possible for now, but I tried to build my app also for macos Catalina (without modyfying project, just trying to build) and I get those GPUImage2 errors.
Errors
Has anyone maybe succeded to build also for macos Catalina?
EDIT: I have switched to GPUImage3.
@sabiland Have you tried GPUImage3 on Mac Catalyst?
I have rewrite OpenGL shader to GPUImage3 metal shader, it works well on iOS, but the UIImage result on Mac Catalyst is totally empty.
Could you please help me?
Thanks in advance.

@objc public func testAdjustmentGroup() -> UIImage
    {
        let testImage = UIImage(named:"WID-small.jpg")!
        let brightnessFilter = BrightnessAdjustment()
        let filteredImage = testImage.filterWithOperation(brightnessFilter)

        // image is blank, but is not nil
        return filteredImage
    }


[TIR][SPIR-V] Fix computing clz on int64 input for vulkan

It turns out SPIR-V FindUMsb intrisic we use for clz on vulkan supports only 32 bit input.
https://www.khronos.org/registry/spir-v/specs/1.0/GLSL.std.450.html
On AMD there is no error if we try to run FindUMsb on int64, but @zxybazh found that on NV it doesn't work. Support int64 MSB by separately computing 32 bit MSB for high and low half and combine the result appropriately. A bonus point if you know how to do better :slightly_smiling_face:
@zxybazh @junrushao1994 @tqchen

Thanks Masa for the fix, and thanks Xiyou for reporting this issue :-)

Looks good to me. Thanks for the quick fix!

@junrushao1994 @tqchen ready to merge

Thanks @masahi for the fix!


Can I also use grpc-web?

I'm trying to figure out how I would ALSO be able to open up a way for the mux to grab http 1.1 requests that are sendt via grpc-web.
It's not an issue, but I'm asking for some help, even for a good place to gather wisdom from.
See grpc-web:
grpcServer := grpc.Server()
wrappedGrpc := grpcweb.WrapServer(grpcServer)
tlsHttpServer.Handler = http.HandlerFunc(func(resp http.ResponseWriter, req *http.Request) {
    if wrappedGrpc.IsGrpcWebRequest(req) {
	    wrappedGrpc.ServeHTTP(resp, req)
    }
    // Fall back to other servers.
    http.DefaultServeMux.ServeHTTP(resp, req)
})

I'm going to be trying it soon, but I'm still working on some architecture, and now I realize this has to be possible but I don't know how yet.

Hi @yehudamakarov. It should certainly be possible to use grpc-web at the same time, though I would personally suggest settling on one solution. You can see my grpcweb-example repo for an example of using the Improbable in-process grpc-web proxy with a Go gRPC server.
If you want some reading material, I suggest reading my blog post from a few years ago, it's still pretty accurate: https://grpc.io/blog/state-of-grpc-web/. I don't think I'm going to add grpc-web support to this repo, so I'm going to close this issue. Feel free to reach out on Gophers Slack if you need more help.

Hi @yehudamakarov. It should certainly be possible to use grpc-web at the same time, though I would personally suggest settling on one solution. You can see my grpcweb-example repo for an example of using the Improbable in-process grpc-web proxy with a Go gRPC server.
If you want some reading material, I suggest reading my blog post from a few years ago, it's still pretty accurate: https://grpc.io/blog/state-of-grpc-web/. I don't think I'm going to add grpc-web support to this repo, so I'm going to close this issue. Feel free to reach out on Gophers Slack if you need more help.

Thank you @johanbrandhorst, I appreciate the reply, as well as your work and talks.
Reading through both of your example projects is putting it all together.
Also, I didn't even realize Google had their own grpc-web. So your article was great for context.
All the best!


Update GridFieldExportButton.php

Quotes need to be escaped as "", not ".
http://tools.ietf.org/html/rfc4180#page-3 (point 7)
By the way, the generateExportFileData function can probably be simplified a lot by using fputcsv (like this), but I didn't want to risk breaking any custom functionality for this simple change.

I see that the original issue has been fixed through #3896, although that is a much less complete solution. Since this PR is so old, and it's spread over 5 commits, perhaps I should close this and create a new PR where my improvements are added on top of the current master?

Sorry this has taken so long to get into core, but yeah at the least it will need to be rebased. :) The merge button has disappeared due to conflicts.
It's fine to add a more complete solution to an existing one if you think you can improve on it.

Okay -- I have redone these changes in #4432.


During GKE provisioning, errors appears between when the cluster is up in GKE and it's fully registered and active in Rancher

Provisioning a new GKE cluster (using new workflow), it will show provisioning state and status for awhile.

After the cluster is up and active in k8s, in Rancher it seems to throw an error.

It will be stuck in Updating state for a bit and then when the node is registered in Rancher (the node/node stats show up), the cluster state will be Unavailable

And then after a little bit, the cluster will be active.

What is the expected behavior?

Ideally, it should go from provisioning to active, or if we have these other transitioning states, don't throw error (which shows the status as red)

There is a new Waiting state that's blue instead of Unavailable and red when waiting for the API server to come up during provisioning.


Implement linters/formatters in github workflows

In order to keep the project style consistent, it would be useful to implement style checkers/formatters in github actions (and make these required for PR merges)
eg: megalinter https://github.com/marketplace/actions/megalinter

Looks like code already is setup for eslint which is one of the supported sub-systems in megalinter.

Good guide
https://nicolas.vuillamy.fr/improve-uniformize-and-secure-your-code-base-with-megalinter-62ebab422c1

Following errors were identified from mega-linter-runner --flavor javascript
Many of these checks may be unnecessary

eslint workflow added. Good enough for now.


How to extract individual tissue components as a 3D model

Dear team VICTRE,
Thank you for providing this excellent open source code of Breast Phantom. I have been working on the breast Phantom and could execute with required parameters smoothly.

I would like to extract individual parameters from the Phantom. i.e. How can I extract only "Duct" from the Phantom?  Or any other components.
How can I scale down the model so that the tissue components can be integrated into another model.?

Thanks and Regards,
Sunag R A.

Hi Sunag,
Happy to see that you were able to run the code. I will try to answer your questions.

Do you mean that you want to have a voxelized phantom with only one tissue in it? This should be easy to do with a post-processing script that reads the voxel values in a regular phantom and outputs 0 for every material number that you don't want. You could also edit the code where the phantom is written to disk at the end of file breastPhantom.cxx to output only the tissue you like.

2. You can choose the size of the output phantom voxels with the input parameter "imgRes=". You could also generate a very high resolution phantom and then use a post-processing script to downscale to the size you want.

Have a nice day.
  Andreu

Dear Andreu,
  Thank you very much for your reply. Based on your reply, I tried to implement changes in breastPhantom.cxx but I could not able the preferred result or I could get the same outputs. I actually wanted to get the output of each individual tissue in .vti format. When I run the code, the default outputs we get are combined breastPhantom vti and separately with arteryFill and veinFill vti extensions.

So, I tried to make changes in breastPhantom.cxx to get output of each individual tissue say as cooper, nipple, duct etc.
Based on the understanding of VICTRE document, I would like to extract the duct something like the one provided in the image link below which is extracted from document.
duct file
Could you please help me out with the changes of code in breastPhantom.cxx.? I think I have lost track in understanding the code of .cxx file.
Thanks and Regards,
Sunag R A.

Modifying the breastPhantom.cxx code is always hard. I would recommend generating a standard phantom, opening it with paraview, python, matlab or imagej, and setting to 0 all the voxels that do not have the tissue number that you want.

Dear Andreu,

Thank you very much for your reply. I actually modified the tissueStruct in BreastPhantom and could obtain the Phantoms for particular tissues. But, I am unable to obtain for only milk-ducts. I have attached the images of the obtainted Phantoms.

Standard_Phantom
Without_muscle
Without_muscle_nipple
Below I have the image where I modify and got the above volumetric view. In this if I make make 0 by keeping only duct, I get error. So, I am unable to get duct alone.
Image_tissue_struct

Apart from this, I ran the breastPhantom without any cfg file addressed. I obtainted the ideal spherical Breastphantom. This result is very good for my research. But once it rans, I found the cfg file empty from the result. How to obtain the cfg file of the ideal Breast Phantom.? I have put the image of the ideal BreastPhantom below.

Ideal_Breast_Phantom
Thanks and Regards,
Sunag R A.


New Release

Please could you create your new release with the scss the 2.0.3 so we could download it from bower.
Thank you in advance,
Morgan

Done


Association

Frq
Frq 1 (Array & 2D Array)
I created a method to get stock statistics for users in a Spring application. First, I retrieve all users from the repository. Then, I initialize a HashMap called "data" to store the aggregated statistics. For each user, I check their statistics for a specific date (02-15-24). If the statistics exist for that date, I iterate over a list of stock symbols.
@GetMapping("/stockStats")
public ResponseEntity<Map<String, Integer>> getStockStats() {
List users = repository.findAll();
HashMap<String, Integer> data = new HashMap<>();
    users.forEach(user -> {
        Map<String, Object> userMap = user.getStats().get("02-15-24");
        if (userMap != null) {
            String[] stocks = {"AAPL", "AMZN", "COST", "GOOGL", "LMT", "META", "MSFT", "NOC", "TSLA", "UNH", "WMT"};
            for (String stock : stocks) {
                Object value = userMap.get(stock);
                if (value instanceof Integer) {
                    if (data.containsKey(stock)) {
                        Integer existing = data.get(stock);
                        data.put(stock, existing + (Integer) value);
                    } else {
                        data.put(stock, (Integer) value);
                    }
                } else if (value instanceof String) {
                    // Handle parsing String to Integer
                    try {
                        Integer intValue = Integer.parseInt((String) value);
                        if (data.containsKey(stock)) {
                            Integer existing = data.get(stock);
                            data.put(stock, existing + intValue);
                        } else {
                            data.put(stock, intValue);
                        }
                    } catch (NumberFormatException e) {
                        // Handle invalid integer format
                        System.err.println("Invalid integer format for stock: " + stock);
                    }
                } else {
                    // Handle other types if necessary
                    System.err.println("Unsupported type for stock: " + stock);
                }
            }
        }
    });

    return new ResponseEntity<>(data, HttpStatus.OK);
}

This code fetches stock statistics for a specific date from a list of users. It uses an array of stock symbols, like "AAPL" for Apple or "AMZN" for Amazon, to iterate through each user's stats for that date. For each user, it checks if there are statistics available for that stock. If so, it adds up the stock values for each symbol across all users. If the value is an integer, it adds it directly, but if it's a string, it first tries to convert it to an integer. Finally, it returns a map containing the total stock values for each symbol
Frq 2 (Classes)
I've created a Java class named UploadFile within a Spring Boot application. This class serves to capture details about uploaded files, specifically images.  Additionally, I've constructed a parameterized constructor for the UploadFile class, taking username and ImageEncoder as arguments. This constructor initializes the corresponding attributes of the UploadFile object.
To streamline the class, I've utilized Lombok annotations, namely @Data, @AllArgsConstructor, and @NoArgsConstructor, to automatically generate getters, setters, and constructors, thereby reducing redundant code. In essence, the UploadFile class provides a structured representation for managing uploaded files within the Spring Boot application environment.
package com.nighthawk.spring_portfolio.mvc.profile;
import java.time.LocalDateTime;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Entity
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UploadFile {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
@Column
private String username;
@Column
private String ImageEncoder;
public UploadFile(String username, String ImageEncoder) {
    this.username = username;
    this.ImageEncoder = ImageEncoder;
}

}
Frq 3 (Arraylists)
I defined some data structures to store information in a Spring application. I made a collection called "roles," which is used to store the roles of a person. Each person can have multiple roles, and you're using a ManyToMany relationship, which means a person can have many roles, and a role can belong to many people. Then, I created a map called "stats" to store user statistics.  I also have another collection called "classCodes," which is used to store class codes associated with something else in your application. I used a OneToMany relationship here, indicating that one thing can have many class codes.

In this Java code, I created a method to load user details by their email address for a Spring Security application.  I created a list called authorities to store the roles of the person. I make a loop through each role of the person, creating a SimpleGrantedAuthority for each role, and add it to the authorities list. After that, I add a custom authority based on the user's ID to the authorities list. Finally, I create and return a UserDetails object containing the person's email, password, and authorities.

Frq 4 (Interfaces)
In my project, I used an interface to abstract the JPA repository for accessing roles. The Java code features an interface named PersonRoleJpaRepository that extends the JpaRepository interface from Spring Data JPA, aligning with the abstraction concept commonly assessed in Advanced Placement Computer Science A (AP CSA) exams. The interface declares a method, findByName, representing a standardized query for retrieving a PersonRole by its name. Interfaces provide a contract without specifying implementation details, allowing concrete classes to adhere to the defined structure. This example illustrates the practical application of interfaces in Spring Data JPA, emphasizing their role in code organization and abstraction, concepts frequently examined in AP CSA questions.

Crossover Reviews - Vinay
2015 FRQ Scores
Original comment linked here

Note: We demonstrated running code in notebooks to verify functionality

FRQ #
Comments
Score

1
Code runs as expected and FRQ type correctly identified
0.9/0.9

2
Code runs as expected, type is Methods and Control Structures
0.9/0.9

3
Code runs as expected and FRQ type correctly identified
0.9/0.9

4
Code runs as expected, FRQ type correctly identified, and additional code for clarity in output
0.9/0.9

Overall
Combined score for 1.1 scale FRQs
4.0/3.6

Association Comments:
I think that your reflection is very insightful and clearly shows the learning you have gained from doing the FRQs. The fact that you had most of the elements from the FRQs in your project is also a great demonstrator of the power of PBL as an educational method.
What I liked the most is the detail of how each code that connected with the FRQ in your project was described. This showed that you spent time and did the FRQ rather than just using AI.
One thing that could have been done better is Explain the FRQ question and its association directly. You have asscociated the major theme but if you added one sentence on how the methods in the FRQ code and project code are similar or different it would have let a better association to be made.
Association Score:
Overall, I would give you a 3.6/3.6 for your FRQ Association.


Reduce allocation count in PostgreSQL

https://github.com/userver-framework/userver/blob/e37c78fb0112e7befa08ef078c4de8f0fb7de607/postgresql/src/storages/postgres/options.cpp#L23
Why this global variables are not constexpr ? Seems like std::string_view may be used here without any problems.
What about unordred_map, do it constexpr may be tricky, but there are not many values and constexpr flat map can be easialy created with standard algorithms

Unfortunately, the problem is deeper than it looks like. Queries from this map are used to do PQ requests and the driver requires zero terminted strings at the moment.
We have to switch to string_view in the driver first, after that the proposed optimization would be possible. Thanks for pointing to the problem, we'll take a deeper look at it and would try to optimize that.

I have tested many variations such as compile time flat maps with various implementations.
Surprising as it may seem, but I came to the conclusion that, firstly, the naive std::map of std::string_view's is not so slow(may be compiler handles this situation as special).
And the second - nothing can be done faster than llvm-like string switch.
So i propose to use StringSwitch here, it is very well optimized, even no strings in binary(they are in instructions cash!):
godbolt link
(Possibly with some improvements like optional->pointer(if it dsn't break optimizations) and interface with deduction guides from C++17)

Oh, sorry, i forget it is map <T, strng> not <string, T>
So just string->string_view will be helpfull...
Or it can be array of arrays of string views... (But it can be inflexibly(possible bad bugs after enums modiying and tricky because kDeferrable is not 3 here)
enum Mode {
    kReadWrite = 0,
    kReadOnly = 1,
    kDeferrable = 3  //!< Deferrable transaction is read only
  };

Best way of course is to replace enums with tagged_enums (where type assotiated with value) and just make a visit (auto generated switch enum case)


273 jo building list filter and flyTo location

This PR fleshes out some more of the responses to a filteredData state change, provides a list of buildings matching the filter criteria, connects actions on that list to map navigation.

gives the right-side buildings pane a scrollable div of all  matching buildings
list items animate a little on enter and exit to help understand what's happening
the heading shows how many buildings match
mousing over a list item highlights it on the map (after a half-second delay to avoid inadvertent highlighting)
clicking on a list item flies the map to the project's location and opens its popUp for potential navigation to the building view
provides a reset zoom button after zoom events to go back to original zoom settings
legend is moved to be superimposed on the map, bottom center. (still hard-coded)

There's also styling changes to make the left and right sidebars more consistent with each other.
One issue found while working on this (I'll make an issue and link to it): the filters are not handling null values. 34 buildings, for example, have null project units counts and are filtered out when any filter is applied.

filtering issue is #311

Small conflicts with the latest merge from Paul's #298, but they're minor. Basically defer to Paul's conflicting changes in building-view.js and mine in map-view.js, with the exception that Paul's setState('selectedBuilding', building); will need to part on the popUp's click event.

working now with latest dev, with building view refactor


Jadeify need jade installed

id-builder need my project to have jade installed. Without it it won't jadeify the .jade templates into the app.bundle.js. I think you made a pull request over at jadeify to make the require path different?
Maybe it isn't set correctly yet?
It's a clean install of id-builder 1.8.1
After starting node build: Error: Cannot find module 'jade'
/node_modules/id-builder/node_modules/jadeify/lib/jadeify.js:4:12

https://github.com/Industrial/test-id-builder

I've implemented a minimal example that should correctly build an app.bundle.js with jade supported.

Your example works... Strange mine doesn't. I'll check the code again later this week!


Allow users to customize outputs list

I'm considering using this project.
IIUC, I currently have two ways to generate an "output" for the CLI:

use a builtin, and that will generate an arbirary number of targets depending on some magic in makes' own code
use an extension, which always means creating a folder for the target, and having a main.nix in that folder.

What I want to achieve is the following directory structure:
project1
        /service1/<main or makes>.nix
        /service2/<main or makes>.nix
project2
        /service1/<main or makes>.nix
makes/service.nix

and I want my possible "OUTPUT"s in the CLI to look like this:
/project1/service1/build
/project1/service1/test
/project1/service1/run
/project1/service1/deploy
/project1/service2/build
/project1/service2/test
/project1/service2/run
/project1/service2/deploy
/project2/service1/build
/project2/service1/test
/project2/service1/run
/project2/service1/deploy

where the build/test/run/deploy outputs behavior are all defined by my /makes/service.nix
That means I need to be able to customize:

The list of targets that are made available from a <main or makes>.nixs (so that with a single nix file in a service folder I can declare the multiple targets that I need)
The arguments that are passed to the <main or makes>.nixs (to be able to pass import ./makes/service.nix)

My understanding is that this is not possible currently, and instead any such service.nix would have to be declared as a builtin in makes itself, and then I would put only the configuration of that in some makes.nix, which also means I could only instantiate one of each of those per makes.nix, whereas my ideal syntax would probably be:
# /project1/service1/<main or makes>.nix
{ args, service, pkgs, ... }: service { name = "a"; }

# /makes/service.nix
{ args, pkgs, makeScript, deployContainerImage, outputAttrSet, ... }:
let
  build = { /* ... */ };
  docker = pkgs.dockerTools.buildLayeredImage { /* ... */ };
  # Where args are the arguments pased as [ARGS...] to the CLI and may be used here
in
outputAttrSet {
  inherit build;
  deploy = deployContainerImage {
    images = [{
      src = docker;
      registry = { /* ... */ };
    }];
  };
  test = { /* ... */};
  run = makeScript { /* ... */ };
}

(where outputAttrSet would convert from the attrset of output to probably [{ name, derivation }], allowing for further customization if required)
Is it actually already possible to achieve something like this? If so, how? If not, is this something that could maybe be made possible in the future or are there any clear blockers?
Thanks,

Hey @Ten0,
For main.nix files, you can set extendingMakesDirs = ["/"]; as described in the documentation. With this setting Makes will name CLI jobs according to absolute paths within the repository. That is, for file /project1/service1/run/main.nix, the CLI output would be /project1/service1/run.
With makes.nix things are a little more complicated. makes.nix is an interface between:

evaluators: default configurations that builtins receive (This is what you declare in makes.nix.
arguments: Makes' builtins.

This is why, when declaring builtins from makes.nix files, CLI outputs do not follow a naming pattern based on directory structure like main.nix files but rather group all jobs for the same builtin.
Example:
For the following makes.nix file
{
  formatPython,
  ...
}: {
  formatPython = {
    project1.targets = ["/project1"];
    project2.targets = ["/project2"];
    project3.targets = ["/project3"];
  };
}

We get the following CLI outputs:
/formatPython/project1
/formatPython/project2
/formatPython/project3

With some boilerplate code you could still use all builtins from main.nix files, granting directory-based CLI outputs.
Example:
/project1/service1/format/main.nix
{
  formatNix,
  makeScript,
  projectPath,
  ...
}: let
  bin = formatNix {
    name = "project1-service1";
    targets = [(projectPath "/project1/service1")];
  };
in
  makeScript {
    entrypoint = "format-nix-for-project1-service1";
    name = "project1-service1-format";
    searchPaths.bin = [bin];
  }

From that main.nix you can do anything that nix allows so you can orchestrate everything from a makes/services.nix file:
/project1/service1/format/main.nix
{
  formatNix,
  makeScript,
  projectPath,
  ...
}: let
  config = import (projectPath "/makes/services.nix") {
    inherit formatNix;
    inherit makeScript;
    inherit projectPath;
  };
in
# customFormatNix is more generic function that runs formatNix as explained before
config.customFormatNix {
  name = config.project1.service1.format.name;
  targets = config.project1.service1.targets;
}

You could even declare everything in the services.nix file and simply import it from the main.nix:
makesArgs: let
  config = import (projectPath "/makes/services.nix") {inherit makesArgs;};
in
config.project1.service1.format.run

Thank you for your answer! 🙂
So it looks like my understanding was correct: to generate target paths, I'm tied by either the builtins (which I can't customize) or the "one folder with a main.nix per output" approach (which would force me to create one directory per output with a main file that would specify a bunch of boilerplate and finally .target_name(=folder_name), which woudn't fit at all with my current directory structure or be one I'd like anyway) 🙁
Is there any technical constraint that prevents building a system that has a more flexible interface similar to the one I described above? Having the root expression that evaluates to just at-most-one-incantation-of-each-type-of-builtin doesn't allow for flexible program structure compared to something along the lines of [{ name, thing_to_do }].
At first glance it looks like we could evaluate only the part of the current folder's expressions that are related to outputs names when starting the CLI, and then only when actually building, evaluate the derivation attribute of each { name, derivation } that the root expression outputs, but there may be big drawbacks that I'm missing.
Would a design where we add an outputs builtin that takes as parameter [{ name, derivation }] work or is there some constraint that prevents passing such complex inputs to builtins? (like, they have to get evaluated before they get passed or something along those lines)
To be very clear: I love the idea of the project of having a CI system globally powered by nix, with a CLI that enables choosing the targets we're interested in, especially making full use of caching across all users of the organization for every single derivation. The potential of it looks insane! However, if it seems that the only way to efficiently add outputs to the CLI is to make incantations in the makes.nix after PR-ing a new builtin to this repository, then it seems pretty clear to me that that doesn't scale unless you happen to also be the company that manages the Makes project: we can't have every company use this and PR every single customization they need as a global builtin in the project:

Some builtins would be too custom for integration.
The integration friction would be too high.
That's too many global builtins and it becomes an absolute mess. (Actually there's already too many global builtins dedicated to tools and languages I don't use for my taste)

Thanks a lot 🙂

I will start working on a first iteration that allows to declare jobs = {} within makes.nix so we can begin moving away from main.nix files.

@Ten0 Hey! If you're still interested, take a look at the new jobs = {} essential. It basically allows to describe jobs directly in makes.nix files. https://makes.fluidattacks.tech/configuration/essentials/#jobs

Hey! Thanks for letting me know! That's indeed very interesting!
I may give this another look in the coming weeks. 👍

[ ] Deprecate main.nix files in Universe
[ ] Deprecate main.nix from Makes CLI
[ ] Deprecate main.nix from Makes backend


kind: 0.24.0 -> 0.25.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/kubernetes-sigs/kind/releases.
meta.description for kind is: Kubernetes IN Docker - local clusters for testing Kubernetes
meta.homepage for kind is: https://github.com/kubernetes-sigs/kind
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.25.0 with grep in /nix/store/gi257kxpay22h559w7qxdmviwf0hsqdi-kind-0.25.0
found 0.25.0 in filename of file in /nix/store/gi257kxpay22h559w7qxdmviwf0hsqdi-kind-0.25.0

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

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath

airlift
kind
nuv

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/gi257kxpay22h559w7qxdmviwf0hsqdi-kind-0.25.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/5fafb403e8c69d801474190de1b8d39e2c49271b#kind

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/gi257kxpay22h559w7qxdmviwf0hsqdi-kind-0.25.0
ls -la /nix/store/gi257kxpay22h559w7qxdmviwf0hsqdi-kind-0.25.0/bin

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

x86_64-linux

:white_check_mark: 4 packages built:

airlift
airlift.dist
kind
nuv

Maintainer pings
cc @offlinehacker @rawkode for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Merge conflict.


fix: prevent loader display in viewer session

Description
Linear Ticket
https://linear.app/autokitteh/issue/UI-854/session-viewer-on-refresh-change-only-status-end-time-duration-logs
What type of PR is this? (check all applicable)

[ ] 💡 (feat) - A new feature (non-breaking change which adds functionality)
[ ] 🔄 (refactor) - Code Refactoring - A code change that neither fixes a bug nor adds a feature
[ ] 🐞 (fix) - Bug Fix (non-breaking change which fixes an issue)
[ ] 🏎 (perf) - Optimization
[ ] 📄 (docs) - Documentation - Documentation only changes
[ ] 📄 (test) - Tests - Adding missing tests or correcting existing tests
[ ] 🎨 (style) - Styles - Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
[ ] ⚙ (ci) - Continuous Integrations - Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
[ ] ☑ (chore) - Chores - Other changes that don't modify src or test files
[ ] ↩ (revert) - Reverts - Reverts a previous commit(s).

When we refresh and nothing changed - the logs shouldn't blink.
See here on 0:22-0:23 and also 0:24-0:25 - nothing changed and the UI still blink.
https://github.com/user-attachments/assets/b6adfc60-a403-47f6-a5d3-69de81b64253

Still, as we spoke, the  should be only on the logs and the relevant fields, not the whole sessionViewer.


Introduce swift-xcodegen

This is a tool specifically designed to generate Xcode projects for the Swift repo (as well as a couple of adjacent repos such as LLVM and Clang). It aims to provide a much more user-friendly experience than the CMake Xcode generation (build-script --xcode). Forum post to follow.

@swift-ci please smoke test

@swift-ci please smoke test

Looks like swift-xcodegen.test is failing in CI (#77407). Passes locally, going to disable for now and will resolve tomorrow.

wow, this is very exciting! i expect upon merge, this will also resolve https://github.com/swiftlang/swift/issues/70604?

🚢

@hamishknight I'm running into this error when I attempt to generate an Xcode project using the new setup:
 **error**: keyNotFound(CodingKeys(stringValue: "output", intValue: nil), Swift.DecodingError.Context(codingPath: [_JSONKey(stringValue: "Index 0", intValue: 0)], debugDescription: "No value associated with key CodingKeys(stringValue: \"output\", intValue: nil) (\"output\").", underlyingError: nil))
This is after building the toolchain for --debug-swift
The full output is:
utils/generate-xcode /Users/amritpankaur/swift-project/build/Ninja-DebugAssert
Building for production...
[1/1] Write swift-version--58304C5D6DBC2206.txt
Build complete! (0.24s)
info: Generating project for '/Users/amritpankaur/swift-project/build/Ninja-DebugAssert'...
error: keyNotFound(CodingKeys(stringValue: "output", intValue: nil), Swift.DecodingError.Context(codingPath: [_JSONKey(stringValue: "Index 0", intValue: 0)], debugDescription: "No value associated with key CodingKeys(stringValue: \"output\", intValue: nil) (\"output\").", underlyingError: nil))

@amritpan should be fixed by #77415


the it_IT.csv file is empty

with last commit the file is empty

Same ... file it_IT is completely empty
Please correct issue
Thanks

I have updated it_IT.csv file, you can reinstall it.
Really sorry for this issue.


Unable to tap on a checkbox in Flutter

Hello
i would like to manage a checkbox in flutter with Maestro Mobile Dev
CheckboxListTile(
   title: Text('localizations.welcomeDisclaimerChoice'),
   value: checkedValue,
   onChanged: (newValue) {
      setState(() {
          checkedValue = newValue!;
      });
   },
);

i don't find semantic way to resolve my issue
Any help
Thx

i have just to tapOn the label...
        showSemanticsDebugger: true,``` helps me to understand


Threat Intelligence Solution missing the data connector - Premium Microsoft Defender Threat Intelligence

The Threat Intelligence solution 3.0.3 GitHub contain reports five data connectors - https://github.com/Azure/Azure-Sentinel/tree/master/Solutions/Threat Intelligence/Data Connectors.
The content solution inside Sentinel reports 4 data connectors not 5. The missing one is https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Threat Intelligence/Data Connectors/template_PremiumMicrosoftDefenderThreatIntelligence.json
Could you please investigate and fix the solution to report all the data connectors.
Thanks
Mike

Hi @MikeP1375, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates by 20-05-2024. Thanks!

Hi @MikeP1375, We have checked the data connector "template_PremiumMicrosoftDefenderThreatIntelligence.json" currently it's in Private preview and not globally available yet. So due to that reasone it not added into the solution.
But you can monitor our repo for the upcoming updates. So, closing this issue. If you still need support for this issue, feel free to re-open it any time. Thank you for your co-operation.


Follow and patrol buttons not working on server.

I messed around with the config files and can't seem to get those button to work on my sever. Works fine on single player but no luck. I see some people have had this issue and haven't found a good answer.

Same here

fixed in 1.1.0


Error when starting

Compiles normally on the latest arch, but when I try to run it it says
free(): invalid next size (normal)

I am having the same Issue, how did you solve it?

Sorry, I forgot to say. It was a font error. You should be able to fix it by modifying the config.h

Thank you! Setting autohint to false solved it.


rspack in react app cannot resolve deep-imports from a monorepo library

A common pattern with Nx is to have a library with its imports not in the main index.ts, this is achieved just by adding a glob path to tsconfig.json
"paths": {
  "@org/lib": ["libs/lib/src/index.ts"],
  "@org/lib/*": ["libs/lib/src/*"]
}

When using rspack though, this seems to not work, as it can't resolve the import:
// works
import { a } from "@org/lib";

// FIXME: this import fails at build-time as unresolvable
import { bar } from "@org/lib/test-import";

Minimal reproduction here, it's just 1 app 1 lib and 1 deep import: https://github.com/Nick-Lucas/nx-spack-import-repro

any solution for this?


Move service's log to manager

In PR https://github.com/mesg-foundation/core/pull/904, the package manager has been introduced to manage the logic between service and container.
Following the logic of moving everything not related to the service's data outside the service package (https://github.com/mesg-foundation/core/issues/958), the service's log struct should also moved to the package manager.
Service log struct:
https://github.com/mesg-foundation/core/blob/dev/service/service.go#L88-L92
The service package should have only logic about the service's data and nothing more.
Basically, the file manager.go should only return struct define in its own package.
Please tell if you are agree to move namespace to manager or leave it like this.

same as https://github.com/mesg-foundation/core/issues/958#issuecomment-493016903


CMake Path Issue when Using RDKit Conda Install

Thanks for making this available through RDKit!
When I compiled the code, I ran into issues with CMake not finding RDKit libs. I believe this is because I have RDKit installed through Anaconda. Specifically I found ${RDKIT_LIBRARIES} was not set and CMake was picking up a Python install outside of the Anaconda installation I was trying to use.

After adding the additional flags, I was able to successfully compile the code.

@kheyer We too had some headaches getting shapeit to compile in conda envs. Thankfully your comment saved us a little time debugging. We also needed to install gxx_linux-64.
To hopefully save some others' time:
conda create --name shapeit
conda activate shapeit
conda install -y -c conda-forge rdkit cmake
conda install -y gxx_linux-64
git clone https://github.com/rdkit/shape-it.git
mkdir shape-it_install
cd shape-it
mkdir build && cd build
cmake -D CMAKE_PREFIX_PATH=$CONDA_PREFIX \
-D CMAKE_INSTALL_PREFIX=/bgfs01/insite/<username>/shape-it_install/ \
-D BUILD_RDKIT_SUPPORT=ON \
-D BUILD_PYTHON_SUPPORT=ON \
-D PYTHON_INSTDIR=$CONDA_PREFIX/lib/python3.9/site-packages \
-D Boost_INCLUDE_DIR=$CONDA_PREFIX/include/Boost \
-D RDKIT_INCLUDE_DIR=$CONDA_PREFIX/include/rdkit \
-D Python3_FIND_STRATEGY=LOCATION ..
make -j12
make install

Doing this today required a small edit - changing the Boost include directory:
-D Boost_INCLUDE_DIR=$CONDA_PREFIX/include/

In case it helps anyone currently the above methods runs into issues not finding headers in the current conda-forge version of rdkit. The rdkit channel works using the following recipe (note: this pins the version of Python to 3.7):
conda create --name shapeit
conda activate shapeit
conda install -y -c rdkit rdkit
conda install -y -c conda-forge cmake gxx_linux-64
git clone https://github.com/rdkit/shape-it.git
mkdir shape-it_install
cd shape-it
mkdir build && cd build
cmake -D CMAKE_PREFIX_PATH=$CONDA_PREFIX \
-D CMAKE_INSTALL_PREFIX=<path>/shape-it_install/ \
-D BUILD_RDKIT_SUPPORT=ON \
-D BUILD_PYTHON_SUPPORT=ON \
-D PYTHON_INSTDIR=$CONDA_PREFIX/lib/python3.7/site-packages \
-D Boost_INCLUDE_DIR=$CONDA_PREFIX/include/ \
-D RDKIT_INCLUDE_DIR=$CONDA_PREFIX/include/rdkit \
-D Python3_FIND_STRATEGY=LOCATION ..
make -j12
make install

Hi!
Is this still a valid way to compile?
I tried today and it did not work.
This is the command I used:
cmake -D CMAKE_PREFIX_PATH=$CONDA_PREFIX CMAKE_INSTALL_PREFIX=/home/pgoverna/local/shape-it BUILD_RDKIT_SUPPORT=ON BUILD_PYTHON_SUPPORT=ON PYTHON_INSTDIR=$CONDA_PREFIX/lib/python3.7/site-packages Boost_INCLUDE_DIR=$CONDA_PREFIX/include/ RDKIT_INCLUDE_DIR=$CONDA_PREFIX/include/rdkit Python3_FIND_STRATEGY=LOCATION ..
I got these warnings:
CMake Warning:
  Ignoring extra path from command line:

   "/home/pgoverna/local/shape-it/build/CMAKE_INSTALL_PREFIX=/home/pgoverna/local/shape-it"

CMake Warning:
  Ignoring extra path from command line:

   "Python3_FIND_STRATEGY=LOCATION"

and then this error message:
CMake Error in CMakeLists.txt:
  Found relative path while evaluating include directories of "shapeit_lib":

    "OPENBABEL3_INCLUDE_DIR-NOTFOUND"

CMake Error in CMakeLists.txt:
  Found relative path while evaluating include directories of "shape-it":

    "OPENBABEL3_INCLUDE_DIR-NOTFOUND"

Any clue why this is happening?
Thans a lot


Fetch arrayBuffer data is not inlined during ssr

Describe the problem
During server-side rendering fetch responses using text and json are inlined in the rendered HTML, there is no such thing for arrayBuffer.
This causes an additional network request and can lead to consistency problems and unused assets loading.
Describe the proposed solution
Fetch request using arrayBuffer is inlined in the HTML response using base64 encoding
Alternatives considered
No response
Importance
would make my life easier
Additional Information
Currently i added this feature to a local copy of kit

I ran into this problem as well (when fetching a PDF in a load function). I searched around and found this comment by Rich Harris:

The assumption was that if you don't consume the body with res.text() or res.json(), it's because you're streaming the response or using res.arrayBuffer() — either way we don't want to serialize it.

I asked a question on Discord and got this response:

the most efficient way is to fetch it directly from an endpoint
for the same reasons that we use  tags with src set to the server location, rather than base64 encoding images (which would cause them to be included in the page source twice)

So I now simply fetch the PDF in the .svelte file. Fetching static data in a load function indeed doesn't seem to make sense as the data isn't actionable.
@Elia872 would this also fix your issue? Or is there an explicit need to fetch an ArrayBuffer in a load function?

I can see why including arrayBuffer as default could lead to problems, but it would be nice to have some sort of option to enable it, because if the data you fetch is in a non-text format, i can't think of a workaround.
I initially noticed this behavior by fetching 12 random objects from an API using a custom encoding, and I saw that when the hydration finished the thumbnails would change.
So yes @siccovansas i need arrayBuffer in the load function.

Thanks for your response @Elia872!
What happens if you use fetch() to get the objects from the API in your .svelte file? Note: This is the normal fetch() and not the modified SvelteKit load function fetch(); you don't need to import this fetch as it is already globally available.

@siccovansas Using the browser's fetch() in the .svelte and an #await block works with no problems, but only on the client, and loosing all the advantages of a +page.js like preloading, ssr or less roundtrips.

There is no advantage to retrieving static/binary data on the server if I understand Rich Harris and the response I got on Discord correctly.  Images are only directly loaded client side.
SvelteKit could add this functionality, but binary data then needs to be base64 encoded which results in a larger file size. I guess this would undo advantages like preloading and ssr. There are also no extra roundtrips if you place your fetch call in e.g. onMount so it runs only once on the client side.

I didn't mean static data, my bad. I meant dynamic data like 'comments of post x', but in a binary format instead of json.

I also needed this functionality in a project. For my use case I had an API endpoint that returns binary data (it was a collaborative document serialized to raw data). This makes sense as an API result and is dynamic. We had the requirement to SSR the route that views this document. The solution was to add another endpoint that does the same thing but returns the data base64-encoded.
I believe SvelteKit should support fetch with arrayBuffer, and should encode it as base64. The only downside I can see is that this encoding enlarges the data and would result in a network impact. But the thing is that GZIPing base64 data results in only a 2~5% size increase, that's very small. Also, it would only affect people who use binary data in their APIs.

My app relies on a lot of grpc-web calls. These use a binary data format, hence needing arrayBuffer. I would greatly benefit from having these inlined during ssr.
here is some more prior discussion on the subject not yet mentioned here https://github.com/sveltejs/kit/pull/8317


Fix coupon handling in CalculateOrderTotal()

Fix for #191 and my first PR
As I understand, original intention was to subtract GetPriceDiscount() or GetPercentDiscount() as percentage from itemTotal, if any of those returns non-zero.

Coverage remained the same at 60.427% when pulling 2b20aebd161ae3f6830bc589dfa79bc21a7b072a on yurizhykin:coupon-handling into 72b337aeb968b032877916d08b1794d3b37ef6f0 on OpenBazaar:master.

LGTM Thanks!


Planningsheet has on 4. Active Directory 4a Windows server 2016?

If I go for the hybrid with certificate trust (no 2016 DC's) there is no change for 4b. ? Do I need then the windows server 2016 schema? (It was already filled in)

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

ID: 5739fab2-c6db-a7a9-b0e7-2bf4b85912a7
Version Independent ID: 82c58053-c1d7-d938-1b0f-f3f7f70ada3b
Content: Planning a Windows Hello for Business Deployment
Content Source: windows/security/identity-protection/hello-for-business/hello-planning-guide.md
Product: w10
GitHub Login: @MikeStephens-MS
Microsoft Alias: mstephen

@officedocsbot assign @mypil

Dear @rkemna ,
yes, WS2016 schema is still required (more details here)
i will create a PR to make it more clear in the article.
Thank you

@rkemna - Thank you for submitting feedback.
From our understanding, the issue has been resolved but it may take a few days for the merged content to appear in the article. If you feel it hasn't been resolved, please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!

@officedocsbot close


Fix #4138 fix delivery address

Resolves #4138
Description
Prints no address if delivery_method is pick_up
Prints partner address if partner has no program address and delivery_method is delivery or shipped
Prints partner program address if partner has program address and delivery_method is delivery or shipped
Tests output against expected PDFs
Adds helper test to generate expected PDFs

Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Passes test suite
Manual testing

Hey @jimmyli97 As a matter of process,  in the future please get yourself assigned to the issues when you are going to be working on them - or at least comment on them.   This helps us avoid duplication of effort.   Thanks.

@cielf it automatically unassigned me, should I keep commenting every 7 days?

Oops - sorry, my bad.  Not to worry.

But if it's going to lapse while you are still working on it,  yeah - commenting makes sense -- otherwise someone else may pick it up.

Hey @dorner --  it looks like the ball on this one is currently in your court?

@jimmyli97  FYI: We had an urgent fix that required all the senior contributors this week , so we didn't get to look at this again.  Hopefully this week will go better.

@jimmyli97 this helps a bit but not by much. Essentially:

To generate the PDF, you need some set of environment to be set up.
To run the RSpec, you need the same environment to be set up.

That does not imply that in order to generate the PDF, you should run an RSpec. It means you should extract the behavior that does the environment setup to shared code, and run that setup code both in the RSpec and in a separate script that can be used to generate the PDF.

@dorner I managed to figure out a way to separate out the setup code so you can call a Rails console method which calls that setup code, and also the Rspecs call that setup code. it's a bit messy though, let me know what you think

failing test is a known flaky one

If the partner should fill in an incomplete delivery address (maybe they just fill in the street address, because that's the part that is different), we get a mess like this

fixed in 39e8cb4

(6,1) failing test is known flake
(6, 4) failing test is present on main branch also, unrelated to this PR

@cielf I made a solution in 4c6cd65 where if there's no partner primary contact info it fills it in with a blank space, but I could also do it so that it uses the partner's name and email (which are both guaranteed to not be blank) if you want

Better!   It does feel to me  like there is a bit too much space between the Issued To and the Delivery Address, though.  Is it possible to tighten that up without side effects?

fixed spacing in b00d1b0

Functionality works great!   Thank you!   Back to @dorner for final tech review.


Where do I get the TestButler APK from?

Is it not in the repo? Just had a quick look and cannot find anything.
Do we have to build it ourselves? Not sure why we would have to do that. Might be a good addition to the repo if I'm not just being a bit blind.

I think the readme should be updated to point to the maven download URL. In general keeping binaries in a git repo isn't great.

Here's the link:

https://bintray.com/drewhannay/maven/download_file?file_path=com%2Flinkedin%2Ftestbutler%2Ftest-butler-app%2F1.0.0%2Ftest-butler-app-1.0.0.apk

https://bintray.com/drewhannay/maven/test-butler-library
https://bintray.com/drewhannay/maven/test-butler-app/

App link doesn't have package: No direct downloads selected for this package.

The repo moved:
https://bintray.com/linkedin/maven/test-butler-app/

Ah, found it, sources and packages are in Files tab.

for new comers, the links above are broken
https://search.maven.org/artifact/com.linkedin.testbutler/test-butler-app/2.2.1/apk


fix of receiving tags in the refresh method (#57)

Tags can be stored as a string.

Codecov Report

Merging #59 into master will increase coverage by 0.02%.
The diff coverage is 80%.

@@            Coverage Diff             @@
##           master      #59      +/-   ##
==========================================
+ Coverage    53.8%   53.83%   +0.02%
==========================================
  Files          35       35
  Lines        3009     3013       +4
==========================================
+ Hits         1619     1622       +3
- Misses       1390     1391       +1

Impacted Files
Coverage Δ

piston/post.py
68.61% <80%> (+0.19%)
:arrow_up:

Continue to review full report at Codecov.

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

You need to change PR to base branch develop, see https://github.com/xeroc/piston-lib/blob/master/docs/contribute.rst


cannot install pytorch=1.2.0

I used both M1 mac and windows laptop with anaconda.
In both case, I was unable to install pytorch=1.2.0

For now, there are a lot of newer versions of pytorch. Should I only use pytorch 1.2.0 to run the model?

recent version of pytorch works well.

recent version of pytorch works well.

I'm also having trouble in installing cuda 1.2.0, and I want know what is the cuda version you were working on ?


Should onSuccess interceptor fire if a request is aborted?

I'm seeing this behavior, sorry if it's apparent that it should somewhere in the docs.

It should not. Generally for each request always onRequest interceptor is fired, and then either onSuccess, onError or onAbort.
If you see a different behaviour, my guesses are:

you abort a request after already received response
you fired another request of the same type before previous was finished, so according to default takeLatest policy, previous one will be aborted, and second one will succeed, so for 1st request onAbort would be fired, for 2nd one onSuccess

If I didn't hit and you see onSuccess in another scenario, please describe it.

I think I have a separate issue which I will describe below. Regarding the issue at hand I guess I'm falling under the first bullet. What I see logged is three onSuccess executions but in redux inspector I see only two success actions AUTH_SUCCESS and FETCH_RESOURCES_SUCCESS and a handful of FETCH_RESOURCES_ABORT which is concerning to me because I would think I should see them match up at least.
What I'm trying to do and have so far is:
onSuccess which if the authorization token in response changes fires a TOKEN_UPDATED action which I can create watchers to listen for. Next I've made a watcher to listen for TOKEN_UPDATED and fire FETCH_RESOURCES. Since API always generates a new authorization key we end up with an infinite loop unless we are able to get a response back fast enough to have two authorization tokens match as FETCH_RESOURCE would continue to fire TOKEN_UPDATED via onSuccess continuously.

I would really need a repository reproducing this issue, otherwise it is hard for me to help. The only thing that I could help is that potentially dispatch request actions from interceptors. This could indeed cause a loop, thats why it is better to use sendRequest, like describe in https://github.com/klis87/redux-saga-requests#interceptors-arrow_up
The advantage is that by default this prevents infinite loops like dispatching request action in onSuccess interceptor, because next request would also trigger onSuccess etc. Also, you have ability tochange those defaults like this:
 yield call(sendRequest, action, {
    silent: true,
    runOnRequest: false,
    runOnSuccess: false,
    runOnError: false,
    runOnAbort: false,
});

But I am not sure this is the root of your problem

Also, if you dont want some requests to be aborted, you can use action.meta.takeLatest: false, see docs here https://github.com/klis87/redux-saga-requests#watchrequests

Yea, I think for my loop scenario I need to somehow have the onSuccess interceptor know that this request is the "end of the road" and to instead of firing a token updated action instead fire a token set action. I'm not so sure I want to completely bypass all of the interceptors which is why I keep shying away from using sendRequest manually with those modified options.

Is it possible to bypass runOnSuccess as part of the action payload? Like:
{ request: { url: '/yo', runOnSuccess: false } }

Just curious.

No, it is not possible. And generally using sendRequest is recommended in interceptors, because thx to saga context, it provide nice dynamic defaults which prevent loops from happening.
At some point in some situation blocking interceptor must be blocked, imagine sending request in onError, which would also end up with error, then you will call onError forever and forever dispatch requests. But this depends on situation and use case, those options are adjustable to fit any.

Also, part of the motivation behind making it fire an action instead of sendRequest is so that any feature/duck could subscribe to token update actions firing and perform actions on them.

but sendRequest also dispatches actions, even request action with dispatchRequestAction as true option, I reccomend reading about interceptors and sendRequest docs

actually if you dispatch request action, sendRequest is called by watchedRequests anyway :)

I'll close this for now, I just ended up firing sendRequest. :)


cri-tools (at least crictl) should follow kubernetes releases

Basically, this repo should at least provide branches for supported kube releases like https://github.com/kubernetes/apiserver (you can see it has branches for kube releases supported). Or tags, I don't have any strong opinion but we should align to kubernetes in some way.
@mrunalp PTAL

+1
Currently, v0.2 is for 1.8 and v1.0.0-alpha.0 for 1.9. We could make them into different branches.

Release branches created.


fix: ensure whisper dev deps are installed when running make target

closing for now... just need to make sure these are installed before running the make targets.


Add VariantPersist from SpaceDock

This pull request was automatically generated by SpaceDock on behalf of Snark, to add VariantPersist to CKAN.
Mod details:
name = /mod/1983/VariantPersist
author = Snark
abstract = Remembers your choices. Per part, per game.
license = MIT
Homepage =
description = ## What it does
When you choose a "default variant" in the editor (by clicking the little "teardrop" icon), this mod automatically saves that preference in the .sfs game file.

There's no UI, and nothing for you to do.  It's silent, invisible, and automatic.

Why would anyone want this?
I have definite preferences about which part variants I like best.  Mk1 command pod?  I want the white-with-gray-stripe look, every time.  Hammer SRB?  I want the one with the orange stripe.  And so forth.
I like that the game has the ability for me to pick my "preferred default" (the little teardrop icon in the part panel in the VAB or SPH) so that I don't have to set it for every single part, every single time I place a part. However... the game doesn't remember my choices between play sessions!
Oh, it remembers my choices if I exit and re-enter the VAB.  It even remembers them if I exit to the main menu and then load my game again.  But as soon as I exit KSP, it forgets all my preferences and I have to re-do them the next time I play.  It's downright aggravating to have to go through that every time.
So, I wrote this little mod so that it'll just automatically do what I wish the game did by default, which is to remember my darn choices.

How to install
Unzip the contents of "GameData" to your GameData folder, same as with most mods. (Note, includes ModuleManager.)
Additional optional configs, which you can install if you want them, are in a separate "Optional" folder within the zip file. See below for details.

But what about [mumble mumble editor themes mumble mumble] ?
KSP has an editor feature called "themes", which you can access via the "advanced" menu in the vehicle editor.  I gather that the idea is that it allows you to set an overall "theme" so that you can make your whole rocket be white, or your whole rocket be gray/orange, or what-have-you.
IMPORTANT: I have made no attempt whatsoever to make this mod play nice with the "themes" feature.  Haven't coded it, haven't tested it, haven't even looked at it.
The "theme" feature in KSP is one of those ideas that sounds kinda cool "on paper", I suppose... but I find that in practice, it's absolutely useless to me.  I find the UI confusing, and the in-game behavior counter-intuitive; I've tried tinkering with the feature in the game and it ended up merely confusing and frustrating me.
Furthermore... I don't actually have any use for the feature.  "Themes" are not how I play KSP.  I think in terms of parts, not "themes": that is, for each part, I have one particular variant that's my favorite "look" for that part, and I usually want that part to have that look. So a feature that goes through and sets all the parts to have the same theme is useless to me.
Therefore, in my own gameplay, I basically just pretend that that feature doesn't exist.  So I wrote this mod to make the game do what I want it to do.
I have no idea what this mod will do if you also use the "themes" feature-- maybe it's fine, or maybe they break each other.  Don't know, don't care.
Therefore: if you are a player who likes to use the editor's "themes" feature, then this mod may not be for you.
Please direct questions about this pull request to Snark.

This was added in #6788.


Update eslint version and configuration for pnpm usage

Description
Using pnpm to install the application is beneficial if you install often packages or if you have a slow network with other benefits. pnpm store the packages in a folder and use them when needed instead of download them again.
Nevertheless, we have a warning with the current installation regarding eslint :

We need to adjust the dependencies so we can take off this warning.
Before, some people was unable to install with pnpm too because of this problem with eslint.
Fixes #1189
Type of change
Updated the dependencies and their peer dependencies to get no more warning
Only package.json and eslintrc.js was changed by my work.
The other files result in the format and lint of the file with the new version of the modules.
Please delete options that are not relevant.

[X] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Lint after install the current reactplay.
Update the dependencies and the related peer dependencies
Lint after update.
Add configuration in .eslintrc.js to get warnings instead of errors for unused vars.
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
=> the basic lint command.
Checklist:

[X] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules

Screenshots or example output

video
Remark: Husky commit use Yarn, so ^^'

We should upgrade all the dependencies since a few of them have become deprecated. @Angra974

We should upgrade all the dependencies since a few of them have become deprecated. @Angra974

Updating all the dependencies means to modify codes inside the application ( change between swiper 9 to 10 ).
Some components needs to be lightly modified.
Some dependencies will not be changed because the plays associated with them won't work ( code-editor for exemple ).
I won't be able to test them with Yarn.
Only pnpm and npm as it is use with the workflow here.

This one is ready.
Deploy is ok.
Less modifications than expected as some are not update to the last version.
Will come later as they needs update in code and will take more time to be validated.

so now we need to change the docs according to pnpm such as (pnpm i, pnpm dev)


Merge tikv near 7.3(aa4942715d9)

What problem does this PR solve?
Issue Number: close #xxx
Problem Summary:
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.4 out of 13 committers have signed the CLA.:white_check_mark: SpadeA-Tang:white_check_mark: glorv:white_check_mark: Leavrth:white_check_mark: CalvinNeo:x: overvenus:x: LykxSassinator:x: bufferflies:x: nolouch:x: 3pointer:x: v01dstar:x: tonyxuqqi:x: tabokie:x: pingyuYou have signed the CLA already but the status is still pending? Let us recheck it.

/run-all-tests


[GHSA-6m9f-pj6w-w87g] Rancher Webhook is misconfigured during upgrade process

Updates

Affected products

Comments
This change has already been submitted yesterday, and was merged:

However, the affected versions in the page still remains incorrect:

Hi there @pjbgf and @macedogm! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our highly-trained Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory

Hi @KateCatlin (sorry to pull you her, we chatted in another thread in the past - https://github.com/github/advisory-database/issues/1687). Can you help us get this solved, please? The issue is with the list of affected versions in the global advisory https://github.com/advisories/GHSA-6m9f-pj6w-w87g. This will make tools that use GHSA as their source of advisories to generate false positive alerts to users.
Global advisory - https://github.com/advisories/GHSA-6m9f-pj6w-w87g - the list of affected versions is wrong.

The correct version is below - from our repo level advisory - https://github.com/rancher/rancher/security/advisories/GHSA-6m9f-pj6w-w87g.

Our colleague @pjbgf already tried to solve the issue with a PR yesterday, but for some reason the global advisory still displays the wrong affected version.
We appreciate any help here. Thanks!

Sorry, it looks like our PR hook was dropped and failed to push the update to our database on merge. Closing this PR as we've resent the message associated with the original PR and the data looks good now!

@katblag thanks so much for helping us with this fix 👍🏻


Implement consumer offsets

What does this PR do?

Motivation

Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] If the PR doesn't need to be tested during QA, please add a qa/skip-qa label.

Current dependencies on/for this PR:

master

PR #13918

PR #14076

PR #14077

PR #14078

PR #14080   👈
PR #14079

This comment was auto-generated by Graphite.