Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ristos
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
ristos
2y ago
Agile/scrum isn't a good model under any circumstance, because, as mentioned many times at this point in many posts: - It leads to burnout because engineers are incentivized to shorten their estimates as much as possible, so as to
32.
▲
by
ristos
2y ago
I think the posix stuff is only if you're using some of chibi's batteries-included libraries, like filesystem, regexp, shell, tar, zlib. You can probably pretty easily just stub all those files or remove them from the make build a
33.
▲
by
ristos
2y ago
Chibi scheme has almost all of those things, except non-hygienic macros: https://synthcode.com/scheme/chibi/ It's R7RS scheme, which is a very small, well designed core for lisp. 13k LOCs of C. Very easy to e
34.
▲
by
ristos
2y ago
It exists for US citizens at least: login.gov ( https://developers.login.gov/oidc/getting-started/ ) It has it's pros and cons, maybe more pros if you factor in that the biggest issue isn't authentication
35.
▲
by
ristos
2y ago
Yeah, exactly! FORTH looks really awesome, I haven't gotten around to learning it much though. I heard it's addictive and fun. Yeah, it's all concatenative programming: FORTH, unix pipes, function composition as monoids, effe
36.
▲
by
ristos
2y ago
Then only use the software that Bob wrote in the same building you work at, I don't know what to tell you. I don't think you can necessarily trust Bob's code without looking at what he wrote, just because you see him in perso
37.
▲
by
ristos
2y ago
Maybe I'm not understanding your argument. Are you saying that if all these larger programs wrote all those utilities from scratch, it makes it so that if someone messed something up, the rest of the large programs are unaffected? All
38.
▲
by
ristos
2y ago
It's not a willful neglect of systems thinking. Functional programmers have been able to build very large programs made primarily of pure functions that are composed together. And it makes it much easier to debug as well, because every
39.
▲
by
ristos
2y ago
I'm not sure why you're getting downvoted. The left-pad incident on npm primarily impacted projects that didn't have lockfiles or were not pinning exact versions of their dependencies. I knew a few functional programmers that
40.
▲
by
ristos
2y ago
What if you're using a larger library and you wanted to swap out a sorting algorithm for one that's optimized for your use case? I would say that the API boundary being more modular and explicit makes it possible to actually do th
41.
▲
by
ristos
2y ago
They were developed by different authors...
42.
▲
by
ristos
2y ago
Reminds me of the 2ality blog post on that: https://2ality.com/2017/08/type-right.html
43.
▲
by
ristos
2y ago
It's probably still a good example. Looking up the CVEs for various search terms: coreutils: 17 results linux kernel: 6752 results x11: 184 results qt: 152 results gtk: 68 results docker: 340 results rust: 455 results python: 940 resul
44.
▲
by
ristos
2y ago
They ship together because all of those small composable units, that were once developed by random people, were turned into a meta-package at some point. I agree with you that randomly downloading a bunch of disjointed things without auditi
45.
▲
by
ristos
2y ago
It's not the same as a non-micro-library, because a non-micro-library is a bunch of internal code that isn't as well-documented and isn't self-contained, and maybe come and go as the non-micro-library continues to churn. I ca
46.
▲
by
ristos
2y ago
They don't need to understand the low level dependencies. People can create metapackages of a lot of a bunch of self-contained libraries that have been audited and forked, and devs can pull in the metapackages. The advantage is the mod
47.
▲
by
ristos
2y ago
Yeah there's a way to do that, yarn and pnpm can flatten the dependency tree. You can add the fork directly too: yarn add <path/to/your/forked/micro-library.git> pnpm add <path/to/your/forked
48.
▲
by
ristos
2y ago
Nothing wrong with that either, like I said copy paste works too. A lot of minimalistic programs will just copy in another project. Forking the code and using that is arguably nicer though IMO, makes it easier pull in new updates from the c
49.
▲
by
ristos
2y ago
Micro-libraries are really good actually, they're highly modular, self-contained code, often making it really easy to understand what's going on. Another advantage is that because they're so minimal and self-contained, they&#
50.
▲
by
ristos
2y ago
I would say that a better alternative to graph dbs would be prolog or datalog, because they're expressive enough to describe hypergraphs. Prolog is better than datalog in a lot of ways: CLPZ, abduction, homoiconicity, being able to cho
51.
▲
Reflections on Trusting Trust
(dl.acm.org)
1 points
by
ristos
2y ago
|
0 comments
52.
▲
by
ristos
2y ago
I get the idea of moving to more memory safety, but the whole "rewrite everything in Rust" trend feels really misguided, because if you're talking about being able to trust code and code safety: - Rust's compiler is 1.8
53.
▲
by
ristos
2y ago
You can also change the search strategy used in Prolog, ie using library(search), supporting BFS and iterative deepening. Tabling is also supported. Another useful tool for homoiconicity is clause/2: ?- assertz((foo(X) :- append(X, _,
54.
▲
by
ristos
2y ago
Prolog is a really interesting language. It's like lisp in that, it's definitely worth learning very well, even if you don't find a use-case for it, because the things you learn help you think about programming in a whole new
55.
▲
by
ristos
3y ago
> Say you vote for a tax increase. Everyone pays. You don't. That's actually a bad example, because US citizens have to pay US taxes even if they've lived abroad for many years. As a result they also have to have at least
56.
▲
by
ristos
3y ago
It doesn't, it's the whole "do one thing and one thing well", where it's only concerned with having a single executable without any dependencies. You run them with Firejail for security/sandboxing.
57.
▲
by
ristos
3y ago
Not sure why I got downvoted. There's a false dichotomy here... I agree that there are really cool things with this technology, opening up a lot of possibilities for music creation for those that aren't well versed in music compos
58.
▲
by
ristos
3y ago
There are still people that appreciate watching someone play a guitar or violin or piano, or make traditional art, because the character of the artist comes through. For example, with classical pieces, each musician plays the composition a
59.
▲
by
ristos
3y ago
> Before QL, you looked at the .asd and searched cliki for each name. Only very few libraries are on Cliki, and the links "upstream" just link to the repo that almost always says to just use Quicklisp for installation. Quicklis
60.
▲
by
ristos
3y ago
Ultralisp, Rowsell, Qlot, Quickdocs, etc. Virtually every modern project build/install instructions reference Quicklisp. You have no idea which dependencies you need to pull and from where, which can be a real PITA for a large project.
More ›