Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hansvm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
511.
▲
by
hansvm
1y ago
import ctypes ten = 10 addr = id(ten) class PyLongObject(ctypes.Structure): _fields_ = [ ("ob_refcnt", ctypes.c_ssize_t), ("ob_type", ctypes.c_void_p), ("ob_size&qu
512.
▲
by
hansvm
1y ago
No, I mean the literal. CPython is more flexible than it has any right to be, and you're free to edit the memory pointed to by the literal 10.
513.
▲
by
hansvm
1y ago
In the "dynamic" section, it's much worse than the author outlines. You can't even assume that the constant named "10" will point to a value which behaves like you expect the number 10 to behave.
514.
▲
by
hansvm
1y ago
Across the US, only 70% of students live within 3 miles of their school, and only 20% of students are within 1 mile. Toss in weather, carrying supplies for after-school activities, tight schedules (e.g., going from some before-school activi
515.
▲
by
hansvm
1y ago
First it's emails [0], and now it's lightning. What else is going to be stuck at just over a 500 mile range? [0] https://www.ibiblio.org/harris/500milemail.html
516.
▲
by
hansvm
1y ago
Space is 60 miles away, and this was over 500 miles. Maybe it hit the ground eventually, but the vast majority of the strike was definitely intra-cloud.
517.
▲
by
hansvm
1y ago
The numbers I quoted were current prices for the school/city I attended (UND, if anyone wants to cross check). When I attended prices were lower, but so were wages and a number of other things, roughly proportionally AFAICT. I could ma
518.
▲
by
hansvm
1y ago
There are two huge problems with that. (1) Google "strongly encourages"/tricks you to create a passkey even when you don't know what that is or want one and doesn't explain the downsides like having to suddenly pay
519.
▲
by
hansvm
1y ago
Ah, excellent. Every website I visit, at Google's behest, has added a Google support contract as an unwritten requirement for doing business with them. I'm glad that's fully resolved and indicates that the new world order is
520.
▲
by
hansvm
1y ago
My experience was only 7 years ago. I don't think it's a generational difference so much as the fact that a university is a big place, enough so that even if you engage actively with 100+ people you won't see the whole pictur
521.
▲
by
hansvm
1y ago
Let's rephrase it to "most of even the best students" then. I went to about the cheapest US school that had a decent math program. It costs $17,500/yr between tuition, rent, books, and rice and beans. That's a lot o
522.
▲
by
hansvm
1y ago
I don't think we're disagreeing?
523.
▲
by
hansvm
1y ago
It doesn't work like that in the physical world though. Once you've bought a book the author can't stipulate that you're only allowed to read it with a video ad in the sidebar, by drinking a can of coke before each chapt
524.
▲
by
hansvm
1y ago
Ofttimes people are sufficiently anti-ad that this point won't resonate well. I'm personally mostly in that camp in that with relatively few exceptions money seems to make the parts of the web I care about worse (it's hard to
525.
▲
by
hansvm
1y ago
Your experience echoes my own for sufficiently trivial tasks, but I haven't gotten any of this to work for the actual time-consuming parts of my job. It's so reliably bad for some tasks that I've reworked them into screening
526.
▲
by
hansvm
1y ago
It's not free, but it's not expensive. Server load at that scale is measured in single-digit dollars per month, and bandwidth _might_ require two pipes with enough images being loaded. Multiply by 20 for replication and latency is
527.
▲
by
hansvm
1y ago
I don't think that's true with current-gen models. You can even go so far as to write pseudocode for the LLM to translate to a real language, and for anything out-of-the-box my experience is that it will blatantly ignore your inst
528.
▲
by
hansvm
1y ago
Interesting. I still have a bricked phone from my onboarding at Google, and no internal people cared either. There's a tool I could have used to fix it, but it's accompanied by a message saying that if you use it without permissio
529.
▲
by
hansvm
1y ago
There are lots of smart kids who don't particularly need reasons for causing mayhem. Suppose it was somebody profit-motivated though. They might be: 1. Distracting from a more important vulnerability 2. Later contacting customers, advi
530.
▲
by
hansvm
1y ago
This isn't a terrible way to go about things. I normally add .*/ to the gitignore. Most crap I don't want is a hidden directory. It's easy to whitelist a few bad actors, and the gitignore stays pretty short.
531.
▲
by
hansvm
1y ago
Are there use cases where you would actually want Wayland in its current state?
532.
▲
by
hansvm
1y ago
Luckily France is part of the EU. They seem to have better removal tools than the rest of us.
533.
▲
by
hansvm
1y ago
I could buy that argument if it weren't for the disparity in which organizations are being targeted and the degree to which they're being attacked. Getting rid of all government is just the story they use to appease their base.
534.
▲
by
hansvm
1y ago
The problem with capitalism is that something like it (concentrated power begetting additional power at the expense of most of the populace) is nearly guaranteed to crop up in a society which doesn't burn resources actively fighting ag
535.
▲
by
hansvm
1y ago
The problem is that 129F is a borderline safe temperature at any length of time. 3-4hrs is closer to what you want to kill _all_ the salmonella and e coli, but 2hrs kills enough that it's very likely to be safe, and 129F isn't a s
536.
▲
by
hansvm
1y ago
As of a couple weeks ago it had a variety of unsafe food recommendations regarding sous vide, e.g. suggesting 129F for 4+ hours for venison backstrap. That works great some of the time but has a very real risk of bacterial infiltration (133
537.
▲
by
hansvm
1y ago
They serve coffee, still hotter than most establishments, certainly hotter than most people prefer. You can't drink it at the previous temperatures, even after waiting 10 minutes. What are you trying to prove?
538.
▲
by
hansvm
1y ago
Even from afficionados the best temperature at extraction time isn't near boiling. The best drinking temperature is even lower. Typical temperatures at other chains are in the 140-180F range. McDonald's chooses to use much higher
539.
▲
by
hansvm
1y ago
The problem is that normal MRI math tries its damnedest to avoid actually solving the right equations. Instead, with a flat enough field, you can assume linearity and just FFT the thing. They'll physically place bits of metal and magne
540.
▲
by
hansvm
1y ago
It happens from time to time even with free range chickens if a rooster picks a fight while they're all in the coop for the night.
More ›