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

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.


What do you mean by cycles? A ripple-carry adder needs to wait for the carry bits to ripple through yes, but there's no clock cycle involved.


Maybe they mean gate delays?


Good to know!


The JSON types are string, number, boolean, null, object and array. So how could the suggested code possibly work? Do you want JSON.parse to do arbitrary code execution like Python's pickle?


Bitbucket is okay to use, the main problem like with every Atlassian product is that it is dog slow.


How do you know what you were downvoted for?


I guess he was told because otherwise you don't know whether you said something inherently wrong or misleading or you hurt someone 's feeling.

That's the richness behind the upvote/downvote that also tend to create echo chambers because you soon learn what causes downvotes.

I've personally noticed downvote whenever I mentioned apple negatively.


Having a type safe generic ring buffer and such is nice


You definitely need discipline to use C++ in embedded. There are exactly 2 features that come to mind, which makes it worth it for me: 1) replacing complex macros or duplicated code with simple templates, and 2) RAII for critical sections or other kinds of locks.


Consteval is great for generating lookup tables without external code generators. You can use floating point freely, cast the result to integers, and then not link any soft float code into the final binary.


I have no reason to trust that the fork itself is competently maintained when the author did not even bother to write the announcement.


I'm generally fully in agreement that AI writing is bad.

But this is one of the few cases where it might be acceptable.

Author is not a native speaker; in an announcement that a known project is being forked for maintenance the occasional odd phrasing and possible errors in grammar could sound unprofessional.

I wonder if in such cases a better use of AI would be to try to write it yourself and just ask a LLM to revise instead? Maybe with some directive to "just point out errors in syntax and grammar, and factual mistakes. No suggestions on style"?


The author is Chinese and not a native English speaker. I will happily give them a pass on using GenAI to "write the announcement".


They explain why in their AI policy. It's an ethical stance. Of course they wouldn't notice if there aren't clear signs of LLM-ness, but that's not the main reason why they forbid it.

https://docs.postmarketos.org/policies-and-processes/develop...


Thanks for the clarification. Not that I agree with their stance (the exact same could have been said at the start of the industrial revolution) but I respect it nonetheless.


> the exact same could have been said at the start of the industrial revolution

The pollution caused by said revolution is currently putting humanity at a serious risk of world war and maybe even extinction so... maybe they had a point? I'm not taking a strong stance either way here, but worth thinking about the downsides from the industrial revolution, too.


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

Search: