Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chubot
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
421.
▲
by
chubot
2y ago
Yeah I kind of agree that when LLMs work REALLY well for autocomplete of your codebase -- that might be an indication that the language and library abstractions you use don't fit the problem very well. Code is read more than it's
422.
▲
by
chubot
2y ago
I have subsequently decided that shell scripts (or anything you can shebang) are good enough, i.e. pkgbuild inspiration. If you run out of steam with shell, keep Hay in mind -- which is part of Oils. It upgrades shell with declarative dat
423.
▲
Float Precision Revisited: Nine Digit Float Portability (2013)
(randomascii.wordpress.com)
2 points
by
chubot
2y ago
|
0 comments
424.
▲
by
chubot
2y ago
What’s really wild is when people assume that everyone shares their value system It also appears you haven’t met anyone truly wealthy, because I can tell you they don’t share your point of view
425.
▲
by
chubot
2y ago
Yes waitpid(-1) doesn't compose, but lots of things in the C world don't compose - using library A which uses say libuv, and one that uses libevent (two different event loops) - forking while holding locks - two libraries using tw
426.
▲
by
chubot
2y ago
Some of the most skilled programmers I've worked with don't care much about tools. And this was ~20 years ago -- it doesn't have anything to do with "lower barriers to entry". They just get the job done. They defi
427.
▲
by
chubot
2y ago
If you haven't already, I would start with Advanced Programming in the Unix Environment by Stevens https://www.amazon.com/Advanced-Programming-UNIX-Environment... It is about using all Unix APIs from user space, includ
428.
▲
by
chubot
2y ago
Yeah the other day I was browing the NYC central park website - https://www.centralpark.com/ And I noticed my 2021 Macbook was unable to scroll to the bottom of the page. It was just chugging like crazy, and I couldn'
429.
▲
by
chubot
2y ago
FWIW the lobste.rs thread surfaced this 2016 comment thread about PrefixVarint vs. LEB128 varint in protobufs, which has lots of good info, and makes the UTF-8 analogy: https://news.ycombinator.com/item?id=11263378 Also sql
430.
▲
by
chubot
2y ago
PyPy used partial evaluation at one point, but now it's "meta-tracing": Why did we Abandon Partial Evaluation? - https://www.pypy.org/posts/2018/09/the-first-15-years-of-pyp...
431.
▲
by
chubot
2y ago
I am struggling to find any content in this article -- it seems like it was written by an AI
432.
▲
by
chubot
2y ago
Wow, for me Winamp was one of the first "enshittified" pieces of software. I remember one version was fantastic, and then the next version sucked. I'm pretty sure this was due to a change in ownership or something I remember
433.
▲
by
chubot
2y ago
It's also probably that it's easier to spot fake humans than to spot fake cats or camels. We are more attuned to the faces of our own species That is, AI humans can look "creepy" whereas AI animals may not. The cowboy
434.
▲
by
chubot
2y ago
My point was something like - if you want to send a bunch of small strings over the network, you can pick a variable length encoding even more compact than UTF-8 - if you want to pass and return a lot of strings as values, store them in da
435.
▲
by
chubot
2y ago
Apple's NSString apparently uses an in-memory encoding (not wire encoding) that can go as low as 5 bits per byte, as of OS X 10.10 in 2014: https://mikeash.com/pyblog/friday-qa-2015-07-31-tagged-point... If the l
436.
▲
by
chubot
2y ago
Did the Unabomer have any ideas you couldn't read elsewhere? I imagine there are tons of philosophers who have said similar things. Here's a comment recommending Jacque Ellul and Lewis Mumford - https://news.ycombinator
437.
▲
by
chubot
2y ago
Some related references (on a somewhat messy wiki page) - https://github.com/oilshell/oil/wiki/Compact-AST-Representat... Feel free to add others
438.
▲
by
chubot
2y ago
I do remember this quote, but it's a little odd because Unix and the web have a very similar structure. HTTP has more metadata like Content-Type, but it's still fundamentally uniform bytes/text. This is a feature not a bug!
439.
▲
by
chubot
2y ago
The fact that JSON is UTF-8 doesn't contradict the fact that it's bytes! That's a feature, not a bug. i.e. "exterior designs are layered" - https://www.oilshell.org/blog/2023/06/ysh-de
440.
▲
by
chubot
2y ago
(author here) I will probably write more about this, but it's not just modularity, or interfaces. Or at least those words are clouded by associations with specific mechanisms in whatever programming languages one has used One addition
441.
▲
by
chubot
2y ago
(author here) That's acknowledged in a few places in the post So I'm squeezing many topics into this single post. I state the main points, with some justification. So this issue deserves some more thought, and perhaps more term
442.
▲
by
chubot
2y ago
(author here) It's an old name for an old concept :) See the previous post The Internet Was Designed With a Narrow Waist , especially the appendix with some history https://www.oilshell.org/blog/2022/02/
443.
▲
by
chubot
2y ago
OK interesting, yeah I do see that if you consider how these expressions are parsed 1 + 1 * 42 1 + 1 + 1 * 42 1 + 1 + 1 + ... * 42 Or simply right associative operators. I'm not sure how much the classification matters
444.
▲
by
chubot
3y ago
Hm I wouldn't call it bottom up -- I would say it's top down, but you consult a table of integers to decide where to recurse. I would even call it a variant of recursive descent, which is top-down. In plain recursive descent, you
445.
▲
by
chubot
3y ago
That’s certainly a way to get a rise out of nerds lol
446.
▲
by
chubot
3y ago
Shell is used A LOT -- for data science, machine learning, cloud, CI, putting together Linux distros / boostrapping, embedded systems, and other heterogeneous problems. configure is one use case. And autoconf in particular will probab
447.
▲
by
chubot
3y ago
Idioms - https://www.oilshell.org/release/latest/doc/idioms.html
448.
▲
by
chubot
3y ago
What's different about Oils is that it's compatible with both /bin/sh and bash. https://www.oilshell.org/blog/2021/01/why-a-new-shell.html https://www.oilshell.org/blog
449.
▲
by
chubot
3y ago
How does Lisp Flavored Erlang talk to Common Lisp? Probably with a byte stream. The VMs are different. I've noticed Erlang/Elixir also favor interior composition! Parsing is not idiomatic there -- they're actually BAD lang
450.
▲
by
chubot
3y ago
Yup, I agree that Python composes like Unix does, which is a reason for its phenomenal growth: Narrow Waists Can Be Interior or Exterior: PyObject vs. Unix Files - https://www.oilshell.org/blog/2023/06/narro
More ›