Solitude042
Re:Ask HN: Why can't modern smartphones play music smoothly?
on Monday April 08, 2024 @12:41PM (#39971439)
One of the media players I used (on Android) had a bug in which it was susceptible to getting put to sleep when in the background - it would promptly be reawakened by the player service, but that would cause a glitch each time (especially at the transition between tracks). Once I removed the player from the power optimization list, the glitches evaporated entirely. Maybe something to look into, since it's a different cause than the three on your list?
Re:Difference between PUT vs. POST from a system administrator POV?
on Saturday October 14, 2023 @01:17AM (#37878260)
In the context of REST, idempotency is about duplicate requests not causing the system state to change further after the first request. For example, a POST might create a new resource each time, whereas a PUT would replace an existing resource. The POST changes the system with each call & created resource (not idempotent), whereas PUT likely wouldn't change the resource if the same content was PUT repeatedly (idempotent).
Idempotency provides resilience against messages that might be repeated (e.g., at-least-once delivery).
Idempotent operations are also typically structured as absolute, not relative data.
For example, a bank might send a message "set balance to $100", not "subtract $10 from balance" - if the message is repeated, the correct result is still obtained.
Re:Why the vagus nerve is so exciting to scientists
on Wednesday August 23, 2023 @09:03PM (#37243925)
I thought athletes used sodium bicarbonate to buffer the production of lactic acid during anaerobic activity. I've never heard of it as a stimulant. Can you provide a source for that mechanism?
Re:Ask HN: Will Google kill 1Password, LastPass and others?
on Sunday August 20, 2023 @11:38AM (#37200145)
No. Password managers are applicable beyond browser & android environments. Beyond that, other products provide features & UX that may be preferred, and some companies require a specific password manager (and forbid the use of Google's offerings).
Re:Ask HN: How do you work on Microsoft Windows and feel proud of your...
on Sunday August 06, 2023 @12:25AM (#37018968)
Yeah, it's annoying, but it takes all of 5 minutes to disable all the tips/tricks/suggestions/hints/etc... They're all easily changed in the settings and taskbar menus. Then install Brave, or whatever browser you prefer. Not that much of a barrier to what is otherwise a solid (and still quite healthy...) daily-driver OS, though I agree it's definitely leaning heavy on the dark patterns for users who aren't sufficiently informed to know they're all configurable.
Re:Ask HN: As a SWE, should you be calm or high energy?
on Friday July 28, 2023 @11:48AM (#36908643)
I find 'passionately-focused' works for me - channel your energy into visible productivity, team uplift, prof dev, etc... When your energy becomes a distration to others, or aimed in a direction not supporting the workplace goals, it does show a lack of personal discipline and detracts from your coworkers' opinion.
Re:‘Invisible barcodes’ could improve sorting of recycling [video]
on Thursday November 14, 2019 @12:20AM (#21532992)
A big part of the problem is separating food vs non-food containers made with the same plastic - this tech can help with that by identifying the use even after the label has been removed and the package partially crushed.