[staging] Command line in Download Options dialog is too close to Copy link, almost overlapping

Steps to Reproduce

Click on [Download..] button in Single Run page
Click on Download Tomogram option
Click on [Next] button
Click on via cURL option as a Download Method
Pay attention to command line

Actual Results
Command line is too close to Copy link, almost overlapping
Expected Results
There should be enough space between Command line and Copy link
Design

Evidence

no longer repro so closing this one... thank you!!!


:seedling:  Add release notes into PR template

Summary
Related issue(s)
Fixes #
NONE

Before we merge this, maybe we should first revisit my hasty decision to enable the release-note plugin.
Currently we use goreleaser, which will not use the release-note block. We used it at Kubermatic with a custom changelog generator, inspired by Kubernetes upstream. Do we want this in kcp even, or do we want to continue using goreleaser?
Without goreleaser, I guess there is more work to be done in preparing the Github release info.
@sttts WDYT?

I like release notes plugin, makes things easier and PR author responsibility to write meaningful messages. Especially when we don't have release team

I too like the release plugin.

@sttts WDYT?

@xrstf no strong opinions. We should use what has proven to work well and minimizes work. What is that special goreleaser you are talking about? A fork?

What is that special goreleaser you are talking about? A fork?

https://github.com/kubermatic/gchl
AFAIK it did not start as a fork of any existing tooling. It's a simple tool to use the Github API to query for PRs, then extract the release-notes, reformat them a bit, sort them alphabetically and output markdown on stdout. Compared to kubernetes tooling (I think) it does not attempt any grouping ("API Changes", "New Features", "...") itself, but relies on a human to postprocess the Markdown.

I like the release note block too. Looks like we all agree on that.
@xrstf https://github.com/kubermatic/gchl IMO is worth a try. @mjudeikis wants to try doing a release soonish. Maybe the right time to switch over and see how it goes?

Cool, then let's merge this.
I can
/lgtm
someone else needs to /approve :grin:

/approve

/retest

I don't know why but the merge pool was empty although this PR looked good, so I hope the retest will move it over the finish line and let prow merge it.

/retest


More functional ownsDocument example

As this is not obvious for some developers how to edit this function to handle such functionality, I'm suggesting this update for docs.

Allow in ownsDocument security method handle various owner identification fields, default field name is userId
Security method ownsDocument is useless if we can check only by ownerId

Thanks!


Incompatibility between Deadpool and Cornucopia

I'm getting the same errors as described in #53, even though deadpool is pinned to 10.5.
Downgrading cornucopia from the latest 0.6.0 to 0.4.0 makes it work as described.

Fixed


Headings.yaml seems to flag any heading that contains punctuation

I'm setting up Vale to run some of these Microsoft rules as an automated Jenkins test for our Sphinx documentation and it's mostly working beautifully. I'm a little puzzled by the output for some of the headings. For example:
Top-level entities
------------------

Modules include five kinds of top-level entity: predicates, classes, modules, aliases, and select clauses.

Non-member Predicates
~~~~~~~~~~~~~~~~~~~~~

A *predicate* is declared as a sequence of annotations, a head, and an optional body:

Find the thief: Introduction
============================

There is a small village hidden away in the mountains.

Gives the following output:
test.rst
 1:1   suggestion  'Top-level entities' should use sentence-style capitalization.            Microsoft.Headings
 6:1   suggestion  'Non-member predicates' should use sentence-style capitalization.         Microsoft.Headings
 11:1  suggestion  'Find the thief: Introduction' should use sentence-style capitalization.  Microsoft.Headings

As far as I can tell, all of these headings use sentence case already. Is there anything that I could change or configure to stop it flagging these headings?

This appears to be a bug with the NLP library Vale uses: words like 'Top-level' aren't split into two tokens, so 'Top-Level' becomes the expected capitalized form.
I'll fix this in the next release of Vale, which I should get out in a day or two.

That sounds great. Many thanks for looking into this so quickly. I really appreciate it.
Regarding the colon followed by a capital letter, is this expected to be flagged up as wrong?

Regarding the colon followed by a capital letter, is this expected to be flagged up as wrong?

I think it depends on the style—e.g., Microsoft says no, while Google says yes (even though they both want sentence-cased headings).
The goal here should be to make this configurable at the rule level, I suppose.

This should be fixed in v0.4.2.


Question: AdMob Native Ads Express

Hi,
Awesome work guys, I have been using your module in a number of project, no major issues.
Question: any plans to add support for Native Ads Express (or even Advanced)?
Many thanks!

@stage88 not planned - PR welcome 👍

PRs are welcome @stage88!


AttributeError: module 'cv2.gapi' has no attribute 'wip'

Expected behaviour
The script had to RUN to record frames
Actual behaviour
Threw me the error AttributeError: module 'cv2.gapi' has no attribute 'wip'
Steps to reproduce

import cv2
that's it

example code: import cv2
operating system: Windows 11 Pro 21H2
architecture (e.g. x86): x64
opencv-python version: <IP_ADDRESS> (contrib)

Issue submission checklist

[x] This is not a generic OpenCV usage question (looking for help for coding, other usage questions, homework etc.)

[x] I have read the README of this repository and understand that this repository provides only an automated build toolchain for OpenCV Python packages (there is no actual OpenCV code here)

[x] The issue is related to the build scripts in this repository, to the pre-built binaries or is a feature request (such as "please enable this additional dependency")

[x] I'm using the latest version of opencv-python

Most probably you have more than one instance of OpenCV-Python installed on your system with different sources. Please check pip list command.

Most probably you have more than one instance of OpenCV-Python installed on your system with different sources. Please check pip list command.

Nope, I only have one OpenCV-Python version: opencv-contrib-python version <IP_ADDRESS>

FWIW
I ran into this too just now
I was able to get things back to working by simply updating all my pips

I got the same error today:
AttributeError: module 'cv2.gapi' has no attribute 'wip'
Unable to resolve so far.


http: to https:

See discussion comment.

please, where?

@luizcmarin https://github.com/yiisoft/data-cycle/pull/17#discussion_r1567667704


Jenkins Queue Task queues must be fail when its # Finished: UNSTABLE #

i m running Jenkins Queue Task queues  from azure devops.
im running my test in jenkin so i want to fail my Jenkins Queue Task whene ever
jenkin has Unstable fail or gray result. it only must success if its success or my all test run success on jenkin job..
please let me know if i can provide more information

We've introduced a new flag for this job:
failOnUnstableResult (boolean) which you can set to a true, if you want the behaviour you've requested.
It's already in the master, you can try it out.

The flag was deployed to ADO, you can test it now. Closing issue now.


Could you give PunctuationModel a init arg for config pipeline?

Firstly, many thanks for your awesome project which can help me do nice punctuation, but for transformer pipeline, I hope I can pass in some config to make it works as I expected, for e.g I wanna config local_files_only and cache_dir, but no place to config. Thanks in advance.

Oh, sorry for the late reply. You can just download the repo from huggingface and point to the directory like this:
model = PunctuationModel(model = "path/to/local/model")

PS: Feel free to reopen this if needed


[Proposal] Change of Websocket implementation

Hi BeyondCode. Love your stuff.
Things I don't like is stuff with many issues. Seems that some upstream dependencies are creating a lot of havoc regarding the WebSocket Server.
There is a pure PHP implementation of WebSockets that uses concurrency, created by the guys of amphp, the same group who figured out Fibers. It seems stable.
I may create a PR that exchanges the upstream dependencies for that, which may fix a lot of problems thanks to the bloated dependency list.

What do you think your proposal will improve from this library?
I think this library's websocket server doesn't have much issues but just some of the business logics.

Less dependencies, less moving parts, less code to write and maintain, easier debugging, potentially Fiber ready.

Sounds nice 👍🏽

@DarkGhostHunter Yeah i am too for the swoole/roadrunner implementation:) It could be the fastest websockets server for laravel with this option:) I would be happy to help you

We may need to wait until Roadrunner WS implementation becomes available. Swoole and Roadrunner are very different servers, if you check Laravel Octane and how it deals with both of them.

@DarkGhostHunter yeah. Understood. I like this project more than laravel-echo-server tbh. :)) That project is so unmaintained:(

I may be able to make something that works as a page replacement, but note that it's not my priority right now.

@DarkGhostHunter i would be happy to help :)

We could start by having a branch for Octane development and first try a Roadrunner build with a Hello world. @mpociot

Getting started on a branch sounds good to me
Why would you prefer Roadrunner over Swoole here?

@mpociot maybe because swoole doesn't support Linux for now

@DarkGhostHunter but we have to wait t'ill roadrunner release websockets support for v2

Ah i didn't know that.
Well either way, I personally focus on pushing out 2.0 shortly and afterwards I'm ready to start looking into this 🙂

@mpociot maybe because swoole doesn't support Linux for now. Maybe we can check which server Laravel WebSocket to use based on octane config. I guess thats the best bet.

Did you mean to say swoole doesn't support windows?

Operation system: Linux, FreeBSD or MacOS
Linux kernel version >= 2.3.32
PHP version >= 7.0.0
GCC version >= 4.8

https://www.swoole.co.uk/docs/get-started/prerequisites

@myckhel  yeah sorry my mistake. I wanted to say it doesn't support WIndows. @mpociot

Yeah.
By the way, in case you don't know, the way Roadrunner works is very different from Swoole.
Roadrunner acts more like a NGINX replacement. It doesn't exposes too much, but most of the heavy lifting is done by RR itself. With Swoole, more work has to be made, because it brings something like NGINX inside PHP, so you're responsable of dealing with the server in your PHP process rather than just exposing PHP-FPM to whatever.
Considering the convenience of RR implementation, it may do everything this package needs without too much code... or it will be weirdly inflexible to drop it. From what I saw, config is absurdly simple.

In any case, WS for RR is being pushed a lot, so I don't expect it to be ready soon.

Just to be clear, RR will focus on WebSocket broadcast with memory-optimized BST on Golang end. While you can handle and serve WebSocket connections via PHP (Amp, Swoole) the routing and infrastructure code required to manage a large pool of connections will consume too much memory (that's PHP, you know).
We are aiming to handle the massive amount of connections (via spatial and computation optimizations) on a single PHP node with the ability to scale horizontally using intermediate broadcast drivers.
So in short, WebSockets in Amp/Swoole will give you more low-level and more flexible access to the underlying connection at the cost of more memory. RoadRunner will hide a lot of WS abstractions in order to provide a ready-to-scale solution for WS data broadcasting (which in our opinion are 99% of WS use cases) out of the box.

@wolfy-j I got your point :) I still I think it would be better (with a lot more work) to change between RR and swoole based on Octane configuration. I mean one or another... But that's your decision not mine :P . In any case I am always here to help on both(swoole/RR ) implementations ;)

@radudiaconu0 well, I was just trying to explain the difference, not vote against the implementation :)

@wolfy-j ah..ok Btw i love this package ;)

That's one of the reasons I'm waiting for RR-WS. Swoole would come later as I suspect many other apps also depend on Swoole on it and installing RR on top wouldn't make too much sense if memory is not a big problem.

sounds like a good idea:)

I see that RR websockets have been pushed yesterday :) @mpociot @DarkGhostHunter

https://github.com/spiral/roadrunner/pull/660

We're going to need docs, as I can't tell how to use it, let alone implementing channel auth for private/presence.

@radudiaconu0 @DarkGhostHunter we did not complete the PHP SDK and Docs yet. It's not released yet. :)

Thanks, I'll stay on the look out.

@mpociot @rennokki
Is this library abandoned?
Since no comments, moderation or any form of interactions from this library's authors for a long time.

1 month hardly can be defined as abandoned.

By the way, I'm currently waiting for proper docs for the Broadcasting capabilities of RR 2. I tried to make it work to no avail this weekend. cc: @wolfy-j

Hey @DarkGhostHunter What problems did you face during implementation (what part of the docs do you think we are missed). Also, you may have a look at https://github.com/spiral/roadrunner-broadcast readme page, there are some docs and samples.

I tried to run it but I think I had something I got wrong on docker and WSL2. I'll try again later once my window opens up a little for a a proof of concept (the idea is to emulate pusher, which means authenticating channels).

Due to the lack of free time I'll have to sit this one out. Is still on my todo list but no ETA whatsoever.
It should be possible to use Roadrunner WS, as it would (at a glance) offer superior performance by handling Redis and WS on their own bus rather than using PHP entirely. The only drawback is, well, Roadrunner as a dependency (hence, Octane), but shouldn't be a problem if the developer is already using this. This is my preferred approach.
A second alternative would be to require Revolt and build from that, which next versions of amphp and ReactPHP will support. This would be cleaner, but Redis would still have to be handled through an async library, which would defeat the purpose of only using Revolt.


Update bottomBoundaryValue when new docs-page-shell lands

Just want to note that we'll want to adjust the bottomBoundaryValue in the PageLayout component when the new docs-page-shell lands. This value determines when the table of contents in the sidebar should unstick at the bottom of the page. That 450 value is specific to the bigger footer that we are currently using in the page shell. The new docs-page-shell will have a much smaller footer so we'll want to adjust.
https://github.com/mapbox/dr-ui/blob/604ba66258c892372d35a9ca6aefabb5a90abbef/src/components/page-layout/page-layout.js#L27
cc @katydecorah

Good catch, @colleenmcginnis!


fix: restrict only a seller can create a custom store front

FYI this is somehow implemented in https://github.com/bosonprotocol/interface/blob/94b2f698d2ce7a534c18e9a81524067eb8c44315/src/pages/custom-store/CustomStorePage.tsx#L73-L79


Detect whether master branch exists, and choose that by default if it does

Why should it look for master branch and use that instead of defaulting to the current branch?

@tjomson Why should it look for master branch and use that instead of defaulting to the current branch?

That works too :)


improve SF3 compression of default SoundFont

The current SF3 compression settings used for the default SoundFont (GeneralUser GS v1.471) result in very noticeable audio artifacts. Some of the most severe distortions occur on short loops. In my previous testing of SF3 compression, I found the following compression settings necessary to avoid such distortions:
sf3convert -z -q 0.8 -a -1 source.sf2 destination.sf3

This sets the OGG quality to 0.8 and attenuates the samples by 1 dB to avoid the clipping that can occur when converting to a lossy format. Yes, this does result in a larger file size, but still considerably smaller than the source SF2, with no real perceivable difference in sound quality.
Here is an audio file for comparison, using the preset 000:008 Celeste. You will hear five ascending notes recorded on each of the following GeneralUser GS copies (v1.471):

The SF3 bundled with SpessaSynth (4.7 MB)
My SF3 compressed with the recommended settings above (9.7 MB)
The uncompressed SF2 (29.8 MB).

In example 1, you can hear very obvious loop distortion, sounding as an inharmonic buzz.
In example 2, you can only hear the faintest amount of loop distortion.
In example 3, the loop buzzing is pretty much eliminated (it was never the most perfect loop to begin with).
Beyond the buzzing loops, I have noticed the sound quality is overall quite noticeably deteriorated compared to the uncompressed SF2. I realize that the whole point of the compression is to reduce the file size, and this is important for a web app for bandwidth reasons. So, I will be understanding of whatever choice you make.

Hi Christian,
thanks for the suggestion. I agree that the celesta sounds distorded in the bundled GU GS, so I'm thinking of the solution 2. (the attenuated version) though with the v2.0 release. I've also added the credits within the "demo" button.
Thank you so much for testing my synth with this comprehensively, I'll try to fix #53 soon!
PS: Will SpessaSynth have a chance to appear on the GeneralUser GS compatible synth list? :)


Console Input locks up entire IDE

Consider the following program:
addi a0, x0, 0x130 # 0x130 equals parseInt
ecall
jal pollInt
addi a0, x0, 10 # exit
ecall

pollInt:
addi a0, x0, 0x131 # 0x130 equals parseInt
addi a5, x0, 0 # we use a5 as our comparison for branching
addi a1, x0, 0 # we also need to set a1
ecall
beq a1, a5, pollInt # if no input was detected both are 0 and we need to keep polling
addi a0, x0, 1 # If we have input we echo it in the console
ecall   # If we have input we echo it in the console
jr ra   # return

Usually, it runs fine. However, when single-stepping, if you try to step over the call to pollInt in line 3, your IDE partially locks up. In particular, the terminal becomes unresponsive, as well as the stop button. So your program will wait forever since you can not enter anything in the console, and you also can not terminate the debugging. The only way out is to restart VSCode.

Thanks for mentioning the issue @JoJoDeveloping
Yes I noticed this issue actually myself already. The problem has actually nothing todo with console input but rather with the stepOver and stepOut Behaviour. When executing a long call the these operations could lock up the event loop in their old implementation.
This issue is already fixed on the master branch see here. The newest release on the marketplace doesn't contain this fix yet. I will create a new release next week. If you don't want to wait you can always build the extension yourself, see the wiki
I will close this issue when the release with the fix is published.

Thanks!

You will want to add the line
simulator.driver.timer = null;

at the beginning of VenusRuntime.start(), otherwise the behavior when executing with stopAtEntry == false is glitchy.
(I already did in my clone but I'm too lazy to PR since I also modified a bunch of other stuff that may or may not be upstream-worthy)

Yeah good find, also we need to clear the timeout.
I reopened this issue because the v1.6.1 release wouldn't start on some linux hosts. I couldn't reproduce this issue on my Linux VM. Does 1.6.1 work for you @JoJoDeveloping ? (Except the timer issue)
Further releases are halted until this issue is resolved.
Also my I ask for what purpose you are using our Venus Simulator @JoJoDeveloping ?

Another issue I had was that the dot matrix x y size values may be undefined, while the "dot matrix" property itself is not, and thus you get an exception during debug initialization.
We're planning on using this for a college class.

https://github.com/hm-riscv/vscode-riscv-venus/blob/master/src/venusDebug.ts#L250
I think changing this to
if (args.ledMatrixSize && args.ledMatrixSize.x && args.ledMatrixSize.y) {

solves this. Quick fix is to add a run configuration where these are defined.
But it might just be that this only affected me. My current local changes work under Linux.

Excellent, thank you.
Our own class is about to start next week, so happy to closely work with you on fixing any issues ;)


How to use this?

I imported this package in swift Mac app, but there is no documentation on how I can use this.

You import the modules and call the C code. it's just a thin wrapper for easy importing.


"Failed to convert timestamp to discord snowflake..." message.

Not sure if this is of interest, or not, but upon starting, I get a few of these messages:
Failed to convert timestamp to discord snowflake... Format: '2023-10-31', Timestamp: '2006-01-02' - Error:    parsing time "2006-01-02" as "2023-10-31": cannot parse "-01-02" as "3"
The filenameDateFormat was left as the default: "filenameDateFormat": "2006-01-02_15-04-05"
and I assume the other date it's mashing it with is: "autoHistorySince": "2023-10-31"

The function discordTimestampToSnowflake in discord.go have the variables swapped around.
The fix would be to swap around the function parameters, so that it says:
func discordTimestampToSnowflake(timestamp string, format string) string {
My git knowledge is basically nil, so I hope @get-got reads this. :-)

@ajgrasmeijer If you meant this section, you were totally right, I had these mistakenly reversed at this location in history.go:

Changing the parameter order of the actual function isn't the fix since that would break a lot of other things. I need to undo some recent broken thread fix attempts but once I do, I'll send this in the support discord server to see if anyone can help test the date ranges.


Console Lag Because warning spamm

[15:34:25 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:25 WARN]: [Quests] somePrefix* in config.yml is not a valid UUID for quester-blacklist
[15:34:25 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:25 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:25 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:25 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:25 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:25 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:25 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:25 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:25 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:25 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:25 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:25 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:25 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:25 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:26 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:26 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:26 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:26 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:26 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:26 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:26 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:26 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:26 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:26 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:26 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:26 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:27 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:27 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:27 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:27 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:27 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:27 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:27 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:27 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:27 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:27 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:27 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:27 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:28 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:29 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:29 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:29 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:29 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:29 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:29 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:29 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:29 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:29 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:29 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:29 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:29 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:29 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:29 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:29 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:29 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:30 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:30 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:30 WARN]: [Quests] someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:30 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
[15:34:30 WARN]: [Quests] SomeGuy12345 in config.yml is not a valid UUID for quester-blacklist
[15:34:30 WARN]: [Quests] somePrefix in config.yml is not a valid UUID for quester-blacklist
[15:34:30 WARN]: [Quests] *someSuffix in config.yml is not a valid UUID for quester-blacklist
[15:34:30 WARN]: [Quests] someRegex in config.yml is not a valid UUID for quester-blacklist
This is what it spamms all the time please help

Backup config.yml and regenerate

Thank you very much C;
Great Plugin Btw !!


Support for 2016.b

Hi, is a release with 2016.b planned? :)

It supports 2016b already. It should download automatically. If you deploy it on a server or device without internet access you can put a 2016b file on to your server manually.
Do you deploy on a server without internet access?

I have a couple of servers w/o internet access. Should I just drop the IANA files somewhere, or do I build and ets file locally and then copy it?

If you start tzdata locally with iex -S mixand have internet, it will download the newest version and generate a .ets file in the tzdata priv/releases dir: 2016b.ets
You can copy this file to your servers. E.g. to "/etc/elixir_tzdata_data/releases/2016b.ets"
Then look at the readme: the section called "Data directory and releases".
You put this config in your app: config :tzdata, :data_dir, "/etc/elixir_tzdata_data"
If you have an idea for improving the documentation and/or readme to make this more clear, please make a pull request.

I just edited my answer slightly.

Got it - we now ship updates with Ansible to hosts w/o internet access. Thanks! :)


Send email if I mention someone on shelveset

Hi,
We have an option on shelveset to write comments on the code, and we can mention user (with @).
But if I mentioned someone he didn't get an email.
This is supposed to be? can you change it?
Thank you.

@shayki5 The @mention control should work with TFVC changeset comments and shelveset comments, per Use @mentions to further discussion - it sounds like you are mentioning a user in a shelveset comment and they are not getting an email? When you leave the @mention does it pop up and let you select their name from the list?

@shayki5 You are the 2nd person to mention this, it sounds like it might be a bug. I checked into it and it looks like it could be a bug. The issues in this repo are for content feedback, and this looks like a bug. For product feedback, including bugs, please file an issue here: https://developercommunity.visualstudio.com/spaces/21/index.html
This will engage the product team directly.
Thank you


Wrong digits for BOSS in My Positions

On my positions, BOSS is shown with the wrong number of digits, i.e. 400.00 instead of 40'000.

Elsewhere, it is correct:

The example is position 0xed58b9D4f63B3dA63b13078E027C8c3F92D5D597, but it is also wrong for other BOSS positions.

done.


Can we add Assert-PathExists (or at least Assert-FileExists and Assert-DirectoryExists)

Obviously my thought is that Assert-PathExists would have an optional -PathType and would work on any provider using Test-Path and turning it into a failure ...

Wanna PR it?

Wanna PR it?


can you download saved post from a collection? or filter based on a collection?

Your question here...

I am trying to accomplish the same, such that I can convert the saved video data to text data in a PDF format from certain collections aka saved folders such that I can supercharge my LLM for certain use cases.
Heres my sample code below. Hopefully @aandergr and @Thammus see this and can assist? Im trying to build a scraping tool that grabs all saved social media for each individual that wants to use the tool.
`import sys
import time
import subprocess
import os
from instaloader import Instaloader
import speech_recognition as sr
import moviepy.editor as mp
from fpdf import FPDF
Ensure all required dependencies are installed before importing
required_packages = {
"instaloader": "instaloader",
"speech_recognition": "SpeechRecognition",
"moviepy": "moviepy",
"fpdf": "fpdf",
"imageio": "imageio",
"imageio_ffmpeg": "imageio-ffmpeg",
"tqdm": "tqdm",
"requests": "requests",
}
def install_and_import(package):
try:
import(package)
except ImportError:
subprocess.check_call([sys.executable, "-m", "pip", "install", package])
Install required packages
for module_name, package_name in required_packages.items():
install_and_import(module_name)
def login_with_2fa(L, username, password):
"""Handle login with two-factor authentication"""
try:
L.login(username, password)
except Exception as e:
if hasattr(L, 'two_factor_login'):
print("Two-Factor Authentication Required")
code = input("Enter 2FA code: ")
L.two_factor_login(code)
else:
raise e
def download_one_saved_post(L):
"""Download only the first saved video post."""
if not os.path.exists("downloads"):
os.makedirs("downloads")
print("Downloading one saved post...")
for post in L.get_saved_posts():
    if post.is_video:
        L.download_post(post, target="downloads")
        print("Downloaded one video.")
        break  # Stop after downloading one post

def extract_audio(video_path, audio_path):
"""Extract audio from video file"""
video = mp.VideoFileClip(video_path)
audio = video.audio
audio.write_audiofile(audio_path)
video.close()
audio.close()
def transcribe_audio(audio_path):
"""Convert audio to text using speech recognition"""
recognizer = sr.Recognizer()
with sr.AudioFile(audio_path) as source:
audio = recognizer.record(source)
try:
return recognizer.recognize_google(audio)
except sr.UnknownValueError:
return "Speech recognition could not understand the audio"
except sr.RequestError:
return "Could not request results from speech recognition service"
def create_pdf(username, video_title, transcript):
"""Create PDF for a single transcript"""
pdf_title = f"{username}_{video_title}.pdf"
pdf = FPDF()
pdf.add_page()
pdf.set_font("Arial", size=12)
pdf.cell(200, 10, txt=f"Video: {video_title}", ln=1, align='L')
pdf.multi_cell(0, 10, txt=transcript)
pdf.cell(200, 10, txt="-" * 50, ln=1, align='C')

pdf.output(pdf_title)
print(f"Transcript saved to {pdf_title}")

def main():
# Get Instagram credentials
username = input("Enter Instagram username: ")
password = input("Enter Instagram password: ")
try:
    L = Instaloader()
    login_with_2fa(L, username, password)

    # Download one saved post
    download_one_saved_post(L)
except Exception as e:
    print(f"Error during download: {e}")
    return

# Process and transcribe the video
for filename in os.listdir("downloads"):
    if filename.endswith(".mp4"):
        video_path = os.path.join("downloads", filename)
        audio_path = video_path.replace(".mp4", ".wav")

        print(f"Processing {filename}...")

        # Extract audio
        extract_audio(video_path, audio_path)

        # Transcribe audio
        transcript = transcribe_audio(audio_path)

        # Generate PDF title from the transcript
        video_title = transcript[:50].replace(' ', '_')  # Use first 50 characters as title
        create_pdf(username, video_title, transcript)

        # Clean up audio file
        os.remove(audio_path)

print("Check the current directory for the generated PDF.")

if name == "main":
main()
`


[v2] Docs

As you can see there is now a v2 docs deployment:

This landing page looks like so modern
Follow elements should be adjusted

It was a bit confusing seeing https://nextra.vercel.app/themes/docs "This website is built with the docs theme." while in the repo it says https://github.com/shuding/nextra#themes (swr-site theme) which is different from nextra.vercel.app current theme.
Nextra right now have 3 themes.
Also, do you think v2 Docs is stable when using it like the same features in swr-site?

Good luck, it looks amazing. Wishing the best.

@jermanuts thank you! We almost done 🤘

Thanks for all the reviews, I also did some changes to the core in this PR that is also noted in #826. The docs is still unfinished but since it's still a preview deployment, I think we can ship this first.


Is it possible to support iOS 10 ?

my app's deployment target is iOS 10,  Is it possible to support iOS 10 ?
if not,  Is it possible to support iOS 10 by fork this then change the deployment target to iOS 10 ?

Probably not, wallet core uses modern c++ features, it's better to update your deployment target to iOS 12


🐛 Bug: The squiggly typescript line disappeared :(

Bug Report Checklist

[X] I have tried restarting my IDE and the issue persists.
[X] I have pulled the latest main branch of the repository.
[X] I have searched for related issues and found none that matched my issue.

Expected
squiggle.svg should form a line under the main titles of the site
Actual
They do not appear on prod website, ie https://www.joshuakgoldberg.com/speaking/

Additional Info
While running npx astro dev :

By the way, I really love your open source website :)
I hope you do not mind I clone/fork it to use as basis toward learning Astro and creating my own. While doing so I will try to understand why the squiggly line fails and if I solve it I will submit a PR !

 Thanks for saying something, I hadn't noticed. Bummer! Must be a new CSS bug or something.
...and I absolutely don't mind at all! Letting folks use this as a basis is a big part of why I open sourced it. Happy to hear it's been useful for you! 🙌

@all-contributors please add @hatemmn for bug.

🤖 Beep boop! This comment was added automatically by all-contributors-auto-action.
Not all contributions can be detected from Git & GitHub alone. Please comment any missing contribution types this bot missed.
...and of course, thank you for contributing! 💙


Update to tokio alpha 5

[ ] update h2
[ ] update hyper

h2 update: https://github.com/hyperium/h2/pull/410


Add one line instructions for mouse and keyboard

A single (or maybe two) line above the style editor along the lines of:
'click to select, dbl-click to edit, shift-click/right-click to select row(s)'
'ctrl-X, C, V to cut, copy, paste selected cell'
'Backspace/Delete to delete selected row(s). M to move them, ...

done


Allow Dockerfile source to be a symlink

Codecov Report

Merging #278 into master will decrease coverage by 0.14%.
The diff coverage is 10.58%.

@@            Coverage Diff             @@
##           master     #278      +/-   ##
==========================================
- Coverage   27.42%   27.28%   -0.15%
==========================================
  Files          30       30
  Lines        6366     6428      +62
  Branches     1282     1297      +15
==========================================
+ Hits         1746     1754       +8
- Misses       4560     4612      +52
- Partials       60       62       +2

Impacted Files
Coverage Δ

doozerlib/cli/__main__.py
0.00% <0.00%> (ø)

doozerlib/distgit.py
32.58% <0.00%> (-0.06%)
:arrow_down:

doozerlib/image.py
13.12% <0.00%> (-0.16%)
:arrow_down:

doozerlib/metadata.py
25.54% <0.00%> (-0.12%)
:arrow_down:

doozerlib/olm/bundle.py
0.00% <0.00%> (ø)

doozerlib/repos.py
42.48% <10.00%> (-0.90%)
:arrow_down:

doozerlib/operator_metadata.py
79.06% <44.44%> (-1.69%)
:arrow_down:

Continue to review full report at Codecov.

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


Parsing text

Hi, I am new to machine learning . I was curious to know that if there is a solution to solve this problem with the use of fastText
string1 = "Hi i live in noida 74"
parse locations = Sector-74, Noida
Where I have locations.txt for training set as follows

Sector-74, Noida
Sector 112, Noida
..... so on

Please help me out to this problem.
Thanks,

Hi @rahulroxx,
What you are trying to achieve is called Named-entity recognition task. In this case the entity is location.
Yes, you can use a word vector from fastText and feed them to LSTM-CRF model to be able to identify location from raw string. I hope this answer helps you.
I will close this issue since this is not related issue/bug for this package

Thanks @pyk , If I need help regarding this problem where can I contact you?

What you want is a crf or something which makes structured prediction. Not the purpose of fasttext.

Thanks @pommedeterresautee for looking into this. Would you please elaborate how to solve it ?

Basically, to solve NER task, you want a learner able to learn and optimize the sequence of tags and not only work on each step independently, otherwise, for instance it may tag New but not York of the expression New York (or the name and not the nickname, and so on).
There are several ways to do it, in the linear world, CRF is the most common algo family used for that.
In the Nnet world there are some architectures used, the most interesting is one applying a CRF on top of a bi-LSTM and each words being represented by both some character vectors and a word vector. If you are working on English, it s a too simple language to use the Nnet. If you are working on French/Arabic/German... the nnet option may be interesting.


[v2] Update and control production environment

Leaderboard v1 runs on O(1) resources.

Prepare the list of minimal dependencies for v2 to run correctly

new version of query script
adjusted cron job and entry point to query script
new credentials for spreadsheet - how and where to input them
how the frontend of leaderboard is affected?

Extend MF documentation

Definition of done

Leaderbord v2 works on berkeley testnet

It represented by devops team tickets


Missing classification within sellerProduct

We agreed (2024-06-19) on this simple structure
classification:
  type: object
  properties:
    type:
      type: string
      enum:
        - ExportHarmonisedSystemCode
        - ... # re-use `ClassificationCodeType [attribute]` enumeration
    value:
      type: string
      minLength: 1

Done, see commit 492175d.

We need to discuss this issue.
Construct in papinet xml may not be correct.
We should now just add enumerations needed for StoraEnso logistics, i.e. ExportHarmonisedSystemCode.
The meaning of Import and Export Harmonised System Codes for a specific product is depending on the country of import and export because the customs tariff is added to the Harmonised System Codes developed by the WCO Should we add a property countryCode?
For later use, Classification might also need be an array and have a property assignedBy (Agency in xml) as well as more enumerations for type:

For now, we should just have the ExportHarmonisedSystemCode as a value within the enumeration. We will revisit classification when things will be sorted with the XML version.

Done, see commit 0ec0659.


Recommended changes

@neenjaw wanna check this out and run through it together?

You might want to consider adding eslint. I've heard that @exercism/eslint-config-tooling is pretty good.


io.wavfile.read unnecessarily raises an error for a bad wav header

When the header of a .wav file gives the wrong filesize io.wavfile.read raises ValueError("Unexpected end of file.") even if the data has already been successfully read.  An example of this is actually built in as a test in test_wavfile.py:
def test_read_early_eof():
    for mmap in [False, True]:
        fp = open(datafile('test-44100Hz-le-1ch-4bytes-early-eof.wav'), 'rb')
        assert_raises(ValueError, wavfile.read, fp, mmap=mmap)
        fp.close()

but the file test-44100Hz-le-1ch-4bytes-early-eof.wav is successfully read by other programs (such as VLC, Audacity and MATLAB).  This behaviour was introduced in 171e98ad56025fabd1388496eefeb437d9d810b9 as a solution to #6700.
I propose this can be solved by  checking if the data chunk has been read and if so, silently ignoring the filesize from the malformed head (or perhaps with a warning).  I've implemented this in stephenpcook/scipy@4b3b34d26853f0b209ec8734ce083e6253bb557a but since this"breaks" an existing test I wanted to raise this as an issue and get some advice before creating a pull request.

This was raised in this comment but I don't believe it was followed up.

There is still an outstanding issue where a malformed file cannot be read with mmap=True - this is mentioned in this comment of #6700.

Fixed by #10870


Tooltip styles

Related issue: Add life highlights as JSON #5
This adds support for tooltips.
It looks like this with short text:

And like this with longer text:

That looks so great!! Thanks a lot. Working on making it dynamic


Adding back variants tests.

I looked at the layout of the Variants tests to get an idea how I would organise the VariantAnnotation tests and what were the standard aspects being tested, but they are somewhat inconsistent.
Seeing VariantsSearchIT and VariantSetsSearchIT, I expect to see CallSetsSearchIT rather than CallsetsSearchResponseCheckIT.
There are GET tests for Variants and CallSets,  but not for VariantSets. The Variants GET test is seperate to the the the Variants POST tests but the CallSet GET test is with the POST tests.
It is not clear that there is a standard format to follow though it would help users and developers understand the suite quicker if there was.
That said, the tests run against our updated endpoints and give results I expect, so I would not want to delay synchronisation, so I am happy to +1.

@jeromekelleher this should also be good to merge, assuming the +1's in the variants tests were intended across all the tests PRs.

Sorry, I was holding off on some indication that Sarah's comments had been addressed before taking another look. I added some minor comments - the only real significant issue I think is the variant pagination test.

+1, just one more minor code cleanup comment.

Much obliged, @calbach!


Publishing latency SLI

https://trello.com/c/jDSDGNyn/814-measure-and-record-our-publishing-latency-sli
This is a Ruby script. It's designed at least a bit with extension in mind. This pull request introduces a single SLI object and some minimal supporting code to make that runnable from a cronjob.
The SLI object performs these steps:

Fetches Whitehall events from Logit
Fetches Content Store events from Logit
Turns those events into metrics
Sends those metrics to Prometheus's PushGateway

I hope the commits are self-explanatory.
Things I'm unsure about:

