skysight-inc/HackerNews huggingface dataset:
>If you paid a fee for priority Uber that let you jump the queue it'd be closer to not a bribe.

Do you feel the same way about how offering a better price on craigslist gets you counterparties faster? eg. if the going price for a phone is $300, and you list at $250, you're going to get people messaging you sooner because you essentially "jumped the queue" for everyone who's looking to buy a phone.
> If Spotify isn't fair to them they should pull their catalog. I can't be an arbiter to every economic transaction I participate in.

To me this reads the same as "I can't be bothered to consider ethics for every economic transaction I participate in".

I'm not sure its possible to do it 100% of the time, but I try to constantly consider it.
Weird question, but let's give it a shot. Off the top of my head:

Standards, semantics, simplicity of implementation + time-to-implement, cost at runtime...

What's the impetus for re-implementing image maps with JS instead of just using the browser-native implementation?
Ah, thanks. I didn't know that Unix time is discontinuous over leap seconds! I had thought just the opposite. And now I understand some system failures I know about that occurred during leap seconds but which I've never understood.

I think to handle leap seconds, one must carry around both Unix timestamp and a "leap delta". The timestamp is needed to convert to calendar/clock representation and the "leap delta" is needed to compare two Unix timestamps for actual elapsed time.

What a headache!
How about Micro SD?
Points 1 and 2: you can get a plastic or metal store-branded token for free from a cashier. Or many of us carry our own token attached to your keychain. No coins needed.

Point 3: doesn’t make sense. The carts don’t have coins stored when they aren’t in use by a customer.
In Estonia you can just pick up a little plastic tag that fits in the coin slot from the store infodesk, it's actually really simple.
France Cuts EV Incentives for Wealthy Households
Get 10 different opinions and then have them actually implement them 10 different ways pick your favorite. Software development is already eye watering inefficient, getting people out of the way of each other at the cost of ten different implementations may just come out ahead.
SAF is a green washing scam. Sure the next airplane engine can use it because already most modern airplanes can use it but there is no actual good reason to do so
I can see why they did it. It causes far less support issues for everyone involved. Especially the kernel versions bit. The security argument is a decent mitigation against low-effort attacks.

They are probably making the assumption that Linux users who care are also more likely to be able to use alternatives to docker desktop.
> Solar and wind can't get us to a clean energy grid alone.

Yes, they also need storage. But no other energy sources would be needed.
Some countries are imposing extra fees on conventional aviation fuel. This is new - Air ticket prices to go up as Singapore mandates sustainable fuel for departing flights from 2026 [1].

[1] https://www.channelnewsasia.com/singapore/air-tickets-sustai...
> How do I explain what my prefered "level of abstraction" is and why it is superior to all the others?

That's my point: you shouldn't, because there isn't. Once you hit the Pareto front, there's no superior choice. There are just choices, each of which is better in different situations, and once taken, very expensive to back out of. The problem is being forced to make the choice in advance.

> How can I be convincing with a fuzzy and subjective term "visual noise"?

That's another part of the problem. Different choices may be better for different people. There's no one-size-fits-all here. Which is why, again, it's dumb that we have to make this choice once and for everyone (part of what I mean by "working on single-source-of-truth code").

The way I see it, to stop running in circles on the Pareto front, to move past to more powerful ways of dealing with complexity, we need to make things like "lots of small functions vs. few fat ones" or "exceptions vs. expected" to be subjective, personal, local preferences, not meaningfully different than your editor's color scheme, or syntax highlighting scheme; inlining needs to be as easy as code folding, etc.
What an absurd thing to say. You do realize that a single active main developer + a bunch of drive by contributors is the NORM for most open-source projects, right?
> Um. Can you give me an example to pad that out a bit?

Your example of using a render() function is already an example of this. You can parameterize render() to provide data to the template from the caller without utilizing untyped globals, and without having to clean the globals up after the template has rendered.

