Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
serhart
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
serhart
6mo ago
I'm not who you replied to, but no, no, I don't think that's an "opposition" to writing in the sense that it's making us stupid or replacing oral traditions. From my limited understanding of history and Greek p
2.
▲
by
serhart
11mo ago
A FLAC encoder/decoder written in Guile scheme. I struggled to get the decoder working with most test files for a while until recently. It's more or less a fully functional decoder now. It's also 1:1 with the reference meta-f
3.
▲
by
serhart
1y ago
Relax, it's just a play on https://www.poetryfoundation.org/poems/43291/sailing-to-byza... The code is a mouse wheel scroll down.
4.
▲
by
serhart
4y ago
Yes, that is very much what they were. However, they used the term compiler in very much the same way it's used today. It didn't mean something different. The concept of the "compiler" was to translate mathematical symb
5.
▲
by
serhart
4y ago
That is absolutely not true. Just because early compilers acted more like linker/loader doesn't mean they used the word compiler to mean "linker". When the term was coined it absolutely meant translating mathematical fo
6.
▲
by
serhart
7y ago
> Use a good text parsing library. Regexes are probably not enough for your use case. In case you are not aware of the limitations of regexes you may want to learn about Chomsky hierarchy of formal languages. Most programming languages o
7.
▲
by
serhart
7y ago
How is it not a matter of familiarity? Just because it's not intuitive to you doesn't mean it's bad. I find anything not in an S-expression to be atrocious. Doesn't mean I can't learn and understand "horrible
8.
▲
by
serhart
7y ago
I don't agree at all. I don't find it less "readable". You just have to be used to it. If you understand English, German isn't that hard of a language to learn. Japanese would probably be a little bit harder to p
9.
▲
by
serhart
7y ago
Sure, but bash only has certain language constructs. This implementation is using parameter expansion and some other built ins. It's definitely more complex than yours, but that's what bash has to offer.
10.
▲
by
serhart
7y ago
Yes, but I think that's antithetical to what languages like bash and perl are trying to do. Someone well versed in the language can do some pretty complex operations in a few keystrokes.
11.
▲
by
serhart
7y ago
I'm in no way defending bash as a language. There are lots of gotchas and weird constructs. I avoid bash too. It's just that trim function isn't that cryptic or "unreadable" if you know the syntax.
12.
▲
by
serhart
7y ago
Just because you seem to be unfamiliar with bash doesn’t mean it’s unreadable. Almost any language will look cryptic if you don’t know it. That function is mostly just parameter expansion and very common in most bash scripts. I bet if yo
13.
▲
by
serhart
7y ago
It is implemented in Guile. The language is just syntactic sugar via macros and utilizes WISP. https://git.savannah.gnu.org/cgit/gwl.git/tree/gwl/sugar.scm https://srfi.schemers.org/srfi
14.
▲
by
serhart
7y ago
If you aren't trying to be Unix I would imagine you aren't thinking that. GNU probably doesn't subscribe to that notion.
15.
▲
by
serhart
7y ago
I'm pretty curious on how you conclude that GNU is "intentionally obfuscating code" from [1]. I read [1] as good advice to avoid inadvertently getting code into GNU that could be claimed by copyright. Focus on speed instead
16.
▲
by
serhart
7y ago
I don't think it has Nvidia drivers, but there is work being done for Guix and HPC. https://guix-hpc.bordeaux.inria.fr/
17.
▲
by
serhart
7y ago
It's definitely not trivial to do. I have the Guix system installed on my mid 2013 MBP. I installed the mainline Linux kernel and drivers along with the proprietary Broadcom wireless module. Everything seems to be running fine.
18.
▲
by
serhart
7y ago
The official Guix channels do not package proprietary software. However, nothing is stopping someone from doing it.
19.
▲
by
serhart
8y ago
> By definition, if you're programming Emacs Lisp, you're an Emacs user. Emacs is the interpreter. That's not necessarily true. Guile supports Elisp as a language. You can write Elisp sans Emacs.
20.
▲
by
serhart
8y ago
Here is a gist of the relevant packages and configs I have for my MBP. https://gist.github.com/steve-ayerhart/81c9dfc773472e08002cd...
21.
▲
by
serhart
8y ago
I don't have access to it now. When I do I can put the package definitions and OS config up somewhere. When you first boot GuixSD most of the core stuff should work fine. Wireless will not work but you should have ethernet. I created
22.
▲
by
serhart
8y ago
None that I know of currently. The OS is version 0.15.0. It's very young and doesn't have a huge user base. I'm sure there will be non gnu repositories that will eventually spring up. I've even toyed with the idea of
23.
▲
by
serhart
8y ago
Not true. You can write your own packages in the same high level interface. Including the mainline Linux kernel and broadcom drivers. I have GuixSd running on my 2013 MBP