skysight-inc/HackerNews huggingface dataset:
One part of the law stipulates that immigrants who have been in Quebec for six months or more will only be able to access most government services in French.

It's fascinating that Canada has such a reputation for being more progressive than their southern neighbors but I can't imagine any US state passing a law saying immigrants aren't allowed to access government services in Spanish. Cultural protection is brain cancer.
Small teams should just configure apt unattended upgrades and call it a day. I do this with my personal server and haven't had any issues for years.
Client side rendering many cases, could be not only cheaper for the host, but for the client also, when the JS was loaded, the new content for the pages could be fetched faster than the new static html, not to mention the ugly experience of page loading.
If you are open minded, there are tons of Blockchain companies out there who offer great perks, latest tech and amazing salaries.

Caveat: You have to know which company is legit and which is not. I am getting approached by 2-3 companies a week and found 2 (out of maybe 20-30?) which were legit.
As far as ergonomics go, a controller-like form-factor is almost definitely the current ideal for a portable, carry-able, holdable keyboard. Obviously just slapping QWERTY on it wholesale may not be the best idea, and doing the R&D for a more appropriate layout or entirely different approach to input could be costly. carriers for phones or other devices could also complicate it. Might be the reason there aren't more on the market?
Is there anything like it out there now? I searched around for something like this a while back, wasn't really satisfied with my findings, and haven't been able to stop thinking about it since.
This is a good introduction to the subject. At the end you might want to mention rate limiting, truncation (giving up after a specified number of retries) and, for the most sophistication, circuit breakers.
Totally agree. I think of about it too compared to the cost of a semester of useless college classes and the guaranteed loss of thousands of dollars.

I opened a separate bank account with $2k in it that is the cost of learning cloud computing and for piece of mind if I do something crazy.

I am also though not leaving anything running ever when I log out. No way I am ready to run a lambda function in production.
It would be great to have the option to move easily between databases.

SQLite would be best for development, testing, and small sites. MySQL would be better for production . And SQLite would be be great for archiving old sites.
Very curious that NYT's is so slow given their fairly advanced tech team. They do a lot of neat stuff with that team. Though maybe it's another part of the company that manages the rest of the site. Or maybe it's all their neat stuff that makes it slow.
https://www.afcea.org/content/air-force-continues-2-billion-...

And maybe substantially more...
what is on the website and what is actually happening on the ground are two different things that may or may not match
One way to understand why this article produces so deeply emotional responses, is that it says "it is right and proper to defect in this prisoner's dilemma"[1].

Why is it a prisoner's dilemma?

- Nobody writes follow-ups: everyone has an equal chance of being noticed and only has to write one email (and the recipient gets relatively little mail).

- You write follow-ups, but nobody else does: you get an overproportional chance of being viewed at the expense of everyone writing just one mail. Also you have to put up more work to organise and write the follow-ups, but that is very much worth the extra benefit for you.

- You write one mail, and everybody writes follow-ups: you get an under-proportional chance of being found in the sea of mails, much to your dismay.

- Everybody writes follow-ups (what TFA suggests): everyone has equal chances of being noticed, but everyone has to put up the extra work for the follow-ups (and the recipient gets a factor of three more mails).

My personal opinion on the article is that it is greatly damaging, as it is difficult as hell for society to effectively normalize "cooperate" behavior in such situations, even without voices suggesting "defecting" is your moral responsibility.

[1] https://en.wikipedia.org/wiki/Prisoner%27s_dilemma
Many new world burgeoning civilizations got wiped out/stunted by natural things like droughts and the land being farmable and able to maintain large populations.
With regards to your image... so what? Virtual networking equipment is virtual - I too can spin up hundreds of subnets for nothing.

My internal transfer costs are also.... drumroll... zero. (ok - technically, at some point I bought a 10gbs switch and 500ft of ethernet cable)

Lets talk about what it costs you put data back out onto the net, or into a different region. Then lets compare long term storage costs.

