HN user

Aloisius

7,711 karma

Product Happy Technologist & Good Sharer (Napster, SNOCAP, LinkedIn, SeatMe, Common Crawl).

Posts26
Comments2,267
View on HN
apnews.com 1y ago

US economy shrank 0.5% in the first quarter, worse than earlier estimates

Aloisius
362pts164
www.aclu.org 10y ago

China’s Nightmarish Citizen Scores Are a Warning for Americans

Aloisius
5pts0
www.reuters.com 12y ago

Google unveils prepaid debit card

Aloisius
16pts10
www.quora.com 12y ago

What do founders do once they hit 35 and are officially over the hill?

Aloisius
12pts2
www.techinasia.com 12y ago

Characteristics of Silicon Valley you won’t find in Asia

Aloisius
3pts0
www.modernluxury.com 12y ago

The Care and Feeding of a Tech Boom

Aloisius
3pts0
www.nytimes.com 12y ago

Life in a Toxic Country

Aloisius
2pts0
www.teslamotors.com 13y ago

Early Re-Payment of Tesla’s ATVM Loan

Aloisius
11pts0
www.thecoolhunter.net 13y ago

When Facebook Disables Your Fan Page

Aloisius
54pts20
commoncrawl.org 13y ago

Common Crawl announces Open Source Big Data code contest winners

Aloisius
27pts9
www.wired.com 13y ago

Why Apple Made Three iPhone 5 Models

Aloisius
32pts27
www.nytimes.com 13y ago

U.S. Companies Brace for an Exit From the Euro by Greece

Aloisius
1pts0
commoncrawl.org 14y ago

Common Crawl code contest - with fresh crawl of 3.2 billion web pages

Aloisius
23pts5
www.forbes.com 14y ago

Why the San Francisco Bay Area should have 11 million residents today

Aloisius
76pts127
news.ycombinator.com 14y ago

Ask HN: Cloud-based RT logging for mobile apps?

Aloisius
5pts0
commoncrawl.org 14y ago

Bored in grad school? Learn Hadoop

Aloisius
52pts21
www.huffingtonpost.com 14y ago

Are we over OpenTable?

Aloisius
1pts0
www.commoncrawl.org 14y ago

MapReduce for the Masses: Zero to Hadoop in 5 minutes with Common Crawl

Aloisius
109pts26
thenextweb.com 14y ago

Female Startup Founder in Chile Responds to Penolope Trunk

Aloisius
1pts0
techcrunch.com 14y ago

LinkedIn Beats The Street; Revenue Up 120%

Aloisius
2pts0
www.tnr.com 15y ago

Google and the Technocratic Conscience

Aloisius
2pts0
www.engadget.com 15y ago

Google+ to require profiles be public after July 31st

Aloisius
2pts0
news.ycombinator.com 15y ago

Ask HN: Freelancer? Seeking freelancers? (July 2011)

Aloisius
89pts59
news.ycombinator.com 15y ago

Ask HN: Who is Hiring? (July 2011)

Aloisius
233pts283
www.businessinsider.com 15y ago

RIM is run by a "good ole' boy" network from Southern Ontario

Aloisius
5pts0
goodsharer.com 15y ago

Is FoundersCard Worth It?

Aloisius
37pts30

Calling the American Revolution terrorism, in the modern sense, is a stretch. It was a war waged primarily between soldiers and materiel with the goal of ending the enemy's ability to wage war.

Systematic use of terror as a policy to induce fear in the general public to push them to coerce their government's policy was not widely used.

πFS 1 month ago

That seems easy enough to solve. Simply record the index and length in pi of the index and length in pi.

That depends entirely on where you are.

In India, for instance, dairy cattle are fed almost exclusively on crop residues and by-products. Crop residues being what's left over in the field after you harvest and by-products being what would otherwise be waste left over after you process for human use.

Elsewhere, in addition to crop residues/by-products, you also have natural grasslands that aren't planted or irrigated, legume feed grown between major crop seasons when you can't grow anything else that also replenishes the soil and feed grown on otherwise marginal land or barely managed land.

Certainly some crops grown for cows would be edible by humans or the land repurposed for growing crops edible for people, but there's often a cost involved like heavier fertilizer requirements, pesticide use, water requirements, added infrastructure and/or labor.

Iran's semi-official Mehr News Agency (via China's state news agency Xinhua[0]) claims the 10 points are:

1. U.S. commitment to ensure no further acts of aggression

2. Continued Iranian control of the Strait of Hormuz

3. Acceptance of Iran's nuclear enrichment rights

4. Lifting of all primary sanctions

5. Lifting of all secondary sanctions

6. Termination of all United Nations Security Council resolutions against Iran

7. Termination of all International Atomic Energy Agency Board of Governors resolutions against Iran

8. Payment of damages to Iran for loss in the war

9. Withdrawal of U.S. combat forces from the region

10. Cessation of hostilities on all fronts, including Lebanon

Which is much different.

[0] https://english.news.cn/20260408/dd8df6148df94252aaa1d3fbb59...

It’s a bizarre situation in that US elections have such a huge impact on a world that has no say

No say (or at least, no influence) might be a bit strong given foreign election interference.

I'm sure if Britain or France or whoever wanted to, they could have their intelligence services release dirt on candidates or engage in some dirty tricks.

