Hacker Newsnew | past | comments | ask | show | jobs | submit | anitil's commentslogin

I really enjoy making Python faster. I feel like the sweet spot for me is proving a concept with the dumbest possible implementation to show that something would work, and then using that as a comparison implementation to prove that later improvements match the results of the dumb, obviously correct implementation.

I feel like scapy is a bit of a special case though. It's unusually dynamic because it allows kind of arbitrarily crazy things. I feel like it's maily best for prototyping. I've had 1000x speedups (100s of milliseconds to dozens of microseconds) just by removing dynamism. In our case we used scapy to work out the packet shapes we cared about and then just implemented just that subset (still in Python!). But that dynamism really helped with the early stages along with wireshark

I wish I could cure my sea sickness. The only thing that's worked is being on a boat more often (which isn't possible for me at the moment), and getting more sleep. The anti-nausea tablets unfortunately put me to sleep and they don't feel very safe in terms of driving to/from the boat

Meclizine OTC is non-drowsy and works really well for my wife.

The popular OTC for meclizine is Bonine. Many friends report positive results from it, but it doesn't do anything for me. My options are Dramamine (deep sleep) or nothing (headache and vomit).

I've heard of people mixing Dramamine with a ton of caffeine, but I've been too scared to try it, like I might have a heart attack from all the caffeine. Actually, I heard Kevin Bacon suffers from motion sickness, and that's what he did to get through filming the 0-gravity scenes in Apollo 13. Or something like that.


I'll give it a go thankyou!

I think calling these people 'hacks' is not quite the right word. They're very good at what they do, it's just a lot of people don't like or don't value what they do. I actually have a fair bit of respect for their craft (the ability to draw attention and turn that attention in to customers) even if I feel like what they're selling is fake, or fake-adjacent

Looking at the early scenes in the matrix, I think it must be nice to have a little cubicle, rather than the hot desk situation we have now

Oh, man, my sympathies.

I had a great job at a company that later switched to an open office layout. I found it so intolerable that I quit a couple of months afterwards. There's exactly zero chance that I'd accept a position where hot-desking was a thing. I can't imagine any job being worth that.


Obviously. The cubicle was invented as a more humane and private alternative to the standard open plan office of the 1960s, let alone hotdesking which is somehow even more of a fungible human cog than the open plan office.

I've had a colleague call it out 'Is this AI slop? Please write your opinion'. I don't think I could do that myself, but I really appreciate that they were drawing attention to it

I think 'do not spark joy' is the perfect description. Does it significantly ruin my day? No. Do I just feel a little bit less content with the world when my clean diff has an extra noop deletion and insertion? Yes.

Interesting too that javascript (but not json) seems to allow it. And a comment on that page highlights javascript's _sparse arrays_ which I'd never heard of [0]

[0] https://dev.to/damil/beautiful-perl-feature-trailing-commas-... ctrl-f for 'sparse'


What a great idea to include tree sitter

> Unfortunately, Shrink Ray has no principled way for me to express this. Fortunately, I have no principles, and use unsafe hacks like this

I really appreciated the humour in this article. I've always wanted to use creduce, but it looks like Shrink Ray is easier to set up and get running (pip install, set up a harness, run)


I remember a Planet Money episode, but I can't find it now. Maybe it was NPR instead

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: