Readit News logoReadit News
thehours commented on Wired headphone sales are exploding   bbc.com/future/article/20... · Posted by u/billybuckwheat
thehours · 18 hours ago
Sony WH1000XM5 headphones are my daily driver, mainly Zoom calls and music. I'm generally pretty happy with them, but one big gripe I have is when I'm on a call and briefly take off my headphones to e.g. chat with someone in the room, there is like a 90% chance they stop working and I have to reconnect them.

It happens so often I even wrote a script to switch to the MacBook internal speakers then back to the headphones.

I've used wired headphones before (and the Sony even has a wired option), but I didn't like how the cord was constantly getting the the way of my arms.

edit: Another big gripe is with the Bluetooth codec itself, and how the quality changes depending on if the mic is active.

thehours commented on One Number I Trust: Plain-Text Accounting for a Multi-Currency Household   lalitm.com/post/one-numbe... · Posted by u/ayi
RedNifre · 2 months ago
Here is my explanation for "software people who understand databases". The structure of the explanation will be as follows:

  1. Explain how you would do simple accounting with a database
  2. Point out which indices you'd create for performance
  3. Show how the "double entry" part of double entry accounting is about the indices
1. The way you'd do accounting in a database is with two tables: One table for accounts (e.g. your checking account, or the supermarket account, which you don't own) and another table for transactions. The transactions move an amount of money from one account to another, e.g. from your checking account to the supermarket account. Or if you use it for budgeting, you might split your checking account into a groceries account, a rent account etc. (think "categories").

2. For performance, you would create indices based on the accounts in the transaction table, so you could easily check what's going on e.g. in your groceries account or how much you spent at the supermarket.

3. Double entry accounting was formalized in the 15th century, way before computers became a thing, but bound paper books were already somewhat affordable. The way you'd do accounting is like this: During the business day, you would write down your transactions as they happen, into a scrapbook, similar to the transactions table mentioned above. At the end of the day, you'd do the "double entry" part, which means you take your "index" books where each book is about one account and you transcribe each transaction from your scrap book into the two books of the two accounts that are mentioned in the transaction, e.g. if you spent $10 from your groceries account into the supermarket account, you'd double enter that transaction both into your "groceries" book and into your "supermarket" book. Then, when you want to check on how much you spent at the supermarket in a particular month, you could easily look it up in the supermarket book (this would be very tedious when using the scrap book). These account centered books are like the indices in the database mentioned above.

So the double entry part is about clever index building for making it easier and faster to understand what's going on in your accounting system.

thehours · 2 months ago
How are investments modeled in this system? e.g I buy $100 of an index fund which can fluctuate in value.
thehours commented on Ask HN: How can I get better at using AI for programming?    · Posted by u/lemonlime227
johnfn · 3 months ago
That's a fun idea. How do you get the transcript into Claude Code (or whatever you use)? What transcription service do you use?
thehours · 3 months ago
I use the Raycast + Whisper Dictation. I don't think there is anything novel about it, but it integrates nicely into my workflow.

My main gripe is when the recording window loses focus, I haven't found a way to bring it back and continue the recorded session. So occasionally I have to start from scratch, which is particularly annoying if it happens during a long-winded brain dump.

thehours commented on Guideline has been acquired by Gusto   help.guideline.com/en/art... · Posted by u/surprisetalk
cortesoft · 4 months ago
Wait, how are 401ks part of a bankruptcy? I guess the matching portion?

Edit: from my quick research, it appears 401ks are completely protected in a bankruptcy. The only thing would be if the company had not yet sent your contribution to the servicer, then that payment would be considered another creditor. But if the money is in your 401k account at your servicer, the money is protected from any bankruptcy.

thehours · 4 months ago
I worked for a company that went bankrupt. They ended up taking several thousand dollars out of my account to cover IIRC unpaid fees to the provider.
thehours commented on You are how you act   boz.com/articles/you-are-... · Posted by u/HiPHInch
thehours · 5 months ago
This reminded me of this passage from Anxiety Is the Dizziness of Freedom by Ted Chiang:

> None of us are saints, but we can all try to be better. Each time you do something generous, you're shaping yourself into someone who's more likely to be generous next time, and that matters.

thehours commented on SQL Anti-Patterns   datamethods.substack.com/... · Posted by u/zekrom
thehours · 5 months ago
> Mishandling Excessive Case When Statements

User Defined Functions (UDFs) are another option to consolidate the logic in one place.

> Using Functions on Indexed Columns

In other words, the query is not sargable [0]

> Overusing DISTINCT to “Fix” Duplicates

Orthogonal to author's point about dealing with fanout from joins, I'm a fan of using something like this for 'de-duping' records that aren't exact matches in order to conform the output to the table grain:

    ROW_NUMBER() OVER (PARTITION BY <grain> ORDER BY <deterministic sort>) = 1
Some database engines have QUALIFY [1], which lends itself to a fairly clean query.

[0] https://en.wikipedia.org/wiki/Sargable

[1] https://docs.aws.amazon.com/redshift/latest/dg/r_QUALIFY_cla...

thehours commented on How to turn liquid glass into a solid interface   tidbits.com/2025/10/09/ho... · Posted by u/tambourine_man
thehours · 5 months ago
I have an iPhone SE 2nd Generation. After a recent repair I was forced to upgrade to iOS 26.

My biggest gripe is the buggy keyboard. It shrinks a bit horizontally every time I open it. When using a mobile browser (I tested on a few), website footers and similar elements will get stuck above where the top of the keyboard would normally be, as if there was an invisible keyboard.

These tweaks to minimize the glass effect go a long way, such that I'm not as put off by the overall design as I was in its stock configuration.

thehours commented on Nine things I learned in ninety years   edwardpackard.com/wp-cont... · Posted by u/coderintherye
thehours · 6 months ago
I was hoping for more of the author’s own perspective over those ninety years. Instead, it read more like a stitching project of other people's ideas. In particular the barrage of quote fragments disrupted the flow and made it harder for me to engage with the main point of each section.
thehours commented on macOS dotfiles should not go in –/Library/Application Support   becca.ooo/blog/macos-dotf... · Posted by u/zdw
marcyb5st · 7 months ago
I put them in a dotfiles directory and use `stow`[1] to symlink the contents to where applications expect them to be. Under that root I have a home folder that it is symlinked to `~/`, and I have and applications one that is symlinked to `Applications Support` through the `-T` argument of stow.

To this day I still have to find anything that has problems taking a symlink instead of a file.

I am pretty happy with this setup as it means that all my dotfiles are in a single root folder that I manage through a git repo.

So I don't see what the linked articled means when it says that stows "makes (unsurprisingly) no effort to support ~/Library/Application Support.". It is literally a bit of organization from your side and passing a flag.

[1] https://www.gnu.org/software/stow/

thehours · 7 months ago
I also use stow on MacOS and have been pretty happy with it.

> […]although macOS will regularly replace your symlinks with copies of the destination files

I’m curious about this claim from the article - to what extent is this true?

thehours commented on Show HN: Move to dodge the bullets. How long can you survive?   dodge.trickle.host... · Posted by u/samdychen
thehours · 7 months ago
I really liked the display showing me climb the leaderboard in realtime. I found it particularly motivating, albeit a bit distracting for a game where I need to keep my eyes elsewhere :)

u/thehours

KarmaCake day184January 12, 2020View Original