2
Elm Weekly - Issue #328 (www.elmweekly.nl)
submitted 3 months ago by mac@programming.dev to c/elm@programming.dev
23
submitted 3 months ago by mac@programming.dev to c/linux@programming.dev
4
7
Elm Weekly - Issue #327 (www.elmweekly.nl)
submitted 3 months ago by mac@programming.dev to c/elm@programming.dev
13
submitted 3 months ago by mac@programming.dev to c/golang@programming.dev
57
submitted 3 months ago by mac@programming.dev to c/linux@programming.dev
6
18
submitted 3 months ago* (last edited 3 months ago) by mac@programming.dev to c/nix@programming.dev

This description is a repost of what was said about the project on the nix discourse

SkaraboxOS provides a flake template which combines:

  • Creating a bootable ISO, installable on an USB key.
  • nixos-anywhere to install NixOS headlessly.
  • disko 1 to format the drives.
  • deploy-rs 2 to deploy updates.

SkaraboxOS expects a particular hardware layout:

  • 1 SSD or NVMe drive for the OS.
  • 2 Hard drives that will store data. Capacity depends on the amount of data that will be stored. They will be formatted in Raid 1 (mirror) so each hard drive should have the same size.

WARNING: The 3 disks will be formatted and completely wiped out of data.

At the end of the process, the server will:

  • Have an encrypted ZFS root partition using the NVMe drive, unlockable remotely through ssh.
  • Have an encrypted ZFS data hard drives.
  • Be accessible through ssh for administration and updates.

discourse post

3
submitted 3 months ago by mac@programming.dev to c/perl@programming.dev
6
2024-08-05 Emacs news (sachachua.com)
submitted 3 months ago by mac@programming.dev to c/emacs@programming.dev
12
Praise my GitHub profile (praise-me.fly.dev)
submitted 3 months ago by mac@programming.dev to c/github@programming.dev

cross-posted from: https://programming.dev/post/17754201

There was a roast my github profile site going around recently so as a counter to that someone made a praise my github profile. Enter your profile and get an AI complimenting you

22

Originally posted by u/heavenlydemonicdev

Link to wallpaper

[-] mac@programming.dev 6 points 8 months ago

Yes, or it compiles to JavaScript. From the version 1 post

[-] mac@programming.dev 6 points 9 months ago* (last edited 9 months ago)

Its in the embedded tweet

Stands for progressive web app which is an app which uses web technologies. Can be both a web page and a mobile app on a phone. Can be added as an app to your phone through a browser rather than downloading it from an app store

[-] mac@programming.dev 7 points 9 months ago* (last edited 9 months ago)

!engineering_resumes@programming.dev

Hasnt been utilized very much yet but its there

[-] mac@programming.dev 6 points 9 months ago* (last edited 9 months ago)

Still the 21st most popular IDE with ~ 4.7% of people using it

[-] mac@programming.dev 6 points 9 months ago

Image in the tweet for those who dont want to click

[-] mac@programming.dev 5 points 10 months ago* (last edited 10 months ago)

Nah not mine, just one I found and thought was pretty cool. Added the source to my rss reader and probably gonna post more from them in the future

[-] mac@programming.dev 7 points 10 months ago

Active is a combination of that and hot but is essentially hard capped at 2 days. Things past that wont show up

Theres the new comments sort which works like that though

[-] mac@programming.dev 8 points 11 months ago* (last edited 11 months ago)

This code has a recursive call (function calls itself) within the function so that has to be taken into account when tracing it

This would make the function execute multiple times so the for loop would end up executing multiple times.

Lets say main calls draw with a height value of 10 (draw(10)). First it sees that n is greater than 0 so it keeps going. Then it calls the draw function with a value of 10 - 1 aka 9. Now its executing in the draw(9) function. Greater than 0 so continues and calls draw(8). etc. all the way down to draw(0) where it sees that n is equal to 0 so returns out of the function due to the return statement.

Now that draw(0) finished executing draw(1) can keep going and goes to the for loop. Here it prints 1 # and then prints a new line (and then returns since it hit the end of the function). Now that draw(1) is done draw(2) can keep going and prints 2 #'s and then prints a new line (and then returns). This keeps going all the way up to the initial draw call, draw(10) which prints 10 #'s and then a new line, returns, and then the main function keeps going but theres nothing after that so it returns and the execution ends.

The effect from coming back after the recursive calls makes it seem like n is increasing but its just different calls to the same function. i is taken into account for but printing the amount of #'s since thats whats within that loop

[-] mac@programming.dev 6 points 1 year ago* (last edited 1 year ago)

the cancel/decline button isnt showing up and instead shows a duplicate of the get the app button

[-] mac@programming.dev 7 points 1 year ago
[-] mac@programming.dev 5 points 1 year ago* (last edited 1 year ago)

For some reason doesnt seem to be animating on lemmy (from the 4 instances I tried looking at it from), trying to fix. Shows fine on kbin

You can also see it animating from following the link I did in the post

Edit: Added another version of the image to the post and that one seems to be fine

[-] mac@programming.dev 7 points 1 year ago* (last edited 1 year ago)

Weird, heres the content in it

It is with immense sadness that we must share with you the news of the loss of our friend, our leader, and our mentor, Kris Nóva.

It was Nóva who inspired us to come together to build Hachyderm, whose vision created Nivenly, and whose mission we continue to carry forward. In her working life beyond Nivenly, she has left behind a legacy of professionalism and strength of vision, and we all miss her terribly.

This is very fresh and raw for us in the Nivenly community right now, so we ask for patience while we figure out how we move forward. But move forward we will, as we know that is what Nóva would want.

view more: ‹ prev next ›

mac

joined 1 year ago