Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tangus
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
tangus
11d ago
Probably vector-drawn diagrams are rendered into bitmap images for the EPUB version.
2.
▲
Reviving the IBM Selectric Composer Fonts (2023)
(kutilek.de)
79 points
by
tangus
4mo ago
|
9 comments
3.
▲
by
tangus
5mo ago
Here's an index of sorts. I couldn't find anything better. https://archive.org/details/byte-magazine?sort=date
4.
▲
by
tangus
5mo ago
I guess they wanted to keep working on their slides (at least for the moment) and not be forced to go debugging. Sadly, the hang was deterministic, so they didn't have another option.
5.
▲
by
tangus
6mo ago
Aren't they basically saying opposite things? Perlis is saying "don't choose the right data structure, shoehorn your data into the most popular one". This advice might have made sense before generic programming was wides
6.
▲
by
tangus
7mo ago
My minuscule pet peeve is that having only one source where the number 5 is depicted with a triangle (all others show it as a separated segment, like the number 6 but shorter), that's how every article or library draws it. It's al
7.
▲
by
tangus
9mo ago
Everything they have is downloadable. Go to their home page and follow the links.
8.
▲
by
tangus
11mo ago
Everybody carries a gun in Heinlein stories, so those terrorists will be quickly dealt with by armed citizens, thus confirming the superiority of Libertarianism.
9.
▲
by
tangus
11mo ago
For the record, if you want to avoid the creation of intermediate arrays, you can: lst.lazy.grep(Array).flat_map(&:itself).sum Not as clear, because the standard library doesn't have a `#flatten` method for lazy enumerator
10.
▲
by
tangus
11mo ago
Careful. Seeing how I was downvoted for asking, it looks people here don't want that information to spread.
11.
▲
by
tangus
11mo ago
It may be somewhat awkward; zipping collections to iterate over them in unison makes the first one (the sender) seem special, while it not necessarily is. And accumulating more than one value isn't always straightforward; you usually h
12.
▲
by
tangus
11mo ago
Looping in Ruby is the opposite of awful. You only have to define an `#each` method in your class and include the `Enumerable` module, and you get a plethora of composable methods to iterate and accumulate in every which way. I find it noth
13.
▲
by
tangus
11mo ago
It's paywalled, please provide a workaround.
14.
▲
by
tangus
1y ago
In the late 90's I had a girlfriend who worked for a shop that made web pages in COBOL. I thought those were COBOL's death throes, but apparently I was mistaken...
15.
▲
by
tangus
1y ago
They provoked the strike on purpose by giving the workers an unacceptable contract. The aim was to wreck the union (they succeeded). They prepared in secret for two years for this. Here's an account: https://www.huffpost.com
16.
▲
by
tangus
1y ago
Also related: https://puzz.link/db/
17.
▲
by
tangus
1y ago
Even if it didn't dedupe strings, mutable string literals means that it has to create a new string every time it encounters a literal in run time. If you have a literal string in a method, every time you call the method a new string is
18.
▲
by
tangus
1y ago
Strings are going to keep being mutable by default. Only strings created by string literals won't be.
19.
▲
by
tangus
1y ago
>I do not understand how you can even begin coming to the conclusion of ... Obviously he's not serious, he's playing the part of the out of touch old man.
20.
▲
by
tangus
1y ago
Related to "Last is first", old Spanish books sometimes put at the end of the page the first syllable of the next page. (It was quite disconcerting when I first saw it.)
21.
▲
by
tangus
1y ago
They say it right in the next sentence.
22.
▲
by
tangus
1y ago
But fb2 files are marked up text, which is (relatively) trivial to index. The bulk of Anna's Archive's books are made of from scanned images.
23.
▲
by
tangus
1y ago
I don't think in Red a function can decide whether to evaluate its arguments or not. It's more like a Logo: functions have fixed arity, so you don't need to delimite the call, and lists ("blocks") are always quoted,
24.
▲
by
tangus
1y ago
Not very reliable, this Phantom thing.
25.
▲
by
tangus
1y ago
I've seen it. Sometimes a DSL is more readable than trying to shoehorn control flow into method calls (".then().catch()..."). Or see C#'s LINQ.
26.
▲
by
tangus
1y ago
Besides that, in Buenos Aires, for instance, every access to the street has its own address. A building with 2 entrances (front door and garage) has 2 addresses, etc.
27.
▲
by
tangus
2y ago
Just in time to kill the giants sloths?
28.
▲
by
tangus
2y ago
You can pay the penalty and get safe container access, too. AFAIK, C++ standard containers provide both bounds checked (.at()) and unchecked ([]) element retrieval.
29.
▲
by
tangus
2y ago
And how do we escape those characters? With ESC (27)? Inside a SI/SO (15/14) pair? I think CSV or TSV are good enough. People keep trying to find a format where you can separate the records and fields with a simple string.split an
30.
▲
by
tangus
2y ago
Yeah, well... you won't get very far with just TP-style objects and strings and without dynamic arrays.
More ›