def path_is_valid(path: Path) -> bool:
if not path.exists():
return False
return True
There’s no reason for this function to exist. Can you see why?
Professional software engineer, musician, gamer, amateur historian, stoic, democratic socialist
def path_is_valid(path: Path) -> bool:
if not path.exists():
return False
return True
There’s no reason for this function to exist. Can you see why?
Gleam is cool. I wrote some services with it to see if I wanted to use it for more projects. It seemed like a good option because it would be easy to teach.
Things I like:
Things I don’t like:
"Hello, " <> name
. It starts to get cumbersomeserde
if
guardsI think it would help narrow things down if you described what kind of website you want to build.
They explicitly said they want to build a website. Not that you can’t go far with a Java server + HTML(X) but JS is the de facto standard for interactive websites.
Javascript
WASM
Tidal is great but IIRC it either doesn’t support Amazon Echo or the integration is poorly implemented.
Do you think Valve is going to start deleting accounts over 100 years old?
I know it’s not for everyone, but creating your own nix derivation for software that doesn’t exist yet on nixpikgs is not terribly difficult (for most things).
I don’t understand how Agile became synonymous with “useless meetings.” I thought the whole point of Agile was to minimize wasted work.
NixOS is at least starting to work on a new wiki. The old one is gone and is only accessible from archive.org.
I don’t think my company uses batch scripts anywhere, but if they did, it would probably be in the app installer for Windows or something.
Not my main rig, but my most unusual is 32-bit Yocto Linux on an Intel Edison that I got for free from a college professor that worked for Intel.
Yocto is awful. I mean it has a niche I guess, but there is basically no package manager. Somehow I managed to install a Rust toolchain on it, but it couldn’t build the web server I wanted to run on it.
I’d much rather have a Pi running a sane distro.
Or use a tool like StackedGit which makes the atomic commit workflow incredibly simple. Build atomic commits as you go instead of after you’ve written all of the code.
Yea. I was using bottom until I saw this and did a quick side-by-side comparison (nix-shell -p btop
, I use NixOS BTW). btop’s UI is just so much better.
That’s not quite the same as a generator. Iterators require explicit returns to yield control, and this involves dropping the entire stack frame.
True generators allow one to yield, which pauses the function and allows it to be resumed. The most similar thing to this in Rust is an async block/fn, but there is ongoing effort to generalize this so you could create an iterator from a generator.
Apparently it’s hard to get hired in software. Meanwhile, some of the worst software ever made is being written today. Have you tried using literally any software recently? We’re in this “barely good enough to function while being heavily supplemented by tech support” phase. I guess capitalism breeds incompetence as long as it’s still profitable?