nativecall.pod6 misses nativeconv

Hi, I'm just implementing the cperl ffi.
The perl6 design doc properly lists all 4 relevant nativecall traits:

native(STRING), native
symbol(STRING)
encoded(STRING)
nativeconv(STRING)

Here in nativecall.pod6 nativeconv is missing, and esp. the relevant values.
In the testsuite there's only lowercase "thisgnu", which sounds suspicious.
libffi supports mostly only one ABI. only on these platforms the following variants:
arm (not aarch64): VFP, SYSV
mips: O32, N32, N64, O32_SOFT_FLOAT, N32_SOFT_FLOAT, N64_SOFT_FLOAT
powerpc: AIX, DARWIN
powerpc (not aix, not darwin): SYSV, COMPAT_SYSV, COMPAT_GCC_SYSV,
         COMPAT_LINUX64, COMPAT_LINUX, COMPAT_LINUX_SOFT_FLOAT
  or powerpc64: LINUX
x86_64: UNIX64, WIN64
x86: SYSV, STDCALL, THISCALL, FASTCALL, MS_CDECL, PASCAL, REGISTER

It would be nice to know what nativeconv or dyncall does. I unsuccessfully grep'ed for abi or thisgnu or native_call_convention in rakudo, nqp, MoarVM and dyncall. Looks like it is ignored and not implemented yet.
dyncall itself has similar support as libffi, just different names:
e.g. for x86:

DC_CALL_C_X86_CDECL
DC_CALL_C_X86_WIN32_STD
DC_CALL_C_X86_WIN32_FAST_MS
DC_CALL_C_X86_WIN32_THIS_MS
DC_CALL_C_X86_WIN32_FAST_GNU
DC_CALL_C_X86_WIN32_THIS_GNU (= cdecl)
DC_CALL_SYS_DEFAULT
DC_CALL_C_X86_PLAN9
DC_CALL_SYS_X86_INT80H_LINUX
DC_CALL_SYS_X86_INT80H_BSD

hm, it's probably some internal stuff that does not really need documentation for the users of nativecall.

No it's not. In which ABI the shared lib is compiled is important on special platforms, and there's no ABI detection built in.

Greppable finds nothing, so I would say it's not specced

These are the calling conventions available. They don't seem to be tested.

@rurban that's the rakudo test suite, BTW. It's not in roast.

I see, it's collapsed to the one and only most probable one. Well, that helps, thanks.


Add a new option to enforce maxTags

A new option could be implemented to enforce how many tags can be added. That option should work along with the existing maxTags option.

At the moment, @dlukez enhancement works very well. Please add it as new feature

Would love to use the new enforce-max-tags functionality :D

+1

Any progress on this feature? Cheers :)

+1

+1

+1

+1

+1

+1

+1

This issue was selected to be spring-cleaned by a script. More information can be found here.
If anyone thinks this was a mistake and this issue should be reopened, please leave a message below explaining why. Before doing so, please consider reading the CONTRIBUTING file.

+1


Add reset fitlter button

Hi.
I've added reset filter button.

Those buttons do not offer too much, but they take a space ... I would prefer to keep UI as clean as possible.
Unless it will be strong support from others, I do not think so that this PR will be ever merged.

@NeVeSpl
Thank you for your reply.
I understood.
I close pull request.


Intercept stack blow up if too much memory for temporaries gets allocated on the stack

fixed by #1349


Update JavaScript libraries

Notes:

This bring jQuery into the 2.x range, since there are already some features in use not supported by IE8 this should do no harm.
I couldn't update tocify since the the changes done to it also modified the code style.
I used the unminified version of jQuery UI, same as all other libraries already are.

Thanks a lot! This upgrading rampage is much appreciated.


Prevent format sring being interpreted as user-defined string literal.

C++11 introduced user defined string literals, and one of the macros used by the effort_display plugin is now getting parsed as one. The fix is easy: separate the offending string literal and identifier with a space.
GCC 6 compiled with C++11 support on by default, which means that this is not just an improvement for the future but a requirement to compile from source on for example Arch Linux. This is also true when compiling the indigo version, so back-porting to indigo-devel would be prudent I think (I tried a simple cherry pick, it applies without problems).

https://github.com/ros-visualization/rviz/pull/1012?

Ah, yes, that is the same. I'll close this then :p


cmd/ctr/commands/tasks: build metrics with target platform

The windows container is using<EMAIL_ADDRESS>for metrics while the linux container is using<EMAIL_ADDRESS>They are two different packages but the metric fields in proto share the same name. For instance, the Metrics type:

in<EMAIL_ADDRESS>it is named by io.containerd.cgroups.v1.Metrics[1].
in<EMAIL_ADDRESS>it's also named by io.containerd.cgroups.v1.Metrics[2].

It's hard to tell the real type, even if both types are compatible. According to<EMAIL_ADDRESS>behavior[3], it will check the type registed by the RegisterType first. Let's see a case.
If the data is marshaled by<EMAIL_ADDRESS>and the typeurl is io.containerd.cgroups.v1.Metrics, ideally the receiver should use the same type to unmarshal it. However, if the receiver has a dependency using the<EMAIL_ADDRESS>the<EMAIL_ADDRESS>package will register the type with io.containerd.cgroups.v1.Metrics by gogo.RegisterType. And the receiver will<EMAIL_ADDRESS>type to unmarshal the data. It's compatible but it is unexpected because the receiver will use the<EMAIL_ADDRESS>to do the type assertion, like what nerdctl pr[4] does. They will fail to do assertion.
Currently, the windows container metrics is using
<EMAIL_ADDRESS>which impacts nerdctl to do release. So I would like to file this pr to build metrics with target platform.
REF:
[1]: https://github.com/containerd/cgroups/blob/v1.1.0/stats/v1/metrics.pb.go#L705
[2]: https://github.com/containerd/cgroups/blob/v3.0.1/cgroup1/stats/metrics.pb.go#L1705
[3]: https://github.com/containerd/typeurl/blob/v2.1.0/types.go#L238-L264
[4]: https://github.com/containerd/nerdctl/pull/1952

Is this intended as a temporary fix until the Windows container metrics or cgroups package can be updated? Splitting apart the compiled Windows/Linux logic like this is the opposite direction we have been trying go in to unify our cross platform logic.

Is this intended as a temporary fix until the Windows container metrics or cgroups package can be updated? Splitting apart the compiled Windows/Linux logic like this is the opposite direction we have been trying go in to unify our cross platform logic.

@dmcgowan it is temporary fix for nerdctl release. No sure that when windows container can be updated...

For nerdctl release I think we can just copy cmd/ctr/commands/tasks pkg to the nerdctl repo and call it a day.

@AkihiroSuda sounds 👍. I close this. Thanks

https://github.com/containerd/nerdctl/pull/2086


Cart workflow vs Checkout workflow in Storefront API

Hey @ndimatteo, love Hull, really stellar starting spot for headless Shopify (and killer work on the demo store design!)
In the process of kicking off a build for a client, and subscriptions are a concern for them. Just did some cursory looking around, and seems like the Checkout workflow in the Storefront API is unable to handle Selling Plans for subscriptions and the like, and Shopify's advocating for migrating to the Cart workflow to solve for those sorts of issues.
Any plans to move Hull away from the Checkout workflow and to the Cart workflow?

Similar question over in the Vercel Commerce repo - https://github.com/vercel/commerce/discussions/558

Hey there @aeblin, I'm glad you're enjoying hull! 🤘
We're actually not using either of these workflows currently. Instead, we're using the Shopify Buy SDK to power the cart and checkout experience in HULL.
I'd love to move to the current workflows recommended by Shopify for headless, but it's a bit involved and I don't have a roadmap for it just yet.
If you'd like to start a branch to work on this that would be more than welcomed! 🙏

Totally my bad there, I mistook the Buy SDK's "create a checkout" syntax for the Checkout workflow in the Storefront API.
As far as I can tell, the Buy SDK also doesn't support selling plans? I'll see about branching and setting something like this up, thanks @ndimatteo!


twitch plugin broken for new videos

livestreamer has stopped working for videos with an ID of 70191015 or higher (probably earlier, but 70161979 and below are working)
operating system (Debian 8.4):
Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) x86_64 GNU/Linux
livestreamer version: 1.12.2
example output 1:

livestreamer -l debug -o test.mp4 https://www.twitch.tv/nl_kripp/v/70191015 best
[cli][info] Found matching plugin twitch for URL https://www.twitch.tv/nl_kripp/v/70191015
[cli][info] Available streams: audio, high, low, medium, mobile (worst), source (best)
[cli][info] Opening stream: source (hls)
[stream.hls][debug] Reloading playlist
[cli][debug] Pre-buffering 8192 bytes
[stream.hls][debug] Adding segment 6327 to queue
[stream.hls][debug] Adding segment 6328 to queue
[stream.hls][debug] Adding segment 6329 to queue
[stream.hls][debug] Download of segment 6327 complete
[cli][debug] Checking file output
[cli][debug] Writing stream to output
[stream.hls][debug] Download of segment 6328 complete
[stream.hls][debug] Download of segment 6329 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
...
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[cli][error] Error when reading from stream: Read timeout
[stream.hls][debug] Closing worker thread
[stream.hls][debug] Closing writer thread
[cli][info] Stream ended

example output 2:

livestreamer -l debug -o test.mp4 https://www.twitch.tv/mym_alkapone/v/70229182 best
[cli][info] Found matching plugin twitch for URL https://www.twitch.tv/mym_alkapone/v/70229182
[cli][info] Available streams: audio, high, low, medium, mobile (worst), source (best)
[cli][info] Opening stream: source (hls)
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Adding segment 2907 to queue
[cli][debug] Pre-buffering 8192 bytes
[stream.hls][debug] Adding segment 2908 to queue
[stream.hls][debug] Adding segment 2909 to queue
[stream.hls][debug] Download of segment 2907 complete
[cli][debug] Checking file output
[cli][debug] Writing stream to output
[stream.hls][debug] Download of segment 2908 complete
[stream.hls][debug] Download of segment 2909 complete
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
...
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Reloading playlist
[cli][error] Error when reading from stream: Read timeout
[stream.hls][debug] Closing worker thread
[stream.hls][debug] Closing writer thread
[cli][info] Stream ended