how to get stdout logs into Logit
how best to get exceptions into Sentry (I'm assuming the sentry-ruby gem rather than the govuk_app_config gem for GovukError)
what a Dockerfile for a project like this should look like (is this a good example to follow? https://github.com/alphagov/govuk-dependency-checker/blob/main/Dockerfile)

I'm super happy with the changes you've made but don't have answers to the questions you've put in the PR description. Is this something oyu want to pair on before you merge or shall I approve now for you?

Thanks, @JonathanHallam. I'm happy for this to go into main before those problems are resolved.
(I've opened another pull request with the first pass at a Dockerfile, BTW. I'll start looking into logging and exceptions now.)


Issue on ability to create or drag and drop for certain categories

First off thank you for an excellent Kanban board within Outlook. This is a very useful view and technique. I followed the instructions and got the setup completed. Strangely, I have no ability to add or drag and drop tasks into any of the categories except the Backlog. Thoughts on what I can do to resolve this? I am using Outlook 2016. Thank you.

hello, thanks for this great work. I have the same Problem...

The folder structure must exactly look like in this screenshot of the tutorial:

For German users:
Tasks = Aufgaben (System folder for Outlooks Tasks)

Hi,
I have the same problem. I checked and the folders have the same name, but not work: when I try to drop a Task in InProgress (or other column) simply not work.
Thanks in advance.

It doesn't work - I've made the folder structure like michel126 and I can only create a new tasks via "plus" button. But created tasks doesn't show in correct line "focus" "Next" etc. And I still can't drag and drop any tasks. @sgmgithub @michel126 Thanks everyone!

Leave the default Tasks folder and create the remaining folders as below. Even I was struggling with folder creation until I realized this. It works for me. Hope it helps


Implement Node.js compat v8.Serializer/v8.Deserializer

Implements Node.js JS api for v8 serialization / deserialization

I'm not sure if we should support this.

Chrome has never offered an API to invoke V8 deserialization on attacker-controlled bytes, even though it uses V8 serialization internally for many things. As a result, I'm worried that this is not considered part of V8's attack surface and we could be exposing vulnerabilities here.
Even if it is secure, as we know, V8 serialization is not forwards-compatible. We have taken measures to account for this in our own internal use, but they rely on the assumption that we can do a two-step upgrade (first update the world to understand the new format, then update it to write the new format). We will have no ability to do that with applications. We'd have to instead control serialization version through compat flags. But, V8 itself does not maintain support for serializing old versions -- we have to maintain our own patches for that. Maintaining them long-term could be troublesome.

If we really need to support this, I think we need to verify that the V8 deserializer is adequately fuzzed -- or implement such fuzzing ourselves, if it isn't.
I'd also like to see a plan for exactly how we will deal with the forward-compat issue.

Chrome has never offered an API to invoke V8 deserialization on attacker-controlled bytes, even though it uses V8 serialization internally for many things. As a result, I'm worried that this is not considered part of V8's attack surface and we could be exposing vulnerabilities here.

Node.js has exposed this API for years. It has been thoroughly tested and vetted there. Remember also that v8 runs the relevant Node.js tests for this as part of the Node.js support strategy.

Even if it is secure, as we know, V8 serialization is not forwards-compatible. We have taken measures to account for this in our own internal use, but they rely on the assumption that we can do a two-step upgrade (first update the world to understand the new format, then update it to write the new format). We will have no ability to do that with applications. We'd have to instead control serialization version through compat flags. But, V8 itself does not maintain support for serializing old versions -- we have to maintain our own patches for that. Maintaining them long-term could be troublesome.

Yep, it would be up to the individual applications that use this API directly to figure that part out. That particular issue is well known to users who are already using this API in Node.js.

Node.js has exposed this API for years.

Node.js does not have our threat model. The application code is fully trusted.

Yep, it would be up to the individual applications that use this API directly to figure that part out. That particular issue is well known to users who are already using this API in Node.js.

Yes but Node.js can be updated on the user's schedule. The Workers Runtime, as you know, is updated on our schedule, and therefore must try much harder not to break users. We would never be able to push an update that breaks V8 serialization compatibility.

I'd also like to see a plan for exactly how we will deal with the forward-compat issue.

The approach for this, I think, would be to extend the API to allow an optional options to be passed in on the Serializer/Deserializer constructor to allow the serialization version to be explicitly set the way we do for the internal use cases.

Node.js does not have our threat model. The application code is fully trusted.

We certainly could define some fuzzing cases for it.

The approach for this, I think, would be to extend the API to allow an optional options to be passed in on the Serializer/Deserializer constructor to allow the serialization version to be explicitly set the way we do for the internal use cases.

OK but does this mean we are committing ourselves to maintain V8 patches forever that allow specifying older serialization versions? And are we OK with that? Maybe we are, but I think that's something we should at least discuss with the team.

Within the context of our service, should the serialization perhaps come with a signature that you then have to provide to deserialize so that we can verify that the serialized bits were generated by us to begin with.

Added fuzzing test in internal PR
Fuzzing revealed a few edge cases in ReadValue that are now addressed.
Updated to allow passing the optional version to Serializer/Deserializer as an extension

OK but does this mean we are committing ourselves to maintain V8 patches forever that allow specifying older serialization versions? And are we OK with that?

I think so. Others can weigh in also, of course. I'm good with it largely because I think we're stuck with it for as long as v8 maintains their current approach and we continue to do incremental rollouts.

Sadly based on the discussion on the v8-dev list I think we definitely need to hold off. Specifically while they (v8) do some fuzz testing of the deserializer it's not extensive and the bugs that have been found and patched indicate that their internal coverage of these apis aren't great. Ben Noordhuis (whose opinion on this stuff I trust extensively and implicitly) suggested that given how trivially he was able to uncover some of those bugs in the past it's probably a risk bet in the multi-tenant runtime. So given that, until we can be certain that the deserializer is tested adequately and Secure Enough, this is one Node.js compat api we won't be able to expose to end users.


tools: s3m files now export instrument by default

You can export custom waveform on s3m2gbt.

You are allowed to replace the samples of the channel 3. If the resulting sample is exactly 32 or 64 samples long, you can pass the --instruments flag to s3m2gbt and it will export all valid instruments along the patterns of your song. They will replace the default instruments of GBT Player for the duration of the song.

But looks like Butano doesn't provide any option to enable it.
This commit just defaults to always export channel 3 custom waveforms.

Maybe an option should be added to export instruments, but I don't think changing default behavior and breaking compatibility with older versions is a good idea.

Hmm, I understand. Adding an option to the template Makefile would be better.
I'll just close this PR then.

Should I create a seperate issue for this?

Yes, please :)


Dashboard to display check's dependencies

Hi All,
First off I have to say I really like the look of the uchiwa dashboard.  Great job!
It would be great if the dashboard could somehow present events organised by their check's dependencies.  This would really help someone diagnose underlying issues and sperate cause from effect as quickly as possible.  As it currently stands, if there are 10 checks which all depend on one parent check (e.g. network connectivity) they seem to currenty all be presented with equal importance.
Perhaps events could be displayed in sub lists with the parent item being the event's from the check's dependency?
Adding support for this would be a huge benefit and would allow uchiwa to greatly assist in fault diagnosis.
Let me know if this makes sense or if I have missed an existing feature!
Many thanks

+1

+1

I'll subscribe to this feature!

Most wanted!


Spyder syncs only at debugger break points

From<EMAIL_ADDRESS>on 2011-03-09T21:24:12Z
What steps will reproduce the problem?

start the debugger on a script, where functions are called
step into a function call
use debugger up command What is the expected output? What do you see instead? Editor shows calling code, Variable explorere is updated etc. . Instead nothing happens What version of the product are you using? On what operating system? spyder 2.0.8

Please provide any additional information below
. I have made a patch that calls notify_spyder after every pdb command (this might need some refinement). Also the patching of the Pdb class is done differently in this code: original Pdb functions are saved and called from the new ones, in order to make it less probable that changes in Pdb could break the patch. I guess this partly fixes Issue #554 .
Some more ideas to improve the debug feature: reflect changes to break points on the command line at the spyder interface, add conditional break points to the spyder interface.
diff -r 6a5ad9bc1ab8 spyderlib/widgets/externalshell/sitecustomize.py
--- a/spyderlib/widgets/externalshell/sitecustomize.py	Mon Feb 28 15:50:18 2011 +0100
+++ b/spyderlib/widgets/externalshell/sitecustomize.py	Thu Mar 10 03:02:33 2011 +0100
@@ -104,67 +104,116 @@
sys.displayhook = displayhook
# Patching pdb
+def monkeypatch_method(cls, patch_name='spyder'):
+# based on code from
+# [Python-Dev] Monkeypatching idioms -- elegant or ugly?
+# Robert Brewer fumanchu at aminus.org
+# Tue Jan 15 19:13:25 CET 2008

"""Add the decorated method to the given class; replace as needed.

If the named method already exists on the given class, it will
be replaced, and a reference to the old method is created as
cls.old<patch_name>. If the "old<patch_name>" attribute
already exists, KeyError is raised.
"""
def decorator(func):

   fname = func.__name__

   old_func = getattr(cls, fname, None)

   if old_func is not None:

       # Add the old func to a list of old funcs.

       old_ref = "_old_%s_%s" % (patch_name,fname)

       #print old_ref, old_func

       old_attr = getattr(cls, old_ref, None)

       if old_attr is None:

           setattr(cls, old_ref, old_func)

       else:

           raise KeyError("%s.%s already exists." %

                          (cls.__name__, old_ref))

   setattr(cls, fname, func)

   return func

return decorator

import pdb, bdb
-class SpyderPdb(pdb.Pdb):

def user_return(self, frame, return_value):

   """This function is called when a return trap is set here."""

   #-----Spyder-specific---------------------------------------------------

   # This is useful when debugging in an active interpreter (otherwise,

   # the debugger will stop before reaching the target file)

   if self._wait_for_mainpyfile:

       if (self.mainpyfile != self.canonic(frame.f_code.co_filename)

           or frame.f_lineno<= 0):

           return

       self._wait_for_mainpyfile = 0

   #-----Spyder-specific---------------------------------------------------

   frame.f_locals['__return__'] = return_value

   print >>self.stdout, '--Return--'

   self.interaction(frame, None)

+@monkeypatch_method(pdb.Pdb)
+def user_return(self, frame, return_value):

"""This function is called when a return trap is set here."""
#-----Spyder-specific---------------------------------------------------

This is useful when debugging in an active interpreter (otherwise,

the debugger will stop before reaching the target file)

if self._wait_for_mainpyfile:

   if (self.mainpyfile != self.canonic(frame.f_code.co_filename)

       or frame.f_lineno<= 0):

       return

   self._wait_for_mainpyfile = 0

#-----Spyder-specific---------------------------------------------------
self._old_spyder_user_return(frame, return_value)
+#    frame.f_locals['return'] = return_value
+#    print >>self.stdout, '--Return--'
+#    self.interaction(frame, None)

def interaction(self, frame, traceback):

   self.setup(frame, traceback)

   self.notify_spyder(frame) #-----Spyder-specific-------------------------

   self.print_stack_entry(self.stack[self.curindex])

   self.cmdloop()

   self.forget()

+@monkeypatch_method(pdb.Pdb)
+def interaction(self, frame, traceback):

self.notify_spyder(frame) #FIXME: here the order of setup and notify were changed. Does that matter?
self._old_spyder_interaction(frame, traceback)
+#    self.setup(frame, traceback)
+#    self.notify_spyder(frame) #-----Spyder-specific-------------------------
+#    self.print_stack_entry(self.stack[self.curindex])
+#    self.cmdloop()
+#    self.forget()

def reset(self):

   bdb.Bdb.reset(self)

   self.forget()

   monitor.register_pdb_session(self) #------Spyder-specific---------------

   self.set_spyder_breakpoints() #-----------Spyder-specific---------------

+@monkeypatch_method(pdb.Pdb)
+def reset(self):

self._old_spyder_reset()
+#    bdb.Bdb.reset(self)
+#    self.forget()
monitor.register_pdb_session(self) #------Spyder-specific---------------
self.set_spyder_breakpoints() #-----------Spyder-specific---------------

def notify_spyder(self, frame):

   if not frame:

       return

   fname = self.canonic(frame.f_code.co_filename)

   lineno = frame.f_lineno

   if isinstance(fname, basestring) and isinstance(lineno, int):

       if osp.isfile(fname) and monitor is not None:

           monitor.notify_pdb_step(fname, lineno)

+#notify spyder on any pdb command (is that good or too lazy? i.e. is more
+#specific behaviour desired?)
+@monkeypatch_method(pdb.Pdb)
+def postcmd(self, stop, line):

a = getattr(self,"_old_spyder_postcmd",None)
if a is not None:

   stop = a(stop,line)

self.notify_spyder(self.curframe)
return stop

+@monkeypatch_method(pdb.Pdb)
+def notify_spyder(self, frame):

if not frame:

   return

fname = self.canonic(frame.f_code.co_filename)
lineno = frame.f_lineno
if isinstance(fname, basestring) and isinstance(lineno, int):

   if osp.isfile(fname) and monitor is not None:

       monitor.notify_pdb_step(fname, lineno)

def set_spyder_breakpoints(self):

   self.clear_all_breaks()

   #------Really deleting all breakpoints:

   for bp in bdb.Breakpoint.bpbynumber:

       if bp:

           bp.deleteMe()

   bdb.Breakpoint.next = 1

   bdb.Breakpoint.bplist = {}

   bdb.Breakpoint.bpbynumber = [None]

   #------

   from spyderlib.config import CONF

   CONF.load_from_ini()

...

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=574

From pierre.raybaut on 2011-03-10T02:36:29Z
Ok, I've just tested this code (quickly) and the variable explorer is empty when stepping into functions. I don't know why, but it does not work. I'll do some tests.

From pierre.raybaut on 2011-03-10T02:01:45Z
Interesting, thanks for your contribution -- I'll take a look at the patch.
As for conditional breakpoints, these are already supported by the editor.
Status: Accepted

From pierre.raybaut on 2011-03-10T03:09:22Z
After some changes, it does work.
Could you please explain this:
def postcmd(self, stop, line):
a = getattr(self,"_old_spyder_postcmd",None)
if a is not None:
stop = a(stop,line)
self.notify_spyder(self.curframe)
return stop
Why not just this?
def postcmd(self, stop, line):
self.notify_spyder(self.curframe)
return self._old_spyder_postcmd(stop, line)

From pierre.raybaut on 2011-03-10T03:36:16Z
This issue was closed by revision e72885217d .
Status: Fixed

From<EMAIL_ADDRESS>on 2011-03-13T14:44:05Z
one more thing: you exchanged the calls to notify_spyder and _old_Pdb_interaction in your implementation of interaction. As a result, after a step command the last executed line is shown in the editor... it seems like as a side effect, _old_Pdb_interaction changes its frame argument. If notify_spyder is called first, the (correct) next line of code is shown. So I would propose:
@monkeypatch_method(pdb.Pdb, 'Pdb')
def interaction(self, frame, traceback):
self.notify_spyder(frame)
self._old_Pdb_interaction(frame, traceback)
Status: Started

From pierre.raybaut on 2011-03-13T14:53:39Z
This issue was closed by revision 7d2afe91fd .
Status: Fixed

From pierre.raybaut on 2011-03-13T14:49:54Z
I switched the two lines because it was not working in this order (I forgot why...). So I guess this method has to be replaced without calling the original implementation.
In other words, it means that the original implementation was the right one:
self.setup(frame, traceback)
self.notify_spyder(frame) #-----Spyder-specific-------------------------
self.print_stack_entry(self.stack[self.curindex])
self.cmdloop()
self.forget()

From pierre.raybaut on 2011-04-24T07:38:29Z
This issue was closed by revision e72885217dcd .

From pierre.raybaut on 2011-04-24T07:38:35Z
This issue was closed by revision 7d2afe91fddc .


Fix reduced margin in Get started popup

Description
Currently there is a negative margin applied to the step content in the Get Started popup. That is not required since there is a global style applied to the step title that offsets the extra space added after the title. Removed the inline style to fix the padding.
Issues Resolved
#463
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #466 (64313e4) into main (ab6a342) will not change coverage.
The diff coverage is n/a.

: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
@@           Coverage Diff           @@
##             main     #466   +/-   ##
=======================================
  Coverage   35.36%   35.36%
=======================================
  Files         116      116
  Lines        3133     3133
  Branches      492      492
=======================================
  Hits         1108     1108
  Misses       1905     1905
  Partials      120      120

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[stable/mongodb]: adds podLabels to values.yaml

Signed-off-by: Michael Hill<EMAIL_ADDRESS>What this PR does / why we need it:
This PR adds the ability to add custom pod labels to the pods created in this chart. This can be useful when defining custom network policies that need to be applied to consumed charts.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

@juan131 no problem! done!

/ok-to-test
/lgtm


On building to windows/apk , app displays module not found error

Description
I have a flask server that is running on the url 'http://<IP_ADDRESS>:5000' in which i intent to send http request.
during Flet run command the app runs without any issue and  building for windows or android apk  is also a success, but when running the built file module not found error is seen.
I have tried to place requests module folder directly into the root but now same error but different module is occurring.
import flet as ft
from ast import literal_eval as str2lst
import requests
def main(page: ft.Page):
    page.title='Server client test'
    row=ft.TextField(label='Enter Row',value='')
    value=ft.TextField(label='Enter value',value='')
    btn=ft.ElevatedButton(text='update')
    page.add(row,value,btn)
    def update(e):
        r=int(row.value)
        l=str2lst(value.value)
        url = 'http://<IP_ADDRESS>:5000'
        response= requests.put(url+'/update',
                               json={'row':r,'value':l})
        page.add(ft.Text(f'{response.text}'))
    btn.on_click=update

ft.app(main)

Error on executing the built windows executable:
**Traceback (most recent call last):
File "", line 40, in
File "", line 229, in run_module
File "", line 88, in run_code
File "C:\Users\User\AppData\Local\Temp\serious_python_tempcd05a39c\main.py", line 3, in
File "C:\Users\User\AppData\Local\Temp\serious_python_tempcd05a39c\requests_init.py", line 43, in
ModuleNotFoundError: No module named 'urllib3'
**

Describe the results you expected:
Image during Flet run

Flet version (pip show flet):
Name: flet
Version: 0.19.0
Summary: Flet for Python - easily build interactive multi-platform apps in Python
Home-page:
Author: Appveyor Systems Inc.
Author-email<EMAIL_ADDRESS>License: Apache-2.0
Location: c:\program files\python310\lib\site-packages
Requires: cookiecutter, flet-runtime, packaging, qrcode, watchdog, websocket-client, websockets

Requirements:
requests 2.31.0

Operating system:
Windows 10

please try once just by having requests in requirements.txt

i'm having the same issue while running flet build windows.
I used poetry as dependency manager and it seems its not finding the dependencies installed.
I've triied with erasing the version name of the dependencies in my requirements.txt and leaving just 3:

flet
python-docx
pytz

But I find the same issue.

This problem is still happening when I build Windows app that has additional third-party Python libraries in the source code. Using the latest version of flet to date (0.22.1).

I had a similar problem, and I solved it thanks to this comment --> Issue 2714
As it was a bit tedious, I decided to make a small tool to load dependencies to the windows builds (if you want to take a look).
Flet Packages Loader

Able to build with flet>=0.24.1 version itself and include requests in requirements.txt


Breaking change with addColumn between 0.27.2 and 0.27.3

Hi, thanks for this project.
Before 0.27.3, addColumn worked with custom data types in Postgres.
await db.schema.createTable('items').addColumn('embedding', 'vector(3)').execute();

However, this now throws:
invalid column data type "vector(3)"

It looks like it's due to 3df726fd566664a1842d0fe8cfc0d79983647e39.

Hey 👋
Just like before, you have to use sql template tag if a data type is not available in the list.
import { sql } from "kysely";

await db.schema
  .createTable("items")
  .addColumn("embedding", sql`vector(3)`)
  .execute();

https://kyse.link/nwcuY

Thanks for the response. This was not the case before 0.27.3, but good to know.

The API was designed to tell you NOT to do it the way you pasted.

https://kyse.link/3e74S

As @igalklebanov said, previously, if you ignored the type error and built the code anyway, it worked. Now there's also a runtime check. We don't consider that a breaking change as you shouldn't ignore typescript errors.


[BUG] heads parameter is defined but not used in VisionEncoderMambaBlock

heads parameter is defined but not used in VisionEncoderMambaBlock.
This line uses it to initialize  VisionEncoderMambaBlock:
https://github.com/kyegomez/VisionMamba/blob/68e6447d9e3a7e7bb369c227d667bbb88275ce2e/vision_mamba/model.py#L235
But it has no use in VisionEncoderMambaBlock as can be seen from here:
https://github.com/kyegomez/VisionMamba/blob/68e6447d9e3a7e7bb369c227d667bbb88275ce2e/vision_mamba/model.py#L32C1-L135C17

@MelihDarcanxyz just fixed


Logo animation flickering

Description
Logo animation keeps flickering when hovered on edge of logo.
Screenshots
https://user-images.githubusercontent.com/63171580/194100530-b9e6a78e-3dfe-4cfd-84ba-210ad1bd1edc.mov
Do you want to work on this issue?
No
Are you raising this issue under hacktoberfest?
Yes, I'm raising this issue under hacktoberfest.

Okay, Assigning this to you. Would you also like to work on making the animation better as it doesn't look good?

One suggestion, please remove that border and background and do the animation just on text.
Thanks

so you only want the text to rotate 360 deg ? @yashikabhargava

so you only want the text to rotate 360 deg ? @yashikabhargava
No, instead of rotating it, can we not do something else?

I Am on it, will let you know.

Normal animation without hovering
https://user-images.githubusercontent.com/63171580/194123311-a66c3eae-2272-464b-87b6-75e95050b9f1.mov

I'm not sure about having that animation for all time.

okay let me check some other animations

What about using a logo image instead of normal text ? Will that be fine ?

Yes, that'll be fine.

2.

@yashikabhargava

@MD-ARBAB-SAHID The second one looks fine, But please don't open a PR yet as you know some changes are being made to the code.

Sure np. Just remind whenever I have to open a PR. @yashikabhargava

@MD-ARBAB-SAHID You can open a PR now.

@yashikabhargava as background is white so I added the black one(3rd)

@yashikabhargava is it fine ? Shall I open a PR.

@MD-ARBAB-SAHID In dark mode, the black one won't be visible and according to the theme, the logo color is blue.
Hence you do one thing just solve the flickering logo issue and open the PR. I apologize for the inconvenience.

@yashikabhargava We can also add a logo with white text and render one of them depending on the mode.
Shall I try that one ?

@MD-ARBAB-SAHID I actually want the color of the logo to remain as it is now only i.e. blue.

@yashikabhargava sure I will remove the flickering issue and will open a PR.


ion-back-button different than android "back" button

Bug Report
Ionic version:
[x] 4.x
Current behavior:
Using button "ion-back-button" does not trigger history go back, e.g.:

Switch between some tabs.
Open subpage
Go back using ion-back-button
Click back button of Android device (the one at bottom)
Subpage is opened, which was closed using ion-back-button

Expected behavior:

Pressing ion-back-button should be similar to pressing Android back button

Steps to reproduce:
Use code from https://github.com/lampi87/ionic-bug-test and test it in Android Emulator or on Android device.
Ionic info
Ionic:
ionic (Ionic CLI)             : 4.6.0 (C:\Users\Alexander\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework               : @ionic/angular 4.0.0-rc.0
@angular-devkit/build-angular : 0.10.7
@angular-devkit/schematics    : 7.1.4
@angular/cli                  : 7.1.4
@ionic/angular-toolkit        : 1.2.2
Cordova:
cordova (Cordova CLI) : not installed
Cordova Platforms     : android 7.1.4, ios 4.5.5
Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.3.1, (and 10 other plugins)
System:
Android SDK Tools : 26.1.1 (C:\Users\Alexander\AppData\Local\Android\Sdk)
NodeJS            : v8.12.0 (C:\Program Files\nodejs\node.exe)
npm               : 6.4.1
OS                : Windows 10

Thanks! Please also follow this issue -> #16611 - It handles some things about the back button

I've likewise noted this inconsistency in #15428.


Renaming a copied Public class CHANGES original Class to NEW name. in Blend Visual Studio 2019

I copied one public class then repasted it in same folder and global namespace.
expected this error.  to show BEFORE I renamed the public class I copied to a different name.
WHAT I did NOT expect was Visual Studio 2019  to HELP by changing BOTH the public class and name of the member StartProgram () in the Original class to match the renamed class.
Blend for visual studios 2019 seems to be determined to change EVERY occurrence of a global namespace and member of that namespace to whatever I changed the COPIED names to.  Unable to find any way to tell Visual Studio blend 2019 to in this case do NOT change every occurrence of name in the project.   It is a great feature, when you realize you have just come up with a much better "name" then the one you  have been using so far.  But that is not the case here.

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

ID: 62919633-6041-2d18-0b0c-ff1c8e690495
Version Independent ID: 19a252b9-f0d8-ec57-1014-00ad6e5de9b3
Content: Compiler Error CS0101
Content Source: docs/csharp/misc/cs0101.md
Product: dotnet-csharp
Technology: csharp-diagnostics
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Issue moved to dotnet/roslyn #40779 via ZenHub


[GSSOC'23] Face Detection using OpenCV

Is your feature request related to a problem? Please describe.
A program to detect any face moving in and out of video frames for any amount of time.
Describe the solution you'd like
We will create a program that detects the face and calculate the amount of time it was out of the webcam and then store the time in a csv file.
Describe alternatives you've considered
I have used openCV in this module but we can also consider using PIL or Deep Learning for more accuracy.
Approach to be followed (optional)
We will be using various frames in black and white as well as coloured to detect any motion .
Additional context
A new file times.csv will be formed the first time we run the program and and it gets updated everytime . We will have to press q to exit the webcam.

could you please assign me this task.


ISSUE-1088: Adds JsonF pattern functor

Adds a pattern-functor that reflects the Json ADT, as well as
fold/unfold methods.
This can be used in conjunction with recursion schemes libraries.

Force-pushed for scalafix import order.

Codecov Report

Merging #1092 into master will increase coverage by 0.4%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #1092     +/-   ##
=========================================
+ Coverage   84.03%   84.44%   +0.4%
=========================================
  Files          76       77      +1
  Lines        2436     2468     +32
  Branches      184      181      -3
=========================================
+ Hits         2047     2084     +37
+ Misses        389      384      -5

Impacted Files
Coverage Δ

...es/core/shared/src/main/scala/io/circe/JsonF.scala
100% <100%> (ø)

...re/shared/src/main/scala/io/circe/KeyDecoder.scala
97.29% <0%> (-2.71%)
:arrow_down:

...rc/main/scala/io/circe/numbers/BiggerDecimal.scala
90.36% <0%> (+0.6%)
:arrow_up:

...les/core/shared/src/main/scala/io/circe/Json.scala
79.11% <0%> (+0.63%)
:arrow_up:

...re/shared/src/main/scala/io/circe/JsonNumber.scala
93.75% <0%> (+3.75%)
:arrow_up:

...d/src/main/scala/io/circe/NonEmptySeqDecoder.scala
100% <0%> (+8.33%)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks, @Baccata! I'm going to go ahead and merge this, and we can decide whether it belongs in core before the 0.12.0 release.


Fix typos and update several links in notebook «Advanced RAG on Hugging Face»

Fix some typos
Add some missing words
Update several links

Btw: Very helpful notebooks - thanks for making this available. Very much appreciated. 👍

After undoing the change that I mentioned, all will be perfect! Thank you for adding these changes @rnckp 🤗

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

@rnckp thanks for the nits, I left two comments

@merveenoyan @aymeric-roucher I have changed the code according to your comments. 👍


Never any recognized face

Good morning!
I'm very fond of this program, but unfortunately I've never been able to use it 100% because I didn't have a powerful enough HW.
I have never been able to use the facial recognition, neither with the uploaded photos (more than 20 photos per person) nor the saving of new faces not recognized. The recognition of objects (people, etc. ..) instead has always worked sufficiently well.
Now I'm finally in possession of a Board Nvidia JetSon Nano last model with 4Gb of Ram and obviously CUDA support and I was hoping that things would change.
The program runs perfectly but absolutely no face is recognized, either among those loaded or not loaded.
Not even if I put myself in front of the camera, it recognizes me.
I've tried to "play" with the settings, raising the FPS and more but I get no results.
My goal was to have it recognize the faces "on its own" and then associate them with the person by putting the photos in their respective folders.
At this point I think the problem is the camera, considering it's hanging from the ceiling at about a 45° angle filming the entire room. Maybe it needs to be in front to recognize the faces? The resolution is 1280x720 in RTSP
I would also have a USB camera, but can I use it with Viseron?
I look forward to yours and thank you!
Daniel

Hello!
Sorry you are having issues, i am aware that the bilt in face recognition is suboptimal, but i have found it difficult to improve.
However, for me it has worked okay at least.
Could you show me your config?

Sure! This below is my config.
Some notes:

I tried to put the camera so that it takes the face frontally, doing several experiments in different positions but the face never detects it
I tried to put a picture in front of the camera, it doesn't detect any face
I tried downloading the DEV version but unfortunately it still doesn't work.

Thanks!
mqtt:
  broker: <IP_ADDRESS>
  port: 1883
  username: ****
  password: ****

cameras:
  - name: soggiorno
    host: <IP_ADDRESS>
    port: 554
    username: admin
    password: SXRXKI
    path: /Streaming/Channels/101
    width: 1280
    height: 720
    fps: 9
    publish_image: false

motion_detection:
  interval: 0.3
  frames: 1
  trigger_detector: true
  trigger_recorder: false

object_detection:
  type: darknet
  interval: 0.5
  log_all_objects: false
  model_path: /detectors/models/darknet/v4/yolov4.weights
  model_config: /detectors/models/darknet/v4/yolov4.cfg
  label_path: /detectors/models/darknet/v4/coco.names
  labels:
    - label: person
      confidence: 0.9
logging:
  level: debug

post_processors:
  face_recognition:
    type: dlib
    expire_after: 10
    save_unknown_faces: true

This is a snapshot of a frame (get from recording folder)
Recognizes the object (person) but not the face

Ahh i see, this might be a bit unclear but you have to use the post_processor config option under labels, something like this:
mqtt:
  broker: <IP_ADDRESS>
  port: 1883
  username: ****
  password: ****

cameras:
  - name: soggiorno
    host: <IP_ADDRESS>
    port: 554
    username: admin
    password: SXRXKI
    path: /Streaming/Channels/101
    width: 1280
    height: 720
    fps: 9
    publish_image: false

motion_detection:
  interval: 0.3
  frames: 1
  trigger_detector: true
  trigger_recorder: false

object_detection:
  type: darknet
  interval: 0.5
  log_all_objects: false
  model_path: /detectors/models/darknet/v4/yolov4.weights
  model_config: /detectors/models/darknet/v4/yolov4.cfg
  label_path: /detectors/models/darknet/v4/coco.names
  labels:
    - label: person
      confidence: 0.9
      post_processor: face_recognition  # <------------ This is what i added
logging:
  level: debug

post_processors:
  face_recognition:
    type: dlib
    expire_after: 10
    save_unknown_faces: true

Does that work for you?

I'll try, but I'll tell you later because no one is home right now :)
Thank you, I'll update you soon!

Ok, my girlfriend is back home.
More seems to be working now, but unfortunately I'm getting this error:
Classifier has not been trained, make sure the folder structure of faces is correct
Ho aggiunto nella configurazione
``
post_processors:
face_recognition:
type: dlib
expire_after: 10
save_unknown_faces: true
unknown_faces_path: /config/face_recognition/faces/unknow <-- this!
``
My folder structure are
/config (empty folder)
/config/face_recognition (empty folder)
/config/face_recognition/faces (empty folder)
/config/face_recognition/faces/unknow (empty folder)
/config/face_recognition/faces/daniel (empty folder)
/config/face_recognition/faces/giuliana (empty folder)
They're all empty because I'd like you to save me some "unknown" faces first and then I'll put them in their respective folders (daniel & giuliana)

With all the suggested fixes, it finally works now and I am very happy!
Great support and fantastic work!
Congratulations!
It works very well, thank you!

Great!


TASK: make media browser uri path configurable

add and use new data-attribute and const for mediaBrowserUriPath with fallback value of '/neos/media/browser'
add explanation for new data-attribute to Readme

Todo:

[ ]  Minify js

@so-grimm Thanks for this – I tried to push a tweak to the README and the minified JS but I'm not allowed to. Could you "Allow edits by maintainers"?

@bwaidelich I just found out that it's actually not possible to "Allow edits by maintainers" if the PR is coming from an organisation and not an individual. But Anke gave you write-access to the repo, so you should be able to fix whatever you need to now.

@so-grimm @ahaeslich Thanks a lot!
=> https://github.com/bwaidelich/Wwwision.Neos.MediaBrowserDialog/releases/tag/2.4.0


[Feature v4] External proxy support

The ability to use a custom external proxy
Currently, in version 4-beta.23, it is possible to choose a custom destination, which can only work for an external Traefik that:

Use host network
Have entrypoints named http and https
Have a certresolver named letsencrypt
Have a middleware http-to-https

Otherwise, it won't work.
Solutions:

Allow the user to define one or more docker compose files and then merge them together

Via a custom merge
Via compose specification: https://docs.docker.com/compose/multiple-compose-files/merge/

This solution requires that the service has always the same name (not suffixed by the build timestamp)

I created a mapper to use coolify generated Traefik configs with an external Traefik instance, it's not in par with features we had using traefik-http-provider-mapper in V3 but it supports changing entrypoints and certresolver names at the moment
I have tested it with coolify panel itself and it works
let me know what you think about it
https://github.com/EAliakbar/traefik-file-provider-mapper

I created a mapper to use coolify generated Traefik configs with an external Traefik instance, it's not on a par with features we used to have in V3 with traefik-http-provider-mapper but it supports changing entrypoints and certresolver names at the moment I've tested it with coolify panel itself and it works Let me know what you think about it EAliakbar/traefik-file-provider-mapper

Didn't see the comment, cool alternative to traefik-http-provider-mapper!
External proxy is partially supported for proxies who support Docker labels via custom labels feature (for now, only for applications)

Is this related to #1483 ?


Allow checkpoint creation when partion column is "timestampNtz "

Description
Right now you can create a table partioned on a column of type timestampNtz. This is all on main.:
import pandas as pd
dates = pd.date_range(datetime(2021,1,1,3,4,6,3),datetime(2021,1,3,3,4,6))
df = pd.DataFrame({"time":dates, "a":[i for i in range(len(dates))]})
write_deltalake("mytable",df, partition_by="time")
dt = DeltaTable("mytable")
print(dt.schema())
> Schema([Field(time, PrimitiveType("timestampNtz"), nullable=True), Field(a, PrimitiveType("long"), nullable=True)])

However when trying to create a checkpoint I'm hit by

dt.create_checkpoint()
> PanicException: not implemented: Primitive type timestampNtz is not supported for partition column values.

Use Case
Related Issue(s)

@thomasfrederikhoeck We just need to add an arm for PrimitiveType::TimestampNtz`
https://github.com/delta-io/delta-rs/blob/6f81b8034dbef7a0120e354e178f0c859564465e/crates/core/src/protocol/checkpoints.rs#L444
I'll see if I can find some time tomorrow

GIven https://github.com/delta-io/delta-rs/issues/2380 it might also be worth looking at the Timestamp arm?

@ion-elgreco I can grap this one :-)


FancyZones: the most logical feature ever, maximize within the zone you're in.

Description of the new feature / enhancement
Why am I still maximizing to 35 inches what I want to maximize to only my middle zone?  I want to get away from the resource hog DisplayFusion which does this beautifully. I appreciate all your work, but I just don't understand the lack of this feature. It's pretty much the only feature I care about. Using shift and dragging to a Zone works perfectly, but those of us who cannot use our hands (high-level quadriplegic) this is not practical.
Scenario when this would be used?
Many, many, many times a day. As a quadriplegic, it kills my neck every time I have to stretch all the way left or right. Imagine the concept of RSI in an already arthritic neck.
Supporting information
Ouch

/dup #24263


Why should we do toLowerCase to header name (by normalizeName()) ?

Code first:
fetch( url, {
    headers:{
        'Cookie':'some key-value pass to server',
        'User-Agent': 'react-native Android'
    }
);

I found that the name of headers has been converted to lower case by normalizeName .
And when I use it on React-Native (Android  platform) , it send a HTTP request with lower case header name which not be recognized in our Server.
There is the row HTTP text I've capture:
GET http://... HTTP/1.1
cookie: ...
user-agent: react-native Android

So. Why should we do toLowerCase to header name ?

HTTP headers are case insensitive. The lowercase header names were added in #85.

@dgraham. Thx for explanation!

I believe the native fetch implementation (in Chrome/Mac 51.0.2704.84 (64-bit) for me) also downcases the header names.

While Http headers should be case-insensitive, a server for a client we're dealing with  has miss implemented the spec. They check authorization header using equality it seems and accordingly produce an error.
We do not have control over modifying the code of that server, we can submit a request but that will take time to process.
If according to the spec the header should be case-insensitive I don't see why forcing the headers to be lower case matters then, we should be generally allowed to send headers in any case form.

chrome-dev-tool Network panel will divide these request into Other not XHR.

So, no way to prevent Lowercasing of headers?

@kobvel That's correct.

chrome-dev-tool Network panel will divide these requests into Other not XHR.

@hashplus you should report that bug to the chrome team.

Same issue when sending requests to Gerrit server
It doesn't work when header 'X-Gerrit-Auth' is transformed to 'x-gerrit-auth' by the fetch API
I can post an issue to the Gerrit team but...
I'm pretty sure that plenty of legacy servers will have similar issues
(even more on custom header names that are not managed by core http server code but by application level one)

Same issue when sending requests to Gerrit server
It doesn't work when header 'X-Gerrit-Auth' is transformed to 'x-gerrit-auth' by the fetch API
I can post an issue to the Gerrit team but...
I'm pretty sure that plenty of legacy servers will have similar issues
(even more on custom header names that are not managed by core http server code but by application level one)

To get an idea, I looked into Gerrit Server implementation
It is based on Tomcat which getHeader() API is case insensitive
This header is occasionally added to the CORS Access-Control-Request-Headers HTTP header.
To handle CORS, they use a filter written this way .filter(h -> !ALLOWED_CORS_REQUEST_HEADERS.contains(h)) and of course, they didn't lowercased their header values before.
Even if I'm not a Java developer I'll probably send them a pull request as it should be pretty easy to fix.
My point is just that we can be sure that the fetch API is probably unfortunately not usable, as is, on many (how much?) legacy servers.
It may be ok on Open Source project based services, as the mentioned one, to which we can contribute, but it can be a way harder issue when connecting to commercial closed-source services (or open source based ones that are not regularly maintained)

@AMorgaut  the workaround I resorted to was using axios until the server I was working with fixed their problem.
since it's fetch that lower cases not the XHR Object

@AMorgaut the workaround I resorted to was using axios until the server I was working with fixed their problem.
since it's fetch that lower cases not the XHR Object

It's not working now!  Even the headers in axios are converted to lowercase now.

omg i want to use header as case sensitive any help . i have use and flutter but same as react native . just java is perfect.

This working in react-native, I share here to help anybody.
 // Disable lowercase in FormData
//@ts-ignore
FormData.prototype.getParts = function(): Array<FormDataPart> {
  //@ts-ignore
  return this._parts.map(([name, value]) => {
    const contentDisposition = 'form-data; name="' + name + '"';
    //@ts-ignore
    const headers: Headers = { 'Content-Disposition': contentDisposition };

    // The body part is a "blob", which in React Native just means
    // an object with a `uri` attribute. Optionally, it can also
    // have a `name` and `type` attribute to specify filename and
    // content type (cf. web Blob interface.)
    if (typeof value === 'object' && value) {
      if (typeof value.name === 'string') {
        //@ts-ignore
        headers['Content-Disposition'] += '; filename="' + value.name + '"';
      }
      if (typeof value.type === 'string') {
        //@ts-ignore
        headers['Content-Type'] = value.type;
      }
      return { ...value, headers, fieldName: name };
    }
    // Convert non-object values to strings as per FormData.append() spec
    return { string: String(value), headers, fieldName: name };
  });
};

// Disable lowercase in headers
XMLHttpRequest.prototype.setRequestHeader = function(
  header: string,
  value: any
): void {
  if (this.readyState !== this.OPENED) {
    throw new Error('Request has not been opened');
  }
  //@ts-ignore
  this._headers[header /* .toLowerCase() */] = String(value);
};

Scripts for Artificial Intelligence

We need Artificial Intelligence since Natural Intelligence is in such short supply!


[1.2] Add a task to pull quanta fw update tools in microkernel

To address ODR 726 about BIOS update workflow stuck when issuing the second time.
From the vendor, BIOS settings needs to be cleared when updating, and the default network setting is UEFI. In submitter's system, under this condition, the specific microkernel 3.13 for updating FW kernel panic when loading, while microkernel 3.16 for discovery works well.
In this PR, I changed to use 3.16 microkernel for FW update, and add a task to pull the FW update tools after entering microkernel.

Coverage increased (+0.002%) to 87.437% when pulling 39ace39f4d4fdde9d5b0b17a0e9aca0ec95abbac on iceiilin:bugfix/1.2.0-odr726-bios into c3da1c875d9d4f48ca22413ce3b6b0768ff54463 on RackHD:release/1.2.0-branch.

:+1:

*** BUILD #880 ***

We do not want this in the 1.2 branch right now. We are on the verge of cutting this release.

Coverage increased (+0.002%) to 87.437% when pulling f51d718c7af987fb3ffa1e6692b5f6afdc439473 on iceiilin:bugfix/1.2.0-odr726-bios into c3da1c875d9d4f48ca22413ce3b6b0768ff54463 on RackHD:release/1.2.0-branch.

*** BUILD #882 ***

@johren  Just want to confirm does this PR could be merged to 1.2 branch now?

:+1:
FYI @frostr3 @derrickostertag

Hold on merging,  Just heard from @iceiilin she needs some refinements for this PR.


[Bug] Don't show system action execution error in view mode

Description
When an action execution returns with an error, we are showing an error toast. While this is fine in edit mode, it does not make sense in view mode. We should hide such errors in view mode
Steps to reproduce the behaviour:

Create an api action that returns 4XX or 5XX error
Run this action on a button click
Publish the app
Run the action on button click

https://user-images.githubusercontent.com/12022471/103760961-e201e680-503b-11eb-9147-40b7e917044c.mov

Closing in favor of #4669