Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kqr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
901.
▲
by
kqr
1y ago
The : operator is the linked list data constructor. It takes an element and a list and creates a new linked list by linking the element to the existing list. It does the opposite when used in a pattern match: separates out the first element
902.
▲
by
kqr
1y ago
At first I was going to contradict you but then I realised 10 mm of rain is actually a measure of volume or mass, corresponding to 10 kg, right? And of course, people use it mainly as a rate, i.e. 10 kg per hour, or per four hours, or six h
903.
▲
by
kqr
1y ago
> There are almost no standalone tools dedicated to creating flashcards easily from existing programs I think this is a common misunderstanding. Half the benefit of SRS comes from working out what the flashcards are. You have to circle a
904.
▲
by
kqr
1y ago
I get a very strong 1960s Bauhaus graphic design feeling from this. That makes it feel like yet another fad. You could argue "but this is well researched so it cannot be a fad" but I think they're focusing on the wrong things
905.
▲
by
kqr
1y ago
Isn't this what Claude workbench in the Anthropic console does? It lets the user edit both sides of the conversation history.
906.
▲
by
kqr
1y ago
There was a lot of development around radio navigation aids in the interwar period. I believe it was even possible to navigate using commercial AM radio broadcasts, as long as the location of the broadcasting station was known. So while the
907.
▲
by
kqr
1y ago
> Practically speaking, putting an arbitrary size limit somewhere is like putting yet-another-ssl-cert-that-needs-to-be-renewed in some critical system. It will eventually cause an outage you aren’t expecting. No, not at all. A TLS cert
908.
▲
by
kqr
1y ago
It gets even more nuanced. As I understand it, Pierce was not great at the pursuing part and often managed to enthuse others to follow his ideas instead of doing it himself. So maybe it is only natural that someone like Pierce would notice
909.
▲
by
kqr
1y ago
I recently read about Atari attempting to do the same thing in the 1980s (headed by Alan Kay, no less!) Market changes forced them to shut down the attempt a few years later due to lack of funding.
910.
▲
by
kqr
1y ago
That sounds plausible, but is not how it is told in The Idea Factory , where the authors explain that both AT&T (running the phone system) and Western Electric (manufacturing equipment for the phone system) had separate research divisi
911.
▲
by
kqr
1y ago
This is often recommended to beginners of parser games. Not because it has easy puzzles (it is a difficult game) but because the parser is uncommonly reactive. The game has a custom response to doing almost anything ton anything.
912.
▲
Lost Pig (2007)
(pr-if.org)
2 points
by
kqr
1y ago
|
1 comments
913.
▲
by
kqr
1y ago
Hm. When I tried this on my site it retained a debugging element that is decidedly not required, but adds a lot of bytes to the CSS: body::after{display:none;content:"";background-image:url("data:image/svg+xml;utf8
914.
▲
by
kqr
2y ago
Deliberately denying service in one user flow because technology has evolved is much better than accidentally denying service to everyone because some part of the system misbehaved. Timeouts and size limits are trivial to update as legitima
915.
▲
by
kqr
2y ago
This comment got me to purchase this book and bump it to the head of my reading queue. I'm about halfway through it and it's really, really good. I definitely think it can help with writing/design, by showing the breadth of p
916.
▲
by
kqr
2y ago
While that is true, I recommend on the request anyway, because it makes it abundantly clear to the programmer that requests can fail, and failure needs to be handled somehow – even if it's by killing and restarting the process.
917.
▲
by
kqr
2y ago
It would be a fairly short Perl script to read the access logs and curl a HEAD request to all URLs accessed, printing only those with 200 OK responses. Here's a start hacked together and tested on my phone: perl -lnE 'if (&#
918.
▲
by
kqr
2y ago
You can also find out who owns a general group of IP addresses, and at the time they would often assist you in further pinpointing who is responsible for a particular address.
919.
▲
by
kqr
2y ago
The lesson for any programmers reading this is to always set an upper limit for how much data you accept from someone else. Every request should have both a timeout and a limit on the amounts of data it will consume.
920.
▲
Reading GHC Errors
(entropicthoughts.com)
3 points
by
kqr
2y ago
|
0 comments
921.
▲
by
kqr
2y ago
I have long wanted to make a procedurally generated text adventure that focuses on economics, information, and politics rather than spatial exploration. This gets complicated quickly, of course. Basic microeconomics and armchair psychology
922.
▲
by
kqr
2y ago
No. This is a case where I am confused by my own behaviour as well! Clearly there is something about it but it's not something I'm conscious about.
923.
▲
by
kqr
2y ago
Why does this lamp make people think of the death star? Me and my wife bought it ten years ago because of the cool mechanism and immediately started calling it the death star, but I struggle to see what the resemblance really is.
924.
▲
by
kqr
2y ago
On the other hand, since they "think in writing" they also do not keep any reasoning secret from us. Whatever they actually did is based on past transcript plus training.
925.
▲
by
kqr
2y ago
> There is no loan necessary ... That is also not what Williams says. He says a simultaneous long cash--short future position is practically the same as a loan of the corresponding commodity. (With the lending side being short cash--long
926.
▲
by
kqr
2y ago
What I mean is that 5 bushels of wheat purchased now and stored properly can be used just the same now as three months from now. On the other hand, at a fundamental level, 5 minutes of compute purchased now are gone forever if not used. Whe
927.
▲
by
kqr
2y ago
No, this is a common misconception. If hedging was the point, futures markets would show more evidence of risk aversion than they do. Again, I recommend that Williams' book if you're curious!
928.
▲
by
kqr
2y ago
Doesn't make sense for e.g. compute because compute resources are infinitely perishable. Maybe could work for storage.
929.
▲
by
kqr
2y ago
If you are looking for more opportunities, recall that the difference between entities and value objects in domain-driven design is that value objects are fungible.
930.
▲
by
kqr
2y ago
This level of standardisation is indeed what makes them so liquid and useful!
More ›