example output 3 (working):

livestreamer -l debug -o test.mp4 https://www.twitch.tv/northernlion/v/70161979 best
[cli][info] Found matching plugin twitch for URL https://www.twitch.tv/northernlion/v/70161979
[cli][info] Available streams: audio, high, low, medium, mobile (worst), source (best)
[cli][info] Opening stream: source (hls)
[stream.hls][debug] Reloading playlist
[cli][debug] Pre-buffering 8192 bytes
[stream.hls][debug] Adding segment 0 to queue
[stream.hls][debug] Adding segment 1 to queue
[stream.hls][debug] Adding segment 2 to queue
[stream.hls][debug] Adding segment 3 to queue
[stream.hls][debug] Adding segment 4 to queue
[stream.hls][debug] Adding segment 5 to queue
[stream.hls][debug] Adding segment 6 to queue
[stream.hls][debug] Adding segment 7 to queue
[stream.hls][debug] Adding segment 8 to queue
[stream.hls][debug] Adding segment 9 to queue
[stream.hls][debug] Adding segment 10 to queue
[stream.hls][debug] Adding segment 11 to queue
[stream.hls][debug] Adding segment 12 to queue
[stream.hls][debug] Adding segment 13 to queue
[stream.hls][debug] Adding segment 14 to queue
[stream.hls][debug] Adding segment 15 to queue
[stream.hls][debug] Adding segment 16 to queue
[stream.hls][debug] Adding segment 17 to queue
[stream.hls][debug] Adding segment 18 to queue
[stream.hls][debug] Adding segment 19 to queue
[stream.hls][debug] Adding segment 20 to queue
[stream.hls][debug] Adding segment 21 to queue
[stream.hls][debug] Download of segment 0 complete
[stream.hls][debug] Adding segment 22 to queue
[cli][debug] Checking file output
[cli][debug] Writing stream to output
[stream.hls][debug] Download of segment 1 complete
[stream.hls][debug] Adding segment 23 to queue
[stream.hls][debug] Download of segment 2 complete
[stream.hls][debug] Adding segment 24 to queue
[stream.hls][debug] Download of segment 3 complete
[stream.hls][debug] Adding segment 25 to queue
[stream.hls][debug] Download of segment 4 complete
[stream.hls][debug] Adding segment 26 to queue
[stream.hls][debug] Download of segment 5 complete
[stream.hls][debug] Adding segment 27 to queue
[stream.hls][debug] Download of segment 6 complete
[stream.hls][debug] Adding segment 28 to queue
[download][test.mp4] Written 4.4 MB (0s @ 7.8 MB/s)
[stream.hls][debug] Download of segment 7 complete
[stream.hls][debug] Adding segment 29 to queue
[stream.hls][debug] Download of segment 8 complete
[stream.hls][debug] Adding segment 30 to queue
[stream.hls][debug] Download of segment 9 complete
[stream.hls][debug] Adding segment 31 to queue
[stream.hls][debug] Download of segment 10 complete
[stream.hls][debug] Adding segment 32 to queue
...

I'm having the same problems. Any temp solutions? :/

Same issue here on both OSX and Windows 10, both on latest firmware. Also receiving 'read timeout' errors. When I try to watch the VOD stream, it plays the last 6 seconds of the stream then ends. Other software (JDownloader2) gives a similar response which leads me to think it's a change at how Twitch is serving the streams.

I did some more research and livestreamer is able to find the correct m3u8 playlist for hls streaming (e.g. http://vod.edgecast.hls.ttvnw.net/v1/AUTH_system/vods_85db/nl_kripp_21651627008_463423123/chunked/index-muted-1PZLTKG95G.m3u8 in case of https://www.twitch.tv/nl_kripp/v/70191015 ) and all referenced parts are downloadable but vlc fails to stream the playlist correctly, I assume livestreamer has similar issues processing the playlist.

#EXT-X-ENDLIST Seems to be missing. See this commit:
https://github.com/Franiac/TwitchLeecher/commit/4c0a20cbbcf1d3f50129d6179c7bf2080b9b0746
This needs to be tweaked.


A panic in the worker leaves it unable to process any subsequent requests for a period of time

When a Rust-based worker panics, it leaves the worker dangling and unable to process subsequent requests from the same client (client A), which manifests itself in consistent 500s returned by Cloudflare. Requests from another client (client B) work fine, which suggests the sticky routing mechanism causes the requests sent by the client A to be routed to a dangling non-functional instance of the worker.
I created a minimal test case in this repository with the exact steps to reproduce.
Here's the relevant worker exhibiting this behaviour.
use worker::*;

#[event(fetch)]
pub async fn main(req: Request, env: Env, _context: Context) -> Result<Response> {
    let router = Router::new();
    router
        .get("/helloworld", |_, _ctx| Response::ok("Hello World!"))
        .get("/crashtheworker", |_, _ctx| panic!("CRASH"))
        .run(req, env)
        .await
}

I am not sure if this is a bug in workers-rs – perhaps not – but hopefully it can be routed to the appropriate team.
Thank you!

Hmm, this is certainly a problem we should fix. After a quick look it seems that re-creating the entire wasm instance and re-setting the JS glue isn't really possible with wasm-pack because of it's inability to use reference-types (related PR), meaning we have an "object heap" that we can't reset. But I was able to accomplish this by using wasm-bindgen manually, so if worker-build switches to that and uses reference-types we should be able to fix this.
Moving away from wasm-pack was discussed in the past but this might be the straw that broke the camel's back. I'll work on a fix for this soon.

@zebp thanks so much for taking a look at this! This has been one of the significant issues we've been hitting with Workers in building our product.
Do you know if a potential fix for this issue is considered to be included in the nearest team's roadmap?
Thanks again.

Thankfully, this seems to have been fixed when we updated wasm-bindgen in this commit which is now released in 0.0.10. I'm not sure which commit to wasm-bindgen fixed this, so we'll need to be careful in the future to make sure we don't get a regression.
I have a production worker with a panic! here:
https://panicked.zeb.workers.dev/
https://panicked.zeb.workers.dev/panic

I'm still seeng this issue. After a queue event leading to the following exception all executions following this one no longer log anything:
panicked at 'js error: JsValue(Error: Too many API requests by single worker invocation.
Error: Too many API requests by single worker invocation.
    at entry.js:830:18
    at l (entry.js:185:14)
    at be (entry.js:829:10)
    at wasm://wasm/00acdd9e:wasm-function[1009]:0x1a9471
    at wasm://wasm/00acdd9e:wasm-function[104]:0x53223
    at wasm://wasm/00acdd9e:wasm-function[102]:0x29a73
    at wasm://wasm/00acdd9e:wasm-function[112]:0xc52c2
    at wasm://wasm/00acdd9e:wasm-function[284]:0x160c43
    at wasm://wasm/00acdd9e:wasm-function[1436]:0x1b7fb7
    at rt (entry.js:171:17))', src/lib.rs:23:1

Stack:

Error
    at entry.js:672:13
    at i (entry.js:155:14)
    at Ut (entry.js:671:10)
    at wasm://wasm/00acdd9e:wasm-function[205]:0x145733
    at wasm://wasm/00acdd9e:wasm-function[532]:0x188500
    at wasm://wasm/00acdd9e:wasm-function[616]:0x191269
    at wasm://wasm/00acdd9e:wasm-function[1687]:0x1bc100
    at wasm://wasm/00acdd9e:wasm-function[1075]:0x1ac3ed
    at wasm://wasm/00acdd9e:wasm-function[1125]:0x1ae237
    at wasm://wasm/00acdd9e:wasm-function[1028]:0x1aa365

I'm using at least the following dependencies:
chrono = { version = "0.4", features = ["wasmbind", "serde"] }
console_error_panic_hook = { version = "0.1" }
getrandom = { version = "0.2", features = ["js"] }
worker = { version = "0.0.18", features = ["queue"] }

According to my Cargo.lock file I have the following versions:
name = "wasm-bindgen"
version = "0.2.86"

name = "wasm-bindgen-backend"
version = "0.2.86"

name = "wasm-bindgen-futures"
version = "0.4.36"

name = "wasm-bindgen-macro"
version = "0.2.86"

name = "wasm-bindgen-macro-support"
version = "0.2.86"

name = "wasm-bindgen-shared"
version = "0.2.86"

Any thoughts on why my worker still seems to turn non-functional? It led to issue https://github.com/cloudflare/workers-rs/issues/374 but after instrumenting the worker in line with https://blog.cloudflare.com/wasm-coredumps/ it seems to have the behaviour as described in this issue.


InvalidArgumentError, assertion failed error generated by utils_tf

The issue tracker should only be used to report bugs or feature requests. If you are looking for support from other library users, please ask a question on StackOverflow.
Describe the bug
I have a straightforward Keras model. I wrap it with the KerasWrapper from the Cleverhans library and then call the FGSM attack's generate_np() method with some data on that model and then get this error. I checked the line number referenced by the code, and it does not make a lot of sense to me, since that function just checks for GPU devices etc.
To Reproduce
Steps to reproduce the behavior:

Defined model:
e2e_model = self.get_e2e_model(r_image)
wrapped_model = KerasModelWrapper(e2e_model)
Get attack_object (FGSM, in my case):
attack_object = self.attack_object(wrapped_model, sess=self.sess)
attack_params = self.attack_params.copy()
attack_params['y_target'] = np.expand_dims(target_label, 0)
Ready data:
mini_batch = np.array([l_image])
return attack_object.generate_np(mini_batch, **attack_params)[0]
Error pops up (below)

Expected behavior
Adversarial data generated via FGSM
Screenshots

System configuration

OS: Ubuntu 16.04.5
Python version: 2.7.12
TensorFlow version: 1.14.0

I identified the reason for the error. The clip_max value was set to 1.0, whereas the data was in the [0,255] range. I am not sure why this error popped up in the first place. Perhaps it could be a bit more verbose to help.


Saving Base64 format

Excellent library!!!
Two quick questions.

Is there a way to save a Base64 image in a string variable as a resized image?
are there available option(s) to read an image file (.jpg) and overriding it by saving a resized version of it in the same directory path?

Thank you!

You can just use Buffer#toString and pass base64:

const resizedImageBuf = await require('sharp')(pathToMyImage)
  .resize(32, 32)
  .toBuffer();

console.log(`data:image/png;base64,${resizedImageBuf.toString('base64')}`);
// data:image/png;base64,iVBORw0KGgoAAAANS...

When using the filesystem, the output file will be opened and written to before the input file has finished reading and closed, so these cannot be the same.

Thank you to you both for helping me on this!

One more quick question in relation to the question #1.
Let assume this time I have a Base64 image in a string variable and have already trimmed off the Content-Type (data:image/png). How can I save the content in this variable to a file with the .resize(32, 32) function mentioned above?
Thank you!

@sonnyk22, that sounds like a job for fs.writeFile. Something like:
const writeFileAsync = require('util').promisify(require('fs').writeFile);
const resizedImageBuf = await require('sharp')(pathToMyImage)
  .resize(32, 32)
  .toBuffer();

await writeFileAsync('outputFile.txt', resizedImageBuf.toString('base64'), 'utf-8');

fantastic!  Another great solution to one of my issue.  Thank you again!

You can just use Buffer#toString and pass base64:

const resizedImageBuf = await require('sharp')(pathToMyImage)
  .resize(32, 32)
  .toBuffer();

console.log(`data:image/png;base64,${resizedImageBuf.toString('base64')}`);
// data:image/png;base64,iVBORw0KGgoAAAANS...

(you need to match the Content-Type with the type of the resulting image, of course)

I was missing this and having to call .png() after creating a composite. Thanks!


General questions about processing egovideos

Hi @georgegu1997!
I am currently working on my new project based on your code base.
Big thanks to your code, I can save a lot of time implementing the preprocessing stage of ego-videos.
Nevertheless, I am still trying to familiarize with the all the processing codes, and have a few questions.

I am very new to egocentric videos, so It would be very helpful if there are things that are different from conventional exo-images. Would it be possible if you provide short bullet lists (guideline) of the things  ego-video needs to be taken care of compared to conventional processing? For example, in my case, I am trying to use sparse set of consecutive images, e.g., 5 views, to reconstruct a scene. The inputs I will be using are camera pose, intrinsics, RGB image and depth map. 0-1. If I want to resize  the images, can I just resize the undistorted images and modify the intrinsics accordingly?  0-2. For processing depth map (in ADT dataset), do I need to process it with exact same procedure to rgb processing?  (undistort). 0-3 While ADT has per-frame depth map, Ego-Exo4D only has global semi-dense point cloud right? How should I obtain per-frame (or per timestep) depth map?

In https://github.com/facebookresearch/egolifter/blob/d177089a153831e4cd592fb09c8f86f8a63d398c/scripts/process_adt_3dgs.py#L289, I read the 3 commented lines, but I could not understand fully. If I resize the images and depth of ego-images, do I need to take care of the pose as well? For example I need to retrieve different pose, since it says  (2.5ms for 1408x1408, 8ms for 2880x2880) and you added: timestamp_ns + 2_500_000 # 2.5 ms.

Thank you very much for your time and support!
Sunghwan

Hi, thanks for your interest!

0-1. If I want to resize the images, can I just resize the undistorted images and modify the intrinsics accordingly?

 For processing depth map (in ADT dataset), do I need to process it with exact same procedure to rgb processing? (undistort).

I think you probably need some similar procedure, but seems the distort_by_calibration is only implemented for RGB images. Also, I think the interpolation could be tricky in this calibration process. For this question, I suggest you open an issue in projectariatools repo.

0-3 While ADT has per-frame depth map, Ego-Exo4D only has global semi-dense point cloud right? How should I obtain per-frame (or per timestep) depth map?

Yes, Aria Glasses (in the wild) does not give a dense depth map. One thing you could do is run monocular depth models on the Aria images. The results won't be metric depth though.

2 If I resize the images and depth of ego-images, do I need to take care of the pose as well? For example I need to retrieve different pose, since it says (2.5ms for 1408x1408, 8ms for 2880x2880) and you added: timestamp_ns + 2_500_000 # 2.5 ms.

If I remember correctly, 1408 and 2880 are two "native" resolutions for Aria glasses, which are the resolutions of the image stream recorded by the glasses. You choose one setting before recording and it will be fixed for the recording. 2.5ms was hard coded in that script because I was kind of assuming 1408 resolution. Feel free to change it if needed.

Thanks for the quick reply!
So for 0-3, would this be possible? Since there is also semi dense observation file, which seems to somewhat link to semi dense world point clouds, can I somehow link the each pixel in the frame to one of the point clouds observed at time step t?
For the last question, if I resize the image to 256 256, should I add something else to timestamp_ns other than 2500000? I'm not sure whether I need to do something to the camera extrinsic if I resize the image.
Finally, since i will be using sparse set of images, would it be better to use open loop trajectory rather than the closed loop trajectory like your codes?
Thanks!!!

So for 0-3, would this be possible? Since there is also semi dense observation file, which seems to somewhat link to semi dense world point clouds, can I somehow link the each pixel in the frame to one of the point clouds observed at time step t?

I think it's possible to extract the semi-dense observation according to the documentation here. But this at most gives you sparse pixel depth measure and there could be a lot of noises in the results.

if I resize the image to 256 256, should I add something else to timestamp_ns other than 2500000?

No. The original images recorded by the camera is 1408x1408, and this determines the rolling shutter read-out delay. Resizing happens after recording and does not affect this delay.

Finally, since i will be using sparse set of images, would it be better to use open loop trajectory rather than the closed loop trajectory like your codes?

This depends on whether your application requires online inference (not seeing the future images). The difference between open and closed-loop is how the bundle adjustment is performed. Please see here for explanation.


Jest automocking is broken when using symlinks.

Using ../../ throughout your project is a developer ergonomics and maintenance pain.
So the recommended way solution is to symlink your src, lib, whatever folder into node_modules.
I've got a repo here at http://github.com/mover-io/jestsymlink to reproduce the issue.
git clone git@github.com:mover-io/jestsymlink.git
cd jestsymlink
jest

I source-dived a bit to try and sort this out and I've found at least something that doesn't seem correct. If you run jest inside of the project dir you'll see:
/Users/jacob/Work/jestsymlink/node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js line 388 while fetching src/models/Model.js
user /Users/jacob/Work/jestsymlink/src/models/Model.js null
/Users/jacob/Work/jestsymlink/node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js line 388 while fetching src/models/Model.js
user /Users/jacob/Work/jestsymlink/src/models/Model.js null
/Users/jacob/Work/jestsymlink/node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js line 388 while fetching src/models/Model.js
user /Users/jacob/Work/jestsymlink/src/models/Model.js null
/Users/jacob/Work/jestsymlink/node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js line 388 while fetching myapp/models/Model
user null null
/Users/jacob/Work/jestsymlink/node_modules/jest-cli/src/HasteModuleLoader/HasteModuleLoader.js line 388 while fetching myapp/models/Model
user null null

I've dumped a console.log directly into node_modules/jest-cli and committed the node_modules folder deliberately.
The user null null represent console.log(moduleType, realAbsPath, mockAbsPath);
That doesn't seem quite right. It uses the moduleID to lookup properties such as whether or not a module should be mocked. This results in what should be distinct modules all mapping to user::

See also: https://github.com/facebook/jest/pull/133

Yeah when using symlink paths, it considers every path the same:
jest.setMock('_/stores/organizations', { test: 1 })
jest.setMock('_/modules/http', { test: 2 })

console.log(require('_/stores/organizations'))
console.log(require('_/modules/http'))

// { test: 2 }
// { test: 2 }

This should be resolved with Jest 0.9.2 or the next release after that :)


chore: Update get ssh key api response

Description

When the ssh key is not empty for an app instead of throwing the error state we should send other datapoints like supported key types, reference doc url as there are still need by FE

Fixes #14339
Type of change

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

How Has This Been Tested?

Locally
Junit tests

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

/ok-to-test sha=8cba19d

/ok-to-test sha=f8126fc

/ok-to-test sha=5d6d3f4

/ok-to-test sha=0106aad

@IAmAnubhavSaini Can you try this in local env? Because the cypress tests are failing for the same reason i have mentioned above. Key gen step is failing in cypress tests.

/ok-to-test sha=3fa6bb0

/ok-to-test sha=e3f089b

/ok-to-test sha=5f31499

/ok-to-test sha=79bde8a

This is causing a frontend issue after implementation. API is returning an empty string, front end is dependent upon error when ssh-keypair is not generated; so for the time being front-end is going to save the protocols and the learn more link above ssh-key input.
Closing for now.


Add LowPriority

Allows to give some implicits a lower priority than the existing ones.
Added to an implicit def like
implicit def genericThing[F, G]
 (implicit
   ev: LowPriority,
   gen: Generic.Aux[F, G],
   underlying: Thing[G]
 ): Thing[F] = ???

it prevents genericThing to provide an instance of Thing[F] if an implicit one is already available elsewhere. This effectively gives genericThing a lower priority than the already existing implicits - without having to deal with complex priority scopes.
This somehow fills the same gap as export-hook, but without the need for extra dependencies on both the type class and the deriver sides.
Things like LowPriority.Orphan, LowPriority.Subclass, LowPriority.Algebraic, LowPriority.Instantiated, etc. could even be added here, to achieve the same kind of detailed prioritization as export-hook - all externally, without external dependencies and an extra API to master.

This is great stuff! Thanks :-)
I'm going to merge this now, with the caveat that I think we're going to need to try and pull all of this stuff (Lazy included) into Typeclassic and/or Typelevel Scala.

@milessabin np to move this elsewhere!


Adding scripts for all-tests and unit-tests

Adding scripts for all-tests and unit-tests

/approve
/lgtm

/approve
/lgtm


don't evaluate trans arguments twice.

Arg that doesn't do what it should :/

You will need to create an assignment to a temporary variable before that. Or use the stack to your advantage and call back to a function on the extension.

Jupp already trying that

Okay, seems to be working now, but '_trans' get's set in the context, not sure how I can prevent that. (There is really no point in setting it in the context since it's passed via 'l__trans' into ngettext)

Why can't you use a extension method callback?

Cause you said "Or use the stack to your advantage and call back to a function on the extension." (Note the or there ;)) Either way, can you get a bit more specific; eg any existing extension I could look at?


[Feature request] Done Button should be disabled until any changes

Platforms
Android, iOS
Description
There is undo redo button which is enabled/disabled until any changes are made so like that there is done (Check icon) which should be disabled until any changes are made so that the changes are only save with done callback functions.
Why
Most of the editor provide this functionality so consider this please until any changes are made enabling the done button doesnot make sense so proper UI/UX is disable until the changes are made.

To enhance user experience, consider disabling the “Done” button based on typical user behavior. As an example, if users need to edit an image after taking a picture in 95% of cases, it would be more efficient to open the image editor automatically, without asking if they want to edit the image. In the rare cases where editing isn’t necessary, users can still press the “Done” button to proceed.
However, if you need to disable the “Done” button in your specific case, you can use custom-widgets to replace the app bar with your solution. Below is an example of how to do this.
return ProImageEditor.network(
    _url,
    key: editorKey,
    callbacks: ProImageEditorCallbacks(
      onImageEditingStarted: onImageEditingStarted,
      onImageEditingComplete: onImageEditingComplete,
      onCloseEditor: onCloseEditor,
    ),
    configs: ProImageEditorConfigs(
      customWidgets: ImageEditorCustomWidgets(
        mainEditor: CustomWidgetsMainEditor(
          appBar: (editor, rebuildStream) => editor.selectedLayerIndex < 0
              ? ReactiveCustomAppbar(
                  stream: rebuildStream,
                  builder: (_) => AppBar(
                    automaticallyImplyLeading: false,
                    foregroundColor: Colors.white,
                    backgroundColor: Colors.black,
                    actions: [
                      IconButton(
                        tooltip: 'Cancel',
                        padding: const EdgeInsets.symmetric(horizontal: 8),
                        icon: const Icon(Icons.close),
                        onPressed: editor.closeEditor,
                      ),
                      const Spacer(),
                      IconButton(
                        tooltip: 'Undo',
                        padding: const EdgeInsets.symmetric(horizontal: 8),
                        icon: Icon(
                          Icons.undo,
                          color: editor.canUndo == true
                              ? Colors.white
                              : Colors.white.withAlpha(80),
                        ),
                        onPressed: editor.undoAction,
                      ),
                      IconButton(
                        tooltip: 'Redo',
                        padding: const EdgeInsets.symmetric(horizontal: 8),
                        icon: Icon(
                          Icons.redo,
                          color: editor.canRedo == true
                              ? Colors.white
                              : Colors.white.withAlpha(80),
                        ),
                        onPressed: editor.redoAction,
                      ),
                      IconButton(
                        tooltip: 'Done',
                        padding: const EdgeInsets.symmetric(horizontal: 8),
                        icon: Icon(
                          Icons.done,
                          color: editor.canUndo == true
                              ? Colors.white
                              : Colors.white.withAlpha(80),
                        ),
                        iconSize: 28,
                        onPressed: editor.canUndo == true
                            ? editor.doneEditing
                            : null,
                      ),
                    ],
                  ),
                )
              : null,
        ),
      ),
    ),
  );


crash when initializing game (before the "minecraft window" opens)

before when I just  getting a crash

Do you have a log? Otherwise I cannot help you :)

Sorry I didn't notice that I had to install the api so it hasn't fuction


Ensure unique timestamp on migration publish

Fix issue #13

Make sure to update the tests so they pass with this new addition

Nice, thanks!


Logging gradients with tensor's names

Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos, doc improvements)
[x] Did you read the contributor guideline?
[ ] Did you make sure to update the docs?   Not needed
[ ] Did you write any new necessary tests?  Not needed

What does this PR do?
Current gradient logging (when enabled) provides no information about the names of the parameters of interest, providing only raw values of gradient norms. With PyTorch's named_parameters() method we can access the names of our parameters - this is now used to name the individual gradient norm.
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

@MartinPernus thanks!


Ex doesn't recognise URL in silent mode.

The following command prints html code correctly:
 $ ex +%p http://example.com/

However when I'm using it in silent mode, it doesn't recognise URL format:
$ ex -scq! -V1 http://example.com/
"http://example.com/" Illegal file name

I'm missing anything or it's a bug?

Please use an explicit -N to make sure, all plugins work correctly.


feat: issue support

Description
Fixes #1683
What type of PR is this? (check all applicable)

[x] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents
#1683
Mobile & Desktop Screenshots/Recordings

Added tests?

[ ] 👍 yes
[x] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[x] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

How do I test this? I can't create issues on my fork.

How do I test this? I can't create issues on my fork.

The only way I know of testing a GitHub action like this is typically create a new repo and try it out there.
The testing story for GitHub actions isn't that great.


⚠ Bofrost.fr has degraded performance

In 3d7887b, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 2314 ms

Resolved: Bofrost.fr performance has improved in a665a35 after 6 minutes.


feat: add slideover component

Description

Added SlideOver Component
Resolve #674

@fmvilas Done 🫡

/rtm

Congrats! Second PR in a week! 🙌

@fmvilas It's all because of you. Thankyou for your support. 🙂


Adding a third party Java client - LangChain4j

Hi @sophiamyang a LangChain4j is an popular open-source java project and recently added Mistral AI client support.

Hi @hrjn, I'm responsible for the Mistral AI integration for LangChain4j... changes are on the way 😊

Btw, for when you plan to update the public API specs? https://docs.mistral.ai/api/

Yes, we are looking into it !

Hi @sophiamyang, langchain4j java client has been updated with last changes (function calling, new models and json format). You can check it here.
I hope that this help to Mistral users to integrate with their java apps.
Thanks!

Hello again! It seems that your PR was submitted before we conducted a large-scale refactoring of our documentation structure. To make sure that your link is included in the most current version, I've added it directly. This means that I'll be closing this PR, but rest assured that your client is now (or will be very soon) included in the list at https://docs.mistral.ai/getting-started/clients/#third-party-clients.
Thanks a lot for your contribution

Hi @hrjn , alright. Thanks!


Update to ACA-Py 0.11.0

I'm commenting here because it's the most recent PR
@dbluhm I notice the version in the pyproject.toml has never been bumped, and there's only one tagged release (for aca-py 0.10.4)
We want to try out this plugin, so we'll work from master - but figured it'd be good to ask for a tagged release please, just to help with version control

Thanks for the interest in the plugin @ff137! You make a good point. I'll double check the state of the pyproject.toml and most likely tag main.

@ff137 I drew a line in the sand and released the current state of main as version 0.1.0 and also tagged it (according to ACA-Py plugin convention) with acapy-0.11.0-0. Future changes to the minimum expected ACA-Py version will be reflected as version bumps appropriately. Hope that helps!

Based on your interest in this plugin, it may also be time for this to move to https://github.com/hyperledger/aries-acapy-plugins.

@dbluhm epic! Thank you 😎


feat: add fantom implementation

Here come Fantom implementation which nobody ask for. Code based on vanilla implementation and Fantom's dom example.

Can you explain how it works?
Is that from java code then compile to native js or what??

Can you explain how it works?

Fantom is a programming language that can target JVM, Javascript, and .NET. There are two files that you need to be aware:

main.fan: containing code that handle web request and generating html response.
script.fan: containing code that will be compiled on the fly to native Javascript. This file will be referenced from main.fan

I'm including the resulting static file on the dist folder which can be run directly using web browser.

Is that from java code then compile to native js or what??

No and Yes. No, fantom is a separate programming language that can target JVM and Javascript. Yes, it can be compiled to Javascript at runtime. It can serve both http request and also generate client side script from single project.

Is there any method to make it just frontend only?

I'm not aware as of now since the html part are generated directly from the server using Fantom specifics library  and syntax. I will find out if it possible.
Please note that I'm including the html and javascript file in the 'dist' folder which can be run directly from the browser or static web server. It's not automatically generated though (I save it manually from the browser).

Sorry for the mess (closing and reopening the pr), accidentally push my other commit to the wrong branch and struggle a little bit when fixing it 😌✌


broken link on main page

APIM-CLI version
NA
API-Management version
NA
Bug description
main page https://github.com/Axway-API-Management-Plus/apim-cli/wiki/2.1.2-API-Configuration-file has a broken link "see here for more details"

Steps to reproduce
go to https://github.com/Axway-API-Management-Plus/apim-cli/wiki/2.1.2-API-Configuration-file
click on the link "see here for more details"
Relevant log output
see description

Fixed


Update changelogs for 7.0.7 and 7.1.4

PR Summary
Update the change logs for 7.0.7 and 7.1.4.
PR Context

PR Checklist

[ ] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[ ] Summarized changes
[ ] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[ ] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[ ] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[ ] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[ ] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

