skysight-inc/HackerNews huggingface dataset:
This site maxed out 2GB RAM and 2GB swap in my VM, and I was lucky to kill Firefox fast enough to avoid needing to reset the VM.

WTF does a site need with over 2GB RAM?

Edit: I mean, I can run Debian with a basic GUI desktop in less than 1GB RAM.
Author here! I didn’t mean to write a comprehensive overview of Roam, I was just curious about the marketing decisions of products that attain cult status. I get that this is not nearly the most important aspect of Roam. Just a little thing I was personally interested in!
I feel dumb for asking this, but is this really something that's not supposed to be possible from software? My assumption was always that if you overlock, undervolt, etc. then (a) you already have high-privileged code running, and (b) anything can go wrong from crashes to physically breaking your CPU, so I'm not really shocked (not sure if pun intended) to hear undervolting can damage the software state. Should I be?
Nice work!

This is exactly what I hoped tmux was when I first tried it.

Will definitely be following this.
Yes, unfortunate naming.

https://www.dragonflybsd.org
I wrote the comment below over a year ago, about how these popsci books are very unreliable sources of knowledge because of the perverse incentive structure (eg would this book have been written if the conclusion was 'we don't know how important sleep is, but it seems generally pretty important although this is difficult to prove and largely obvious'). It was downvoted pretty heavily.

https://news.ycombinator.com/item?id=18244061

I mean, none of this is surprising.
Inspired me to write https://github.com/nixpulvis/doomsday FWIW.
What Every C Programmer Should Know About Undefined Behavior
Ask HN: How do you pass behavioral interviews?
I've been working as a UI engineer for the last 5 years (2015-now). I've been at my current company for over 3 years now and I feel like I've hit a plateau. I'm not growing or learning much. Over the last 6 months, I've been trying to land a new job, however, it's been surprisingly tough. I've interviewed at several companies (FAANG, some startups, and everything in between) and the technical rounds have always gone well (with the exception of Google which was particularly hard!). However I've somehow managed to fail at every single behavioral interview.

Part of that is that I haven't done much to talk about. I've done fairly standard work for the last few years: completed what was asked of me, but haven't sought any challenging work. No side projects either. I never thought that would be an impediment to my career. For now, it's still okay—I have a stable, well paying job, but I can see this becoming more of an issue in the years to come.

I'd like to know what I could be doing better, what interviewers expect from a behavioral round, how I should approach my work. It's usually tough to get feedback, but when I've got any feedback (once or twice), it's usually been that I talked too fast and rambled a bit. I'm working on that too, hopefully a bit better at that now. :)

If you are doing behavioral interviews, what are you looking for in a candidate? Or, if you've been particularly good at these types of interviews, do you have any tips?
> Don't teach "industry standard tools" to a uni student learning CS.

This is the critical point. By the time a curriculum is in place around one set of "industry standard" tools, new tools will have come out, in a lot of fields (see, for instance, `npm` and `yarn`.)

> They should be learning programming, and theory of computing (and algorithms etc), and perhaps use java as the language.

I would argue that using Java as the language for introductory CS courses is not a good idea. We have better, simpler languages to teach foundational functional (Racket, Scheme) and imperative (Python) languages.

There's nothing wrong with Java in general, but if your goal is teaching "programming, and theory of computing (and algorithms etc)", there's nothing that Java can do that Python can't that helps with that goal.

In fact, I'd give my optimal progression of languages as starting with Python for basic imperative and OO programming, or Racket for basic functional programming, then switching to the other one, and then looking at Kotlin (or Java if you really must) for advanced OO programming and C (or, in a few years, maybe Rust) for systems programming.
The thing I really like about Roam is there is a new daily note created automatically every day.

It’s simple, but lessens friction and I can jot anything down without having to think about organization.
Nor are they selling targeted information. When I purchase ads targeting a specific demographic, I don't get to see who was served ads. I could correlate this with new customers following the ad campaign, but the same could be done by airing TV ads in specific households and doing the same correlation.

You seem to have a much more expansive idea of what selling information means as compared to other commenters. Google collects information so that when a customer buys ads, they can serve those ads to the desired demographics. They don't sell info on which users belong to which demographics or other otherwise sell user information. While it's true that they monetize information in optimizing their ad placement, this is not what most people think of when they hear "selling user information.

Say I have a nail salon and I want to advertise. So I give out coupons to bakeries, coffee shops, etc. and tell storekeepers to hand out the coupons the customer's demographics (women, mostly, and maybe women with fancy nails in particular). When these storekeepers kept an eye out for women with fancy nails and gave them my coupon, did the sell their customer's information?
Great. I stand corrected. How long has that been up? Last time I started with Scala it didn't exist.
> I do not use @gmail.com address - I use my own domain with google mail.

That is key, and really good advice. People with that setup are massively better off.
I love that too. It’s interesting that more notes apps don’t do this. Defaulting to the creation screen makes so much sense!
The Strange Zoom Pile-On
Granted there's no formal definition of "bricked" it usually means a hardware requirement to restore functionality.

I'd like to keep it this way even to the general lay person. Because if you need hardware the barrier to entry goes up significantly.

Agreed that 'bricked' is not the right term here.
Sorry for your loss. I know it's hard, and the cold computer-automated world of today will mindlessly still remind you of your loved one in a million different ways. You just gotta be patient, take a break, or perhaps delegate some of those tasks to friends or family.

Many companies don't know how or haven't thought about how to deal with the death of a user or subscriber. As an estate admin, I've had trouble dealing even with established banking institutions who may or may not train all their employees on what to do or who to contact when a customer has passed away.

One thing, I discovered was Hereditas (https://withblue.ink/2019/03/18/what-happens-to-your-digital...), a project that's sort of like a "deadman's switch" which may help the survivors deal with all the digital loose-ends that one's death might leave behind. This, combined with proper estate planning might hopefully make things easier for those we leave behind.
From [0]:

> First, an enormous literature dedicated to the treatment of depression with sleep deprivation has found that people with depression frequently benefit by not getting a good night’s sleep.

> Second, Walker directly contradicts himself in Chapter 7 by acknowledging that there are cases when a good night’s sleep is not helpful after all...

> Finally, although Walker states that “sleep deprivation is not a realistic or comprehensive therapy option”, a review chapter of sleep deprivation in the book Sleep, Neuronal Plasticity and Brain Function published in 2014 reads: "[C]onsidering its safety, this technique [sleep deprivation] can now be considered among the first-line antidepressant treatment strategies for patients affected by mood disorders."

There is no one-size-fits-all advice for sleep, it would seem. For some folks, yes, too much sleep is harmful, and yes, sleep deprivation therapy benefits them.

Moreover, the point is that scientific literature should be peer-reviewed.

[0] https://guzey.com/books/why-we-sleep/#no-a-good-night-s-slee...
I agree. Back in the day I often installed custom ROMs on my Android phones and there was a distinction between needing to use recovery mode or losing your data vs "bricking", literally meaning that you turned your phone into a brick.

There were some "unbricking" guides but those usually required hardware voodoo, soldering, etc., things that most people couldn't do.

Now it's a clickbait term that has lost its original meaning of "you now own an expensive paper weight".
I think the "escape"-design og screen/tmux is likely better for terminal multiplexing - other "hot-keys" is too likely to collide with terminal programs (never mind window managers/desktops)?

I suppose "super"/"windows"-key combos might be a bit safe from terminal applications - otoh they're likely to collide with window managers...
I can certainly see a brigade of youthful libertarians hitting the "report" button en masse.
> and does not give any benefits at all,

I consider the ability to use manual transmission vehicles, of which there are many, a benefit. Last year I visited my aunt for a week and traveled around the state with her in her car. I couldn't share in the driving, because she has a manual transmission.
Bell's Theorem implies that if there is some kind of hidden variable controlling the outcome of a random quantum event like a seed, then it must work non-locally, which maybe doesn't completely rule it out, but it's really suggestive given that locality is one of the common assumptions like conservation of energy that has lead to a lot of progress in physics.

Interestingly, there is a local deterministic interpretation of quantum mechanics: the Many-Worlds Interpretation. The interpretation is considered by many to be what the Schroedinger equation by itself with nothing extra added (like wave function collapse) implies about the world. There is no objective randomness. The 10,000-foot view of it is that any random quantum event with multiple possible outcomes causes the world to branch into a separate world for each outcome. (Generally random quantum events have a continuous outcome space instead of discrete outcomes, but it's harder to talk about a continuous spectrum of "worlds". The "worlds" of MWI aren't necessarily discrete atomic things; the word "world" is more of a fuzzy label for our convenience, like the word "pile". Also, per the Schroedinger equation, there's situations where multiple histories leading to equivalent worlds can cancel out, decreasing the measure and therefore observed probability of that world occurring; that's how we could possibly know this whole splitting business is going on.)

However, a system like this would still have subjective randomness, in the sense that there's no way for you to predict the value of a random quantum event. (Say you have a device that when you press the button, it will measure radiation from a radioactive object inside it for a period of time, and then output "heads" if it measured more than the average amount and "tails" if less.) Assuming it's set up as advertised, the idea of predicting the result doesn't even make sense, because after the measurement, there will be a cluster of worlds with a version of you that sees "heads", and a cluster of worlds with a version of you that sees "tails". Predicting which one you'll be makes as much sense as predicting who you will be before you were born. (I find it interesting that no matter how deterministic of a universe you imagine, there's always the subjective randomness resulting from the indexical uncertainty in who you find yourself being. MWI extends indexical uncertainty like that to more situations.)
How to Map ManyToOne Relationship to a SQL Query via the Hibernate JoinFormula
Yeah they’d probably be using some build system or framework or script and still wouldn’t need to know the invocation for javac.
As an alternative Emacs org-mode based bidirectional linking enabled note-taking workflow, check out org-roam [1].

1: https://github.com/jethrokuan/org-roam
Interesting article and a large amount of research into something that is often way more opaque than it should be.

However I’d also like to point out that with large companies like Levi’s there are often fit discrepancies as large as an inch between ‘identical’ items of the same style, size, color, etc. This is why I would advise most people to buy clothes in a retail shop if at all possible.

This comes down to two things.

1. Making clothes at such large scale and at a low cost means there are many corners cut in terms of precision, in both cutting and sewing. See this short video [1] to get an idea of how this process works.

2. Levi’s and other large companies don’t own their production. Instead they contract (and then subcontract) to large numbers of both ‘conventional’ factories and piece-work workshops often as small as just some machines in someone’s living room. These companies make such large orders that no single factory could ever cover them, so batches of ‘identical’ products are sourced from a large number of producers, even multiple countries at times. Of course there are SLAs about the spec that must be met for each garment but the reality is that it diverges enormously.

[1] https://youtu.be/BNN3oY9oGPU
Systems Theory as Metaphysical Move
Scanning CDs with CCD/LED Scanners
while i agree this is very correct, these aren't very fun.

I recommend Meggy Jr. which is pretty old now, but has a great RGB 8x8 LED matrix and a cheap speaker and joystick for lots of fun making cheap games and songs!
Monolithic architecture implies the company is only willing to manage one production deployable. Someone solving a specific problem cannot introduce new processes / network boundaries even if warranted based on the characteristics of their problem.
This is also the conclusion of Kant, free will is impossible to prove or disprove as it’s a question of the noumenon.
It used to be much harder to knock someone you didn't like offline. You used to have to organize a DDOS attack. But now, all you have to do is organize a much easier mass-flagging attack. We need to update our threat models to account for how unreliable major platforms have become.

We can no longer rely on these companies. After big tech spent so much time investing in their own infrastructure, they are undermining themselves like this.

We need to just accept that a major liability of using a major platform like this is that your content may be removed and your account deleted, for unknown reasons.

Want to host your podcasts? Well don't rely solely on Apple Google or YouTube, they are not up for the job. Instead, you have to span it on multiple platforms and tell your audience where to find you if you get deleted.
I agree with you in general, but here I am discussing introductory CS programs. It's very hard for an intro CS student to build and run a Java program without an IDE, even with help from the professor. It's completely trivial for that same student to write and run most of the Python programs they'll be doing in their intro class after having installed _just Python_.
I would strongly recommend against using POP3 for such purposes. It doesn’t contain the entire history, for two reasons:

• POP3 doesn’t have the concept of mailboxes. All you will get is the messages that exist at the time of request, not any folders you’ve put them into or labels applied.

• If you delete a message on the server, it won’t be deleted locally, which means that your backup does not represent the current state of affairs.

Also POP3 is definitely designed for the “download and delete on server” approach, and various tooling may have limits on it because of that. For example, if you get Gmail to fetch from some other server over POP3, it stops working after there are 50,000 messages. This undocumented limit bit me some years back when I used Gmail in this way, and it didn’t even notify me that fetching had stopped working! It was two weeks before I noticed that no new messages had been coming in from that source.

> POP3 by design creates a continuous local "backup" that contains the entire history. IMAP doesn't.

I refute this. IMAP is a synchronisation protocol. Clients can choose to operate fully online (performing every operation on the server), fully offline (downloading everything from the server and operating locally) or a hybrid (e.g. keep only the last 30 days of messages locally). The protocol, and most clients, are fully capable of creating a continuous local backup containing the entire current state of the server. Is this “the entire history”? Depends on your definition. I’d argue it’s more true of IMAP than it is of POP3. But it’s not like a Git repository showing what happened and when. I know of no email protocol that provides that. But you can make it so yourself, e.g. sync IMAP into a maildir that happens to be a Git repository and commit after every sync. That would have the entire history, at the resolution of IMAP fetch.
Perhaps the problem is that Fortran 77 is, like Java, not the best introductory programming language?
Well, that's it for Catalina then. Although I really want full Xcode 11.4/Swift UI/Swift 5.2 and my MacBook Pro a Catalina upgrade is just too much of a risk. On top of all the previous Catalina woes Apple should be hanging their heads in shame.
> it's the ability to reference any fragment of the text so that it lives in multiple places at the same time.

I've seen Roam being mentioned as a graph database for notes before but your comment helps me see it! Would this be a good working model - each `note` entry is logged to a central table in something like a relational database and each `page` is a materialised view over that relation. In contrast, for most of the other note taking apps, the abstraction for a note seems closer to a file.

Would be fun to implement something that works locally with an embeddable graph database library.
OK, this is good, we have moved from "proprietary only" to "free, but Emacs"...stay cool everybody, just another jump or two and the rest of us will be able to sink our teeth into this ;-)
I wish I had my head on straight enough at 15 to dish out solid advice like this.
I was hit by this bug, my entire unit was fucked and I had to use Recovery over the Internet to reinstall a fresh OS on my 2019 MacBook Pro. Nearly everything on my Mac was dot sourced, on Git or using my local NAS' TimeMachine share. All the same, all my data on the Mac was still lost and had to be restored using backup.
I don't think it's more prevalent. I think it's more notable precisely because we've gotten so used to our devices and data being stable. Don't forget that in the past it was pretty much expected you'd lose or break something when upgrading your OS, and that you could pretty much count on physical hard drive failure resulting in data loss at some point in the life of your PC. BSOD's especially were almost certainly more prevalent in the bad old days of Windows. Looking just at Mac, don't forget about when PRAM resets were part of the normal debug flow.
Youtube had a lot of users but dailymotion, myspace and google video had a fairshare of marketshare. Now youtube is so much bigger than facebook, dailymotion, vimeo in terms of videos.

Google has introduced many great features that would not be possible without google or google ai. Muting songs but not background sounds is a cool new feature. Identifying and categorizing videos and presenting similiar videos is better than anywhere else.

For years youtube couldn't make money. Without google figuring this piece out a site like this would still be too expensive.
Sit up straight. Don't play with your pencil. Swallow your gum.

Seriously, though, the best thing I learned to do in interviews was to relax. Don't emulate the Big Labowski, but try to channel his essense. Unless you're the godword in your field (or one of the other candidates), they're going to take time to think about it. You have to be the one they see themselves working with. Best o Luck
Burke’s After The Warming, 1989

https://www.youtube.com/watch?v=RfE8wBReIxw
I have a MacBook 12" 2017 and have not encountered any serious issue with 10.15.4 supplemental update, yet..

I do however note that when adjusting volume in the status bar the UI dragbar position is very jumpy, which gives a rather unpolished impression.
If you’re a small-time sender, having your own IP address is probably actually a bad thing, because now the IP address never builds up enough positive reputation.
That's cool to hear. My own system works this way, but over time I updated it so it creates a new note / journal file [0] about 24 hours in advance. Sometimes I have just the right amount of energy to start frameworking my next day ahead of time.

I am also refining the "look back in time" feature to a global keyboard shortcut, to make it easier to flip through past journal entries, for example "open all the entries from last week," etc.

0. https://pastebin.com/nFpRzUbe in case it's helpful to anyone.
I was born a citizen of both Germany and the US and have worked in both countries. Using Germany as your exemplar was to your disadvantage. I have also worked internationally for the UN, and with multiple major governments at a high level. I am under few illusions.

That aside, you did not actually provide evidence contrary to my assertion.
> you already have high-privileged code running

I just glanced at the abstract, but they seem to be attacking the SGX enclave, which is supposed to be isolated even from privileged code.
Yes it did, and I'm pretty sure you could use the IDE in that mode too (5.5 or 6.0).
Ah, sorry, no I actually meant the home directory in the case of postmarketos, although I wouldn't mind extending the concept to Android. It seems like you can get 90% of the benefit with 10% of the difficulty if you have an unencrypted OS but mount your home (well "user data") from an encrypted filesystem. Heck, I can't think of any reason that on a normal unix-like[0] you couldn't mount your whole home directory with encfs or something after login. This doesn't protect you from evil maid attacks, but for common phone threat models (theft, mostly) this is still a win.

[0] I was going to say GNU/Linux system, but pmos is based on Alpine which isn't really GNU so much as Busybox/Linux...
Yes, there's no way Catalina is ever going on any of my machines. Apple has hit a real low-point with this release.
I'm consistently amazed by HN's ability to take the most meaningless, inconsequential part of an article (the scroll behavior, the whitespace, the usage of the word "bricked"), and nitpick it to hell and back instead of actually discussing the article.

Bravo.
If Google is subsidizing everyone else’s consumption of video, pricing it below market, that’s a good thing. Someone giving you free money or a discount you b didn’t even need to ask for is a good thing. Dumping out selling below cost harms no one but the seller.
I think your comment was down voted because it was a poor comment that didn't properly communicate your reasoning.

Specifically, note that your description of the comment is longer and contains more detail/clarification than the actual comment it describes!
Right: if you are a brain-in-a-vat observing some powerful play, what can you say about the world in which the vat is embedded? (or for that matter, how is it that you can even be made aware of the vat’s existence?)
I like some of these, but the selection seems a bit random and the reasons you'd pick each one aren't well-explained.

In particular, I'm wondering for what application you'd buy the first pick (an Arduino Uno R3) versus some other Arduino-compatible board. It seems to be larger, slower, and pricier than many others.