skysight-inc/HackerNews huggingface dataset:
> People using Ada, Pascal (Delphi), JavaScript, or functional languages should also declare types and functions as locally as possible.

My own personal approach in JavaScript is to avoid defining functions in a nested manner unless I explicitly want to capture a value from the enclosing scope.

This is probably due to an outdated mental model I had where it was shown in performance profiling that a function would be redefined every time the enclosing function was called. I doubt this is how any reasonable modern JavaScript interpreter works although I haven't kept up. Since the introduction of arrow functions (a long time ago now in relative terms) their prolific use has probably lead to deep optimizations that render this old mental model completely useless.

But old habits dies hard I guess and now I keep any named function that does not capture local variables at a file/module scope.

A lot of the other notes are interesting and very nit-picky in the "technically correct is the best kind of correct" way that older engineers eat up. I feel the general tone of carefulness that the NASA rules is trying to communicate to be very good and I would support most of them in the context that they are enforced.
Do you mean the leading producer of unbelievable stupidity?
Economics is a fundamental force that underlies almost everything.
I want people like you unleashing AI on my site then
Most industries don't make billions of dollars betting on the demise of other industries and also not giving anything back to society.

Traders, private equity, hedge funds fall in this bucket.
This math makes sense, but it might not not always be so simple.

For example, maybe these probabilities might not always be the same as this in all circumstances. Also, how much risk you might take also might depend on the current score and remaining time (e.g. maybe you are likely to win even with only one more point than your current score, or maybe it depends how much time it takes to make a specific shot (I don't actually know enough about basketball to know if this is relevant)), and on how your opponent can defend against it at a specific situation (and if their defense would allow them to score instead; I don't actually know how much that is relevant either), maybe. There are probably other considerations as well.

(I do not actually know all of the rules or strategy of basketball, so if I am wrong, you can mention what mistake I made.)
If a door opens to a narrow hallway, it may be possible to put the couch upright (making an L shaped footprint viewed from above) and then work it through the doorway into the hall. If it's a really narrow hallway, you may have to continue like that.
> This does NOT even include the environmental impact of battery production and electricity generation

Okay so if we're veering off particulates here anyway, why ignore that electricity generation is actually a whole lot cleaner than burning contemporary fuels?

Maybe better not to rehash the obvious, I just wanted to point out that there's more to it than downsides
> I'm pretty sure the original commentor is not dumb enough

That's a pretty big leap of faith, knowing myself. I would say the ratio of people who have decided "Musk is great / Musk is the devil" vs "He's a human being therefore he's not all good or bad and should be analyzed with nuance" is about 100:1 at least preselecting for the personalities that can't keep themselves from populating a comment box, which apparently includes myself.
What’s wrong with using the metric system?
i think many understand the scheme, but think they are clever enough to profit from the scheme or see it as acceptable way of gambling
I think we need some new terminology or concepts. Personally I'd like a happiness or customer satisfaction focussed policy, not in a deep philosophical way but like asking on a scale of 1 to 5 how do you rate Texas's energy policy, how do you rate California's and similar. Then try to do the best one. It has the advantage that it's sensible to optimise the numbers and try to get 4.5+ on everything whereas with right-left politics there's nothing very sensible to optimize.

Actually maybe I should build something - like a ratings site.
this is correct. the main advantage of a VAT is incentive alignment. every intermediary producer must collect and remit VAT if they want to claim their VAT refunds for inputs. i.e., a seller of a good in Europe must collect VAT if they want to claim a VAT refund on whatever they paid for the good.

compare to American sales taxes, where sellers have no economic incentive to collect sales taxes beyond the probability of being caught and fined.
Do many DS use Google Colab and click the GPU option? That made me think GPUs would be more popular (due to speed).

Also GPUs may be used when productionizing work done by DS but maybe I am in a tiny niche here of (Data Science) intersection (Scale up) minus (Deep learning LLM etc.)
I can tell you don’t own a BEV.

The range is a non issue 99% of the time when you’re driving around in your city. Charging at home is both cheap and super convenient.

Maintenance is cheaper, the car lasts longer.

I don’t know a single person who buys a BEV and goes back. I know many who go the other direction.

And as adoption rises and technology improves the case will get stronger and stronger.
"boot the grime of this world in the crotch, dear!"
My bad, yes I didn't declare it:

listen[::]443 ssl http2;

thank you.
Rather than accepting non-determinism, this could also entail that the existence of non-deterministic classical solutions implies that such configurations don't actually exist, eg. you can't construct Norton's Dome. It turns out that that's correct, and the same with the space invader example, eg. no such thing as unbounded acceleration.
Mathematica (in Python via WASM in Jupyter) in the Browser?
It should also be added that in most EU countries, essentials like food have a lower VAT rate than luxury goods, specifically as an attempt to address this.
This is such a common misconception that even business owners get wrong. No, it doesn't even out for the business, because they sell their products with a profit and thus pay more in VAT than they get back. You only get more back if you're selling for cheaper than it costs you to make it, meaning you're out of business pretty quick.

Edit: Congratulations to the people who are down voting very basic mathematics.
Why is parent's advice ironic? I, like probably most people, would have more time for relationships I value now if I had followed their advice. Your first sentence reads as if their advice was "earn money at the expense of relationships and well-being" and that isn't the case at all.
The notion of a correct spelling is a relatively new innovation. I can't come up with a defense even for a conventional spelling that doesn't lean on "people will try to shame you for it," and that doesn't seem like a great reason to do things that add cognitive load for no real benefit.
Conspiracy to me but it seems like coordinated flagging.

I've noticed on a local US subreddit any political action or protest is immediately swarmed by people criticizing it or calling it useless. The comments might end up down voted but the level of engagement far exceeds a typical thread.

Then looking through their comment history they're doing it across many other city subreddit. No trend of them being an active participant in any one location.
The thing that endlessly confuses me about these products is what the consumers get out of them.

I should be the exact target demographic for it, I'm in my late 30s, never been in a relationship as I grew up as a hikikomori between ~13 and 20.

As I never learned how to interact with people, I've never really had the opportunity to build real relationships and am now gainfully employed in home office, leaving my apartment roughly once per week for groceries.

And yet... What's the point of such a chat bot? I cannot make memories with them, can I? Any memories will keep vanishing as soon as they're out of the current context - so how do people connect with them beyond super casually like with total strangers on the Internet (like online games, anon forums etc)... I just cannot understand what's the appeal for such a transient chat bot.
It's possible that the Dems will get a backbone and shut down the government in March when the budget needs renewing. That's why I think the rush is on.
Honestly, I really can't stand speedrunning because it is so focused on glitches most of the time. No glitch categories exist, but are by far in the minority. I don't find it interesting to watch people exploit programming bugs, I want to watch people play the game as intended at a high level of skill.
completely the opposite

because of the structure of soccer (completely different to basketball, it is an invasion sport but statistically very dissimilar), it has completely reversed the ordering of the sport

there is significantly more strategic diversity, and teams that were unable to compete ten years ago are now able to compete effectively with wealthier teams (there is no catchup mechanic in soccer unlike US sports, ffp rules have also played a role but in the EPL at least the primary factor has been smaller teams using their budget more effectively)

the most recent changes have been: premium for coaches (distinct from managers) has increased significantly and a greater focus on set pieces (but this is going back to the future, twenty years ago EPL had a period where teams did this to level the field...today, they are doing this and it appears to be permanent).

it is also worth adding, i would say the majority of clubs that have tried a naive statistical approach have failed. Liverpool tried and are leading but are completely reliant on one player, Arsenal are doing better but reliant on set plays and their recruitment has been poor (they have had a stats team for over ten years at this point), the teams that have done well with stats (Brighton and Brentford) have a hybrid approach (and Brighton is further down the road with this, and have done significantly better...they use non-public resources far better, integrated with sport science, etc.)

if stats in soccer is a 90-minute game, we are still at minute 5
I always assumed EVs use regenerative braking as much as possible on their own.
There are two important things about wololo. One they did the jailbreak to PSP. And they made https://github.com/WagicProject/wagic (the best open source alternative to Magic the Gathering).
So it's simple but hard?
It isn't paid once, otherwise you would not need credits.
Things may be seen in many ways.

I see it as, "Destroyed an engineering safety culture."
> the domestic EU producers are paying VAT at each stage of their production process.

As long as I know, VAT should be payed only once for a finished product when sold to the very end customer.
If I block you, then my client will prevent me from seeing your records.

There's nothing at the protocol level that prevents you from seeing my records, even when blocked, because all records are public. Anyone (even without an account) can see everyone else's records.

Well behaved clients are guided not to show posts to a blocked user, but this is a developer norm to enhance user experience all around -- seeing posts from someone who blocked you generally doesn't do anyone any good. But the protocol fully lets you build a client that shows you exactly who has blocked you and what they're posting.
Is Stephen Miller really that stupid, or does he have an agenda to gut American business? One really has to wonder if he's actually a spy from an adversarial nation.
That's the older syntax. What version of NGinx are you on? Only curious because there have been a few bug fixes.

nginx -v
A Visit to Dog College
egads. stephen miller is another festering embarrassment to the country.
Dentists were handing opioid prescriptions out like candy to teenagers getting their wisdom teeth out. How many of those kids were previously on heroin and were picking dentists who would hook them up?

It's a massively common procedure and defaulting to "here's some addictive painkillers just in case you want them" was an insane thing to do, even if only 1% of cases turn out badly.
Sure seems that way.
The real problem is the players don’t give a sh*t about the fans any more. You need no better example of that than the All star game tomorrow. In the 90’s it was an amazing, competitive game between the best players in the league. Now…the players can’t even be bothered to jog up and down the court. Load management: players claim their bodies are delicate and can’t play too many games. Why would I want to buy tickets to a game or watch on TV if there’s a good chance the stars aren’t even playing. Guys the 90’s played every game. Players now sign a 5 year contract and the next day ask for a trade. Look at Kevin Durant - great player, but has forced his way out of 3 teams and it’s about to be a 4th. Too much guaranteed money means too little incentive.
If the players don’t care about us, why should we care about them?
It clearly does not result in chaos. This is an "I believe my lying eyes" situation, where I can just see that I can get an agent-y LLM codegen setup to generate a sane-looking working app in a language I'm not fluent in.

The thing everyone thinks about with LLM codegen is hallucination. The biggest problem for LLMs with hallucination is that there are no guardrails; it can just say whatever. But an execution environment provides a ground truth: code works or it doesn't, a handler path generates an exception or it doesn't, a lint rule either compiles and generates workable output or it doesn't.
This is true. I had a hard time concentrating on my PhD research during the 45 presidency.
When I worked as a mechanic I had to chisel this stuff out of my nostrils each night.
I have delivered value, but at what cost?

https://youtu.be/DYvhC_RdIwQ
This is going to be used as the basis of the tariff. It doesn’t matter if the Trump administration is correct. Take it from a fentanyl-slinging Canadian - they’re either dumb or grasping for straws / full of shit.

They are telling you tariffs are coming and they have identified the scapegoat to communicate to their voter base.

That’s all you need to know. I’m honestly not sure why anyone is bothering discussing it since it’s a waste of time.

If you are debating it, it means you are already behind the curve of understanding of where it’s going.
Texas has always been ruled by the extractive industries, so property taxes essentially make taxation a non-issue for the people who own those industries, as their property is owned by corporations that have a variety of hocus hocus to offset tax liability. Property, sales and excise taxes are regressive and penalize poor folks. They are great for rich people.

In a place like New York, Massachusetts, or California, you have alot of intellectual property driving the economy, so you need to tax income. New York's discretionary budget is essentially derived from income taxes on a few thousand people. New York/Mass vs. California shows why each thing is important -- NY and Mass are leaders for K-12, California is ranked like 35-40 among states.

Local control of property taxes mean that the former can fund education effectively, which they do outside of the hood. California schools are stuck with trying to extract dollars from the state legislature, as the boomers effectively pay no property tax.
Only because the coal power plant doesn’t have to pay for the negative externalities.
motivated reasoning is the main problem.
Search is far from useless. The demise of search is, IMO greatly overstated. Sure, Google is bad these days, but there are more options these days
The sad thing is there probably is a toaster out there somewhere with 512MB of RAM.
If you distill every metric in your life and put it in a Tableau dashboard, the load time would be so long that you could achieve immortality
It's more like a commentary
It will eventually be possible to compress everything inside an org down with AI until almost nothing remains that’s not automated - but the boundaries of an org (where it deals with customers, vendors etc.) require accountability and that requires humans.

You can avoid your job being eaten by AI by moving toward roles where you talk to people, understand their problems, and perform the work of translating that into solutions.

There will also always be an orchestration role no matter how much automation is thrown at a problem.
- Who debugs that AI code?
- OK, say it’s an AI. Now who fixes the auto-debugger when it breaks?
- Who makes decisions about rebuilds and migrations and big platform shifts?
- Sure maybe that decision is informed by advice from AIs but someone with accountability has to make the call before the wheels are put in motion for the rebuild or migration or whatever.

Both are durable targets for your career.
That's the strategy of startups like Terraform [0][1] which use green energy production to synthesize carbon fuels using direct air capture, which are on track to be cheaper than fossil fuels without subsidies within the next few years (e.g., definitely this decade). This will both displace more expensive fossil fuels from the market while letting us leverage existing carbon fuel infrastructure.

The profit motive creates a self-sustaining cycle of rapid expansion and iteration, which should drastically increase the efficiency per unit as well as the horizontal scale of DAC so that eventually we'll have exponentially more DAC installed and then you can decide what to do with all the excess carbon, sequestering it in whatever ways make sense.

[0] https://terraformindustries.wordpress.com/2023/01/09/terrafo...

[1] https://terraformindustries.wordpress.com/2024/02/06/terrafo...
Really seems like they just looked for specific words without actually reading the text. So many of these are just big misrepresentations and are funding things they themselves support.

US Politics is just theater and a reflection of our obsession with Reality TV & drama
I believe buster benson did it first

https://busterbenson.com/life-in-weeks
Why can't we have both?

Until we do convince uncle Jack and his friends to stop voting for things against humanity, at least those things could be made less harmful
A lot of "Fractal of Bad Design" was more applicable when it was written in 2012. PHP has moved on since; there's a lot more emphasis on using OOP frameworks / libraries now. Particularly through Composer, which had only been released for a month when the essay was written (and, as such, which almost nobody was using yet).
It will be the same, you were right.
I believe Mr Milei got his lion's share and so he is going to let it slide.
That's totally true, but it's also a small amount of Python code in the agent scaffolding to ensure that it bails on those kinds of loops. Meanwhile, for something like Semgrep, the status quo ante was essentially no Semgrep rules getting written at all (I believe the modal Semgrep user just subscribes to existing rule repositories). If a closed-loop LLM setup can successfully generate Semgrep rules for bug patterns even 5% of the time, that is a material win, and a win that comes at very little cost.
Businesses don't "pay" VAT, they collect and remit VAT on behalf of the tax authority. A business (supplier) that doesn't sell to end consumers pays no VAT, even though they collect a lot and reclaim a lot. It fully nets out.
Being a different medium does in fact make it much better for wasting time. Skipping a paragraph in a book takes 100 milliseconds. Referring back to a previous paragraph to understand a seeming contradiction does too. Pausing a book requires no effort, and no effort to return to the place where you were. Books can be excerpted and quoted, not just in other books, but also in conversation or in videos, in a way that videos just can't. (Talking-head filler scripts can be quoted that way, but the video can only be quoted in video or still images.) Errata sheets, errata websites, and later editions of books can correct errors in earlier editions. Books are much smaller and therefore easier to archive than videos, making them less likely to get lost.

Neil Postman's Amusing Ourselves To Death is an extended and very persuasive reflection on precisely this difference in the tendencies of these two media, although particularly attuned to the form of video that was popular at the time, TV, which had commercials and didn't even have pause and rewind.
yes, just like everyone does lol. people only bring up e-waste when they’ve run out of real points to make.

The save-the-environment ship has sailed. It’s not even a point worth engaging with. You really think that if every kindle ever made would magically last forever that the environment still wouldn’t be fucked beyond belief?
Great. I'll avoid jobs whose exclusive responsibilities involve predicting the next token given n previous input tokens.
And as we all know, when a government can cut income tax, they do.
Someone has yet to discover how offshoring works in practice.

This is only one step further.

Management not only doesn't care, they welcome the employee doing their Ali Express purchase, while saving their own operational costs.
On K, everything is interesting.

In seriousness, he doesn't give a flying eff about government functions. He is no different from any optimizing operator, doing only the absolute minimum to get whatever he perceives to be important done. It doesn't matter what anyone else thinks is important. Like other operators he also doesn't know anything. He can identify people who do know things and then he socratic method interrogates them to get to the absolute minimum of what he considers requirements to be.

This is not the function of government- which is a platform, not a business- and his actions are net destructive, not in service of efficiency or transparency or any other bs.
Consider Melbourne if you prefer Northern CA climate and, well, other differences.
The same exact reason that accelerating quickly causes far more tire wear than accelerating slowly, only in reverse. By applying more torque to brake/accelerate, you cause more lateral force on the tires (think, smearing the rubber itself) which is what causes tire wear. With more force the rubber is stretched further, which fatigues it and breaks off pieces of it over time.
Renewables like wind and solar don’t provide baseload and therefore cannot replace conventional power plants.

I wish people stopped comparing apples and oranges here.
When analyzing non-computing problems through a computer science lens, the human element merely muddies the path to a concrete answer. It’s best to avoid that ambiguity and complexity.
No idea but at least he knows where to find the doctors who are overprescribing and knows how to talk to them right?
Related:

Did Semgrep Just Get a Lot More Interesting? (165 points, 21 hours ago, 72 comments) https://news.ycombinator.com/item?id=43054673

Opengrep – an Open Source fork of Semgrep (12+13 points, 23 days ago, 6+3 comments) https://news.ycombinator.com/item?id=42804634 https://news.ycombinator.com/item?id=42804916

Semgrep Updates OSS Licensing (2 points, 1 month ago) https://news.ycombinator.com/item?id=42708884
Which really shouldn't be surprising: if a business is not adding value, it's not a viable business. But if a business is adding value on net, it should indeed owe tax charged on net value added.
But I do feel we as society participants should not be bkinkered from recognizing social-scale pathologies in the atomic units that form our society. Those atomic units are individuals - their decisions, actions, and yes their career-paths.
VAT on b2b sales even within an European country are usually not that important.

You add VAT to things you sell (e.g. car repair services), you pay VAT on things you buy (e.g. car parts). If you collected more VAT on sales than you paid on purchases, you owe that to the tax department.

It's a bit of book-keeping but doesn't affect your profits directly.