text:
cargo-geiger: init at 0.7.3

Motivation for this change
cargo-geiger: Detects usage of unsafe Rust in a Rust crate and its dependencies.
I recently discovered safety-dance and figured cargo-geiger would be a nice utility to have on nixpkgs.

Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-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.

Seems to work fine without any tweaks.
Some sample output from the url crate:
    Checking matches v0.1.8
    Checking smallvec v0.6.12
    Checking percent-encoding v2.1.0 (/home/evanjs/src/crates/rust-url/percent_encoding)
    Checking unicode-bidi v0.3.4
    Checking unicode-normalization v0.1.8
    Checking idna v0.2.0 (/home/evanjs/src/crates/rust-url/idna)
    Checking url v2.1.0 (/home/evanjs/src/crates/rust-url)
     Finished dev [unoptimized + debuginfo] target(s) in 4.10s
    Scanning done

Metric output format: x/y
    x = unsafe code used by the build
    y = total unsafe code found in the crate

Symbols:
    :) = No `unsafe` usage found, declares #![forbid(unsafe_code)]
    ?  = No `unsafe` usage found, missing #![forbid(unsafe_code)]
    !  = `unsafe` usage found

Functions  Expressions  Impls  Traits  Methods  Dependency

0/0        6/6          0/0    0/0     0/0      !  url 2.1.0
0/0        1/1          0/0    0/0     0/0      !  ├── idna 0.2.0
0/0        0/0          0/0    0/0     0/0      ?  │   ├── matches 0.1.8
0/0        0/0          0/0    0/0     0/0      :) │   ├── unicode-bidi 0.3.4
0/0        0/0          0/0    0/0     0/0      ?  │   │   └── matches 0.1.8
0/0        20/20        0/0    0/0     0/0      !  │   └── unicode-normalization 0.1.8
2/2        322/322      4/4    1/1     13/13    !  │       └── smallvec 0.6.12
0/0        0/0          0/0    0/0     0/0      ?  ├── matches 0.1.8
0/0        3/3          0/0    0/0     0/0      !  └── percent-encoding 2.1.0

I had to use rev = "${pname}-${version}"; for rev as there are two programs in the repository (including the releases section): cargo-geiger and geiger.
I'm following the updates for cargo-geiger, so I have to use this rather than e.g. v${version}.
Happy to do whatever is cleanest, though.

Also, I have not tested on a Mac, but would be happy if somebody was able to do so.
Aside from installation, all that needs to be done for testing is running cargo geiger from a "normal" (/singular) Rust project -- e.g. not a virtual workspace, such as the root of the main Rust repo.

Finally, I noticed there are categories for development/tools/rust and  tools/package-management.
There seemed to be some overlap between the two categories, so I just settled with development/tools/rust for now.
Happy to modify this if there is a better option.

ty for enabling the tests which work well with sandbox :)

authors: evanjs jonringer


text:
cgal: 4.14 -> 5.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/cgal/versions.
meta.description for cgal is: '"Computational Geometry Algorithms Library"'.
meta.homepage for cgal is: '"http://cgal.org"
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 5.0 with grep in /nix/store/is3v7kilw5ifws5kb1v25pfvc15f47w6-cgal-5.0

directory tree listing: https://gist.github.com/9479cc9ad4d91ccc53e38926a6bee3c2

du listing: https://gist.github.com/7351cf87c3c3f71dc43894a8d14eb37d

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

38 total rebuild path(s)
10 package rebuild(s)
10 x86_64-linux rebuild(s)
10 i686-linux rebuild(s)
8 x86_64-darwin rebuild(s)
10 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
cgal
gplates
openmvs
openscad
postgresql11Packages.pgrouting
postgresqlPackages.pgrouting
python27Packages.graph-tool
python37Packages.graph-tool
python38Packages.graph-tool
rapcad

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/is3v7kilw5ifws5kb1v25pfvc15f47w6-cgal-5.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A cgal https://github.com/r-ryantm/nixpkgs/archive/16679f1414b507fd583d40a58d408d7b7971e6bd.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/is3v7kilw5ifws5kb1v25pfvc15f47w6-cgal-5.0
ls -la /nix/store/is3v7kilw5ifws5kb1v25pfvc15f47w6-cgal-5.0/bin

cc @7c6f434c for testing.

@ofborg build openscad rapcad

Did a version split

source: gharchive/pull-request

repo: NixOS/nixpkgs

license: MIT

license_type: permissive

license_source: github-api


text:
python38Packages.jenkins-job-builder: 3.0.2 -> 3.1.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.8-jenkins-job-builder/versions.
meta.description for python38Packages.jenkins-job-builder is: '"Jenkins Job Builder is a system for configuring Jenkins jobs using simple YAML files stored in Git"'.
meta.homepage for python38Packages.jenkins-job-builder is: '"https://docs.openstack.org/infra/system-config/jjb.html"

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.1.0 with grep in /nix/store/akymbi6z8vnq8qmlw0pl3vzarswvfixh-python3.8-jenkins-job-builder-3.1.0

directory tree listing: https://gist.github.com/3b1426743bb5652c3095830573af606e

du listing: https://gist.github.com/b04858caa97a198063fcce710715f79a

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

16 total rebuild path(s)
4 package rebuild(s)
4 x86_64-linux rebuild(s)
4 i686-linux rebuild(s)
4 x86_64-darwin rebuild(s)
4 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
jenkins-job-builder
python27Packages.jenkins-job-builder
python37Packages.jenkins-job-builder
python38Packages.jenkins-job-builder

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/akymbi6z8vnq8qmlw0pl3vzarswvfixh-python3.8-jenkins-job-builder-3.1.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python38Packages.jenkins-job-builder https://github.com/r-ryantm/nixpkgs/archive/1260b89178515227df5b444a366f31281eebdff1.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/akymbi6z8vnq8qmlw0pl3vzarswvfixh-python3.8-jenkins-job-builder-3.1.0
ls -la /nix/store/akymbi6z8vnq8qmlw0pl3vzarswvfixh-python3.8-jenkins-job-builder-3.1.0/bin

darwin failure from dependency

authors: jonringer r-ryantm


text:
nixos/filesystems: don't chown /run/keys recursively

Motivation for this change
3c74e48d9c8dbcede89a72ea18cd27def4b498a9 was a bit too much, it updated
permissions of all files recursively, causing files to be readable by
the group.
This isn't a problem immediately after bootup, but on a new activation,
as tmpfiles.d get restarted then, updating the permission bits of
now-existing files.
This updates the Z to be a z (the non-recursive variant), and adds a
d to ensure a directory is created (which should be covered by the
initrd shell script anyway)
cc @NixOS/backports
Things done

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

[ ] NixOS
[ ] 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"
[ ] 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
[ ] Fits CONTRIBUTING.md.

Backported to 20.03 in 9fafbd1f6f1.


text:
pyglet: support ffmpeg libraries

Motivation for this change
While pyglet may load a number of ffmpeg libraries, the paths are not hardcoded in
load_libraries so will fail when attempted. This fixes the issue.
Things done

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

[x] NixOS
[ ] 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"
[ ] 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.

ping @jonringer


text:
nixosTests.redmine: Port to python

Motivation for this change
#72828
Things done

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

[x] NixOS
[ ] 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"
[ ] 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.

@GrahamcOfBorg test redmine


text:
vscode: 02/2020 backports

Motivation for this change
Things done

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

[ ] NixOS
[ ] 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"
[ ] 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
[ ] Fits CONTRIBUTING.md.

https://github.com/NixOS/nixpkgs/pull/87611#issuecomment-629606540


text:
ocamlPackages.curly: init at 2019-11-14

Motivation for this change
Dependency for dune-release which I am working on packaging. Used a unstable version, since the last release's jbuilder setup seems broken by now and the old API isn't broken.
I decided to patch in a static path to curl, since curly assumes that it'll find curl in PATH by default, which is kind of hard to ensure for a library. The static path can still be overridden by the user of the library if they want to, however.
Another solution to the problem could be to not care about it in curly, but use wrapProgram for all user applications that use curly and add curl to PATH there. I think doing it in curly is nicer overall and should ensure that it works out of the box, but let me know what you think!
Things done

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

[x] NixOS
[ ] 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"
[ ] 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.

@GrahamcOfBorg build ocamlPackages.curly

authors: sternenseemann vbgl


text:
nixos/picom: add experimentalBackends option

Motivation for this change
This option is only available as a command-line flag and not from the config file, that is services.picom.settings. Therefore it is more important that it gets its own option.
One reason one might need this set is that blur methods other than kernel do not work with the old backends, see yshui/picom#464.
For reference, the home-manager picom module exposes this option too.
Things done

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

[x] NixOS
[ ] 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"
[ ] 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)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@aanderse It does not look like the maintainers are available.

@axelf4 thanks for the PR and ping :tada:


text:
Waifu claiming problem

Is it normal to be like this? The script is recognizing the 32 min as 10781, is there anything I can do? I've already checked the server settings and everything is fine

The same problem is happening with the last claim min, I set the action to be carried out in the last 10 minutes, but it is happening with around 1 hour left, etc.

Can you go into the channeldata folder and open up the text file for your channel and check that the settings in there matches the one shown in $settings?
Could you also show me what the settings are for
· Claim reset: every xx min. ($setclaim)
· Exact minute of the reset: xx:xx ($setinterval)
· Reset shifted: by +x min. ($shifthour)

Yes, here is the setup.
_ Server Settings _
(Server not premium)
· Prefix: $ ($prefix)
· Lang: en ($lang)
· Claim reset: every 180 min. ($setclaim)
· Exact minute of the reset: xx:00 ($setinterval)
· Reset shifted: by +0 min. ($shifthour)

Could you help me test the new claim timer/(commit f24ef1c) to see if it is working?

Sorry the new commit 53dc43d should help I hope.

No need to apologize, thanks for the good work :):
Well, I tested it and it ended up like this, using the update

However, it was on another server, with these settings here, since I ended up deleting my other one.

