skysight-inc/HackerNews huggingface dataset:
>>>But what they don't tell you is their experience level, the context of how they came to believe Y, or really any supporting understanding of whether Y is an actual technical tradeoff that needs to be considered.

Yes, thankyou! I think about this every time I see "Systems are so powerful we can just throw RAM/CPU cycles at every problem, efficiency doesn't matter..." as if everyone on the planet is doing web apps, and there are no engineering/architectural situations that might drive certain languages or design principles. Such as this:

https://www.intel.com/content/dam/www/programmable/us/en/pdf...

I guess I'm just focused on a niche market...
Language support is a bit of a distraction. It's a pattern in languages that have no "official" support for it.

Go find some old C code for doing something like compressing a file. You'll likely find a set of functions where the first or last parameter is always a pointer to some struct or array with the current state of the compression process. If you converted that code to C++, and made it an object, that pointer would be the "this" pointer. The support for objects is just recognizing the common pattern.

Inheritance is similarly recognizing that a lot of code had structs or arrays with multiple function pointers.

The language support just makes those patterns a bit cleaner and less error prone.
> Am I being paid much more than my co-workers? I don't want to know

Then how do you know how good you are at negotiating?

I can assure you your company knows exactly how much other companies in your area are paying for every role. Market participants with incomplete information get taken advantage of.
Brutal. I've seen a lot of people advertise giving birth in bathtubs (or small pools) with just a midwife. Now I'm starting to wonder if that's a response to the high costs of hospital delivery.
I’m concerned you’re grossly naïve if you think this can happen. It isn’t a matter of effort. Yes it will require all of the population to be virtuous, otherwise a single friend, or even acquaintance can hurt someone because of what they know. How is that not obvious? They can mock someone for their preference of beer, or sexual identity, or height, etc to such an extent that they would commit suicide.
I was confused about OOP for about the first decade of my career. I always thought I was an experienced OOP programmer because I had been working with object-oriented languages like C#, Java, and Ruby.

Eventually I sat down and read what OOP actually was. I immediately realized that I'd never worked on a single object-oriented architecture despite a decade of working in object-oriented languages.

I can't stress this enough. Using an object-oriented language does not mean you are building an object-oriented system. If you cannot differentiate your classes from C structs, you are probably not building an object-oriented system. If you have functions that manipulate objects, rather than objects manipulating each other, then you are probably not building an object-oriented system.

This article seems to conflate these ideas in the same way. It seems to say that "the success of languages who happen to be OOP" somehow implies "OOP is still one of the dominant paradigms right now". I don't see any other explanation for that claim beyond this inference.

Based on all the systems I've worked on at various software companies (heavily weighted to SaaS), I would be legitimately surprised if it was true that "OOP is still one of the dominant paradigms right now."

edit: Decided not to explicitly recommend the Byte article[0]. It's good but doesn't go deep enough to get the nuances across unambiguously.

[0]https://archive.org/details/byte-magazine-1981-08/page/n75/m...
also require the Public Defenders to get at least the same budget/funding as the DA
It can be, eBay has HDMI physical switches for like $8. Your computers will see it as a monitor unplug, though, and do fun things with adjusting windows/icons/resolutions, and then have to re-handshake on every switch. Not a blocker, just a pain.

I'm also not 100% sure if it'll freak HDCP out.
> Software engineers and program managers are not powerless, uniform skilled, replaceable cogs. You have unique & distinctive value.

I beg to differ. Most companies treat their IT employees as exchangeable cogs. Hell, there's an entire offshoring and h1b industry built around that fact, not to mention local dumpsterfires like Accidenture.

> yet people still act like they're forced to put in 70+ hours a week in a coal mine boggles the mind.

Well, many of us work 80+ hours a week and are happy because they're allowed the honor to work for SpaceX/Facebook/Google/... so yeah.
At the multi-gigabit speeds of a modern video signal, the components of a normal mechanical switch are antennas.
Very cool, but what I'd like to get a straight answer on is whether or not all lights/materials in this scene are ray-traced. Some things like the marbles' reflections obviously are, but there are lots of tricks that could be played to minimize the amount of other raytracing in the scene. On the other hand, if a scene with this high of a poly-count is 100% raytraced, that sets a dramatically higher bar than what's come before (the best that I've seen previously was the Quake 2 demo).

Edit: To be clear on what I mean, for those who haven't been following this stuff, most "real-time raytracing" that's started to crop up in real games over the past couple years has been limited to only a subset of lights/materials. A particularly shiny shield, a campfire, etc. And then the rest of the scene is rendered the traditional way. Even with Nvidia's dedicated hardware we can't (yet) just slap raytracing on an entire game and call it a day. But this demo makes it look like we may be much closer to that goal than I'd thought.
Games also have the particular need of being rather database-like in their usage patterns(lots of filtered set iterations), which makes it harder to apply OOP as a whole. OOP likes interfaces, but games are often dealing with aggregates. My observation's that pushing the indirection down to the callsite has the effect of making it easier to view what's happening in terms of concurrency.
Less destroying the world by harvesting user data and integrating ads as part of the operating system?
qBittorrent has a built in tracker for private torrents https://www.ghacks.net/2019/09/20/how-to-create-a-private-to... this method will also not leak information into the DHT though 99% of the time you don't care about that.
It's actually very popular in the JS world these days
A lot of it has to do with the electrical properties of such a switch. Even older versions of DisplayPort have massive data rates, meaning each electrical signal switches many millions of times a second. Also, each signal may have to switch states close to the same time as the other signals, meaning there needs to be some sort of matching between the different signal paths.

Add in noise sources from the power supplies, your cell phone, and other sources, and it becomes a challenging physics problem. Not to mention, you don't want those signals leaking out either. At these data rates, wires are both transmitting and receiving antennas.

Switches are inherently very mechanical devices, so designing one that can operate in these conditions reliably would be both complex and expensive. Much easier to have some silicon do it for you.
I personally don't like inheritance as it is implemented in Java/C++. To me it feels like terrible default way to design a language so that methods can be shared between structured data types. It's certainly useful in a lot of cases, but I don't think it is in the majority of cases.

Traits feel more natural to me. Instead of needing to make a subclass of a data structure to attach a foo method to it, you can define a collection of foo methods with the same name and pick the runtime implementation based on data structures passed to the method. I understand that this six of one, half dozen of the other, but I do prefer it this way.

Granted, this is not something OOP does "wrong," and you can use generics to accomplish a similar thing, so it's not that big of a deal.
reminds me of the scene in Barbar:

https://100bookseverychildshouldreadbeforegrowingup.files.wo...
Lucid Motors beats Tesla with 9.9-second quarter mile becoming fastest EV sedan
If we are going to assume that the term 'Web APIs' doesn't presuppose W3C standard-track documents at a minimum, rather than just "the W3C has a document on this", then I think it's safe to say that we are more interested in being argumentative than in communicating.
I think it isn’t often said that one reason a lot of these classes work in haskell is the lazy evaluation (or arguably the pure functions allowing the compiler to inline things and skip evaluation).

You can write monoid and foldable interfaces in java but in haskell finding the head of a list with a monoid and foldmap is constant time (and the first or last element of a tree is logarithmic) but a java implementation would be linear.
Very much been around forever. The PBA cards are common in NY and NJ, where cops are basically a legalized mafia. In areas where PBA cards are not the norm, a simple business card with the officer's signature plays the same role.

"If there's a problem, you can check with my friend Officer so and so. Here's his card."
The big problem with school districts is that they are so far down the chain of decentralized government that almost no enforcement exists to make sure the right decisions are being made. Almost every former teenager has a powertrip story involving a school official which is probably against some code or regulation; but the power imbalance between school employee and student makes it nearly impossible for those concerns to hold any weight. Students are also never informed of their rights except for a student handbook at the beginning of the year, and even then there's an implicit expectation that the teacher/principal/superintendent has the right to institute arbitrary rules at any point.

There are most likely illegal policies and activities taking place at every public school in the U.S., and it's not taken seriously because children cannot vote and many parents think the schools ought to be going hard on their kids anyways.
Now suppose the kid who shot the people in Kenosha gets a pardon (I don't know about jurisdiction). What would be the check on presidential power in that case?

I think the pardoning thing is absolutely wrong in the US form, where it is used quite often. I think it's just crazy that you can do something illegal but if you can just talk one guy into it, you are off the hook.

The only case I see where it makes sense is that there's some corner case that everyone can agree on. But then it would involve more than just one guy on his last day in office.
> most mathematicians

Agree, but only on the level on which they do not care about the abstract math (algebra, topology, etc.) in general. As soon as you step into the territory of the abstract math, especially where different disciplines blend, such as homology and cohomology, category theory (and its diagram language) helps a lot to clarify things. (Incidentally, a lot of this stuff is now part of the "applied math" as well, having found its way into theoretical physics, for example.)
Can you name one or two of those popular frameworks?

Having state in a closure does not imply that it's OOP, so I'd really like to see those frameworks for reference.
You could still let the states run the elections and remove the Electoral College.

All the redundancy with none of the downsides of the Electoral College.
There’s a reason the founding fathers regularly stated things like

> the Tree of Liberty Must Be Refreshed with the Blood of Patriots and Tyrants - Thomas Jefferson

It’s because the final authority is the people of the country. The constitution is the social contract the government and people agreed to. If broken, the people have the obligations to correct it. That’s not to say some kind of rebellion necessarily. We have the justice system, Congress, senate, etc. when all that fails... that’s why we have the first, second, fourth, etc amendments. It makes it hard to enforce your will all at once when the people have those protections. Each would have to be slowly taken away to effectively take control .
Whether or not this hypothesis is truly correct, it still seems valid and I would much rather take Vitamin D then Chloroquine...
What disabilities preclude wearing masks?

- PTSD (combat veterans, survivors of abuse, rape, kidnapping, etc.) or other mental health issues, facial injuries/deformities, lung conditions.

How does one know that they don't have Covid?

- Testing; recovering from the virus and passing a test.

Do we know for sure that someone who previously had Covid cannot become a spreader again?

- Not much data here that I've found, of course, since it is rare and new. One could be overly cautious because it is "novel" and assume that a healthy immune system could allow reinfection fairly quickly as there have been a few documented reinfections, or look at other coronaviruses (MERS/SARS) and assume that is more likely to take months to years to become infectious, after being infected again.
You clearly don't live in a community that likes putting 25 mph signs all over the place.
Yeah, I did use a switcher before I upgraded my resolution.
kreb on security

tao security

exploit db

phrack.org

tor blog

project zero

cloudflare blog

slashdot

theregister.co.uk

haveibeenpwned.com

project honeypot

govt advisories e.g us-cert.cisa.gov
Also you can keep tabs on blogs of cyber-security companies and infra/network domain companies
It's not empty, it's downright hypocritical.

I fully accept that not everything benefits from being expressed in objects, which is why hybrid languages like Python are so excellent. But yes, even if some things don't map, keeping OOP around for things that do makes too much sense to ignore.
I think we see a slowdown in creating of "iconic" buildings in the US because of reasons like this - not just NIMBYism but because there's less need to replace stuff that's already built - but I think you overlook a couple things (in addition to the ongoing construction in NY discussed below):

1) A lot of what makes up Manhattan or SF today won't last forever. Cramming new stuff in is hitting points of diminishing returns. But as those buildings get more and more aged and/or obsolete, there's gonna be a higher need that doesn't exist today.

2) The Star Trek time frame is really long! NIMBY's a hundred or two hundred years from now will probably have very different tolerances for what they'd be willing to see created.
To be honest, speaking as a transplant, it is really great up here. We moved from Austin and haven't regretted it for a second (and the whole family loved Austin too). Instead of having a miserable summer that lasts from April to October, we have a miserable winter that lasts from November to March. Taxes are about par, government is (imho) quite a bit more sane, the job market is broader and deeper, public schools are better, and the scenery is gorgeous when not hidden by clouds.
> Unlike HTTP, you get reasonable retry behavior on network hiccups

Seriously. Zmodem/resume was doing better in 1986.
David and Michael Spivak are not related
You do realize that California's strict gun control laws were passed by Reagan right?
IIRC Intel does similar but way more advanced automatic deskewing black magic in the thunderbolt controllers. That's how they can carry high speed PCIe signals so effortlessly across your average copper cable(it was originally supposed to be optical).
Our society hasn't figured out how to punish organizations, whether businesses, NGOs, religious groups, or government agencies. Past a certain level, fines don't cut it—you need existential threats.

We need "prison" more often for misbehaving entities; that is, a prohibition on operating for the duration of the sentence.

"But what about all the people who will be unemployed?" Exactly, that's part of the incentive not to mess up.

"You can't shut down the NSA for a year, what about the commies and the terrorists?" Yes that would be bad, so make sure it won't happen. #Incentives

Nothing is too big to fail.
That's basically what I have: extension cable from monitor to front of monitor and HDMI cable from device to extension cable. So worst case is I have to replace either the extension cable or the HDMI cable. Either way, no biggy. I guess I wasn't clear that when I said "I plug my devices in", I meant a HDMI cable that then stretches to the actual devices, so they don't need to be at the monitor (eg my PS4).
Did you read the rest of my comment? 3 such explosions plus another on a bus failed to get 60...
Ah, wasn't showing up on mobile
Very good point independent enforcement would need to be part of any solution.
A model and therapeutic interventions for Covid-19 involving bradykinin storm
Has this already been used in production ? Apart from the fact that it's generated on the server, which is probably a deal-breaker, IHP looks like a killer framework for web-development in Haskell !
transmission is pretty complete and easy to use
I assume by first sentence you mean the statement that "That is how we get software that is riddled with security issues"

The argument is that you assume that the minimum value of code is zero, so that any code that ships has to be better than code that doesn't ship because at worst it is worthless, which is the same value as code that doesn't ship.

My point is that bad code can be worth less than zero if it actively causes harm. So for example, code that has a critical security vulnerability which leaks personal information is worse than nothing. You would be better off not shipping anything at all than shipping something that causes actual harm.
Japanese "burned over 200,000 Korean historical documents"

https://www.history.com/news/japan-colonization-korea
> No one is forcing you to be a US citizen ruled by Constitution, namely after an adult legal age.

Rejecting US citizenship is difficult and costly, this places it practically out of reach of most US citizens
Very cool. Will this only work over HDMI?
I disagree, but I would agree quite strongly if it were just the first three paragraphs, with all instances of "OOP" replaced by "imperative programming."

OOP really hasn't been given a fair shake. On the academic side, people figured out pretty early on that OOP doesn't mix well with an imperative programming style. It undercuts the basic idea, same as for FP. But the siren song of multi-paradigm programming is hard to resist. So the tradition of OOP that started with C++ (and ultimately displaced what the academics were working on) was basically an experiment to see if you can improve the flavor of cow pie by mixing it with apple pie. It turns out, no, not so much. You don't really make the cow pie any better, but you do make the apple pie much, much worse. Unfortunately, few people realize it's even possible to do OOP without all the BS (pun intended). Most of us have never known anything but this tradition that basically ignored everything that happened during the 1970s, rolled the universe back to the state of the art as of Simula 67, and took over the world by reassuring managers that nobody was going to try and take away their precious lowest-common-denominator imperative code.

I mentioned elsewhere in the comments that Alan Kay once stated, in so many words, that to him encapsulation was about getting away from an imperative, stateful way of doing things and moving toward a much more declarative style of programming. Being able to do that was a key strength of his formulation of OOP. And it's hard to deny that he was on to something. What his lab was able to accomplish, in so little time and so few lines of code, should be enough to give anyone pause.

But OOP is now strongly associated with bloated and sprawling codebases, not smaller ones. And enabling people to rise out of the imperative programming tarpit and adopt a more declarative style is now commonly cited as a key advantage of FP over OOP. Clearly, something was lost along the way.
> The whole reason the west was successful is because people can go about their day without having to worry about nominal costs of corruption in day to day life.

And I think that is still the case. Get outside, go talk to people, in the real world there is plenty of faith in our institutions.
I'm not taking a position on the broader question, but the blithe "it must be worth it because people pay for it" is simplistic to the point of being wrong.
And through gzip/zstd/etc if you want compression!
I hoped for the actual switch schematics :) .

Offtopic: I wanted to buy this USB switch, but it's hard to get on the current market in my country (or available for an absurd price). So I started trying to build my own... which was fun, but then I understood I need a some USB/MAX chips that are also hard to find, and started to cause me frustration instead of fun, because I'm not really that good with low-level electronics, university was a long time ago. And I was still without my switch/hub. So at the end I just chose a 3-pole double-throw toggle switch and a couple of USB connectors and wired them up. I only need to switch my keyboard, because my mouse is multi-device. If I need more, I'll just wire a hub to it. Work is in progress, but it can't get simpler than that.

If you're wondering what got complicated, well as far as I read and understood, actually breaking a USB connection with solid state logic is kind of a pain in the neck if you want to stay within the USB parameters, at least for an inexperienced designer like me. And you need to build the power supply for the circuit, and I didn't want to introduce an external power supply, I wanted to piggyback of the USB source. Something this ugreen product does not do. So I left this project for another time, when I freshen up on my perished knowledge. A mechanical switch just switches the lines and that's it.
Strong agree, take that extra payroll and give it back to the cops willing to stick around and make it a respectable job again.
Why is OOP still so widely spread? Because everyone loves it. Other paradigms, such as functional, are as old as OOP, but OOP won because it is awesome.

The premise of the question "If everyone hates it..." is invalid.
OVH is great if it’s not business critical! As the semi-official safe haven of piracy in Europe, OVH’s network has uhh...seen better days.
Nah, unix nerds don't care about data corruption. That's the responsibility of some other layer, so by definition we're not in trouble if the whole thing blows up by our own negligence.

Checkmate, rsync.
Yeah, fair points. Every now and then I have to stop/start Synergy for it to work. Since my mouse/keyboard remain connected to my Windows machine, it can act as the "server" and issue the DCC to the monitor to switch when my key combo is hit. So I only ever run it on the Windows box.
My take: oop ain't that bad after all. Functional programming people are actually just a very loud minority. Everything has drawbacks.
Free unused Google Drive

Some times I'll have to open the file in a hex editor and change the hash if it sets off copyright restrictions.

This is a 10 gig limit.
While the other hand is happily building Putins pipeline despite almost whole EU opposition https://en.wikipedia.org/wiki/Nord_Stream#Nord_Stream_2
Thank you HN for pointing me to this! It still exists on the internet of 2020, innocent creative brilliance with a nice dose of humor, not spoiled by commercial interests. This almost feels like the internet of yore
Why wouldn't you?

Those lunatics aren't being reined in, in the US at least, because not enough people are willing to step in.

So, yeah, being angry at you, because you're enabling this with inaction is a pretty reasonable thing.
True, Fagles sets a mythic tone and then occasionally destroys it with idioms like scot-free. I can't tell you how jarring that is.
exactly. "every language but one dying" is not something that could (much less should) happen all by itself.