23
1
1
Elm Weekly - Issue #327 (www.elmweekly.nl)
submitted 2 years ago by mac@programming.dev to c/elm@programming.dev
56
1
1
submitted 2 years ago* (last edited 2 years 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

1
submitted 2 years ago by mac@programming.dev to c/perl@programming.dev
6
2024-08-05 Emacs news (sachachua.com)
1
Praise my GitHub profile (praise-me.fly.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

1

Originally posted by u/heavenlydemonicdev

Link to wallpaper

1
1
[-] mac@programming.dev 5 points 2 years ago

For old reddit style theres mlmym which fills that niche better (e.g. for you that would be at https://old.lemmy.world)

Default UI is currently getting overhauled in a bunch of different ways. Lemmy-Leptos for Lemmy itself, and new UIs for Sublinks and Piefed as they get constructed

[-] mac@programming.dev 6 points 2 years ago

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

[-] mac@programming.dev 4 points 2 years ago

Also misskey and the main forks (iceshrimp, sharkey)

[-] mac@programming.dev 5 points 2 years ago

The modlogs public to see removed comments. Just a bit difficult to navigate through currently

[-] mac@programming.dev 6 points 2 years ago

Image in the tweet for those who dont want to click

[-] mac@programming.dev 4 points 2 years ago* (last edited 2 years ago)

Subreddit had 3 posts within the last month so not that far off tbh

I can look for some post sources to give the community here some more activity

[-] mac@programming.dev 5 points 2 years ago* (last edited 2 years 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 6 points 2 years 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 5 points 2 years ago* (last edited 2 years ago)

When the draw function calls itself it yields control to that new function its calling. When that function ends it takes back control and continues doing what it was doing.

This means all of the for loops in all of the functions will execute. Draw(1) will do the for loop and then return as it hits the end of the function (standard behaviour when you reach the end of a function even if theres no return statement). Then draw(2) will do the for loop as it gets back control now that draw(1) is done and then return, etc. all the way up

All parts of a function are recursive, theres no such thing as a non recursive part

[-] mac@programming.dev 5 points 2 years ago

im not op, just crossposting from some other spots with permission from the ops but will give some info for people who want to make something similar

Agree glowing outline would be good here. A glowing outline is something thats relatively easy to do and good to add even if just to have for an accessibility setting people can toggle. Easily addable without changing sprites by attaching a shader onto the player and theres lots of tutorials out on doing so such as https://www.youtube.com/watch?v=UBujOvMRNl0

For adding lighting to the player, thats also feasible although maybe a bit harder than the outline shader due to needing to mess with normal maps. Something some people do is add a normal map for the outermost pixels only (edge lighting)

Its theoretically also possible by just lighting up the entire sprite without a normal map or the entire sprite normal mapped but tends to not look great and makes the sprite a bit more unreadable

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

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

[-] mac@programming.dev 6 points 3 years ago

huh second time someone said that for a post, ive tested it and it works fine on my end

What client are you using

view more: ‹ prev next ›

mac

0 post score
0 comment score
joined 3 years ago