Spelling errors found:
Script contents:
mdspell '**/*.md' '!**/Pester/**/*.md' '!**/dotnet-tools/**/*.md' --ignore-numbers --ignore-acronyms --report --en-us;
========================== Starting Command Output ===========================
/bin/bash --noprofile --norc /home/vsts/work/_temp/351b2aed-ab2b-45ed-8c23-16a52773d2b4.sh
    CHANGELOG/7.0.md
       14 | li>Remove cat file from PSDesiredStateConfiguration module (Internal 16722

    CHANGELOG/7.1.md
       14 | emove the cat file from PSDesiredStateConfiguration module (Internal 16723

>> 2 spelling errors found in 76 files

This PR only contains changes to markdown files, and the PowerShell-CI-static-analysis CI has passed. So we can go ahead merge the PR without waiting for other tests to finish.


Range lower bound must be less than or equal to range upper bound error with NpgsqlRange

Simple test case throws exception
// model
public class Test
{
    public int Id { get; set; }
    public NpgsqlRange<Instant> Valid { get; set; }
}

// dbcontext configuration
public virtual DbSet<App.Test> Tests { get; set; }

protected override void OnModelCreating(ModelBuilder modelBuilder)
{
    modelBuilder.Entity<Test>(entity =>
    {
        entity.ToTable("test", "app");
        entity.HasKey(e => e.Id);
        entity.Property(e => e.Id).HasColumnName("id");
        entity.Property(e => e.Valid).HasColumnName("valid");
    });
}

// migration
protected override void Up(MigrationBuilder migrationBuilder)
{
    migrationBuilder.EnsureSchema(
        name: "app");
    migrationBuilder.CreateTable(
        name: "test",
        schema: "app",
        columns: table => new
        {
            Id = table.Column<int>(nullable: false),
            Valid = table.Column<NpgsqlRange<Instant>>(nullable: false)
        },
        constraints: table =>
        {
            table.PrimaryKey("test_pk", x => new { x.Id});
        });
}

// create new entity
    var options = new DbContextOptionsBuilder<OptiroContext>()
        .UseNpgsql(_connectionString, ob => ob.UseNodaTime().UseNetTopologySuite())
        .UseLoggerFactory(Global.ConsoleLoggerFactory).Options;
    using (var context = new OptiroContext(options))
    {

        Instant validFrom = Instant.FromUtc(2018, 09, 21, 0,0,0);
        Instant validTo = Instant.MaxValue;
        context.Tests.Add(new Test
        {
            Valid = new NpgsqlRange<Instant>(validFrom, validTo)
        });
        context.SaveChanges();
    }

stack trace
Microsoft.EntityFrameworkCore.DbUpdateException : An error occurred while updating the entries. See the inner exception for details.
---- Npgsql.PostgresException : 22000: range lower bound must be less than or equal to range upper bound
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(DbContext _, ValueTuple`2 parameters)
   at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded) in C:\projects\npgsql-entityframeworkcore-postgresql\src\EFCore.PG\Storage\Internal\NpgsqlExecutionStrategy.cs:line 51
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1 commandBatches, IRelationalConnection connection)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(IReadOnlyList`1 entriesToSave)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Boolean acceptAllChangesOnSuccess)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean acceptAllChangesOnSuccess)
   at Optiro.Data.OptiroContext.SaveChanges(Boolean acceptAllChangesOnSuccess) in C:\PROJECTS\test\dbContext.cs:line 3145
   at Optiro.Data.Tests.AuditTest.Test1() in C:\PROJECTS\test\Test.cs:line 80
----- Inner Stack Trace -----
   at Npgsql.NpgsqlConnector.<>c__DisplayClass161_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Npgsql.NpgsqlConnector.<>c__DisplayClass161_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext() in C:\projects\npgsql\src\Npgsql\NpgsqlConnector.cs:line 1032
--- End of stack trace from previous location where exception was thrown ---
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming) in C:\projects\npgsql\src\Npgsql\NpgsqlDataReader.cs:line 445
   at Npgsql.NpgsqlDataReader.NextResult() in C:\projects\npgsql\src\Npgsql\NpgsqlDataReader.cs:line 332
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken) in C:\projects\npgsql\src\Npgsql\NpgsqlCommand.cs:line 1219
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior) in C:\projects\npgsql\src\Npgsql\NpgsqlCommand.cs:line 1130
   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.Execute(IRelationalConnection connection, DbCommandMethod executeMethod, IReadOnlyDictionary`2 parameterValues)
   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.ExecuteReader(IRelationalConnection connection, IReadOnlyDictionary`2 parameterValues)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)

package refererences
<ItemGroup>
  <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="2.1.0" />
  <PackageReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="2.0.3" />
  <PackageReference Include="Microsoft.Extensions.Configuration" Version="2.1.1" />
  <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="2.1.1" />
  <PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.1.1" />
  <PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="2.1.1" />
  <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="2.1.2" />
  <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL.Design" Version="1.1.1" />
  <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL.NetTopologySuite" Version="2.1.1" />
  <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL.NodaTime" Version="2.1.1" />
  <PackageReference Include="Npgsql.Json.NET" Version="1.0.0" />
</ItemGroup>

@baurzhan Thanks for opening this issue. To help us better understand your issue, could you please put together a minimally complete reproduction in the form of a GitHub repo that we can clone and run locally?
For example, a minimally complete version of what you've posted would remove any dependencies that are not needed to trigger the exception (e.g. *.Design, NetTopologySuite), contain the full test case and the full DbContext (e.g. we can't see the full Optiro.Data.Tests.AuditTest.Test1() here).

I added complete reproduction here https://github.com/baurzhan/EfCoreNpgsqlTest
Tested with docker container postgres:10.5-alpine

I am able to reproduce this issue in our test suite with the following:
// throws: 22000: range lower bound must be less than or equal to range upper bound
[Fact]
public void InvestigateIssue649()
{
    using (var ctx = Fixture.CreateContext())
    {
        var a = Instant.FromUtc(2018, 09, 21, 0, 0, 0);
        var b = Instant.MaxValue;
        var item = new NodaTimeTypes
        {
            Id = 649,
            TimestampRange =
                new NpgsqlRange<Instant>(
                    lowerBound: a,
                    upperBound: b)
        };
        ctx.NodaTimeTypes.Add(item);
        ctx.SaveChanges();
    }
}

Diagnosis
The issue is that the value for Instant.MaxValue is too large and overflows while being written to the wire. The result is a negative long is sent to the database where it's interpreted as being lower than your lower bound.
The workaround is to specify the upper bound as infinite, rather than Instant.MaxValue:
[Fact]
public void InvestigateIssue649()
{
    using (var ctx = Fixture.CreateContext())
    {
        var a = Instant.FromUtc(2018, 09, 21, 0, 0, 0);
        // Could use `Instant.MaxValue`, but the value is ignored when the bound is infinite.
        var b = default(Instant);
        var item = new NodaTimeTypes
        {
            Id = 649,
            TimestampRange =
                new NpgsqlRange<Instant>(
                    lowerBound: a, lowerBoundIsInclusive: true, lowerBoundInfinite: false,
                    upperBound: b, upperBoundIsInclusive: false, upperBoundInfinite: true)
        };
        ctx.NodaTimeTypes.Add(item);
        ctx.SaveChanges();
    }
}

Next steps
This looks like it deserves some more thought on our end. Either a more explicit error message, or overflow detection when writing to the buffers. Possibly even special value detection to treat Instant.MaxValue and Instant.MinValue as their respective infinities.
/cc @roji @YohDeadfall

Some relevant snippets:
From TimestampHandler.cs:
// We need to write the number of microseconds from 2000-01-01T00:00:00.
internal static void WriteInteger(Instant instant, NpgsqlWriteBuffer buf)
    => buf.WriteInt64((long)(instant - Instant2000).TotalNanoseconds / 1000);

From Duration.cs:
/// <summary>
/// Gets the total number of nanoseconds in this duration, as a <see cref="Double"/>.
/// </summary>
/// <remarks>The result is always an integer, but may not be precise due to the limitations
/// of the <c>Double</c> type. In other works, <c>Duration.FromNanoseconds(duration.TotalNanoseconds)</c>
/// is not guaranteed to round-trip. To guarantee precision and round-tripping,
/// use <see cref="ToBigIntegerNanoseconds" /> and <see cref="FromNanoseconds(BigInteger)"/>.
/// </remarks>
/// <returns>This duration as a number of nanoseconds, represented as a <c>Double</c>.</returns>
public double TotalNanoseconds => ((double) days) * NanosecondsPerDay + nanoOfDay;

/// <summary>
/// A quick check to tell whether this duration is within the range of an Int64 value of nanoseconds
/// (roughly +/- 292 years). This is conservative as it only checks the days field -
/// there may be values just within Int64 range for which this property returns true, but they're
/// unlikely to come up... this property should *only* be used for optimization purposes.
/// </summary>
internal bool IsInt64Representable => days >= MinDaysForLongNanos && days <= MaxDaysForLongNanos;

/// <summary>
/// Conversion to a <see cref="BigInteger"/> number of nanoseconds, as a convenient built-in numeric
/// type which can always represent values in the range we need.
/// </summary>
/// <returns>This duration as a number of nanoseconds, represented as a <c>BigInteger</c>.</returns>
[Pure]
public BigInteger ToBigIntegerNanoseconds()
    => IsInt64Representable
          ? ToInt64NanosecondsUnchecked()
          : ((BigInteger) days) * NanosecondsPerDay + nanoOfDay;

Opened npgsql/npgsql#2200 to address the overflow.

Why npgsql log output shows correct values for range?

Executing statement(s):
INSERT INTO "InstantEntities" ("Valid")
VALUES ($1)
RETURNING "Id"
Parameters:
$1: [2018-09-21T00:00:00Z,9999-12-31T23:59:59Z)

The log is showing you the actual value of the Instant value. But that value is wrapping around when TimestampHandler writes the value to the buffer as a 64-bit integer of the microseconds since 2000-01-01.


Backport "HBASE-27567 Introduce ChaosMonkey Action to print HDFS Cluster status" to branch-2.4

Signed-off-by: Reid Chan<EMAIL_ADDRESS>Signed-off-by: Duo Zhang<EMAIL_ADDRESS>

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  0s
Docker mode activated.

-0 :warning:
yetus
0m  5s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2.4 Compile Tests _

+1 :green_heart:
mvninstall
2m 28s
branch-2.4 passed

+1 :green_heart:
compile
0m 18s
branch-2.4 passed

+1 :green_heart:
shadedjars
4m 28s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 11s
branch-2.4 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 32s
the patch passed

+1 :green_heart:
compile
0m 20s
the patch passed

+1 :green_heart:
javac
0m 20s
the patch passed

