Better HN
topnewbestaskshowjobs
Log inSign up

syntheticcdo

482 karma · joined Dec 30, 2014 (11y ago) · 157 submissions

Submissions

comment 14h ago · link · parent

I can't tell if this is real or parody.

comment 4mo ago · link · parent

Did you try to delete the memory yourself?

comment 8mo ago · link · parent

Spotify is more popular than Apple Music on iOS.

comment 9mo ago · link · parent

And if the recipient uses a Chrome extension to handle the decryption... Google still has access to the cleartext. There's no winning.

comment 10mo ago · link · parent

But we didn't name them "artificial swimmers". We called them submarines - because there is a difference between human beings and machines.

comment 11mo ago · link · parent

Sometimes the only review a PR needs is "LGTM" - something today's LLMs are structurally incapable of.

comment 1y ago · link · parent

Previously discussed: https://news.ycombinator.com/item?id=44429789

comment 1y ago · link · parent

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?

comment 1y ago · link · parent

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?

comment 1y ago · link · parent

You can! Go ahead and launch chrome with the --disable-web-security argument.

comment 1y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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).

comment 2y ago · link · parent

8:35 certainly looked like a high stress moment, even if the driver didn't "intervene".

comment 2y ago · link · parent

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...

comment 2y ago · link · parent

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...

comment 2y ago · link · parent

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...

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

No need - the chipset drivers automatically park the non-VCache CCD cores when a game is running (effectively turning the 7950X3D into a 7800X3D).

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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...

comment 3y ago · link · parent

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/

comment 3y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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).

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

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.
123456