skysight-inc/HackerNews huggingface dataset:
This organisation is more specifically focused on river/ocean plastic removal right now. The ocean conservancy is another organisation that, amongst a wide variety of ocean-related efforts, also deals with trying to improve legislation/etc further upstream (pun intended :P).

Both do pretty impressive work! I personally find The Ocean Cleanup's more narrow focus at times useful, since it makes them a bit more defensible. Meanwhile finding exactly what the ocean conservancy is even doing is a little difficult because they touch a ton of ocean related things.
Too often I hear hiring managers complain that they cannot find good candidates for XYZ specific language. This is the most annoying thing in programming. A good developer can get up to speed with a language in a few weeks. I have and I have had teams go from zero to building full platforms in a new stack. Programming is mainly breaking down problems, creating solutions and then implementing them. The coding is just the end result.
I had two operating theories;

1. I assumed I could align scammers by communicating the principles and beliefs that align me to open source, and linking them to the financial benefits this has brought me.

Open source skills have given me good revenue, the ability to recognize value, and the ability to build and run businesses. I've assumed this aligns with the scammer's ultimate desire to generate revenue.

2. I assumed that scammers would prefer a legitimate way of creating revenue, if it were offered

Scamming is hard, carries risks, and has low payoffs. In my view, coding is easy given good learning materials and mentorship, has low risks since you can easily find work under a boss, and has high payoff because you can easily eliminate the boss and start a company.

My assumptions are not realistic:

1. Scammers are motivated by the idea of victimizing others. It's not just a need to create revenue - it's a need to do it by hurting others.

2. Scammers see coding as the "harder alternative". I discount how difficult it is to learn to code, even with mentorship.

In the end, the only thing I succeed at is stringing them along. And this is ultimately because my rationale is so naive that they see me as a gullible target.

It has been very disheartening to realize that scammers interact with me only because my principles and theories make me seem like an easily exploited target.

But that's where I'm at, lol.

It might be best to quit while I'm ahead, so to speak. I'm probably lucky that I haven't run into someone skilled enough to find leverage that can extort me.
Case Study – Optimizing Linear Layer
> paradigm shifts often come from outsiders

There were two execs on a plane. "My company makes hard drives. We polish metal plates and try to put a thin metal coating on them, but our tolerances are mediocre." "Oh? My company makes telescope mirrors. We polish glass optically flat and lay down coatings measured in nanometers." "Oh, man, we've got to talk some more." Boom, Seagate.
"Cushy"? Tell me you've never been a teacher without telling me you've never been a teacher.
Please give me a site in NextJS that doesnt break my browser
It currently shows that renewables are generating 145% of the total load. So what happens to the excess that isn't being used? Does it charge batteries to be used when the sun isn't shining and the wind isn't blowing? Is it exported to other states in real time? What happens to the excess energy that's generated by renewables during the day?
At least on Android some games are flawed. Never played them on another system.
For example Flood can be solved in less turns than the 'calculated' minimum.
And the bay area apartment would cost $8k/MO for a 3br/2 bath to raise a single kid in.
Why would anyone do that?

Gotta actually have something worth defending in order to justify risking one's life. A family, a community, a nation. Even if you told me I could bring an entire army with me, I wouldn't step foot there. There's nothing in there for me.
I'm hesitant to comment because while I'm an aviation fan I really know very little. I subscribe to VAS Aviation and Blancolirio where a lot of these incidents are reported and analyzed and one thing that continually strikes me is that the architecture of airport runways seems like an incredible arsenal of footguns.

The way the runways intersect each other and parallel each other creating the need for complex and sometimes dangerous intersections seems like such an unfortunate and possibly unsolvable problem. Airports are forced by economic and logistical necessity into spaces that are really too small to solve these issues with better layout and that means the solutions "have" to be found in process or technology.

I've encountered constraints like this so often in software but mercifully I've never worked on anything with life or death consequences.
I still recommend learning and practicing the proper factorization of a quadratic equation, it's a lot faster than using the formula.

