skysight-inc/HackerNews huggingface dataset:
Preface: I was a graduate student at MIT (within the last decade) and was a resident tutor for the undergraduates in student housing (yay free rent!).

I would frame the following advice as: know thy self.

If you want to go into the engineering/sciences and eventually get a PhD, do not go to MIT (wait until grad school). ~$200k debt is not worth it since you will likely end up in a similar type of job.

If you want to start a company related to CS and make that a focus of your life for the next decade or so, go to MIT, but realize that most fail at this and end up at regular tech jobs. (I am now in the midwest because cost of living is incredibly low for people with >2 kids).

If you struggle with mental health, be weary of MIT, as course 6 is incredibly intense.

You will have classmates at MIT who will already have started one or more tech companies while in high school. Your international classmates will be in the top-10 of intellectual achievements in their respective countries. My undergrad math students from China were publishing papers with professors as co-authors.

Some people get depressed with the big fish > small fish transition, but if that’s not you, enjoy the ride!

Here are undergrad hacks: get more sleep than your classmates, do socialize even if you aren’t comfortable socializing lest there be no advantage to going to MIT when compared to their free online courses, if you don’t enjoy drinking (like me) - hold a red cup with water, be an ideal friend
Freenet 1493-pre1 test release
I don't think you really "sue" anyone for breaching GDPR. I think you report it to the local authorities, and then they pursue a case.

Basically I don't think there's any money for the lawyers to pick up here.
…You mean Putin's invasion, right?
Is this confirmed or could it be erroneous telemetry?
Yeah, unfortunately, it got the name Fedora a few years before that hat style became closely associated with psychosexual toxicity.
Hi, GitLab team member here.

GitLab had 2 separate projects before merging into https://gitlab.com/gitlab-org/gitlab in 2019 as a single code base for both, community and enterprise edition.

https://about.gitlab.com/blog/2019/08/23/a-single-codebase-f...

The source code portions use different licenses which are explained in https://gitlab.com/gitlab-org/gitlab/-/blob/master/LICENSE for each directory, etc.

For your use case, speaking with my personal hat:

It depends if you'd prefer the proprietary extensions being source available or not. If they should be visible and are protected with a license, a single code base is a good approach imho.

An alternative way could be treating the OSS project as a Git submodule, including it in your CI/CD pipelines, and dev environments. In these steps, you'll fetch the modules and build everything together.

An example I just thought of: MkDoc Material Theme. You'll get the OSS project at https://github.com/squidfunk/mkdocs-material and the paid insiders version is made available as private project. https://squidfunk.github.io/mkdocs-material/insiders/ CI/CD and deployments then require an extra step to install the proprietary package, example in https://gitlab.com/dnsmichi/opsindev.news/-/blob/main/.gitla...

Multiple separate repositories need good onboarding documentation, and the 5-min-to-success when spinning up a dev environment to contribute. That challenge exists with a single codebase too. In the end, it really depends on the strategy of source available or not :-)
WebRTC with Node.js: Building a Video Chat App
Magnetism helps electrons vanish in high-temp superconductors
I also read the Cocoa Big Nerd Ranch guide, and wish they'd do another. Alot of those concepts are not entirely gone, and can still be put to use. If you already know a bit of Obj-C and AppKit, then I'd recommend hackingwithswift.com. He has a great number of tutorial series on Swift, SwiftUI, and iOS and Mac programming. He also has a paid mini course I believe. Other than that, it's a pretty guerilla effort, but it is fun
Bad cholesterol (LDL-C) and heart may not be strongly related
I don't think this was an unexpected result of the situation with Russia, there wasn't really any other options, but interesting to see SpaceX launching a direct competitor to Starlink. I suppose they always made it clear that they were not going to let their investment in Starlink stop them launching competitors constellations.

