skysight-inc/HackerNews huggingface dataset:
I find it's more helpful to think about these labels as regions in a continuous multidimensional space. One such dimension is im/mutability, and you have languages like Haskell that exist on an extreme of that continuum and then languages like Java which exist nearer an opposite extreme in which mutability is common, and languages like CL where mutability is permitted but relatively infrequent. Similarly, another dimension is the frequency of inheritance, another is the aggregate cleanness or spaghetti-ness of object graphs (I'm sure there's a mathematical term for this), and so on. CL permits some mutability, but it pretty clearly belongs to the cluster that we typically call FP, and while definitions for FP do label slightly different but largely overlapping regions in this multidimensional space, there is relatively little variance.

OOP on the other hand is very poorly defined. There is a tight little cluster of languages which are commonly called OOP, but the defining features of that cluster are generally negative so "OOP proponents" began arguing that while those languages are OOP, the things that unite them aren't actually defining characteristics of OOP. Advocating for other regions in this space for which to apply that label is problematic because they either exclude other traditionally-OO languages or the described region overlaps too much with the "functional" and "data-oriented" regions (one can retort, "per your definition, Haskell is also an OO language"). So in their loyalty to the term, "OOP" proponents instead make arguments about what doesn't define the language (note that not all proponents make all of these claims):

* OOP may or may not involve inheritance.

* OOP may or may not involve message passing.

* OOP may or may not involve a high degree of spaghettiness in object graphs

Ultimately they'd prefer the term be semantically useless than useful and negative.

Ironically, the only thing that unites all OOP advocates is a fondness for the term.

I do invite OOP proponents to prove me wrong by coming up with a common, semantically useful ("meaningful" in the formal sense of the term) definition that describes all traditionally-OO languages and generally excludes most data-oriented and functional languages.

Note that a common rebuttal is that you can write bad code in any language and with any paradigm, which ignores that the claims are about the frequency and not a binary proposition about whether or not the language precludes a particular anti-pattern. The extent to which a Java program doesn't exhibit the criticisms above is the extent to which that program is not OOP, and very probably data-oriented or functional in nature.
Fitting musicke for these times of ye plague.
Looks like 50x to me. https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

Taking 27 milliseconds just to start the interpreter.
This is great.

I can picture a group of medieval brutes sharpening their blades around a fire listening to the toxicity version, getting amped up before a castle raid.
This is very close to writing FP code in an OOP language.

Immutability is more of a core FP concept, than an OOP one. I guess the point is the categorization of the language you're using doesn't necessarily commit you to programming in that paradigm.
Ouch, I also went to a level 1 trauma hospital after I got hit on my bike (no head injuries, but broken pelvis, femur, vertebrae, ribs), but Kaiser covered almost all of that (to the tune of $250K). I ended up with maybe $40K of out-of-pocket, and recovered that in the insurance settlement (Kaiser even agreed to only take $125K of the settlement, which was friendly of them). Not the best lottery to play, no matter what, but I'm sorry to hear your experience was so terrible.
18 U.S. Code § 242.Deprivation of rights under color of law

Is pretty close, but requires that it be for reason of the person being a certain color, of a race, or an alien, and that the violation be of a nature otherwise unascribed to a citizen. You'd have to be exceedingly loose in interpretation to use it, or well within levels of niceness. However, the desired regulation you're looking for could be achieved with the deletion of the race/alien/color part.

You don't even have to ditch the as prescribed by law for a citizen piece because unconstitutional laws are deemed so from the moment of their enactment.

https://www.law.cornell.edu/uscode/text/18/242
It's the number of children each node can have
" not all having to stay for the entire hour,"

No F that. If everybody (or their benefactor) is paying literally paying $666 (no joke thats what 40,000/60 equates to) everytime they show up to class, then everybody and their mother who decides to open their mouth can stay for the full 60 mintutes to hear the same stupid questions asked and answered over and over again.

Thats the minimalistic price of having socialism/marxism show up on my favorite programming language golang.org thank you very much.
Using a literal switch or multiplexer would have the link disappear, so switching causes ~5-10 seconds of delay, assuming the machine doesn't crash or hang because somehow that's okay behavior for computers in 2020...?!

Additionally: The DisplayPort spec mandates that operating systems have to throw a huge temper tantrum and garble your desktop and windows when you disconnect or turn off a display. (Yes, nVidia and Microsoft consistently deny implementing an option to turn this utterly braindead behavior off, saying that it's not a bug, but intended behavior because DisplayPort and VESA say so).

What KVMs instead contain is similar to the rescaler ASICs found in a monitor, they receive multiple streams of display data and mix/forward/scale one of these. But since they constantly receive all of the streams, switching can be instant, or at least as quick the monitor can modeswitch (which, for some reason, takes screens at least a second).
I think I am! Through convergent evolution at least - I hadn't found essays explicitly advocating it at the time.

My use case was comparing results from chains of Spark RDD & Dataframe transformations, so having fairly large realistc input/output datasets was part of the game, and the main reason that manually writing all expected results wasn't feasible.
In Croatia as well :)
This article is bonkers.

I have always thought that BioShock was pretty far fetched untill reading this article, now I'm thinking that scientists if left unchecked would do all kinds of crazy stuff just because they can.
Remember to save these articles locally instead of relying on a single web site to preserve them
Man Inherits Treasure Trove of Unseen Street Photos from His Grandfather
Polymorphism does not really depend on inheritance. Go is an obvious counter-example.

Also, it isn’t like OOP is one programming paradigm. It is several that make up one region of a landscape. And within each paradigm there is room for styles.

Finally, if X is better: then ask instead how you (yes, you) will make other people use, and like, X. People change languages because they find something that helps them achieve goals.
Portland Police Bureau latest in U.S. to encrypt radio communication
Original title was too long:
“Despite push for police accountability, PPB, local agencies latest in U.S. to encrypt radio communication”
This is absolutely not even close to bleeding edge. I am frankly surprised it wasn't made in an art tool.

The manvsmachine video IS what we're starting to reach in terms of quality, even on mobile. (Admittedly cutting a lot of corners, but realtime is 99% cutting corners :)
Dell UltraSharp quad-display U4320Q Review
Are other keys (e.g. Fn) mappable to the special keys? Maybe you could work around it by setting e.g. F1-3 to F1-3 + Special1-3, and then input switching on F1-3.
Semantically, hashes are supposed to be used to point to different parts of a page, not to different pages. I'm breaking semantics. Lots of pages break semantics this way, though. It's a way to hack around being able to change the URL without a page reloading. That's worse for semantics, but better for performance.

It can cause issues if you're not careful. For example, if I change just the hash, the page won't reload. On the other hand, it's not hard to be careful. You listen for hashchange events, and when one comes, you reload the body of the page. Of course, the upside is that it's a lot faster that way. I don't need to refresh the whole page. I just grab a small markdown file, render it with libraries already loaded, and dump it into a div.

There are also minor issues around a11y, and around web crawlers. Again, you just want to be a little bit careful. And if you're doing this for yourself, you probably don't care about a11y or web crawlers.
Qualified immunity only applies to civil lawsuits.

The real problem is the prosecutors are tight with the cops and will never bring criminal charges against them.

Take that one cop who shot the woman in Minneapolis by accident. He was sent to jail. There was something different about that case I can't quite put my finger on.

https://www.nytimes.com/2019/06/07/us/minneapolis-police-sen...

(Edit: typo)
Well, their authority to kill comes from the gov’t, not the police force itself.

If they kill someone they shouldn’t, then they get in trouble (yes, I know not always).
It is a crowning achievement of a life spent developing many other important drugs still in use. She almost certainly didn't do it as the only woman in her lab but she was at the front of getting women recognized in the field of biochemistry and drug development. Nothing of what I said should detract from her achievement, in fact the title seems to miss that she did something quite a bit more important prior to this particular achievement.
I'm aware that dense cities are not automatically more sustainable.

Seems like you're under-selling density here.

A dense city may not be automatically sustainable but it seems logical that denseness would be necessary to create a much more sustainable city than today.

Oppositely, there is degree of sprawl is almost automatically unsustainable, in ecological and economic terms.
It's hard to describe due to differences in school systems across countries and continents. But in my country it's called a "vocational college" it's 5 years long and ends with a diploma. After that you typically get a job or study at a university. It's also specialized in a particular discipline (in my case that's "programming and software engineering" other schools offer chemistry, agriculture or metalworking).
Or garbage collection:

> The real significant productivity advance we’ve had in programming has been from languages which manage memory for you automatically. It can be with reference counting or garbage collection; it can be Java, Lisp, Visual Basic (even 1.0), Smalltalk, or any of a number of scripting languages.

https://www.joelonsoftware.com/category/reading-lists/top-10...

(Grep for "Automatic Transmissions Win the Day")
Is this the end of the 'about page'?
I recently had a life changing experience. It goes counter culture to product market fit theory. Having spent two years testing product ideas, I was stuck with no traction or connection to any originality. Trying to engineer and force out solutions to make it in startup land and keep up with the tech joneses. I hit the wall.

Until I encountered a 'Personal Brand' that literally shattered everything it is to have a personal brand / about you page / personal website. For the first time in my life I don't cringe at the notion of personal brand. My product was born out of this encounter. 'About you' pages will never be the same after you read this https://storytella.io/thestorytellastory which was inspired by this https://thekanyestory.com/. Both are 15 minutes each read. Highly scalable, deeply meaningful. I am confident your mind will be blown.

I challenge everyone in Hacker News to write their own personal story as if their life depended on it. Whether you ever publish it or leverage it for public use is up to you. The process itself may just take your breathe away.
AEYE Health develops AI-based retinal screening with fast results
This reminded me of the mail coaches in express trains of India. Some train routes still have a mail qualifier in their name. Mail by rail.

https://en.m.wikipedia.org/wiki/Express_trains_in_India
> Once all your individual deductibles have reached a set value called an "out of pocket maximum", health insurance covers 100% of it.

Keep in mind "out of pocket maximum" doesn't mean what any normal person would consider it to mean. You can (and I have) easily end up having to pay way more out of pocket than the supposed maximum.

That's because the insurance company can unilaterally and arbitrarily decide how much of what you end up paying out of pocket they actually credit towards their tally of "out of pocket".
Does the encryption used protect the Portland police from DHS eavesdropping?
A few years ago, there was a Westerner who got together with a couple of Japanese craftsmen and started producing ukiyo-e -- Japanese woodblock prints -- of Super Mario, Link, Samus, and other video game characters rendered in a traditional style with the hope of reviving interest in the style.

It turns out that ukiyo-e's popularity waxed and waned over two centuries, with art audiences getting bored of it until some new artist found a way to make the medium contemporary and relevant again with new subject matter. So, far from trivializing a great Japanese tradition by associating it with material from his vidya, he was keeping it alive the exact same way Japanese artists kept it alive over the centuries.
I recently bought a Philips 346b1c (34" UWQHD with built-in USB C hub + KVM) and the use of DDC/CI to tell the monitor what input to switch to could come in super handy here.

The display is very good at automatically switching KVM based on the selected input, but the selection still has to be done with the little buttons underneath the screen
> the constitution isn't a founding document. There was that whole Articles of Confederation thing.

This isn't a nitpick, this is simply irrational. The Articles of Confederation were the founding document of an institution called the "league of friendship," and although the Constitution inherits ideas from the Articles, they have no legal bearing on the latter. They're out of scope.

Meanwhile, the Constitution literally constitutes the foundations of an institution called "the U.S. federal government" which, discounting some rather academic Theseus' Ship arguments, is what governs us, today.

The constitution was no the first document written on this continent, but it is the last document in which we've invested our collective institution-reifying intention at the national level.
....what? I have read through your comment several times and it is non-sensical.
While that's true historically, SmallTalk has more in common with some functional languages (like erlang) than it does with even Ruby, which is directly a SmallTalk derivate.

I think when everyone talks about OOP today they mean the lineage that descended from C++, which broadly is: Java, Javascript, C#, Python, and Ruby, to a lesser extent Go.

Contemporary OOP is the enforced semantic association of data with their methods, encapsulation of private data, and shared memory.
To be honest it probably comes down to being a non trivial problem to get it to be perceptually seamless and a rare enough event that people don't have the incentive to fix it.

Most people aren't plugging/unplugging monitors often
I have one of those bad KVM switches. How do I know which one to buy to have a good one?
The prevalence and prestige of the law profession only started (in the US) in the late 1800s because of the rise of complicated, business-friendly contract law that made highly-trained lawyers a necessity for getting things done. The laws were used primarily to enforce burdensome contracts against workers and individuals, and protect businesses from holding up their end of the bargain.

I'd say that period was likely the birth of the American tendency toward litigiousness. The legal profession exists and is so lucrative specifically because of the shape of government and the law.
Balkan brothers!
Even the best health insurance in the US generally leaves you paying a lot compared to any other developed nation.

I had FAANG engineer health insurance, cracked my elbow. For the exam+x-ray+soft wrap the clinic billed the insurance like $15k, insurance actually paid like $5k and I paid $1k. I received 4 separate very unclear bills from 2 or 3 different sources. That's in-network with insurance considered so good I paid a "cadillac tax" for having it.

I cracked a rib and had identical treatment in Sydney with no coverage as a non-resident (travel insurance reimbursed me later). They told me the costs upfront, made sure I agreed and understood. I paid maybe $400 for the same treatment.

I think people incorrectly attribute it to lack of single-payer though: Switzerland doesn't have single-payer and one part of your insurance is provided by your employer; my partner paid full price for an x-ray there and it was much less than the post-insurance price I paid.
I think your math is a bit off. More than 2 percent of the US population voted in the previous election. Unless you are claiming that 330 million over the entire world population is 2 percent and thus only the people located in America (or citizens overseas) can vote which is and should be true.
Bill Gates conspiracy theories? No way those are true. To verify I'll just go check all the fact checkers he directly funds.
WebTorrent is pretty limited though:

> ... a browser-based WebTorrent client or "web peer" can only connect to other clients that support WebTorrent/WebRTC.

(from https://webtorrent.io/faq)

This essentially splinters the world into the bittorrent and webtorrent halves, which makes it far less useful.
One of the main uses I made https://patchbay.pub for was transferring files to servers/VMs where I don't have easy rsync access. You just need curl or another HTTP client installed.
> There is no social contract based on the constitution. It's just that enough people agree that it has value, so it does.

That's definitely the definition of a social _construct_, if not a social contract, but it amounts to the same thing.
ElasticSearch broke all my nice things (a story of cascading failure)
you are my hero for this comment.
>Microsoft launches a deepfake training tool
How do you verify the chip on a schematic is the chip on the device you purchase?
> Never underestimate the bandwidth of a station wagon full of backup tapes!

The exact quote [0] by Andrew Tanenbaum is: "Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway.".

Obligatory xkcd [1].

I met Andy Tanenbaum in 2008 at Vrije Universiteit in Amsterdam. I was the Technology Evangelist for AWS in Europe, giving a seminar there on cloud computing.

I loved him. Funny, smart. I didn't even know he was American until I met him in person (having studied computer science, you're not exactly sure of someone's nationality solely based on his last name).

[0]: https://en.wikiquote.org/wiki/Andrew_S._Tanenbaum

[1]: https://what-if.xkcd.com/31/
That's a software thing. Most titles that say "the man who" or "the woman who" use the definite article as a clickbait trick so HN's debaiter rewrites them. Occasionally it ought to be the other way and we correct those back.

Btw if you submit a title and the software rewrites it in a way that damages the meaning, you can always change it back using the 'edit' link. Just please don't use that to make it baity again.

Edit: I've changed it again to include the actual name of "the woman" and the phrase that (according to the article) she used to describe her own work. That seems much better than "the woman who gave the world", and also more respectful.
Count me mostly a hater. OOP as typically done (C++, Java) is bad for two reasons:

1. Heavy use of reference semantics prevents local reasoning about code.
2. Inheritance is really brittle. A subclass can break superclass invariants.

I don't think anyone really contests either of those... it's just a matter of how much you can put up with.
Appendicitis can be prevented through dietary choices and the total out of pocket max for a catastrophic health plan is 15k usd at the worst
Even New York City’s Michelin-Starred Restaurants Are Struggling to Survive
Anyone can bribe... if they have the money to do so. Which certainly puts many groups at a disadvantage.

Regardless, the police officer doesn't benefit directly from being shown a "courtesy card", so it's not like a cop is going to pull someone over just for the hope of getting shown one of these cards. But in countries where police bribery is prevalent, police will often stop people who are doing nothing wrong, simply because they want a bribe.

So I agree that these two practices aren't the same, but not for the reason you state. Both practices are awful and disadvantage people who are unable to participate (don't have police friends, can't afford a bribe), but the "courtesy card" garbage at least doesn't create a police-citizen extortion situation.
Please don't post flamebait to HN. We don't need yet another generic flamewar about this stuff.

https://news.ycombinator.com/newsguidelines.html
Pure fearmongering to carry favor with polarized followers of the party, not unlike what Trump does.
The more I used C, the more I ended up using structs as instances and functions that looked like:

void mything_somefunction(MyThingStruct *mything, ...args){}

The weirdest thing was some of the crusty C guys in my group saying "Eww, is that objects?" No, it's maintainable, and it avoids collisions.
Masks and well-designed ventilation systems seem like a reasonable approach.

Btw, there are reasonable arguments that density was not the primary driving factor for Covid in NYC.

see: https://chpcny.org/density-and-covid-19/
In my experience displayport and DVI cables of all brands and prices are incredibly fragile and definitely stop working well soon if you plug/unplug them once too often.

Too often is something like 20-30 times.
“Tort” (insurance’s cousin) is but one of the many gods in the cathedrals people build to avoid blaming hate.
I use a combination of a cheap USB switch and the remote for my 4K monitor (really a 43" TV) to switch inputs. Not as nice as one button press but much cheaper than a high end KVM.
I would really like to hear your opinion about the problems of FRP (for GUIs, in case there are other popular uses). I use C++ and QML, a "declarative" (it's a somewhat fuzzy concept) language, for GUI programming daily. I have a bunch of techniques in C++ to tame mutable state, including use of a quasi-functional style where possible. More... "functionality" seems like a good idea in general, hence my curiosity what doesn't work.
> Reading some comments on hackernews, I often come up on a comment that seems to be speaking another language. At first I'm intimidated into thinking that there's a secret club of intellectuals that understand exactly what this comment is talking about. But then I start to wonder.. is this actually elite minds speaking in a very high-level way with extremely advanced context? Or, is it just some overly opinionated junior person who just assumes everybody is working on the same web tech stack they are, and speaks with that implicit assumption?

I love HN don’t get me wrong, but my coworkers and I like to poke fun at it. Some jokes are “why didn’t you just use rust?” and “Well what did Paul Graham have to say about it?” when debating something. It’s a culture like any other. I would say a lot of super smart people are here, who have deep knowledge on the most esoteric niche subjects, and provide a lot of sage wisdom and advice. But there are a lot of cranks too (including myself!).