skysight-inc/HackerNews huggingface dataset:
Pure functions, polymorphism, inheritance, composition, factory functions, classes... All of those are tools. They have benefits and drawbacks that are circumstantial (they depend on the language, the problem, the time pressure to ship, the skill level of the team, and many more other factors). Extremely successful codebases have been written using almost any combination of those tools. What those codebases have in common is that the people who wrote them understood their tools. So if I were you I would strive for understanding.

In that spirit, it's good that you question what experienced people tell you. What about asking your friend to explain why, at a fundamental level, their recommendation is good? "Always use classes and inheritance" as a hard-and-fast rule is not very helpful.
I find it interesting that people are willing to invent data on the spot to qualify a bias.
It's just a variation of the Normalization of Deviance. See this[1] short talk by Richard Cook for a very good explanation of the mechanism that causes the transition from "robust" to "superfluous".

[1] https://www.youtube.com/watch?v=PGLYEDpNu60
Hey, please explain to me why "Constructions of the booby", or "Atrophy of the titties" are things that should be on Wikipedia? I guess you cannot defend this, so you just change the subject. Or maybe you are a sexist, who thinks that this is ok.

Why do you demand citations when Wikipedia is discussed? For any other topic, you dont demand them, or dont use them.

I guess you are just some common troll, probably a Wikipedia admin. Joke's on me, since I even bothered to reply.
I sometimes wonder about this ... It is very rare for me to have more than 10 tabs open at once per window/monitor. Often just 4 or 5. I close the browser frequently (multiple times a day potentially) and start with a clean sheet each time the browser starts. I feel uneasy if I have 10+ open at once and will regularly groom tabs' ordering, culling ones if they are not something I am working on right now (... or in the next 30 mins etc)

I have seen people at work with hundreds open spending ages trying to find the right tab for a presentation or spreadsheet or log file or whatever. It just feels like the sort of people with "lots" of tabs are the disorganised ones who forget to email you back when they say they will or turn up late to meetings. Are they just disorganised examples, and there are actually organised people that use hundreds of tabes at once?

To people with this many tabs, why do you do it?

The only explanation I've heard is "I'll look at this later" but that is what bookmarks or navigation history or search engines are for?
This is exact story of my grandmother and her sister when Soviets were going trough my home city in northern Poland.

They were not as afraid of Germans as they were of Soviets. Soviets were animals raping, stealing and beating everything they encountered.
Does anyone know what the tax situation is? I know if you are a US citizen you have to pay on all income, no matter where you live. Would you also have to pay Italian tax on top of that? That would mostly make up the cost of the subsidy.
This idea would have been unforeseen a century ago when they were contemplating guano shortages:

https://www.google.com/amp/s/www.atlasobscura.com/articles/w...

It’s fun to imagine a shortage 100 years from now that isn’t even an iota of an idea yet.
Rust makes Rayon's data parallelism magical
Thanks for the detailed comment, and trying to pass knowledge and experience onto the community. It’s these comments that I come here for
Imagine for a moment that, despite all the precautions you yourself take, a clever crook manages to lock you out of some important files and demands a ransom. What do you do? It's easy to say cost is no object, but what if no amount of money, even far exceeding the cost of the ransom, can recover your files?

The attitude that people who are hacked should have taken better precautions and should fend for themselves is a big part of what makes us soft targets to cybercrime. Imagine if we treated murder this way. "Oh, sure, he was killed, but he was walking down the wrong street at the wrong time of day. He should have known better! Let's start an educational initiative to make sure other people know what streets they shouldn't walk down at night!"

We must expect the state to do a competent job of protecting citizens from cybercrime but, in most jurisdictions, governments do not devote adequate resources to this task. That needs to change.

New technology and inadequate response from governments is what has created this bonanza for a new kind of criminal.
It would be more accurate to say that "Psychology is not 'just' a science."

There are areas of psychology that rely on methods that are not scientific, because their subject of study is too hard to approach in a rigorously scientific way (though that doesn't mean it's not legitimate knowledge creation, it just comes with more caveats).

But there are also areas of psychology that can be, and are studied with scientific rigour, such as with similar experimental designs to biology.

As someone who has formally studied psychology, the main impression this article makes is that the author knows very little about the contemporary academic discipline of psychology, and is just a bit arrogant about it.
> What's stopping more people from moving cloud workloads to AMD? Unless you're running a rickety legacy application using Intel features you'll instantly save money by moving to AMD.

Nothing. Unless you're explicitly targeting AVX-512, you don't miss anything. Just move the systems and continue where you left.

Furthermore, first Epyc sold so fast that, it was virtually impossible to buy in large quantities since Dropbox, FB and Google just bought the whole production out, IIRC (we weren't able to buy it, and no big IT vendor sold it under their generally available server lines).
Sometimes yes, although typically not.

It is far better of a deal as an American to get EU citizenship in any EU country. This confers you Freedom of Movement Rights to live/work/retire in any EU or EFTA country, once you acquire the EU citizenship. You will always be seen as “the American” and also so with your American credentials. For Americans, usually the best country to do this is Republic of Ireland, as a it permits dual citizenship and it only takes 5 years to become a citizen.

With Irish citizenship, you also get Freedom of Movement rights to live/work/retire in the UK, unlike other EU passports due to old treaties and ties with the British.

Also, many people on here could work without having to get sponsorship in Ireland as they have the qualifications to get a skills waiver from the Irish government.

Once you are an Irish citizen, you will legally have the rights to work remote-based US-only jobs anywhere in the Ireland, the UK, EU, and EFTA. You just have your US employer hire you on as a contractor and have an Irish payroll company take care of the US (global income taxation) and Irish (residence based income) taxes. Obviously you forfeit Irish workers rights going this and you are subject to US employment law in this case, generally speaking.
This is not really "email provider" but how about hosting your own email server? I'm hosting mine since 2012. This is not one-click thing, you need to understand many concepts (which if you don't know about may result in your emails landing in spam) - so I would not recommend if you just want to have an email account now. I'm collecting my lessons and building a set of podman containers to make the whole thing less of the hassle, I'm thinking about publishing this on github, though I'm not sure if there are people like me who would make use of thing like this.
They could be fooling themselves too, not knowingly spreading falsehoods. A lot of of what we call p-hacking can happen by accident by somebody who isn't very good at statistics or just isn't being careful.
Confirmation of vaccination is a handwritten slip of paper. Requiring them is security theater. Anybody who wants to go to the bar will have no trouble going to the bar.
It's also a bit of a short sighted, if verging on arrogant viewpoint. I thought the whole ethos of FLOSS (I did check the license which is a 3-clause BSD) was to have choice? Adding another UI toolkit to just a handful existing frameworks doesn't seem like adding to an already overcrowded space.

Sure Google might discontinue their interest but it can be forked and carry on if there's enough momentum.
Did the sardines ever win?
These objections may seem relevant to your personal experience, but they don't pertain to the case at hand, for which ample context is available.

Dealing with responses from people who've rushed to write something without bothering to properly consider the problem is, of course, internet 101, but such answers generally take the short road to content oblivion.

For those answers of any quality, however, note this: if people are answering, for free, on their own time, questions that you don't think you asked, but they evidently do, then consider taking some personal responsibility for that outcome. Complaining about it would seem wholly entitled and ungrateful, and unconstructive besides. If they are well-meaning beginners, coach them: it's how the stone soup gets made.
Probably a nice article, pity that Latimes doesn't let one read it to the end.

> Like what you’re reading? Too bad because here is a SUPRISE MODAL CALL TO ACTION, sucka
> the increased value of their home basically doesn't affect their life

Yes it does. They don’t have to move. The people who aren’t rich and haven’t been able to own real estate have to leave the area when property values skyrocket.
You can have a very low level of understanding in a language, as in no more than a few hours of experience, and understand what people are talking about. You don't get the details or have the most basic conversation, but you can piece together the few words you understand.

It is a cautionary tale: never assume that because someone doesn't speak your language, he won't get it if you are bad mouthing him.

Here "blah blah, Stallman, blah GNU blah blah gnuplot" is enough for some not skilled in blah to understand what is going on.
Do you think Amazon would just exist if Bezos didn't do what he did?

Do you think groups of people spontaneously collect in ways that produce more value than they cost to exist? Even if there is no way to benefit from it individually at scale?

If you do, I can understand where you are coming from - it doesn't line up at all with my experience or extensive datasets I have, but I'd understand it.

If that can't just happen, then how did he not earn it?
It's all their lean manufacturing concentration. Inventory is anathema to lean manufacturing and should only have a little bit of anything extra on hand. It works well when everything is running smooth, but in a pandemic shit is going to happen and now they have to pay the opportunity cost. Car purchases are fairly elastic and they'll make up for it next year though but the "quarterly" mentality of WallStreet likes to make mountains out of mole hills.
Look... we filed notice. It was on display in the bottom of a locked filing cabinet stuck in a disused lavatory with a sign on the door saying "Beware of the Leopard".
I’ve literally not once got one of those pop-ups you described on my 8GB 2015 MBP. Not saying your point is invalid, just saying there’s a lot of professionals that don’t require more 8GB of RAM.
I'm not sure why this is getting downvoted, because even Wikipedia acknowledges the issues with its contributor community.

