Hacker Newsnew | past | comments | ask | show | jobs | submit | azangru's commentslogin

> AI has the potential to significantly improve many aspects of society.

...as well as the potential to significantly worsen many aspects of society


I am puzzled by this sentence, which combines nationality, psychosis, and intelligence into one. What if the parent commenter is Vietnamese? Or Hungarian? Or Turkish? Will this fall into the "or" clause?

> weaponized robots roaming the streets to ensure everyone is "at work" and not "at leisure activities"

But I thought everyone was going to lose their jobs...


No, you see, if you lose your job you are poor. And in America, the poor don't deserve leisure. And any work they do has to be as punishing as possible, no matter how little effect that cruelty has on the bottom line

If there's no work to do, we can always invent more work. We just have to figure out who pays for it. Enjoying life is for those "communist" Europeans /s


A totally unrelated comment; but — there is an animation on that page that moves practically everything on the page about 20 pixels down over the course of 1 second.

I thought that would completely trash the Cumulative Layout Shift core web vital. Because, hey! the layout is shifting in front of my very eyes. But no, the CLS on the page is 0.

Is CLS a misleading metric then?


It's happening as a result of a deliberate animation. The CLS metric relates to initial render. So yes, there is layout shift, but it's not CLS per se.

> The CLS metric relates to initial render.

The CLS measures the total sum of layout shifts over the entire lifespan of a page, not just during initial render.


The layout isn't shifting, so it's not a layout shift.

And it's not unexpected, because it comes from a css transition.


Sure.

It's just that the spirit of Google's core web vitals has been to measure the properties of a web page that have the most impact on users. How quickly content appears on a page, how visually stable the content is, and how long it takes the page to respond to an interaction.

In the case of this page, I don't think it can be considered visually stable at all in the first second after it's loaded.

And yet, core web vitals cannot demonstrate this.


> Axios, like Express, is something I'm shocked to see used in any modern codebase

I am totally with you on axios; but why is express shocking, and what do you expect to see in its place? Fastify? Hono? Node:http?


Text is still hard

screenshot: https://images2.imgbox.com/ff/84/j2FCxyrD_o.png - top right callout


> the intermediate objects are still created

Yeah; this is what the new iterator methods were intended to solve

https://x.com/MozDevNet/status/2029527411424219254


Basically?

  // This type of usage creates intermediates
  array.map().filter()
  // But these would not?
  array.values().map().filter().toArray()
  array.values().reduce()

unfortunately iterators have their own set of overheads and it's not clear that these new methods are any faster for most use cases.

> 1. will this work (will the UK stop smoking)

What mechanisms do you foresee for it to fail? If stores stop selling cigarettes, the UK will have no other choice but to stop smoking them. I wonder what will come to replace them though. People have a peculiar tendency of forming addictive habits.

Regarding question 2, personally, I am uncomfortable with the idea of a nanny state.


Prohibition did fail and US had to revert ban on alcohol.

The rules are made by politicians.

All it takes to change the rules is to rotate politicians.

Or enough public dissent that the same politicians are forced to revert the rules.


A smoking ban could easily be enforced by allowing anyone bothered by secondhand smoke to report it.

Is weed legal in the UK? Do people still smoke it?

This might play right into the hands of bootleggers and gangs but also into the Swedish / American nicotine pouch industry which is basically marketing straight at kids.

Also - vapes. Most folks don’t smoke cigarettes anymore. How does this control vaping?


There is a big difference between weed and tobacco.

I am a fairly regular weed smoker. I used to grow my own. I used to smoke tobacco. I can go weeks, months and even years without smoking weed. Kicking my nicotine habit took many, many, many tries and I didn't even enjoy it! They are not the same.


That's a different in the harm, not a difference in the effectiveness of prohibition. In fact, the more addictive the substance, the less effective I would expected prohibition to be (and the more ancillary harms to result, especially from criminalisation).

That's exactly what this is. The money has moved on to pouches and vapes.

It's like how everyone pat themselves on the back for banning child labor after the industrial revolution had rendered it obsolete outside a few niches that weren't economically important enough to put up a real fight.

Politicians "win" by pandering to voters and interests. So this is an obvious move since they can pander to all those people who grew up being told a cigarette takes a minute off your life while only pissing off some niche industry and a few smokers who are unwilling to vape.


Right, because it totally worked with drugs. People just don't use them anymore. Weed is impossible to come by nowadays.

What does it mean for Palantir to want to reinstate the draft? And why is this newsworthy?


The movements and announcements of large tech companies tend to be newsworthy, whether it's "we made a new iPhone", "our new model is so good it's dangerous!" or "we should have a draft to support new American imperialism"


I understand why your first two examples would be newsworthy – they are 1) about technical products that 2) are produced by the company that is making the announcement. But what does Palantir have to do with the draft? Isn't this comment on the same level as, I dunno, Elon Musk tweeting that families should have at least 3 kids?


> Agile is a set of four principles

Twelve :-) Twelve principles and four values


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: