Better HN
topnewbestaskshowjobs
Log inSign up

fooyc

789 karma · joined Jul 22, 2011 (15y ago) · 293 submissions

Submissions

comment 2w ago · link · parent

The article is full of non sense, starting at the description of the vulnerability

comment 6mo ago · link · parent

Online and in-store payments will follow in 2027, as per the article

comment 9mo ago · link · parent

Apparently the new diagram is now a rip off of another one from Atlassian: https://bsky.app/profile/vurobinut.bsky.social/post/3mf52hmw...

comment 11mo ago · link · parent

add_v3() is the result of induction variable simplification: https://llvm.org/doxygen/IndVarSimplify_8cpp_source.html

comment 3y ago · link · parent

The author cites this to justify the need for Records:

> Most Java objects set every field to be private and make all fields accessible only through accessor methods for reading and writing.

> Unfortunately, there are no language enforced conventions for defining accessors; you could give the getter for foo the name getBar, and it’ll still work fine, except for the fact that it would confuse anybody trying to access bar and not `foo'.

Scala supports pattern matching on objects implementing the `unapply` method.

Is this considered harmful? Why didn’t Java follow this route?

comment 3y ago · link · parent

Yes it will

comment 3y ago · link · parent

WEI won’t even stop the bad bots. They will simply use "legitimate" devices.

comment 3y ago · link · parent

Consider this scenario:

- Content sites implement Web Integrity API to block bots

- But they still allow Google crawlers, because Google is their source of traffic

- Google competitors are locked out

How do attesters solve this problem?

comment 3y ago · link · parent

Not only adblocking, but also crawling. They want to kill competition.

comment 3y ago · link · parent

How does that work? The binary format embeds variants of the same program?

comment 3y ago · link · parent

Maybe JIT compilers can take profit of this immediately, since they target a single machine?

comment 3y ago · link · parent

Not only Reader, but also the RSS support in Chrome and Firefox (whose Google used to be the primary source of funds). And Feedburner.

comment 3y ago · link · parent

Google would do anything to make it harder for others to crawl the web. Killing RSS was part of that strategy.

News sites will implement these DRMs, but of course they will still allow Google because it is their source of traffic. Alternative search engines and good bots will be locked out.

comment 3y ago · link · parent

The article mentions race conditions

comment 3y ago · link · parent

Alternative interpretation: people with larger brains tend to nap more

comment 3y ago · link · parent

There is a world between using AWS and buying your own servers

comment 4y ago · link · parent

If you sell stable coins for USD and make a loss, you can write it off.

comment 4y ago · link · parent

I feel that the joke may be about the implementation, maybe not the whole concept.

comment 4y ago · link · parent

My understanding is that people don't invest in stable coins (like you don't invest in USD when you have USD on your brokerage account).

Stable coins can be exchanged against other crypto currencies on chain. So if you are willing to trade crypto currencies, stable coins are more practical than USD.

There are also tax implications: Depending on where you live, crypto-to-crypto profits are not taxable. You will be taxed if you sell crypto currencies for USD, but not if you sell crypto currencies for a stable coin.

comment 4y ago · link · parent

I love this color scheme. I’ve just replaced the yellow color with some shade of blue, and it’s perfect.

comment 4y ago · link · parent

Typescript is a static type system though

comment 4y ago · link · parent

The article is well written and Haskell appears to have what’s necessary to work efficiently with algebraic data types (matching and overloading).

But in the end, it’s just fancy words for union and intersection types, or am I missing something ?

comment 4y ago · link · parent

PHP has optional types as well, although types are enforced when present

comment 4y ago · link · parent

Pretty sure they meant immutable in that quote.

comment 4y ago · link · parent

    > jo normally treats value as a literal string value, unless it begins with one of the following characters:  
    > value  action
    > @file  substitute the contents of file as-is
    > %file  substitute the contents of file in base64-encoded form
    > :file  interpret the contents of file as JSON, and substitute the result
This is convenient but also very dangerous. This feature will cause the content of an arbitrary file to be embed in the JSON if any value starts with a `@`, `%`, or `:`.

This will be a source of bugs or security issues for any script generating json with dynamic values.

comment 4y ago · link · parent

If you can read environment variables of a process, can’t you also read its memory ?

comment 4y ago · link · parent

PHP has a GC since 2009 (version 5.3). Its goal is precisely to collect reference cycles.
12345
10