It's quite a bit of extra boring practice but worth it IMO.
> Democracies apparently have to be ignorant and easily exploited by criminals falsely claiming pensions and other benefits using easily forged identity papers.

How is centralized identity necessary or sufficient to solve this? If you have an ID card issued by e.g. your brokerage, it can use strong cryptography and be no easier to forge than any government ID. If you lost your card you could use any mechanism you could use in the event that you lose your government ID. Some of these methods have poor security properties but that's the same in both cases.

The only thing you get from centralization is non-consensual tracking.
So we’re focusing on the anecdotal part to ignore the part where I point out the naive reading of his conjecture literally defies thermodynamics? I pointed out it’s literally impossible for it to work for a subset of the population.

Over a hundred thousand endurance athletes in just the USA would have to literally defy the laws of thermodynamics for the naive reading to work.

I can see why the question ignored that and focused on the personal story that went along with the hard facts and stats.
Are you inspired by http://www.milliondollarhomepage.com/ and flipped the script?
Because that's how "dirname(3)" is implemented in glibc, except it searches '/' instead of '\'. Here all character encodings share the same code.
The etc in your first sentence is doing a bit of heavy lifting here. There are so many companies in that category now that if you have any specialized software skill (compilers, ML, database engines, OS, systems in general) you can absolutely make that much if you wanted to. If you don't believe me, and have such skills, spend 20-30 days interviewing!

Sure if you are a typical full stack developer you are not going to make that much money unless you get into Google or something.

Also, base salaries are typically not that high, but the total compensation with equity can reach that pretty easily.
Anyone familiar with how this will impact climate in Western Europe, from say Portugal to western France?
Here’s how it works in Colombia, we separate our rubbish and recycling, put the bags out for the garbage truck in the morning. Homeless “recyclers” come around and pick through your trash looking for plastics they can sell to fund their crack addiction. Sometimes they just take the whole bag down to the river bank, cut it open and sort through the stuff they want discarding the rest on the bank. Next time it rains the plastic gets washed into the river and here we are.

The western mind can’t comprehend the level of stratification in society that leads to problems like this. It’s not a case of bumper stickers and catchy slogans for school kids, it’s people trying to survive at a level below any societal cohesion.

The root cause as I see it, plastic. Everything is plastic wrapped in plastic as there’s cleanliness and trust issues in society. Want a bag of lollies? Plastic bag, individually wrapped lollies with an inner plastic wrap as well.

Swapping to trash that’s going to break down in the river is a much easier solution. Some places have started to do this in the last couple years, but it’s mostly virtue signaling fast food places that want to give a western feel to charge higher prices. So you get two layers of plastic on your vegetables but your McDonald’s straw dissolves in your coke.
The second half of the article is certainly preferable to the whining at the beginning.
Thanks again. Btw, I certainly didn't code it and maintain it single-handed -- my co-founder Atli Björgvin Oddsson deserves the credit for all the good bits.

I have to say -- I'd rather you worked sane hours, and pushed back a bit. You only get one life, and giving too much of your time to (for example -- as I've spent years in that industry too) the oil and gas industry isn't everything in life.

"You work sixteen hours and what do you get? Another day older and deeper in debt" --some old blues legend probably
IIRC a TED talk concluded SBS was a now mostly discredited pseudo-scientific moral panic of the 80's and 90's. There are certain pathos microtransgressions in Western civilization that are equatable to Holocaust denial, and one of them is anything that can be (mis)construed as "child abuse". But instead of identifying and prosecuting real child abuse, it becomes a lazy all-purpose "hammer" to find "nails" to accrue statistical "wins" at the toll of unreasonably over-criminalizing nothingburger situations while ruining lives.

