!tPxtoBdChSsxHuBlNW:nixos.org

NixOS Marketing

263 Members
NixOS website + marketing team: https://nixos.org/community/teams/marketing.html56 Servers

Load older messages


SenderMessageTime
19 Apr 2024
@garbas:matrix.orggarbas Arian: You can do both. But I think having this done client-side would be best. 13:03:34
@garbas:matrix.orggarbasAnd I'm sure you'll be able to figure out how to add client side script with Astro (https://docs.astro.build/en/guides/client-side-scripts/#using-script-in-astro)13:04:22
@arianvp:matrix.orgAriangotcha13:04:52
@garbas:matrix.orggarbas
In reply to @ibizaman:matrix.org
Is this the correct place to suggest a change to the little video that's in the front page of https://nixos.org/ ?
I love it but I'd suggest to change the comments or just remove the comments saying "Pause the video and take the time to understand the file being displayed".
The video is assuming that 1/ people have the time for that 2/ nix is easy to understand. It's probably also letting down ppl that try to read it but fail to understand.
I'd vote to change the comment to actually explain a little bit what the file is doing.
It's kind of weird to advice doing that for a video that's meant to showcase nix IMO.
Yes this would be the correct place. I can answer all the questions why it is the way it is. But if you have a better example I'd love to see it. It is hard to strike a balance between informative enough and not too long, especially with Nix.
13:07:30
@ibizaman:matrix.orgibizaman
In reply to @garbas:matrix.org
Yes this would be the correct place. I can answer all the questions why it is the way it is. But if you have a better example I'd love to see it. It is hard to strike a balance between informative enough and not too long, especially with Nix.
I fully agree about the balance being hard. I wanted to make a PR earlier to show what I had in mind but didn’t have time yet 😓 I’ll have one shortly
13:36:30
20 Apr 2024
@sigmanificient:matrix.orgSigmanificient
In reply to @sigmanificient:matrix.org
Hello, a discussion is happening within this issue and its seems like you would be the team contact for it

Hello again, any plan to integrate a script to automatically bump package count on both search.nixos.org & nixpkgs? I proposed a simple script on the issue, which can surely be improved.

I don't know anything about elm, and I am unsure on what to exactly do to help, so your help would be appreciated to sort this out!

18:28:56
@sigmanificient:matrix.orgSigmanificient
In reply to @sigmanificient:matrix.org
Hello, a discussion is happening within this issue and its seems like you would be the team contact for it
*

Hello again, last time we bumped the packages count to a round 100k.any plan to integrate a script to automatically bump package count on both search.nixos.org & nixpkgs? I proposed a simple script on the issue, which can surely be improved.

I don't know anything about elm, and I am unsure on what to exactly do to help, so your help would be appreciated to sort this out!

18:29:24
@sigmanificient:matrix.orgSigmanificient *

Hello again, last time we bumped the packages count to a round 100k, but this might happen again in the future and the original issue is about the value being hard-coded.

Any plan to integrate a script to automatically bump package count on both search.nixos.org & nixpkgs? I proposed a simple script on the issue, which can surely be improved.

I don't know anything about elm, and I am unsure on what to exactly do to help, so your help would be appreciated to sort this out!

18:30:08
21 Apr 2024
@ibizaman:matrix.orgibizamanFinally managed to get to it 😅 https://github.com/NixOS/nixos-homepage/pull/139816:30:57
@ibizaman:matrix.orgibizaman I must say though it’s my first time experiencing with another project using direnv integration with flakes and it’s 😌 17:01:44
@avocadoom:avocadoom.deavocadoomAwesome, I'll take a look at that later on 👍17:05:59
23 Apr 2024
@sigmanificient:matrix.orgSigmanificientRedacted or Malformed Event15:48:16
@sigmanificient:matrix.orgSigmanificient
In reply to @sigmanificient:matrix.org

Hello again, last time we bumped the packages count to a round 100k, but this might happen again in the future and the original issue is about the value being hard-coded.

Any plan to integrate a script to automatically bump package count on both search.nixos.org & nixpkgs? I proposed a simple script on the issue, which can surely be improved.

I don't know anything about elm, and I am unsure on what to exactly do to help, so your help would be appreciated to sort this out!

I managed to simplify my script a lot by using the auto redirect link, now it outputs a json of both package and options count.

#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl jq brotli

function parse_unstable_json() {
    local url="https://channels.nixos.org/nixos-unstable/$1.json.br"
    echo $(                \
      curl -L "$url"       \
      | brotli -d --stdout \
      | jq "$2")
}

pkg_count=$(parse_unstable_json "packages" ".packages | length")
opt_count=$(parse_unstable_json "options" "length")

echo "{ 'packages': $pkg_count, 'options': $opt_count }" | tr "'" '"'

which gives { "packages": 111413, "options": 18524 }

15:49:00
@sigmanificient:matrix.orgSigmanificient
In reply to @sigmanificient:matrix.org

Hello again, last time we bumped the packages count to a round 100k, but this might happen again in the future and the original issue is about the value being hard-coded.

Any plan to integrate a script to automatically bump package count on both search.nixos.org & nixpkgs? I proposed a simple script on the issue, which can surely be improved.

I don't know anything about elm, and I am unsure on what to exactly do to help, so your help would be appreciated to sort this out!

*

I managed to simplify my script a lot by using the auto redirect link, now it outputs a json of both package and options count.

#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl jq brotli

function parse_unstable_json() {
    local url="https://channels.nixos.org/nixos-unstable/$1.json.br"
    echo $(curl -L "$url" | brotli -d --stdout | jq "$2")
}

pkg_count=$(parse_unstable_json "packages" ".packages | length")
opt_count=$(parse_unstable_json "options" "length")

echo "{ 'packages': $pkg_count, 'options': $opt_count }" | tr "'" '"'

which gives { "packages": 111413, "options": 18524 }

15:49:33
@sigmanificient:matrix.orgSigmanificient *

I managed to simplify my script a lot by using the auto redirect link, now it outputs a json of both package and options count.

#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl jq brotli

function parse_unstable_json() {
    local url="https://channels.nixos.org/nixos-unstable/$1.json.br"
    echo $(curl -L "$url" | brotli -d --stdout | jq "$2")
}

pkg_count=$(parse_unstable_json "packages" ".packages | length")
opt_count=$(parse_unstable_json "options" "length")

echo "{ 'packages': $pkg_count, 'options': $opt_count }" | tr "'" '"'

which gives the following stats: { "packages": 111413, "options": 18524 } 👀

15:49:58
24 Apr 2024
@stablejoy:matrix.org@stablejoy:matrix.org changed their profile picture.08:59:08
@avocadoom:avocadoom.deavocadoomI won't be able to make it to the meeting, sorry 19:00:02
25 Apr 2024
@garbas:matrix.orggarbas thilobillerbeck (avocadoom): Would it be ok to merge https://github.com/NixOS/nixos-homepage/pull/1399 as it is now ... and you open new PR with more cleanups? Just to save you time on rebasing and resolving conflicts. 08:09:36
@avocadoom:avocadoom.deavocadoom
In reply to @garbas:matrix.org
thilobillerbeck (avocadoom): Would it be ok to merge https://github.com/NixOS/nixos-homepage/pull/1399 as it is now ... and you open new PR with more cleanups? Just to save you time on rebasing and resolving conflicts.
There are two minor regressions I noticed that I'd like to fix beforehand, but then sure 👍
08:12:09
@tim92:matrix.org@tim92:matrix.org left the room.12:28:34
@mjolnir:nixos.orgNixOS Moderation Bot banned @jonringer:matrix.orgjonringer (Banned until 2024/06/10 after deliberation of the Moderation team).21:11:59
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge (void) to SomeoneSerge (UTC+1).23:01:10
26 Apr 2024
@samrose:matrix.orgsamroseWhat's a good way to request the possible sharing of this post https://supabase.com/blog/nix-postgres on https://www.linkedin.com/company/nixos-foundation/posts/?feedView=all and https://twitter.com/nixos_org (if this is appropriate content for those social media feeds. If not, totally understood) ? 03:26:56
@tomberek:matrix.orgtomberekusually, it would have to be a Discourse post03:27:37
@samueldr:matrix.orgsamueldrI'm too tired by this all, so I don't know if I'll send a PR, but considering many perma-banned individuals are conspiring and staking FUD on the subreddit, I think that demoting it wasn't sufficient... it is a bad look to leave this on the official page imo03:31:38
@samueldr:matrix.orgsamueldr* I'm too tired by this all, so I don't know if I'll send a PR, but considering perma-banned individuals are conspiring and staking FUD on the subreddit, I think that demoting it wasn't sufficient... it is a bad look to leave this on the official page imo03:31:54
@piegames:matrix.org@piegames:matrix.orgThe problem is that the reddit won't go away, and the proper solution would be to moderate it (yes I know)08:13:52
@avocadoom:avocadoom.deavocadoom
In reply to @samueldr:matrix.org
I'm too tired by this all, so I don't know if I'll send a PR, but considering perma-banned individuals are conspiring and staking FUD on the subreddit, I think that demoting it wasn't sufficient... it is a bad look to leave this on the official page imo
I'm absolutely welcoming every change to this but have absolutely no clue how the teams the person is in want to proceed and I don't see myself in the position of just pruning people without their ok.
09:25:31
@avocadoom:avocadoom.deavocadoomAs in, if I prune the release management one person is hammered with all incoming requests regarding this 09:37:02
@infinisil:matrix.orginfinisil samueldr piegames Yeah the subreddit looks bad.. Fyi I'm a mod of https://www.reddit.com/r/Nix, which we tried to make official when there were problems with /r/NixOS. Those were promptly resolved, so it never took off 09:49:41

Show newer messages


Back to Room ListRoom Version: 6