+1 :green_heart:
shadedjars
4m 32s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 10s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
0m 45s
hbase-it in the patch passed.

17m 59s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4974/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4974

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 64db4e54776c 5.4.0-1088-aws #96~18.04.1-Ubuntu SMP Mon Oct 17 02:57:48 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.4 / ae1ec90680

Default Java
Temurin-1.8.0_352-b08

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4974/1/testReport/

Max. process+thread count
808 (vs. ulimit of 30000)

modules
C: hbase-it U: hbase-it

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4974/1/console

versions
git=2.34.1 maven=3.8.6

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Some maven bug?
[ERROR] An internal error occurred during: "Sending build events with disabled autobuild".
java.lang.IllegalStateException: Job manager has been shut down.
    at org.eclipse.core.internal.jobs.JobManager.schedule (JobManager.java:1295)
    at org.eclipse.core.internal.jobs.InternalJob.schedule (InternalJob.java:385)
    at org.eclipse.core.runtime.jobs.Job.schedule (Job.java:654)
    at org.eclipse.core.internal.resources.SaveManager.snapshotIfNeeded (SaveManager.java:1435)
    at org.eclipse.core.internal.resources.Workspace.endOperation (Workspace.java:1505)
    at org.eclipse.core.internal.events.AutoBuildJob$AutoBuildOffJob.run (AutoBuildJob.java:325)
    at org.eclipse.core.internal.jobs.Worker.run (Worker.java:63)


:start not working?

I cant set start date. It is set to -24 hours.
This is working with rrdtool:
>          --start<PHONE_NUMBER> \
>          --step 86400 \
>          DS:mem:GAUGE:600:0:1001 \
>          RRA:LAST:0.5:1:10

Produces:
rrdtool fetch target.rrd LAST --start<PHONE_NUMBER>
                            mem

1326153600: -nan
1326240000: -nan
1326326400: -nan
1326412800: -nan
1326499200: -nan
1326585600: -nan
1326672000: -nan
1326758400: -nan
1326844800: -nan

How expected.
But RAW API:
RRD::Wrapper.create "myrrd.rrd","--start", "1326067200", "--step", "86400", "DS:values:GAUGE:172800:0:1001", "RRA:LAST:0.5:1:10"

Produces:
RRD::Wrapper.fetch "myrrd.rrd", "LAST"
=> [["time", "values"], [0, NaN]]

And DSLs:
ruby-1.9.2-p290 :124 >     datasource "values", :type => :gauge, :heartbeat => 2.days, :min => 0, :max => 1001
ruby-1.9.2-p290 :125?>   archive :last, :every => 1.day, :during => 11.days
ruby-1.9.2-p290 :126?>   end

Produces:
["time", "values"]
[1326672000, NaN]
[1326758400, NaN]
 => [["time", "values"], [1326672000, NaN], [1326758400, NaN]]

I thought Im using DSLs archive wrong, or thats problem in DSLs, but it looks like problem in something else.
Can you try it, please and check it?
//EDIT: Actually it looks like problem with fetch. Fetch from rrdtool displays expected values also from databases created with steps described upper.

Try using the DSL with:
rrd.create :start => Time.now - 10.days, :step => 1.day
or
rrd.create :start => 10.days.ago, :step => 1.day
and tell me if it solves your issue.

I didnt. But it really looks like problem with fetch.
I tried, what you adviced:
rrd.create :start => 10.days.ago, :step => 1.day do
ruby-1.9.2-p290 :151 >     datasource "values", :type => :gauge, :heartbeat => 2.days, :min => 0, :max => 1001
ruby-1.9.2-p290 :152?>   archive :last, :every => 1.day, :during => 10.days
ruby-1.9.2-p290 :153?>   end
 => true

Result:
["time", "values"]
[1326672000, NaN]
[1326758400, NaN]
 => [["time", "values"], [1326672000, NaN], [1326758400, NaN]]

But rrdtool:
rrdtool fetch bbb.rrd LAST --start<PHONE_NUMBER>
                         values

1326153600: -nan
1326240000: -nan
1326326400: -nan
1326412800: -nan
1326499200: -nan
1326585600: -nan
1326672000: -nan
1326758400: -nan
1326844800: -nan

Of course. That makes sence. Thank you. I have to start using your library more intuitively. Its working like a charm.


Add PropertyConfigWidget

The PropertyConfigWidget generates control elements on the fly and acts as a container for them.
The intention is to replace ImGui control elements that currently allow devs to try out a lot of different UI changes.
Demo: https://screenshot.googleplex.com/3F57piHHZPstrdH

Very very nice! For a short moment I was thinking about possible deduping code in AddWidgetForProperty between float and int, but I think it would thinks more complicated (and not less)

I debated both options - even tried to write a unified version. I think the current level of code duplication is the better trade off. A unified version needs quite a few customization points which makes it pretty complex.


Yagi not supported for IDA interactive debugging