PS: Forgive me viewing the child abuse "identification" system as inept and often wrong. I recall disclosing to a teacher how my father was an abusive narcissist and horribly cruel to my mother and myself in ways that didn't leave physical marks, yet nothing was done. Around age 16, I called the police on him because he held me down to my bed and choked me to unconsciousness for not mowing the lawn, but he talked his way out of it.

https://www.ted.com/talks/waney_squier_i_believed_in_shaken_... (Waney Squier, 2017)
Request for Comments: New API Design Concept [pdf]
I need input on this new API design, i call if 'Functional APIs(fAPIs)'

Given that hacker news is mostly developer-oriented i would like your opinion as to why we don't use "HTTP APIs" as mostly single functions instead of the REST and GraphQL horrors i see on a weekly basis.

why not:

https://example.org/api_json_create_new_user

body -> {
'name': 'new user'
'email': 'email@gmail.com'
'password_hash': '50e721e49c013f00c62cf59f2163542a9d8df02464efeb615d31051b0fddc326'
...
}

200 OK

instead of

https://example.org/v1/users/create/new
<body>

200 OK

i attached a PDF link with more details.

criticism is welcomed.
Github has onboarded the SPA train I think, and browsing a repo is a nightmare especially with URL state. I don't know if it's becoming better or no, but there was a time when links on Readme.md were broken on the homepage of a repo.
If you say something ridiculous and get gently called on it, it does not mean ad hominem.
Well, lack of "garbage collection infrastructure" better explains what's going on in SE Asia, India. When there is no such infrastructure, where else people dump?
Half of the article is just ragging on a specific subset of poorly designed SPAs (those that don't use HTML 5 history mode with proper server side routing set up), which the author acknowledges before finally moving onto other points.

The other half I'm not even convinced these are real problems:

> A fantastic example of the problems created by the SPA approach is parallelization of work. If you have a team of multiple people, or God forbid, multiple teams working on the same SPA, you need to come up with a good way to support this. Instead, you can just have each of those teams build their own web application. Each of those applications can be connected to every other one built at the same time by the same organization (as well as to every other web application residing anywhere, if you want to) — in fact relying on the core strength of the web.

This paragraph I guess presents a problem and it's "ROCA" solution, but the solution proposed works for SPAs too. You can just make multiple SPA applications.
It's quite easy. You don't. By definition, you can't discern anything above your own level of expertise. If you knew what an expert was talking about, there was no point in consulting them in the first place. You can merely ask people you trust. Stereotypes also play an important role, even though they really shouldn't. A rather introverted, slightly socially awkward, blond guy with a ponytail wearing glasses and business casual clothing like a polo shirt while carrying a laptop with swag stickers from their last conference and a 3D printed keychain probably radiates more tech nerd energy than, say, your stereotypical school janitor.
What will the plan be to meet demand before sunrise? They've gone so heavy on solar there's not much scope to add wind to cover pre-sunrise. I assume they just keep installing more lithium ion batteries to the point they can run them all night, but I read somewhere that the cost sweet spot for lithium ion is 2-3 hours, although I don't know how reliable that claim was
"Someone on HN recently said that the difference ten+ years ago was that people were blogging in the evenings and weekends after their full time position, but now the content economy can provide an income, so we have a lot more processional creators, who IMO, over produce."

That is so accurate and highly relatable. I find myself reading blogs from over a decade ago+ simply because the author is really intimate with the content and it feels more personal.

Meanwhile, nowadays everything just feels fake, overcreated and not of much substance. Granted even back then they had the same issues but it was just regularly easier to find organic true spirited content.
Fixing the electoral commission to allow for better influence from the public could be helpful.

Independent redistricting commissions, banning political Gerrymandering/requiring competitive districts, publicly financed political campaigns, and rank choice voting would all have positive impacts on who gets selected and the ability of a constituency to replace them when they don't vote in their interest.
IMO You should just stick some programs in Ghidra/Godbolt and see what they emit, especially for small individual snippets whenever you think "I want to do X, what's the best way of doing it". There really isn't much difference between "baby's first assembly" program, where you just have movs and like five other common instructions, and the kind of assembly an optimizing compiler emits: it's a matter of recognizing that some operations can be merged into a more specialized one or the addressing mode of another, or you can use a setcc with a results flag from something you already computed, or what have you. The good code that LLVM and JITs emit for the most part aren't due to much better instruction selection but due to much better optimization passes, which learning more about assembly doesn't help with: it's about transforming code in general at a high level, which you would do at the compiler IR step before touching assembly at all.
Here is a nice version of those puzzles, but more responsive: http://medmunds.github.io/puzzles/
That's a potential risk, but I think working on both is ok. Organisations like the ocean conservancy deal with trying to change more upstream things like legislation. Even when we do fix the source of the problem we'll have A LOT of ocean plastic to clean up, so starting now seems reasonable. Again, so long as people are also working on the source further upstream, which they are!
Not specific to LLVM or JIT, but if you want a visceral intuition for the basics of ARM assembly, I made a free, online game at work (for mobile and desktop) that may help you:

https://ofrak.com/tetris/

I didn't do much ARM before working on the game, but since playing a lot, I'm very quick at reading disassembly, even for instructions not present in the game. It might help you to do the same – the timed game aspect forces you to learn to read the instructions quickly.

The game is like Tetris, but the blocks are ARM assembly instructions. As instructions fall, you can change the operand registers. Locking instructions into the .text section executes them in a CPU emulator running client-side in the browser, so you can immediately see the effects of every action. Your score is stored in memory at the address pointed to by one of the registers, so even though you earn points for each instruction executed without segfaulting, the true goal is to execute instructions that directly change the memory containing the score value.

When I released it a bit less than a year ago, I posted it to Hacker News as a Show HN:

https://news.ycombinator.com/item?id=37083309
This website is such a fascinating place. Some of the most hyper logical and driven technologists on earth, who then wrap themselves in knots to explain away their lack of physical fitness, when the obvious solution is staring them in the face. People can’t bring themselves to hear the truth
Now every Windows 10/11 system comes with ICU. Even some standard C/C++ functions in VC++ runtime depend on ICU.
Are your sure these were the oil tycoons and not voters who remembered 70s gas issues?
Yes, it does.

You are likely not going to be renting an apartment with that kind of money, you are just making your landlord rich.

Instead, you put a 200k deposit, pay the same 8k per month as mortgage (approx 1/3rd of your salary is the rule of thumb), and sell the house or apartment after a while. That way, you are not losing any money.

Check https://www.nerdwallet.com/mortgages/mortgage-calculator for confirming these numbers.
38 years old is quite young, and you have learnt quite a bit about life. For some reason, there is people in their 20's with 2 years of experience who think someone close to 40 cannot gain the some knowledge as them within 2 years. I would say someone in their 40's and 50's is going to be more pragmatic and disciplined with greater attention to detail as they have more life experience teaching them to be more patience.
I've been through cgi-bin, to ASP and PHP, to ASP.Net Web Forms and RoR and ASP.Net MVC.

I now work on an Angular 17 enterprise application.

Out of all of them, the Angular 17 application is by far the most enjoyable to work with. And I was brought into the SPA world kicking and screaming and muttering "get off my lawn".

But these points are not necessarily valid. We don't break the back/forward buttons, or page refresh, the initial payload is sizable, but less than many "non-SPA" websites outo there. And it runs a large enterprise. When we release a new update, nobody notices. In the corporate world, downloading a few MB that is compressed over the wire and cached on the client after it's sent ... people don't notice. There are single images on websites bigger than our platform.

The first compliment we got after releasing the Angular project was how incredibly fast it was. It's not bloated, I feel that is just an old way of thinking about it. Sure it's not pure HTML with bit of vanilla JS sprinkled in, but it's not going to slow your machine to a crawl (if done properly). Yes, "view source" is going to be a sea of JavaScript that renders HTML. Pure? No. Slow? No.

It's not one URI, it's /users/edit/104 and /departments/accounting/invoices/42. It allows bookmarks via deep linking.

Would I use a SPA for my personal blog? No, I'd use a static site. In fact, I've had them since the early 1990s and I still do have static sites up right now. But would I use HTML and vanilla JS for a large enterprise system? No. As I mentioned, been through almost every web framework since ASP in 2002. JavaScript since 1997. I know the pros/cons at this point.

There are too many SPAs out there, there is no question about it. It's because had a lot of developers go to bootcamps (or teach themselves) which ended up with a lot of JavaScript developers who knew some React. So that has been the go-to for "a website".

But I don't feel these points are valid about SPAs. 30 years into it, I'm happy I greenfielded with Angular on this most recent project. Smooth sailing.
My understanding is that different states have different definitions for the meaning of “felon” and the applicability depends on possible jail time, not actual jail time.

Given that “felon” means “person that’s been convicted of a felony at some point in their life” and the fact that “felony” covers such a wide variety of crimes, it is a genuinely useless indicator of context.
Multiplication is repeated Addition. Exponentiation is repeated Multiplication.

assert 2+3 == 5
assert 2*3 == 6 == 2 + 2 + 2
assert 2**3 == 8 == ((2+2) + (2+2))

And then fractional countability;

assert 2.5*2 == 5 == (2*2) + (0.5*2)
assert 2.5*10 == 25
assert 2.5*100 == 250
assert 2.5*104 == 260 == (2.5*100)+(2.5*4)

Functions are quickly demo'able with Desmos or Geogebra, or SymPy and matplotlib:

# f(x) = x+1
def f(x):
return x+1
assert f(0) == 1
assert f(1) == 2
assert f(999) == 1000

Calculus derivatives:

# N-th derivatives of displacement; velocity, acceleration, jerk, jounce

# (time t seconds, meters)
xyvals = [(0,0), (1, 10), (2, 120)]

# velocity:
10-0 / 1-0 = 10m/s
100-10 / 2-1 = 110m/s
> We could now easily enforce them everywhere

We do. Approved half a decade ago - https://www.sae.org/news/2019/04/eu-to-mandate-intelligent-s...
From my perspective, I've had mostly good managers, in the sense that I've had multiple managers get fired over the years for being more interested in making sure the team had the tools and support that it needed than doing what the org at large wanted that wasn't possible.

To me, the best managers I've had have done a good job balancing what their team was able to do against what the org needed/wanted them to do. Sometimes that was pushing back against the org and doing the hard work of saying things weren't going to happen, and sometimes it was being clear and sympathetic about conveying difficult realities down to the team about what was needed. I've had managers convey things to me that ultimately led to me quitting and finding other work, but I hold them in high esteem because they clearly communicated what needed to be done to meet demands and I decided it wasn't for me and didn't hold it against me.

There are good managers. They're just also good peers who happen to be your manager and fulfill the role of a manager as best they can. Sometimes the system of the company rejects that, but that's also a sign you're maybe working somewhere that wants you to have no peers and no support, and maybe that should prompt some changes for you as an employee.
Next.js Turbopack
Yes, but my point is it seems a jolly strange thing to do to weld, conservatively, 100 million people, including pretty much your entire state adminstration apparatus as well as the technical baseline of a very large proportion of your IT industry to a foreign proprietary OS from your biggest geopolitical rival that could be cut off by the other side in a dispute.

I guess technically this actually applies to any country, but China's the obvious one where it could vaguely plausibly actually happen one day.

Not basing almost your entire country's IT on Windows also doesn't preclude you participating in the software export market.

Though actually they do seem to have started the process, so we'll see where that goes: https://www.techspot.com/news/102379-china-bans-intel-amd-pr...
OS/2 v2 and later versions had replaced Presentation Manager with Workplace Shell. It was great. Fully object-oriented. Very powerful.