Try the new commit :(

Try the newer commit :(

SORRY, I HADN'T SEEN THAT YOU UPDATED AGAIN. Well, I tested it and it worked perfectly, thank you very much!! There was a difference of one minute, counting the seconds, but I don't know if it's the bot's calculation or discord. HOWEVER, THANK YOU VERY MUCH!! I BELIEVE IT WILL WORK

Hello, the solution previously worked, but I ended up noticing that it only worked for a server with the default configuration, in this case:
Prefix: $ ($prefix)
· Lang: en ($lang)
· Claim reset: every 180 min. ($setclaim)
· Exact minute of the reset: xx:44 ($setinterval)
· Reset shifted: by +0 min. ($shifthour).
On my other server that has the configurations:
Prefix: $ ($prefix)
· Lang: en ($lang)
· Claim reset: every 180 min. ($setclaim)
· Exact minute of the reset: xx:00 ($setinterval)
· Reset shifted: by +0 min. ($shifthour)
It ended up not working, only being able to detect the minutes and ignoring the hours

The same thing happened on another server, with the settings:
Prefix: $ ($prefix)
· Lang: en ($lang)
· Claim reset: every 180 min. ($setclaim)
· Exact minute of the reset: xx:02 ($setinterval)
· Reset shifted: by +0 min. ($shifthour).
In this one, he recorded 1hr 42 as 2hr 42.
By the way, is there a problem if the server settings are in another language? Like PT-BR?

The bot only supports the english language and will not work properly on other languages. There are currently no plans to add support for other languages.

Im having an issue where the bot doesn't claim the kakera prices correctly?
I set it to claim anything above 400, but it will only claim anything thats on my claim list ignoring the kakera value

Im having an issue where the bot doesn't claim the kakera prices correctly?
I set it to claim anything above 400, but it will only claim anything thats on my claim list ignoring the kakera value

Can you share your Settings_Mudae.json without your discord token?

{
"token":"token",
"channel_ids":[
1
],
"slash_ids":[
channel
],
"slash_guild_ids":[
17
],
"claim_delay":0,
"kak_delay":0,
"use_emoji":"<:keqing_love:795077041761288214>",
"roll_this":"wa",
"slash_this":"wa",
"rolling":"False",
"slash_rolling":"False",
"random_rolling":"False",
"daily_claiming":"False",
"poke_rolling":"False",
"series_list":[
],
"name_list":[
"Rias Gremory",
"Zero Two",
"Rem",
"Rias Gremory",
"Megumin",
"Makima",
"2B",
"Marin Kitagawa",
"Power",
"Satoru Gojo",
"Madara Uchiha",
"Yor Forger",
"Sasuke Uchiha",
"Sakura Haruno",
"Kakashi Hatake",
"Mai Sakurajima",
"Nezuko Kamado",
"Mikasa Ackerman",
"Hange Zoe",
"Asuna",
"Saber",
"Chika Fujiwara",
"Yumeko Jabami",
"Emilia",
"Miku Nakano",
"Shinobu Kocho",
"Bongo Cat",
"Violet Evergarden",
"Hatsune Miku",
"Aqua",
"Akame",
"Albedo",
"Levi Ackerman",
"Himiko Toga",
"Kaguya Shinomiya",
"Ram",
"Kirby",
"Nino Nakano",
"Rin Tohsaka",
"Nami",
"Akeno Himejima",
"Hinata Hyuuga",
"Shiro",
"Kanna Kamui",
"Ai Hayasaka",
"Esdeath",
"Kurumi Tokisaki",
"Takanashi Rikka",
"Raphtalia",
"Tohru",
"Uraraka Ochako",
"Sinon",
"Neferpitou",
"Darkness",
"Shoto Todoroki",
"Chizuru Ichinose",
"Nobara Kugisaki",
"Gawr Gura",
"Killua Zoldyck",
"Erza Scarlet",
"Nico Robin",
"Asuka Langly Soryu",
"Chiaki Nanami",
"Mitsuri Kanroji",
"Nyan Cat",
"Katsuki Bakugou",
"Kurisu Makise",
"Annie Leonhart",
"Ryuko Matoi",
"Eren Jaeger",
"Hayase Nagatoro",
"Sasha Braus",
"Rei Ayanami",
"Truck-Kun",
"Taiga Aisaka",
"Kanao Tsuyuri",
"Itsuki Nakano",
"Momo Yaoyorozu",
"Tanjiro Kamado",
"Shouko Nishimiya",
"Osamu Dazai",
"Kaori Miyazono",
"Yotsuba Nakano",
"Tsuyu Asui",
"Monkey D Luffy",
"Giyuu Tomioka",
"Mary Saotome",
"Touka Kirishima",
"Krista Lenz",
"Boa Hancock",
"Izuku Midoriya",
"Yukino Yukinoshita",
"Yuno Gasai",
"Hestia",
"Lucy Heartfilia",
"Kirigiri Kyoko",
"Shouko Komi",
"Kyouko Hori",
"Yuuji Itadori",
"Erina Nakiri",
"Junko Enoshima",
"Alice Synthesis Thirty",
"Shinobu Oshino",
"Amber",
"Ai Ohto",
"Ken Kaneki",
"Crona",
"Echidna",
"Lucoa",
"Mitsuha Miyamizu",
"Zenitsu Agatsuma",
"Roronoa Zoro",
"Artoria Pendragon (Alter)",
"Ichigo",
"Armin Arlert",
"Megumi Fushiguro",
"Rio Futaba",
"Tsunade",
"Kyouka Jirou",
"Naruto",
"Tatsumaki",
"Kyoujurou Rengoku",
"Mirko",
"Dabi",
"Misa Amane",
"Nanika",
"Nejire Hadou",
"Nao Tomori",
"Jean",
"L",
"Tobio Kageyama",
"Inugami Korone",
"Eri",
"Sakura Haruno",
"Ichika Nakano",
"Fubuki",
"Tanya Degurechaff",
"Jibril",
"Itachi Uchiha",
"Jolyne Cujoh",
"Inosuke Hashibira",
"Sukuna",
"Lisa",
"Midnight",
"Tamaki Kotatsu",
"Bowsette",
"Mina Ashido",
"Sumi Sakurasawa",
"Kenma Kozume",
"Jeanne D'Arc",
"Black Hanekawa",
"Kurapika",
"Shouyou Hinata",
"Venti",
"Pieck Finger"
],
"emoji_list":[
"kakeraY",
"kakeraO",
"kakeraR",
"kakeraW",
"kakeraL"
],
"soulemoji_list":[
"kakeraO",
"kakeraR",
"KakeraW",
"KakeraL"
],
"min_kak":400,
"last_true":"False",
"last_claim_min": 2,
"min_kak_last_min": 100
}

Ok so how it works is that it will claim your characters in your name_list then series_list then claim anything above 400 kakera and not claim if you have claimed within the 3 hour window.
Note for @Nixeld:
If the character is in the list and claimed already, it's skip claim for the message and do kakera instead.(intended)

Im having an issue where the bot doesn't claim the kakera prices correctly?
I set it to claim anything above 400, but it will only claim anything thats on my claim list ignoring the kakera value

The bot will priortise claiming characters in your claim list first then claiming any characters that are above 400 kakera. So if a character that is in your claim list spawn, it will claim that and ignore any characters that are above 400 kakera.
If this is not the behaviour you are observing, please send some screenshots of your discord channel showing the problem.

source: gharchive/issue

repo: Nixeld/MudaeAutoBot


text:
as a backend dev, I should have a database design that aligns with the functionality of the app, so that I can implement the app

Resources important for after this task. Please read through all.

can say diff btwn sql and nosql
should understand what a database schema is: http://www.databaseanswers.org/tutorial4_db_schema/index.htm  CAN STOP AT SLIDE 5.
should understand composite keys: https://www.javatpoint.com/sql-composite-key
should understand normalization: https://mariadb.com/kb/en/library/database-normalization/  CAN STOP AT 3rd Normalization.
should have a sense of what operations are possible with a sql database: https://www.postgresqltutorial.com/

Added basic design

authors: Nnadozie tosinfarai

repo: Nnadozie/paw


text:
🛑 BreezeWiki bw.projectsegfau.lt is down

In ad4eebf, BreezeWiki bw.projectsegfau.lt (https://bw.projectsegfau.lt) was down:

HTTP code: 502
Response time: 376 ms

Resolved: BreezeWiki bw.projectsegfau.lt is back up in e7b5b6e.

repo: NoPlagiarism/services-personal-upptime


text:
🛑 libreddit libreddit.domain.glass is down

In 10897a3, libreddit libreddit.domain.glass (https://libreddit.domain.glass) was down:

HTTP code: 503
Response time: 58 ms

Resolved: libreddit libreddit.domain.glass is back up in fdf8e45 after 15 minutes.


text:
🛑 BreezeWiki breezewiki.pussthecat.org is down

In 549538d, BreezeWiki breezewiki.pussthecat.org (https://breezewiki.pussthecat.org) was down:

HTTP code: 502
Response time: 562 ms

Resolved: BreezeWiki breezewiki.pussthecat.org is back up in 5b40c8c after 42 minutes.


text:
🛑 libreddit libreddit.spike.codes is down

In e4ded4e, libreddit libreddit.spike.codes (https://libreddit.spike.codes) was down:

HTTP code: 0
Response time: 0 ms

Resolved: libreddit libreddit.spike.codes is back up in c4f9c66 after 7 minutes.


text:
🛑 WikiLess wl.vern.cc is down

In aaf65ab, WikiLess wl.vern.cc (https://wl.vern.cc) was down:

HTTP code: 0
Response time: 0 ms

Resolved: WikiLess wl.vern.cc is back up in d68c1bd after 7 minutes.


text:
Hallowed items/armor

Hallowed items/armor have worse stats than Orichalcum.

If you prioritize durability it is easy to see why you would think this.
Durability-wise Orichalcum tools are way better, and the armor has slightly more. Orichalcum also has KB resistance which Hallowed does not, because Orichalcum is designed to make for better armor.
Hallowed gear is balanced around the hallowed materials. It is not supposed to be a direct upgrade from all of them. In comparison to an Orichalcum Pickaxe, a Hallowed Pickaxe has less durability, but it is much faster and has better DPS. This goes for all Hallowed tools if you compare against Orichalcum.
If you enjoy min-maxing then keep making Orichalcum armor. Some players might not like KB resistance and can opt out by making Hallowed Armor.
If you believe that Orichalcum tools are better, then that is simply your preference.

authors: Noaaan Omegarte

repo: Noaaan/MythicMetals


text:
Only parse entries if they are there

When requesting xinfo stream on an empty stream, first-entry and last-entry are empty.
In that case we shouldn't try to parse the entries. See issue #105

Merged, thanks~

authors: NoneGG bjowi

repo: NoneGG/aredis

license: mit

license_source: bigquery


text:
Update nRFLoggerTree.java

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

authors: CLAassistant abirimfo

repo: NordicSemiconductor/nRF-Logger-API


text:
Function to Retrieve Inspectors Added

Create a function to fetch the list of inspectors added using the add_inspector function. This list will help users select an inspector when assigning them to a land using set_land_inspector.
Functionality:
Input: None (fetches all inspectors added).
Output: List of inspectors with relevant details
Why?
Simplifies the process of selecting an inspector for assignment.
Reduces user errors by providing a pre-validated list of available inspectors.

Fishon if it pleases you to assign me this issue I'd be very grateful, and I promise open a PR within 48 hours of the assignment.

I can handle this task , kindly assign.

Could I grab this task? My profile onlydust https://app.onlydust.com/u/MrRoudyk

I’d like to work on this.

Hi  I'm a full-stack developer from Costa Rica and member of Dojo coding. I've worked on projects using React, Solidity, Cairo, and blockchain tools. My skills in both front-end and back-end development allow me to build scalable and secure solutions for web3 ecosystems.
Steps to Implement

Contract Changes
Add a public getter function to fetch the list of inspectors.
Store inspector details in a mapping or struct array during the add_inspector function implementation. For example:
•	Use a mapping(address => Inspector) for individual inspector details.
•	Use an address[] array to track all inspector addresses for iteration.
Ensure that all added inspectors are properly appended to the list.

Fetch Function
Implement a function like getInspectors to return the list of inspectors.
If using Solidity, the function might look like this:
•	Loop through the stored array of addresses to retrieve inspector details (if necessary).
•	Return an array of structs containing inspector information.

Expected Outcome
The system will provide a validated list of all added inspectors. This list simplifies the process for users by reducing manual input errors during land inspector assignment.

Could I take a shot at this?

Can I jump on this task?

May I handle this issue @fishonamos ?
I have contributed to the cairo codebase of landver in last odhack too, I am pretty confident I can handle this too.
eta: 2 days

I’d like to work on this.

Let me try this one!

Hi, i am Chiboka Emmanuel  a full-stack web developer who enjoys creating solutions and applications that look great and work smoothly. To solve this, I’d create a getInspectors function that fetches all the inspectors added via add_inspector. This function would return a list of inspectors with relevant details like name and ID. I’d then use this list in set_land_inspector to allow users to easily select an inspector, reducing errors and simplifying the process.  I would really love to be assigned this issue and work on this project.

Can I take this from here?

Hi, I'm Ekene, a frontend and blockchain developer, and I’m new to the OnlyDust platform. This is my first time contributing to this repository, and I’m excited about the opportunity to collaborate and bring my skills to the table. Looking forward to making a positive impact and working with the team!
To Tackle this issue,  I will create a function that fetches the list of inspectors added using the add_inspector function. This will involve querying the database or the relevant data source where inspector information is stored.
I will ensure that The list will be returned in a structured format, making it easy to use when assigning an inspector to a land via the set_land_inspector function.
By fetching a pre-validated list of available inspectors, I will ensure that users can select from a list of inspectors who have been properly added, reducing errors that could occur from manual input or incorrect selection.

Can I take this from here?

Could I take on this issue? Yes
I am a Front-end developer. I am proficient in CSS, Typescript, JavaScript.
I would love to work on this and solve the issue.

Hello can i be assigned this issue, i am a new contributor with experience in Cario and javascript, would love to work on this , my ETA is >24Hours and ill create a draft PR in 10 hours time. Thank you for this opportunity. :)

I'd like to handle this task.

Mind if I try this one?

gm, Suhas here, having worked in the last od, where  I’ve worked on integrating on-chain mechanics into games and have contributed to optimizing user experience with tools like SPV wallets and Web3 integrations with expertise in writing and testing smart contracts in Cairo.
I will implement fetch_all_inspectors(), retriving prevalidated inspectorr details like ID, name, and availability using an optimized mapping and indexed array. This ensures seamless integration with set_land_inspector and reduces assignment errors. ETA: 24 hours.

Is this issue still available?. let me handle this

I'd like to take this issue.

authors: Akshola00 Amarjeet325 Benjtalkshow Ekene001 Michaelkingsdev MrRoudyk No-bodyq Pvsaint ShantelPeters SoarinSkySagar Supa-mega Unickhub akintewe aspiringLilCoder chibokaxavier ekumamatthew fishonamos imoleayomi19 jsandinoDev mananuf mimisavage suhas-sensei

repo: NoshonNetworks/landver


text:
Install dependecies with pure devcontainer

fix #118
Add the "postCreateCommand": "dotnet restore",.
I test on my local computer (I don't have codespaces)

Hi @Benjioe,
Thanks for taking the time to look at this. Sadly, the issue is not with .net dependencies for the project. The issue is with c# compiler and other dependencies for visual studio code itself. I will clarify in the issue.

authors: Benjioe NotMyself

repo: NotMyself/DotNetCoreKoans


text:
Fix: /todayStart wasn't running if you didn't have a calendar day open

fix: fixed an error in /todayStart that kept it from running if the note wasn't open. It now opens it automatically.
Not sure how I missed this before, but fixed it. Bumped version so it could be released whenever you get a chance to look @jgclark

Thanks @jgclark!
On Wed, Sep 8 2021 at 3:22 PM, Jonathan Clark @.***>
wrote:

Merged #78 https://github.com/NotePlan/plugins/pull/78 into main.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NotePlan/plugins/pull/78#event-5275049958, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACEI6VC25XIA3BZSJY664J3UA7OY5ANCNFSM5DSOUMLQ
.

repo: NotePlan/plugins


text:
Add pre-defined color values

Adds predefined color values usable like:
vk2d::Colorf::SCARLET();
vk2d::Colord::RED();
vk2d::Color8::GREEN();
vk2d::Color16::CYAN();
vk2d::Color32::TEAL();

Also fixed typo in matrix classes. Don't understand how it passed your compiler, it was returning wrong types.

These look good. 👍
VS completely skips templates that are not used anywhere, these often come haunting back later.

Unfortunately I had to remove TRANSPARENT for now as it is defined by the "Windows.h".
"Windows.h" causes a ton of naming collisions as everything in it is a pre-processor definition or a macro and they used up all the common words. 🤦♂

authors: Noxagonal exuvo


text:
Footer CSS styles on https://www.nuget.org/stats/packages seem wrong

Footer CSS styles on https://www.nuget.org/stats/packages seem wrong. The footer is on top of data on the page.

Fix will go live with deployment https://github.com/NuGet/NuGetGallery/issues/2869

authors: maartenba xavierdecoster

repo: NuGet/NuGetGallery


text:
Set Canonical Meta tag on pages

Is your feature request related to a problem? Please describe.
Bing has decided that it's going to index the different versions of NuGet that are out there. As an example: my search for signalr 2.4.2 resulted in links pointing me to nugetprodusnc-northcentralus-01.regional.azure-api.net, nugetprodusnc.azure-api.net and www-1.nuget.org (which I'm assuming are infrastructure related) as well as packages.nuget.org and www.nuget.org.
Describe the solution you'd like
Setting the Canonical meta tag should be a quick fix and ensure that Bing (and other search engines) only forward users to the proper URL

More than happy to put a PR together, but I might need a few pointers on where to begin: The code that emails absolute links (that @joelverhagen suggested) seems to do it based on the URL of the request that came in (as all the emails that I can find are sent out in by controllers rather than as part of any background process).
My recommendation at this point (as an outsider) would be to have a config value set up (Gallery.CanonicalUri) and render that on all of the pages if set using something like this. Shouldn't be a big job so if there are no objections I'll put that in a PR

@MatthewSteeples, we should be able to leverage the SiteRoot configuration value which contains the "canonical root". The primary place this config is used is for the ConfigurationService.GetSiteRoot method which plumbs in to UrlHelperExtensions. Our main PROD deployment has this config:
{
  ...
  "Gallery.SiteRoot": "https://www.nuget.org",
  ...
}

For an example of how this is used with email, here's a place we build a URL that a user can click on to reject or approve an organization membership request:
https://github.com/NuGet/NuGetGallery/blob/f248171208356b66499810ddd502276784157422/src/NuGetGallery/Controllers/OrganizationsController.cs#L148-L157
Of hand, I'm not sure of the best way to plumb this config value into a CanonicalUrl extension method but perhaps you've already connected the dots with your Gallery.CanonicalUri suggestion 😄.
Let me know if you need any other pointers!

PR created. Let me know if it doesn't fit the style or if you'd rather it was done differently. I've not managed to test it properly yet as I'm still getting my local set-up working, but the code runs without throwing an exception!

This is deployed to PROD. I'll wait a couple of weeks and check Google/Bing search results for improvement.

Thanks for your assistance @joelverhagen
Next on my list is to try and convince the VS Developer community site to do the same thing - https://vsf-prod.westus.cloudapp.azure.com/content/problem/1499167/download-error-when-installing-visual-studio-2022.html

Just a note on this one. I think it's a configuration issue rather than code: www-1 seems to be set up with itself as a canonical host (rather than just www)
Example: https://www-1.nuget.org/profiles/WindowsSDK

authors: MatthewSteeples joelverhagen


text:
[HOTFIX] Increase migration's database timeout

We added a migration to add an index on the PackageDependencies table. This migration takes longer than 30 seconds to run on PROD and is timing out. This change increases the timeout to 30 minutes which we hope is enough to create the new index.
⚠TODO: verify on DEV
Build: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=3820287&view=results
Release: https://devdiv.visualstudio.com/DevDiv/_releaseProgress?_a=release-pipeline-progress&releaseId=712036

Maybe we want to make this a configured value later. But it should be good enough now.

@zhhyu Good idea, I created a new issue here: https://github.com/NuGet/NuGetGallery/issues/8053

authors: loic-sharma zhhyu


text:
Improve documentation on creating native packages

Information in the existing topic is sketchy, and there are questions, see https://docs.microsoft.com/en-us/nuget/create-packages/native-packages#comments-container.
Request: "Needs more details of what package structures need to be and links to other reference material. "
Older issues:
https://github.com/NuGet/Home/issues/1508
https://github.com/NuGet/Home/issues/3027
Additional customer feedback:

Needs more details of what package structures need to be and links to other reference material.
I need to download a package. But nowhere I can do this.
More information about how to actually create a native package (use CoApp or not?)
It's painfull to create even a simple NuGet native package. Writing the props/targets files is just like the hell (it should be generated like with CoApp). Someone at Microsoft has pointed me on https://github.com/Microsoft/vcpkg (great but) the NuGet package stuff is just for local use (it's a bridge on the native files); no way to create a standalone package for publishing on the official repository :-(.
How would the creation of the nuspec file and the packaging look like? At the moment, when creating the nuspec (via nuget spec) and package afterwards (via nuget pack) nuget (v 3.5) just takes everything that sits inside my project folder and packages that. The assembly is missing etc. The CoApp project is dead and I haven't found anything on the roadmap for nuget (https://github.com/NuGet).

See also https://github.com/MicrosoftDocs/mvp-hackadoc-2018/issues/43

no way to create a standalone package for publishing on the official repository :-(.

Take a look at our export command [1][2].
[1] https://blogs.msdn.microsoft.com/vcblog/2017/05/03/vcpkg-introducing-export-command/
[2] https://github.com/Microsoft/vcpkg/blob/d80dd5cbc777ce765c2d6b78d7c485fdf05f284b/docs/users/integration.md#export

What we really need is someone familiar with the process using vcpkg to draft a walkthrough that demonstrates the whole process of creating a native package. That expertise unfortunately does not seem to exist within the NuGet team. I can provide editing help and bringing the draft up to docs quality. Just create a branch with the work in it and we can go from there.

Also addres #190, #592, and #600.

Just hit this myself when trying to tell folks to use nativeassets.  Can we please get docs for this feature that's been around for 2 years now? /cc @jainaashish @rrelyea

my 2 cents for "Building a cross-platform .NetStandard2.0 package with native dependencies" (only using dotnet/cli and modern .csproj)
I add my own way to do it there https://github.com/NuGet/docs.microsoft.com-nuget/issues/1013#issuecomment-414930782
And example project in https://github.com/Mizux/dotnet (Documentation on the way)
Still, waiting for the official documentation !!!

Does anyone know if there is a way of making native libraries specified in a targets file not appear in the solution view?

@jjpepper why do you use/hack a target file instead of setting it in the .*proj file ?
And did you try the <Visible> property (which should work in .*proj) ?
src: https://docs.microsoft.com/en-us/visualstudio/msbuild/common-msbuild-project-items?view=vs-2017#content

still not resolved officially...

Not eligible for docs day.

hello @karann-msft
would something like this helps as a support for documentation ?
https://github.com/NuGet/Home/issues/9502
This repository show a "way" that vendor uses (that is bad ... as they gives us RAW .net dll)
https://github.com/tebeco/NativeLibNugetStuff/blob/master/README.md
The original repo from @poke, shows a better way => properly packing the native + managed, it only depends on what you have on your hands
https://github.com/poke/NativeLibNugetStuff
I think both could be a good contribution to the the docs as it would helps vendor to have something to rely on, in order to release fully functional packages compliant with dotnet restore and dotnet publish

FYI I've updated https://github.com/Mizux/dotnet-native to add "real" C++ samples code up to the .Net wraapper generation and I've updated my documentation accordingly.

What is the difference between "nativeassets" and "native" folders? What is the expected directory structure?

Ported to: https://github.com/NuGet/Home/issues/13594

authors: Mikejo5000 Mizux ericstj jjpepper karann-msft kraigb ras0219-msft tebeco tuket


text:
An example of how to do this in Yaml probably wouldn't go amiss.

My title pretty much says it. : )

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

ID: a3b20c46-c5f1-3a2a-738d-8aa8e69cf10c
Version Independent ID: 7055e752-859b-6106-6802-70010d0305d9
Content: NuGet Package Restore
Content Source: docs/consume-packages/Package-Restore.md
Product: nuget
GitHub Login: @JonDouglas
Microsoft Alias: jodou

I've lost all context on my comment at this point given that this was apparently 'posted' a year and ~3 months ago. If you guys can trace it back to the page against which I'd made this posting/comment/suggestion, then, well, my suggestion stands.

The primary feedback here is around having an example for yml, which is something specific to Azure DevOps than just NuGet.


text:
LiveFyre Comment on NuGet.Server

Post Time: 2017-04-28 14:45 (UTC)
Area: NuGet
Article: NuGet.Server to Host NuGet Feeds | Microsoft Docs
https://docs.microsoft.com/en-us/nuget/hosting-packages/nuget-server
CommentsCategory: Rant   Sentiment: 19%
Comments:
Hi,Running NuGet.Server v2.11.3.0 and having a problem getting the server to delete the .nupkg when it is uploadet in the NugetPackages folder. The server unpacks the packet and creates the folder put does not delete the original .nupkg file afterwards.The IUSER has write/read on the folder...Any help?

Suggested leaving issue in the NuGet.Gallery repo.


text:
Customer question in nuget.exe CLI reference (dependencies)

https://docs.microsoft.com/en-us/nuget/tools/nuget-exe-cli-reference#comments-container
Jorge_Leyva_Romero Aug 15, 2017
How can I ignore dependencies with the update command?

responded to the customer.

authors: karann-msft kraigb


text:
Feature/genie dep fix

Copy the fixes which Luke implemented on my local machine

Fixes copy/paste typo so GSLcblas is correctly targeted
Includes separate look-up for GENIE reweight libraries

This is what I get when building nuisance using main branch (After PR merge)
-- [INFO]:     NEUT_LINK_OPTIONS: -Wl,--allow-multiple-definition;-Wl,--unresolved-symbols=ignore-all;$<IF:$<STREQUAL:"$<TARGET_PROPERTY:TYPE>","EXECUTABLE">,-fno-pie,>
-- [INFO]:     CERN_INCLUDE_DIR: /opt/cernlib/2005/include
-- [INFO]:     CERN_LIB_DIR: /opt/cernlib/2005/lib
-- [INFO]:     NEUT_CERN_LIBS: jetset74;pdflib804;mathlib;packlib;pawlib
-- [INFO]: Found Pythia6:
-- [INFO]:      PYTHIA6_LIB_DIR: /opt/pythia/6.4.28
-- [INFO]: Found LHAPDF:
-- [INFO]:      LHAPDF_INC: /opt/lhapdf/5.9.1/include
-- [INFO]:      LHAPDF_LIB: /opt/lhapdf/5.9.1/lib
-- [INFO]: Found log4cpp:
-- [INFO]:      LOG4CPP_INC: /usr/include
-- [INFO]:      LOG4CPP_LIB: /usr/lib64
-- [INFO]: GENIE 3 (Version: 3.0.6)
-- [INFO]:                 GENIE: /opt/Generator-src
-- [INFO]:        GENIE_REWEIGHT: /opt/Reweight-src/
-- [INFO]:               OPTIONS: GENIEReWeight: TRUE, XSecMECReWeight: FALSE
-- [INFO]:  GENIE_SINGLE_VERSION: 300
-- [INFO]:         GENIE DEFINES: -DGENIE_ENABLED;-DGENIE_VERSION=300
-- [INFO]:        GENIE INC_DIRS: /opt/Generator-src/src /opt/Reweight-src/src
-- [INFO]:        GENIE LIB_DIRS: /opt/Generator-src/lib
-- [INFO]:     GENIE RW_LIB_DIRS: /opt/Reweight-src/lib
-- [INFO]:            GENIE LIBS: -Wl,--no-as-needed;GFwMsg;GFwReg;GFwAlg;GFwInt;GFwGHEP;GFwNum;GFwUtl;GFwParDat;GFwEG;GFwNtp;GPhXSIg;GPhPDF;GPhNuclSt;GPhCmn;GPhDcy;GPhHadTransp;GPhHadnz;GPhDeEx;GPhAMNGXS;GPhAMNGEG;GPhChmXS;GPhCohXS;GPhCohEG;GPhDISXS;GPhDISEG;GPhDfrcXS;GPhDfrcEG;GPhGlwResXS;GPhGlwResEG;GPhIBDXS;GPhIBDEG;GPhMNucXS;GPhMNucEG;GPhMEL;GPhNuElXS;GPhNuElEG;GPhQELXS;GPhQELEG;GPhResXS;GPhResEG;GPhStrXS;GPhStrEG;GTlGeo;GTlFlx;GRwClc;GRwFwk;GRwIO;GFwMsg;GFwReg;GFwAlg;GFwInt;GFwGHEP;GFwNum;GFwUtl;GFwParDat;GFwEG;GFwNtp;GPhXSIg;GPhPDF;GPhNuclSt;GPhCmn;GPhDcy;GPhHadTransp;GPhHadnz;GPhDeEx;GPhAMNGXS;GPhAMNGEG;GPhChmXS;GPhCohXS;GPhCohEG;GPhDISXS;GPhDISEG;GPhDfrcXS;GPhDfrcEG;GPhGlwResXS;GPhGlwResEG;GPhIBDXS;GPhIBDEG;GPhMNucXS;GPhMNucEG;GPhMEL;GPhNuElXS;GPhNuElEG;GPhQELXS;GPhQELEG;GPhResXS;GPhResEG;GPhStrXS;GPhStrEG;GTlGeo;GTlFlx;GRwClc;GRwFwk;GRwIO;-Wl,--as-needed

repo: NuHepMC/CMakeModules


text:
Players spawn on the same block breaking the game

Probably need to fix the trigonometry here. Could copy it from bed wars.

Closed as of 424e82c67426cae1400007b5c21002852ef41277

repo: NucleoidMC/Territory-Battle


text:
Android: Creating compression onefile payload got killed

Before submitting an Issue, please review the Issue Guidelines.

Please check whether the bug was already reported or fixed.

Please check out if the develop version of Nuitka works better for you.

Nuitka version, full Python version, flavor, OS, etc. as output by this
command.

python -m nuitka --version

The latest nuitka and python 3.11, i'm using linux termux:
1.7.5
Commercial: None
Python: 3.11.4 (main, Jul  2 2023, 11:17:16) [Clang 14.0.7 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0
Flavor: Android Termux
Executable: /data/data/com.termux/files/usr/bin/python3.11
OS: Linux
Arch: armv7l
Distribution: Android None
Version C compiler: /data/data/com.termux/files/usr/bin/gcc (gcc).
If you are not providing the full output. The issue cannot be solved and will
be considered invalid. It does more than you think, and we are adding more
all the time. We do not want to left guessing or trying things out to
reproduce your issue.
This is my output
Nuitka-Options:INFO: Used command line options: test.py --onefile --low-memory
Nuitka:INFO: Starting Python compilation with Nuitka '1.7.5' on Python '3.11' commercial grade 'not installed'.
Nuitka:INFO: Completed Python level compilation and optimization.
Nuitka:INFO: Generating source code for C backend compiler.
Nuitka:INFO: Running data composer tool for optimal constant value handling.
Nuitka:INFO: Running C compilation via Scons.
Nuitka-Scons:INFO: Backend C compiler: gcc (gcc).
Nuitka-Scons:INFO: Backend linking program with 7 files (no progress information available for this stage).
Nuitka-Scons:INFO: Compiled 6 C files using ccache.
Nuitka-Scons:INFO: Cached C files (using ccache) with result 'cache miss': 6
Nuitka-Postprocessing:INFO: Creating single file from dist folder, this may take a while.
Nuitka-Onefile:INFO: Running bootstrap binary compilation via Scons.
Nuitka-Scons:INFO: Onefile C compiler: gcc (gcc).
Nuitka-Scons:INFO: Onefile linking program with 1 files (no progress information available for this stage).
Nuitka-Scons:INFO: Compiled 1 C files using ccache.
Nuitka-Scons:INFO: Cached C files (using ccache) with result 'cache miss': 1
Nuitka-Onefile:INFO: Using compression for onefile payload.
Onefile Payload: 0.0%|                         | 0/38, test.binKilled

How did you install Nuitka and Python
Did you use pip, anaconda, deb, rpm, from source, git clone, then install into
a virtualenv or not, this is very important usually and one thing, the above
command does not tell us (yet).

I used pip install nuitka.

The specific PyPI names and versions
It should be taken from this output if there specific packages involved, e.g.
numpy, you are expected to shorten this to the relevant ones.

python -m pip freeze

Many times when you get an error from Nuitka, your setup may be special
Then even a print("hello world") program will not work, please try that and
report that error instead. We do not need a report that says "Tensorflow does
not work" when nothing actually works for you. You ought to also read the User
Manual and check that your setup is actually supported already.

I get the error everytime i'm trying with an empty python file.

It works when i add --onefile-no-compression but it doesn't work without it

Also i would want it to detect if it's termux and if it is then run termux-elf-cleaner in the .bin executables, it's necessary to avoid a annoying message when they are runned

Plugin interfaces allow you to do that. Bit can you explain what termux-elf-cleaner it is? Should it be done on Android either way? Are we talking of only the exe, and the DLLs will already have it done for them?
Maybe it is using too much memory with zstandard there. Are you compiling on a low spec Android there, or is this impossible to be a memory issue. It looks like OOM.

The files when compiled shows an annoying message before running, something
like "unsupported flags blablabla" termux-elf-cleaner removes that
message, and that's all, i can't apply it by myself because seems the
onefile have the files within, and if possible, i would want to be able to
compile without --onefile-no-compression
El 20 jul. 2023 3:06 AM, "Kay Hayen" @.***> escribió:

Plugin interfaces allow you to do that. Bit can you explain what
termux-elf-cleaner it is? Should it be done on Android either way? Are we
talking of only the exe, and the DLLs will already have it done for them?
Maybe it is using too much memory with zstandard there. Are you compiling
on a low spec Android there, or is this impossible to be a memory issue. It
looks like OOM.
—
Reply to this email directly, view it on GitHub
https://github.com/Nuitka/Nuitka/issues/2341#issuecomment-1643391753,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARBLPWDGUH23XGJDVAOABU3XRDKHPANCNFSM6AAAAAA2PHOQ5I
.
You are receiving this because you authored the thread.Message ID:
@.***>

I will not have another phone by now
El 20 jul. 2023 3:06 AM, "Kay Hayen" @.***> escribió:

Plugin interfaces allow you to do that. Bit can you explain what
termux-elf-cleaner it is? Should it be done on Android either way? Are we
talking of only the exe, and the DLLs will already have it done for them?
Maybe it is using too much memory with zstandard there. Are you compiling
on a low spec Android there, or is this impossible to be a memory issue. It
looks like OOM.
—
Reply to this email directly, view it on GitHub
https://github.com/Nuitka/Nuitka/issues/2341#issuecomment-1643391753,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARBLPWDGUH23XGJDVAOABU3XRDKHPANCNFSM6AAAAAA2PHOQ5I
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ok, I can add that to post processing, should be no big deal. I will have to assume it's in PATH during compilation.
If you were to find something where zstandard could respond to options wise with --low-memory that would be a good idea then, if you cannot change the compiling device to one with more memory. Right now it does compressor_context = ZstdCompressor(level=22) can you try and see if a lower value first the bill for you, e.g. 3, maybe even -1, then we can do it with that option being active like that.

I will check and come back, and if the termux-elf-cleaner doesn't exist
it should ask the user to install it
El 20 jul. 2023 1:17 PM, "Kay Hayen" @.***> escribió:

Ok, I can add that to post processing, should be no big deal. I will have
to assume it's in PATH during compilation.
If you were to find something where zstandard could respond to options
wise with --low-memory that would be a good idea then, if you cannot
change the compiling device to one with more memory. Right now it does compressor_context
= ZstdCompressor(level=22) can you try and see if a lower value first the
bill for you, e.g. 3, maybe even -1, then we can do it with that option
being active like that.
—
Reply to this email directly, view it on GitHub
https://github.com/Nuitka/Nuitka/issues/2341#issuecomment-1644300059,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARBLPWGAD5WS2QUQFG4K54TXRFR3BANCNFSM6AAAAAA2PHOQ5I
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ok, I can add that to post processing, should be no big deal. I will have to assume it's in PATH during compilation.
If you were to find something where zstandard could respond to options wise with --low-memory that would be a good idea then, if you cannot change the compiling device to one with more memory. Right now it does compressor_context = ZstdCompressor(level=22) can you try and see if a lower value first the bill for you, e.g. 3, maybe even -1, then we can do it with that option being active like that.

I tried with 18 and 19 both worked, better to leave 3 of difference for fluency

I will check and come back, and if the termux-elf-cleaner doesn't exist it should ask the user to install it El 20 jul. 2023 1:17 PM, "Kay Hayen" @.> escribió:
…
Ok, I can add that to post processing, should be no big deal. I will have to assume it's in PATH during compilation. If you were to find something where zstandard could respond to options wise with --low-memory that would be a good idea then, if you cannot change the compiling device to one with more memory. Right now it does compressor_context = ZstdCompressor(level=22) can you try and see if a lower value first the bill for you, e.g. 3, maybe even -1, then we can do it with that option being active like that. — Reply to this email directly, view it on GitHub <#2341 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARBLPWGAD5WS2QUQFG4K54TXRFR3BANCNFSM6AAAAAA2PHOQ5I . You are receiving this because you authored the thread.Message ID: @.>

The check should be before compiling otherwise it will be a waste of time for the user

Because the onefile .bin have another .bin within and we can't apply termux-elf-cleaner to it, that is what i want to mean

This is what i'm talking of:
$ ./test.bin
WARNING: linker: /data/data/com.termux/files/home/test/test.bin: unsupported flags DT_FLAGS_1=0x8000001
WARNING: linker: /data/data/com.termux/files/usr/tmp/onefile_24016_1689878600_199642/test.bin: unsupported flags DT_FLAGS_1=0x8000001
Hello, World!

~/test$ termux-elf-cleaner test.bin
termux-elf-cleaner: Replacing unsupported DF_1_* flags 134217729 with 1 in 'p.bin'
~/test$ ./test.bin
WARNING: linker: /data/data/com.termux/files/usr/tmp/onefile_25306_1689878871_273162/p.bin: unsupported flags DT_FLAGS_1=0x8000001
Hello, World!

Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html
Feedback if this is working is very welcome, just please do not share plans of doing it, but rather confirmations or denials of it working.
This uses the tool if installed, but doesn't check ahead of time, feel free to create a PR that does that, I do not want to implement this much code, that I currently am not testing myself.
The low memory is now causing onefile compression to be low memory as well. The default is best compression still.
I changed the cleanup code that did convert RT_PATH to RT_RUNPATH with patchelf to also call that tool now, and make it Android specific, and I think, for module mode, it should also be used. For the onefile binary, we didn't call this function yet, but now we do as well.
With that it ought to be a lot better to use on Android. One day I might set up some sort of emulator, but I have other important infrastructure tasks that are higher priority.

Thanks for the pleasant help, i gonna make the pull request

The factory branch worked fine for me

The important parts are part of the hotfix release 1.7.6 that I just made, others will be part of 1.8 only, but are not important enough to keep track by themselves.
If you were to provide a small tutorial style posting how to set Termux up for compilation, maybe even with how to make an APK out of this, I would love to have that, and add Android as supported platform more visibly.

The important parts are part of the hotfix release 1.7.6 that I just made, others will be part of 1.8 only, but are not important enough to keep track by themselves.
If you were to provide a small tutorial style posting how to set Termux up for compilation, maybe even with how to make an APK out of this, I would love to have that, and add Android as supported platform more visibly.

To make an APK with nuitka may be a challenge right now with termux, technically we could copy the termux source code and make some changes to fit to the app we want that would be extremely powerful, but termux still is not prepared for this, they have a lot of problems and active issues about this theme like the fixed prefix /data/data/com.termux/usr in their binaries that they can't change, but if it is with the original termux then we can, we need to install python, patchelf and termux-elf-cleaner isn't so?
The installation for a new termux user is:
I want to clarify that pkg is a wrapper around apt that manages the termux mirrors automatically doing things like selecting the best termux mirror rather than you with the termux-change-repo terminal ui command and updating the mirror with apt update if necessary:
termux-setup-storage # setup termux to be able to access to your internal storage via ~/storage
yes | pkg upgrade # update booststrap packages
pkg install python vim patchelf termux-elf-cleaner -y # install python, the vim editor and the dependencies
apt clean # clean apt cache (to free space)
pip install nuitka # install nuitka
pip cache purge # clean pip cache (to free space)
mkdir test # make directory 'test'
vim test.py # open test.py for edition

Press i to enter in INSERT mode, write the code that you want an then ESC button + :wq text to write and quit, now you should be able to compile normally:
python -m nuitka --onefile test.py --low-memory --clang
./test.bin

The clang is needed for termux and should be the default maybe, we can change that of course.
I was not talking of a Nuitka APK, I was walking of making an APK out of test.bin. In an ideal word, things like --product-name and so on would be used as inputs there as well. Having a onefile binary is nice, but for a standard Python user, probably building an APK is as mysterious as it is to me. I think I did apps for my phone many years ago with Kivy, but never packaged anything, and I was not using Nuitka at the time myself.

as for the clang, maybe you want to PR this code in nuitka/Options.py simply:
def isClang():
    """:returns: bool derived from ``--clang`` or enforced by platform, e.g. macOS or FreeBSD some targets."""

    return (
        options.clang
        or isMacOS()
        or isOpenBSD()
        or (isFreeBSD() and getArchitecture() != "powerpc")
    )

The clang is needed for termux and should be the default maybe, we can change that of course.
I was not talking of a Nuitka APK, I was walking of making an APK out of test.bin. In an ideal word, things like --product-name and so on would be used as inputs there as well. Having a onefile binary is nice, but for a standard Python user, probably building an APK is as mysterious as it is to me. I think I did apps for my phone many years ago with Kivy, but never packaged anything, and I was not using Nuitka at the time myself.

There is also gcc once you run pkg install tur-repo to make it available via pkg install gcc-default-12 but clang is the one that gets installed when you install python, so adding as default could be a good idea if there's no problem with that.
I don't know if patchelf is able to solve the problems that come with porting termux binaries to another app, if it's so there is another problem that is in termux there's not ndk they don't support ndk yet, i guess it's needed to build to different architectures, if we compile via PC then we have further possibilities, and now that you mention kivy, if we compile the project to --module and then import it in the main file to call a main function we should be able to use nuitka in android, and at the same time, add protection to the source code, but nuitka must use the same compiler that kivy uses with C extensions

To package the Apk, you need to make the activity in Java and create a manifest. Here is how a certain game engine does it: https://github.com/panda3d/panda3d/tree/master/panda/src/android
That does seem to work on Termux but I don't quite recall if it was portable. In any case, the way the content is actually drawn on screen I am pretty sure it's going to be very package specific, involving passing around EGL contexts.

They seem to have created a project called python-for-android. Which seen to have some kind of books to do the build: https://python-for-android.readthedocs.io/en/latest/recipes/

Nah, definitely don't use a non-default compiler, never a good idea.
Where you say termux binaries and "porting to another app" and "no ndk". I am confused.
So having a native binary, or maybe two, say Intel and ARM64 or whatever, one cannot build an APK upload out of those? I am not sure, termux would have to support that itself, that ought to be standard Android packaging stuff, that I am just not familiar with.
Since Nuitka doesn't do cross-compile, sure, it would be tedious. Some Kivy core people have used Nuitka on Android to distribute games ever since it was released to the public. Not sure how they did it, but I don't think it takes all that much once the binary is done.
Yours, Kay

I mean the precompiled stuff, they have for every arcgitec

Nah, definitely don't use a non-default compiler, never a good idea.
Where you say termux binaries and "porting to another app" and "no ndk". I am confused.
So having a native binary, or maybe two, say Intel and ARM64 or whatever, one cannot build an APK upload out of those? I am not sure, termux would have to support that itself, that ought to be standard Android packaging stuff, that I am just not familiar with.
Since Nuitka doesn't do cross-compile, sure, it would be tedious. Some Kivy core people have used Nuitka on Android to distribute games ever since it was released to the public. Not sure how they did it, but I don't think it takes all that much once the binary is done.
Yours, Kay

I mean termux have precompiled packages in all architectures, but moving them to another app is still a problem in termux, the ndk is used to compile for android in different architectures but termux doesn't have it, they have clang that let you to compile to the architecture of your phone, but they don't have the ndk yet.

I'm going to make the PR soon once i resolve a problem i'm having with termux

To package the Apk, you need to make the activity in Java and create a manifest. Here is how a certain game engine does it: https://github.com/panda3d/panda3d/tree/master/panda/src/android That does seem to work on Termux but I don't quite recall if it was portable. In any case, the way the content is actually drawn on screen I am pretty sure it's going to be very package specific, involving passing around EGL contexts.

You can create Java and Kotlin APK in termux but more than that is difficult

I think should not be difficult to integrate nuitka with kivy, nuitka compiles to .so as cython does isn't so? Cython compiled packages can be integrated with kivy

@nacho00112 the problem is that Nuitka currently must be running on the same python that it is building for some there are many environment specific things that it must evaluate. So cross compiling from the ndk is not really possible at the moment.

repo: Nuitka/Nuitka


text:
Runtime error when embedding matplotlib plot in qt UI

Tried on Windows and macOS, build ok (but kind of slow...).
CMD

Windows: hinted compilation
macOS: nuitka --standalone --plugin-enable=numpy --plugin-enable=qt-plugins  /path/to/script

Versions

python 3.8
nuitka 0.6.10.4 installed via pip
pyqt5 5.15.2
matplotlib 3.3.2
numpy 1.19.2

Error on Windows 10:
C:\Users\ADMINI~1\EXAMPL~1.DIS\Example Test.py:8: MatplotlibDeprecationWarning: Matplotlib installs where the data is not in the mpl-data subdirectory of the package are deprecated since 3.2 and support for them will be removed two minor releases later.
Traceback (most recent call last):
  File "C:\Users\ADMINI~1\EXAMPL~1.DIS\Example Test.py", line 8, in <module>
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "C:\Users\ADMINI~1\EXAMPL~1.DIS\matplotlib\__init__.py", line 905, in <module matplotlib>
  File "C:\Users\ADMINI~1\EXAMPL~1.DIS\matplotlib\cbook\__init__.py", line 480, in _get_data_path
  File "C:\Users\ADMINI~1\EXAMPL~1.DIS\matplotlib\__init__.py", line 239, in wrapper
  File "C:\Users\ADMINI~1\EXAMPL~1.DIS\matplotlib\__init__.py", line 534, in get_data_path
  File "C:\Users\ADMINI~1\EXAMPL~1.DIS\matplotlib\__init__.py", line 239, in wrapper
  File "C:\Users\ADMINI~1\EXAMPL~1.DIS\matplotlib\__init__.py", line 566, in _get_data_path
RuntimeError: Could not find the matplotlib data files

Note: mpl-data folder can be found in the dist folder.
Error on macOS 11.1:
Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000008
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [84696]

Example code:
import os, sys

# pyqt5
from PyQt5 import QtCore, QtWidgets
from PyQt5.QtWidgets import QApplication

import matplotlib
matplotlib.use('QT5Agg')
import matplotlib.pyplot as plt
from matplotlib.backends.backend_qt5agg import FigureCanvas
from matplotlib.backends.backend_qt5agg import NavigationToolbar2QT as NavigationToolbar

# high dpi stretch
if hasattr(QtCore.Qt, 'AA_EnableHighDpiScaling'):
    QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling, True)
if hasattr(QtCore.Qt, 'AA_UseHighDpiPixmaps'):
    QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps, True)

if __name__ == '__main__':
    os.environ["QT_AUTO_SCREEN_SCALE_FACTOR"] = "1"
    app = QApplication([])
    window = QtWidgets.QMainWindow()

    #plot
    fig = plt.Figure((3, 2))
    canvas = FigureCanvas(fig)
    ax = fig.add_subplot(111)
    ax.plot([0, 1], [1, 2], "-o")

    layout = QtWidgets.QVBoxLayout()
    layout.addWidget(canvas)
    layout.addWidget(NavigationToolbar(canvas, None))

    widget = QtWidgets.QWidget()
    widget.setLayout(layout)
    window.setCentralWidget(widget)

    window.show()
    sys.exit(app.exec_())

I had a somewhat similar problem but with a different application. Check the source of "get_data_path". In my case the binary made by Nuitka expected the data files to be placed where python installed modules are stored "/usr/local/lib/dist-packages" which is clearly wrong. So for the purpose of the Nuitka compilation I had to modify the source of my application (yes, inside /usr/local/lib/dist-packages,  function similar to "get_data_path") and made it point to the location of the executable.
I think many python compiled programs will experience this issue, because by definition python module location after installation is rather fixed, but the binary simply does not know it.

I had a somewhat similar problem but with a different application. Check the source of "get_data_path". In my case the binary made by Nuitka expected the data files to be placed where python installed modules are stored "/usr/local/lib/dist-packages" which is clearly wrong. So for the purpose of the Nuitka compilation I had to modify the source of my application (yes, inside /usr/local/lib/dist-packages,  function similar to "get_data_path") and made it point to the location of the executable.
I think many python compiled programs will experience this issue, because by definition python module location after installation is rather fixed, but the binary simply does not know it.

I forget now, if this is a duplicate or not, but there was a hotfix that added support for matplotlib 3.3, which required moving the folder and the config file format also changed. It should be good in 0.6.11.3 which was released the other day.

I forget now, if this is a duplicate or not, but there was a hotfix that added support for matplotlib 3.3, which required moving the folder and the config file format also changed. It should be good in 0.6.11.3 which was released the other day.

@kayhayen
The latest version 0.6.11.2 fixed the issue on Windows, but the segfault on macOS (11.1) was still not unresolved yet. I'd like to help you debug this segfault but I don't know-how...😂

@kayhayen
The latest version 0.6.11.2 fixed the issue on Windows, but the segfault on macOS (11.1) was still not unresolved yet. I'd like to help you debug this segfault but I don't know-how...😂

Use --debugger which may work on macOS, I forgot, if not, make it work.

Use --debugger which may work on macOS, I forgot, if not, make it work.

authors: kayhayen linluc noonchen


text:
Improvements

Hi, I tried to improve some of the formatting on the code and simplify it with a bit of spare time I had, I will potentially add a bit more later. Unfortunately the project doesn't work on my end because I'm not using WIndows, but I think these modifications should help. If you're able to check that would be great!

Thanks <3 You do not understand how much I needed that help, I never got able to figure out how to format a project into multiple files and you not only did that but also got to improve it.
You are priceless, i'll merge it.

Glad it still managed to work, no problem man! I left a few comments in the code for other things that I couldn't get to, if you have time for them.

Glad it still managed to work, no problem man! I left a few comments in the code for other things that I couldn't get to, if you have time for them.

I'll try to get into it later, do you mind if I credit you in some way on the code, I'd really like to.

All up to you, I don't mind regardless

authors: NuloSois scourii

repo: NuloSois/SOIS-Explorer


text:
fix: checkout types & feat: customer module

Made optional fields optional,  added subscription_preview and fixed the type for custom

Thanks for the work on this @carstenlebek  🙏. I am going to have a full look through the changes shortly.
On quick glance I can see a lot of code formatting changes. I have just update main to include a Prettier config & a format command to fix any formatting issues. Please pull the changes & run the format command so everything can stay consistant.

Sorry, my bad 🤦🏼♂ fixed the formatting issues

All done 🥳

authors: NuroDev carstenlebek


text:
Swagger specification XML array example incorrect

There is an example in the specification of xml wrapped arrays showing the external xml property with wrapped having a value of false, and yet it wraps the output XML anyway.  The specific example is preceded by the text "Affecting both internal and external names:"  The YAML and JSON definitions should have wrapped as true for the XML shown.

This has been fixed in both 2.0 and 3.0.

authors: swlinn webron

repo: OAI/OpenAPI-Specification