Hi there,
IDA allow users to analyze between static & debugging. however, Yagi use F7 as hotkey, it will let users cannot do single-step in dynamic mode. besides, Yagi is not stable and easy to crash in dynamic mode :(

Hello,
Thanks for your feedback, indeed I changed because on linux i had some strange behavior with my first choice. I will switch to F3 key that seems to free for both distrubution.
Could you be more explicit vy "Yagi is not stable and easy to crash in dynamic mode" please?
Have a nice day,
Sylvain

Done in last release, please open another issur for crash.
Now decomilation is available using F3 key!
Have a nice day!


Fixed the unclickable area in MSO-PC for the buttons

Notes for the previous Issue #359 fixed here, following the discussion at Issue #2565
In getStyles.td:
Removed the mso-padding-alt as inner padding cause is no longer needed when the size of the button is controlled by the padding in the anchor. If I keep the MSO-attribute, the button will be shown as twice the size in MSO-PC.
in getStyles.content:
Removed the mso-padding-alt: 0px cause is nullifying the effect of activating the anchor as a button in MSO-PC. The padding in the anchor is now effectively creating the internal size of the button.
Added border:
1px solid which activates a "bug" in MSO-PC, forcing MSO to read the display attribute of the button (default: inline-block) and thus, changing the behavior of the anchor in MSO to act like a common anchor in all the other readers/browsers.
To avoid non-corresponding colours between the background of the container TD and the border created in the anchor, I added the this.getAttribute('background-color') property to the style, aligning both colours, minimizing the unwilling mismatching.
Results in MSO-PC

Tested in EoA:

Tested in Litmus

Thanks for this PR it might be the greatest improve on button compatibility this far. I'll try to get some time this month to get this tested and merged 🎉

When it'll be merged?

Any updates on this? When it will be merged?

I would also love to see this merged and released! 😸
Happy to help with testing or anything else that needs doing.

Sorry for the wait I'd like to release in it's own version ! Can you fix the lint issue @fernamp  ? Thanks !

Updated. Sorry for the delay. I missed the last message!

It's totally me here PR is open for wayyy too long. I'm trying to get this merge next week thanks a lot for the update ! <3

Mmm I will try to fix that again, but is kind of weird that everything works but linter doesn't like the concatenation.
Someone can help and say if there is a better way to write that concatenation beside the variable?
border: this.getAttribute('background-color') + ' 1px solid',
Should I create a var to get the background color and then concatenate the 1px solid? or what?  Help much appreciated.

border: `${this.getAttribute('background-color')} 1px solid`,

Should satisfy the linter here 👍

I'll test it! Thanks!

Can this be merged?

wen?

Can we get this merged??

Would be great if this could be merged

It's been a while, can someone else just fix the lint issue?

What is holding this PR from being merged? Is there anything the community can further assist with to push this through? Kindly looking forward the merge, @iRyusa @fernamp

After some testing it look like multiline button behave weird with this
tech. Need some more testing on my side to see what's happening :/
On Sat, Feb 10, 2024 at 12:13 AM renchris @.***> wrote:

What is holding this PR from being merged? Is there anything the community
can further assist with to push this through? Kindly looking forward to the
merge, @iRyusa https://github.com/iRyusa @fernamp
https://github.com/fernamp
—
Reply to this email directly, view it on GitHub
https://github.com/mjmlio/mjml/pull/2591#issuecomment-1936724202, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAELHTPZVQ5PMESBY7AOD3DYS2UP7AVCNFSM6AAAAAASR4STZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWG4ZDIMRQGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

This worked for me changing the display: inline-block to display: block as Outlook on macOS and Chrome browser had the button not fully clickable until that change.
MJML
<mj-raw>

         Start Registration

</mj-raw>

HTML

       Start Registration

I used MJML v4.15.2 with the terminal command mjml -r mjml-input-template.mjml -o html-output-template.html instead of the MJML desktop app which just uses MJML v4.12.0


AggregatorFactory: Use guessAggregatorHeapFootprint when factorizeWithSize is not implemented.

There are two ways of estimating heap footprint of an Aggregator:

AggregatorFactory#guessAggregatorHeapFootprint
AggregatorFactory#factorizeWithSize + Aggregator#aggregateWithSize

When the second path is used, the default implementation of factorizeWithSize is now updated to delegate to guessAggregatorHeapFootprint, making these equivalent. The old logic used getMaxIntermediateSize, which is less accurate.
Also fixes a bug where, when using the second path, calling factorizeWithSize on PassthroughAggregatorFactory would fail because getMaxIntermediateSize was not implemented. (There is no buffer aggregator, so there would be no need.)

@LakshSingla I think you're right that the exception should ideally be a DEFENSIVE. We expect this never to happen, which is classic defensive. The fact that it was seen at one point is a bug that this PR fixes. My only note really would be that, IMO, the "Treat this exception as a bug…" is unnecessary. I'm not sure if we want the message, but if we do, it would actually make sense on every DEFENSIVE exception so would make more sense to bake into the DEFENSIVE exception generator or mapper itself.


Update to Unicode 14.0

I made a few tweaks to the script, re-ran it, and looked through all the ranges in UnicodeData.txt to add them and update them as necessary.

looks great, thanks!


Major improvements to electron wrapper

Fixed issue #1285
Temp fix but not really for  issue #1229
Added overlay (windows and linux only, not tested on linux)

Overlay can be used on any non-full screen application
Shows the current speaking state of the speakers in the room
Custom keybinds for overlay can be set
Is very jank

Which language is et?

Which language is et?

Pardon me i didn't get you?

-57k lines moment

nvm

nvm

👍

The bulk of the negative lines appear to be from package-lock.json so I'm not concerned about it.

No way vercel bot actually passed the check

It appears that it is.

@TheOtterlord can you check now if it's all fixed?
also @benawad i added the react app for the overlay in baklava. baklava/resources/overlay

ok i knew it was going to be a big PR but didn't know its going to be THIS BIG

Looks good

👍


PLDM PDR: Add support for IOSCM rainier 1S-4U

Signed-off-by: Sridevi Ramesh<EMAIL_ADDRESS>

Can one of the admins verify this patch?

add to approvelist

upstream commit : https://gerrit.openbmc-project.xyz/c/openbmc/pldm/+/49238


fix: Upgrade CI workflows to use non-deprecated runtimes

Description

The Release and Lock workflow are using an old version and hence a deprecated runtime (Node.js 12). Bumping these workflows will resolve the deprecation warning in the affected workflows.
Motivation and Context

Make sure that CI workflows uses non-deprecated runtimes.
Breaking Changes

None.

Thanks @dev-slatto !
I have changed the prefix in the PR title to "fix" to be able to run this one and verify that it works as expected. If it does, I will merge all 40+ other right away (well, as quick as I can click).

This PR is included in version 4.3.2 :tada:

The release workflow works as expected. Thank you for the fix!


VM worker with VFs (igb_uio) unable to allocate device to pod

What Happened:
The sriov-network-device-plugin ignores VFs attached to a VM if these VFs are attached to a DPDK driver.
What you expect to happen:
VFs running DPDK drivers show up in the k8s node allocatable devices
Anything else we need to know:
Kubernetes version (use kubectl version):
v1.15.1
OS
Linux k8s-master 4.4.0-154-generic #181-Ubuntu SMP Tue Jun 25 05:29:03 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
confgMap for sriov-network-device-plugin
apiVersion: v1
kind: ConfigMap
metadata:
  name: sriovdp-config
  namespace: kube-system
data:
  config.json: |
    {
        "resourceList": [{
                "resourceName": "intel_sriov_netdevice",
                "selectors": {
                    "vendors": ["8086"],
                    "drivers": ["igbvf"]
                }
            },
            {
                "resourceName": "intel_sriov_dpdk",
                "selectors": {
                    "drivers": ["igb_uio"]
                }
            }
        ]
    }

logs from kube-sriov-device-plugin
I0726 16:38:55.091365   16198 manager.go:70] Using Kubelet Plugin Registry Mode
I0726 16:38:55.091818   16198 main.go:44] resource manager reading configs
I0726 16:38:55.092687   16198 manager.go:98] ResourceList: [{ResourceName:intel_sriov_netdevice IsRdma:false Selectors:{Vendors:[8086] Devices:[] Drivers:[igbvf] PfNames:[] LinkTypes:[]}} {ResourceName:intel_sriov_dpdk IsRdma:false Selectors:{Vendors:[] Devices:[] Drivers:[igb_uio] PfNames:[] LinkTypes:[]}}]
I0726 16:38:55.093015   16198 main.go:60] Discovering host network devices
I0726 16:38:55.093057   16198 manager.go:179] discovering host network devices
I0726 16:38:55.149207   16198 manager.go:209] discoverDevices(): device found: 0000:00:03.0     02              Red Hat, Inc.           Virtio network device
E0726 16:38:55.149346   16198 manager.go:230] discoverDevices() error adding new device: "open /sys/bus/pci/devices/0000:00:03.0/net: no such file or directory"
I0726 16:38:55.149683   16198 manager.go:209] discoverDevices(): device found: 0000:00:07.0     02              Red Hat, Inc.           Virtio network device
E0726 16:38:55.149769   16198 manager.go:230] discoverDevices() error adding new device: "open /sys/bus/pci/devices/0000:00:07.0/net: no such file or directory"
I0726 16:38:55.149781   16198 manager.go:209] discoverDevices(): device found: 0000:00:08.0     02              Red Hat, Inc.           Virtio network device
E0726 16:38:55.149877   16198 manager.go:230] discoverDevices() error adding new device: "open /sys/bus/pci/devices/0000:00:08.0/net: no such file or directory"
I0726 16:38:55.149889   16198 manager.go:209] discoverDevices(): device found: 0000:00:09.0     02              Intel Corporation       I350 Ethernet Controller Virtual Func...
I0726 16:38:55.150219   16198 manager.go:278] ens9 added to linkWatchList
I0726 16:38:55.150386   16198 manager.go:209] discoverDevices(): device found: 0000:00:0a.0     02              Intel Corporation       I350 Ethernet Controller Virtual Func...
I0726 16:38:55.150584   16198 manager.go:278] ens10 added to linkWatchList
I0726 16:38:55.150785   16198 manager.go:209] discoverDevices(): device found: 0000:00:0b.0     02              Intel Corporation       I350 Ethernet Controller Virtual Func...
E0726 16:38:55.150882   16198 manager.go:230] discoverDevices() error adding new device: "open /sys/bus/pci/devices/0000:00:0b.0/net: no such file or directory"
I0726 16:38:55.150899   16198 manager.go:209] discoverDevices(): device found: 0000:00:0c.0     02              Intel Corporation       I350 Ethernet Controller Virtual Func...
E0726 16:38:55.151000   16198 manager.go:230] discoverDevices() error adding new device: "open /sys/bus/pci/devices/0000:00:0c.0/net: no such file or directory"
I0726 16:38:55.151013   16198 main.go:66] Initializing resource servers
I0726 16:38:55.151020   16198 manager.go:108] number of config: 2
I0726 16:38:55.151027   16198 manager.go:111]
I0726 16:38:55.151033   16198 manager.go:112] Creating new ResourcePool: intel_sriov_netdevice
I0726 16:38:55.151046   16198 factory.go:144] device added: [pciAddr: 0000:00:09.0, vendor: 8086, device: 1520, driver: igbvf]
I0726 16:38:55.151054   16198 factory.go:144] device added: [pciAddr: 0000:00:0a.0, vendor: 8086, device: 1520, driver: igbvf]
I0726 16:38:55.151070   16198 manager.go:125] New resource server is created for intel_sriov_netdevice ResourcePool
I0726 16:38:55.151078   16198 manager.go:111]
I0726 16:38:55.151084   16198 manager.go:112] Creating new ResourcePool: intel_sriov_dpdk
I0726 16:38:55.151096   16198 manager.go:125] New resource server is created for intel_sriov_dpdk ResourcePool
I0726 16:38:55.151106   16198 main.go:72] Starting all servers...

