Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
patrec
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
75 ms
·
781.
▲
by
patrec
7y ago
Internal (bug, e.g. divide by zero or missing function definition in a dynamic language) vs external (out-of-your-control corner case, like file not found) is an important axis. But another axis is "finality": 1. do you just want
782.
▲
by
patrec
7y ago
Yeah, I agree save-lisp-and-die is cool. On the other hand you can just write a python script, copy it over and have it run on literally millions on computers out of the box (even accounting for the python3 debacle) – that's pretty han
783.
▲
by
patrec
7y ago
What's a "systems language"? Someone recently posted "awk as a major systems programming language". Ocaml is used in many performance and latency sensitive domains as a minimal amount of research would show you. Her
784.
▲
by
patrec
7y ago
That's not hard to conceive, mesh networks. It's unbelievable I can't share a picture or video privately, phone to phone, at high speed and convenience, without being at the mercy of a fast and possibly expensive internet con
785.
▲
by
patrec
7y ago
Post discovery of the "decimal" point, having two twice seems ripe for de-duplication.
786.
▲
by
patrec
7y ago
I feel this urge a lot more often than you seem to think :)
787.
▲
by
patrec
7y ago
> Is there an advantage in going base 10 vs base 11? Yes, you can divide by powers of two and five and exactly represent the result. When did you last feel an urge to divide something into 11 parts? > Now that I think about it base 8
788.
▲
by
patrec
7y ago
Well, I'm not some prefix-fanatic, but much of the problem would not exist in the first place if we had just used some sexp style syntax for HTML, it would be more pleasant to edit, and faster and much easier to parse for both humans a
789.
▲
by
patrec
7y ago
Arrrghh, it's 2020 and developers are still too dumb to understand the difference between a string (list of characters) and a tree (sql, html, ...). No, the solution is not to "sanitize" input, output or both! The solution is
790.
▲
by
patrec
7y ago
> Buuut, given CL's features and stability, I will very much consider it for a commercial project in the future instead of, say, Python[...]My point is that CL is general-purpose enough so that it could be more used in the wild Yeah
791.
▲
by
patrec
7y ago
If you think spamming random links to old toy/dead/in-house projects you found on Cliki and that contained words like "machine learning", "Games" or "GUI" (mcclim – really?[ ]) constructs an effective
792.
▲
by
patrec
7y ago
Yup, pgloader was also the one example I could think off; I was wondering if you'd name it :) Amusingly I have not been able to get the non-docker version to work due to some bogus openssl problem. Anyway, I completely agree that Commo
793.
▲
by
patrec
7y ago
CLI utils: you're missing the point. Of course you can write some simple terminal apps with common lisp, but can you name a single one that anyone who is not a lisp fanatic uses? If not, ever wonder why? GUI: would you develop a commer
794.
▲
by
patrec
7y ago
I hate the "lists of myths" (that aren't) genre. > Common Lisp does not have compile-time type checking. Nothing in the standard mentions compile time checking requirements and there is no useful de-facto standard that you
795.
▲
by
patrec
7y ago
> It is not hard to imagine your Web-enabled microwave oven consulting the frozen-food manufacturer's Web site for optimal cooking parameters. This is Berners-Lee being visionary about the potential of a world-wide network of comput
796.
▲
by
patrec
7y ago
WP: > One of the strongest factors affecting voter turnout is whether voting is compulsory. In Australia, voter registration and attendance at a polling booth have been mandatory since the 1920s, with the most recent federal election in
797.
▲
by
patrec
7y ago
> Integers have complete precision, but very limited range You can store up to 900 trillion dollars with 0.01 cent resolution in an int64. I doubt many applications need more range than that. > when [integers] overflow, they usually “
798.
▲
by
patrec
7y ago
You sum 7 numbers all around 100. Assuming I didn't mess up, the maximal floating point error for that is ~100·7·2^-53 which is < 10^-13.
799.
▲
by
patrec
7y ago
As opposed to perl? :D
800.
▲
by
patrec
7y ago
Yeah, it's global, and unfortunately I believe that Apple has gimped extensions so something like NoScript is no longer possible. If you need granularity or whitelisting of domains, I'm afraid you need another browser. On the glas
801.
▲
by
patrec
7y ago
Protip: in Safari you can assign a keyboard shortcut to toggle javascript (Preferences -> Keyboard -> Shortcuts -> App Shortcuts -> [+] -> Application: "Safari" Menu Title: "Disable JavaScript" Shortcut: &
802.
▲
by
patrec
7y ago
This cuts both ways, smart and competent people might also not like to work with you or any project you've worked on. I have no real insight into your personality and ability (but neither do you about GF). Competent people who want or
803.
▲
by
patrec
7y ago
https://en.wikipedia.org/wiki/Jevons_paradox
804.
▲
by
patrec
7y ago
If you're on a mac, try monodraw. It's discontinued, but it's cheap and works great (it's basically a full featured diagramming app – with text output).
805.
▲
by
patrec
7y ago
I'm not sure I understand this attitude. It's a pitty it failed commercially. But it's a great app that only costs a tenner and works well (probably way better than any available alternative). And it can "save" as t
806.
▲
by
patrec
7y ago
There's plenty wrong with hashtables in Common Lisp, they feel like an ugly bolt on. There's no convenient way to construct them or look at them (they're not readably printable, and you can't fix that yourself either). E
807.
▲
by
patrec
7y ago
Not so. Mawk was released in 1991. Perl (as in Perl5) in 94. https://github.com/mikebrennan000/mawk-2/blob/master/about-m...
808.
▲
by
patrec
7y ago
Yeah, what would David Moon of all people know about performance critical code. https://www.h2o.ai/blog/a-brief-conversation-with-david-moon...
809.
▲
by
patrec
7y ago
This would contravene the training-wheels nature of Go. Also, Perl-style (ir-)regular expressions, despite their popularity, are not a worthwhile abstraction IMO and thus should not be enshrined in the standard library of programming langua
810.
▲
by
patrec
7y ago
Adding lookbehinds to the regexp library is a terrible idea. > The regexp implementation provided by this package is guaranteed to run in time linear in the size of the input. Python's is exponential, because it inherits all the non
More ›