I'd love for them to target their own code base considering we keep seeing security vulnerabilities in claude code.

How likely is it that they're not using their latest and greatest for their own projects though? Perhaps their ability to find security flaws is surpassed by their ability to create them.

Yes, you are correct. Bad editing on my part.

It should be that if tcp_now gets stuck before (<) (2^32 - 30000) ms from boot, it would cause deadline timers for reaping TCP_WAIT would always be greater than tcp_now because it wouldn't wrap. If stuck at or after (>=) (2^32 - 30000), it would cause them to potentially be reaped faster they should be.

Actually looking at the code a bit more, it looks like calculate_tcp_clock() is run at least once per hour even when there's no TCP traffic or sockets open, so getting into the state where it never reaps TIME_WAIT sockets which would be hard to predict if this would happen.

It also looks like if tcp_now gets stuck, other tcp timers may have problems as well.

Might want to update it if you used the blog post explanation because it's incorrect as justinfrankel noted below. From the post:

    tcp_now   = 4,294,960,000  (frozen at pre-overflow value)
The mistake in the blog post is timer isn't wrapped, even though it notes it should be:
    timer     = 4,294,960,000 + 30,000 = 4,294,990,000 - MAX_INT = 22,704
Therefore:
    TSTMP_GEQ(4294960000, 22704)
    = 4294960000 - 22704
    = 4294937296
    = 4294937296 >= 0 ?  → true! (not false)
This is a bug of course, but it would cause sockets in TCP_WAIT state to be reaped anytime tcp_gc() is called, regardless of whether 2*MSL has passed or not. This only happens though if tcp_now gets stuck after 4,294,937,296 ms from boot.

A bug similar to what the blog described can happen however if tcp_now gets stuck at least 30 seconds before it it would have wrapped. Since tcp_now is only updated if there is TCP traffic, this can happen if there is no TCP traffic for at least 30 seconds before before it would roll over (MAX_INT ms from boot).

It's should be easy to prevent the latter from happening with some TCP traffic, though reaping TCP_WAIT connections early isn't great either.

There does appear to be a bug, but it's not what the blog describes.

If tcp_now stops updating at <= 2^32 - 30000 milliseconds, then TSTMP_GEQ(tcp_now, timer) will always fail since timer is tcp_now + 30000 which won't wrap.

This does look like it is possible since calculate_tcp_clock() which updates tcp_now only runs when there's TCP traffic. So if at 49 days uptime you halted all TCP traffic and waited about a day, tcp_now would be stuck at the value before you halted TCP traffic.

In cases where tcp_now gets stuck at > 2^32 - 30000, it looks like TCP sockets in the TIME_WAIT will end up being closed immediately instead of waiting 30 seconds, which isn't great either.

According to the post:

$ netstat -an | grep -c TIME_WAIT

If the count it returns keeps growing, you're seeing a slow leak. At some point, new connections will start failing. How soon depends entirely on how quickly your machine closes new connections.

Since a lot of client traffic involves the server closing connections instead, I imagine it could take a while.

It's unclear if it'll leak whenever your mac closes or only when it fails to get a (FIN, ACK) back from the peer so the TCP_WAIT garbage collector runs. If it's the latter, then it could take substantially longer, depending on connection quality.

This only works if the web page knows the random per-install id associated with an extension.

That can only happen if the extension itself leaks it to the web page and if that happens, scanning isn't necessary since it already leaked what it is to the webpage. It also doesn't tell you what extension it is, unless again, the extension leaks it to the webpage.

The attack on Chrome is far more useful for attackers as web pages can scan using the chrome store's extension ID instead.

The copyright office has indicated that AI generated elements lacking human contributions to the expression (rather than input) would still not be copyrightable even if some human authored elements are made to the expression as well.

Seems like it would be a nightmare to provide evidence of what parts of a half a million line codebase were written by humans if no one bothered to track it.

Given trade secrets can't be enforced once they are made public and contracts don't bind anyone who hasn't signed them, it's not a great substitute for copyright.

My guess is companies will simply pretend like generated code is copyrighted, file fraudulent DCMA notices if leaks happen and hope no one decides to challenge them in court.

Arm AGI CPU 4 months ago

There is a long history of people arguing that intelligence is actually the ability to predict accurately.

That page describes a few recent CS people in AI arguing intelligence is being able to predict accurately which is like carpenters declaring all problems can be solved with a hammer.

AI "reasoning" is human-like in the sense that it is similar to how humans communicate reasoning, but that's not how humans mentally reason.

The achievement is the speed the train can run at. Trains going over the old floating railway bridges that were part of the Milwaukee Road had to slow down dramatically to, iirc, 6 mph.

Of course those were first built in the 19th century.

Large sections of streets I look at on Google street view are blurred now which has started to seriously limit it's use for me.

Since anyone can request a building be blurred forever, I imagine it'll just get worse.

When it imposes a new government on countries (like Iraq) it chooses a parliamentary system.

I'd avoid reading too much into this. The US simply tries to avoid making too many major changes to the system of government and Iraq was familiar with a parliamentary system already.

The Empire of Japan was a parliamentary semi-constitutional monarchy. Today it is a parliamentary constitutional monarchy. That doesn't mean the US loves kings/emperors.

By contrast, the Dominican Republic stayed as a presidential system.