I am still somewhat surprised by the UK governments investment in OneWeb, I hope the strategy pays off and it becomes an important national infrastructure project. My thoughts where that it may be about providing a future proof network for the remote areas of the UK but we aren't exactly a big country so I'm not convinced that's the case. The rubbish that was written about it being a route to our own GPS system after Brexit forced us to leave the Galileo program was clearly all fluff to make it sound more impressive and tie it to a post Brexit strategy in some way.
Yes, the decline russia will face is tragic, and for what? At best they will own some land that has had all the buildings and infrastructure ground to dust and citizens who have all been murdered. Russia is spending tremendous resources to destroy more resources, but physical and social. It is the stupidest thing I've seen in my life.
So you used an "estimate" as fact omitting that it's an estimate, from a BBC click-bait article, that offers NO citations. Pretty damn disingenuous, I think you should feel some shame for intentionally lying.
Authoritarian governments do suck and I would love for them to not exist. But they coexist with oligarchs, who will only be further advantaged by unregulated markets.

The life of a tenant farmer in the Phillippines does not only suck because of Duterte; it also sucks because the wealthy family they work for is comfortable with inefficient plantation-based farming.

Now, its certainly possible that crypto could give people more access to the world market, and thereby improve their situation. Rural communities in Bangladesh now have YouTube channels showing the amazing talent they have for cooking. Its a weird world.

But there's a dark side to global exposure. Some Malaysians got rich from their global stock market in the 90's without having to relocate, but it didn't end well because the investment was in speculative consumer goods like real estate. Crypto doesn't have to end this way - it could enable real invention that would not be possible with rigid, local fiat currencies. But right now, crypto feels like a casino pizza party, and I'm increasingly worried.
It's basically immediately downstream from Gnome, systemd, and other core desktop projects that Red Hat invests heavily in. So it gets all of the testing and integration.
You have a point. As a hiring manager I pay NO attention to where someone graduated from. I'm more interested in the way they think and I have found no correlation between quality of thought and alleged quality of school.
It's an old HN in-joke: https://news.ycombinator.com/item?id=35079
I think the suggestion is that instead of using your computer with a font size that is comfortable to read, you should leave all the rest of the fonts on your system tiny, but zoom in your browser so that web pages are readable.
G forces.
For what it's worth, there are quite a few tools that can help make macos a usable experience. Magnet helps a ton for window management, for example. But stock macos is pretty booty.
ESLint is fantastic, but what would be more golden is unit tests failing or code not compiling. It is almost like hooks need to be written in a meta language like JSX so that they can be compiled and thus failed when written poorly.
To expand on this, many of the things that hooks now make easy were bespoke per-class implementations with details that leaked into every lifecycle hook. Think of how you’d write a chain of useMemo calls in a class component to see just how bad it was.
It does seem a little odd when SpaceX have Starlink, surely these two are each other’s main competition.
Crazy, they were handing these things out as conference freebies a while back and now they're $400 on eBay. Pretty sure I still have one in a box somewhere.
Google Settles with 4 Engineers over Complaint It Fired Them for Organizing
My father had the TRS-80 pocket computer w/printer, and 8-10 year old me thought it was the coolest thing ever. I remember (or at least think I remember) writing some very simple BASIC programs.
It's been a while since I used it, lord knows I hate the interface but if it does all of that, I'll try it again soon.
Google Chrome Dev on Flathub
I wonder what is the GDP cost of millions if not billions of people dismissing a cookie pop-up every day, often multiple times a day.
Before we all pile on Russia, if you aren't aware of the rule change that FB made to allow violent statements against Russians (but not against any other group), you should learn about that.

The Moscow Court:

> A Moscow court on Monday banned Facebook and Instagram as "extremist" organizations, after authorities accused U.S. tech giant Meta of tolerating "Russophobia" during the conflict in Ukraine.

And that is at least somewhat true by Facebook's own rule[1]:

> “As a result of the Russian invasion of Ukraine we have temporarily made allowances for forms of political expression that would normally violate our rules, like violent speech such as ‘death to the Russian invaders’. We still won’t allow credible calls for violence against Russian civilians,” [2]

Now that said, Russian authorities were already looking for excuses to ban (and I believe already had effectively banned FB), so it didn't really matter. But, FB played into their hands by giving them a (somewhat) legitimate reason.

Note: I'm not making a value judgment here, just stating facts.

[1]: https://www.theguardian.com/technology/2022/mar/11/facebook-...

[2]: https://www.reuters.com/world/europe/exclusive-facebook-inst...
"We would [understand the Lion]. We're flexible and can get into different perspectives, and we have been close to animal living ourselves for hundreds of thousands of years, plus we watch nature and learn about how lions live and what they do. The lion would have difficulty understanding us, as our world is a superset of its world" - coldtea
> Not to mention RCT, causal inference, GIS, and machine learning applications

RCT's were developed by psychologists (for educational purposes) and promoted by medical statisticians.

Causal inference was essentially invented by a computer scientist.

You can definitely thank geographers for GIS, and ML is basically a rebranding of statistics by Comp Sci researchers.

Game theory I'll definitely concede to economics, but political science is it's own discipline, and shouldn't be regarded as part of economics.
it's as simple as downloading the forms off your department of state's website, putting each of you as a 50% managing member and sending the forms in. there might be a few more forms and a small filing fee.

don't use legalzoom or pay anyone to do it for you. it's too easy.

you should research 50/50 businesses. far more common and successful is a business with a controlling partner. i'd advise that if you feel like that should be you, come up with a rational list of reasons why and then basically communicate that you plan to be the chief decision maker so there's no misunderstanding. and after all, if you can't resolve who will be what, how are you going to manage a 50/50 partnership?
In fiction, perhaps. But I think Tolkien was closer to the mark. In practice, it is very difficult to know everything, even if the information is available, because of the limitations on our attention and imagination. Tolkien clearly describes that as a limitation of Sauron, and I think it remains a limitation, even today, even when all the facts are available.
The brain drain will get a huge spike again unless they’re literally stopped from leaving the country. So all industries will be affected for a long time
It's a destroy modal action, so it's a button. In other words, you are still at the same place.

Changing the subject, the underlying problem is abusing modals. One for "Your session is about to expire" that's OK, but for "Add Fruit" you can create an editable new fruit row and allow undoing the action(s).

BTW, in my app, I only use "Cancel" for having an element to focus on when there's a destructive action. Other than that, the user can click outside the dialog. Which I mention to ask you: do make the click area outside the dialog a link as well?
More seriously, I think humans and other mammals generally can learn to share an “animal” language which uses repetition for bidirectional training (animal to human, human to animal).

Elements used for prediction include:
- Predictable timing, both circadian and in relation to circumstantial events
- body language
- sound patterns
- touch patterns
- performative actions with environmental objects

It’s not so much a “universal” language, but rather that mammals seem to share some semi-universal ability to train each other in these cues and learn them. They can be used for surprisingly rich inter-species communication and over time both parties move a lot of the inference and signaling to their subconscious, no longer even taking active brain power to decipher intent and meanings.

I’ve also done this when I was working very closely with just myself and one other person and neither of us spoke the others language but we had to get the job done for 8-12 hours every day. We established a system of different grunts and cues that we used first for several weeks. Once that was fluid and we could communicate everything that we needed to, we started replacing/connecting the established grunts with our own language words and that’s how we taught eachother the others’ language. At least for the domain of our work.

I have no idea if any of these would be possible with cephalopods but I feel like if we had children and baby octopuses raised together they may find reasonably robust ways to communicate intent, feelings, and find the ability to create novel games to play with eachother.
Two thoughts.