> Wait, you're only talking about the superglobals, right?

Yes. Globals are globals. PHP's super global distinction isn't really relevant to whether you are tainting the execution environment when you pass data to a script.

The point is, as I elaborate elsewhere, PHP is very awkward to use as a proper templating system.
I've never seen any page like that (I'm on Fedora)

> A bigger problem with it is that it unfocuses from the last used/selected tab to this newly added tab so that it's hard to find where I left off

Often Firefox remembers the last tab you were at when you do ctrl+w, not sure if it works for this though
The Future of Medicine Is Unfolding Before Us. Are We Nurturing It?
Hitchhiker's Guide to the Galaxy has you covered here, with sentient cows engineered to be ecstatic about the thought of being killed for meat.
Traps to avoid when you do another startup
https://archive.ph/2024.02.19-111020/https://www.nytimes.com...
> Haskell is closer to being a language that discourages/protects against side effects than one that allows them without regard for the complexity they introduce.

Haskell doesn't discourage side effects at all, it simply makes them declarative in the form of monads. All monads, whether they're the IO monad or not, are about handling side-effects and then being explicit about it wherever they're used.

So, if you use an IO monad in the middle of your pure function then that function becomes an IO function and it spreads out from there (like async/await in other languages). This encourages you to partition your effectful and non-effectful (pure) code. It doesn’t discourage effectful code.

When he talks - about having more control/safety - this is how Haskell deals with it: by being declarative, not by discouraging or shying away from side-effects.

This whole thread gives the impression that Haskell doesn't want to have any impact on the world around it, which just isn't the case. The fact the `main` function is an IO operation kinda proves that.

SPJs comments are clearly tongue in cheek and self-deprecating in the extreme.
I used to work there, and can confirm that there’s plenty of space there for more parking lot, there’s woods in all 4 directions and it sits on an old super fund site (former rocket fuel testing).
> The problem, it turns out, was a section of the law that allowed grocery stores and large retailers to provide thicker, heavier-weight plastic bags to customers for the price of a dime.
Bag bans are one of the most perfect examples of how American environmentalists focus on all the wrong things and miss the forrest for the trees. The plastic bag in the grocery store contains multiple products packaged in 100x more volume of plastic than the plastic bag. It also contains a bunch of single serving aluminum cans. Banning plastic bags moves the needle the least and greatly annoys customers. It would be far better to promote banning of single serving aluminum cans for drinks and plastic/styrofoam packaging for goods within the store.
We’ve implemented a single file code reading/refactor step of our interview processes and it has been very effective.

I think you could have great success with this, good luck!
Do you actually know how to run a business? Saying it's all about courage and other such nonsense suggests not. Maybe get a safe job and study business/get an MBA?
Can you elaborate a bit more on this? I hear that you think it is scary and there are undertones that you think it is unreasonable. But sure, you must have some proper arguments to support why you think it is scary?
It's a power law. The middle class also grew, less substantially. 86% of the world's population are wealthy enough to afford to own a smart phone. To me, that's pretty amazing.
This is really fun, wonder how many different dominos you could introduce and still be able to generate puzzles with a single solution
Like this guy https://en.wikipedia.org/wiki/Mike_the_Headless_Chicken
In the UK we brought in a similar law and the shops were allowed to charge (if I remember correctly) 5p for the thin bags that were previously used or 10p for a stronger one. It wasn't long before they mostly phased out the thin bags and started raising the cost of the stronger bags, I think they're maybe around 50p now. They've also mostly moved back to bag-less delivery (if you get delivery). Anecdotally looking around the shop when I visit, most people are using the much stronger "bag for life" bags which costs (again I'm half guessing) a few pounds and are reused from one shopping trip to the next.
And Inferno as well.
How long do CDs and DVDs last, anyway?
In addition to the point of this not being to make money, more than half of this is loans, so is intended to be paid back. 1.5B is grants, so closer to $1M per manufacturing job in your framing.

The other economic benefit is moving one part of the supply chain here may enable more of the supply chain to be completed here. For some of the hardware companies I work with, if you have to make a few parts in China, it's vastly cheaper and more flexible to do the whole assembly there.
Why would you? For most forward-looking calculations, the uncertainty of the future completely swamps any cent-rounding.

Even for plain-vanilla bond price calculations, floats are the right tool for the job. Say you have a bond that pays $5 every year for 10 years, then $100. What's that worth today?

Well, you have a forecast yield curve of interest rates. Say it's quoted as continuously compounded rates, so then you get something like price = sum_{t=1..10}($5*exp(-r(t)*t)) + $100*exp(-r(10)*10).

But wait, say you actually have 1000 different potential paths of interest rates, and you want to average over all of them.

Oh, and there's a 1% chance of default every year.

Oh, and actually these are mortgages, so there's a path-dependent chance of them refinancing every year, if the rates get low enough.

And then there's an overall economic forecast, so if you have a bunch of mortgages, there's a bigger chance they'll all default at the same time.

And so on. Rounding the cents isn't really worth the worry, once you're putting noisy forecasts through `exp` (or worse special functions).

This applies for vanilla bond valuation, any option, any future. More so if you want risk measures (what if rates go up 0.10%? volatility increases?), and so on.

Floats work just fine for this.
TBF ChatGPT is more alive and has more soul than some humans I've met.
A simple first order explanation is that Turkey is still a fairly poor country.
I think "all clicks are click fraud" comes pretty close to the truth.

I have a love-hate relationship with this site

https://www.anandtech.com/

which runs some great articles but also runs a stupid roundup on large HDDs every month where they don't do any research but scrape prices from AMZN.

The thing is when I am visiting that site on mobile the content is always jiggling around, I think it is no accident because it means you want to click on a link but ka-ching you clicked on an ad.
This is likely related? https://www.macrumors.com/2024/02/10/apple-watch-series-9-ul...

Edit: A hardware issue that appears like a remote take over?
On the other hand, e.g. Descartes believed that animals were incapable of feeling pain (or anything at all) ― whatever signs of distress or anxiety they were showing were purely mechanistic phenomenons, with no innate state required for actual suffering behind those purely outward reactions.

Well, that was back when animal physiology was only started being researched in the earnest; we today, on the other hand, have pretty comprehensive understanding of AI and cognitive processes overall so it's almost impossible for us to discover anything that'd require us to conclude that machines could, in fact, suffer just as humans ― how could they, if their computational substrate is so different from the humans'?
You don’t have to have ‘bad math skills’ to do things like that; I think even many beginning mathematics students fall into the trap of rushing to answer a given question before they’ve fully contemplated it.

It’s sort of where gradient descent goes wrong. You repeatedly move your solution in direction that makes it slightly better, until eventually it gets to where you want. But if you’d taken a moment to calm down and survey the landscape properly before making your initial move you wouldn’t have got stuck in a local minimum (or a weird, but valid, solution like this one).
I can understand why someone would make a different design decision, and I would probably agree with their rationale to prefer 'connected' tabs.

But no, I don't have a problem with Firefox's tab style. It's immedaitely learnable. I've never once second guessed which was the active tab or what those things up there are.
AI Grant Challenges
Do some people have a better sense of direction?
SoftBank CEO's Plan for $100B Chip Project
Knee-jerk "AI obviously can't suffer or be conscious and if you believe otherwise that's ridiculous" comments:

https://news.ycombinator.com/item?id=39429373

https://news.ycombinator.com/item?id=39429728

https://news.ycombinator.com/item?id=39429748

https://news.ycombinator.com/item?id=39429690

https://news.ycombinator.com/item?id=39429522

https://news.ycombinator.com/item?id=39429560

https://news.ycombinator.com/item?id=39429206

https://news.ycombinator.com/item?id=39429796

https://news.ycombinator.com/item?id=39429400

https://news.ycombinator.com/item?id=39429798

Knee-jerk "AI obviously can suffer or be conscious and if you believe otherwise that's ridiculous" comments:

https://news.ycombinator.com/item?id=39429723

https://news.ycombinator.com/item?id=39429790

https://news.ycombinator.com/item?id=39429598

https://news.ycombinator.com/item?id=39429284

https://news.ycombinator.com/item?id=39429707

Well-thought out comments stating an interesting position without smugness or derision and with empathy for the opposite point of view:

[crickets]

I wonder if a better quality of discourse is possible around this theme.

Edit: the link has even been downranked by the flamewar detector!
Of course you could, but it doesn't mean you always should. Typescript doesn't have a kitchen sink framework like Django or Rails.
The growing peril of national conservatism
Also, people are saying "artist will keep being artists, they will just use a different tool", but IMO this doesn't take into account that prompt engineering is a completely different activity than actually drawing something. Sure, a pencil on paper artist can adapt and use a stylus to keep up with modern trends if they have to; most of their ability with drawing is kept. But describing a scene a thousand times with minor variations until you get what you want... That's a whole new job.
Jetbrains tools (Datagrip, IntelliJ IDEA, PyCharm) deal well with this if you leave a placeholder column before FROM, and write the FROM part with proper joins. You can go back to the columns and autocomplete goes just fine. You can amend our extended any part and the autocomplete logic adapts well.
Well, sure, but whether an artist gets the full amount or a pittance from their label is not relevant to the question of whether Spotify's pooled numbers are unfair to some artists. The ultimate payout is not something Spotify has a say in.
State of Venture Investments in India
I mean Aldi stores across the US have this system and they seem to be expanding not folding, I'm not sure you can pin this store issues to that specific point.

Plus once it's a generalized system and all carts require coins, it's not like you have the choice anymore.
And Star Wars is more entertaining than my life, it doesn't make it a real story, if anything it's a testament to how alienating modern life became
On balance, it's probably a great feature of humanity that we always have some contrarians around.
It’s a nice puzzle, but because the two dominoes only have one fixed orientation some of the puzzles end up being a little too easy as the blocked spaces strongly limit the possible tilings. I think I did at least one without having to look at the row and column counts.

If you’re trying to make this a daily thing then I think I understand that decision on difficulty, and I may have played too many games of magnets in Simon Tatham’s puzzle collection so I may not be your target market. :-)
Why do you doubt they'll accomplish their goal of removing dependency on foreign chip makers?
I like VB's idiosyncrasies for other reasons, but here my point is different. This is not about making choices at runtime, but about making them in your IDE, for yourself. It's about the lens you view your code through. Hiding or emphasizing error handling should be a visual operation, with no impact on semantics - just like e.g. folding or unfolding blocks of code in your editor.
Words can be read as single hieroglyphs, basically, it is matter of experience.
Deeply fascinated by “The world is facing a global pandemic that has caused a global pandemic. It is important to be honest and honest in the world we face. It is important to be honest and honest in the world we face. It is important to be honest and honest in the world we face.”
Open-source AI in a commercial robot to clean your room
In retrospect, it was a battle that didn't matter. There were no profits to be had on either side - mining is best done mostly by machines, and will always be undercut by places with cheap labour and lax environmental regulations. The UK would never be able to compete. And besides, by the 80's it was already becoming clear that coal wasn't the future.
This is where fun protests like https://www.bbc.co.uk/news/uk-england-bristol-43559636 and https://www.youtube.com/watch?v=eWz_p445Oh0 help. I've noticed a more concerted effort by supermarkets to reduce plastic in their packaging (it's still a lot though) and to provide "soft plastic" recycling (at their expense).
If I had to guess why they might not let you customize it

- the people who make the software don't know or don't care about the other way you want it

- it adds a bit more complexity / sometimes code debt to let that thing be customized

- the design might be a specific way that they don't want to change
However terrible this may sound, and however misplaced, there is a newfound sense of national pride.

In the 90s and 00s Russians felt like they were behind the West and wanted to emulate western culture. A common sentiment was "sadly it'll take ages for this country to become civilized like Europe". Another symptomatic figure of speech: "evroremont" - "Euro remodeling". The implication was there's backwards Soviet style and modern amazing European style.

Now the most popular fancy restaurants offer "ethnic Russian" cuisine. Product packaging uses fonts that ape old Church Slavonic. Everything good is described as "traditionally Russian". Some of these trends were already underway in the late 2010s, but have now kicked into overdrive.

The masses feel like the West has lied to Russia and would like to destroy Russia rather than accept it as a partner. This sense of impending doom has motivated everyone to work harder. I can't offer proof of this other than: you feel this vibe when you are there.
It is ironically because of his surveillance that Truman Burbank is able to "break the Sixth Wall". The distant observer must also have the capacity to discern what is being seen. A type of pride before the fall - to disperse priority directives according to information gathered from the "correct" side of a two-way mirror.
Grid-Scale, Predictive Maintenance Can Be Done Better
How was I made to be an introvert?
When I was a child, I was always told it is dangerous outside and not to eat anything given by strangers. One day I was with my dad and met a friend of his. My dad's friend, whom I had never seen, handed me a piece of freshly peeled watermelon and it looked delicious. I wanted to eat it badly. But I realized they were staring at me, so I dared not to eat the watermelon. My dad said to his friend, "My son is introverted. He's very shy". It was the first time that I remembered I was labeled to be introverted. From then on, I also believed that I was introverted.

There were some more events that shaped me. I dare not to speak or do anything unusual in front of my parents' relatives, because I was afraid of causing their attention and they may laugh at me. That was not my illusion, I knew they would tease me. It was not because they had any malicious intent, they were just used to that kind of behaviour. Children in China won't get as much respect as adults and it is considered okay for an adult to offend a child in front of his/her parents.

When I grew up to be a teenager, I found myself popular as I was good at both sports and study. I started to gain confidence and began to be extroverted. I was always the kid followed by a bunch of others, and I liked that. When I was extroverted, I tend to be willing to take more responsibilities, showing concern for others, being optimistic. In the opposite, I tend to take less responsibilities, easily become anxious and always worried about the future.

But that didn't last long, as my friend and I had to face the preassure of china's high school and college entrance exam, we were expected to suppress our individualities to devote most of our time to studying. At every stage of my life, I had to follow rules set by different authorities – my parents, teachers, bosses at work, and the government.

I had MBTI personality tests several times at different ages, sometimes I was ESFJ (E stands for extrovert) but in most cases I was INTP (I stands for introvert). I love being extroverted but I can't just switch to be one. I am 29 years old now, and I'm feeling my personality is solidifying. Possibly I will remain an introvert if I stay in the same social environment as I do now. Yet I would be happy to take a chance and attempt to become an extrovert again.
A business is someone. And KYC should just be the government providing an identify verification API so that in the event there is a problem, the government knows who to go after.

Government leaders just want to be able to point fingers at as many people as possible with KYC laws (which do more than just require the business to verify who they are doing business with).

A business should know who they are transacting with, but a business should not be vetting them for illegal activities. That is a job for courts. Businesses can even be required to report who buys what and how much (for example, bulk supplies to make methamphetimine or explosives), but the business should not be using nebulous heuristics such as credit score or income or other non illegal things to figure out who may or may not be a criminal.

Last example, the US government should require online marketplaces to know who they are doing business with, and it should be someone within US jurisdiction. The US government should also provide the online marketplaces with an identity verification API to do this. So when a product sold on Amazon causes a problem, it should be easily possible for the government to charge the seller with a crime, and dole out an appropriate punishment.