skysight-inc/HackerNews huggingface dataset:
Yes. Global variables or singletons are deeply miserable when it comes to testing, because you have to explicitly reset them between tests and they cause problems if you multithread your tests.

A global variable is a hidden extra parameter to every function that uses it. It's much easier if the set of things you have to care about is just those in the declared parameters, not the hidden globals.
The Go language was actually created while waiting for C++ to compile. Their goal was to create something that was better than C++ for network services and they succeeded- but that's a pretty low bar! Most companies that don't have major performance concerns don't use C++ for networked services. If Rust was already mature it would have been a good option- except for the compile times which was one of their main original issues could well be worse in a Rust code base! I have seen this myself- Go being used instead of Rust with the biggest reason being it compiles so much more quickly.
Just slap AI on anything and everything.

It seems desperate, The Twitter post linked has hardly any interaction.
It is amazing how deep the extent of dictatorship go in South Korea but it is completely shadowed by the North Korea
Does this circumvent Azure Information Protection policies as well? Would be fucking hilarious if it did.
>Like, we had "Service Civique" in France till the 2000-something for those who refused the draft.

France doesn't border a totalitarian nuclear power though. Your civil liberties are determined by your place in the geopolitical lottery, not by what your wishes are. Once you border an aggressive and dangerous state, then your (male) body becomes the government's property. Unfortunately.
Now show the UK plot for the 2010s. Also, show the one for Japan. It's easy to cherry pick data to show whatever you want. It doesn't constitute strong data for a casual and reliable link between interest rates and inflation.
"Do what I say, not what I do" is almost a design guideline of Go at this point, there are so many inconsistencies like this in the language design.
I just checked and this is turned off in my installation, but I’m not sure that’s from being EU based, or because my org has disabled it.
The easy, reliable and cheap (aka practical) alternative would probably be a small EV like this one:

https://electrifynews.com/news/auto/chinas-new-10000-ev-byd-...

But there is a long list of social, economic and political forces determined to prevent this from ever happening in the USA.
True, but tiny risk of catastrophic failure will be addressed by owners almost no matter how trivial. And it won't see as a relief by me that I managed to fix it before it spontaneously caught fire, I'll still see it as a frustrating failure by the manufacturer. Because I can both see it as a near-zero risk, and still do it with near 100% certainty. Especially if I don't know whether the window for fixing it easily/for free could close and it could affect the second hand value of the car.
“No more half-measures” and “We’re not big believers in tech debt” aren’t even contradictory statements, let alone a cacophony of them.
I don't understand what problem you're solving that puppeteer doesn't already solve.
Thus opt-out would be the correct term.
> the extent of dictatorship

Draft Dodging is unethical.

A draft is a core part of the social contract in plenty of countries, and those who try to evade it are viewed as "freeloading" by the majority.

Try draft dodging in Singapore, Israel, or Ukraine as well and see what happens.
Hello Hacker News! We’re Nas and Huss, co-founders of steel.dev (http://steel.dev). Steel is an open-source browser API for AI agents and apps. We make it easy for AI devs to build browser automation into their products without getting flagged as a bot or worrying about browser infra.

over the last year or so, we’ve built quite a few AI apps that interact with the web and noticed - a. it was magical when you could get an llm to use the web and it worked and b. our browser infra was the source of 80% of our development time. Maintaining our browser infrastructure became its own engineering challenge - keeping browser pools healthy, managing session states and cookies, rotating proxies, handling CAPTCHA solving, and ensuring clean process termination. We got really good at running browser infrastructure at scale, but maintaining it was still stealing time away from building our actual products. So we wanted to build the product we wish we had.

Steel allows you to run any automation logic on our hosted instances of chromium. When you start a dedicated browser session you get stealth, proxies, and captcha solving out of the box. We do this by exposing websocket and http endpoints so you can connect to these instances with puppeteer, playwright, selenium(in beta), or raw CDP commands if you’re built like that.

Behind the scenes, we host several browser instances and route incoming connection requests to one of these instances. Our core design principle was to allow for every session to have its own dedicated browser instance + resources (currently 2gb vram and 2gb vcpu) while still allowing for quick session creation/connection times. Our first thought was to have separate nodes running in a Kubernetes cluster, but the cost of hosting warm browser instances would be expensive (which would be reflected in the pricing), and the boot times would be too slow to handle the scale that some customers required. We got around this by deploying our browser instance image on a firecracker VM, taking advantage of the lightning-fast boot times and ability to share a root FS.

Today, we’re open-sourcing the code for the steel browser instance, with plans to open-source the orchestration layer soon. With the open-source repo, you get backwards compatibility with our node/python SDKs, a lighter version of our session viewer, and most of the features that come with Steel Cloud. You can run this locally to test Steel out at an individual session level or one-click deploy to render/railway to run remotely.

We're really happy we get to show this to you all, thank you for reading about it! Please let us know your thoughts and questions in the comments.
Obligatory mention of the Baroque Cycle by Neal Stephenson: https://en.wikipedia.org/wiki/The_Baroque_Cycle
Publishers Have Finally Said the Quiet Part Out Loud About Retro Games
Help us to test the upcoming ScummVM 2.9.0
My point is that running those things is not free or cheap, and that with floating energy prices, you now have to make them significantly beefier and make economic decisions about when to run them. You will also have many more of these generators show up. People adapt their behavior to the incentives you give them, and the design of generators is also very much more subtle than you are giving credit for.

So yes, while it seems like people already have infrastructure for floating energy rates, in reality they do not.
Salt was bad for cars. (Having had a 80s car that was rusting badly). There was a hole in one of my rear wheel wells. Salt/ sand got into the hollow steel and rusted from the inside out at the base of the passenger door. It was was bad all over however.

Cars are galvanized now so they don’t rust. Is that truck running bare stainless with no finish?

Are you going to stick to it during the winter?
> Diagnosing errors given stack traces is very easy.

This is the most important aspect of exceptions in my view.

The line that threw the exception isn't even the part of a stack trace that I find most interesting. The part that is most valuable to me when working on complex production systems are all of the call sites leading up to that point.

I remember in my junior years I wasn't a big fan of exceptions. A stack trace would make my eyes glaze over. I would try/catch at really deep levels of abstraction and try to suppress errors too early. It took me a solid ~5 years before I was like "yes, exceptions are good and here's why". I think a lot of this boils down to experience and suffering the consequences of bad design enough times.
Did you count reliability into your assesment here? I'm reading about Fly.io outages multiple times a year, whereas Lightsail seem to be as stable as AWS EC2.
Useful here-say from some investors at the last few demo days: not all of the companies that are "copiers" apply + are accepted with the "copying" idea. Many founding teams end up pivoting during the batch and scramble to get proof points on the board before demo day. They're most likely to end up pivoting to well-known problems, therefore the clustering around a few common themes. It doesn't explain all of the data, but it's a big part of it. When you have to come up with a fundable new idea in a week and prove it out in a month this can happen...
Yes, this means he's a morning person. I feel great in the evening because I'm done with all the shit that happened during the day, now it's finally "me-time". There's nothing like a sudden wave of energy at 3AM. In the mornings I always think about all the unpleasant stuff that is going to happen during the day.
> The petition to the USPTO also accuses Oracle of committing fraud in 2019 in its renewal efforts for the trademark by submitting screen captures of the Node.js website. “Node.js is not affiliated with Oracle, and the use of screen captures of the ‘nodejs.org’ website as a specimen did not show any use of the mark by Oracle or on behalf of Oracle,” the petition states."
> go on tour

Why go on tour if you can send an AI singer instead and if you cannot sing as good as it anyway?
> I’d argue (much) fewer software projects have been shipped in Rust. Firefox is still 95%+ C++.

It's funny but this comment reminded me of this tweet[0] from 2022 (!). I don't have a horse in this race as I am happily using Python and C++ at $DAYJOB. I'd argue that even if much less software has been written in Rust (source?), it still qualifies as "lots of software has been written and shipped" with it. Not to mention all the investments by $BIGCORPS in the language.

0: https://x.com/m_ou_se/status/1599173341117435905
https://archive.is/7LsG3
> publishing revolutionary studies

Just because you put it in PDF doesn't make it something more.
We used to have Java CPUs

https://en.m.wikipedia.org/wiki/Java_processor

The JVM is just to run the code on other systems, and is the most common way of running compiled Java code.
Engaging in legal dispute with Oracle seems like a risky endeavor. People joke about the company consisting from 90% legal department for a reason.

What would the plaintiff or the public stand to gain from Oracle relinquishing the trademark?
Does it give a standard way to approve changes? I wouldn't want to give an LLM access to my database unless I can approve the changes it applies.
People who pay for a working game to play probably care. I'm not a gamer but I occassionally will try to pop something in every six months or so. Two hours later after I have to sign in from a controller, update the OS, then update the game I'm over it. I can't say that's all from shitty software development but some of it probably is.
It makes sense to scatter a bunch of seeds on fertile ground, and then pick the strongest plant that shows the most growth. There are many kinds of smart, ambitious people; some will form teams that succeed, others will fall prey to unforeseen impediments, and not.
Is there no difference between a software "recall" and a software update?

I'm imagining (uneducated guess) that the software is updated more often than it is recalled, and so a "recall" is an update that addresses a safety issue.
How does e-mail have that implication when it specifically has e in front of it?
Maybe it's borderline not "Western", but Turkey famously haven't gotten to allow people to refuse service.

> In 2021 Europe was not a safe place for many conscientious objectors in several countries who faced prosecution, arrests, trials by military courts, imprisonments, fines, intimidation, attacks, death threats, and discrimination. These countries include Turkey (the only CoE Member State who has not yet recognised the right to conscientious objection)

https://www.ohchr.org/sites/default/files/2022-05/EBCO-HRC50...

I think I remember talking with some Greek person at some point as well, where "conscientious objection" theoretically exists, but the alternative ends up longer than the military service + basically feels like a punishment, rather than an alternative.
Have you considered that the US population has grown from 220m to 330m? Meaning proportionally, the government uses fewer resources to cover a larger amount of people?
It's running the infotainment display(the one in the centre of the car) , but not the driver display. Fortunately I've never heard about the driver display crashing while driving, so at least Volvo had the good sense of making sure that is solid - but the infotainment display is known to crash frequently requiring a hard restart(you hold the button under the display for at least 10 seconds then the entire thing reboots), which maybe it's critical but means you can't change any of the climate controls(other than windows demist since it has its own button, thankfully) while the screen reboots.
I don't understand how you can characterize this as dictatorship. If anything, it's the very normal realization of the representational democracy: The people have voted for representatives, that themselves voted on laws to force everyone to serve, or go to jail.

If the people wish to repeal that law, then they should vote for representatives that will repeal this.
ClickHouse – fast, deduplicated reads – by Jesse Grodman
I remember my grandmother carting her prayer rug all the way from Bangladesh to the U.S. when she came to visit.
TL;DR people don't understand the dangers. They grossly underestimate the complexity and fragility of our current global supply chain and they especially underestimate their dependence on it. A major world conflict would make it difficult even to feed my cat. COVID should have been a wake-up call, but that has receded safely into the past as the "normal" ppl craved has resumed.
A word processor stealing the user's IP by default should carry massive fines in the EU. This is pure deception. 20% of annual revenue should be appropriate.
Coming up on 1 year off alcohol next week. My college freshman son was having issues with his alcohol intake so I quit for him, but have noticed I feel much better mainly due to better sleep. I quit using the "alcohol is poison" reframe from Scott Adams.
I prefer using bun:test [1] where possible, super fast to run, all built-in no need to install any packages, supports watch mode, also TypeScript tests just works out of the box without additional deps or steps. You'll also get all the benefits of bun which is a breath of fresh air over npm.

[1] https://bun.sh/docs/cli/test
Yes but reality is even worst maven projects take f*"* eternity like the post says, you have tens of atomyse package that make simple task that should take seconds take minutes, while the fast in go is not only the compilation time, but that 28000 is in real word case,at least it'd feels like this for experience.
> has not sold any JavaScript goods or rendered any JavaScript services since acquiring the trademark from Sun Microsystems in 2009.

I find this hard to believe.

Somewhere in the 159,000 employees of Oracle, someone has made and sold some product using the javascript brand.

Just a single example of "Javascript" written on a spec sheet of some product would be enough to defend the trademark.
I agree about implicit exceptions, but I think that there is a sweet spot with explicit exceptions like Swift (and maybe Java): where you cannot not-handle one, it is part of a function's signature, and the syntax is still compact enough that it does not hurt readability.
Technically, I guess one or more of France's overseas territories are near the maritime zones of nuclear-armed countries, but considering direct land or maritime borders, you're right.
So (d + e*g) is an example where if you do mathematical operations you put spaces between ones that will be lower rank and higher rank no spaces. This way you could a bit faster grasp which operation will be first so (2 + 3*4) you know first to evaluate 3*4 will be 12 and then you add 2 giving 14 - but given variable names of course you are quicker to evaluate result.

But no one has time to craft such details in the code.
"The funds from the bidder will be invested in to products in order to make a better user experience" /s
> And it won't see as a relief by me that I managed to fix it before it spontaneously caught fire, I'll still see it as a frustrating failure by the manufacturer.

In this respect, there's no difference between OTA updates and dealership repairs.
I can't see the plaintiff gaining anything really. Maybe he's just fed up and decided to do something about it.
I guess we'll be able to live in the iconic Flatiron building, as one of the buildings mentioned in the piece.

https://en.m.wikipedia.org/wiki/Flatiron_Building
Having moved to an entirely on-sore job, I really long for the days when I could wake up around noon and be incredibly productive after 20:00. Nowadays, it is a struggle to wake up at 06:00 and get to the office to get some things done before the heat of the day sets in. I resonate with this deeply.
It would be nice for the Memory Safety initiative[1] which tackles core internet infrastructure security and safety via re-implementing it in Rust to also work on implementing the BGP server implementation.

[1] https://www.memorysafety.org/
Maybe you don't realize it, but we're on the same side.

Japanese entertainment isn't In Your Dumb Face about things unlike western entertainment, it respects your intelligence and sheer common sense. You're not being talked down to, your ability to just pick another (better) product to be entertained with and walk away is respected; and it's an escape from the rest of the world shouting at you about something.
Exceptions are values in C++, Java, and Python too. They're just values you throw. You can program these values.

As usual, I find that opposition to exceptions is rooted in a misunderstanding of what exceptions really are
> in the .NET world the documentation on that is pretty awful and absolutely incomplete.

Depends on the area you look at. Language documentation is pretty good and so is documentation for the standard library itself. Documentation for the frameworks can be hit or miss. EF Core is pretty well documented and it’s easy to find what to look for usually. GUI frameworks are more of a learning curve however.

FWIW many in Java community consider checked exceptions to be a mistake. While I don’t find writing code that has many failure modes particularly fun with exception handling - Rust perfected the solution to this (and the Go way is visually abrasive, no thanks), I don’t think it’s particularly egregious either - Try pattern is pretty popular and idiomatic to use or implement, and business code often uses its own Result abstractions - switch expressions are pretty good at handling these. Personally, I’d write such code in F# instead which is a recent discovery I can’t believe so few know how good it is.
How do you know that taking 2 cameras and superhuman intelligence won't be enough?
I’ll agree that there are cars that just look bad.

I love my Honda Element, but even I admit it’s not a great looking vehicle.. it’s old enough that it’s no longer sticks out, though easy to find in a parking lot as few cars are shaped that boxy.

https://en.m.wikipedia.org/wiki/Honda_Element

62 page pdf about how the design of vehicle came together which is kind of interesting. (Function driving design)

http://www.ramblerdan.com/e/files/schumaker.pdf
Technically you're right, I forgot France is stil running a colonial empire on the side with territories around the world for force projection and tax dodging. That's why France has the foreign legion though. They get cannon fodder and give them citizenship in return.
That's no Google but that's also no "barely makes any money" territory, no?

Yes.

Income and profit are not the same.

Uber spends all their income and then some --- which actually leaves them in "makes less than no money territory".

Imagine winning $100 at a casino. You tell your buddies about the big win but you conveniently neglect to mention the fact that you lost $200 first.

Your income was $100 but your expenses were $200 which leaves you with a net loss of $100.
Optimal towards which metric?
Precisely the kind of article I love to read. And timely too. I'm just about to fire up an old laptop with MS-DOS and Borland C++ so this will be fun to read alongside that.
S3 is one of the most expensive platforms out there, however. Look at backblaze B2 for an example of just HOW expensive S3 is.

When i moved from S3 to DO, my bill went from hundreds to $20/mo. The only thing that changed was the hosting provider.
None of that answered the question of what's the value proposition is, while also missing the point of several criticism.
We love Puppeteer and use it to power our API!

We don't compete with Puppeteer/Playwright/Selenium but we're focused on solving the problem of hosting Chromium browsers in the cloud.

The workflow jump we've seen ourselves and from customers is that it's pretty straightforward to build these scripts locally, but the moment you want to run them in prod, you now need to deal with a ton of overhead around packaging up to docker, resource management, scaling, etc. We want to make that trivial :)
Genuinely curious, why am I being downvoted? Did I say something wrong?
> Or solve the problem. A library function that can be a source of issues and can't fix these issues locally should simply not be returning something that is not a result in that paradigm.

People "solve" this problem by swallowing errors (if you're lucky, logging them) or by just panicking. It's the same problem that checked exceptions in Java have: the error type being part of the signature constrains implementation flexibility.
Are Algorithms Killing Creativity?
Sofia Kovalevskaya
SpaceX: Cellular Starlink Service Is Ready to Go
I worked on an automotive FMCW LiDAR that didn't quite make it to market. Cool technology but it was difficult to scale the cost down, which is pretty important for automotive. Margins are very low in that market
It doesn't really need to run anything "substantial" though. Running some janky wordpress site with some scabbed-on ecommerce customizations is like 50% of the internet.
Comics have a huge impact on pop culture. They form the basis for some of the biggest budget TV shows and movies which last for a long time in our collective consciousness: The Dark Knight series, Watchmen, the Avengers, etc.

Several just on their own are huge cultural juggernauts: Calvin and Hobbes, Peanuts, XKCD, Penny Arcade, etc.

I don't know why you think comics are. Trojan Horse for ESG/activism. Like all media, they seek to reach wider and wider audiences, for a good chunk of time, the best perceived way to do that was to diversify those offerings. Even if that didn't end up working (assuming your POV in good faith), that doesn't mean it was a "Trojan horse for activism" anymore than the rise and fall of the shonen genre in manga was a subversive attempt to inject masculinity into the populace.

What you term as ESG and all is not a shadowy cabal to force people to think a certain way. It's just companies trying to do what sells. You forget that in the beginning it did work, which is why it caught on.
> SK should consider fielding a volunteer force from their ranks to fight on behalf of the Ukrainians in order to do the same

Foreign military deployments are very politically unpopular in South Korea.

Memories of SK's involvement in the Vietnam War and the extreme unpopularity of SK's tiny deployment in Iraq make any sort of "boots on the ground" view politically untenable.

Furthermore, South Korea can better contribute (and is) by providing material, intelligence, and funding.