One, you don’t rely on a semantic guarantee if you use useMemo for derived state. Avoiding rerendering counts as an optimization as far as the React docs are concerned (your program works if there’s an extra render), and this is in fact exactly what it was intended for. The docs you linked seem to agree: Regardless of whether an offscreen component keeps or doesn’t keep its useMemo, the code is correct and there’s at most one extra render.

Second, while I agree with the verbosity complaint, I personally make a point to use useMemo as coarsely as possible. It’s often completely fine to compute all derived state in a single big lambda that returns one big (immediately destructured) object. It’s only when you have multiple pieces of derived state that update individually and are also all expensive to compute that you actually need fine-grained useMemo calls. And in this case, you can always think about extracting sone of that logic into a helper function/hook.

It’s not perfect, but I think it’s possible to avoid a lot of the pain most of the time.
Please give examples. This refers to health's decision makers- doctors, nurses, etc. not secretaries
Yup, sqla is super meta and, thus, complicated (just due to the problem space). Better is alembic / alembicutils where you can dig into the autogenerate system they’re layering over sqla.

Weirdly enough, I enjoy digging through C and Java libs more, mostly because they’re more unfamiliar to me. I’d spend more time in Postgres / fontforge / mupdf / pdfbox / nginx / uwsgi on the whole.
> I would not advise a new developer to learn AppKit at this point in time.

I've been contracting on a "modern" mac app in SwiftUI for the last few months, one of the issues I see is that you can't actually get that far without AppKit right now unless you have the luxury of supporting only the latest macOS. Even then people often just don't upgrade their OS until they buy a new computer so you're stuck with whatever version of SwiftUI. It's a bit of a weird time for macOS development.
It'd be fun to have a sms subscription to a particular league's schedule, a team's activities, or a single game.
Huh. I can read and understand the abstract and the introduction, but I can't judge the work after a first pass. This is the kind of paper that cannot be easily skimmed, because it consists almost entirely of densely packed pages chock-full of highly abstract mathematical reasoning.

Not surprisingly, the authors are mathematicians. They claim to prove that

* there are well-conditioned problems for which suitable DNNs exist, but no training algorithm can find arbitrarily good approximations of those suitable DNNs;

* it's possible to find approximations of those suitable DNNs only if we sacrifice digits of accuracy -- i.e., the approximations cannot be arbitrarily good; and

* there is a class of DNNs they propose, which they call "fast iterative restated networks" or FIRENETs, that solve undetermined systems of linear equations over the complex numbers, with a good blend of stability (robustness to adversarial samples) and accuracy (within the claimed theoretical limits).

Finally, the authors provide open-source code (A+ for doing that, but... Matlab!!??): https://www.github.com/Comp-Foundations-and-Barriers-of-AI/f...

Does anyone else here understand the work better than me? I would love an informal explanation that appeals to intuition.
I did a `curl https://plaintextsports.com/mls/standings` and, to my surprise, got an HTML response back (rather than just plaintext data).

Seems like this isn't actually plaintext (as in the mimetype `text/plain`), but is instead just "minimalist-aesthetic sports" (with the caveat that for some reason there's CSS styling to make the font unreadably small at 2560x1440, which was what led me to try `curl` in the first place, assuming that since it'd be plaintext, I could just get the data in plaintext without any extra CSS formatting making it hard to read).
This is partially true but Putin and Xi dont happen in a vacuum. Stalin or Hitler didnt happen in a vacuum. The sanctions put on Russia are also meant to affect civilians, as they are partially responsible for the war. And the west will pay some price for the sanctions too, because they share a part of the responsibility too.

However, I agree the author should have picked a better domain name.
Yes, the newer EPA-approved cans are designed to ensure that you spill gas all over your hands and/or the ground when using them.
Great! Should only be a few months.

I use logic and accurate interpretation of the data in my assessment, all these counter arguments use statistic butchering and hopium. Yet people cling to the narrative for whatever reason. Bias is a hell of a drug.