Years ago I had a friend who worked for Wikimedia Foundation and was very enthusiastic about it. That optimism didn't last for long. He left after a few years citing WF's messaging style of "holding the content hostage" during fundraising drives and the established, exclusive contributor community that, more often than not, would drive away new contributors with snippy responses and arcane editing rules.
Prediction and Ockham's razor. "Explaining" is nothing more than hitting someone's head with verbiage until they capitulate.
I usually just eat them straight on a cracker or toast, maybe with some mustard or mayo or some other nice spread
Kind of like physics?
> "One source of concern for Ms. Gates was her husband’s dealings with convicted sex offender Jeffrey Epstein, according to the people and a former employee of their charity, the Bill & Melinda Gates Foundation. Ms. Gates’s concerns about the relationship dated as far back as 2013, the former employee said."

I would say "good for her" for being one of the very few powerful people to act on their concern over Epstein, but... she waited until it became public, so I'm not sure she showed any moral leadership here.
That does seem like a promising place to start, thanks. It doesn't seem to have a built in way of pushing the logs (or reports) to a central repository, but that shouldn't be too hard to implement.
I don't know why such a short, lightweight, 9-year-old article was plucked from the past and upvoted 50 times onto Hacker News' front page.

> Happiness research is a great example of why psychology isn’t science. How exactly should "happiness" be defined? The meaning of that word differs from person to person and especially between cultures. What makes Americans happy doesn’t necessarily make Chinese people happy.

I would say that the specific cause may differ but the feeling does not. And even the differences in the causes are exaggerated. Sushi may make you happy. A cheeseburger makes me happy. In both cases, our favorite food makes us happy. Paris makes you happy. London makes me happy. In both cases, our favorite city makes us happy. Our parents fighting would make our childhoods unhappy, though the particular individuals who fight would differ. Interests shared with a mate, studies show, makes a marriage happier, though the particular interests may vary from couple to couple.

Yeah, it's hard to measure concretely. But even the most concrete sciences, like physics and astronomy are squishy, just ask quantum physicists. And I see revisions to biology in the news several times a year.

Just because you can't nail down every last fact, doesn't mean that you can't comb through the foam to extract and build a body of knowledge.
Just try to attach a 8 GPU A100 unit to a 2P Intel system, then try to add fast Infiniband with NVMe for scratch, and whole platform just chokes.
Taxation is not confiscation, unless the taxation is punitively high. I'd argue it would likely need to be 100% to meet the common usage of it.

The more you tax, the closer you get to banning or stopping activity. If a government sets a tax rate of 100% at say a certain threshold, it would be a poor planner that would be earning anything in that category no?
what a pointless post, you didn't really make any real arguments here, you just complained that we already have stuff but didn't explain why you think it is redundant, because there are actually differences between all of these (Qt vs Electron vs Flutter vs etc) and then complained a bit about google, like why even?
Nuclear Close Calls: Able Archer 83
The archaeological finds of the Amstel riverbed
Germany: In protest against Rome | Munich priest blesses same-sex couples
I live in a suburban enough area that I strongly suspect that'd be illegal, even if I felt confident I wouldn't burn down the trees I don't want to burn down.
I'm at the reverse of the spectrum. I installed an extension to limit the number of tabs I can have open to 12. I have yet to encounter a situation where I need more than that. At that point I either need to close unneeded tabs, offload them to bookmarks / Zotero.

Keeps a certain level of focus, and prevents attempts at multitasking and keeps tab titles and icons visible in the tab bar.
It's true that RPi are often overpowered but I'd contend that Linux is the platform being targeted more than the RPi itself. Development is much easier if you can assume a full fledged OS is running.
Thanks for your explanation! Damn physics is fun since it seems intuitive and yet bizarre at the same time
CNN popups no good.
Is it "being hostile to beginners" to encourage them to learn simple universal tools to build any software in any environment?

When i was a beginner, trying a new language was actually easier: you just installed a compiler. Now you need a "platform", for some even a special dedicated machine.

I wonder who is benefiting this sillo-ing, but I doubt that's the beginners.
It'd be neat to have a "container window" within which you could put arbitrary applications in, and have a tab associated with each of them.

So you could group a bunch of open web pages, a word document and a file folder for some research on a particular topic. Or a game and a walkthrough together. Your repl, ide, and a web browser open on stackoverflow for some programming.

Instead of application-oriented navigation, you'd have group s of tasks that you'd navigate between. You'd probably ctrl-tab between tabs inside of a container more often than you'd alt-tab between tasks.
> Science is about the approach, not the topic or the perception

Agreed on the approach part; as for the topics: there are topics which are inherently hard to "prove"/falsify, either by lack of sufficient evidence (existence of god(s), UFO-as-aliens etc.) or lack of tooling required to tackle the complexity of interactions (many large scale societal problems, psychology, (geo-)politics etc.).

And while "proper" study of those topics is definitely considered science, insisting that we soon can achieve breakthroughs is most likely misguided. What I mean is that we cannot even map and (even if crudely) simulate a single brain, let alone detailed-enough interactions between 7 billions of people. And that's what's probably required to get some solid answers here.
Normally I wouldn't be in favor of OS imposed changes either, but in this case I think there is more good being done here by Microsoft than bad.

I can barely tell the difference between your title edit and mine. Anyway I can't change it now.
You don't have to ask. Isn't there a rule about fake curiosity here?

I hope this is the last comment in this bad bad thread.
C is carful to distinguish “unspecified behavior” (every compiler must document a consistent choice) and “undefined behavior” which doesn’t necessarily have any safe uses.
> Big tech doesn't hold off on making billion dollar business decisions based on the same techniques either.

I've seen how large companies make ≈$X0 million decisions and probably $X00 million decisions and I suspect $ billion decisions aren't treated fundamentally differently. I wouldn't use that as evidence for how to make decisions well.

My current theory is that companies are successful not because they consistently make specific tactical or even strategic decisions well but because (through design or evolution) they are resilient systems that can weather surprisingly poor decision making at all levels.
maybe you're thinking of psychoanalysis?
Microservices are (a form of) SOA; but SOA does not necessarily mean microservices.

The term "microservices" is not as much bad as misunderstood (which, in a way, means that it is bad): it is commonly believed that it implies each service to be "micro" in the size of the codebase. In fact the "micro" refers to the responsibilities/functionalities a service is supposed to provide. Of course, that is more difficult to measure, as the service boundaries are often not obvious.
Canonical is another company that has been remote-first since it was formed in 2004.
I’m no connoisseur but Trader Joe’s lightly smoked sardines are quite good, and the price is right.
Intel's E810 based NICs require only a PCIe3.1x16 slot. 16 lanes will accommodate the 100GbE port just fine. Theoretical PCIe throughput for 16 PCI lanes is around 252Gbps. The 800 NIC chipset is just four 25Gb Ethernet lanes stitched together. PCIe4 won't help this NIC much.
I was responding in jest to the narrow claim about not making puerile jokes if one wishes to be taken as a serious writer.
x86_32, x86_64, arm, arm64, POWER , RISC-V and several others are alive and kicking. China is making their own ISA. And there is still plenty of space and time for new ISAs to be created.

Portability is still plenty relevant.
So the biggest barrier that I found when learning ocaml was there were just not a lot of resources or organic examples around.

What there is is usually for a specific course, or is published by like Jane Street or some shit and highly domain-specific as well. I just found it hard to dig myself out when I ran into trouble.

I definitely agree about the FP concepts being no more difficult or even simpler to learn. I used to teach introductory programming to adults and at first we taught loops then map/filter etc and told students to use their preference.

Almost universally they used map, including complete synthesis of the entire concept of iteration without loops. Like when presented with a loop, I once saw a student skim the internal logic, see that it was doing an array push inside an if, and call it "a filter loop." To him the filter was the concept and the loop the tool, which is I think backwards from a lot of us.
Flutter is gaining serious traction because it relatively sane and *works well* in iOS, Android and (I think )Mac and Windows. You can actually make an application that looks decent and isn't a pile of shoehorned libs with an HTML engine.

I lost years waiting to have a decent way to develop desktop applications for Linux. After 20 years no one could get their shit together and both Mac and Windows ( yes, even Windows ) always had vastly superior desktop toolkits AND sane ways to package and deliver them to the mere mortals. Even when Microsoft seemed to fuck up everything they touched, Linux couldn't get their shit together.

There are many reasons for this and the other 2 had money to throw at this like it was free, BUT the Linux community never proved they can deliver a product, which in this case the customers were developers that have a job to do. A lot of lectures, morals and programing tricks, but never a product to be used by others. ( I'm talking exclusively about GUI toolkits here )

It's simply not in their nature and it's OK, but don't cry about when some evil conglomerate rolls up in town and gets all the action.
Or record your screen and drop your phone from a second floor balcony to see what the accelerometer reads
I think the reality of the economy is more obvious than any of this.

In other words if the economy "stops" in the automotive department, how fucked are we in general?
I’m mostly the opposite: classes in JavaScript feel like a kludge invented to pretend JavaScript’s version of OOP is what people were familiar with in languages like Python, Java and C++.

If I’m going to write OOP JS, I generally prefer to use object literals and Object.create. However, I’ve mostly switched to the “Unix philosophy” style that libraries like Ramda promote: lots of sharp tools that are composed to build your programs.
That's a pretty shitty unit. Using those units, it's nontrivial to even compare two measurements made in the same country with the same currency, only one generation apart in time. When dealing with a decent unit like meters, you don't need to choose from one of several competing models of distance-inflation to account for the difference in a meter in 2001 and 2021.
Yup. Now apply the same thinking to the rest of government