bpf: optimize away dead code in verifier

LLVM doesn't do througout analysis to detect dead code, and there are also potential cases where it's not really possible. Right now the fix for the verifier will only mark with nops and for net + stable kernels it's too much complexity to have a bpf_patch_insn_single() for negative length. Add this into net-next as optimization. Related: http://patchwork.ozlabs.org/patch/840512/

Just to be sure I read this correctly, you want to do a dead-code detection
pass in the verifier and prune those paths instead of fail outright?
On Wed, Nov 22, 2017 at 4:39 PM, Daniel Borkmann<EMAIL_ADDRESS>wrote:

LLVM doesn't do througout analysis to detect dead code, and there are also
potential cases where it's not really possible. Right now the fix for the
verifier will only mark with nops and for net + stable kernels it's too
much complexity to have a bpf_patch_insn_single() for negative length. Add
this into net-next as optimization. Related: http://patchwork.ozlabs.org/
patch/840512/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cilium/cilium/issues/2122, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABMI8CxVs_KsUJ-WTVwKvBsMOuaRP5UEks5s5L7NgaJpZM4QoKOQ
.

We cannot fail outright as that would break existing programs unfortunately. [1] rewrites them to nops as a fix, but for bpf-next idea would be to optimize it away instead. The changes required to bpf_patch_insn_single() et al are too complex for -stable, though, but we should do that to reduce insn image.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=c131187db2d3fa2f8bf32fdf4e9a4ef805168467

not relevant anymore; will be solved differently.


Update index.md

👷 Deploy Preview for gladia processing.

Name
Link

🔨 Latest commit
3826660c31c90e9272099b741514582a171da5d7

🔍 Latest deploy log
https://app.netlify.com/sites/gladia/deploys/63e25d909657c40008e1004c


Unable to build alacritty due to servo-freetype-sys/freetype conflict

I have no idea how to resolve this issue. I have just updated cargo and rust (they are both version 1.32.0).
Which operating system does the issue occur on?
Fedora 29
If on linux, are you using X11 or Wayland?
X11
~/alacritty · (master±)
⟩ cargo build --release
    Updating crates.io index
error: failed to select a version for `servo-freetype-sys`.
    ... required by package `servo-fontconfig-sys v4.0.7`
    ... which is depended on by `servo-fontconfig v0.4.0`
    ... which is depended on by `font v0.1.0 (/home/krullj/alacritty/font)`
    ... which is depended on by `alacritty v0.2.7 (/home/krullj/alacritty)`
versions that meet the requirements `= 4.0.5` are: 4.0.5
the package `servo-freetype-sys` links to the native library `freetype`, but it conflicts with a previous package which links to `freetype` as well:
package `freetype-sys v0.7.1`
    ... which is depended on by `freetype-rs v0.19.1`
    ... which is depended on by `font v0.1.0 (/home/krullj/alacritty/font)`
    ... which is depended on by `alacritty v0.2.7 (/home/krullj/alacritty)`
failed to select a version for `servo-freetype-sys` which could resolve this conflict

How do I fix this issue? I don't have any other alternative installation method at my disposal (as far as I'm aware).

Have you tried removing all Cargo.lock files in the repository and deleting all the target directories?

Removing Cargo.lock fixed my issue! Thank you.


The install script only works on Debian based Linux distros

There is a bash script which installs all of the packages automatically and that is great! But there is one drawback though, it wont work in Arch based distros (Manjaro, ArchLabs, etc). That is because those distros use pacman instead of apt to download the packages.
In my opinion, I dont think that it is good idea to have that script unless we add support to other distros as well.

@theodosisathanasakis

I din't think that. Let me give it a try for the basic distos and I'll let you know.

I din't think that. Let me give it a try for the basic distos and I'll let you know.

@sdushantha is right. Actually, we don't need to use the install script. (If it's required for them, you need to write an installation script for each distribution.
Fedora: Yum(DNF)
OpenSuse: Zypper
Arch: Pacman
And etc...

Just a note, I dont think everyone wants to download the dependencies globally. Some might want to download them locally.
Global Install
pip3 install xyz
Local Install
pip3 install --user xyz

Just a note, I dont think everyone wants to download the dependencies globally. Some might want to download them locally.

Ok, so do you want me to add a question before "pip3 install" commands.

@theodosisathanasakis
Yeah, that would be nice


Nothing happens when pressing TAB or RS on the controller.

I followed the  steps with the "dxgi.dll" file, ran the game and got into a fight but nothing happened when trying to switch to the legend style.
I am using the Xbox GamePass version of the game.

I've never tested it on the gamepass version, can you show me how your game directory looks?

no.


Add tests

Tests to write:

if no scheduled tweets, posts a queued tweet
if no queued tweets, fails gracefully
check renaming scheme (posted, failed, attempted)

Might be a good time to refactor the code into two modules

Tweet by date
Tweet by queue


Move ResilientSocketOutputStream into io.dropwizard.logging

Using a "reserved" package, such as ch.qos.logback.core.recovery from Logback, in an unrelated artifact will cause problems with the Java Platform Module System (JPMS).
In order to prevent a future conflict, the ResilientSocketOutputStream and the parent class ResilientOutputStreamBase from Logback have been moved into io.dropwizard.logging.
While copying code is usually a bad idea, I don't see how we could support Java 9+ with Dropwizard without this change or a change from the Logback project to change the modifier of the required methods in ResilientOutputStreamBase to protected.

Can a comment be added documenting this class is originally from Logback and maybe reference a version or something so we know if we need to keep it in sync with later versions?


include_package_data is changed to package_data setup.py property

include_package_data  only adds data files into package.
package_data also tells python to install it.

thanks!


⚠ Bofrost.fr has degraded performance

In 019f57e, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1292 ms

Resolved: Bofrost.fr performance has improved in a00cfa0 after 22 minutes.


[Enhancement] Modal close animation

Modals have an animation for opening, but closing just happens instantly with no animation. It would be nice to have a closing animation, potentially just the opening animation in reverse.
This also occurs on the docs so I know it is not an issue with my code.

I don't have a solution for this yet.
If I add a CSS animation for closing the modal, it will cause a  flicker when page loads and that's not good.

it will cause a flicker when page loads

wdym? why should a page load if I hide a modal?

@lkj4 currently modal has visibility: hidden when it's closed and has visibility: visible when it's open. We can't apply CSS animation when an element goes from visible to hidden because it's instant. A workaround is to use opacity instead of visibility which can have animations. The problem is when a close modal wouldn't be invisible when page loads and then the fade out animation fires which will cause a flicker of modal when page loads.

I think it would be better to reopen this and mark it as help wanted some someone else might be same to come up with a solution.

Agree with @asportnoy.  This approach is less compelling without a smooth transition on close.  I'm using Sveltekit and will probably have to migrate to something like svelte-simple-modal.  Although honestly, I'd prefer to use DaisyUI as much as possible.

Okay I re-open this but that wouldn't help. We can't animate to visibility: hidden

I'm not great at CSS, but how does svelte-simple-modal implement?

