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

It's not an optimization if it pessimizes almost all usage by adding a check for the dunder

Plenty of people would naturally expect `if x in range(big_number, other_big_number)` to work efficiently rather than having to write the comparison logic (and modulo check, if a step is involved) explicitly. If the code has `if x in y:` where y is a duck-typed input, it's awkward to special-case that.

Who is making membership checks against trivially-sized collections in a hot loop?


The only other reasonable explanation would be that he has consumed so much LLM content that the machine has erased his voice and replaced it with its own.


I wish they would just explain it in normal terms instead of this nasty LLM "engaging blog post" style


Chris usually takes an educational angle, I don't think this is LLM-generated content at all it's just his style. I highly encourage watching some of his DefCon or BlackHat talks, they're fun!


I looked at both links and don't see anything weird or annoying, and I hate overblown styles myself.


‘The counters tell the story’ might be something they consider odd. But I’m not familiar with the author’s style so they could have had these tics pre-LLM or they picked up these tics from reading a lot of LLM content.


Yes, that's the point where I was like "wait a second" and started counting em dashes. A third alternative, perhaps the LLMs were trained hard on his prior work? :-)


Worth flagging, real gap, transparent win, center of gravity... I'm tired boss


Now I have full understanding


This is the key insight.


This feels like saying there are probably hundreds of stars in the universe


That's rude. Give them back


This is good comedy. I'm disappointed (annoyed, even) it's not the top comment.


I thought the author might just be heavily influenced by the LLM style, but when there are also complete non sequiteurs like

> Low frequencies take very few bits to encode, and you feel them as much as hear them

yeah then it starts to smell pretty bad.


The diff of the linked commit in git is completely trivial, clearly it just got tagged because of the signoff in the commit message: https://github.com/git/git/commit/d7971544fe17378f44f4998301...

I would be surprised if there is no LLM-assisted code in there prior to this commit, this is just the first where the author chose to disclose it.


Several and a few are the same number, they only differ rhetorically.


I think several is used by most speakers for larger quantities than few. It has the connotation of being larger, and that changes usage.


Presumably there is an antialiasing low pass filter somewhere before JS gets to the data. I have a similar sample rate and it certainly didn't work at all for me.


If the accelerometer samples at 50Hz, how could there be an antialiasing filter?

What would that filter look like?


Anything physical which dampens higher frequency oscillations would act as an antialiasing filter.


What sort of size do you think something that would damp 25Hz vibrations in something that weighs a gram or two would need to be?


They have analogue AA filters just before the sampler.


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

Search: