skysight-inc/HackerNews huggingface dataset:
> If the only reason is because the language doesn't permit otherwise (like Java) then it's essentially nothing but extra boilerplate. When you write a lot of code, this all adds up. Inevitably, over time, folk will grumble. There are simpler ways to express such things in other languages.

This is also part of why Kotlin so easily sells itself, despite not being perfect, it removes a lot of what you refer to as boilerplate (I prefer the ceremony of Java / some OOP-only languages).
I would really appreciate some examples of oop being "wrong" and the problem solved in a better way. I just don't see why its bad, it makes sense to me. Our lib has classes and submodules with functions. A filetype benefits from a class that contains methods to manipulate said file but other common operation are better put in a function imho.

Just saying "if you are really smart you'll see that oop is bad" just sounds so... Empty.
Congress tries and mostly succeeds in doing this all the time.

https://clintonwhitehouse2.archives.gov/Initiatives/FastTrac...

https://en.wikipedia.org/wiki/Fast_track_(trade)

When was the last time the us congress actually declared war (their job)?
I'm not sure you can consider the US "market based" anymore, given that the government is paying for most of it: https://ajph.aphapublications.org/doi/full/10.2105/AJPH.2015...

I don't know what to even call it. A bizarrely paid for fragmented national health system with a goofy market component?
Yep. That why it's a idiom, rather than a obvious-way-of-doing-it-that-anyone-competent-would-use.
New hires can have inflated TC if they include the signing bonus in it.
3. Most objects embody shared state, and we have reached a point where the consequences of that can be severe.

Object mutability is an attractive nuisance.

Which is a shame because I like bits of OOP.
Another major issue that isn't called out almost ever is that, at least within the context of an object, member variables and methods are basically global, so you never know where the state is being modified. This is especially bad in large classes.
SaaS Marketing Strategies to Increase ARR
> With 20% downpayment...

Where on earth is someone on $150k, renting, going to get £200k in cash?
https://www.file.io/
"It is better that ten guilty persons escape than that one innocent suffer"

Letting some people get away with speeding and other minor crimes isn't seen as an corruption, or something that needs to be stopped. It is also still up to the police to make the decision either way, they can still give you a ticket, flashing a PBA card could make some situations worse.
Both of the KVMs meeting his criteria on that page are sold out (and one is a pre-order as well as being sold out).
Lots of those languages are often not applied in an OOP way, eg python.
So the latest Firefox broke that for me. It seems to front-run my URLs as I type them and if the result is a 404 it sends me over to DDG with my URL as the search. :/ Really, really obnoxious but I haven't taken the time yet to paw through about:config to see if I can turn it off.
Would somebody like to help me understand why KVM switches are so sophisticated? A DisplayPort cable has 20 pins, so why can't it just be a 20 pole switch? (Or 30 pole for two USBs and a headphone jack, etc.)
> That's my understanding, anyway -- correct me if I'm wrong.

Since these are mobile processors your understanding is incorrect. What you've described is what AMD did on the server & desktop side. But on mobile, to hit the power efficiency targets, AMD stuck with the single monolithic die. And it's a decently large one, at that: https://www.anandtech.com/show/15381/amd-ryzen-mobile-4000-m...

So no AMD wouldn't yield better on Intel's 10NM+, not in this case. In the desktop usage they would, as their desktop CPU dies are way smaller than their mobile CPU dies. But the mobile die sizes are fairly equivalent between AMD & Intel.
Haha, this is clever and I like it. You turned what is usually solved on the physical layer to something solved on the logical layer - which is almost always better because you can express conceptual changes much better when you don't need hardware.

It's a small taste of the stuff that software-defined networks have added to networking.
> However, my argument was that, at scale, the difference is massive, and adding speeding cameras doesn't stop cops from pulling people over.

So somewhere along the line you came up with your own point that wasn't mine and argued against it?

Because literally in the comment you replied to:

> Not being able to stop people for speeding and even other minor traffic infractions would remove so much power from them that they consider it a non-starter (having cameras doesn't mean they can't stop people for speeding it needs it's own legislation)

The entire comment chain is about something that has never been done before, using camera based enforcement to replace large classes of traffic stops.

You literally managed to miss the entire point of the conversation yet replied so confidently?

Half the contextomies you're bringing up make 0 sense if you understood that.

Yes they're allowed to pull people over outside those times and inside them, that's the whole damn problem.

You literally don't understand the most basic issue here and you keep replying by quoting tiny parts of a comment and ignoring their context and going "gotcha!"

I'm glad I replied for the benefit of others who might read these comments because it's stuff more people need to hear, but I'm done wasting my time with this.
I've found it just as simple to teach someone a Python codebase, and I do have OOP in most of my python projects, but sometimes I don't and that's okay, because not everything needs to be an instance of a class. D is not as prevalent but I'm certain showing someone around a D code base wouldn't be too complicated.
This is an amazing story.Thank you for sharing it.
If I'm not mistaken, even in Star Trek (at least Enterprise) Marin County has still been NIMBYed and has basically no development.
I use Dropbox to send and receive files that over the email/slack/etc attachment limit. Dropbox has a cool "request files" feature that let's people upload files directly to your Dropbox.

I've never needed to send TBs of data.
Someone can’t just show up and get a restraining order (would be quite handy if so, for prank value if nothing else).

You have to present evidence before a judge, evidence that could be admissible in court. Yes, the bar for most restraining orders is low (often simply the sworn word of the requestor plus some other evidence like police reports or testimony of others), but so is the level of restraint. The key fact is the subject of said order can fight it in open court and the claims or evidence raised by the requestor can be challenged.

One can reasonably argue as to the merits and drawback of such a system but at least they interlock with due process.

But a secret no fly list based on classified or otherwise inadmissible evidence is a completely unrelated and immoral thing.
I asked the same question on HN about 3 years ago[0]. I'm curious to see how the answers have changed and what might have stayed the same.

[0]: https://news.ycombinator.com/item?id=15440571
I worked on this while on the Instagram Server Framework team to leverage LibCST and solve some of Instagram's own problems. We took a lot of inspiration from other lint frameworks (notably, Flake8 and ESLint).

I left the team before most of the work to open source it happened. It looks like a lot of work went into the documentation, command line interface, and configuration system. Congrats to the whole team! I hope this can be useful to other projects outside of Facebook.
Wait a minute. What about China banning Facebook and Google? I mean Chinese government may be evil, but let's not keep double standards here.
> If they were willing to do that, do you think they'd enforce penalties of jail against themselves for their violations? The Constitution itself isn't going to leap out of its case to arrest them.

The people will, though. As I mentioned elsewhere, the final authority in the US are the people who chose their representatives in the government. If the highest level of government decides to break the law, then the people themselves enforce it.
If you get some short extension cables, then most of the wear will be on the cable instead of your devices.
Since credit cards go through the mail, I assume you can send SDs in an envelope for a few cents, right? Fast and cheap. Although this anecdote says USPS radiation scanning might wipe it, anyone have experience? https://www.thewanderinglensman.com/2014/01/warning-dont-mai...
https://tvtropes.org/pmwiki/pmwiki.php/main/unreliablenarrat... also, I guess?
Air Plants
To be fair, the issue is there's no judicial review at all to be put on the no-fly list. That's really the difference between it and a restraining order.
I just switched from a laptop with spinning rust and an Intel Celeron N2830 to a laptop with an SSD and a Ryzen 5 4500U. Each of the six cores is several times more powerful than the old CPU. Now I get why so many developers build sites that were unusable on the old one. Even a JavaScript-heavy site is as performant as a static site now. They don't even realize what they're doing to people stuck on old low-end computers.

https://www.cpubenchmark.net/compare/Intel-Celeron-N2830-vs-...
Y.M.C.A.:

https://www.youtube.com/watch?v=gl7zqpZBVrc

X-Files theme, discovered in a medley:

https://www.youtube.com/watch?v=-t8GFh7Fz5M&t=278s

30 seconds in, Gangsta's Paradise sounds like Anno 1502 background music.

https://www.youtube.com/watch?v=dywM446-vcE
Research team pairs 3D bioprinting, computer modeling to examine cancer spread
According to that link the medical cost of obesity is $147 billion. Healthcare spending in the US is around 3.3 trillion. Obesity is a problem, but it is not the main driver of medical costs. Also, we are already paying for the healthcare of obese people through insurance premiums and taxes. Proper socialized health care would incentivize and allow for more preventative treatment for obesity-related problems.
> What other profession can you kill an unarmed man and be back home for dinner the same day?

Doctor/surgeon? I think most of their patients are unarmed, hehe :)

Joke aside, police outside the US generally can't do that either.
How to Build an Animated Timeline Chart with the MongoDB Charts
How about just seeing if they are carrying a bomb? The additional scope creep reduces the chance of a bomb being detected.

Sure, a trained person can probably kill with dental floss, but nowadays between the armored cockpits and the willingness of passengers to swarm a bad guy the risks of anything but a bomb are pretty low.
>With PAKE the keys used to exchange the data are ephemeral, and so this isn't even a possibility.

AFAIK this isn't really true. If the adversary captures the initial key exchange plus all the data (ie the full transaction), then later discovers your PSK, they'll be able to decrypt. The only case where this helps you is if they capture some packets out of the middle without the initial handshake.

>authenticated encryption

It doesn't matter if your ciphertext is authenticated if it's both signed and encrypted, which is what I was getting at. In a normal TLS-like encrypted conversation, yes AEAD is very useful. But it's not applicable here.
This article is really a lot more informative with synthetic benchmark numbers.

https://www.notebookcheck.net/All-core-4-3-GHz-at-28-W-Intel...

Intel's 4 core parts getting within 3% of AMD's 8 core parts, 20% lead in single core perf.
> are there any keyboard switches that emulate a keyboard correctly instead of just unplugging and replugging the usb connection?

StarTech's KVMs have a rather robust USB stack which handles this situation very well.
GCC 10.2.1 Released
I once sent a huge file over airdrop and was shocked how much faster it was then sending through the local LAN.
Tesla's Secrets to Dominating EV Range – Double Porsche? [video]
Hearing people say that they dislike OOP is like hearing people say they dislike power drills. It's one tool of many, and it has its time and place. I think what most people truly dislike are situations where someone has tried to use a power drill to cut down a tree, and refuses to spend time learning about chainsaws. Building a compiler? Try functional programming. Building a fault tolerant service? Try the actor model. Building a set of reusable components? Try OOP.
Not the same thing IMO. Ignoring the issue of who was allowed to vote in the 1780s, there's a reason why the House was voted on by the people and the Senate the state legislatures. They recognized then the two groups have different interests.
lol... yes, that's SMH level stuff...

how about:

setEnabled(
Boolean(
document.someBoolean
)
)
> you can have your class Cake and EatCake() it too

Cake should inherit Food or Pastry or something and Eat should be made a generic that accepts a base class
In Linux you can probably do it with a script that calls ddcutil:

http://www.ddcutil.com/
Apparently Messages can do screen sharing. I haven't tried though. https://support.apple.com/et-ee/guide/messages/icht11883/mac
There's no choice in a democracy but to have something like the pardon power.

The reason is that we need protection also from the power of judicial branch, which is abusable like any branch with power. Not having a pardon power allows bad judges to throw anyone they don't like into jail with no recourse by anyone. In a democracy, all branches are checked by the others, and this is a necessary check on the judicial branch. It could be done differently (approval by Congress or some third party?), but not having a check is dangerous.
Agreed. Your assessments are at least as commonsensical as Politifact, Snopes, etc.
What smalltalk introduced is not widely spread, which would imply it is not what the title is about.
Three Easy Things to Remember About Postgres Indexes
> This point makes no sense. A properly passed amendment to the Constitution (presumably what is meant by update) can never be unconstitutional by definition.

That's not what I was talking about. Look at the example I used. The Supreme Court declared it was unconstitutional to forbid gay marriage, even though that was the common practice up to that time. So, now we've discovered all the people who were engaged in implementing the common practice were violating the constitution? What happens to them now.

The courts don't examine theoretical questions of legality. Every law that was declared unconstitutional was a law that was passed and enforced, usually in good faith.
Disagree entirely.

OOP is 'widespread' because it is frankly a very powerful (and obvious) way to encapsulate and organize information and function by breaking down said problems into digestible units or 'mini modules' if you will, that also happens to lend well to how humans interpret the world.

Polymorphism is a very powerful tool for adaption.

Far from 'problems at scale' - it's the complete opposite: well designed OOP is generally the best abstraction to use at scale, to the point wherein most of the world's most comprehensive APIs are in fact OOP.

Inheritance is definitely overused, and OOP is not ideal for many kinds of projects, but overall, it's successful because it's extremely useful.

It's 'mid level' Engineers, those who have discovered the foibles of OOP Orthodoxy, who 'develop their own ideas for the first time' who are the most ardent critics. Those who get past that see it for what it is, just a tool, very useful in many ways, not so much in others.

TypeScript has fundamentally better OO utility that Javascript, Dart was developed using OOP, Kotlin absolutely kept those ideas, etc. etc..

Obviously, maybe not the best for a lot of systems programming.

It's 100% here to stay, or at least an evolution of it.
Imagine being angry with everybody for something a handful of fringe lunatics said.
Pwnagotchi was a lot of fun when I was actually commuting to work and travelling through the city and other dispersed areas. Not so much for me now.
You described the semantic difference, not the material difference. Materially, disney is preventing screens of the movie.
Uploading to Sia's Skynet, then emailing or texting the link.
This comment reeks of frustration. Let me tell you, there is nothing "superficial" about being able to communicate effectively about code, or about how systems work. There is fundamental value in this notion.
They could retaliate by preventing foreigners from outright owning businesses in China, or encroach on one of their bordering neighbors, or steal some IP.
Private GH wikis are not available on the free tier
Only a small part of nyc has skyscrapers.
And they are very much not nutritionally complete. Try living on bread and cheese for a few months and see what exciting deficiency diseases you develop!
It's in Lego2. The three visible boxes are The Droid Developer Kit, The Imperial Star Destroyer, The Millennium Falcon.
Make sure to #undef assert before this, and then set NDEBUG and include assert.h again.
Great work ! Thanks !
It's a stretch to think that the main reason that people don't use FP languages is ignorance or an inability to affect change.

I don't enjoy the functional languages out there, at all. I enjoy some functional concepts within an OOP language, but I would be fine with just a pure OOP language if I had to.
"So" is a tell for cognitive dissonance: whenever someone starts their response with a "so", in 100% of the cases what follows is the opposite of what the person they're responding to said. A deliberate misinterpretation.

I'm saying that your ability to deliver is of foremost importance to your comp, more so than negotiation skills (which help, but not replace the ability to deliver). Why? See the first part of my post that you've deliberately misinterpreted. It may seem to you that you can fool your manager, but that's not the case, if they're paying attention.
GPT-3: the gigantic artificial intelligence
I don't think you understand the meaning of "can". It's not a legal term. The use also occludes the active role Disney and other license holders play in the prevention of screening movies.
Could've taken more effort to acknowledge Kelly Marie Tran's experience. She also got tons of shit for being a person of color in Star Wars, and her character was basically shut out of the last movie in the trilogy.
Government officials do face charges when they commit crimes such as abuse of public office. A court decision on the interpretation of the Constitution is not a “ruling that a crime was committed.” Drawing on your doctor analogy, it’s more like new evidence showing that a particular treatment is not as safe as previously believed. It doesn’t necessarily follow that the doctor is criminally or civilly liable for providing that treatment in the past – something more, like negligence or recklessness, is needed.
I believe your hypothesis is not entirely correct. 9 of the 10 tallest buildings in NYC are to be completed between 2000 and 2021.

https://en.wikipedia.org/wiki/List_of_tallest_buildings_in_N...

In Europe, if you exclude Russia from the top 20 tallest buildings, the UK (2), Germany (2) and Spain (2) have the tallest buildings, with the UK and Spain buildings built in the 2000s.

https://en.wikipedia.org/wiki/List_of_tallest_buildings_in_E...
I don't know how much confidence I would put into this, but there is an amazon listing: https://www.amazon.com/M5Stack-Development-Extensible-Contro...
Favorite gets indirectly used when an up vote cannot be given to a post and a thread is what I've noticed, which would beg the question what would happen if those buttons got removed? I think it would be a shame if hide and favorite were removed, it might be a minor feature but I have used it in the past to make it easier to ignore certain posts.
Go is awful about this, because it will refuse to compile your code if you have an unused import.
piping through tar is my "power move" when I want to steer a new recruit. I just do it casually in front of them... depending on whether they are awed or horrified by that, they'll get more hacky or more formal work.
The startup time of the jvm is negligible. This myth keeps coming up. Most of the startup time is Clojure itself.
>Nitpick, the constitution isn't a founding document. There was that whole Articles of Confederation thing.

Let's totally 'nitpick' because the structure that our entire government is built upon the Constitution. "The first, The Articles of Confederation, was in effect from March 1, 1781, when Maryland ratified it. The second, The Constitution, replaced the Articles when it was ratified by New Hampshire on June 21, 1788." [1]

If this 7 year gap is something that's causing you issues, just know that today that we aren't judged by 1900 laws. We're judged by the living document called the Constitution, as it 'replaced the Articles when it was ratified', and auxiliary laws via State/Local govts. But the backbone is the Constitution.

>Congress isn't the final authority of if laws are constitutional or not. The courts are.

In theory, sure. But Dred Scott said one thing (no Black person is free, even in the North) and the people in the North said something else with their 2nd amendment rights.

>What you're proposing is essentially a oligarchy lead by the Supreme Court.

Actually I'm not. A law can (and in many cases, already does) include what appropriate punishments should be for a law that is broken.

> 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 not a social contract. No regular people voted on the Constitution. You don't have the ability to reject it if you don't agree with it.

These statements are entirely false.

1) Your first sentence and your second sentence are contradicting each other. ~'no social contract' vs ~'what a social contract is'.

2) As for the latter two sentences. We vote everyday with our citizenship. You either agree to that living document or you don't by your allegiance. No one is forcing you to be a US citizen ruled by Constitution, namely after an adult legal age. Constitution is just American's structure, it can be changed but within it's already given framework. The country could become a Communist rule of law, if it got ratified, whether an individual liked it or not.

[1] - https://www.usconstitution.net/constconart.html
I like Clojure quite a lot---for a while, it was actually my main language.

Ultimately, however, I largely gave it up because the library ecosystem just doesn't feel quite right to me---at least at the time I was writing a lot in it (2016-7ish), most of the popular libraries seemed to have a very strong refugee-from-Java sense to them, as in, very influenced by ideas more commonly seen in oo-land. For example, people loved to use (and, more importantly, bundle in other projects) libraries like component/mount that attempt to implement ideas like dependency injection and other design pattern/architectural concepts that just... don't really feel lispy. I remember trying to build a fairly simple web application with one of the main frameworks and just having no clue which piece of the hyper-complicated and indirect code that the lein template built for me I'd need to change to debug some problems with the database. Alas.

(To be clear, I'm not saying this is wrong! It just wasn't for me.)
> People who really though it through, and tried different approaches are the ones that hate it and are vocal about it. They see through the folly. They can tell how core principles of OOP are bad ideas. How encapsulation at object level is usually pointless and costly, how inheritance doesn't make sense, and so an so.

You seem confident in this position - can you provide some resources for others to become more familiar with that philosophy, proofs against OOP, and/or alternative approaches to architecture?