Because that shit is only cheap in the "hobbiest" range. Outside of that, outbound data and storage is fucking expensive in the cloud.
Is this a Show HN, or a blog post? It seems like OP is trying to get attention for his news website, and perhaps that would be best done by doing a Show HN of that site (not this comparison page, which conveniently lists his website as the top-performer).
I don't know how one can study leetcode and fail to learn to program better.

After all, I learned chemistry, physics, math, mechanics, thermodynamics, etc., by working problem sets.
> vaguely fascist users

I've seen this one before, a GNOME apologist insinuating that anybody who wants thumbnails in the GTK filepicker is probably a 4chan user. Is this the new trendy way to dismiss criticism of software? Insinuate that anybody making specific concrete complaints about software has invalid political beliefs completely tangential to the feature/bug being criticized? What fun!
You shouldn't be afraid to cater to the minority of power users. Power users are the ones that make browser recommendations to an outsized group of people, e.g. friends, relatives and coworkers. They are also the ones that drive new standard adoption.

It's entirely plausible that when you alienate a power user, you also alienate their entire social circle, dependent on them for tech advice, so you lose 20x-100x of your audience/users.

I'm not saying that's exactly what happened, but it definitely happened to some degree. Personally, I no longer recommend or use Firefox to anyone. The techy people in my circle use Brave or ungoogled Chromium.

The untechy ones use Chrome/Edge and maybe have Opera/Vivaldi as their backup browser or Safari if they're big Apple fans. Almost no one uses FF anymore. Without its extensibility, it simply doesn't compete anymore.
There was a ancient saying that new JCL is never written, just copied and modified until it works, because no one understands the entirely of it.
> Something about being _in the code_ while stepping through lines one by one with explanations is just so much easier to follow.

I just go straight to the code. Same with SO - I'm not reading words, I'm reading code. Even with zero familiarity I find code is easier to read with inline docs vs. digging through someone's word salad. Truth is most of us aren't great technical writers.

That being said I did skim the content for this resource and found it to be pretty to the point and clear-cut. Even the metaphors and extra information were applicable to providing a good primer. I wish more devs would write with the same succinct technical clarity as this and maybe I wouldn't skip the word salad as much ha
i would think most of the developers have a job working for mozilla, by which they support themselves, which would make that somewhat harder.
It would be hard to overstate how much I dislike the design, and (more objectively) I think it's working against you.

I know the 90s are cool right now, but "Saved By the Bell intro" theme doesn't confer a lot of confidence in the product.

There's also a lot of low-contrast text (black text on purple background), bizarrely wide fonts, buttons/CTAs that don't look clickable at first glance, cards and pills that do look clickable but aren't, and distracting animations.

I've now spent at least 60 seconds on the page and still haven't actually absorbed any information because it's so busy and distracting. I badly want to close it as soon as I start skimming it.

The design is serving itself (and the designer), not whatever message you are trying to communicate.

Remember that with hipster-y, polarizing designs, you're filtering out some audience. You may hope it's an audience you don't need or don't care about, but sometimes that's not the case, and you'll never know because they'll just look like anonymous bounces.
The exact quotes from Nikola Tesla’s own autobiography are:

I started by first picturing in my mind a direct-current machine, running it and following the
changing flow of the currents in the armature. Then I would imagine an alternator and investigate
the processes taking place in a similar manner. Next I would visualize systems comprising
motors and generators and operate them in various ways. The images I saw were to me
perfectly real and tangible.

[…]

The images I saw were wonderfully sharp and clear and had the solidity of metal and
stone, so much so that I told him: “See my motor here; watch me reverse it.”

[…]

The
pieces of apparatus I conceived were to me absolutely real and tangible in every
detail, even to
the minute marks and signs of wear. I delighted in imagining the motors constantly running, for in
this way they presented to mind’s eye a more fascinating sight.
Thankfully, the servers were not in Europe! I said "hardly". It's genuinely amusing how people downvote facts, simply because they don't fit the zeitgeist.
Would an interviewing manager even know the answer to that? A VP+ might, but I'm guessing they would be unable/unwilling to share.