It applies animation using JS and removes it after showing/hiding modal.
I can't add JS to daisyUI since it's a Tailwind CSS plugin. However, it is possible to apply your own JS (based on the JS framework you're using).
Also, there is no downside in using a JS plugin that handles modals (like svelte-simple-modal) because there are things a JS plugin can do that CSS can not.

In solidjs I solved it like this:
const Modal: FlowComponent<{ open: boolean }> = (props) => {
  const [isVisible, setVisibility] = createSignal(props.open);
  createEffect(() => {
    if (props.open) {
      setVisibility(true);
    } else {
      setTimeout(function () {
        setVisibility(false);
      }, 200);
    }
  });

  return (

{props.children}

  );
};
``

What if we include a hint and maybe some quick vanilla js example "Modal with close animation" just in the Daisyui docs. That way users would see that they have to do something with js & that this behavior is intended!

I'm definitely for adding a JS tab like the html tab for examples that require js to function properly.

The closing animation is working as expected after I made the modal visible by default with . I'm not seeing anything unusual such as flickering.
Is there any hidden behavior that I'm not aware of?

I was able to add smooth modal closing transitions by simple adding visibility to the transition-property in the compiled css on the guide. Tested both on Safari 15 and Chrome 107.

Maybe someone more experienced with daisyui's internal markup can implement it with tailwind on the codebase.
https://user-images.githubusercontent.com/2837147/200816412-7aa3f782-b819-49b8-85d8-37df61330634.mov

PR added, this should finally fix this issue.
On a side-note: A few months ago I also thought JS to be the answer for most interactivity, but since using sveltekit, which advocates progressive enhancement (e.g. great functionality without JS), I must say it helped to figure out different approaches on how things can be implemented without JS and be more accessible and even faster.

Can this be added for toasts too?

@MarcGodard unfortunately no. HTML elements can have use a CSS animation when being added to the page but when we remove them from the page, they will be removed instantly, so there's no way for CSS to run an animation before the node is being removed. To achieve this, you can manually add a style (could be transform: scale(.9) or anything) and then with a delay, delete the node from DOM


Allow thunks to refer to sources without default.nix

Once implication of this is we might not want to use a auto-generated default.nix because when the thunk is unpacked, there won't be a repo-provided default.nix. We could say this is only for repos that don't provide a default.nix, in which case nothing will overwrite the default.nix, but I rather this sort of thunk be a foundation for everything else, and thus have it work whether or not there is a default.nix in the repo. In that case, the user would basically decide whether to e.g. hackGet ./dep/foo or  import (hackGet ./dep/foo), and the hackGet-ing works the same either way.

Good point. So goals are:

hackGet (or similar) has same interface for repos with default.nix and repos without default.nix
import dep/foo {} works only for repos with default.nix and fails at evaluation-ish time for repos without it

As usual, packedness has no effect (other than of course the obvious effects of passing through some fetcher, etc).
Does this sound right to you?

Exactly right.

@xplat and I came up with a plan for this:
Add a new file to the thunk directories (maybe source.nix or src/default.nix) which does everything that the default.nix loader does except importing the default.nix in the thunked source. Change default.nix to merely do the "double import" for this.
Make source.nix look for a sibling directory (with a short name like _) which may house a checkout of the source. If such a directory exists, the source.nix should use that instead of loading from git.json/github.json/etc.
Make ob thunk unpack simply unpack to the _ directory in the thunk. It doesn't need to keep the old thunk meta-info in the unpacked repo's .git either since that is now easily available.
Make ob thunk pack simply update the git.json/github.json files and loader as it normally does and then delete the unpacked directory. It could even move the unpacked dir to a different name as a way of not losing things, but that's another idea for another time.
What this accomplishes:
All thunks now have a default.nix which is backward compatible with previous usage (import ./dep/thunk works the same way). However, it additionally supports traditional hackGet use cases without actually needing hackGet at all. You now just use import ./dep/thunk/source.nix instead of hackGet ./dep/thunk.

If I am not mistaken, this is implemented. I'm pretty sure I have used this feature myself. Let me know if I am mistaken.


Bump default GH CLI version from 2.3.0 to 2.39.2

SEMVER Update Type:

[ ] Major
[X] Minor
[ ] Patch

Description:
Update the default Github CLI version used by this orb from 2.3.0 to 2.39.2
Motivation:
See linked issues, but especially for creating releases, many of the flags are not available in 2.3.0 that one would expect to be able to use in the Github CLI.
Closes Issues:

https://github.com/CircleCI-Public/github-cli-orb/issues/41

Checklist:

[X] All new jobs, commands, executors, parameters have descriptions.
[X] Usage Example version numbers have been updated.
[X] Changelog has been updated.

@KyleTryon @EricRibeiro Not sure if y'all got a request for review on this

Your orb has been published to the CircleCI Orb Registry.
You can view your published orb on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/circleci/github-cli?version=2.3.0


Has anyone got this project running on a Pi3

I seem to be having all the same errors that were appearing on the Pi2 but the fixes aren't working on the Pi3. Has anyone had success and was there anything in particular different needed doing?

Hi,
With the Rpi2 with latest Raspbian Jessie with kernel 4.4.x works to me.
http://imagizer.imageshack.us/v2/800x600q90/921/MUDeE8.jpg
https://www.raspberrypi.org/forums/viewtopic.php?f=76&t=131830&start=25
Best regards

same question here , ive tried to install in rpi3 but finally not compiles.
@DHaylock  is posible to install this in pi3? thankyou

I am running on a pi3.  https://github.com/WatershedArts/Footfall/blob/master/docs/troubleshooting.md this solved my compile failing.

Hi paranoidsystems please can you explain simple steps to install all and what version of OF i mean :

step 1
Download an compile....
Step 2...

.... because in the guide of the repository its no clear at all and i dont know if im doing right
Thankyou

Hi ttn87,
I followed the guide in one of the older readme's here (https://github.com/WatershedArts/Footfall/commit/ec23d5169cf30cc0149ce4e9c7185d171c38a9ca ) give that a go and let me know.

Do you remember what version of OF?

I believe I just used the latest version but I am not 100% sure.

Hi All,
In theory it should run fine.
As long as you download and compile the correct version of OF for which ever version of footfall you use.
David


Remove st.beta_

This PR replaces st.beta_expander with st.expander and other instances of st.beta_ in README.md, because st.beta_* will be removed after 2021-11-02 (see: https://github.com/streamlit/streamlit/releases/tag/0.86.0).

Thanks for this and sorry for the long delay!


About the cuda error.

Hello, thank you for your good work.
when I try to train the network with S3DIS, I get this error report:
tensorflow.python.framework.errors_impl.NotFoundError: /home/logic/Desktop/2021Project/BAAF-Net/utils/sampling/tf_sampling_so.so: undefined symbol: __cudaPushCallConfiguration
Do you have any suggestions？

could you please specify your cuda location by changing the line: https://github.com/ShiQiu0419/BAAF-Net/blob/663d1681d4d05ad3caaacd98e6dedfdc9caa4930/utils/sampling/compile_ops.sh#L6
then recompile /utils/sampling/compile_ops.sh

Hello, thank you for your good work. when I try to train the network with S3DIS, I get this error report: tensorflow.python.framework.errors_impl.NotFoundError: /home/logic/Desktop/2021Project/BAAF-Net/utils/sampling/tf_sampling_so.so: undefined symbol: __cudaPushCallConfiguration  Do you have any suggestions？

Hello! I have the same question. Have you sovled the problem?

could you please specify your cuda location by changing the line:
https://github.com/ShiQiu0419/BAAF-Net/blob/663d1681d4d05ad3caaacd98e6dedfdc9caa4930/utils/sampling/compile_ops.sh#L6
then recompile /utils/sampling/compile_ops.sh

I specify my cuda location and recompile, but still have this problem. could you give me some advice?

could you please specify your cuda location by changing the line:
https://github.com/ShiQiu0419/BAAF-Net/blob/663d1681d4d05ad3caaacd98e6dedfdc9caa4930/utils/sampling/compile_ops.sh#L6
then recompile /utils/sampling/compile_ops.sh

I specify my cuda location and recompile, but still have this problem. could you give me some advice?

would you please show me your versions of tensorflow and cudatoolkit in your environment by running conda list?

could you please specify your cuda location by changing the line:
https://github.com/ShiQiu0419/BAAF-Net/blob/663d1681d4d05ad3caaacd98e6dedfdc9caa4930/utils/sampling/compile_ops.sh#L6
then recompile /utils/sampling/compile_ops.sh

I specify my cuda location and recompile, but still have this problem. could you give me some advice?

would you please show me your versions of tensorflow and cudatoolkit in your environment by running conda list?
I use pip and my version of tensorflow is 1.13.1

could you please specify your cuda location by changing the line:
https://github.com/ShiQiu0419/BAAF-Net/blob/663d1681d4d05ad3caaacd98e6dedfdc9caa4930/utils/sampling/compile_ops.sh#L6
then recompile /utils/sampling/compile_ops.sh

I specify my cuda location and recompile, but still have this problem. could you give me some advice?

would you please show me your versions of tensorflow and cudatoolkit in your environment by running conda list?
I use pip and my version of tensorflow is 1.13.1

You may create a new environment and install the tensorflow by running:
conda install tensorflow-gpu==1.13.1
then make sure that the installed cudatoolkit version is consistent with the cuda on your device.
For example, on my PC:
tensorflow-gpu 1.13.1
cudatoolkit 10.0.130
CUDA_ROOT=/usr/local/cuda-10.0

我的tensorflow-gpu是1.13.1版本的，cuda是10.1版本，CUDA_ROOT=/usr/local/cuda-10.1，这样也出现了上述问题，请问是什么情况呢？但是预处理成功了


Problem Saving

Error Code
Error: Too Many Requests

Error: Too Many Requests
    at Request.<anonymous> (https://homebrewery.naturalcrit.com/homebrew/bundle.js:78380:21)
    at Emitter.emit (https://homebrewery.naturalcrit.com/homebrew/bundle.js:1954:20)
    at XMLHttpRequest.<anonymous> (https://homebrewery.naturalcrit.com/homebrew/bundle.js:78674:10)
{
  "status": 429,
  "method": "PUT",
  "url": "/api/update/5rhqmPfcMK7o"
}

### Your description of what happened:

Just made a quick spelling correction.  Found that manual and auto-saving isn't functioning across multiple homebrews (all that I've tried so far).

This problem should be resolved now.  If it persists for you, please followup in this thread.
Closing this comment as a duplicate.


[BUG] 1.20.1 SoulBound doesn't work currently (some more information)

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Any armor and tools in any world with the soulbound enchant do not work correctly, things can disappear, although after death they end up in the inventory, but if you try to use them they immediately disappear
Item.of('minecraft:enchanted_book').enchant('enderio:soulbound', 1)
Expected Behavior
Video with problem - https://youtu.be/Jd8qpjCGPHY
Steps To Reproduce

Enchant any armor with a soulbound
die
Try to put it on
The armor disappears

Environment
Minecraft version: 1.20.1
EnderIO-1.20.1-6.0.23-alpha

Anything else?
In clear EnderIO mod item's don't disappear, but in my modpack they are disappear
mods.txt

another mod add it's own soulbound book then enderIO, so it's conflicting with EnderIO

Looks like this could be a conflict as you suggest Cities; to be honest I think we should reopen discussion on whether Ender IO really should have/needs a soulbound, given the grave feature was removed for a similar concern over mod compatibility.

After discussion - this enchantment is going to be removed as it is too buggy for use; it may return in a new form at a later time.


Wrk in Mixer

rebuild istio/presubmit

Jenkins job istio/presubmit passed

Jenkins job istio/presubmit passed

Jenkins job istio/presubmit passed

I merging this for release, but @douglas-reid  please review the change.


Implement Default for ColliderConstructor for avian2d

Objective

Fixes the issue in the header.

Solution

Make a unit circle option to satisfy the compiler and select it as default

Why? Because space_editor requires components to implement Default, and I think this is just a good thing for 2d to be able to do.

I have made a pull request because I am genuinely struggling to "build" this repository locally, but I am quite confident this implementation will fix my issue.

oops meant to make a separate branch my bad.


Bad style form after creating a feature

Steps to Reproduce

Add an empty layer
Add manually a new feature (whether is  a polygon or a line)

Current Result
The style form reflects another color that the one of feature.
It happens both in polygons and lines.
Expected result
The style form reflects the same color of the feature.

Fixed with #14137 and shipped to production 🚀 !!

Vamos!


Merge from feature/dashboard_v2 to develop - Fix bug in examination detail, display up to 5 items in doctor profile

OK


Changes for https://github.com/ITISFoundation/osparc-simcore/pull/4792

Env-Var addition to template.env

Thanks!


Close the Discord channel and move to #asf Slack

as the title says
We need to also update the README.

the ASF slack is not open to the public AFAIK but only to ASF members

Everyone can join the ASF slack. It just requires an invitation from an asf committer  :)

Everyone can join the ASF slack. It just requires an invitation from an asf committer :)

that's not super open. Do other projects at Apache have Discord channels outside Apache?

Everyone can join the ASF slack. It just requires an invitation from an asf committer :)

that's not super open. Do other projects at Apache have Discord channels outside Apache?

You can split the channels. Have internal team chats on Slack. Leave Discord there for other users.
I would suggest that GitHub discussions can be used to replace many of the Slack/Discord conversations. The GitHub discussion keeps everything related to a given discussion together while Slack/Discord can be a pain if there are multiple concurrent discussions.

I also prefer Discussions. I will close Discord soon and remove its mention in the README


Use http::Request::extensions

Motivations
This is a random thought, but it might be worth tracking.
We have task-local-extensions to provide a type agnostic data for middlewares. http::Request also has their own.
Solution
By building with http::Request instead of reqwest::Request, we can reuse their extensions and simplify our own code and get more ecosystem support. There is a TryFrom between the two and it should in theory never fail (the only difference is the Url types. But they should both be spec compliant).
Also, we would lose the extensions when sending through the conversion, so I propose we wrap the Response type to store the state of the extensions at the end

Doesn't our extension span both the response and the request?

If you use the Builder::send() mechanism, the extension is lost. If you use the execute_with_extension(), you can keep it around.


Add codespell pre commit hook 2

(started new because I had based the previous branch on an outdated version and the merge conflicts were annoying)
Fixed some typos
Added corresponding pre-commit hook
Stripped trailing whitespace
Added corresponding pre-commit hook

Depending on whether we want all of that, we can also take a subset of these commits. But I'm a big fan of pre-commit in general. I could also add it as a CI here so that it gets checked on every push/PR.

That's great. I do not dare merging it right away as we are in the middle of the course and I do not want to risk breaking stuff. But I'll definitely merge it at the end of the week !


OmemoManager.getInstanceFor(connection, deviceId)

This comes in handy when the user wants to do eg. integration tests.
Is needed when multiple devices share the same connection (very rare edge case)

Done in https://github.com/vanitasvitae/smack-omemo/tree/4.2-central-service


Consumers lost without reason! Panic Flag!

Hello AlexxIT!
Thank you very very much for your work on this project.
I'm using it to get a stream from my Bambu X1C 3D Printer. It works but after a while the Stream stops.
Wifi connection is stable and I see no issue on this level.
I noticed that when everything is fine the consumers look like this
{
  "producers": [
    {
      "type": "RTSP active producer",
      "url": "rtsps://<IP_ADDRESS>/streaming/live/1/",
      "remote_addr": "<IP_ADDRESS>:322",
      "user_agent": "go2rtc/1.8.5",
      "sdp": "v=0\r\no=-<PHONE_NUMBER>723166 1 IN IP4 <IP_ADDRESS>\r\ns=rtsp stream server\r\ni=Fri Jan 19 12:50:43 2024\n\r\nt=0 0\r\na=tool:LIVE555 Streaming Media v2023.03.30\r\na=type:broadcast\r\na=control:*\r\na=range:npt=now-\r\na=x-qt-text-nam:rtsp stream server\r\na=x-qt-text-inf:Fri Jan 19 12:50:43 2024\n\r\nm=video 0 RTP/AVP 96\r\nc=IN IP4 <IP_ADDRESS>\r\nb=AS:1000\r\na=rtpmap:96 H264/90000\r\na=fmtp:96 packetization-mode=1;profile-level-id=42C01F;sprop-parameter-sets=Z0LAH42NUCSC2TZAAAADAEAAAA8jwiEagA==,aM4xsg==\r\na=control:track1\r\n",
      "medias": [
        "video, recvonly, H.264 Baseline 3.1"
      ],
      "receivers": [
        "96 H264, bytes=21360674, senders=1"
      ],
      "recv": 21577454
    }
  ],
  "consumers": [
    {
      "type": "WebRTC/WebSocket async passive consumer",
      "remote_addr": "udp4 prflx <IP_ADDRESS>:62708 related :0",
      "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36",
      "medias": [
        "video, sendonly, VP8, RTX, VP9, H264, AV1, RED, ULPFEC, FLEXFEC-03",
        "audio, sendonly, OPUS/48000/2, RED/48000/2, G722/8000, PCMU/8000, PCMA/8000, CN/8000, TELEPHONE-EVENT/48000, TELEPHONE-EVENT/8000, L16, PCML"
      ],
      "senders": [
        "102 H264, bytes=21360674, receivers=1"
      ],
      "send": 21615711
    }
  ]
}

When the stream stops the consumers looks like this.
{
  "producers": [
    {
      "url": "rtsps://bblp:8f423a8b@<IP_ADDRESS>:322/streaming/live/1"
    }
  ],
  "consumers": []
}

The Log shows
 Time | Level | Message

20.1.2024, 14:12:40 | error | undefined error=write tcp <IP_ADDRESS>:1984-><IP_ADDRESS>:47154: write: broken pipe caller=github.com/AlexxIT/go2rtc/internal/mjpeg/init.go:70
20.1.2024, 14:12:40 | error | undefined error=write tcp <IP_ADDRESS>:1984-><IP_ADDRESS>:54514: write: broken pipe caller=github.com/AlexxIT/go2rtc/internal/mjpeg/init.go:70
20.1.2024, 14:12:40 | error | undefined error=write tcp <IP_ADDRESS>:1984-><IP_ADDRESS>:60978: write: broken pipe caller=github.com/AlexxIT/go2rtc/internal/mjpeg/init.go:70

The only way to recover the stream, is to restart the printer.
I would love to use go2rtc as the only solution to get my stream, because it is nearly instant without any delay.
I'm available for testing as well at any time!
Best regards Flexer

v1.8.5 has a bug with auto recoonect on broken stream

Well there be a fix?

It's already fixed in master version


Question about throughput

Hi. Thank you for publishing this repository. Congratulations on the excellent work and well-written paper.
The paper says Mamba has a higher throughput than a Transformers model. To check this, I made a simple test to measure the number of tokens per second generated for Mamba model and the original model of the TinyStories paper, which is GPTNeo-based. The results may vary slightly with each run, but I observed that GPTNeo consistently has much faster inference speed compared to Mamba.
Both models have the same 33M parameters, yet GPTNeo can generate ~6x times more tokens per second than Mamba. Could you provide some insights into why Mamba is slower in this case? Perhaps there's something I may have missed?
The results are reproducible, and you can find more details in this gist (I tested it on Google Colab):
https://gist.github.com/metalwhale/7a4745752e2f9f175f0dd71a87fbdc2c
Thank you in advance!

Did you try our benchmark script in this repo? In particular the 33M model is tiny so CPU overhead matters a lot, you should pass cg=True to Mamba's generate function to reduce this CPU overhead.

@tridao
Thank you! After enabling cg=True I can confirm that the throughput of Mamba significantly improved. The latest results are provided here.
GPTNeo:<PHONE_NUMBER>3768307
Mamba (cg off): 26.92385745662631
Mamba (cg on):<PHONE_NUMBER>054232

May I ask another noob question? In which section of the Mamba paper is the "cg" option mentioned? I would like to read more about it to gain a deeper understanding. I am concerned because I wonder if the "cg" option is still fair if the Transformers model does not have it.
Once again, thank you for your excellent work and for sharing! This is truly awesome.

It's an implementation detail to reduce CPU overhead. You can read the implementation here if you'd like.

Thank you. Let me take a look.

@metalwhale did you get a chance to look into cg more deeply? If yes, would you be able to provide a high-level summary.
@tridao I trained a mamba model on my own data. However, I am facing an issue where passing cg=True results in model generating garbage output. The first token looks reasonable but after that the model goes to an arbitrary token and then just keeps repeating it. When I set cg=False, the model generates normal output. Do you have any thoughts on this?


Fix issue inserting aligned text

When inserting a single line of aligned text an extra ") Tj\n" is added

+1 (fixes opening my PDF with Adobe and the undefined variable error)

Thanks very much for this, I've had to reapply to fix because of merge conflicts, but very much appreciated!
https://github.com/MrRio/jsPDF/pull/849


How to create a custom SpatialReference?

How to create a custom SpatialReference?
When I try to create a custom  SpatialReference.   Throw the wrong ：
mil.nga.sf.util.SFException: Failed to create projection for authority
thanks

I assume you resolved your issue, but just in case.
An example of creating a custom SRS
If you want to use a projection for custom SRS as indicated by the error, you can add custom projections. By default, there is built in authority support for epsg, ogc, and none.


feat(types/chain): is_legacy helper

moving this into ethers-rs from foundry so it can be more easily use elsewhere

Idea LGTM some syntax error remains

Needs fmt!

@gakonst i think we're good now? fmt seems to be failing on other code. do we want to include that fix in here?


hope support phpseclib/phpseclib:~3.0

see
https://github.com/wqjohnston/web3.php

@wqjohnston can you make a pull request so that @sc0Vu can incorporate your changes?

also have this issue


[Bug]: Discrepancy in backup output

What happened?
The obvious disconnect between "0 items to backup" and 2 "Items uploaded" in Corso output is causing cognitive dissonance. Can we fix this?
Corso Version?
Corso v0.7.0
Where are you running Corso?
macOS
Relevant log output
Discovered 0 items to backup
Backing up data:      0s done
Done

  ID                                    Bytes Uploaded  Items Uploaded  Items Skipped  Errors
  db38d468-a74d-4352-9524-bec8a832d9d6  9.3 kB          2               0              0

https://github.com/alcionai/corso/pull/3128#pullrequestreview-1393151333 is related. /cc @ryanfkeepers

@ntolia Which service was involved in this run?  Exchange, OneDrive, or Sharepoint?  The bug could be related to file item identification in those services.

Another thing that could be causing this is the Corso metadata files (previous paths, delta tokens). If the file count is coming from kopia then it would include those in the upload count even though they're not user data that can be restored

@ntolia Which service was involved in this run? Exchange, OneDrive, or Sharepoint? The bug could be related to file item identification in those services.

I believe it was OD or SP but not 100% sure. This should be a 100% repro though, right?

OneDrive and Exchange shows this behavior. It's not that obvious in Exchange but my guess is we upload 6 objects in my setup for a zero-item backup.
OneDrive
Discovered 0 items to backup
Backing up data:      0s done
Done

  ID                                    Bytes Uploaded  Items Uploaded  Items Skipped  Errors
  a2273ec7-d8bb-4276-ac64-6f089de7be55  9.3 kB          2               0              0

SharePoint
Discovered 0 items to backup
Backing up data:      0s done
Done

  ID                                    Bytes Uploaded  Items Uploaded  Items Skipped  Errors
  37a2b4a0-bcfd-45de-bee8-fa87d4ea3327  9.3 kB          2               0              0

PR - https://github.com/alcionai/corso/pull/3480

Completed as part of - https://github.com/alcionai/corso/pull/3480 And the changes impact all the three services. But are most visible in Onedrive


[cf-icons] Make a more user-friendly demo page

Original issue: https://github.com/cfpb/cf-icons/issues/13
Currently, neither the docs nor demo pages do a great job giving a simple high-level overview of what cf-icons has to offer. Compare with the Font Awesome icon list. I think we should develop a similar page for cf-icons.
Options for where this page could live:

In this repo, along side the existing docs and demo

Probably means creating a new Topdoc template

As part of the output of cf-demo

As that page gets increasingly long/complex, does it need internal navigation?

As a page on the main docs site

Do other components get their own demo page?

We have an icon list in the docs at https://cfpb.github.io/capital-framework/components/cf-icons/#the-icons that should satisfy this issue.


IV Bags + Stands

About the PR
Screenshots

Changelog

Adds 200u fluid capacity IV bags with inject/draw modes.
There are 3 different colored IV bag sprites: default/chem(Blue), blood(Red), slime(Green).
Blood and slime bags have their empty and filled versions.
All bags support dynamically colored contents and have 10 visible fill levels.
Adds the IV stand that can be broken into IV stand parts. No interactions with IV bags yet.
Stand parts can be reassembled by hand or destroyed for 5 steel sheets.

I do not currently have the time/patience/engine know-how to implement the components necessary to have the IV bags transfer their contents over time, and to have them rip out if moved too far.
So instead of that, for now it uses the default Injector component that syringes do.
Takes 7 seconds(base delay) to transfer 25u at a time. It's not practical therefore to use in combat but it should be much faster than injecting or feeding blood to someone in ways other than a hypo.
:cl: ShuttleEnjoyer

add: 200u IV Bags(like a syringe. no drip yet) with Chem, Blood, and Slime variants.

also (unless you'd like to try it yourself as a learning thing) I'll probably take a shot at proper behavior for these after this is in

as for the IV stands being able to hold IV bags, that actually should be able to be done entirely in YAML using ItemSlots, but can maybe leave that for later?

Until an IV bag component is programmed you'll have to use it while it's in your hand so I was going to wait until it was in. Was thinking of giving the stand a constraint to the player as well so that there's a purpose to sticking it on the stand instead of leaving it on the ground.

also (unless you'd like to try it yourself as a learning thing) I'll probably take a shot at proper behavior for these after this is in

I think I jumped in too soon trying to make a component for this, earlier. I would like to learn but I think I'll take smaller bites for now to get familiar. Could make it a draft if we want to polish it first, but they do still have a purpose as-is if mappers stocked them in medbay.

I am not aiming to implement IV stands in this PR and so with all other planned features complete I am marking this PR as ready for review.
I'm sure there are a lot of things that could be improved with the code, but I did a lot of bug testing so as far as functionality it seems ready to me.


https://github.com/Alex41ice42/silver-octo-sniffle/commit/8b34c99b791b3b40c4a0b3010553a8def2a52ff6

https://github.com/Alex41ice42/silver-octo-sniffle/issues/1


add missed class property (issue #1758)

as @geggleto noticed, the UploadedFile class doesn't have $file property defined. This property dynamically defined in constructor which is fine but doesn't look clear.

Thanks.


x/tools/gopls: add an option to keep original line breaks in documentation comments

What version of Go are you using (go version)?

$ go version
go version go1.16 linux/amd64

$ gopls version
golang.org/x/tools/gopls v0.6.6

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="~/.cache/go-build"
GOENV="~/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="~/tools/go/path/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="~/tools/go/path"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.16"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1390191991=/tmp/go-build -gno-record-gcc-switches"

What did you do?

This is follow-up on issue for vscode-go which turned out to be an issue with gopls.
Documentation comments inside code look like this:

It has line breaks so when you read comments while skimming yours or other peoples' code, you can expect comfortable and consistent text width. Comment width does not depend on viewport size, window size, font weight or system DPI.
Hover tooltips, however, changes its width and sometimes you may get very long documentation and sometimes it's too narrow.
In aforementioned issue, vscode-go developer stated that this behaviour is intended to make docs look like godoc html representation.
While it might sound like a good idea, it must be noted that godoc viewed inside browser as dedicated page.
Which means that:

you get consistent width for every documentation within a page
you get a look at documentation only
godoc presents documentation for package as a whole, not for single function at a time
author may change content layout using css to make width consistent and convenient to consume
you may change content layout using stylus and alike to make content look convenient for yourself

Consumption behaviour inside text editor differs from godoc.
It is easier to read short snippets when they narrow. There also was a link to upstream issue of vscode for making tooltip width that mitigates this issue.
However,  while it solves this issue, there is another one. Code of the package still remains important source of truth when you want to figure out why it works how it works. That means representation of docs becomes inconsistent: while you see continuous line in tooltip, it still narrow multi-line text in comments.
What did you expect to see?
Documentation with predictable text size that looks like documentation inside code comments which code author originally wrote.
What did you see instead?

Thank you for sending this CL, @ShoshinNikita, but I think we need to give this change a little more thought before we merge it. Adding a configuration option is a significant overhead, and I think we need a little more evidence that this change is worthwhile and would be widely used.
@ShoshinNikita, can you speak to why you're in support of this?
Can other users who would use this option weigh in or upvote the issue?

@stamblerre I thought the fact this issue is open and there're no any objections means it's ok to send a CL. Though I have no intention of using this feature myself, I believe the users should have an option to keep the original line breaks. I think it's a good argument:

...you can expect comfortable and consistent text width. Comment width does not depend on viewport size, window size, font weight or system DPI.

For example, I find it easier to read comments with the original line breaks:

Godoc
Original line breaks

@stamblerre I thought the fact this issue is open and there're no any objections means it's ok to send a CL.

Typically I would recommend leaving a comment on the issue before taking it on, or seeing if it has a "help wanted" label. We usually try to mark issues that need a decision, but sometimes we may forget, so I would suggest checking in before starting work.
I think we are still going to hold off on merging this until other folks weigh in. I see the argument, but the presentation of hover is very variable depending on your editor and how it shows the hover, so I think something like https://github.com/microsoft/vscode/issues/14165 (which @hyangah linked on the original issue) really is a better bet. Adding a new configuration adds significant overhead and complexity to gopls (particularly for users, since it complicates the documentation), so I'd really like to see stronger support for this behavior before we add it.

@gopherbot remove Documentation


break the duplicateProviderIDsExist function into two separate functions

providerID duplication can happen for multiple reasons. For example:
Manual modification of cloud init data
An isolated/dead node rejoining a clustes
Due to these and other reasons, it might be good run the detection logic regularly, not only during node provisioning.
to do:
break the duplicateProviderIDsExist function into two as follows
func (m *MachineManager) duplicateProviderIDsExist(validNodes map[string][]string)
func (m *MachineManager) providerIDUsedMultipleTimes(validNodes map[string][]string, providerIDLegacy, providerIDNew string)

duplicateProviderIDsExist runs regularly, including during a provisioning of a node.
providerIDUsedMultipleTimes runs only during provisioning of a node.

/triage accepted
/kind feature

ProviderID logic has changed recently. Due to that, the suggested improvements are no longer relevant. closing this and the sub-issues.


Single quoted in import aren't replaced with double quotes

Problem
After run yarn pkgroll, the file
// /src/index.mjs
import path from 'node:path'
console.log('sep', path.seph)

is builded with import path having single quoted instead of double quotes.
// /dist/index.mjs
import path from 'node:path';

console.log("sep", path.seph);

Expected behavior
// /dist/index.mjs
import path from "node:path";

console.log("sep", path.seph);

Minimal reproduction URL
https://github.com/rtritto/test-pkgroll/tree/bug-quotes
Version
2.5.0
Node.js version
22.9.0
Package manager
yarn
Operating system
Windows
Bugs are expected to be fixed by those affected by it

[ ] I'm interested in working on this issue

Compensating engineering work financially will speed up resolution

[ ] I'm willing to offer financial support

Sorry, I'm confused—how is this a bug?

Build contains mixed quotes (' and ").
Source:
// /src/index.mjs
import path from 'node:path'
console.log('sep', path.seph)

Dist:
// /dist/index.mjs
- import path from 'node:path'  // current
+ import path from "node:path"  // expected
console.log("sep", path.seph)

The ' in imports should be replaced with " at same way of code below imports.

Okay, but why is this a bad thing? Is this breaking your code?

Okay, but why is this a bad thing? Is this breaking your code?

It's bad because it's mixed, so it breaks for example with a search.
As standards and with other similar libraries, the " is always used.

It's valid JS.
If you have a preference for specific quote styles in your output, I recommend running it through Prettier or ESLint for formatting.
Alternatively, you can use a quote-style agnostic regex search like this: (["']).+?\1.


Forms using Select don't get Default value when Searchable

Package
filament/filament
Package Version
v2.0.0
Laravel Version
v10
Livewire Version
v3
PHP Version
php 8
Problem description
In my Forms, as soon as I add ->searchable() to my Select, the ->default() value is not selected anymore.
Expected behavior
It is supposed to preselect the item Draft after page loading.
Steps to reproduce
Select::make('test')->options([                         'draft' => 'Draft',                         'reviewing' => 'Reviewing',                         'published' => 'Published',                     ])                     ->default('draft')                    ->searchable()                     ->preload(),
Reproduction repository
https://github.com/nothing
Relevant log output
No response

Please follow the instructions and create a reproduction repository, otherwise this issue will not be investigated. We make it very clear on the issue form why this repository is required.

Sorry, it is modified.
Http/Livewire/Youssef.php
is the file

There is no $this->form->fill() in mount(), so the default values aren't there.


❤  Moon Appreciation Feedback

Taking a page from https://github.com/zed-industries/community/issues/140, wanted to open a long-running (hopefully) issue for expressing appreciation for fixes and features in moon releases.
I'm gong to kick it off with this absolutely beautiful error messaging with moonfile errors:

This is awesome. I was never able to get nice code frames like this to work locally while testing, so seeing it work in a real world setting is pretty great!

I have been using Moon since it was in beta. I have been using it in all my personal projects since then. It's the monorepo tool out there. Thanks @milesj!

really enjoying it so far, pretty simple to get started, It also didn't feel overwhelming like most monorepo tools

Really great tool. Seems much better than most of the other tools I evaluated, especially for a polyglot project. Hoping to see moon becoming the defacto repo management solution once other languages reach Tier 3

So far, so good! Just got a simple nodejs app importing a napi-rs package successfully, w/o the need for an hour long youtube tutorial.
Two places I looked outside of the docs:

moonrepo/example
issue: #1168

Small potatoes though it was, I have goosebumps.

Hey folks! Thanks for such awesome tool! We are already using moon on pretty big project in production, and the main benefit for us was incremental migration and support of ts project references! (also, it is very fast for cold starts!)
Thank you again and I really hope moon will only became better!

I discovered Moon a few days ago, and while I initially thought it would be something to explore "when I can find the time", I just kept coming back to this in my head.  I have since implemented that in a sizeable monorepo, and it's a fantastic step up from what we had before.  Thanks!


fix: eth/fox LP/staking infinite overview flicker

Description
Fixes the infinite overview flicker in both overview modals in case your
account 1 or + has a higher balance than your account 0
Notice

[x] Have you followed the guidelines in our Contributing guide?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[x] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)
N/A
Risk

Highest balance logic might now get rugged - tested on my account 1
balance being the highest and it showed no regressions.
Testing

Have a higher balance on your account 1 or more than on your account 0
Ensure the account is still properly selected when opening the ETH/FOX LP
or staking modal

Engineering

^

Operations

^

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #3980   👈

This comment was auto-generated by Graphite.


Atom Crash with xwindow error while rightclick.

This may be related to Electron?
[4783:0501/145448:INFO:CONSOLE(114)] "Error starting spell check task", source: /opt/atom/resources/app.asar/node_modules/spell-check/lib/spell-check-view.js (114)
The program 'atom' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 119601 error_code 3 request_code 3 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

This is what's stopping me from using Atom on my Ubuntu at the moment.


DDL blocking UI

System information:

Windows 10
DBeaver Enterprise 7.0.0

Connection specification:

Postgresql 10.7

Describe the problem you're observing:
When I try to run a ddl statement by editing the source of a view ou column of a table, the UI blocks. If there's somebody else view the item and I get a metadata lock, my entire UI gets blocked, so I can't even open a new window to kill my own process
Steps to reproduce, if exist:

Start 2 connections
Create a table
Open a transaction in Repeatable Read and select from the table
Open the table editor in DBeaver and try to drop a column (Using a separate connection)

Usually I get around this by copying the ddl and running it as a common sql statement in an open connection. But I'd like to use the editor as it is intended without having this annoying bug.
Let me end on a positive note, DBeaver is an amazing tool, this is just an annoying bug, hopefully it will be fixed in coming releases.
Best,
Luis

hi @lhcneto ,
unfortunately cannot reproduce an issue. probably, you could post a video or gif?

there is no update on issue for a long time. if it is still actual for you - feel free to reopen the ticket


Allow adding licenses for organizations

Done in https://github.com/gjtorikian/addalicense.com/pull/26


Why does openNew not use O_APPEND when open a new logfile?

When open existing log file, the openExistingOrNew function use OpenFile with O_APPEND flag， but when creating a new log file, openNew use OpenFile without O_APPEND flag. The two behavior are different. Could anybody tell me why ? In my opinion, openNew should use O_APPEND flag as same as openExistingOrNew  does.
The file opened with O_APPEND flag will allow multi-thread/multi-process writing if  every write is smaller than 4k. We do not need to use mutex to protect the write.

The author answered  in #86: You can't have two processes fiddling with the file at the same time. Lumberjack has to be in charge of the file, because it keeps track of it's size internally. If something else truncates the file or another process writes to it, then it won't work.


Could not write domain Library/Preferences/ByHost/com.apple.systemuiserver.*

The loop
# Menu bar: hide the Time Machine, Volume, User, and Bluetooth icons
for domain in ~/Library/Preferences/ByHost/com.apple.systemuiserver.*; do
	defaults write "${domain}" dontAutoLoad -array \
		"/System/Library/CoreServices/Menu Extras/TimeMachine.menu" \
		"/System/Library/CoreServices/Menu Extras/Volume.menu" \
		"/System/Library/CoreServices/Menu Extras/User.menu"

is giving me error on each files I've here.
2014-05-13 07:04:56.801 defaults[7836:507] Could not write domain /Users/MoOx/Library/Preferences/ByHost/com.apple.systemuiserver.49F001DB-9D31-565F-B676-DC0741048DD9.E65B2274-481A-5A59-876F-FD562EF1774D.49F001DB-9D31-565F-B676-DC0741048DD9.E65B2274-481A-5A59-876F-FD562EF1774D.49F001DB-9D31-565F-B676-DC0741048DD9.E65B2274-481A-5A59-876F-FD562EF1774D.plist; exiting
2014-05-13 07:04:56.836 defaults[7843:507] Could not write domain /Users/MoOx/Library/Preferences/ByHost/com.apple.systemuiserver.E65B2274-481A-5A59-876F-FD562EF1774D.49F001DB-9D31-565F-B676-DC0741048DD9.E65B2274-481A-5A59-876F-FD562EF1774D.49F001DB-9D31-565F-B676-DC0741048DD9.E65B2274-481A-5A59-876F-FD562EF1774D.49F001DB-9D31-565F-B676-DC0741048DD9.plist; exiting

I've checked files with ls -al & got -rw-r--r-- so I should be able to write them.
I've tried chmod ugo+w without better results.
What am I missing ?

Closing due to inactivity.


[WIP] Introduce the Limit on Eagerness

!

Looks to me like prop_serveAdversarialBranches shouldn't be marked as a expected failure anymore after adding LoE. But please, let me know if this is not the case.

I don't think that is the case. First, for now, the LoE is disabled by default, so we should observe the normal behaviour. Still, it wouldn't be hard to enable it for that test in particular. Second, the property states both that the immutable tip should be honest and that it should not be too old. The LoE alone will not be able to prevent that.
Now we could add a way to relax the property into only checking that the immutable tip is honest, and I think such a property should hold with the current LoE? However, in the current state of this PR, it doesn't.

Second, the property states both that the immutable tip should be honest and that it should not be too old. The LoE alone will not be able to prevent that.

How is that LoE could prevent the immutable tip to be at least within s+d of the end of the honest chain?

Second, the property states both that the immutable tip should be honest and that it should not be too old. The LoE alone will not be able to prevent that.

How is that LoE could prevent the immutable tip to be at least within s+d of the end of the honest chain?

Without the GDD logic and the LoP, it is trivial for an attacker to serve some historical alternative, which means that the intersection of the candidate fragments (beyond which the node can't select more than $k$ blocks) is stuck forever in the distant past (no liveness). The LoE just guarantees that the immutable tip is always on "the" honest chain (safety).

Ah, I think my confusion is because I was expecting LoE to go together with the GDD governor.


Support WebIDL stringifier

Support for customized WebIDL stringifier missing.
http://www.w3.org/TR/WebIDL/#idl-stringifiers

Should all have been done a while ago.


"Select a Number" rather than "make a selection"

Claudia writes:  Just something small I noticed: a lot of the questionnaires ask for the participant to “select the number” for the answer that best describes their own perspective, but there are no visible numbers if you’re doing the program on your phone.

fixed along with numerous other text changes.


Translated the untranslated sentence in the Chinese document

@paopaofish @donhui Thanks for your contribution and review!


How to install??

Hi, can I know step by step how to install this firmware?? because I saw about UBI things that I'm not familiar with..
right now I already use openwrt from this build, which is standart image with some additional packages..
Device: Linksys Venom WRT32X
Firmware: OpenWrt SNAPSHOT r11962-b6946542f8 / LuCI Master git-20.011.66524-83c6227

if your router already has openwrt you can install this one just like you did with David's fw.
Remember to use the sysupgrade bin (*wrt32x-squashfs-sysupgrade.bin). You can do it from LUCI
But be careful, the last release available here is from February 2023 (https://github.com/ferboiar/wrt32x/releases/tag/wrt32x-ISP_NONE-2023.02.23-0043). I have moved to a Flint MT6000, so I have discontinued this project. Although you could use it to compile your own fw following https://github.com/ferboiar/wrt32x/wiki/How-to-use-this-repo-to-build-your-own-firmware

if your router already has openwrt you can install this one just like you did with David's fw.
Remember to use the sysupgrade bin (*wrt32x-squashfs-sysupgrade.bin). You can do it from LUCI
But be careful, the last release available here is from February 2023 (https://github.com/ferboiar/wrt32x/releases/tag/wrt32x-ISP_NONE-2023.02.23-0043). I have moved to a Flint MT6000, so I have discontinued this project. Although you could use it to compile your own fw following https://github.com/ferboiar/wrt32x/wiki/How-to-use-this-repo-to-build-your-own-firmware

okay, thank you so much..


Error with Nested decorator

I have used Nested as below:
`@Schema(true)
class Entity {
@Email()
email: string
}
@Schema(true)
export class CreateBannerInput {
@Nested()
prop: Entity
}`
But I received an error, I don't know why, please help me !!!
✖ Cannot read property 'prototype' of undefined
✖ TypeError: Cannot read property 'prototype' of undefined
at getSchema (/Users/Projects/xxx/node_modules/fastest-validator-decorators/dist/index.js:39:59)

Hello, I'm the new maintainer of this library,
import { Schema, Email, Nested } from "...";

@Schema(true)
class Entity {
  @Email()
    email!: string;
}

@Schema(true)
export class CreateBannerInput {
  @Nested()
    prop!: Entity;
}

I tested this code and it works on my side, do you have a more detailed example ?


Please cleanup code quality (use futures, stop using typedefs for trivial types, etc)

The poor code quality in this package makes this API very hard to use. Most of the issues here feel like someone was trying to write old school Java in Dart. These conventions make no sense in a Dart context. This issue is a bit overlapping with my previous one asking for Dart idioms, but it felt different enough to justify a second issue.

Don't use verbose names
https://github.com/googleads/googleads-mobile-flutter/blob/8378dcf25699e44a01f30de669ed68ce45fb3911/packages/google_mobile_ads/lib/src/ump/consent_information.dart#L21
Don't make unique typedefs, use existing core lib typedefs or other typedefs from within the same project. Here VoidCallback is the appropriate type.
(same link as above)
Don't use an abstract class when you're only ever going to create a single implementing class. The separate interface and implementation just splits the code and makes it harder to follow.
https://github.com/googleads/googleads-mobile-flutter/blob/8378dcf25699e44a01f30de669ed68ce45fb3911/packages/google_mobile_ads/lib/src/ump/consent_information.dart#L42
(Redundant with https://github.com/googleads/googleads-mobile-flutter/issues/890) Use futures, not callbacks

Also want to add for #1 our APIs are named similarly to our Google Mobile Ads Android & iOS SDKs with emphasis on parity. As a result, names may be more verbose than others.

Going to mark this as duplicate because our UMP code updates can be followed using https://github.com/googleads/googleads-mobile-flutter/issues/852. Also as stated this is similar to https://github.com/googleads/googleads-mobile-flutter/issues/890. Thanks for your feedback you should be seeing these updates in upcoming PRs. Feel free to comment on them as well. Thanks!

@caseycrogers take a look at https://github.com/googleads/googleads-mobile-flutter/pull/1062 if feel free to leave any comments


attempt to bring ember-data

Resolves: https://github.com/lifeart/demo-ember-vite/issues/16
At the moment there is strange babel decorator erros, related to it.
Maybe we need extra love here:
node_modules/@ember-data/private-build-infra/src/transforms
upd: in short, it's failing because of @babel/plugin-proposal-private-methods plugin doing wrong things with decorators and classProperties

tldr: error simplified to

V2 addons should be helpful here, linking: https://github.com/emberjs/data/issues/8103

we're close to being able to ship v2 addons, only 2 bugs left in embroider for us to be able to do so.

@runspired sorry to bothering you here, is it possible (in theory), to get ember-data working at this point (without embroider)?

Looks like we have prod build issues here (netlify preview)


NLP Models and Datasets

Hi,
Great work! Very insightful. I am following the code but only find the codes of CV models and datasets. Could the authors provide the code for NLP tasks and T5-Large as in Table 2 of the main paper? That will be a lot of help in reproducing all the results in the paper. Thanks!

Hi,
Thanks a lot for your interest in our work.
We are currently working on the repo and may publish the codes early next year.
In the meantime, we also note that our NLP experiments are largely based on the repo of the Mats paper: https://github.com/r-three/mats, we suggest interested readers to directly play around with their code which is very organized.
Please let us know if you have other questions.


Dependency error when updating from v11 to v12 using "ng update" with v12 cli.

🐞 Bug report
Command (mark with an x)

[ ] new
[ ] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[x] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?
Well this is the first time I get an error using ng update so it worked fine before the v12.
Description
I'm getting an error on dependencies when updating an Angular app from v11 to v12 using ng update.
🔬 Minimal Reproduction

Create a v11 app
Update it to 12.1.0 using ng update

npx -p<EMAIL_ADDRESS>ng new testapp \
    --routing true \
    --style scss \
    --strict true \
    --package-manager npm \
    && cd testapp \
    && ng update<EMAIL_ADDRESS><EMAIL_ADDRESS>
🔥 Exception or Error

```
[...]
CREATE testapp/e2e/src/app.po.ts (274 bytes)
✔ Packages installed successfully.
    Successfully initialized git.
Using package manager: 'npm'
Collecting installed dependencies...
Found 28 dependencies.
Fetching dependency metadata from registry...
    Updating package.json with dependency @angular-devkit/build-angular @ "12.1.0" (was "0.1102.14")...
    Updating package.json with dependency @angular/cli @ "12.1.0" (was "11.2.14")...
    Updating package.json with dependency @angular/compiler-cli @ "12.1.0" (was "11.2.14")...
    Updating package.json with dependency karma @ "6.3.4" (was "6.1.2")...
    Updating package.json with dependency typescript @ "4.3.4" (was "4.1.6")...
    Updating package.json with dependency @angular/animations @ "12.1.0" (was "11.2.14")...
    Updating package.json with dependency @angular/common @ "12.1.0" (was "11.2.14")...
    Updating package.json with dependency @angular/compiler @ "12.1.0" (was "11.2.14")...
    Updating package.json with dependency @angular/core @ "12.1.0" (was "11.2.14")...
    Updating package.json with dependency @angular/forms @ "12.1.0" (was "11.2.14")...
    Updating package.json with dependency @angular/platform-browser @ "12.1.0" (was "11.2.14")...
    Updating package.json with dependency @angular/platform-browser-dynamic @ "12.1.0" (was "11.2.14")...
    Updating package.json with dependency @angular/router @ "12.1.0" (was "11.2.14")...
  UPDATE package.json (1194 bytes)
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@angular-devkit/build-angular
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/@angular/compiler-cli
npm ERR!   peer<EMAIL_ADDRESS>|| ^12.1.0-next" from<EMAIL_ADDRESS>npm ERR!   node_modules/@angular-devkit/build-angular
npm ERR!     dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /home/junior/.npm/eresolve-report.txt for a full report.

npm ERR!  It seems to be the same problem : a dependency error with some packages.

Angular CLI: 12.1.0
Node: 14.16.1
Package Manager: npm 7.19.0
OS: linux x64

Angular: <error>
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1201.0 (cli-only)
@angular-devkit/build-angular   <error>
@angular-devkit/core            12.1.0 (cli-only)
@angular-devkit/schematics      12.1.0 (cli-only)
@angular/cli                    12.1.0 (cli-only)
@schematics/angular             12.1.0 (cli-only)
rxjs                            6.6.7 (cli-only)
typescript                      <error>

A co-worker's env -  He has the same error

Angular CLI: 12.1.0
Node: 14.16.1
Package Manager: npm 7.19.0
OS: linux x64
Angular:
...
Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1201.0 (cli-only)
@angular-devkit/core         12.1.0 (cli-only)
@angular-devkit/schematics   12.1.0 (cli-only)
@schematics/angular          12.1.0 (cli-only)

Another coworker's env - it works fine, no error

Angular CLI: 11.2.2
Node: 14.17.1
OS: win32 x64
Angular: 11.2.2
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, language-service, localize, material
... platform-browser, platform-browser-dynamic, router
... service-worker
Ivy Workspace: Yes
Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1102.2
@angular-devkit/build-angular   0.1102.2
@angular-devkit/core            11.2.2
@angular-devkit/schematics      11.2.2
@angular/pwa                    0.1102.2
@schematics/angular             11.2.2
@schematics/update              0.1102.2
rxjs                            6.6.3
typescript                      4.1.5

It works for him, ~I guess because it's still using the v11 cli~
I tried again after I downgraded my global cli to v11.2.2 (npm i -g<EMAIL_ADDRESS>but I still got the same error.
I also upgraded my node to v14.17.1, but same error.

The dependency<EMAIL_ADDRESS>satisfies the SemVer dependency range of<EMAIL_ADDRESS>|| ^12.1.0-next" shown in the above log output.  This appears to be a defect within npm 7.
Several options to workaround the problem with npm 7 include:

passing the --force option to ng update which will propagate the force flag to npm.
Switch to npm 6
Switch to yarn as a package manager

@clydin Thanks ! The --force flag did the trick.


Add DDL for com.adjust/install/jsonschema/1-0-0

You don't need a separate ticket for this anymore, it's subsumed within the JSON Schema ticket.

noted - cheers @alexanderdean


Doesn't work for me.

Doesn't do anything when I <leader>c in visual mode instead I get the following error
Image

The error is presumably caused by the fact that vim.bo.filetype returns nil (in particular the call to vim.bo).
In order to debug it

please issue the command :lua print(vim.bo.filetype) and check the output. This should return the filetype of the current buffer: does it return the correct value (or any non-nil value)?
what version of neovim are you running? I suspect that the API vim.bo.filetype needs latest nightly build

Same error with :lua print(vim.bo.filetype)
Done as stated in 3 and got an error https://imgur.com/a/PSNWTYL
I am using nvim v0.4.3 though it works on nvim v0.5.0, I installed nightly build and now it works fine for me.

I will update the README file to specify that the nightly build is indeed recommended (I did not realise it myself before you pointed it out, so good to have looked into it).


[libpqxx] Upgrade to v7.3.1

[libpqxx] Upgrade to v7.3.1

What does your PR fix? Fixes #
Version bump

Which triplets are supported/not supported? Have you updated the CI baseline?
Unchanged

Does your PR follow the maintainer guide?
Yes

The exact CI error is not clear to me.

The exact CI error is not clear to me.

Seems to me like failing CI is not due to these changes

Seems to me like failing CI is not due to these changes

Seems to me like failing CI is not due to these changes

This question seems to be related to a submission of osgearth

Seems to me like failing CI is not due to these changes

This problem seems to be related to a submission of osgearth, we are fixing it

Seems to me like failing CI is not due to these changes

This question seems to be related to a submission of osgearth

Seems to me like failing CI is not due to these changes

This problem seems to be related to a submission of osgearth, we are fixing it


implement ping function for slack plugin

This implements a ping function, which will keep track of if the
websocket is alive.  It also moves over to using asyncio.wait, so that
when the ping coroutine exits, it will restart the whole slack portion
of the bot to reconnect slack

I will be working on tests for this plugin this week hopefully.

thanks!


Fix #141 — allow escaping slashes in user input

Fixes #141

Codecov Report

Merging #143 into master will increase coverage by 0.07%.
The diff coverage is 96.66%.

@@             Coverage Diff              @@
##             master     #143      +/-   ##
============================================
+ Coverage     50.11%   50.18%   +0.07%
- Complexity      690      692       +2
============================================
  Files           112      112
  Lines          2660     2672      +12
  Branches        337      338       +1
============================================
+ Hits           1333     1341       +8
- Misses         1165     1171       +6
+ Partials        162      160       -2

Impacted Files
Coverage Δ
Complexity Δ

...main/java/chopchop/logic/parser/CommandParser.java
93.87% <96.00%> (+3.40%)
23.00 <5.00> (+4.00)

...n/java/chopchop/logic/parser/CommandArguments.java
100.00% <100.00%> (ø)
16.00 <1.00> (+1.00)

...rc/main/java/chopchop/commons/util/StringView.java
86.13% <0.00%> (-4.96%)
57.00% <0.00%> (-3.00%)

Continue to review full report at Codecov.

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

Looks good to merge!


style: remove trailing whitespaces

Description

regex replace \s+$ -> ``

It seems that all failings are not related to the changes.

It seems that all failings are not related to the changes.

💯
@lucasfcnunes Can you help resolve conflicts and then, we are good to check this in?


How to get control over filesystem access with wasmtime_wasi::WasiCtxBuilder

Our implementation requires filesystems to be fully controlled, and files come from a VFS not any mounted filesystem.
That means we need to control the low level aspects of filesystem access for WasiP2.
I don't see how that can be achieved, because the only option I see is giving Wasi access to a pre-opened directory, which is 100% off the table for our application.  How to use the WaiCtxBuilder, and abstract the necessary filesystem interfaces to the runtime?

For a fully virtual filesystem you won't be using WasiCtxBuilder. You'll want to instead implement the Host traits directly generated in the wasmtime-wasi crate such as this. You'd then call add_to_linker or similarly.


Documentation for writing custom validators

Hi,
I'm not sure if this is the right place to raise this issue, but there's a problem with the docs for custom validators
When overriding the validate method in the ManagedObject class the first call should be to super.validate(), not super()
So the snippet
class Person extends ManagedObject<_Person> implements _Person {
  @override
  bool validate(
      {ValidateOperation forOperation: ValidateOperation.insert,
      List<String> collectErrorsIn}) {
   var valid = super(
     forOperation: forOperation, collectErrorsIn: collectErrorsIn);

    if (a + b > 10) {
      valid = false;
      collectErrorsIn.add("a + b must be greater than 10");
    }

    return valid;
  }
}

should be
class Person extends ManagedObject<_Person> implements _Person {
  @override
  bool validate(
      {ValidateOperation forOperation: ValidateOperation.insert,
      List<String> collectErrorsIn}) {
   var valid = super.validate(
     forOperation: forOperation, collectErrorsIn: collectErrorsIn);

    if (a + b > 10) {
      valid = false;
      collectErrorsIn.add("a + b must be greater than 10");
    }

    return valid;
  }
}

:+1: Thanks, will make this change soon. If you are up to contributing, you can also issue PRs against docs/source branch.  I did raise a PR.

Awesome, thank you much! And thanks for the callout on the API reference on dart docs, too. I'll get these merged and they'll go out with the 2.3.0 release.

Now available on the main site, thanks


Experiment with Gemini 1.5 and --context

Supersedes #249.
Full experiment report link:
https://llm-exp.oss-fuzz.com/Result-reports/scheduled/2024-05-11-weekly-all/
The experiment result of vertex_ai_code-bison-32k, based on https://github.com/google/oss-fuzz-gen/pull/208:
https://llm-exp.oss-fuzz.com/Result-reports/scheduled/2024-05-07-weekly-all/

/gcbrun request_pr_exp.py -n dg-g1-5 -m vertex_ai_gemini-1-5

/gcbrun request_pr_exp.py -n dg-g1-5 -m vertex_ai_gemini-1-5

Gemini-1.5 with context:
https://llm-exp.oss-fuzz.com/Result-reports/scheduled/2024-05-11-weekly-all/

Gemini-1.5 without context:
https://llm-exp.oss-fuzz.com/Result-reports/scheduled/2024-05-14-weekly-all/

vertex_ai_code-bison-32k without context:
https://llm-exp.oss-fuzz.com/Result-reports/scheduled/2024-05-16-weekly-all/

Conclusion:
Gemini-1.5 + context > Gemini-1.5 ~= Code-bison-32k > Code-bison-32k + context

According to this, shall we switch the default setting to Gemini-1.5 + context?
I can draft a PR if we have everyone's consent.
@oliverchang @trashvisor


Wiki lab fixes

Module: 3
Lab/Demo: Sharing Team Knowledge using Azure Project Wikis
Fixes # .
Changes proposed in this pull request:

missing steps and clarifications

typos fixed :)

typos fixed :)


Moon Phase Widget: Replace the 8 phases by a more exact drawing

see forum.espruino.com/conversations/371985

Thanks!


[COM-51663] Fix flat taggedUnion encoding

Kind of confused about the release process here, but these are my changes, see the issue for a more in depth explanation

I'm just going to cherry pick these changes to pxs/2019/horseradish_hotfix_1


Slider not showing decimal values

If "step" is in decimal then slider should show decimal values.

just add round parameter in your options, by instance round:2

It does not show decimals when set "from" and "to" properties. "round" property has no effect for me. Could it be related to a lower version of Angular? I use 1.2.14. Thanks.

can you send your options, I know I had many pb with decimal values...

This is the jsfiddle with your last version (it seems 2.2.7, but the release's name is 2.3.0). I didn't change the css, but I have had some problems with it too.
https://jsfiddle.net/g9e9n8xc/176/

yes indeed...from and to in decimal cause issue. I have to check but do not remember how it works right now. Quite busy I will check when I can, thanks for feedback.
https://github.com/darul75/angular-awesome-slider/blob/master/src/core/model/slider.factory.js
I would like take a look right now but can not until few days.

Ok, I will try to help you if I see something that could cause the issue. May be I can use a previous release at the moment. Nice work with this plugin. Thanks!

from and 2 were parse as integer values...

Nice! I reviewed your code but I didn't have time to check it properly. Many thanks for your time! Cheers.

you are welcome, do not forget putting stars in the sky ;)


Correcting inconsistency of storage class name

https://kubernetes.io/docs/tasks/administer-cluster/change-default-storage-class/ page discusses a task to change the default storage class. Step 1 and 4 uses specific storage class names but middle two steps i.e 2nd and 3rd ask the user-provided name using a placeholder. We should stick with a naming convention for the resource name, either we can use dummy names or use placeholders. But this example was using both in a single set of steps which creates confusion. So this PR  Corrects inconsistency of storage class name.

Preview page link: https://deploy-preview-19295--kubernetes-io-master-staging.netlify.com/docs/tasks/administer-cluster/change-default-storage-class/

/lgtm
/approve


adding a problem algorithm based on binary search

Added a java code to find the position of target element in an mountain array with the help of binary search. #83

Hey Pal,
We don't accept question based algorithms.
Happy Coding !


[v2.0.0-rc1] hide-prefix not working

I killed Dishorde, enabled "hide-prefix": true then fired it back up. Slash commands like visit, group and gamble are still being echoed to Discord.

Will look into this.

Fixed in 324cf6d.
The fix is included in 2.0.0-rc2: https://github.com/LakeYS/Dishorde/issues/119#issuecomment-1003171264


Android - button transparent in header has no "feedback" when active

I have the following code for my header, when I press the refresh button on ios I correctly have a "feedback" that the button has been pressed, however I don't have this feedback on android.
The button is working correctly, and if I don't put "transparent", I correctly have the feedback on android (but then others thinks looks off as now i have a "real" button on my header bar)
                <Header style={{ marginTop: Constants.statusBarHeight }} >
                    <Left>
                    </Left>
                    <Body>
                        <Title>Home</Title>
                    </Body>
                    <Right>
                        {
                            navigation.getParam('loaded') === true
                            ?
                                <Button
                                    transparent
                                    onPress={navigation.getParam('loadTasks')}
                                >
                                      <Icon name="refresh" />
                                </Button>
                            :
                                <Spinner/>
                        }

                    </Right>
                </Header>

Tried your use case, couldn't reproduce though

@SupriyaKalghatgi This is perfectly reproducible for me. Symptoms are exactly as described: as long as you have transparent attribute unset, everything works as expected. With transparent attribute button feedback is absent.

Workaround (ClojureScript):
         [nb/right
          [nb/button
           {:on-press handler
            :style {:background-color "transparent" :border 0 :shadow-offset 0 :shadow-opacity 0 :elevation 0}}
           [nb/icon {:name icon}]]
          ]

Another workaround:
 [nb/right
  [nb/button
   {:on-press handler :transparent true :rounded true}
   [nb/icon {:name icon}]]
  ]

Apparently, the problem is in this piece of code:
    return (
      <TouchableNativeFeedback
        ref={c => (this._root = c)}
        onPress={this.props.onPress}
        background={
          this.props.transparent
            ? TouchableNativeFeedback.Ripple('transparent')
            : TouchableNativeFeedback.Ripple(
                variables.androidRippleColor,
                false
              )
        }
        {...this.prepareRootProps()}
      >
        <View {...this.prepareRootProps()}>{children}</View>
      </TouchableNativeFeedback>

TouchableNativeFeedback.Ripple('transparent') doesn't work as you'd expect and eliminates ripple effect completely. It looks like it should be this instead (not tested):
    return (
      <TouchableNativeFeedback
        ref={c => (this._root = c)}
        onPress={this.props.onPress}
        background={
          this.props.transparent
            ? TouchableNativeFeedback.Ripple(
                variables.androidRippleColor,
                true
              )
            : TouchableNativeFeedback.Ripple(
                variables.androidRippleColor,
                false
              )
        }
        {...this.prepareRootProps()}
      >
        <View {...this.prepareRootProps()}>{children}</View>
      </TouchableNativeFeedback>

Can confirm this issue and the fix shown by @xfyre.

I confirm - this issue has place to be. No animation on latest react and nativebase.

The issue still exists with latest Expo & NativeBase.


12 refactoring compress gziparchive

Renamed -DestinationPath to -Destination and alias added.

Codecov Report

Merging #15 (9e45f62) into main (097603b) will decrease coverage by 1.09%.
The diff coverage is 72.91%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
- Coverage   86.08%   85.00%   -1.09%
==========================================
  Files          24       25       +1
  Lines        1071     1167      +96
==========================================
+ Hits          922      992      +70
- Misses        149      175      +26

Flag
Coverage Δ

PS_5.1
85.00% <72.91%> (-1.09%)
:arrow_down:

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

Impacted Files
Coverage Δ

...Compression/Commands/CompressGzipArchiveCommand.cs
72.91% <72.91%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[TEST-ONLY] Trigger CI

/hold

@ReToCode hi, the issue is still not fixed, for example in this PR:
https://github.com/openshift-knative/serving/blob/4b88bd1938677be990a0e955c66395bbc58f357b/openshift/release/artifacts/serving-core.yaml#L1047
The main patch is not in yet:
https://github.com/openshift-knative/serving/blob/4b88bd1938677be990a0e955c66395bbc58f357b/openshift/release/resolve.sh#L27

Yeah, it was merged later. But I think we have more issues with 1.9, I'll add my fix here to see.

/retest


BCD Indexer: api container needs to expose its port

This is needed for when an endpoint to the api is created.

Similarly to #182, BCD indexer support is deprecated in k8s. Do we still need it?

Closing as per comment in #182


Add events to SystemConfigService to easily allow encrypting and decrypting of stored configuration values.

Please describe the feature you would like to see implemented.
In order to easily store and load plugin configuration values in an encrypted form, two additional events would make it easier to add a custom provider for it, be it HashiCorp Vault, Symfony Secrets etc.
Additionally, it allows value transformation before / after loading too.

created NEXT issue for changelog: https://issues.shopware.com/issues/NEXT-19942

FYI: I have closed the jira issue. You don't need to create issues by own when you make a PR :)

@shyim Ah. OK. Can I just skip the isuse entry in the changelog then ?

Yup

@shyim But a github issue should be created or can I skip that as well?

You don't need a issue 😅 . Thy are currently not really well checked as we use jira as primary source

@shyim One more question regarding changelog, If I do not add an issue, the CI fails with wrong changelog format.
What should I add in such a case? Just Issue: #<PR-Number> ?

Ignore the CI. we need to change this 🙈

@shyim I think as the PR https://github.com/shopware/platform/pull/2307 has been merged I can actually close the ticket?


babel (es6 transpiler) as a core js filter.

This would be nice. Would it get pulled if I did it?

#452

Closing for #452


Provide a preset Axiom conda environment

A preset conda environment with all packages and modules needed to run Axiom would make the installation more streamlined and would eliminate issues caused by missing packages or package contents.

This is something that can be covered with more comprehensive documentation. All packages should be being installed with a standard installation now.


DDC refuses to compile unsupported but unreachable code

Main issue: DDC should accept unsupported but correct Dart code that's unreachable
I'm trying to make Flutter tests pass on the Web. However, some tests use numeric value ranges that are available in the VM and AOT, but not available on the Web. For example, (this tests) results in this error:
test/services/message_codecs_test.dart:52:43: Error: The integer literal
9223372036854775807 can't be represented exactly in JavaScript.
Try changing the literal to something that can be represented in Javascript. In Javascript
9223372036854775808 is the nearest value that can be represented exactly.
        _checkEncodeDecode<dynamic>(json,<PHONE_NUMBER>854775807);

To make this test pass, I'd like to guard the unsupported parts with a constant check, such as:
if (!kIsWeb) {
  _checkEncodeDecode<dynamic>(json,<PHONE_NUMBER>854775807);
  _checkEncodeDecode<dynamic>(json, -9223372036854775807);
}

However, DDC still refuses to compile it. I also trid if (false) out of curiosity, but got the same error.
Secondary issue: the suggested value is wrong
Note that the error message suggests that I use<PHONE_NUMBER>854775808 instead. However, that value cannot be represented exactly. It will be truncated to<PHONE_NUMBER>854776000.

Dart SDK Version: this is in Flutter as of https://github.com/flutter/flutter/commit/5a34e7981

/cc @vsmenon

Do you see different in dart2js?
We don't do any reachability analysis in DDC.

Can we use warn/hint or a throw when in DDC mode ?

Hmm, so instead of a static error, provide a mode that throws at runtime if/when the line is executed?

dart2js does both, tell me it's dead code and refuses to compile it :smile:
ERROR: web/main.dart:8
  Dead code. #dead_code

Error: The integer literal<PHONE_NUMBER>854775807 can't be represented exactly in JavaScript.
    print(9223372036854775807);
          ^^^^^^^^^^^^^^^^^^^
Error: Compilation failed.

If reachability analysis is not possible, can it be replaced with a runtime error in DDC and reachability analysis in dart2js?
@ferhatb I think warn/hint won't work in DDC without reachability analysis.

I looked into this a while back. The check for int size is implemented in fasta, which happens way before dead code elimination in dart2js

Yes, the error is enforced in the CFE when running in web mode (i.e., with a web backend).
We could change the CFE (either by default or under an option) to inject a runtime error instead of reporting a static error.  In the general case, I think users would prefer a static error to a runtime one though.
Not sure it's worth it though.  Could replace all occurrences of problematic values with int.parse of the string rep.

Closing, as I don't think this is worth another mode in the CFE.

int.parse does not provide a solution for constants. What should we recommend to Flutter users targeting mobile and web with a single codebase?

In terms of what works today, it'd have to be a config specific import & separating constants accordingly.


Feature Request: Add Teleporter hook/button to Train Tool

QoL addition, would like to be able to port to nearest aetheryte to flag, similar to how Maplinker has. Makes conducting much easier.
Outside of that, so far I'm in love with the plugin. Worked great for Stormblood train, unfortunate instances are broken but elsewise this will probably replace both Sonar and Maplinker for me.
If there's somewhere better to post things like this, please let me know!

Can you lay out how you would like it to work? Like when you click on a hunt in the train window, it pops up a "Teleport to ****" dialogue?
I've not used maplinker, so I'll check it out when I have time.
This seems like a useful addition, if I can make it work, but I can't promise any additional functionality anytime soon since I'll be busy with raiding and 6.2 content.

For maplinker specifically, there's just a "teleport" button, you click and it initiates the teleport via the Teleporter plugin, no other clicks needed. Attached a photo below, including a HH flag captured by maplink
No rush to add, of course, and it would also make Teleporter a dependency unless there was another way to do it, but it would consolidate tools into the train tool and make life super easy.

Hey, I've managed to get this done today. Just needs to be approved by the Dalamud team.
Some caveats, but a good base feature that I might clean up in the future.
You can enable:

Teleport on name click (this is a bit meh since it will initiate tele if you're trying to reorder the list or something, don't recommend)
Teleport on command use (/hhn)
Teleport buttons

Some caveats:

It will not teleport if the map has no aetheryte, such as the Dravanian Hinterlands, but doesn't really apply Endwalker hunts.
It does not take into account shortcuts teleports that aren't Aetherytes on the same hunt map, such as going through Limsa > Zephyr gate for Lower La Noscea

but you know, these only really apply to older content that wouldn't be used in a hunt train. So I have no plans improving those parts.

If you run into any issues or have any other ideas, please tell me!
Thank you!


Update Intel SGX SDK to <IP_ADDRESS>

Current dependencies on/for this PR:

main

PR #30   👈

This comment was auto-generated by Graphite.


KOGITO-1107: Ensure prod daily build pass kie-wb-common selenium test

Ensemble together with:

https://github.com/kiegroup/kie-wb-common/pull/3217
https://github.com/kiegroup/droolsjbpm-build-bootstrap/pull/1225

jenkins please retest this

@manstis @mbiarnes @mareknovotny please re-review the new smaller ensemble as @mareknovotny asked me to eliminate changes in kie-parent. I hope this could work.

@kiegroup/gatekeepers could we please merge?


clickhouse default hash algorithm

After applying sharding expression, clickhouse computes the reminder of the returned results to distribute data.
As Jump consistent hashing algorithm says that using this algorithm can greatly reduce network communication while resharding the data in cluster expansion, why don't we use this algothrim as the default hashing algorithm.  Is there any special consideration?
Thanks.

What resharding? CH does not have resharding.

ClickHouse supports 3 consistent hash algorithms:
SELECT *
FROM system.functions
WHERE name LIKE '%Consi%'

┌─name─────────────────┬─is_aggregate─┬─case_insensitive─┬─alias_to─┐
│ sumburConsistentHash │            0 │                0 │          │
│    │            0 │                0 │          │
│ yandexConsistentHash │            0 │                0 │          │
└──────────────────────┴──────────────┴──────────────────┴──────────┘

And of course you can use them in sharding expression, to limit the network communication when cluster is reconfigured.
CREATE TABLE distributed AS test_table ENGINE = Distributed(cluster, db, test_table, jumpConsistentHash(field1, 2))

Quite often people prefer just to distribute data randomly. It doesn't make sense to calculate consistent hashes from random values.
And resharding is not a common task. So why should we enforce some defaults?

I see. The computation of the reminder does not influence the data distribution generated by "jumpConsistentHash". In order to follow the data distribution weight specified by shard configuration parameter, the "bucket number" should be the total weight of all the shards.
Thanks.


CPS-???? | Plutus Script Usability

This CPS pulls together motivation from a number of CIPs, with the aim of describing a nubmer of issues in once place, rather than having them repeated amongst the many CIPs addressing various aspects of the problem.

rendered proposal in branch

thanks @rphair , I also think that this CPS is great and I've nothing to add.

I think it's a bit orthogonal. This CPS is about the users' perspective, whereas that is about the developers' perspective.

Any comments from @SebastienGllmt ?

Well written @michaelpj


ReadMe and code execution instructions

Please, add instructions on how to execute health-care-chatbot. Which program should be the starting point?
Thanks!

Sure, will do shortly !

Thanks Amber!
On Thu, Nov 25, 2021 at 7:41 PM Amber Kakkar @.***>
wrote:

Sure, will do shortly !
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/amberkakkar01/Health-Care-Chatbot/issues/1#issuecomment-979269324,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACDZ5QL4MPYGUSYFL6EU3BLUNZDIZANCNFSM5DR65RZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
-Hafeez
DISCLAIMER: “The information and any attachments in this email are
confidential and intended solely for the use of the addressee.  If the
reader is not the intended recipient or its agent, be advised that any
dissemination, distribution or copying of the content of this fax is
prohibited.  If you have received this communication in error, please
notify us immediately."


Simplify DiffEntry

The DiffEntry datatype is currently defined as:
data DiffEntry v =
      Insert !v
    | Delete !v

We should investigate whether it's necessary to have Delete carry a value of type v. My suspicion is that we can safely omit it, preserving the cancellative monoid laws and the semantics of applyDiff.

We're keeping the implementation as is. Removing the value on the Delete constructor leads to loss of information that could be useful


Unexpected warning when applying lock to resource group via nested template

In attached file you will see an example of a subscription deployment for a resource group with a nested template applying a lock to the resource group.
VSCode is giving the following warning on the properties and type field:
"Value must be one of the following values: "Microsoft.Authorization/roleAssignments", "Microsoft.Authorization/roleDefinitions", "Microsoft.Authorization/policyAssignments", "Microsoft.Authorization/policyDefinitions", "Microsoft.Authorization/policySetDefinitions", "Microsoft.Peering/peerAsns", "Microsoft.Resources/resourceGroups", "Microsoft.Resources/deployments"
If I a put the nested template code in a separate file, everything is fine.
test.txt

@nielsvdc we are prepping our next release which includes a fix for this. We hope to have this out next week. I will update if any significant delays.

Release went out today, thanks.


Create, Drop and Recreate the same database

Hi,
I've a problem on recreating a database already created and dropped. The new database result to be a 0 file length
In attach, the project the replicate the problem.
is it a bug or a my mistake?
BR
Enrico
TestEF.zip

Hi Enrico
The problem is, that the initializer is only called once per AppDomain.
See here: https://entityframework.net/knowledge-base/49175225/onmodelcreating-only-called-once-even-for-new-contexts
What do you want to achieve? Why you want to delete the db file? Is truncate the tables alternative?
Regards Marc

Hi Marc,
in some cases i need to drop physically the database because i don't need it anymore. But, in some circumstances, i need to recreate it.
This bring my application to create the same database.
Reading the https://docs.microsoft.com/en-us/dotnet/api/system.data.entity.database.delete?f1url=https%3A%2F%2Fmsdn.microsoft.com%2Fquery%2Fdev15.query%3FappId%3DDev15IDEF1%26l%3DEN-US%26k%3Dk(System.Data.Entity.Database.Delete);k(TargetFrameworkMoniker-.NETFramework,Version%3Dv4.7.1);k(DevLang-csharp)%26rd%3Dtrue&view=entity-framework-6.2.0
seems that the Database.Delete is what i need but calling the method it throws the exception "DeleteDatabase is not supported by the provider."
Now, I found a trick to add a check on the constructor that bring EF to force the creation.
public MyDbContext(string name) : base(
new SQLiteConnection($"data source = {name}; foreign keys=true;BinaryGUID=False;"), true)
{
if (!File.Exists(name)) Database.Initialize(true);
}
BR
Enrico

Da: Marc Sallin<EMAIL_ADDRESS>Inviato: venerdì 8 marzo 2019 06:50
A: msallin/SQLiteCodeFirst
Cc: WonderGnagno; Author
Oggetto: Re: [msallin/SQLiteCodeFirst] Create, Drop and Recreate the same database (#142)
Hi Enrico
The problem is, that the initializer is only called once per AppDomain.
See here: https://entityframework.net/knowledge-base/49175225/onmodelcreating-only-called-once-even-for-new-contexts
What do you want to achieve? Why you want to delete the db file? Is truncate the tables alternative?
Regards Marc
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/msallin/SQLiteCodeFirst/issues/142#issuecomment-470825283, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVl8otYXX_jq8tzlejnc_V-UTN-UN43Zks5vUggxgaJpZM4bjxNs.

Hello Enrico
Glad to see, that you found a solution.
Regards Marc

Thanks @WonderGnagno - I was having exactly the same problem, fatal crash if the database file was deleted/renamed while the app was running. If nothing else, this will stop a few crashes.

Yay edge-cases. In this case, a zero-length database file. My extra codez ...
try
{
    // fix for zero-length database followed by FATAL crash when the Db is deleted / renamed while the app is running.
    // https://github.com/msallin/SQLiteCodeFirst/issues/142#issuecomment-470935992
    if (!File.Exists(databasePath))
    {
        App.Log.Information("No Database. Intiliazing new Database: {DbPath}", databasePath);
        Database.Initialize(true);
    }
    else
    {
        var info = new System.IO.FileInfo(databasePath); // will create a new file if it doesn't exist

        if (info.Length < 5000) // an empty database is 72kB, this is checking for zero-length files, really.
        {
            App.Log.Information("Invalid Database file Size: {DbFileSize}. Intializing new Database: {DbPath}", info.Length, databasePath);
            Database.Initialize(true);
        }
    }
}
catch (Exception ex)
{
    App.Log.Error(ex, "Broke doing DbContext checking file: {DbPath}", databasePath);
}