If inflation persists at 4-5% we will see 6% mortgages within the year. Many are blinded by the last decade of low inflation. If inflation suddenly dissipates, due to a shock etc, then housing prices can preserve at these levels.
> (The above is meant in jest, of course.)

Sounds like a good idea to me. But of course one needs to be open minded, there are other functions that satisfy the same rules. :-)
I agree, and I particularly wish that people would use "ethics" instead of "morals" more frequently.

My understanding is that ethics are how we treat other beings, and morals are rules we follow (think "moralizing").

I'm much more interested in the former.
And on the flip side: what if they're right and you are just doing it wrong?

I understand the point you're making. But, I find this retort to be every bit as frustrating as the rhetoric you're criticizing. It gives us permission to dismiss things we don't fully understand or that require experience and practice to master as snake oil.

Surely most of us would struggle to pick up general relativity or neurosurgery even after weeks or months of training. But we're not--I hope--going to dismiss our neurosurgeon instructor when they say we were cutting something incorrectly even though we REALLY THOUGHT we were doing it right this time.

Maybe TDD really is awesome. And maybe, simultaneously, it's not easy to write a 100% prescriptive guide for how to apply it to every kind of project.

I feel similarly about the rhetoric around OOP. Nine times out of ten, someone complains about OOP and cites some kind of Poodle-Dog-Animal class hierarchy. Then someone comes and says that program object relationships aren't really supposed to be taxonomical. Instead of taking that to heart and wondering if maybe they can try OOP again with a different mindset, the response is defensive. "Surely OOP is still terrible because I was taught the wrong way. And if it's possible to employ a technique ineffectively, then it must be a terrible technique. OOP sucks and they're in a cult so they can't admit it."

Do you have any idea how many wrong ways there are to use the controls in an automobile? Yet we still mostly blame the drivers when they cause a collision because they were using it wrong.

For what it's worth, I think the article is right about the evolution of the term "unit test" and the author mentions the "classicist" approach to unit testing, which is really the one that makes sense with TDD. The "mockist" approach to unit testing, is "simpler" because it just makes an individual class or function the "unit", but that will make tests brittle and make a test-driven approach much more verbose and cumbersome. It also so happens that the mockist approach is the default approach in today's programming languages, testing-frameworks, IDEs, etc.
If you click through the link on that page (and click on Compiler), there are a series of articles on the development process - step by step bootstrapping stages and some further development past that point.

It's a really interesting read:

https://crypto.stanford.edu/~blynn/compiler/

I learned about Mogensen-Scott encoding and some tricks for efficiently compiling to SKI from those articles.
> in order to clean up the dirty fans in this machine

Maybe do something about the dirty air instead? Also, unless in a dusty industrial environment, by the time a computer fan and chassis is filthy, it's already legacy equipment. If a computer is used for work, to generate income, replacing it every 2 years is the cost of doing business and a write-off. But I suppose if a typical Mac user, one would have to go through the trouble of blowing out the dust every 4 years.
The weaknesses of leaders are human weaknesses. Look at Putin.
Great site, I've been using it for months. It's a really different and richer experience at night when the games are in progress. There are added features for the big leagues, such as the NBA games feature a game flow graph of the scoring margin. It truly shines when you're at a sold out NBA game, you can barely get a tweet out due to the crowd size, but you can still refresh the box score of your own game in <second to check on foul trouble.
Well there were a lot of people here questioning whether these long-range nuclear capable ballistic missiles would even work. If the two launches are confirmed, we can put that question to rest. But the US is saying it's unconfirmed right now.
I hate to break it to you, but there's not a PC / laptop on this planet that will not fill up with dust and eventually clog and die. You gotta keep your stuff clean. Blow it out with some compressed air cans every 6 months. It's not really that big of a deal. I've cleaned literally thousands of computers in my lifetime, they all get dirty, and if you don't clean them, they will all fail.

Also, I think you are way overstating how dusty this will get. It's not going to be any worse than anything else built in the last 20 years.