Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
owl57
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
owl57
3y ago
TIL. str.format and % parse the format string at runtime, so it's expected that they're slower. But I thought the f-string desugars to something similar to the last one. Turns out it's not, it compiles to specialized opcodes
62.
▲
by
owl57
3y ago
From the start? I guess because the spirit of Python's syntax is anti-Perl. Now? Maybe because another breaking change in strings is the worst nightmare of the current generation of Python developers.
63.
▲
by
owl57
3y ago
> The vast, vast, vast majority of projects – and I expect 100% of web projects – use languages with incomplete type systems, making what you seek impossible. …where, "what GP seeks" is… > way for [library authors] to ind
64.
▲
by
owl57
3y ago
> you can drop a straight line every time The unreasonable effectiveness of linear regression...
65.
▲
by
owl57
3y ago
Does he speak any Slavic languages? I know a Russian lecturer who does that in part because he considers it funny to use a TLD that looks similar to the obscene word "хуй".
66.
▲
by
owl57
3y ago
> We just smoked outside the back of the building. I don't care if someone smokes, as long as I don't have to inhale the smoke. A lot of campaigns against smoking in public places, from school until today, made life unpleasant
67.
▲
by
owl57
3y ago
Well, and what's your plan for the proposed feature? In particular what does your plan say about: 1) phones that allow installation of a custom free OS; 2) phones that are already in use now.
68.
▲
by
owl57
3y ago
You seem to be insisting that such a feature can be mandated without collateral damage for a lot of phone users, including people who never use a phone while driving or even don't drive at all.
69.
▲
by
owl57
3y ago
> How is society in any way worse, if phones recorded usage in the past 24 hours, and drivers had to provide that data if implicated in a crash? The requirement to record anything in a way useful for law enforcement would be pretty clo
70.
▲
by
owl57
3y ago
You mostly beat me to comment the same — you could even doomscroll a newspaper 20 years ago just the same, it just wasn't convenient and common to doomscroll while driving — but… > Bowls of soup also don't send you unprompted n
71.
▲
by
owl57
3y ago
I'd guess there are places where refusing to drive suggests you're drunk.
72.
▲
by
owl57
3y ago
> several formatters that are often pretty large (e.g. f32 and f64 would add at least 30 KB of binary …) I know floats are full of scary corner cases, but… Assuming tens of bytes per an if statement, hundreds of corner cases just in form
73.
▲
by
owl57
3y ago
I recently found out that this one got closed as well: https://code.djangoproject.com/ticket/470 > Opened 18 years ago > Closed 9 months ago I'm fascinated by projects that are so stable that specific issues
74.
▲
by
owl57
3y ago
> I'm nearly 40 and have never used a cheque in my entire life. I could say exactly the same a year and a half ago. And then I happened to move to Israel. And I was just as shocked as you would be to learn that most apartment post
75.
▲
by
owl57
3y ago
Most people I know, it's because we studied math or wrote programs together. We were selected and got to know each other mostly for solving mathematical or coding problems. There's a stereotype that these skills correlate negative
76.
▲
by
owl57
3y ago
> I think the kinds of tickets that are closer to #1 don't even need a reference in the git commit, because pretty much all of the ticket's text should be in the commit message anyway Not really, because even tickets without
77.
▲
by
owl57
3y ago
> commuting ... may be a poorer experience than pre-Covid Curious, what do you mean? I was WFH from 2006 to 2021, and I feel like the commute improved a bit over that time with the new vehicles and navigation apps, but otherwise not much
78.
▲
by
owl57
3y ago
And another free IDEA edition — Android Studio — might be even more popular.
79.
▲
by
owl57
3y ago
> The only very commonly used language that I can think of with a single dev environment is Excel Not sure if this is still the case, but last time I tried to write something in Kotlin it didn't have decent support in any editor o
80.
▲
by
owl57
3y ago
> it's not clear to me how much of that backend is still in Common Lisp Yes, that's why "suspect" and "obscure": I thought that well-known system is already rewritten in Google's usual languages. Turns
81.
▲
by
owl57
3y ago
I suspect there's an obscure system in Common Lisp or even one of its ancestors running something absolutely critical to the world as we know it.
82.
▲
by
owl57
3y ago
Probably not. We are talking about some function of first N numbers and its limit when N approaches infinity. There is more than one reasonable way to clarify "first prime factor" and "first N numbers", but I think for a
83.
▲
by
owl57
3y ago
Christian context is a bit fuzzy here. On one hand, Monday is called the same in Hebrew (יום שני [yom sheni] = "second day"). On the other hand, Russian "вторник" [vtornik] ≈ "second" is Tuesday, same in other
84.
▲
by
owl57
3y ago
> There is a Tarpenhow place in the UK, but it has no hill > Oxford Concise Dictionary which describes the word as "Torr pen", top of the hill Are you and the dictionary authors, respectively, sure? :)
85.
▲
by
owl57
3y ago
> I remember going through an MIT OS project, it took me something like 50 hours of hours to complete the project. Pretty much impossible when you have a full time job (I didn't at the time). And despite that, I still consider mysel
86.
▲
by
owl57
3y ago
> Same could be true for emacs, someone who knows it better could pipe in. I believe Emacs differs in two relevant ways, both not technically inherent: command prefixes are by default non-printable, and it's relatively uncommon to r
87.
▲
by
owl57
3y ago
> An article written in Arabic, or Hebrew, or Tamil, or Malay may use the respective different calendars instead, as familiar to the readers. Extrapolating from the only example I know, I wouldn't bet on it. Before moving to Israe
88.
▲
by
owl57
3y ago
Probably not. I bet something in Android didn't work properly until they whitelisted some Google domains — for example, maybe it didn't detect the Internet connection when the user paid for it, or maybe something on the entertainm
89.
▲
by
owl57
3y ago
> Cygwin is much faster than WSL Is it? I'm pretty sure WSL is much faster if your workflow allows putting files on Linux filesystem, but I also recall that perf in shared Windows folders felt about the same (bad, but not even worse
90.
▲
by
owl57
3y ago
You technically described how to make a word sorting macro execute arbitrary code. Fascinating to think how that doesn't mean it's bad advice. That is, unless your threat model includes targeted attacks by three-letter-scale adver
More ›