Quiz App Using Java

Prerequisites

[X] I am a GSSoC-22 Participant
[X] I checked to make sure that this issue has not already been filed

Description
A simple quiz app built using java.
Tech Stack
Java

@LiQuiD-404 Go for it. Good Luck 👍

closed with #404


docs(knapsack): update to components config, arrangement

Description
update to knapsack docs components content

:tada: This PR is included in version 8.5.3 :tada:
The release is available on:

v8.5.3
GitHub release

Your semantic-release bot :package::rocket:


ScienceChannel.com shows as unsupported after site changes

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2021.06.06
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-o', '%(series)s - 0%(season_number)sx0%(episode_number)s - %(title)s [WEBDL-%(height)s].%(ext)s', '-f', 'best', '-ic', '--newline', '--cookies', 'cookies.txt', '--console-title', '--all-subs', '--embed-subs', '-a', 'ytdlready_sci.txt', '--verbose']
[debug] Batch file urls: ['https://www.sciencechannel.com/video/impossible-engineering-science/inside-the-super-stadium', 'https://www.sciencechannel.com/video/mysteries-of-the-abandoned-science/ghosts-of-mount-fortune', 'https://www.sciencechannel.com/video/strangest-things-science-atve-us/nazi-mystery-machine', 'https://www.sciencechannel.com/video/unearthed-science/legend-of-xanadu']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.9.4 (CPython) - Windows-10-10.0.18362-SP0
[debug] exe versions: ffmpeg 4.4-full_build-www.gyan.dev, ffprobe 4.4-full_build-www.gyan.dev
[debug] Proxy map: {}
[generic] inside-the-super-stadium: Requesting header
WARNING: Falling back on generic information extractor.
[generic] inside-the-super-stadium: Downloading webpage
[generic] inside-the-super-stadium: Extracting information
ERROR: Unsupported URL: https://www.sciencechannel.com/video/impossible-engineering-science/inside-the-super-stadium
Traceback (most recent call last):
  File "C:\Program Files\Python39\lib\site-packages\youtube_dl-2021.6.6-py3.9.egg\youtube_dl\YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "C:\Program Files\Python39\lib\site-packages\youtube_dl-2021.6.6-py3.9.egg\youtube_dl\YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "C:\Program Files\Python39\lib\site-packages\youtube_dl-2021.6.6-py3.9.egg\youtube_dl\extractor\common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "C:\Program Files\Python39\lib\site-packages\youtube_dl-2021.6.6-py3.9.egg\youtube_dl\extractor\generic.py", line 3489, in _real_extract
    raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.sciencechannel.com/video/impossible-engineering-science/inside-the-super-stadium

[generic] ghosts-of-mount-fortune: Requesting header
WARNING: Falling back on generic information extractor.
[generic] ghosts-of-mount-fortune: Downloading webpage
[generic] ghosts-of-mount-fortune: Extracting information
ERROR: Unsupported URL: https://www.sciencechannel.com/video/mysteries-of-the-abandoned-science/ghosts-of-mount-fortune
Traceback (most recent call last):
  File "C:\Program Files\Python39\lib\site-packages\youtube_dl-2021.6.6-py3.9.egg\youtube_dl\YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "C:\Program Files\Python39\lib\site-packages\youtube_dl-2021.6.6-py3.9.egg\youtube_dl\YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "C:\Program Files\Python39\lib\site-packages\youtube_dl-2021.6.6-py3.9.egg\youtube_dl\extractor\common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "C:\Program Files\Python39\lib\site-packages\youtube_dl-2021.6.6-py3.9.egg\youtube_dl\extractor\generic.py", line 3489, in _real_extract
    raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.sciencechannel.com/video/mysteries-of-the-abandoned-science/ghosts-of-mount-fortune

[generic] nazi-mystery-machine: Requesting header
WARNING: Falling back on generic information extractor.
[generic] nazi-mystery-machine: Downloading webpage
[generic] nazi-mystery-machine: Extracting information
ERROR: Unsupported URL: https://www.sciencechannel.com/video/strangest-things-science-atve-us/nazi-mystery-machine
Traceback (most recent call last):
  File "C:\Program Files\Python39\lib\site-packages\youtube_dl-2021.6.6-py3.9.egg\youtube_dl\YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "C:\Program Files\Python39\lib\site-packages\youtube_dl-2021.6.6-py3.9.egg\youtube_dl\YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "C:\Program Files\Python39\lib\site-packages\youtube_dl-2021.6.6-py3.9.egg\youtube_dl\extractor\common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "C:\Program Files\Python39\lib\site-packages\youtube_dl-2021.6.6-py3.9.egg\youtube_dl\extractor\generic.py", line 3489, in _real_extract
    raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.sciencechannel.com/video/strangest-things-science-atve-us/nazi-mystery-machine

[generic] legend-of-xanadu: Requesting header
WARNING: Falling back on generic information extractor.
[generic] legend-of-xanadu: Downloading webpage
[generic] legend-of-xanadu: Extracting information
ERROR: Unsupported URL: https://www.sciencechannel.com/video/unearthed-science/legend-of-xanadu
Traceback (most recent call last):
  File "C:\Program Files\Python39\lib\site-packages\youtube_dl-2021.6.6-py3.9.egg\youtube_dl\YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "C:\Program Files\Python39\lib\site-packages\youtube_dl-2021.6.6-py3.9.egg\youtube_dl\YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "C:\Program Files\Python39\lib\site-packages\youtube_dl-2021.6.6-py3.9.egg\youtube_dl\extractor\common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "C:\Program Files\Python39\lib\site-packages\youtube_dl-2021.6.6-py3.9.egg\youtube_dl\extractor\generic.py", line 3489, in _real_extract
    raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.sciencechannel.com/video/unearthed-science/legend-of-xanadu```

## Description

<!--
Provide an explanation of your issue in an arbitrary form. Provide any additional information, suggested solution and as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

    _VALID_URL = r'''(?x)https?://
        (?P<site>
            go\.discovery|
            www\.
                (?:
                    investigationdiscovery|
                    discoverylife|
                    animalplanet|
                    ahctv|
                    destinationamerica|
                    sciencechannel|
                    tlc
                )|
            watch\.
                (?:
                    hgtv|
                    foodnetwork|
                    travelchannel|
                    diynetwork|
                    cookingchanneltv|
                    motortrend
                )
        )\.com/(?:video|tv-shows)/(?P<show_slug>[^/]+)/(?:videos/|full-episodes/|)(?P<id>[^./?#]+)'''

I changed the discovery.py to allow for the inclusion of the new site structure but only got a json error for my efforts. :-(

json error as follows:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-o', '%(series)s - 0%(season_number)sx0%(episode_number)s - %(title)s [WEBDL-%(height)s].%(ext)s', '-f', 'best', '-ic', '--newline', '--cookies', 'cookies.txt', '--console-title', '--all-subs', '--embed-subs', '-a', 'ytdlready_sci.txt', '--verbose']
[debug] Batch file urls: ['https://www.sciencechannel.com/video/impossible-engineering-science/inside-the-super-stadium', 'https://www.sciencechannel.com/video/mysteries-of-the-abandoned-science/ghosts-of-mount-fortune', 'https://www.sciencechannel.com/video/strangest-things-science-atve-us/nazi-mystery-machine', 'https://www.sciencechannel.com/video/unearthed-science/legend-of-xanadu']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2021.06.06
[debug] Git HEAD: 199b483cb
[debug] Python version 3.9.4 (CPython) - Windows-10-10.0.18362-SP0
[debug] exe versions: ffmpeg 4.4-full_build-www.gyan.dev, ffprobe 4.4-full_build-www.gyan.dev
[debug] Proxy map: {}
[Discovery] inside-the-super-stadium: Downloading token JSON metadata
ERROR: inside-the-super-stadium: Failed to parse JSON  (caused by JSONDecodeError('Expecting value: line 1 column 1 (char 0)')); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "D:\youtube-dl\youtube_dl\extractor\common.py", line 906, in parse_json
return json.loads(json_string)
File "C:\Program Files\Python39\lib\json_init.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Program Files\Python39\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\Python39\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "D:\youtube-dl\youtube_dl\extractor\common.py", line 906, in parse_json
return json.loads(json_string)
File "C:\Program Files\Python39\lib\json_init.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Program Files\Python39\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\Python39\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\youtube-dl\youtube_dl\YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "D:\youtube-dl\youtube_dl\YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "D:\youtube-dl\youtube_dl\extractor\common.py", line 534, in extract
ie_result = self._real_extract(url)
File "D:\youtube-dl\youtube_dl\extractor\discovery.py", line 79, in _real_extract
access_token = self._download_json(
File "D:\youtube-dl\youtube_dl\extractor\common.py", line 895, in _download_json
res = self._download_json_handle(
File "D:\youtube-dl\youtube_dl\extractor\common.py", line 881, in _download_json_handle
return self._parse_json(
File "D:\youtube-dl\youtube_dl\extractor\common.py", line 910, in _parse_json
raise ExtractorError(errmsg, cause=ve)
youtube_dl.utils.ExtractorError: inside-the-super-stadium: Failed to parse JSON  (caused by JSONDecodeError('Expecting value: line 1 column 1 (char 0)')); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Hmm, maybe it will work better with adjusting dplay.py

Have a look at #29249, where I attached a patch for the European D+.


docfd: 3.0.0 -> 4.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/darrenldl/docfd/releases.
meta.description for docfd is: TUI multiline fuzzy document finder
meta.homepage for docfd is: https://github.com/darrenldl/docfd
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.0.0 with grep in /nix/store/s6g10rncqhn6rn1ais4zb26blqs2xdn6-ocaml5.1.1-docfd-4.0.0
found 4.0.0 in filename of file in /nix/store/s6g10rncqhn6rn1ais4zb26blqs2xdn6-ocaml5.1.1-docfd-4.0.0

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
docfd

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/8e7d00e2e78f4dee6a56c3205e0f30261f5d5d9c#docfd

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/s6g10rncqhn6rn1ais4zb26blqs2xdn6-ocaml5.1.1-docfd-4.0.0
ls -la /nix/store/s6g10rncqhn6rn1ais4zb26blqs2xdn6-ocaml5.1.1-docfd-4.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

docfd

Maintainer pings
cc @chewblacka for testing.

Am closing this PR as I already have one in place with necessary amendments:
https://github.com/NixOS/nixpkgs/pull/300470


no samples

hello guys!
i installed fluxgym from scratch and i got the same error but instead of "can't find samples folder" error i got "no samples" error.

every time i solve something i get another one so can anyone help me please to just run it without those errors pfffff.
what fluxgym is doing to me

thank you for answering me sir i appreciated.
here is everything tell me what is wrong please.

That's not an error. it simply is saying you didn't set the samples setting. Check if the safetensors files and readme files were correctly created. They should have.
If you want to auto-generate samples while training, set the sample image every n steps as well as the sample image prompts fields

thank you for answering me sir i appreciated.
here is everything tell me what is wrong please.

Same here... i very quickly get this error too and it does not move any further. Maybe you have found a solution ?

Same here... i very quickly get this error too and it does not move any further. Maybe you have found a solution ?

sorry dude i found nothing, still w8ing for him to talk back.

Sort of gave up and used pinocio to install fluxgym. It added like additional ~30GB and installed a ton of crap that i never used.. like VS, but now its working.
Github version size ~30GB.
Pinocio 57.4GB

Sort of gave up and used pinocio to install fluxgym. It added like additional ~30GB and installed a ton of crap that i never used.. like VS, but now its working.
Github version size ~30GB.
Pinocio 57.4GB

Pinocio downloaded all the 57Gb in the same pinocio folder ?  or some files ara downloaded in c partition ? Cuz I have no space left in c partition

57GB in pinocio and i think ~3GB alone for vscode in C, plus CUDA toolkit and some other stuff, i think they were to C as well. But pinocio dir that i have in D drive is 57.4GB

57GB in pinocio and i think ~3GB alone for vscode in C, plus CUDA toolkit and some other stuff, i think they were to C as well. But pinocio dir that i have in D drive is 57.4GB

Thank you bro for telling me. Good luck and have fun. ❤

i used pinokio and it's the same, any help from anyone i'll be much appreciate it, i did the same settings as above.

I have the same issue saying "no samples" with fresh installation (manually) of FluxGym.

I have the same issue saying "no samples" with fresh installation (manually) of FluxGym.

trust me installing it manually or by pinokio  you'll get the same error i don't think it's working for anybody, this issue only the owner can fix it. so don't bother yourself i tried everything nothing works, when the owner is ready he will fix it i think.

yes i too am having this error its incredibly frustrating both manual and pinokio gives same error owner said earlier in this thread that its not an error, but he should look at it again because its 100% an error I played with every setting doesnt matter same error

yes i too am having this error its incredibly frustrating both manual and pinokio gives same error owner said earlier in this thread that its not an error, but he should look at it again because its 100% an error I played with every setting doesnt matter same error

yup, i'm still w8ing for to answer i hope he does.

Okay I fixed the issue for me. I ran the training command in my terminal and it stuck saying that there is a problem with the charset in the caption of one file. One image caption contained a non utf8 symbol. I removed it manually from the txt file and now it works as expected.
Maybe this fixes the issue for you too. Try to look for unusual characters (e.g. öäü) in your captions and remove them.

Okay I fixed the issue for me. I ran the training command in my terminal and it stuck saying that there is a problem with the charset in the caption of one file. One image caption contained a non utf8 symbol. I removed it manually from the txt file and now it works as expected.
Maybe this fixes the issue for you too. Try to look for unusual characters (e.g. öäü) in your captions and remove them.

Good for you, thank you I'll give it a try no problem, but I remember that I tried without any captions and I got the same error 😔.
So I'll give it a try and I'll put another comment to share the issue with the guys.

Hey, everybody. Same error. No samples. Installed through Pinokio. I will be glad if someone can solve this problem. Thanks

I have also encountered such a problem. I tried closing the program and reopening it, or turning on subtitles or not. With the same picture and the same parameters, sometimes it works for me and sometimes it doesn't. I don't know the reason.

ну че, кто то разобрался с этой проблемой?

Fixed?

Okay just for clarification: "no samples" is not really an error. When something (this could be anything) goes wrong during training it would not show an error but end the training with "no samples". So what can you do to find your specific error? You Can start Training as usual. Then go to the Terminal and look for the training call. This is usually a long line with lots of parameters. You can copy this line an execute it manually in the terminal. Then you will most likely get your error. This way i found my issue.

Good evening, everyone. Has anyone solved this problem? I came to the conclusion that I do not have enough RAM 16 gb, although the video card RTX 3060. Opened the task manager there you can see where at about 45 seconds of pamty scaled to 100% and everything went down. Maybe I'm wrong, but I think the reason is this.

Did an install on Ubuntu today and I'm getting the "no samples" error. tried all the fixes here and still no good. It does say that "training complete, check the outputs from lora folder" - it creates a folder but only contains a couple of small files.

The only fix I came up with was to install on windows and not Ubuntu. Will go back to it when it gets more support for linux.

Good evening, everyone. Has anyone solved this problem? I came to the conclusion that I do not have enough RAM 16 gb, although the video card RTX 3060. Opened the task manager there you can see where at about 45 seconds of pamty scaled to 100% and everything went down. Maybe I'm wrong, but I think the reason is this.

I also had 16Gb of ram and comfyui and automatic 1111 were failing after a while of processing. I upgraded to 64Gb, and my first processing was using 18Gb of ram, I thought 64 was overkill, but using some other high res models it was going up to 38Gb usage. If you motherboard can handle it - I would go up to atleast 64Gb or ram.

Thanks for the reply. Comfyui seems to work, but apparently 16gb is not enough.

same problem

ok, I had the same problem. I tried 2 images 1024X1024 without captions (only trigger word as caption) and it worked.

Thank you! I'll have to try it

I'm not an expert, but I've also encountered this problem recently. I create a "caption" in AI + I add it myself + translator. And sometimes this error appears. In this case, I edit the text, remove unnecessary or incomprehensible characters. For example, Roman numerals. If this does not help, then when this error occurs, I go to the "terminal" and look at which image the error occurred on and rewrite the "caption" or delete the image with the description altogether. I delete 2-5 of the 35 images. This helps, but you have to copy the "caption" too much, every time and restart Fluxgym.
I hope my experience will help someone. Good luck to everyone!


#[derive(OnlyArgs)] fails to recognize type aliases

#!/usr/bin/env -S cargo +nightly -Z script
```cargo
[dependencies]
onlyargs = "0.1.2"
onlyargs_derive = "0.1.2"
```
type MyInt = i32;

#[derive(onlyargs_derive::OnlyArgs)]
struct MyArgs {
    number: MyInt,
}

fn main() {
    onlyargs::parse::<MyArgs>().unwrap();
}

This results in the following error
error: Expected bool, PathBuf, String, OsString, integer, or float
  --> onlyalias.rs:11:13
   |
11 |     number: MyInt,
   |             ^^^^^

I guess this is a limitation due to using myn.
I'm not sure if it's easy to support/select either myn or syn via cargo-feature.

I haven't checked other CLI proc-macros, but do any of them support type aliases?
And if so, how? My understanding of proc-macros is that they can only parse a token stream, and an identifier like MyInt doesn't provide any type-level information at all.

Hm true, it only gets the code from the item it's applied to and has no information, or API to get information, about the surrounding code.
It may be possible to forego type matching in the macro and use traits & generics instead, e.g. parse_arg::<#type>() instead of parse_int() etc., though I suppose this comes with worse compile times and perhaps binary size?


Allow filtering and sorting by raw SQL expressions

Problem
Given a table with two fields, first_name and last_name, I'd like to filter by first_name || ' ' || last_name. Basically I'd like to filter via a raw sql expression (and sort).

Closing as duplicate of #5848

await transaction.$queryRawSELECT *,       CAST(created_by AS int) AS created_by,       CAST(updated_by AS int) AS updated_by       FROM site_contractor       WHERE       (       (type = '${types}') AND       (         name ILIKE '%' || '${globalSearch}' || '%' OR         description ILIKE '%' || '${globalSearch}' || '%' OR         address->>'street' ILIKE '%' || '${globalSearch}' || '%' OR         address->>'city' ILIKE '%' || '${globalSearch}' || '%' OR         address->>'state' ILIKE '%' || '${globalSearch}' || '%' OR         address->>'pin_code' ILIKE '%' || '${globalSearch}' || '%' OR         address->>'country' ILIKE '%' || '${globalSearch}' || '%'       )       )       AND (is_delete = ${is_delete})       ORDER BY ${order_by_column} ${order_by_direction}       LIMIT ${limit}       OFFSET ${offset}
;
when i run this why its throw error as syntax error


Lidar module about "Spp" and cnn_segmentation

System information

OS Platform and Distribution (Linux Ubuntu 14.04):
Apollo installed from (source ):
Apollo version (3.5):

In lidar modules, there is the "Spp_engine" directory, what is mean about "Spp" ?
apollo 3.5 open the cnn_segmentation algorithm about point cloud ?

that is Spatial Pyramid Pooling  ?

that is Spatial Pyramid Pooling ?

Do you have an answer?

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.


key-code shouldn't be a macro

The key-code function is defined as a macro here: https://github.com/oakes/play-clj/blob/894040fae0ced31568f464753bb780dee49f679f/src/play_clj/core_basics.clj#L110
This causes this code to fail:
(key-code (:up controls))

I'ts because key-code body is not quoted, so it's executed at macro expansion time and the argument is unevaluated '(:up controls) instead of the actual value I'd like to have there. Then it breaks on key->upper function because it cannot convert the list '(:up controls) to a name.
Fix could be simple:
(defn key-code [k]
  (eval (u/gdx-field "Input$Keys" (u/key->upper k))))

Fixed, thanks.


Best practices for missing values (aka _FillValues) within VLENs?

Does Unidata have guidelines to represent missing values within
VLENs, rather than the VLENs themselves?
My understanding is that VLEN _FillValues must themselves be VLENs.
This is fine. I want to understand the best practices for indicating
and treating missing values within each VLEN ragged array.
Here I use _FillValue for the attribute name, and "missing value"
for values to "ignore" within a VLEN.
The semantics are confusing. I hope my description is clear.
As I see it, VLENs are incomplete without a well-understood way of
specifying a "missing value" for elements within the VLEN.
Hopefully this is well-trod ground and I can learn from previous
internal Unidata discussions on this topic. Otherwise I can revise
this and post to the netCDF group for discussion.
There are at least three options:

Treat element values that equal the base-type NC_FILL_* as missing.
This allows a disconnect between the _FillValue (a VLEN) and the
value treated as "missing" for data within a VLEN.
This means NC_FILL_* for the VLEN base type is always missing,
regardless of whether the user wants that. It prevents users from
assigning a custom value for missing data within a VLEN.
Treat the first element of the VLEN _FillValue as missing.
This connects the VLEN _FillValue to the "missing value" for
elements within a VLEN. The user controls _FillValue, and can set
it to any desired value, e.g., _FillValue={-999.0}.
Use _FillValue for the VLEN, and missing_value for elements within
the VLEN. Both are independently configurable.
Other/Combinations of the above.

Recommendations?

Interesting question; it hasn't come up in my time here yet, so I'll have to consult the documentation.  @DennisHeimbigner any thoughts?

You have asked an excellent question and we are still reviewing it.

Charlie-
The short answer is that there is no special
policy about VLEN and fillvalue because none is needed.
But I need to make sure I understand the question.
There are two possible places where VLEN and fillvalue might
interact.
First, suppose I have the following definitions.
netcdf ... {
dimensions: d1 = 1;
types: int(*) istar_t;
variables: istart_t v(d1);
...
}

I can set a _FillValue for v in the usual way.
I might do some code like this
where ncid is that of the file and varid is the id of variable v.
{
    int seq[3] = {1,2,3};
    nc_vlen_t fillval;
    fillval.len = 3;
    fillval.p = (void*)seq;
    nc_def_var_fill(ncid,varid,NC_FILL,&fillval);
}

BTW, the default fill value for a vlen is a zero-length vlen: {0,NULL}.
But I suspect this is not what you are referring to.
The important thing to note is that the data associated
with the VLEN instance (pointed to by nc_vlen_t.p)
is a sequence, not an array. That means that there can be no
"holes" in the sequence. This is because there is no way in the
netcdf API to read or write a single element in the sequence.
One can only read or write the whole sequence as one object
[IMO, which is why using UNLIMITED is better].
This means that there can be no concept of a missing-value that
needs a fillvalue.  All of the values in the sequence are defined
as having whatever value was put there by the user's program. If
the user chooses some value to represent a missing value, then
that is their choice and the netcdf library has no knowledge of it.
Possibly you are being misled by the two functions
nc_get_vlen_element and nc_put_vlen_element in netcdf.h.  These
functions are technically there only to support access to VLENs
by Fortran code. It appears the documentation for these functions
is incorrect or at best misleading. They do not allow the
read/write of a specific element in a VLEN sequence.
I will submit an issue to correct the documentation.
Let me know if I am not addressing your question.

I see, and as a best practice it is important for users.
My immediate reaction is to define the preferred fill value
for a  VLEN sequence of values is to use the default fillvalue
for the basetype of the VLEN. However, the problem is what to
do if the user specifies an explicit fill value for some variable whose
type is a VLEN. The problem is that there is defined way to specify
a fillvalue for a type (as opposed to a variable). So there is no way to
set a fill value for the basetype of the vlen.
This can only be defined by some convention, as you note.
You propose this:

Currently I favor using the first element of any user-defined _FillValue to indicate data to
arithmetically ignore in a VLEN sequence.
but I am not sure I understand it. Can you give an example?

_FillValue={1,bp} where bp points to the basetype sequence whose first value would be used, e.g., 1.0e36 for floating point types. I could also be convinced that using the default NC_FILL for the basetype should be treated prima facie as indicating to ignore such data. However, I prefer placing the choice and responsibility of the indicator on the dataset producer, to avoid implicit assumptions.

If I understand this correctly, then your solution rings a bell.
It  is in fact in line with how
we specify fill values for variables whose base type is compound.
That is, the attribute _FillValue must be of the same compound type
and a single instance. The values of the fields of the single instance are used to
(recursively) define the fill value for the fields of the compound type.
I will need to do some research to see if this approach for compound types
is well described in the documentation and if there is some corresponding
documentation for VLENs. I suspect  neither compound nor VLENfill values
are described (at least in detail). Note that your solution also should work
recursively if the VLEN base type is a compound or VLEN type itself.
In sum, this seems like the right solution and is consistent with existing
(probably undocumented) practice for compound types.

Thank you for the extensive feedback and explanation of _FillValue for compound. Based on that, NCO will follow the method I propose above to indicate ignorable elements for VLEN. As you say, it is in the same spirit as the _FillValue solution for compound.


mbtileserver: init at 0.6.1

Motivation for this change
mbtileserver - lightweight and performant server (Go-based) for map tiles stored in MBTiles format.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Tested OK against world_cities and geography-class-png test files from https://github.com/consbio/mbtileserver/tree/v0.6.1/mbtiles/testdata

@GrahamcOfBorg build mbtileserver


PII in the user agent string can cause tracking failure

I noticed that on an iPhone, no events were being tracked because the User-Agent HTTP header is being set to an invalid value.
This problem won't affect every device but is potentially not limited to iPhones.
In the specific case, the iPhone running ios 12 set its device name to Firstname Lastname’s iPhone as a default configuration. It is therefore likely that many/most user's of iPhones have a device name in this format. I have no newer hardware available to verify if Apple have changed this behaviour in recent years but either way, the name may well persist across iOS upgrades to even the most up to date phones.
Note that the apostrophe is not a standard ASCII apostrophe and thus it is not valid to be used in a HTTP header so Dart throws an error rather than submit the tracking request.
I have fixed the issue through two different approaches.

Stop setting the User-Agent HTTP Header to the device-specific value. Although I have only confirmed this works with existing users known to Matomo, I would expect that it works fine for new users too, since we already supply the ua parameter.
Remove the iOS device name and equivalents for other operating systems from the User agent string.

Either fix on its own would resolve this issue but I think the two combined are required to help protect against other unexpected device variables crashing the tracking process and to protect library users and end users from an unexpected leak of personal information.

IMO it would be better to remove invalid characters from the user agent using a Regex, what do you @Pierre-Monier and @MeixDev ?

From what I remember from the Matomo documentation, it's been a long time, the User Agent is used to determine the device from which you send the request through matomo's very own device-detector library.
Therefore I believe that setting the User-Agent according to the device still is important. Replacing non-ASCII characters through a RegEx operation feels like the way to go for me.
Luckyrat is also right in the fact that we already provide the ua parameter though. If this parameter replaces the User-Agent in the eyes of matomo and is confirmed to also work for new users, I would be fine with dropping the HTTP Header.

I've just tried an existing user on my test device (Android 12) and then wiped the stored data (uninstalled). Repeating the same with a fresh installation of the app produces identical device information in Matomo for the new visitor so as far as I can see, there is no need for the HTTP header.
I can't see how it would behave differently for different devices but I'm unsure about the backwards-compatibility with older versions of Matomo server. I've only tested with the latest version but hazard a guess that the behaviour won't have changed since the introduction of the ua parameter. Do you have an agreed minimum Matomo server version that this package must support?
I considered a RegEx but would prefer to avoid that per-request overhead unless it is necessary so figured it made sense to start with the efficient approach and only add the additional complexity if we find it causes an unexpected problem.

If I'm refering to Matomo's changelog it doesn't seem like anything User-Agent related has been deprecated so far, I guess that it wouldn't cause any issue to stop setting it in the send method and only rely on the ua property used in MatomoEvent.

Fixed in #40


Bluetooth: Host: bsim compilation improvements

All compile.sh files in bsim/host removed and replaced with testcase.yaml files which are used for building with twister
Some host tests which compile and run on bsim53 (net core) are enabled
Some conf files streamlined to avoid code duplication
CI bsim files updated correspondingly

Fixes #77055

Just out of curiosity, do you have an example of what the user should do now to manually test a specific test?
Previously I called the compile.sh and the ran one of the test scripts to run a specific test locally. What should a user to do accomplish the same with this change?

@Thalley Build is now a simple west twister -T <path_to_test> -p <platform> command.

Do we really need this change? File names are already long enough, and it's easy to match what belongs where looking at testcase.yaml file, so unless anyone is really taking into account the exact binary file names and use it for something, I'd just leave things where they are.

Do we really need this change? File names are already long enough, and it's easy to match what belongs where looking at testcase.yaml file, so unless anyone is really taking into account the exact binary file names and use it for something, I'd just leave things where they are.

It is easy with how it is before (and currently for the ones with no change), the lines indicate which ones overlay/extra variant failed to build without having to browse to read the testcase.yaml :

of course, the test scripts are still very cryptic today.
Since you deleted files etc.. in this PR, yes, having the renaming to be consistent with existing exename makes sense in this PR.

With twister however, when failing to build, it will print the test name as specified in testcase.yaml, so analyzing the failure would require looking into yaml file anyway. Which in my opinion, is a good thing, as this file is way more readable and gives a much better overview of the overall test configuration, rather parsing extra long file executable name and trying to deduce all the info from it. So I don't think the naming convention is extremely relevant in that case.

So I don't think the naming convention is extremely relevant in that case.

It is revelant as you have changed how the tests where built using CONF_FILE, now to explicitly merge as extra config files due to migration for using EXTRA_CONF_FILE. The scope of the tests have changed and there can be false positives in the tests passing in this PR CI. Have we checked all the zephyr/.config files to be same as before the PR changes?

So I don't think the naming convention is extremely relevant in that case.

It is revelant as you have changed how the tests where built using CONF_FILE, now to explicitly merge as extra config files due to migration for using EXTRA_CONF_FILE. The scope of the tests have changed and there can be false positives in the tests passing in this PR CI. Have we checked all the zephyr/.config files to be same as before the PR changes?

Well, in all the comments above, we were speaking only about naming convention, haven't we? Naming convention isn't going to prevent errors by itself. My point is with this change, testcase.yaml file provide a full overview of test configuration, including which overlay (or extra config) files  are used for which test. Having it in place, you don't need to rely on very precise (and very long) binary file name to understand for which particular configuration it was build.
As for the change in the conf files done in that PR, only changed it in places where there were obvious common set of config parameters, and config files that deviated from the baseline by only one or few config params were changed to be extra config files, to avoid code duplication.


Resize DataTable on sidebar toggle

When responsive DataTables is not enabled, the table needs to be resized whenever the sidebar visibility is toggled.
The logic was still based on AdminLTE, which has been replaced by CoreUI. Old logic is not working with CoreUI. This PR fixes that.

A new inspection was created.

The inspection completed: No new issues

I love this! Thanks @martijnb92 !


batteryReader was still being initialized

Reading through the book (thanks!) and noticed that in this branch the batteryReader was still being assigned in onCreate (line 25).
I removed this locally and seemed to work fine since it's being injected later on.
Sorry, trying to re-remember how DI works (previously a veteran of the Spring/JEE wars of the early 00s) ;)

Thanks for the fix!


CI/CD to Automate Docker Layers Generation, PreCompiled toolchain and executables

Hello,
I'm just writing here because @ooPo recommended to contact you and more concretely @dbeef, and I was thinking that this repo was the most appropriate to explain this.
We have recently integrated a whole and complex CI/CD in the ps2dev GitHub group using GitHub Actions and DockerHub we don't longer need to have TravisCI in place.
Now we have several repositories that are generating docker layers and/or artifacts, and the most interesting thing, once they finish, they dispatch notifications to trigger compilation in other repositories, to generate more docker layers and artifacts.
In the end, ps2dev repositories and pspdev repositories have similar "architecture", so I suppose that we can basically copy & paste the implementation that we did.
Giving a quick overview.

We're generating 5 different dockers layers, giving the last one, the most useful for Developers that want to use dockers to assure that their projects are stable.
We are generating a precompile toolchain (for macOS and Ubuntu 64) where lazy developers just can do there and grab it instead to compile it in their machine.
We are generating several executables (.elf), like examples around the different repos or tools it-self.

Everything is done in a maximum of 15 minutes in the worst scenario.
Some useful links.

Here you can see the different dockers layers (if you see there are extremely small)
https://hub.docker.com/u/ps2dev/

Precompiled complete toolchains
https://github.com/ps2dev/ps2dev/actions/runs/108959675

Some compiled examples
https://github.com/ps2dev/ps2sdk/actions/runs/108501085
https://github.com/ps2dev/gskit/actions/runs/108957621

So, just tell me if you're interested. @ooPo have my contact so we can start a conversation as you wish!
Thanks

I would say this would be amazing to have. We would need a maintainer to create the pspdev organization on the Dockerhub for it.
Providing binaries for Mac and perhaps also Windows would be great. I'm not too big a fan of providing a prebuild version for Ubuntu, though, since people on other distributions will probably end up using it too.
Assuming others think this is a great idea as well, we would need to know which steps we'd need to take to be able to implement this. Could you provide a short list?

Good to ear this!
So, first of all, I have the pspdev organization created by myself in DockerHub.
The reason why we have the pre-compiled toolchain, even for Ubuntu, is because this is for free, and anyway you should check that the toolchain is compiling for ubuntu.... so reached that point doesn't make sense to don't offer it.
Then the steps to follow, just to start is to identify the different docker layers that you want to create and how the repositories are connected themselves.
As I said before, the repository in ps2dev and pspdev are quite similar, but have done some "improvements" from our point of view.
The most radical changes have been to reduce the "scope" of ps2toolchain to just compile, binutils, gcc and newlib (probably you also need to include gdb) and then additionally we have created a new repo called "ps2dev" which offer the whole development environment, either as docker file or precompiled toolchain.
Here you have a copy and paste about the whole CI/CD flow we have done in the ps2dev. Please take a look and see how this adjusts to the pspdev group.

The main objectives are basically 4:

Assure that the changes keep the compilation successful.
Generation of artifacts. They could be PS2 Executables (.elf), local machine content
Generation of several docker layers. This is useful either for compiling some repos inside of ps2dev or for external application as OPL, RetroArch or uLaunch
A change in a repo could dispatch an action to associated repos to trigger their CI/CD and update Docker images.

The repos that are involved in the implemented CI/CD are:

ps2toolchain
The scope of this repository now has been reduced, this is no longer the repo that you need to clone if you want to install ps2 environment in your local machine if you wanna do this your repo now, is ps2dev.
The ps2toolchain is just now, compiling binutils, gcc and newlib.
This repo generate:
1st docker layer, named ps2dev/ps2toolchain:latest and it is composed by:
alpine:latest + ps2toolchain
Once that the docker image has been build and uploaded to DockerHub, a dispatch action is being sent to ps2sdk repo.

ps2sdk
This repo uses the docker image ps2dev/ps2toolchain:latest as reference for the CI/CD process. The CI/CD in this case just check that the compilation works as expected.
This repo generate:
2nd docker layer, named ps2dev/ps2sdk:latest and it is composed by:
alpine:latest + ps2toolchain + ps2sdk
Once that the docker image has been build and uploaded to DockerHub, a dispatch action is being sent to gsKit and ps2-packer repos.

ps2-packer
This repo uses the docker image ps2dev/ps2sdk:latest as reference for the CI/CD process. The CI/CD in this case just check that the compilation works as expected.
This repo doesn't generate any docker layer and it doesn't make any dispatch either.

gsKit
This repo uses the docker image ps2dev/ps2sdk:latest as reference for the CI/CD process. The CI/CD in this case just check that the compilation works as expected.

This repo generate:
3rd docker layer, named ps2dev/gsKit:latest and it is composed by:
alpine:latest + ps2toolchain + ps2sdk + gsKit
Once that the docker image has been build and uploaded to DockerHub, a dispatch action is being sent to ps2sdk-ports repo.

ps2sdk-ports
This repo uses the docker image ps2dev/gsKit:latest as reference for the CI/CD process. The CI/CD in this case just checks that the compilation works as expected.
This repo generate:
4th docker layer, named ps2dev/ps2sdk-ports:latest and it is composed by:
alpine:latest + ps2toolchain + ps2sdk + gsKit + ps2sdk-ports
Once that the docker image has been build and uploaded to DockerHub, a dispatch action is being sent to ps2dev repo.

ps2dev
This is a new repo created with the main purpose of an offer to developers the whole PS2 environment. This is the REPO that you MUST clone if you want to prepare your machine for the ps2 development.
This repo uses the docker image ps2dev/ps2sdk-port:latest as reference for the CI/CD process.
This repo generate:
5th docker layer, named ps2dev/ps2dev:latest and it is composed by:
alpine:latest + ps2toolchain + ps2sdk + gsKit + ps2sdk-ports + ps2-packer + ps2client
A precompiled toolchain for Ubuntu x64 and MacOS x64, where lazy devs can just go there and download the zip file. It is composed by:
ps2toolchain + ps2sdk + gsKit + ps2sdk-ports + ps2-packer + ps2client

The overall approach looks good to me.
However, we need to make sure this integrates well with our planned changes (pacman for building and distributing libraries).
I already had the idea to split the toolchain repo as well, so :+1: from me.

The overall approach looks good to me.
However, we need to make sure this integrates well with our planned changes (pacman for building and distributing libraries).
I already had the idea to split the toolchain repo as well, so 👍 from me.

Hello,
This is totally fine, you can dispatch notifications to other repositories to trigger their CI/CD.
I don't know if you wanna discuss the implementation details here or in a different place.

Great idea. I was looking at getting the windows toolchain working via CI with the help of the fantastic DarkFlea.
Perhaps we could work together on this, we're all on the PSP Homebrew Discord in #psp-toolchain if you wish to join https://discord.gg/bePrj9W


Start of day configuration of shim debug setting

This makes it possible to enable shim debug by adding the following to
config.toml:
[plugins.linux]
shim_debug = true

I moved the debug setting from the client.Config struct to an argument to
client.WithStart since this is the only place it would be used.
Signed-off-by: Ian Campbell<EMAIL_ADDRESS>

Both changes made. FWIW I don't actually see the shim die in debug mode if I kill containerd, although maybe that's because I didn't try to coerce it into logging anything while in that state.

Codecov Report

Merging #1164 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1164   +/-   ##
=======================================
  Coverage   31.78%   31.78%
=======================================
  Files          27       27
  Lines        2168     2168
=======================================
  Hits          689      689
  Misses       1331     1331
  Partials      148      148

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 0600399...194b6e4. Read the comment docs.

Ok, maybe not then, you just wont receive shim logs anymore after restart because the shim is stilled dup'd to the original containerd io

LGTM


Support for interfaces

I've been writing this exact thing over and over, and I think in needs some attention
New-PSClass 'IFoo' {
    method 'DoStuff' {
        param($things)

        throw (new-object System.NotImplementedException)
    }
}

It could look like this:
Where param1 is the name of the method and param2 is the types of the parameters
New-PSClass 'IFoo' -Interface {
    methodSignature 'DoStuff' @([object],[string])
}

When using interfaces (which have no constructor), we should be able to allow multiple interfaces definitions to be used.
Inherit and Implement I think have different means. Where you inherit from a single parent class, you can implement multiple interfaces.
New-PSClass 'IFoo' -Interface {}
New-PSClass 'IBar' -Interface {}

New-PSClass 'MyThing' -Implements 'IFoo','IBar' {}


Add the ability to create marginalia when in Safari

We could begin making IndieWeb style replacement of Hypothes.is if we added easy ways to create marginalia posts in browser and app extensions. Example:
https://collect.readwriterespond.com/4685-2/
https://stackoverflow.com/questions/26063582/ios-8-action-extension-for-selected-text-in-safari

Now that Highly’s future is uncertain, I am without a decent annotation tool on iOS. This would be awesome.

Gotcha! Good to know. It probably won’t be a super quick thing as there are some changes coming to what I’m doing with Indigenous and the iOS/macOS updates this fall. But I’ll definitely keep in mind that this is of interest to you!


Operation prints Operation Succeeded! instead of null when the value is null and attribute's type is String

There is a basic Camel integration with cron route, which does not have value of Description attribute as an example, but instead it has null as value and attribute's type is String.

When executing, for instance, getDescription() operation - it prints Operation succeeded! and nothing else. However, the return value should be null

The output from the console:
{"request":{"mbean":"org.apache.camel:context=SampleCamel,type=routes,name=\"cron\"","type":"exec","operation":"getDescription()"},"value":null,"timestamp":1686583114,"status":200}

Similar behaviour is when type of Attribute is long and value is 0, the operations result is Operation Succeeded! instead of 0

Hi juri. Which version is this? I'm just trying to produce your output but it comes correctly
{"request":{"mbean":"org.apache.camel:context=SampleCamel,name=\"cron\",type=routes","type":"exec","operation":"getDescription()"},"value":null,"timestamp":1687185720,"status":200}

{"request":{"mbean":"org.apache.camel:context=SampleCamel,name=\"cron\",type=routes","type":"exec","operation":"getExchangesFailed()"},"value":0,"timestamp":1687185516,"status":200}

Can you try this in latest main version?

Hi @joshiraez ,
You are right, with recent changes now it works as expected and returns values correctly both null and 0
So I think we can close the ticket
Thank you


auto re-import atlas, fixes #40047

Here's what this PR gives in a new project:

Since full_path is no longer imported, all resource imports apart from AtlasTextures are broken.

So, we just need to readd reimports.push_back(full_path); to not break resources imported

Thanks!

Cherry-picked for 3.2.3.


[Discogapic] Parse ResourceName when it contains a service address

This PR would be checked in very closely with https://github.com/googleapis/gapic-generator/pull/2402.
This would fix googleapis/google-cloud-java#3604.

Codecov Report

Merging #2477 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##             master   #2477      +/-   ##
===========================================
+ Coverage      86.8%   86.8%   +<.01%
  Complexity     5365    5365
===========================================
  Files           459     459
  Lines         21179   21176       -3
  Branches       2309    2308       -1
===========================================
- Hits          18384   18382       -2
  Misses         1972    1972
+ Partials        823     822       -1

Impacted Files
Coverage Δ
Complexity Δ

...degen/viewmodel/StaticLangApiResourceNameView.java
75% <ø> (ø)
2 <0> (ø)
:arrow_down:

...degen/discogapic/transformer/DiscoGapicParser.java
92.72% <ø> (+1.2%)
22 <0> (ø)
:arrow_down:

...a/JavaDiscoGapicResourceNameToViewTransformer.java
100% <100%> (ø)
15 <0> (ø)
: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 03f61fb...d88c6fb. Read the comment docs.

ci/circleci: compute-discovery-test is going to fail because  https://github.com/googleapis/discovery-artifact-manager/pull/102 isn't merged yet.

PTAL


issue when using default settings for training

CompilationError                          Traceback (most recent call last)
 in <cell line: 1>()
----> 1 trainer_stats = trainer.train()
25 frames
/usr/local/lib/python3.10/dist-packages/triton/compiler/compiler.py in make_ir(self, options, codegen_fns, context)
111
112     def make_ir(self, options, codegen_fns, context):
--> 113         return ast_to_ttir(self.fn, self, context=context, options=options, codegen_fns=codegen_fns)
114
115     def parse_options(self):
CompilationError: at 59:8:
# Do logit softcapping for Gemma 2: t * tanh(1/t * x)
if DO_SOFTCAPPING:   logits = SOFTCAP * triton_tanh(logits / SOFTCAP)
c = tl.max(logits, 0)
logsumexp = c + tl.log(tl.sum(tl.exp(logits - c), 0))

if label_idx != -100:
    x = tl.load(logits_ptr + label_idx)
    # Go logit scaling for Cohere: t * x
    if DO_LOGIT_SCALING: x = LOGIT_SCALE * x
    # Do logit softcapping for Gemma 2: t * tanh(1/t * x)
    if DO_SOFTCAPPING:   x = SOFTCAP * triton_tanh(x / SOFTCAP)
    ^

AssertionError('initial value for x is of type fp16, but the then block redefines it as fp32')

can be replicated with the this notebook

I changed the this  x = tl.load(logits_ptr + label_idx) to x = tl.load(logits_ptr + label_idx).to(tl.float32) in line 87 of kernels/cross_entropy_loss.py and it seems to work. This is similar to line 168 in _chunked_cross_entropy_forward

Is it fixed ?

@Ammar-Alnagar Yes! Please update unsloth without any dependencies via pip uninstall unsloth -y && pip install --upgrade --no-cache-dir --no-deps "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git"

@danielhanchen  amazing work like always!
@KarimMusleh  thank you for the help.


Prevent excessive calls for agent config from ReqMgrAux database

Fixes #10860
Status
Tested
Description
Updates the _getResult method of the ReqMgrAux API to not clear its disk cache by default. Also, sets a 5 minute cache duration for agent polling threads to prevent multiple queries.
Reduces queries for the agent configuration by ~30% for an empty agent over a 10 minute period. Unknown how this translates to an agent filled with jobs.
Also moves calls to isDrainMode from inside a for loop in JobArchiverPoller. This is likely the largest cause of excessive calls from agents full of work.
Is it backward compatible (if not, which system it affects?)
YES
Related PRs
NA
External dependencies / deployment changes
NA

Got these squashed, thanks @amaltaro!

Thanks Erik!


Configuration

Thank you for your work. :)
I am trying to setup a D-Link DCS-930 camera (similar to yours, I guess).
All went ok, HomeBridge registers, icon shows up in HomeKit, but I have a bit of problem to setup the email settings for he camera itself.
I have to attached settings and I do not know how to setup to get triggers upon movement. (All other settings are default in HomeBridge)
Please kindly help.
Thanks!

fill in sender and receiver email address fields with valid fields.
then you need to edit the email text content. Not sure where that would be setup in your settings. but somewhere in your email you need to enter the words that you configured to "trip" the sensor.
this would be what you chose to enter in your config.json file.


New-AzRmStorageShare  versus New-AzStorageShare

I was curious as to this article using the New-AzRmStorageShare  cmdlet versus New-AzStorageShare cmdlet.  Is there a recommendation on which to use moving forward???
Regards,
Jeff Smalley MCT

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

ID: ad2c9646-a4bc-aa28-de27-5fce4d4b4e44
Version Independent ID: 1288f4c1-e871-8bc7-9693-2e62d5074a09
Content: Create an Azure file share - Azure Files
Content Source: articles/storage/files/storage-how-to-create-file-share.md
Service: storage
Sub-service: files
GitHub Login: @roygara
Microsoft Alias: rogarana

@JeffSmalley Thank you for sharing your query! We are currently investigating and will get back to you shortly on this.

@JeffSmalley New-AzStorageShare cmdlet creates a file share. This is the cmdlets which we are going to use and AZ module is recommend .
Azure PowerShell – Cross-platform “Az” module replacing “AzureRM”
Az is a replacement for AzureRM and AzureRM.Netcore.
Az runs on PowerShell 5.1 and PowerShell Core.
Az is always up to date with the latest tooling for Azure services.
Az ships in Cloud Shell.
Az shortens and normalizes cmdlet names. All cmdlets use "Az" as their noun prefix.
Az will simplify and normalize module names. Data plane and management plane cmdlets for each service will use the same Az module.
Az ships with new cmdlets to enable script compatibility with AzureRM (Enable/Disable-AzureRmAlias).
You can install Az from the PowerShell gallery.
Compatibility with AzureRM:  If you would like to run scripts developed for AzureRM using Az, use the Enable/Disable-AzureRmAlias cmdlets to add or remove aliases from AzureRM cmdlets to Az cmdlets.
For now you can use both cmdlets but the recommend module is AZ
For more information: Please refer to this article: https://azure.microsoft.com/en-in/blog/azure-powershell-cross-platform-az-module-replacing-azurerm/#:~:text=Az is a replacement for,latest tooling for Azure services.

Thanks for the reply but I believe you missed what cmdlets I  am talking about. Both cmdlets seem to be in the new AZ module you refer to.   The Microsoft document talks about the New-AzRmStorageShare cmdlet not the old New-AzureRmStorageShare. My question was about the use of New-AzRmStorageShare versus New-AzStorageShare.   Both seem to be from the new AZ module.  I was curious which is the preferred cmdlet.

@JeffSmalley  Your feedback has been shared with the content owner for further review.

@JeffSmalley Thanks for the question! The short answer is, the AzRm cmdlets would be the preferred cmdlet. They use a different, more suitable backend.

I'll go ahead and close this issue, thanks again for reaching out!
#please-close


Column collisions in record list output

Notice how column 1 and 2 run together at the "A" after longer hostnames…
denominator -q -n clouddns-strangecode record -z strangecode.com list | sort -k2
[…]
weddingamandaparktaylorcom.alias.strangecode.com  A      300  <IP_ADDRESS>
thelivinglightfoundationorg.alias.strangecode.com A      300  <IP_ADDRESS>
contemplativeobservatorycom.alias.strangecode.com A      300  <IP_ADDRESS>
astillbornstarproductionscom.alias.strangecode.comA      300  <IP_ADDRESS>
betacreativeimagingcentercom.alias.strangecode.comA      300  <IP_ADDRESS>
potentialsofconsciousnessorg.alias.strangecode.comA      300  <IP_ADDRESS>
devidentity-internationalcom.alias.strangecode.comA      300  <IP_ADDRESS>
skylineplantbiologyprojectorg.alias.strangecode.comA     300  <IP_ADDRESS>
premiumdesignspatternsandtrimcom.alias.strangecode.comA  300  <IP_ADDRESS>

This could be problematic if the output is ever parsed by a non-human. Just add a space character after each printf %s position (guessing—no clue if you're using printf or not).
BTW, the above output was piped through column -t to compress the output for web view. Compressing column whitespace wouldn't be unpleasant to do inside denominator anyways.

crazy latency, but I plan to spend a bit of time in denominator. ping back if you'd still like this addressed!

This one very easy to fix, and somewhat important.
Q
On Tue, 27 Jan 2015 22:12:11 -0800, Adrian Cole wrote:

crazy latency, but I plan to spend a bit of time in denominator. ping
back if you'd still like this addressed!
—
Reply to this email directly or view it on GitHub.


FAQ edits

A suggested structure for the FAQ page.
Text is rough, there are no images, and lots of links need to be added, but this is what I'm thinking.  Work in progress.

Thanks @tnabtaf for that. Let me know when you want me to review it


DecisionTreeClassifier serialization/deserialization

I'm submitting a ...

[x] question about how to use this project

Summary
I am trying to serialize and deserialize DecisionTreeClassifier, however it throws an error. What is a valid way to save tree to file and restore it later?

Source:
const decision = new DecisionTreeClassifier({ featureLabels: ['a','b'] });
const deserialized = new DecisionTreeClassifier({ featureLabels: ['a','b'] });

const X = [[0, 0], [1, 1]];
const y = [0, 1];
decision.fit( X, y );
const serialized = JSON.stringify(decision.toJSON())
deserialized.fromJSON(JSON.parse(serialized))

Stacktrace:
TypeError: node.question.match is not a function
    at DecisionTreeClassifier._predict (C:\apps\ml\src\lib\tree\tree.ts:434:23)
    at DecisionTreeClassifier.predict (C:\apps\ml\src\lib\tree\tree.ts:202:24)
    at Object.predict (C:\apps\ml/dttest.js:12:27)

The problem is that JSON.stringify will convert the typed classes to regular, non-typed objects. Providing that string to a fromJSON will then only create objects with the same properties, but these objects won't be the original classes with their appropriate methods. I suppose the fromJSON needs to be extended so that proper instances are created of the correct classes.
For the forest this could be something like this:
    BaseRandomForest.prototype.fromJSON = function (_a) {
        var _b = _a.trees, trees = _b === void 0 ? null : _b;
        if (!trees) {
            throw new Error('You must provide both tree to restore the model');
        }
        this.trees = [];
        for (const tree of trees) {
            const t = new tree_1.DecisionTreeClassifier();
            t.fromJSON(tree);
            this.trees.push(t);
        }
    };

A single classifier could then be:
    DecisionTreeClassifier.prototype.fromJSON = function (_a) {
        var _b = _a.featureLabels, featureLabels = _b === void 0 ? null : _b, _c = _a.tree, tree = _c === void 0 ? null : _c, _d = _a.verbose, verbose = _d === void 0 ? false : _d, _e = _a.random_state, random_state = _e === void 0 ? null : _e;
        this.featureLabels = featureLabels;
        const t = new DecisionNode();
        this.tree = t.fromJSON(tree);
        this.verbose = verbose;
        this.randomState = random_state;
    };

And the nodes:
    DecisionNode.prototype.fromJSON = function (_a) {
        if (typeof _a.prediction !== "undefined") {
            return Object.assign(new Leaf([]), _a);
        }
        const q = _a.question;
        this.question = new Question(q.features, q.column, q.value);
        this.falseBranch = (new DecisionNode()).fromJSON(_a.falseBranch);
        this.trueBranch = (new DecisionNode()).fromJSON(_a.trueBranch);
        return this;
    };

Allthough the fromJSON should probably not return the result to be consistent with the existing fromJSON methods, but you get the idea.

Ahh ok that's explains a lot, thank you very much :)

Hey guys, thanks for the issue! I will check it out shortly!

It seems to be solved  @JasonShin

I have the same problem.
I tried to handle using the above example, but some classes are not exported.
import { DecisionTreeClassifier } from './tree';
export { DecisionTreeClassifier };
then i'm fork and fix it
import { DecisionTreeClassifier, DecisionNode, Question, Leaf } from './tree';
export { DecisionTreeClassifier, DecisionNode Question, Leaf };

@danechung Could you kindly help me with this? Thanks in advance.


jMonth typo

Hi,
There is a typo here
امرداد -> مرداد
امر -> مرد
Thanks.

See: #12, #39 and #16. The correct word is the one used by this library. But correctness is only relative. If enough people agree with convention over correctness. I'll change the code.
My opinion: convention is much more important because we use language to convey meaning. And language is not what's in the dictionaries and old scripts. It's what's spoken by people. I strongly agree with this change. The original author doesn't.
I think this should be a community decision.
We'll give it some time before we decide. 👍 If you agree and 👎 If you disagree With the following changes:

امرداد -> مرداد
Mordaad <- Amordaad
امر -> مرد
Mor <- Amo
آدینه -> جمعه
آ -> ج

cc @behrang @pajooh @UKbed990 @mehrdaad @amiraliakbari @MehdyKarimpour @miladkdz
@hramezani @arastu @mvalipour

We don't change our writing, although we might change speaking and reading. Here are some more examples:
خواهر
خواندن
خواستن - که با خاستن معنای متفاوتی دارد
گذار و گزار که معنای متفاوتی دارند

I didn't know that and maybe I use it in my future applications, But there are situations that I'm not the one who makes decisions or customers disagree with it or you have to use what is common.
In my opinion you can provide a way to change these things and keep these defaults.

I've never seen امرداد or آدینه being used in our everyday calendars or in any website. I understand that these are correct but unfortunately they aren't convenient. And most of us are building software for the common folk, not for The Ministry of Culture and Higher Education. I'm afraid a huge portion of our population doesn't know about this. And the ones that know will also understand مرداد. In other words, مرداد will be understood by every Iranian whereas, امرداد will only be understood by a very few.
Productivity > Perfectionism
I say it again, I won't do a thing unless I see more 👍s than 👎 s

It was a close call for me, but I went 👎 on it. Because at the end of the day, there must be a source of truth for this and it sounds like it has to be the original form.
However I DO also feel the need on the consumers side. They are building a product for which they need to be able to design whatever language is best suitable.
Plus bear in mind, Iran is not the only country in which Jalaali calendar is used in, so can't just say one is more correct than the other one just because it's the acceptable language in Iran.
From this point on, IMO this would be the discussion of supporting dialects.
💡 Idea: why not let people extend on that?
// something like
jMoment.loadPersian({ useModernDialect: true })

or alternatively leaving some sort of extension point in there and make it possible for someone to build moment-jalaali-blahblah?
Final thought: Just like any other language/framework, I think there should be a defined set of standards for this to avoid confusion. Maybe some sort of blueprint in jalaali/blueprint?

@mvalipour I like the idea of having different dialects for different cases.
jMoment.loadPersian({ dialect: '...' });

Where dialect can be: 'persian' | 'modern-persian' | 'afghan' | 'azeri' | 'pashto' | 'kurdish'
It will default to 'persian' for backward-compatibility ( what it is right now )
'modern-persian' will use the conventions. And the other dialects will cover other countries and accents that have Jalaali calendar system.
ref: https://fa.wikipedia.org/wiki/گاه‌شماری_هجری_خورشیدی
@behrang How is that?

It's OK for persian and modern-persian, but I'm not sure about afghan, azari, pashto and kurdish. I'm sure month names are different, but I'm not sure about calendar calculations.
In Jalaali and the algorithm behind it, 12PM of Tehran is important. I'm not sure afghan, kurdish and others follow it or not.
Also, I think persian-modern is better than modern-persian.

@behrang I didn't know about that 😅 😅 Let's just stick to what we know. I'll add persian and persian-modern for now. Should others need other dialects, let them investigate and implement it themselves.

I would say add dialect/*.js files and dynamically load them in loadPersian method and merge with the default options.
That would make it super easy to extend in the future.

@mvalipour A switch case will do the job. dynamic imports aren't very bundler-friendly 😅

وقتی یه نفر از شما میپرسه توی چه ماهی هستیم هیچوقت نمیگین امرداد. بذارین کنار این آریایی بازی ها رو توی جامعه اوپن سورس. کاری کنین کتابخونه تون قابل استفاده باشه.

I wonder why you haven't yet implemented the "dialect" thing or even better, an extensibility point for custom strings to be used in date-formatting functions. I think there's no need to wait for the votes!

@mrmashal The decision is made. But I don't have a lot of free time to implement it. I'll do it when I get the chance. PRs are welcome if this is a priority for you 👍

Fixed by #104
I'll publish as soon as I can.


Support cursor keys for scrolling

Currently the only way to scroll the build output is by clicking on the scrollbar (awkward due to #286) or using the mouse scroll wheel.
It would be handy to support cursor keys (particularly pgup/dn, home, end).

[BTW: thanks for a great addon, these issue reports are not a criticism, just ideas for improvement]

Cool! I'm glad you like it and I'm glad you're taking the time to send me suggestions!
Cursor keys would come for free in with term.js I mentioned in #285 . Let's track it there!


lib crashes during device discovery

I'm having an issue where the avdecc-lib crashes when an avb device is found.
The last output in the console window says: [NOTIFICATION] (END_STATION_CONNECTED, ..
Any ideas?
thanks,
uwe
ChildEBP RetAddr  Args to Child
03a8f880 5f1990a2 e06d7363 00000001 00000003 KERNELBASE!RaiseException+0x62 (FPO: [4,22,0])
03a8f8d0 5f20f6a0 03a8f8e0 5f2399c0 5f1b8d14 VCRUNTIME140D!_CxxThrowException(void * pExceptionObject = 0x03a8f8e0, struct _s__ThrowInfo * pThrowInfo = 0x5f2399c0)+0xa2 (FPO: [Non-Fpo]) (CONV: stdcall) [f:\dd\vctools\crt\vcruntime\src\eh\throw.cpp @ 136]
03a8f8ec 5ef7c2cc 5efd8998 03a8fac0 010a4e68 MSVCP140D!std::_Xout_of_range(char * _Message = 0x5efd8998 "invalid vector subscript")+0x20 (FPO: [Non-Fpo]) (CONV: cdecl) [f:\dd\vctools\crt\crtw32\stdcpp\xthrow.cpp @ 26]
03a8f900 5ef7c413 010a4e68 03a8f948 5ef760a1 avdecc_lib_controller32!std::vector<avdecc_lib::entity_descriptor_imp *,std::allocator<avdecc_lib::entity_descriptor_imp *> >::_Xran(void)+0x1c (FPO: [Non-Fpo]) (CONV: thiscall) [c:\ewdk\enterprisewdk_rs1_release_14393_20160715-1616\program files\microsoft visual studio 14.0\vc
\include\vector @ 1770]
03a8f90c 5ef760a1 00000000 03a8fa90 03a8fac0 avdecc_lib_controller32!std::vector<avdecc_lib::entity_descriptor_imp *,std::allocator<avdecc_lib::entity_descriptor_imp *> >::at(unsigned int _Pos = 0)+0x23 (FPO: [Non-Fpo]) (CONV: thiscall) [c:\ewdk\enterprisewdk_rs1_release_14393_20160715-1616\program files\microsoft visual studio 14.0\vc\include\vector @ 1210]
03a8f948 5ef621fd 00000007 03a8fb2c 01044ff8 avdecc_lib_controller32!avdecc_lib::end_station_imp::proc_rcvd_acmp_resp(unsigned int msg_type = 7, void ** notification_id = 0x03a8fb2c, unsigned char * frame = 0x01044ff8 "???", unsigned int frame_len = 0x46, int * status = 0x03a8fb00)+0x51 (FPO: [Non-Fpo]) (CONV: thiscall) [c:\projects\0ddk\avdecc-lib\controller\lib\src\end_station_imp.cpp @ 1837]
03a8fa9c 5efc4ab0 03a8fb2c 03a8fb0f 01044ff8 avdecc_lib_controller32!avdecc_lib::controller_imp::rx_packet_event(void ** notification_id = 0x03a8fb2c, bool * is_notification_id_valid = 0x03a8fb0f, unsigned char * frame = 0x01044ff8 "???", unsigned int frame_len = 0x46, int * status = 0x03a8fb00, unsigned short * operation_id = 0x03a8faf4, bool * is_operation_id_valid = 0x03a8faeb)+0x76d (FPO: [Non-Fpo]) (CONV: thiscall) [c:\projects\0ddk\avdecc-lib\controller\lib\src\controller_imp.cpp @ 564]
03a8fb3c 5efc49cc 5ef2213f 00000000 05725b58 avdecc_lib_controller32!avdecc_lib::system_layer2_multithreaded_callback::poll_single(void)+0xc0 (FPO: [Non-Fpo]) (CONV: thiscall) [c:\projects\0ddk\avdecc-lib\controller\lib\src\msvc\system_layer2_multithreaded_callback.cpp @ 307]
03a8fb50 5efc497b 03a8fb6c 74458744 05725b58 avdecc_lib_controller32!avdecc_lib::system_layer2_multithreaded_callback::proc_poll_thread_callback(void)+0x3c (FPO: [Non-Fpo]) (CONV: thiscall) [c:\projects\0ddk\avdecc-lib\controller\lib\src\msvc\system_layer2_multithreaded_callback.cpp @ 196]
03a8fb58 74458744 05725b58 74458720 68486308 avdecc_lib_controller32!avdecc_lib::system_layer2_multithreaded_callback::proc_poll_thread(void * lpParam = 0x05725b58)+0xb (FPO: [Non-Fpo]) (CONV: stdcall) [c:\projects\0ddk\avdecc-lib\controller\lib\src\msvc\system_layer2_multithreaded_callback.cpp @ 188]

That's weird - not seeing that issue here. Are you able to share what end station is on the network?

No because it's still under development. The issue disappears if the end station does not connect to other avb endstations during powerup.

We've seen this kind of error if the AEM isn't valid. (E.g. AEM stated there were 2 clock sources, but configuration only provided 1 clock source descriptor).
This crash didn't appear in the Linux cmdline app (not sure about Mac). @uwekirst, maybe try the Linux version, even if it's just in a VM, to see if you can discover your devices?


DualSense Controller Not Working in ChimeraOS 46-1 (fdf7169) and Later

Description:
Since upgrading to ChimeraOS 46-1 (fdf7169), my DualSense controller has stopped working properly. Although I can connect the controller, the white LED at the center lights up and I'm unable to control the Steam UI with it. This issue appears to be related to the v6.9.12-chos2 and later kernels, as the controller functions correctly when I downgrade to version 46-1_afbc2cd.
Steps to Reproduce:

Upgrade ChimeraOS to 46-1 (fdf7169) or any later version.
Connect a DualSense controller via Bluetooth.
Observe that the controller connects (but the white LED lights up).
Attempt to navigate the Steam UI using the controller.

Expected Behavior:
The DualSense controller should work as expected, allowing navigation within the Steam UI.
Observed Behavior:
The controller connects, but does not respond to inputs within the Steam UI.
Temporary Solution:
Downgrading to ChimeraOS 46-1_afbc2cd resolves the issue, and the DualSense controller works as expected.
System Information:
ChimeraOS version: 46-1 (fdf7169)
Kernel version: v6.9.12-chos2 and later
Controller: Sony PS5 DualSense Controller
MiniPC: Minisforum HX100G

Can you provide the output of lsusb please?

Can you provide the output of lsusb please?

Sure, here is the output of lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 2109:2817 VIA Labs, Inc. USB2.0 Hub
Bus 001 Device 004: ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
Bus 001 Device 005: ID 0e8d:7961 MediaTek Inc. Wireless_Device
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 05e3:0625 Genesys Logic, Inc. USB3.2 Hub
Bus 002 Device 003: ID 2109:0817 VIA Labs, Inc. USB3.0 Hub
Bus 002 Device 005: ID 0951:1666 Kingston Technology DataTraveler 100 G3/G4/SE9 G2/50 Kyson
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0bda:5442 Realtek Semiconductor Corp. BillBoard Device
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 002: ID 05ac:101d Apple, Inc. USB2 Hub
Bus 009 Device 003: ID 05ac:0250 Apple, Inc. Aluminium Keyboard (ISO)
Bus 009 Device 004: ID 05ac:1114 Apple, Inc. Studio Display
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 010 Device 002: ID 05ac:101e Apple, Inc. USB3 Gen2 Hub

There might be an issue with InputPlumber. Try sudo systemctl disable inputplumber and reboot.

There might be an issue with InputPlumber. Try sudo systemctl disable inputplumber and reboot.

Here's a response you can use to mark the issue as solved:

Thank you for the suggestion! Disabling InputPlumber` and then rebooting resolved the issue.
Thanks again for the help!

I'd still like to resolve the issue that caused it. The DS5 should be working with InputPlumber. I can't reproduce the issue with my DS5 though so I'm wondering what is different.

I'd still like to resolve the issue that caused it. The DS5 should be working with InputPlumber. I can't reproduce the issue with my DS5 though so I'm wondering what is different.

I’m happy to help! I agree that it would be good to resolve the root cause of the issue with InputPlumber. I’m not sure what might be different on my end, but I’m happy to provide any logs, system details, or test any suggestions you have to help troubleshoot. Let me know what you need!

This may be related to #980

I also had this problem @pastaq , disabling inputplumber solved it for me too.


PowerToys Run: Search in browser

📝 Search directly in browser from PowerToys Run
What is the expected behavior of the proposed feature?  What is the scenario this would be used?
PowerToys Run supports both opening URLs in browser and local searching. But a more common use case is wanting to search in the browser. For example, I'm in VSCode and want to do a quick Stack Overflow query. Ideally I could open the PowerToys Run prompt and search (my preferred search engine) for a query directly. Pressing enter would switch to the currently open instance of the default browser or else open one if none exists. n.b. that if this either does not respect my default browser preference or my default search engine preference, it's a non-starter.
A further extension could support browser level search engine aliases (for instance, in my browser entering "wiki John Adams" in the address bar will auto-resolve to the Wikipedia search engine). I am unsure if browsers make this kind of metadata available via any API, and if so whether practices differ across browser vendors, so my assumption is this isn't plausible.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Duplicate of https://github.com/microsoft/PowerToys/issues/3245


Unable to configure hostmetrics receiver from container environment

Since hostmetrics receiver uses gopsutil library, the only way to configure host metrics collection from container is to setup environment variables as it's done in the helm chart. However appeared that signalfx-agent dependency overrides all the env variables making hostmetrics receiver collect metrics from container itself, not from the host machine.

This one is not resolved yet


Show the current function/method name in the toolbar

Like the "flagsChanged" part of the bottom toolbar in this screenshot of TextMate 2.
I don't see any indication of which function/method I'm in, which is handy if it's so long its name is scrolled up out of view.

Sounds like a nice idea for an extension...

Are the current line and column numbers from an extension too?

Closing in favour of the mentioned extensions.


Skip fields with missing enum types

This pr removes fields with enum types containing ::.
The build currently skips generation of enums containing ::, so this allows the built code to compile when they exist in the steam api's json. Ie the new code matches the existing:
for e in steam_api.enums {
    if e.enumname.contains("::") {
        continue;
    }
...

Maybe there's a better fix, this is just how I got it to compile.

Looks fine to me. Seems the new steamworks sdk actually uses those enums now (guessing the new networking api?) so something will have to be worked on when those types are wrapped but this is fine for now. Thanks!


restructured project and made android studio recognized application

I have mentioned about this in https://github.com/Hiten24/Compose-Ui-Templates/issues/5

Hi, I tried your repository after you pushed code for settings.gradle and now it works perfectly.


[BUG] async grpc *** was never awaited

Describe the bug
The example comes from the official example of grpc.
git clone https://github.com/grpc/grpc.git
cd grpc/examples/python/helloworld
python setup.py build_ext
cd build/lib*
python  asyncio_server.py
python asyncio_client.py

Code to reproduce the behaviour:
# setup.py
from distutils.core import setup
from Cython.Build import cythonize
setup(
    name="pyos",
    ext_modules=cythonize("./*.py"),
)

# async_server.py
import asyncio
from async_greeter_server import serve
asyncio.run(serve())

# async_client.py
from async_greeter_client import run
import asyncio
asyncio.run(run())

Expected behaviour
No response
OS
Linux
Python version
3.8
Cython version
3.0.7
Additional context
No response

Currently, we do not support Cython 3.0. However, adding support for Cython 3.0 is on our roadmap.
For anyone who's interested in Cython 3.0 support, please comment on this issue so that we can prioritize it accordingly.

Re-opening this issue to track Cython 3.0 support

Looks like we already have one tracing PR: https://github.com/grpc/grpc/issues/33918, we'll use that to track Cython 3.0 support.


✨ Introduce Fuzzing

Use Fuzzing for these initial use cases:

[x] parameterization
[ ] SET variables
[ ] AS aliases
[ ] Literals in function calls

SET currently blocked by #552

Removed Blocked status, known failure bypassed in the test.


DBZ-3397 An exception if system language is not English

https://issues.redhat.com/browse/DBZ-3397
DBZ-3397 An exception if system language is not English

@Naros, could you take a look? Also see my comment on the Jira issue on this one. Thx!

The changes thus far are fine; however lets wait to see whats the outcome of the query I've asked to be run in the Jira issue before we merge.  If the banner text is unaffected by locale, then this is good as-is but if it is then we may need some additional tweaks.

Superseded by PR https://github.com/debezium/debezium/pull/2313, closing this in favor of the adjusted PR.


Remove the need for runconfig.Parse() in the builder

runconfig.Parse() is being used by the builder, but for a huge 350+ line function, it's doing almost nothing in this case.  The only args passed to the call are command and image. I believe this version which just constructs a container.Config directly is equivalent.
This change allows us to move runconfig.Parse() to the client, which is the last remaining place it is used, instead of trying to share it with the daemon as well. I think we might be able to drop the other two calls into runconfig as well, but I'm leaving those for another PR.
cc @calavera, @anusha-ragunathan, @tiborvass

:tada: LGTM

LGTM 🐰


Twitter error no downloads

Ripme version: 2.1.2-23-e5438e85
Java version: 1.8.0_371-b11
Operating system: Windows 10 Home

Exact URL you were trying to rip when the problem occurred: https://twitter.com/HouseRabbit
Please include any additional information about how to reproduce the problem:

Expected Behavior
Expected the app to download the images & videos as usual.
Actual Behavior
Got an error code:
I have no idea what it's trying to tell me to do...

This fork is dead. Abandoned.

feel free to create a pull request. twitter wants an oauth token, or similar, like reported already in the orig:
https://github.com/RipMeApp/ripme/issues/1273


chore(deps): disable renovate for node version

Codecov Report

Merging #1275 (5eee0a7) into master (7a0d8d7) will increase coverage by 0.95%.
The diff coverage is 63.52%.

@@            Coverage Diff             @@
##           master    #1275      +/-   ##
==========================================
+ Coverage   53.77%   54.73%   +0.95%
==========================================
  Files          49       49
  Lines        1733     1657      -76
  Branches      490      404      -86
==========================================
- Hits          932      907      -25
+ Misses        708      671      -37
+ Partials       93       79      -14

Impacted Files
Coverage Δ

...nents/sbb-autocomplete/sbb-autocomplete.helper.tsx
57.14% <0.00%> (ø)

...c/components/sbb-card-product/sbb-card-product.tsx
64.19% <39.28%> (ø)

...mponents/sbb-accordion-item/sbb-accordion-item.tsx
37.20% <58.33%> (ø)

src/components/sbb-card-badge/sbb-card-badge.tsx
88.88% <71.42%> (ø)

src/components/sbb-accordion/sbb-accordion.tsx
40.00% <75.00%> (ø)

...c/components/sbb-autocomplete/sbb-autocomplete.tsx
40.00% <85.71%> (ø)

...ts/sbb-autocomplete-item/sbb-autocomplete-item.tsx
78.94% <87.50%> (ø)

src/components/sbb-button/sbb-button.tsx
91.17% <93.75%> (ø)

src/global/core/components/overlay/overlay.tsx
0.00% <0.00%> (ø)

...obal/core/components/overlay/overlay-component.tsx
0.00% <0.00%> (ø)

... and 67 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Better internal webui

As for now it's a server-side CGI-style monster with custom API. Can we use a purely frontend based one with a public API?

Done in 0.2.0


PLT-7786: Kubernetes scheduler

This enables running with a kubernetes-powered job backend, enabled when passing --run-certify-image to specify the docker container containing run-certify.

This is on top of #132.
This PR is designed to be reviewed commit by commit.

Deployed in https://github.com/input-output-hk/dapps-certification/commit/c3b27b3bc05016c265f7da9084cb35578a6d2dd1

I guess this needs some rebasing

Hmm, how did you merge the other PR? This is one reason why a merge with a proper merge commit is the right way to go.
Will rebase.

Rebased

Hmm, how did you merge the other PR? This is one reason why a merge with a proper merge commit is the right way to go.
Will rebase.

for some time we used the fast-forward method ( and also by formatting the branch commits according to conventional commits specifications)


Store data with Prisma/ORM instead of JSON

Replace data storage from JSON to ORM with Prisma.
Obviously a massive PR once again, but this should be the last major rewamp for a while 🤠
I've tried to keep the backend separate by a route layer, service layer and a database layer, which is why some of the functions in the service layer per now is only calling directly to the database. Not sure if it is needed, but I think it is nice not to do any database actions from the routing functions ngl 🤷

LVGTM! 🎉⚡

I'm creating a script for migrating the old data from JSON to the database 🚀

Solving #196 and #164