Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pmarreck
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
751.
▲
by
pmarreck
2y ago
Hah. I guess that's why I said "new to me ", heh Anyway, cool!
752.
▲
by
pmarreck
2y ago
Yes. In another comment I proposed https://www.roc-lang.org/
753.
▲
by
pmarreck
2y ago
I would have picked Elixir, but it's unsuitable for game dev (at least thus far) I wouldn't consider it "Rust evangelism" as much as "not C/C++/any language that makes it trivially easy to write undefined-
754.
▲
by
pmarreck
2y ago
Same with sewing/knitting by hand.
755.
▲
by
pmarreck
2y ago
Correct. And a great example of it.
756.
▲
by
pmarreck
2y ago
As is usual with any language that is new to me, would love a comparison of this language, in terms of a number of commonly-valued dimensions, with other languages: speed, compare code samples of small algorithms, any notable dependencies,
757.
▲
by
pmarreck
2y ago
I've never heard of a functional language that would allow you to initialize a value to whatever value the system memory already had in that memory location. In languages that allow nil, it would at least be nil; in languages that don&
758.
▲
by
pmarreck
2y ago
In the arguably-unique case of Apple Silicon, I'm not sure about that. The SoC-integrated GPU and unified RAM ends up being extremely good for running LLM's locally and at low energy cost. Of course, there's the upfront cost
759.
▲
by
pmarreck
2y ago
Loved the fact that the interactive demos were live. You could even skip the custom system prompt entirely and just have it analyze a randomized but statistically-significant portion of the corpus of your outgoing emails and their style, an
760.
▲
by
pmarreck
2y ago
Locally-running LLM's might be good enough to do a decent enough job at this point... or soon will be.
761.
▲
by
pmarreck
2y ago
My takeaway, speaking as someone who leans towards functional programming and immutability, is "this is yet another example of a mutability problem that could never happen in a functional context" (so, for example, this bug would
762.
▲
by
pmarreck
2y ago
Agreed, and good job with the tooling then!
763.
▲
by
pmarreck
2y ago
that’s fair; maybe I’ll look at it again, it certainly has a rich pedigree at this point, even if I tend to lean towards functional languages and styles
764.
▲
by
pmarreck
2y ago
Hah, that’s REALLY cool of you that you recommended other shells along with your own!!
765.
▲
by
pmarreck
2y ago
Nope, it isn't. Not without the comma. And especially without context.
766.
▲
by
pmarreck
2y ago
oooh, this is good. I am bookmarking this for the future (my son is only 3.9)
767.
▲
by
pmarreck
2y ago
Well, without the comma it can be entirely plausibly framed as a nice statement, no?
768.
▲
by
pmarreck
2y ago
why would you give a kid data? (as in cell data, presumably) I guess, to be able to helicopter them from anywhere... Apple devices would still have parental controls in that case, though, I think? Cellphone companies should really step up,
769.
▲
by
pmarreck
2y ago
So basically, if he hadn't added the comma, he'd still be at college. So he got kicked out because of an extra comma, which he added to make it even more edgy, at the cost of reducing plausible deniability to nearly zero.
770.
▲
by
pmarreck
2y ago
I see Penlight (which is Python-flavored, but also has some functional programming constructs) https://github.com/lunarmodules/Penlight , Moses if you like functional programming https://yonaba.github.io
771.
▲
by
pmarreck
2y ago
interesting. I've actually already written a lot of the functionality I see here as bash (and other) functions, lol (things like log, filter, debug, retry, repeat, map, fetch (a URL, with retry)... etc.). (things like: enumeration func
772.
▲
by
pmarreck
2y ago
Same. Do you use any of them or have you stuck with any of them? Opinions?
773.
▲
by
pmarreck
2y ago
So Awk for everything (or in my case gawk or frawk)? Or just text-processing things, where it's most suitable? (I think Awk is underrated, for sure!)
774.
▲
by
pmarreck
2y ago
How does the startup time and execution speed of Python compare to other options? (I'm not particularly inclined to Python, unfortunately, due to the dependency issues and some personally negative opinions about its design... but I lik
775.
▲
by
pmarreck
2y ago
I guess we should distinguish "the shell environment" (which might stay Bash) with "the shell script language" (which could be any one of a number of options, just use the right hashbang header) One that strove to do bot
776.
▲
by
pmarreck
2y ago
I love that in Guix, Guile is used as the configuration language all the way "from the metal" (the bootloader) to the declarative environment config in userspace. I'm one of those folks that still can't do LISPs though.
777.
▲
by
pmarreck
2y ago
Fair enough, but (speaking as a web developer), running a stack locally on Apple Silicon (especially if it has any "interesting" dependencies such as compiled Rust/C libs and whatnot) and expecting the same stack to run ident
778.
▲
by
pmarreck
2y ago
A lot of dev tooling still expects x86_64. Example off the top of my head, Cosmopolitan will not build ARM binaries and will not compile on ARM. (But it WILL build x86_64 universal binaries that will run on Apple Silicon and macOS via Roset
779.
▲
by
pmarreck
2y ago
+1 for shellcheck recommendation, it's fairly essential if you want to be good at Bash
780.
▲
by
pmarreck
2y ago
I've been on a longish search for a bash replacement (or at least "extra substitute") in the realm of "more complex commandline scripting" (functions, utility scripts, etc.). Naturally, every option is a set of diff
More ›