HNHacker News
TopNewBestAskShowJobs

syntheticcdo

482 karma · joined December 30, 2014

submissionscomments
syntheticcdo··on Claude, please stop trying to memorize random crap
Did you try to delete the memory yourself?
syntheticcdo··on Apple can delist apps "with or without cause," judge says in loss for Musi app
Spotify is more popular than Apple Music on iOS.
syntheticcdo··on Amazon's Ring and Google's Nest reveal the severity of U.S. surveillance state
And if the recipient uses a Chrome extension to handle the decryption... Google still has access to the cleartext. There's no winning.
syntheticcdo··on AI sycophancy panic
But we didn't name them "artificial swimmers". We called them submarines - because there is a difference between human beings and machines.
syntheticcdo··on Get an AI code review in 10 seconds
Sometimes the only review a PR needs is "LGTM" - something today's LLMs are structurally incapable of.
syntheticcdo··on Writing code was never the bottleneck
Previously discussed: https://news.ycombinator.com/item?id=44429789
syntheticcdo··on US Court nullifies FTC requirement for click-to-cancel
I'm asking about your personal opinion: in Griswold v. Connecticut should the Supreme Court have upheld states right to ban access to all contraceptives, including condoms?
syntheticcdo··on US Court nullifies FTC requirement for click-to-cancel
Note that the court case that first invoked “emanations from penumbras” involved a Connecticut law banning the the use of contraceptives. Do you believe such a restriction should be constitutional?
syntheticcdo··on Why do we have both CSRF protection and CORS?
You can! Go ahead and launch chrome with the --disable-web-security argument.
syntheticcdo··on No Bitcoin ETFs at Vanguard (2024)
If it were that simple, Vanguard wouldn't have taken the additional step to prevent trading in these products on their brokerage. Telling customers "you can't buy Bitcoin because we can't sell it to you at a profit" would be ridiculous.
syntheticcdo··on ShotSpotter does not reduce gun violence or increase clearance rates
Singapore has some of the strictest gun control laws in the world regarding ownership and possession. If you want America to be more like Singapore, start by repealing the second amendment, not increasing policing.
syntheticcdo··on How enterprise software is like baby clothing
I work in K-12 EdTech and this hurts to read. Every sprint spent working on a "check the box feature" that administrators want to see is time not spent improving the effectiveness and usability of the product for teachers and students. Worse, sometimes the features or changes administrators think they want actively work against the interests of the users.

Edit: And god forbid you end up working on a core curriculum product that needs to be reviewed by each state's board of education. In that case you end up building a product that appeals to state-level bureaucrats, just to get get the privilege of selling to administrators, with little thought left for the actual students.

syntheticcdo··on N+1 in Ruby on Rails
I will never understand why more developers don't just learn effective SQL. In many cases, the database is both the most expensive and most powerful component of the system - may as well put it to use!

The N+1 query used as an example in the post could have just been a single query.

syntheticcdo··on The xz-utils backdoor has been removed
https://github.com/tukaani-project/xz/commit/780cbf29d5a88db... to update the NEWS file is equally honest:

    5.6.1 (2024-03-09)

    IMPORTANT: This fixed bugs in the backdoor (CVE-2024-3094) (someone
    had forgot to run Valgrind).
syntheticcdo··on Tesla FSD Beta 12.3: Palo Alto to San Francisco with Zero Interventions [video]
8:35 certainly looked like a high stress moment, even if the driver didn't "intervene".
syntheticcdo··on Why Does 'Is-Number' Package Have 59M Weekly Downloads?
tailwindcss -> chokidar -> braces -> fill-range -> to-regex-range -> is-number

is-number was first published 9 years ago, when these kind of micro-packages were in vogue. braces was added as a dependency to chokidar over 6 years ago [1]. And if it ain't broke, don't fix it. I don't think the average JS dev today is going out and pulling in these deps.

[1] https://github.com/paulmillr/chokidar/commit/cbdf25563cfff7f...

syntheticcdo··on US achieves first moon landing in half century with private spacecraft
Fun fact: the 2008 bailouts actually produced a net profit for the US Treasury.

[1] https://money.cnn.com/2014/12/19/news/companies/government-b...

syntheticcdo··on It's so cold, Teslas are struggling to charge in Chicago
The cold weather limitations and suggestions to get going are documented fairly well in the owner's manual, available both online and from within the car on the display. Don't get me wrong: I think Tesla deserves blame for a multitude of problems, but in this case blaming the manufacturer for the failure of the customer to RTFM doesn't seem fair.

[1] https://www.tesla.com/ownersmanual/model3/en_us/GUID-F907200...

syntheticcdo··on What the _% Is a Passkey?
I ran into the issue earlier when implementing WebAuthn. Realizing that user authentication was tied to a single device/ecosystem, I wanted to allow the user to register a second key -- but because their authentication was tied only to their existing physical authenticator, I had no way to authenticate the second machine without magic email link, or setting a password and logging into the second device, which seems to completely defeat the purpose.
syntheticcdo··on AMD’s 7950X3D: Zen 4 Gets VCache
No need - the chipset drivers automatically park the non-VCache CCD cores when a game is running (effectively turning the 7950X3D into a 7800X3D).
syntheticcdo··on TikTok Ban Bill Is Patriot Act 2.0 Trojan Horse [video]
No, at 3:50 in TFA the bill defines holding as: i. an equity interest, ii. a stock, iii. a security, iv. a share, v. a partnership interest, vi. an interest in an LLC, vii. a membership interest, or vii. ANY participation, right, or other equivilent, however designated and of ANY character (emphasis mine).