This patches the issue for me, I see the VFs getting assigned to the pod if I ignore the "net" directory, which doesn't exist for igb_uio devices in VMs, not sure about BM interfaces. The pod gets its requested VFs  even after restarts with this kludge.
+++ b/pkg/utils/utils.go
@@ -66,7 +66,7 @@ func GetPfName(pciAddr string) (string, error) {
                        path := filepath.Join(sysBusPci, pciAddr, "net")
                        files, err = ioutil.ReadDir(path)
                        if err != nil {
-                               return "", err
+                               return "", nil
                        }
                        if len(files) < 1 {
                                return "", fmt.Errorf("no interface name found for device %s", pciAddr)

@ErMaVi Current implementation of this plugin mainly focused on Baremetal deployment. We haven't really considered yet deploying device plugin with Multus and SR-IOV CNI plugin in VM environment. There are number of challenges:

We need to get access to PF interface for administrative tasks required to setup a VF
Determining device health status

Which VM should have access to the PF control plane? All of them? It looks like every VM will demand to have access to PF to setup a VF. I welcome any solution that could address those issues in safe and secure manner for VM scenarios.

Thanks for your response.
I'm interested in a DPDK application running in a k8s cluster in the public cloud. Cloud providers will generally provide VMs.  In this scenario there's no need for Multus or SR-IOV CNI plugin, there's no need to add an IP address to the VF since it will be taken over by the application. (Although we could pass an IP/MAC/VLAN address as environment variables into the pod, and have the DPDK application use that, in that case we would use Multus and SR-IOV plugins).
My understanding is that a cloud provider will pass a VF (or several) to a VM. The VM will have no access whatsoever to the PF underneath, there cannot be any administrative tasks performed on the PF since that would affect other VMs. Once the VF is bound to the igb_uio driver, and stops using the linux driver, the "net" directory will disappear since the VF will now belong to the user space application. In this scenario, the network device plugin could simply attach the device to the pod requesting igb_uio devices.
I'm not sure about how to determine the health of such a device though, the kernel will not have access to it and only a DPDK application should be able to access it. But perhaps this is not necessary since the DPDK application running in the pod should be able to determine the health of the device and take action.
The steps outlined above are roughly these:

On VM boot - the VFs get bound to the igb_uio DPDK driver
The sriov-network-device-plugin identifies the igb_uio devices in each k8s node
A pod requesting an igb_uio device will get the device attached, if such a device exists in one of the nodes in the cluster.
Pod's DPDK application will init the igb_uio device and use the IP passed in the pods environment.
DPDK application can monitor the igb_uio device and take action if unhealthy
When a POD ceases to exist, the sriov-network-device-plugin should return the igb_uio device to the free pool.

As a timely workaround, you can make use of sr-iov network device plugin v2.1.0, that works without selector configuration.
{
"resourceList":
[
{
"resourceName": "sriov_net_A",
"rootDevices": ["0000:05:01.0", "0000:05:02.0", "0000:05:03.0"],
"sriovMode": false,
"deviceType": "uio"
}
]
}

@ErMaVi can you update on whether or not this solution worked for you?

Closing as stale.


[Icon Request] Java Server Pages

Checklist:

[x] I'm sure this issue is not a duplicate?
[x] I want to create an icon request(if not, remove these lines below):
- Type: extension
- Icon Name: jsp
- Sample original Icon : Java Server Pages
- Extensions: .jsp

We are already supporting the jsp extension.  Do you happen to have your suggested icon in svg?

To be honest the icon needs a revamp.

Yes, it really needs a revamp. In fact, that one its an png, i will look for an svg sample.

I think this one is better (https://www.brandsoftheworld.com/logo/jsp)

I found the link to the flaticons.com, but the free download said you must credit the author, so i dont how to do that
Here`s it

I really liked that black one, but now i`m thinking it may not show properly with dark themes of vscode

Or even the letter from this one. .

Huuum, yes, i guess only the letter will do it

I really liked that black one, but now i`m thinking it may not show properly with dark themes of vscode

Bingo.

So, pick one of those, its gonna be awesome.

About the color, it can be easily changed depending on the theme so... I guess the problem is more about the icon license. I also like the black one but I think that using the JSP letters with that font will be recognizable enough, too, so 👍


Added more headers for security

Fixes #162
To test: Open fiddler, run project on this branch, check to see if Header includes
"X-XSS-Protection: 1; mode=block
X-Frame-Options: DENY
X-Content-Type-Options: NOSNIFF "

Content headers appear as expected 👍 :shipit:


Azure IoT Connection Issues

The Docker.DotNet library is being invoked from a .net core Azure IoT agent running within Docker.  We are using this library to control pulling Docker images and creating  corresponding containers.  We have found that when this library is used within the context of an IoT agent or server application, it will result in making the Azure IoT connection unstable.
The first issue was seen on the service (asp.net core WebApi) that communicates with the device via Azure by setting desired-properties and making direct method calls.  The library was being using sparingly by the service to list images on a specific Docker registry.  The issue was not constant, but after listing the images, on occasion, it would make future device calls to fail.
Since the use of the library was limited by the service, it was replaced by getting the list of Docker packages by making a REST api call to the registry.  Since the removal of Docker.DotNet from the service code, there has been zero issues from the perspective of the service.
However, as explained above, Docker.DotNet is being used more extensively on the Azure IoT device agent.  Our device agent will run but we have found that after using the Docker.DotNet client, it can make the device's IoT DeviceClient disconnect and eventually make the device go offline.  This does not happen on every call to the Docker client, so it is not easy to reproduce.
We are currently running the following two test Scenarios:

The device agent with the calls to Docker.DotNet stubbed out and replaced with logs messages.  This device has been running for a week without issues.

Another device with a test script running in the Web Client that alters between pulling two different docker package versions every 5 minutes.  The Web browser switches between two docker packages and creates corresponding containers on the device by invoking the REST Api on our service.  The service in turn sets the desired docker image version information on the device's desired-properties.  This causes the device to observe the updated version and triggers the package download and container creation.  We just started this test scenarios this morning and going to see if we can get it to reproduce the issue.

We are not 100% certain that our issue is caused by the Docker.DotNet library.  However, once removed from our IoT service, all Azure IoT connection issues are gone.  Also, our test device with the Docker.DotNot code stubbed out has not experienced any connection issues since running for now a week.
Output of dotnet --info:
.NET Core SDK (reflecting any global.json):
 Version:   2.2.106
 Commit:    aa79b139a8

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.14
 OS Platform: Darwin
 RID:         osx.10.14-x64
 Base Path:   /usr/local/share/dotnet/sdk/2.2.106/

Host (useful for support):
  Version: 2.2.4
  Commit:  f95848e524

.NET Core SDKs installed:
  2.1.505 [/usr/local/share/dotnet/sdk]
  2.2.106 [/usr/local/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.9 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.9 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.9 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

What version of Docker.DotNet?:
    <PackageReference Include="Docker.DotNet" Version="3.125.2" />

Please also not that at runtime, the agent is running on linux and not on MacOs.


Add custom sidebar items to View menu

This confuses users that it's absent, especially if the sidebar is hidden. A picture is worth a 1000 words:

Note that if you right click on the sidebar, it does show up, so users expect the same to happen in the View menu:

The list is currently static and built-in views. This is to ensure that the menus are not overrun by entries as well as ensure the user can find built-in views no matter how complicated added extensions make the UI. I don't personally see this as something we would change.


19 Enable Jetstream

https://github.com/C0D1UM/django-nats-client/issues/19

Codecov Report

Merging #20 (7b32ab7) into main (2934ddd) will increase coverage by 1.96%.
The diff coverage is 65.62%.

: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      #20      +/-   ##
==========================================
+ Coverage   50.00%   51.96%   +1.96%
==========================================
  Files           6        6
  Lines          92      102      +10
  Branches        8        8
==========================================
+ Hits           46       53       +7
- Misses         46       49       +3

Impacted Files
Coverage Δ

nats_client/handlers.py
0.00% <0.00%> (ø)

nats_client/clients.py
36.17% <57.14%> (+3.67%)
:arrow_up:

nats_client/registry.py
100.00% <100.00%> (ø)

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


Publish 02/23/2022 3:30 PM PT

Docs Build status updates of commit 392e994:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Connect-ExchangeOnline.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-DlpComplianceRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-QuarantinePolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/New-UnifiedGroup.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Remove-UnifiedGroup.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Remove-UnifiedGroupLinks.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-DlpComplianceRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-QuarantinePolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-UnifiedGroup.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Documentation issue with CUDA

On this page:
http://nd4j.org/gpu_native_backends.html
Only one out of two dependeincies mentioned. nd4j-jcublas-parent is missing, however it's required for successful execution

that seems to be fixed in current master, and no changes needed


Added 0/1 Knapsack

Added 01Knapsack.cpp in C++/Knapsack/

Why didn't you merge my PR?
What's the problem?


Taking care of the case when no secret file exits

Instead of having an ugly error message like this:

I added an exception. Now a simpler and more direct message notifies the user that there's something wrong with the secrets.toml file.

I think we can check for the secrets with something like this in the home page
if not st.secrets.get(Secret key name):
      use st.info to show that key is not added

and if secrets are there we can put a flag in  st.session  then before accessing the secrets we can check the flag

That's fine by me.
@jerryjliu ?


Implement sendPushMessage

Implementing a push message service would require adding yet another remote API, since I don't think it'll make the installation process better, I'm closing this for the moment.


Build failure: samsung-unified-linux-driver

Steps To Reproduce
Steps to reproduce the behavior:

nix build github:nixos/nixpkgs/nixos-unstable#samsung-unified-linux-driver

Build log
trying http://www.bchemnet.com/suldr/driver/UnifiedLinuxDriver-4.01.17.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
^M  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0^M  0     0    0     0    0     0      0      0 --:--:-- -->
curl: (7) Failed to connect to www.bchemnet.com port 80 after 164 ms: Couldn't connect to server
error: cannot download UnifiedLinuxDriver-4.01.17.tar.gz from any mirror

Additional context
Looks like the site where this was hosted has gone offline. I was getting a different error yesterday, a server error stating that the account had gone over quota, but now www.bchemnet.com is refusing all connections.
The file is still available on the Wayback Machine at https://web.archive.org/web/20230427084635/http://www.bchemnet.com/suldr/driver/UnifiedLinuxDriver-4.01.17.tar.gz.
Notify maintainers

@jokogr
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 6.7.0, NixOS, 24.05 (Uakari), 24.05.20240127.c002c6a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.19.3`
 - channels(jez): `""`
 - channels(root): `"home-manager, nixos"`
 - nixpkgs: `/nix/store/0g53xyh39z3y90p4d8r341wbqyjy1zhl-source`

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

I just had this same issue, but can also confirm its not the fault of Nix.
Sometimes the download mirrors just dont work for a tiny bit or refuse to let you download the file and that causes this issue.
All i had to do to "fix" this is, is trying again after 10 minutes and it worked flawlessly.
@jezcope Since this is an issue that comes from infrastructure that has nothing to do with Nix, i would like to close this issue, are you ok with that?


Delete DropDownBarClient

The DropDownBarClient code is all #if FALSE commented out and slowly accumulating errors. If we need to restore this at any point, it's in source control.
#924 Deletes the only other commented out references to this class.

:+1:


Admin view feature

- frontend exists with /admin wireframe
- backend initial freatures, view exists
- model updated to include staff
- initial pop_res.py functionality forklifted to /views/admin.py
- backend and frontend startup from make
- end to end verified admin login to guest load

I think this is a good MVP
would merge


Optimize timestamp of generated file and no-RTTI

Codecov Report
Patch coverage: 100.00% and project coverage change: -0.04 :warning:

Comparison is base (ddfd855) 89.83% compared to head (fe78eb9) 89.79%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##               v2      #49      +/-   ##
==========================================
- Coverage   89.83%   89.79%   -0.04%
==========================================
  Files          36       36
  Lines        2773     2774       +1
==========================================
  Hits         2491     2491
- Misses        282      283       +1

Impacted Files
Coverage Δ

include/libcopp/utils/intrusive_ptr.h
100.00% <ø> (ø)

include/libcotask/this_task.h
100.00% <ø> (ø)

include/libcotask/task.h
90.42% <100.00%> (+0.03%)
:arrow_up:

... and 1 file with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Make egress-policy block explicit on the insights website

Even though block is the default value for egress-policy, it is better to have it be set to block explicitly. This makes it easier to change it to audit if traffic is blocked, and the workflow needs to be run in audit mode again.
https://github.com/Automattic/vip-go-mu-plugins/pull/2815/files#r786925704

done


More valid classes.

Resumption for research class actually includes the contents of the other classes we were required so it's okay.

Coverage remained the same at 81.947% when pulling 2f9977d9d8eddca7ea6095f4d6a39008b81d0e91 on more_classes into 1c2607841df715f116a0eb596beafceba03c4b49 on master.


Allow a Karate framework to integrate with Allure Reporting and export variables to Python files. I see when using karate with Python there is no integration with external Files of python language and reporting

Allow a Karate framework to integrate with Allure Reporting and export variables to Python files. I see when using karate with Python there is no integration with external Files of python language and reporting

sorry, closing as wontfix