Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
t8sr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
91.
▲
by
t8sr
3y ago
Oh absolutely, for some tasks Python is amazing. I use Jupyter notebooks a lot, for example, and the flexibility is an incredible feature. It just worries me when I sometimes see those same Jupyter notebooks running in production, crunching
92.
▲
by
t8sr
3y ago
It doesn’t take 20k syscalls to print a plot, the 20k syscalls is for the import call. I would hope that drawing plots takes a lot less. To engage with your point: loading a dynamic library in a regular language takes significantly less tha
93.
▲
by
t8sr
3y ago
Carl Sagan’s novel Contact is ultimately about a surprising fictional mathematical result, although this is only revealed IIRC toward the end. The movie adaptation with Jody Foster changes the plot and leaves out much that the 90s movie stu
94.
▲
by
t8sr
3y ago
Being pissy to strangers on the internet is a choice, friend. I hope whatever is making you feel bad about yourself gets better.
95.
▲
by
t8sr
3y ago
Sir, this is Hacker News. Replying with snarky arithmetic is pretty much the what passes for a bon mot around here. If you don't enjoy that, you will probably (>65% chance) find HN a stressful forum. OTOH, if you assume we're n
96.
▲
by
t8sr
3y ago
If 90% of businesses fail and you start 10 businesses, you still have about 35% chance of failing at all 10 of them.
97.
▲
by
t8sr
3y ago
Adjusting weights based on viewing data also describes a JPEG file, if you squint. "I didn't copy a picture, I merely adjusted cosine transform weights after viewing it." Since you asked for someone to explain: IMO you'r
98.
▲
by
t8sr
3y ago
I'm not sure why you feel the need to double-quote that. At any rate, the book seems to cover UK law, and in fact is published at Oxford?
99.
▲
by
t8sr
3y ago
Hey now, it's possible to have written hundreds of thousands of lines of Python and worked on the internals (back in Python2 days) and still think it's terrible. (I don't, really, but that's because I don't try to u
100.
▲
by
t8sr
3y ago
Sure, but if it's a python application, you have two options: 1) Tweak the code without understanding* of how it'll affect performance, because every single line of code hides behind it such complexity that any improvement you fin
101.
▲
by
t8sr
3y ago
I don't mean optimization is pointless, I mean trying to optimize Python code for CPU performance is pointless. If you're going to spend the time to do that, just rewrite the critical section in a reasonable language, then wrap it
102.
▲
by
t8sr
3y ago
A little late to reply, but you're of course right, there's no direct way to compare the performance. Python serves (among others) a niche, where it's basically the glue between highly optimized C libraries like numpy. If you
103.
▲
by
t8sr
3y ago
While it points at interesting questions about Python's internals, I hope people writing Python realize that optimizing it is pointless, except for cases where you change the complexity class of an algorithm. The performance of pure py
104.
▲
Ask HN: Why is Bluetooth still so unreliable?
71 points
by
t8sr
3y ago
|
78 comments
105.
▲
by
t8sr
3y ago
I was surprised how bad these machines were in the UK and the US. It’s possible to implement the idea better. A big source of friction seems to be the (IMO) unreasonable focus on theft prevention, and the second is that stuff in the store i
106.
▲
by
t8sr
3y ago
The EU market is rough right now, as you say. The down-level to senior usually happens on the system design and behavioral interviews. Especially in Europe, I find people often downplay their contributions in these interviews, while the Ame
107.
▲
by
t8sr
3y ago
Yes, people at staff+ level are routinely hired. But these are typically very senior positions and you are expected to be in some way transformative. Staff engineers are roughly equivalent seniority to a manager of 6-12 people and should br
108.
▲
by
t8sr
3y ago
Managers are basically never consulted on layoffs. At a high enough level in the organization, you might find out a week or two before everyone else and mark some people as critical, but that's about it. Basically every company I'
109.
▲
by
t8sr
3y ago
The people they are hiring are probably cheaper than the people being laid off. The costs of the layoff are massive in morale, lost know how, missed opportunities, etc. But to the finance people, that's just as well because it's n
110.
▲
by
t8sr
3y ago
According to their wikipedia page, at least, Spirit AeroSystems are a Boeing spinoff in any case, and something like 85% of their sales is only to Boeing. It seems like corporate budget maneuver, and a distinction I, a member of the flying
111.
▲
by
t8sr
3y ago
Nowhere on the page does it say it's sponsored by Airbus.
112.
▲
by
t8sr
3y ago
Moral relativism refuses to die. A democratic society has done some bad things, therefore a homicidal theocracy with medieval attitudes towards women and gay people gets to be morally equivalent? How does this argument keep coming back? It’
113.
▲
by
t8sr
3y ago
Two weeks ago, I let my partner use my data roaming to submit two forms on some Adobe collaboration thing, reply to a chat message on Teams and send an email. The counter on my phone said these actions used about 500 MB of bandwidth in the
114.
▲
by
t8sr
3y ago
This attitude is the reason why I now dread filling out any random web form, because a poorly implemented crappy JavaScript ”flow” will take over my browser, break the back button, accessibility and autofill features and randomly fail and s
115.
▲
by
t8sr
3y ago
The name is a missed opportunity - instead of "Last Sunday" it could be called the "Terminal Sunday".
116.
▲
by
t8sr
3y ago
Same, re-reading my replies I realize I phrased things in a stand-offish way. Sorry about that. Thanks for being willing to take a step back. I think possibly we are talking about two different things. IME most instances of exploitation a
117.
▲
by
t8sr
3y ago
> I don't know what your point is here. Do you spend a lot of time in your career thinking about hardening your containers against kernel CVEs? Yes, I literally led a team of people at a FAANG doing this. You're saying the easi
118.
▲
by
t8sr
3y ago
> Memory safety is the primary issue with containers as a security boundary. I don't know where you're getting your information, but this is NOT the consensus on the LMKL, among most Linux kernel people or at any serious large
119.
▲
by
t8sr
3y ago
Container vulnerabilities are rarely related to memory bugs. Most vulnerabilities in container deployments are due to logical bugs, misconfiguration, etc. C-level memory stuff is absolutely NOT the reason why virtualization is safer, and no
120.
▲
by
t8sr
3y ago
Sure, if the program crashes, all bets are off. That’s also true of any other similar exception mechanism. The fact that the program crashes on unhandled panic, rather than letting you install a default global handler, is a design choice th
More ›