skysight-inc/HackerNews huggingface dataset:
People want greenfield projects, but maintaining and improving legacy code is where the real, fundamental learnings occur ;).

Probably the cruftiest code was a ship autopilots UI code that was 20k lines of C in one file with no automated testing. There was a very manual process for loading code onto a test display. The debugging experience was terrible. There was a way to manually inspect memory addresses, but that was about it. Oh and there were threads, managed by the homegrown OS (basically just a scheduler that ran on a 10 ms ticks or on an interrupt). These threads had priorities so they could a sometimes get into deadlocks waiting for each other.

As insane as it was, it was the best learning experience I could have had. I’m glad I stuck with it. I learned a lot about low level systems, prioritizing the highest value refactoring, and introducing automated testing to a legacy code base.
C is itself Modula-2 with (exactly) C syntax. It is hard to imagine a definition of modern that would include Modula-2.
Powering up the IBM Z890 mainframe and teardown
I'm not a passionate container person, but let me try: the basic upside is isolation/containment.

For a moderately complicated application, there'll generally be several backend processes. A database, perhaps a message queue, several application processes. To install and run the application, you would need to eg. install one or more package repositories, install a bunch of packages, edit various configuration files, create various users, and then arrange for everything to start (and stop) in the right order. That's kinda painful to set up, and even worse to tear down.

There are/were two popular solutions: automation, and containers.

Automation addresses the grunt work: you script the process of installing and configuring (and later removing) all the bits of this application. Where automation falls short is that it doesn't have the isolation/containment: applications still exist in the same namespaces, and can collide.

A container can package all of this stuff into a single blob, and you can run it by giving it a simple port mapping, and a simple storage mount, and ... it just works. It doesn't matter if you have a different application with a different version of the database server running on the same host. Or a different version of, eg. Python. You don't have to mess with unique users or groups, and it's trivial to map the externally visible ports where it suits you.

That was the first-phase pitch. And it made sense to people whose life was spent dealing with the complexities of making things work together.

Things then got less clear cut. So far, this was just a per-machine thing. The obvious next step was to scale "containers" out to get their benefits, but using a whole fleet of hosts, not just one. Welcome to orchestration.

The benefits are still the same: you spin up a bunch of containers, and they are all self-contained, isolated, it-just-works bundles. The orchestration framework deals with how many of each of them you need, putting them in the right places, and hooking things up together. It's *way* less work than doing it by hand, and especially when you do dynamic scaling or failover or config changes.

But ... then containers and orchestration frameworks became kinda the expected way to do things, even when it wasn't really necessary. A simple, self-contained app doesn't need a container, and many things don't need full-blown Kubernetes.

Containers are good, but only if they address a problem you have.

So far as software distribution goes: if your installation instructions are more than a couple of lines, then you might as well put together a Dockerfile, and make your customers' lives easy. And be quietly thankful that we're not distributing VMware images any more :-)
Is QUIC really worthy of the over 9000 meme? I can’t help but feel we wasted a once in a lifetime opportunity.
You don't have to give up on anything, that's the beauty of Lisp. Here's a library from 1993: https://github.com/quil-lang/cmu-infix

Though personally I don't particularly find (+ 1 2 3 4 5) less readable than 1+2+3+4+5, and since most of my programs don't have math expressions much more complicated than that, even without cmu-infix or alternatives (Maxima is great when you need to do real math, and for other related things I might as well link https://github.com/CodyReichert/awesome-cl#numerical-and-sci...) I'd find the rest of the tradeoffs worth it, much like once I thought despite Python not having i++ or ++i it was still worthwhile. (In Lisp, by the way, one would use (incf i).)
Welcome to whose like is it anyway - the show where everything is made up and the points don't matter
If you could find a CHI researcher to work with it would make an amazing case-study for a research paper, and that would give it some longitivtiy as well as be a good basis for a more compact blog post.
Ah yes, the good old narcissists prayer:

That didn't happen.

And if it did, it wasn't that bad.

And if it was, that's not a big deal.

And if it is, that's not my fault.

And if it was, I didn't mean it.

And if I did, you deserved it
I feel like this is an unfair criticism. We all have pdf readers.

Lack of linux support is only a worthy criticism because appearently portability is a primary design goal and this is going to "replace" linux, but in general that's criticizing the tress for lack of seeing the forest.
Yeah, the h1 article title inside the page changed, but the actual "title" attribute that you see in your browser tab is $5.1M (hence the confusion, I assume).
> they just want to push as many notifications to create that feeling of vulnerability

Sounds like they adopted the business model of the AV industry.
Ah! That’s good info, thank you.

I applied for a job at Verily a while back out of a desire to pivot out of my current industry. Once I got up close to it though I had a little trouble sussing out how they would operate separate from Google, which I think is going to have to be the case eventually. Stuff like this just makes it even harder to see. (edit: I wonder if it has anything to do with patents/ip)

Everyone I actually talked to was great though and I wish then the best.
I think the robot supervising your suspended animation could be a bigger problem.
See, that's the real problem though. If you can reset your password via SMS, then SMS isn't a second factor, it's a single factor. And it's a far less secure single factor than a strong and unique password!
PoolsideFM Is Becoming Poolsuite
Here’s the thing, no, they don’t.

You recently said this to me:

”Part-time Portlander here! You have absolutely no idea what you're talking about. Please stop basing your worldview on Infowars talking points.”

I’ve obviously never seen anything produced by infowars and this was a dismissive epithet, doing exactly the problem described here. You’re one of them. And my point you were responding to was objectively true.
CRTC scraps plan to mandate lower wholesale internet rates
What are the police supposed to do in this situation? If you let them protest unconstrained they will vandalize and loot stores, not to mention block traffic. If you tell them to disperse, they won't. If you try to politely move them they will resist. Seems like tear gas and moderate physical force is completely warranted.

I agree with you that the police are useless in terms of stopping or punishing most crime though.
You can inspect the traffic to the API, but it only sends a hash prefix and returns a list of all matching hashes (k-anonymity). The hard work is done in the client, not the back-end.

https://www.troyhunt.com/ive-just-launched-pwned-passwords-v...

https://blog.cloudflare.com/validating-leaked-passwords-with...
Readlist of NLP Research Paper Summary Blogs and Videos
Just to add to the above, this is specifically when your pages are server-side rendered. Hydration is a concept of taking a server-rendered page and making it interactive with Javascript.

You can have your NextJS/React app server-rendered, and then users visiting a page will get the page. Clicking links within the application will use Javascript routing to load the part of the application that needs to be displayed (and prevent the default navigation from clicking said links). I think in practice it's more likely for users to fall back to default navigation which then relies on full server rendering when they have Javascript disabled, than it is because they've clicked before the front-end router has started working.

Also, before this thread I didn't realize React itself could be server-rendered (I thought that was the distinguishing point of Nextjs). Is it common to use non-next React for SSR?
> again, nothing high danger.

Not having control of the car is high danger. Even when they recognized it needed rescuing they still didn't have control of it.
I assume they were asking how does a non-mod tell if it's flagged so they can report it to you? (aka when it says [flagged] next to it or something, or drops off the front page rather quickly, etc)
Please don't take HN threads on generic flamewar tangents. This is just going to lead to repetitive and increasingly nasty discussion—as indeed it has, like clockwork, in this subthread.

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor...

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor...

https://news.ycombinator.com/newsguidelines.html
Why Do Scientists Lie? [pdf]
"Trivial" might be underselling it.

Increasing a dog's lifespan by 5 years is massively noticeable. I've never seen a 20-year old dog.

Adding 5 to a human's health is beneficial but isn't nearly as noticeable.

This is ignoring the magnitude of differences between dogs and humans. They're mammals, sure...

I can't recall just how many "successful trial on rats" stories have we gotten on HN that have to be tempered by reality in the comments.

Edit- As a dog owner myself, I'm also hoping the OP succeeds of course! Nearly every day I have a "memento mori" thought about my pet, and it's extremely depressing.
That's exactly the point. It was a dark matter hypothesis until they found out it wasn't actually matter. Physicists couldn't go back in time and tell themselves, hey, this isn't actually matter.

By analogy suppose we find out in 35 years that some non-lambda-cdm, non-particle theory is correct? It would be revisionist to say we didn't believe in dark matter today.
Please don't take HN threads into generic gender flamewar. It's tedious and repetitive and inevitably nasty—not what this site is for. We want thoughtful, curious conversation about different things here.

https://news.ycombinator.com/newsguidelines.html

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor...
I've worked with a million lines of C++ code written by a guy who doesn't understand C++. There's a 10k line loop that's "Unabstractable" according to my former boss. Everything stored custom linked lists, even trianglated meshes. Copy and pasted code everywhere. Maybe I should leave the organization.
Is there a way that I can multiply cells like in Excel?

EDIT: I mean like this:

=col_name[row_number]*col_name2[row_number2] all within a completely different cell
Is this really about syntax? I think this is about homoiconicity. But homoiconicity is NOT the same thing as parenthesis, (or brackets as here)! Homoiconicity is not a (concrete) syntax issue, it's an AST and semantics issue in my view.

Why are we so hung up on the superficial details of the syntax. Can't we just have an AST spec with bijective mappings between different human presentations? Editors already do color coding for us and people use different fonts for their code, but flamewars about what colors and fonts are quite rare. I don't see this as anything fundamentally different.

Is it somehow difficult to accept that different syntax may map to identical AST? Lisp is intentionally syntactically very close to its AST and I find this elegant. But why are we so hung up that the human interface for this has to be parens? Are people confused somehow that wanting to use different syntax means they want to change the language? Even if it no way forces people not to use parens if they want. Can't "the language" just be the AST?

Am I overlooking something? I find this to be an almost trivial solution to many many neverending flamewars. I personally don't like parens because I want computer to do what it does best, which is doing routine churn like matching up parens. I don't mind if somebody else wants to see the parens. Why should I mind? The computer doesn't care at all. Multiple people could edit the very same code, one with parens, one with brackets and one without either (e.g. significant indentation).

The EMACS solution is paredit or something where the editor tracks the parens. But why do these have to be there at all if the computer already knows how to track them?

For me this is almost identical issue to C-family semicolons, tabs-vs-spaces indentation, formatting guidelines, the Guido colon, significant whitespace etc. Is this some authority or status or tribal thing or something? Or cultural lag from moveable type era?

I don't get it. Why people find it so important how other people use want to see the superficial syntax? It's like having strong opinions how other people should paint the interiors of their house to me. Or is there some mix-up between form and function and we have different understandings where the separation goes?

BTW, I recall seeing this post before, but it's not dated. As per wayback machine this has been published in 2020, and seemingly just has "repost=true" GET-variable for "dupe-busting(?)". Shouldn't this be marked as (2020) in the title?
> Yes literally never in my lifetime

How old are you?

https://www.nytimes.com/1981/08/17/opinion/housing-boom-goes...

1981:
> A word to the wise: The great Los Angeles housing boom is over. The real estate price explosion in southern California, which sparked a national boom still continuing elsewhere, has stopped. The bubble that everyone said could never burst has burst. All over Los Angeles and Orange County, home buyers can buy a property for less than it would have cost a year ago

Of course, prices recovered. Just in time for the 1990s!

https://www.forbes.com/sites/johnwake/2018/11/02/the-next-ho...

> In real prices;

Boston didn’t get back to its 1987 peak until 2000 (13 years);

New York didn’t get back to its 1987 peak until 2002 (15 years);

Los Angeles didn’t get back to its 1989 peak until 2002 (13 years);

San Diego didn’t get back to its 1990 peak until 2000 (10 years); and

San Francisco didn’t get back to its 1990 peak until 1999 (9 years).
This isn't a "now" thing. Most people and even most policy makers can't fully digest such complicated topics so they rely on people they trust.
Possibly from abrupt drop in rank?

http://hnrankings.info/27307977/
So is the container somehow tightly bound to the configuration / kernel of the machine it was built on? I seem to have some recollection that you have to run the container on a host with the same kernel or libraries or something like that which seemed like a real downside to me.
People mock JSON today. No comments, hideous multiline strings, and weak schema support.
> Sharing code between frontend and backend isn't a bad idea, yes. However, using Json for it is.

I don't see why serializing close to JSON is any worse than doin so to, say, S-expressions, or Algol-style syntax, or WASM.

If you aren't manually coding it, but generating it, the capabilities matter, the syntax matters a lot less.
Please don't take HN threads further into flamewar. Nothing new will come of this, nor anything interesting—just more nastiness. We're trying for curious conversation here.

https://news.ycombinator.com/newsguidelines.html

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor...
If you'll look carefully, you'll see that's a non peer-reviewed opinion piece.

That's a prime example of disinformation, and indeed the most reputable journals unfortunately play a role in it.

Just to rebut the first thing random thing I saw:

"An important controversial point to consider in any rationale is the 5 µM required concentration to reach the anti-SARS-CoV-2 action of ivermectin observed in vitro,17 which is much higher than 0.28 µM, the maximum reported plasma concentration achieved in vivo with a dose of approximately 1700 µg/kg (about nine times the FDA-approved dosification)"

They are bringing up the in-vitro studies initially done on monkey kidney cells, and then claiming that you'll need such a high dose in a clinical setting. The doses for prophylactic and early treatment are an order of magnitude lower (0.2mg/kg) [1], and in that dose it's safer than paracetamol.

"Ivermectin was generally well tolerated, with no indication of associated CNS toxicity for doses up to 10 times the highest FDA-approved dose of 0.2mg/kg." [2]

In my second link, there's a talk rebutting the in-vitro safety concerns in detail: [3]

There are over 50 studies showing that Ivermectin is effective, and more are coming in every day. [4]

1. https://covid19criticalcare.com/covid-19-protocols/i-mask-pl...

2. https://pubmed.ncbi.nlm.nih.gov/12362927/

3. https://player.vimeo.com/video/554350476?autoplay=1#t=4702

4. https://c19ivermectin.com/
Definitely parody
That's a pretty bizarre take considering how incredibly narrow their authority is. The hottest hot takes on this topic all came from elected officials and second-rate professional media.
Forgive me, but I was under the impression the phrase "dark matter theory" can confusingly refer to something that generally explains galactic rotation curves whether or not it's a theory that involves dark matter. What would you call the general category of theories which explain galactic rotation curve deviations?
sorry, but reminds me of this from futurama
https://futurama.fandom.com/wiki/Suicide_Booth
I think there's different scenarios.

1. Someone loses popularity and thus their business suffers from it.

This is totally fine. I'm free not to purchase your books, music, products, services, etc. even if simply because I disagree with you on some things.

2. Someone is fired because people disagree with their ideas or thoughts.

Now this can be wrong and it can also be alright:

2.1 Someone expressed an opinion which respected other people's rights, but where a lot of people disagreed with. E.g.: I think we should invest heavily in the military to defend our borders.

In this case, this is not acceptable grounds to fire them. People have the right to hold and express their ideas freely without repercussions.

2.2 Someone expressed an opinion aimed at the destruction of other people's rights. E.g.: Black people should not be given equal treatment under the law. Women are not fit to work. White people deserve to rule over others.

In this case it is acceptable to fire them, because they attacked other people's rights, and that deserves consequences. BUT not without a fair trial. You still owe a fair trial to prove that they indeed engaged in activities aimed at the destruction of other people's rights. So in this case the person being fired should choose to sue if this happens.
Have you tried D language? The D language author is the same author of Zortech C++, the first native C++ compiler for 16/32 bit MS-DOS. Perhaps if you have any problems in compilation, he probably can help.

[1]http://www.edm2.com/index.php/Zortech_C%2B%2B
If you're building a desktop app, just plain C# in visual studio has an extremely powerful GUI (WinForms) that is fairly easy to use. Lots of widgets abs very good charts and graphs that you can zoom-in on and annotate in a million ways. It's miles ahead of Python (saying this as a Python guy). Click Once means installs are fairly simple (assuming a Windows deployment).
If the virus was man-made, then its release was either accidental or deliberate. Both of these possibilites need to be allowed until disproven. If it was deliberate, then why?
It's fine to point out a relevant bit of the article, but please omit swipes. That first bit of your comment more than outweighs any of the good you're contributing here, and your post would be just fine without it.

https://news.ycombinator.com/newsguidelines.html
Arnold Lobel is awesome. My first grader loves Frog and Toad and the Mouse stories.
A comment section on a blog presents itself as a public space. Does this mean nobody can moderate comments anymore?

Or if the rule only applies to political expression, can spammers just adopt the formula: “I love candidate $X because he buys viagra at http:yyy”

Or, if the rule is that big enough sites suddenly become “town squares”, that seems like a major disincentive to American companies to grow. Others would walk in without these limitations, like Chinese already did with TikTok.
Her Runaway Bunny is great too!
Lisp is Polish Notation but Forth is Reverse PN.

I wonder if the same constructs can be made in terms of the other language.
>> move it to another machine

Just any machine at all? I hear people say things like "move it to another machine" but I'm imagining a whole bunch of caveats are left out such as "move it to another machine wherein W,X,Y,Z must all be version foo and this thingy must match that thingy and in fact no you can't really move it to another machine without first replicating the underlying machines your moving from and to". You can hear my cynicism unfortunately.
Cool stuff. I've been getting into tube amps lately and there's some overlap between audiophiles and radio/tv restorers in that we're all after the same dwindling supply of vintage vacuum tubes. The 6DJ8 tube used in many tube amplifiers was originally made for color television tuners.
> In some cases, that is how it already works in the US: https://www.nlrb.gov/about-nlrb/rights-we-protect/your-right...

Not really. Per your link, employees are protected in a very narrow subset of cases - where what they are doing on social media is 100% protected labour activity. But firing employees arbitrarily for social media posts (outside of those narrow protections) is completely fine. That's completely backwards from how it works in most of the developed world, where the burden of proof is on the employer who must show that the firing was for a permitted cause, rather than the employee having to show that they were fired for a non-permitted cause.
Sadly true, at least in some dimensions. Though as I sit here in my bedroom staring into a massive multipanel array of sharp pixels, attached to a global fiberoptic firehose of information... it feels like a different sort of imagined future came true, though maybe not the best one. All it's missing is VR goggles (never been that interested personally) and hackable wetware.
No sure why it is a big deal? Some people (like Cotton) said that the virus escaped a Chinese lab, but had not hard proofs. Lots of scientists said there are no hard proofs. Then we moved on... until we get more proofs.

Anybody can claim anything including truth, but until it is proven to be true, it would be discredited. In this case, finding the truth with hard proofs is not trivial.

If we find out tomorrow that it was indeed a virus escaped from a Chinese lab, then so be it. I expect from media to find the truth among the sea of noise and misinformation. Sometimes it takes time.

Even if the US gov knew about the source of the virus, back in Feb. 2020, I can understand that they decided to sit on it. Fighting the pandemic was the priority, before pointing fingers.

It would be interesting to see, if the virus was indeed escaped from a Chinese lab, what would be the consequences ? Will all countries would come to some kind of agreement to stop playing with bioweapons ? Or they would double down on bioweapons (e.g. with a vaccine before being released) ? Or do like before, and hoping for the best ?... we gonna wipe us out of this planet !
The web components and the pending state protocol is one of the things I which more people would know about. Listen for change events bubbling up and push down changed values. This does not only apply to single data fields but the entire DOM tree.