You could ask questions about how the position and product are related to the core business - should get the same result (it's mission critical vs it's VP's folly) without asking about financial info that nobody can/will share.
The moon rotates once per month, so nights are about 2 weeks long.

Continuous solar power might be possible with a ring of panels around the south pole.
I've had an horror story with Google Cloud, and they have been very helpful.

After I explained my situation (a $5k bill for an inactive side/toy project is extremely painful), and I provided great details about what I think happened to cause it, they wrote off the charges.
>It seems as if The Boys is playing with that concept and blowing minds.

Yeah, it's crazy. It's almost as if comic books and superhero media hadn't already been playing with that concept for decades.
Some killers here are the data model and the unknown edge cases. And the size.

The data model is fixed width flatfiles with very specific access and index methods. There are 50 years of workarounds applied in there. Whatever code you end up with will still need to communicate with all the other stuff, so the data model can't change untill you got everything touching it in the new language.

The edge cases are a second problem. The code runs well in a very practical sense, as every major bug relevant for the end user has been fixed or worked around ages ago. Or it became the correct behaviour by sheer overwhelming force. You replace something insane, then find out you broke another system that had counterbalancing insanity. Worst case, it will run for a few months, silently corrupting data. Next tax round or year end, some report says something strange, and subsequent troubleshooting uncovers major doodoo. No, the taxman wont wait on your bugfix.

Then there is the sheer volume of code. 10 million lines is small scale. You can spend your whole carreer rewriting everything in the most trivial way, and 40 year later find you're not even close to done. There will be multiple failed rewrites in there, causing massive lavaflow architecture problems.
I don’t think that being aware of the history of the conflict had anything to do with being surprised or not by the invasion. I have family in both Russia and Ukraine and nobody expected it.

Even the Russian soldiers who found themselves being sent into Ukraine were surprised.
This isn't a partisan issue. Neither Democrats nor Republicans (the politicians, not necessarily the constituents) want safety nets. They have different reasons, but the end result is that neither side is willing to make it a reality.

> Condoms are extremely effective

Condoms have an 85% success rate† in the real world (98% if used perfectly, but humans are rarely perfect, especially when... emotionally compromised). That means a pregnancy a year is absolutely within reason.

> it is my understanding that there is a huge demand for adopted children

A case where research is easy, and worth doing. But here's what I found Google:

"Of the more than 440,000 children in foster care in the United States, there are over 123,000 kids available for adoption right now. According to the Dave Thomas Foundation for Adoption, children in foster care can expect to wait an average of three years to be adopted and the average age of a foster care child is 8.5 years old."

"... roughly 20,000 children “age out” of foster care each year. This means they are now legally adults without ever finding a family through adoption."

That "huge demand" is for families who will only take babies, not fostered children.

Historically, 2% of families in the US will adopt, meaning that even if every previously aborted fetus was carried to term and put up for adoption as a baby, there still wouldn't be enough families.

EDIT: The cost to give birth, without complications, is between $5 and $15k. That's just giving birth. And the parent doesn't receive the adoption fees; that cost is on them. For the adoptive parents, a private adoption (how you get a baby) is in the $25 to $50k range††.

† https://www.plannedparenthood.org/learn/birth-control/condom...

†† https://adoptionnetwork.com/adoptive-parents/how-to-adopt/ad...
Its easy to run a fast website when you don't have to host any ads. You know, the thing that gives media companies their revenue.
They used to be land mammals. Maybe they had a civilization, but they ruined the climate with it, then evolved to be sea mammals but kept their intelligence?
https://en.wikipedia.org/wiki/Silurian_hypothesis
Why does the UI look like it's advertising cereal to me? I see this design pattern sprouting up frequently, and I hate it. It almost screams "hey! we're trying to be hip! Look at us! Weeeeeeeee!"
Because the show is about the US and US issues?
He has a pro-whoever is paying him to 'consult' slant. He is not a principled man; he is a mercenary.
> Like it or not, most problems you will want to solve are not "purely functional" but rely on sound management of shared mutable state.

In theory this is correct, but incorrect in practice.

- Sincerely a real world Haskell programmer
Which area are you in if you don't mind sharing? I really like Krynica Zdjor but houses can get really expensive in that area.
I wonder if this has any application in the "where is that damn sound coming from" field.
I assure you that people crisscrossed the deserts in North Africa and the Middle East all the time in ancient days. Egypt's big advantage was its ability to produce lots of food along the Nile River and settle down and focus on something beyond survival.
Thank you for your suggestions! I'll see if I can write a few intelligent sentences on these (somewhat more advanced) subjects.
Yeah, for their examples there isn’t even a reason to use dynamic rendering instead of static rendering (pre-build a static site), as the response doesn’t change for different requests. Dynamic rendering only pays of if you do something more complex, like authentication, etc.

But I guess static rendering would go against their mantra of “no build step”, which even currently is actually false, as they need to generate the manifest file.

See also https://news.ycombinator.com/item?id=31723205
If it's a public secret and it affects the company - then yes.

Of course they would rather not disclose such a thing to prospective candidates and it's rude to ask, so I dropped this question.
Why does this happen?

I just don't understand it.
Good question. Tbh I haven't looked into Fargate too much. For our use case, we're processing millions of requests every day. So we needed more control for performance and cost. We're also fairly comfortable with lower level stuff and use Terraform to manage the infrastructure.
Any team is eventually going to have to invest in tooling. If they had gone with C++ they would be fighting different fires: memory safety problems, build tool complexity, bloated compile times, memory leaks, etc. If they went with Javascript; run-time errors, async memory pressure, complex deployment artifacts, etc.

Haskell has benefits for its trade-offs. Its type system is world class. I get a lot of leverage out of its type class constraint resolution. It has a sufficient compiler that generates good, fast code and a run-time system that makes dealing with concurrency much safer and easier than other systems I've worked with.

You can choose any language we have out there right now and a decently sized engineering team, if they're smart, are going to have an internal team or some amount of their backlog of work dedicated to tooling. Even Twitter has a tooling team! And Java has an ecosystem where millions of dollars of full-time engineers are building IDEs and DUX tools constantly.

It's the nature of the beast.
Neat! I have for the past 40 years had a new prosthesis made every second year or so by F.Ad. Müller Söhne [1] – it is always a wonder to see the ocularist work with miniature glass blowing equipment creating an eye fit just for you.

[1] https://muellersoehne.com/home.html
https://www.red-lang.org/2017/12/leaping-into-future-red-goe... <- this is what they're referring to.
Nginx and apache (upgraded from 2.2 to 2.4 once)
lmao we get a lot of love/hate comments on the design, but that's the first time i heard cereal -- thanks i guess? (cuz who doesn't love cereal?!)
It's annoying the the lite.cnn.com URLs look nothing like the normal ones, e.g.:

https://edition.cnn.com/2022/06/28/entertainment/tom-hanks-f...

https://lite.cnn.com/en/article/h_fdb58e07457b1cd96266160502...

Does anyone know how to automatically map one to the other?
guibibeau, that would help, too (although I presume it still would come under the subject of HTTP headers). In short: *any* examples that *don't* require any part of Next.js --- or any other specific framework --- would be what a number of us have wanted since last fall's announcement. Thanks!
Well, on the basis of the theocracy concerns, it’s probably best to look at Northern/Western Europe, where secularism is the strongest.

You aren’t going to have to worry about a church takeover in France any time soon.

Edit: East Asia is also an option.
It may be worth looking at org-mode syntax. Yes, org-mode is part of Emacs, but the syntax of the file seems to meet some of your requirements, namely parseable by human and machine alike.
modern JS runtimes are extremely fast on all hardware that's not a 2000-era phone or an embedded micro-controller with 4MB ram. if your CSR is slow on a modern client, then that same JS code will bring your server to its knees when you simply migrate it to an equivalent V8-powered JS backend. scaling the server will not solve this; you just have to write fast JS code and pay attention when you write it, not merely optimize as an afterthought. test on crappy hardware, test with huge datasets, test on slow connections, test with asset caching disabled, target 60fps+.

https://betterprogramming.pub/creating-a-web-performance-cul...
Even renowned scientists who are good at math, theory, and experimentation can go on some wild-ass goose chases. Look up Nobel laureate Linus Pauling and his advocacy of vitamin C woo, the negative effects of which still persist today because millions of Americans believe vitamin C will cure/prevent a cold.
You could use Oak with Eta

https://oakserver.github.io/oak/
https://eta.js.org/
They will do eventually. Now it is touristic season.
I think the graph says it all: "something" happened in the 1500s that allowed or caused our industrial and scientific revolution along with the Enlightenment. The Romans, Babylonians, Mongols, Chinese, Persians, and probably the Incans and Mayans had large productive organized societies for hundreds or thousands of years but industrialization happened in non-empires across multiple countries in a relatively short span of time.
It seem like industrialization was a result of the more fundamental discovery of the scientific method than time, organization, or empires. This was combined with the symbiotic need for power (to pump water out of mines, initially) and ability to supply it with engines that were newly possible from scientific experimentation in metallurgy and machining. Possibly gunpowder was the trigger since it required better machining and metallurgy that allowed engines.

Middle Earth presumably had the same problem with finding the initial conditions for scientific and industrial revolution, possibly amplified by the Enlightenment being impossible; mysticism and religion were real and active in the world and so pure scientific rationalism was doomed to fail, leaving the alchemists and would-be magicians in charge of "research". Humanity only narrowly escaped that trap, it seems.
Self healing VMs - look into fly.io, they just restart when out of memory etc

took about a day to rewrite and a week of 30 mins per day to figure out how to optimise my code for self healing.

knowing my bill is capped by number of VMs * memory, saves a lot of stress
I think it's hard to tease out the size of effect. Extensions are only used by a minority of users, but that's mostly the set of vocal power users that are likely to be the go-to tech person within their social circles.

I'm sure I'm far from the only HNer that has recommended or installed Firefox for many friends and family. I mean, I used to recommend and install Firefox before their terrible management turned the org into a dumpster fire. They've lost both myself and everyone I would have turned onto Firefox.
Wow, of all the historical ironies...
> the editor

ed /s

Well, you can invoke AIX and run ed, it works, but yes, ISPF, running in a 3270 terminal, is pretty weird. That being said, it's pretty much very interactive even under horrible latency because it sends the entire screen every repaint.

3270 is, in a retro way, what the web 1.0 would look like if we were limited to monospaced characters.
If you had no knowledge on standing up a DB server (installing, configuring, monitoring, logging, access control, and backups, restricting network access), how much time would that take you to learn? That and your VPS requires setup for access control, patches, updates, monitoring, logging.
I would love to see these stats for sfgate.com and sfchronicle.com. Both of them are infested with so much added fluff. It's frustrating because I pay for a subscription to SFChronicle (and NYTimes), but unless I want to install adblocking, the experience of trying to read the news is often so user hostile, even on a fast connection and fast computer.
That is an interesting suggestion.

Thank you!
Creating a Gantt Chart with Vanilla JavaScript
It’s not zero. Ask a woman. Done talking about it. Have a nice day.
I'm not over-thinking, I'm asking for a clear definition of what that means. The original comment that kicked off this thread said "what is post unix."

There is a clear-ish definition (not running JavaScript in a Linux container like Docker but running it directly on top of the OS in its own containerized runtime) explained in the linked video that comment was replying to, but no, it's not just "something more modern than 70s Unix design."