That's a lot more broad than "Chinese controlling interest".

Edit: and "controlling interest" as defined in the bill means "a holding with the power, whether direct or indirect and whether exercised or not exercised, to determine, direct, or decide important matters affecting an entity." which is much more broad than the commonly understood 51% equity stake.

syntheticcdo··on Urgent: Sign the petition now
Perhaps I would be more sympathetic had SVB themselves not recently successfully lobbied to have the exact regulations you are asking for to not apply to their bank.

[1] https://www.theguardian.com/business/2023/mar/11/silicon-val...

syntheticcdo··on Goodbye, passwords (1Password Passkey support)
Their implementation doesn't seem standards compliant. I installed the newest 1Password extension in Chrome and then went to the https://webauthn.io/ demo and clicked register -- 1Password did nothing, but the Chrome WebAuthn dialog took control.

Edit: Interestingly enough, the demo site is listed in 1Password's own directory: https://passkeys.directory/details/web-authn-io/

syntheticcdo··on Tired of Software
I think they insist on relying on vision-only because thousands of customers with vision-only vehicles out there have already paid for "full self driving" - so admitting their mistake would be ruinous financially.
syntheticcdo··on Want cleaner code? Use the rule of six
Do your co-workers use lodash's chain functionality? I've found it useful to achieve kouteiheika's ideal from the current top comment, with top to bottom readability without too much mental overhead.

As an example, given:

  const sales = [ {month: "Jan", day: 1, total: 120 }, ... ]
You could determine, say, the highest sales day of a given month as follows:

  const highestSalesDayByMonth = _.chain(sales)
    .groupBy("month")
    .mapValues((salesForMonth) => _.maxBy(salesForMonth, "total"))
    .mapValues("total")
    .value()

  // highestSalesDayByMonth = { Jan: 140, Feb: 90, ... }

Naturally, minimizing the complexity of the iteratee functions and carefully naming of their arguments is very important to ease debuggability.
syntheticcdo··on Ethereum Classic hashrate doubled this month ahead of ETH merge
Here's the full breakdown:

    1. You have 100 ETH in original ETH chain in wallet A.
    2. Merge occurs, and a forked POW chain appears
    3. You now have 100 ETH in wallet A, and 100 ETH-POW in wallet A.
    4. Generate a new wallet B (note that because the protocol for ETH and ETH-POW is identical, wallet B is valid for both ETH and ETH-POW).
    5. Transfer 100 ETH from wallet A to wallet B (on POS chain).
    6. Observe both wallets on both chains:
      Scenario A: There is no replay in ETH-POW:
        - You have 100 ETH in Wallet B
        - You have 100 ETH-POW in Wallet A
      Scenario B: Your ETH transaction is replayed on ETH-POW
        - You have 100 ETH in Wallet B
        - You have 100 ETH-POW in Wallet B
In scenario A, you are free to do whatever you want with the 100 ETH-POW in wallet A -- either move it to an exchange that supports the ETH-POW chain, or continue using the ETH-POW chain. There is no risk of replay because wallet A on the POS chain is already empty.

In scenario B, you still have both 100 ETH and 100 ETH-POW in wallet B which you control. Write off the 100 ETH-POW because the risk of interacting with it is likely much greater than any value the coins in that chain have.

In both scenarios, your 100 ETH is safe and controlled by you.

syntheticcdo··on Ethereum Classic hashrate doubled this month ahead of ETH merge
If you want to touch the POW chain, you should move all of the money out of the identical wallet on the POS chain first to avoid a replay attack.

If the POS wallet address is empty (post split) there is no chance of replay because the address is already empty.

Of course, just as possible is a replay of the POS transaction on the POW chain, so the POS wallet chosen for the initial emptying should be 100% controlled by you as well (ie- not an exchange wallet).

syntheticcdo··on Thunderbolt, Displayport and Docks
Apple gets this right. When I plug in my iPhone at night, regardless of the PD of the source it's connected to - it informs me that it's doing "Optimized Battery Charging" and will be fully charged by my wake up time. It slurps up whatever it can get if I plug in my phone any other time of the day - if I plug in my phone at 11% at 1pm, it probably means I missed my nightly charging cycle and I do really need the fast charge.
syntheticcdo··on Thunderbolt, Displayport and Docks
Regarding cables, I just exclusively use 0.8m Thunderbolt 4 100 W cables. If something isn't working, for sure it is the device on one end of the cable and not the cable itself.
syntheticcdo··on Faster offset pagination for Rails apps
I wonder what the performance improvement would be to simply add an index to the created_at column, or alternatively sort on the id column (under the assumption that the id column is indexed and essentially correlated 1:1 to created_at).
Page 1 of 6Next →