skysight-inc/HackerNews huggingface dataset:
I gave up.

Kinda.

Nowadays I make a folder for everything (even if there is only one file in it) but not subfolders ever.

Movies and TV shows live in ~/Videos, Music in ~/Music, downloads in ~/Downloads and are moved to ~/Download/Archives if binaries or drivers or computer things that I might need later. ~/Documents is huge but it contains everything but only folders and it has a ~/Documents/Archives for things not needed anymore. ~/Documents is ideally for documents not produced by me. Those produced by live in ~/Dropbox (1 Tb).

I have a ~/Dev with a ~/Dev/Documentation (produced by me), ~/Dev/DocRoot, ~/Dev/tmp (for experiments), ~/Dev/containers, etc.

~/Desktop is empty.

~/Images is for memes I'll never look at again (digital hoarding) and that wallpaper I have been using for years.

There is a ~/.notmine but it's not mine, don't know what's in there or who put it there and who manages that content.

On Windows I have %USER%\Desktop\Documents because %USER%\Documents is insane (every app put things there that aren't mine).

The most important step for me that removed clutter was putting everything in its own folder.
Two Monkeys
If you are paranoid about your location data and security patches you should consider lineageOS and microg [1]. Awesome projects. You can have your location data stored in your phone and not rely on google.

[1] https://lineage.microg.org/
Scissors is a bad measure given that many scissors have an inherent handedness.
That’s amazing to hear. Thank you!

I have come across situations where you need more than 10, yes. I plan on addressing it in a future post on the site.

If you’re able to share, I’d love to know more about your case. If not, no stress. hello@johnnydecimal.com.
I’m sorry, I don’t understand the question. Would you mind re-phrasing?
I think what you’re describing is one of the objectives of the Nerves Project (https://nerves-project.org), which happens to include the BeagleBone as a target platform.
Would you not need to use locks for the ring buffers?
I have my home directory on a separate partition so I don't have to lose all my files when I reinstall my OS. My downloads go to ~/Downloads. I move files from here regularly to more appropriate places.

All my projects go in ~/projects which maybe be further classified as android, web etc.

I have custom bash/python scripts in ~/scripts

All my personal photos and videos go in a separate partition, classified into year and event.

Most of my important files and documents are on Dropbox and Google drive.

I use rclone with backblaze for archival purposes.
The default should have been arbitrary precision bignums with easy opt-in for floats and ints of varying sizes.

But oh well.
A good question. I have an idea for handling multiple projects in an overlapping environment, but it involves typing more characters of course which you’re not going to want to do every time. (The idea is to assign each project a 3-letter prefix. So 72.02 becomes PRJ.72.02.)

I’ll think on this.
From a comment I had left on a related thread,

> Though very uncanny, this is rather easy to extrapolate even using the basic facets FB has available. But the most overlooked is photos. They are offline beacons and are to offline tracking what websites are to online tracking.
For example you and a group of 10 other people took photos at the same location which FB sees as a small gathering of intimate friends. It will need to qualify the location is not a public restaurant to be sure its an intimate gathering. The chances of you connecting with that person are then really high. And if you are and the other person are in each others photos, then it's almost a certainty you will end up connecting on FB should FB recommend the connection. The more connected FB's network is, the more it can extrapolate based on commonalities from the first degree graph of your network.
It's also the reason why Google is betting so heavy on photos and offering free unlimited storage -- remember, there's no such thing as a free lunch. Google wants to build a social network graph based on location and facial recognition to draw on proximity.
With AI this will get even more uncanny. For example a wedding will have a certain photography profile (number of pics taken, the time of day, the location and venue based on Google Maps or past photographing histroy, the lighting in the photos, etc). Once you throw AI into the mix you realize Google doesn't need to draw out any conclusions. It can throw all these parameters into the AI engine and draw up proximity.
In this case, Google or FB will not be able to tell you how they drew the connection, because even they won't know. All you can assume is the AI engine will take dozens of parameters today and hundreds tomorrow. Google's deep investment in AI infrastructure is a bigger testament to this.
I liked Bittorrent Sync and later Resilio Sync a lot, but they have been very unreliable when it comes to pricing and licensing, changing both several times.

Their license structure is currently worthless to me. I have a license, but that is only for home use. They only offer subscription licenses for business. Subscription licenses are harder to purchase in some organizations, plus everyone that I want to offer files to needs to buy a license as well. This is a large downgrade from e.g. Dropbox, where one can just hand out download links, open file submission requests, etc.
Just use a ntfs partition for sharing files between Linux and windows.
- Using Gopath for all coding stuff, I.e I have a src/github .com/MYUSername/Project path as well as any other checkouts from different projects on Github or elsewhere.

Then there is a /scratch directory to dump any data, which I might need for temporary processing, but which should survive restarts

A Documents directory with Ebooks

A desktop with temporary files (mostly screenshots) and the obligatory nested folders like “old/old01”
Why Did We Assess 150 Security Researchers, 70 Conferences and How?
I think this is a confusion of causation and correlation: When the time comes and you are so motivated to do something that you're willing to move, your motivation levels are probably so high that you could have changed without moving. Or perhaps moving is just like any other tool for behavior change: sometimes it works, sometimes it does not.

I know this flies in the face of everything the author said, but I'm reluctant when it comes to accepting anecdotal evidence. At least when the suggested remedy is as expensive as moving.
> The average American has already spent most or all of their wage before they receive it. 40 cents in taxes, 35 cents in rent, 8 cents for food, ... If they're lucky, they can spend 5 cents of that dollar on something of their choice.

You can't claim that 60c in the dollar of non-tax spending is somehow equivalent to a tax. I mean, the people who pay taxes are almost always experiencing a net transfer payment away from them to others, it isn't like anyone thinks it is sensible for the government to take 35c from the average American to provide 35c of rental assistance to the average American, everyone knows that is stupid. It only makes sense to tax if it is for a transfer payment from wealthy to poor, or to fund something communal, eg, infrastructure. Spending on things you will personally and exclusively enjoy is different from being taxed.

10c marginal is never going to be worth more to someone than their first few dollars, marginal utility goes down [0].

> The rich will spend a lot of effort on tax avoidance and tax evasion whether the tax rate is 35% or 70%.

That is just vague and mean spirited. I'll accept that only the rich engage in tax avoidance/evasion, because it doesn't help poor people, but if you want to make a point here you are really going to need to provide a source or elaborate a bit. I think we'd find in practice that as the merginal rate rises, the rich would be more likely to engage in tax minimisation practices - and this is because at very high marginal rates how would anyone become rich while paying a punitive tax rate?

[0] https://www.economicshelp.org/blog/12309/concepts/diminishin...
Your saying people who use FB regularly share photos outside of FB and then upload someone else's photos to FB? I'm not saying it doesn't happen, just that it's not the normal path.

I think people who use FB generally share photos with their friends who are also on FB, through FB.
You can use NTFS, with ntfs-3g on the Linux side. I've done that and it worked smoothly, if rather slowly. FAT is just too 90s for serious use.

You'll likely want to continue using a native Linux fs for whatever you don't need to share.

Dunno about quality of any Ext drivers for Windows.

As for partitioning, back in my day people just slapped another primary partition. It's not like Windows supports Linux LVM.
> btw, the last letter is an 'i' :)

I should increase my font size on HN, sorry about that. :)
Please consult with authorities and record all instances of stalking/harassment. Protect yourself by all legal means possible and educate yourself on self defense strategies that can protect your life and keep you out of jail.

Post on the subreddit r/legaladvice for some actionable advice.

Sorry you are going through this, I hope our justice system can help you.
Wait until they join up with Yutani.
I have 3 subdirectories in my home directory:

doc/
incoming/
projects/

Under doc/ I have a few sub-categories

comp/
edu/
fin/
jobs/
lang/
org/
...

This is where I put things I intend to keep, whereas projects/ is for things I'm working on. There are files in doc/ that I change often as well, so maybe I don't really need two separate directories...

And incoming/ is where downloaded files go, temporarily, until I delete them or move them to a proper location.

The only tool I use is a filename normalisation tool that I wrote myself, so that filenames don't contain spaces or capital letters which slow me down on the command line.
Data classes in Java – runtime underperformance vs. code readability
SQLite Database Catalog
I'm with you, and I'm not nearly as old as you (low 30s).

The YouTubers I follow rarely shill for anything I care about. In fact, I don't subscribe to much at all because I honestly don't want to get a stream of mediocre content. I don't understand Twitch (I only watch gameplay videos to get a sense of the gameplay, not to live vicariously through someone else), and I don't understand those stupid "unboxing" and "playing with toys" videos that my kids like so much. In fact, I go so far as to actively discourage YouTube with my children, instead moving them toward Netflix, which had much better production value and usually includes some education.

However, I have acquaintances that love watching streamers, and my wife follows a few live streamers religiously and gets involved in live chat and whatnot. I see that they enjoy that content and I've read literature about it, but I cannot relate.
I like this, but I visualized it differently. I assumed the tree style tab bar could be placed horizontally and each tab could be a drop down tree from there. I'm not sure if that would even be possible but I'd prefer that arrangement. I rarely maximize my browser so horizontal space isn't just dead space for me.
Ask HN: Is it good idea to take protein supplements in your diet?
I've a lean body and I've been working out for more than a year. But I've not gained a much of mass and I cannot see much of a difference in my body. I have seen most of the people taking protein supplements and mass gainers everyday who work out. I've also heard some people saying taking supplements is going to have side effects on your body.

I would like to know if taking protein supplements and mass gainers is a good idea without any side effects on my health either now / later in my life.

If this is not a good idea, then what are the other ways to gain mass and gain muscles along with my everyday workout?
Going Serverless with AWS Lambda Functions – 1
Use GPT. No more 4 partitions limit and extended partition fiddling when risizing or moving stuff (that means UEFI for booting, if your computer is old you might have to spend some time in the BIOS to set things up).

You can resize live from windows (since version 7 I believe).

I'd use an NTFS partition to share files (because fat32 don't have enough prevention loss measure to my taste). NTFS partition access requires much CPU cycles though.

https://imgur.com/a/QnyCdc3

I don't remember why I still divide /root and /home. Must be a habit.
You don't want that.
With the boat pitching and rolling, so does the people on board looking at the instruments, so having the instrument tilt would be rather disorienting! as if sailing by itself isn't disorienting enough. ;)
This is hilarious only if you understand iff you understand regression.
Can a landlord write a 3 day rule into a lease agreement and have it override California eviction laws?
Do compilers really try to prove UB so they can use it as an excuse to silently murder kittens? That sounds so counterproductive. If it can prove UB, it should just pop an error and stop.
Just favorited this thread for algorithmic awesomeness. Thanks guys.
In the UK (at least) this seems to now be banned

https://www.asa.org.uk/news/harmful-gender-stereotypes-in-ad...

Edit: Wording
You're agreeing with parent
Can you link any science showing that "hormonal birth control promotes the growth of fibroids (and cancer)."?
Thanks for the thoughtful comment. I'm lucky that at my current job none of us smoke and still regularly take quick walks outside of the office. I guess it helps that every room has a door that goes directly outside.
Hendrix wrote with his right, but strummed with his left and fretted with his right. He also used a right handed guitar but turned it the other way and strung it for a left handed.
Doesn't it feel good in a similar way that scratching an itch does in that its more a temporary relief from suffering instead of feeling good all the time?
For a long time I’ve kept everything important in project folders under ~/Projects. Each folder is a Git repository also stored in Bitbucket. I clone these on all the computers I work with.

There are some exceptions like photos, videos and music which don’t fit Git well so I keep them in their own places and backup manually. Luckily macOS provides default locations.
I deliberately didn’t compare to Sweden and Denmark because historically they are more technologically advanced they have achieved similar quality of living without oil (no offense to Norway). Norway on the other hand was a country of farmers and fishermen. Not much technological or industrial progress before the oil boom. Which is why I compared it to Iceland.
My prediction is that some services or products will use a blockchain as an underlying mechanism but without telling it and will even deny it, in order to avoid the stigma.
I try to organise my hard drive as if it could die anytime.

~/Downloads: everything downloaded will be stored here. Nothing here should be backed up. Nothing here will still be important in a month. If it should, then move it to ~/Documents

~/Documents: everything here is important such as scanned documents, invoices, pdf files, settings, configurations etc. Each file is backed up somewhere else continiously.

~/src: all code goes here. Default “git pull” location. No sub folders except “test”(ease on muscle memory). No backup needed since all has remote origin as well.

~/src/test: code, git, and bash experiences goes here.

In this way, if my hard drive fails on me, i think, i will not have huge problems.
Not in my experience and I have many friends outside of tech circles, since I'm not living in a tech bubble. When people get together group photos happen, or photos that you want, made with somebody else's phone.

The result is basically dozens of photos out of which only the best 2 or 3 get shared on Facebook.

And in general Facebook is not how those photos get shared. Not even its Messenger because it has annoying size limits, which matter for videos. If I were to guess, out of Facebook's properties, WhatsApp is probably the most popular photo sharing app by volume ;-)
The Librem 5 claims to have hardware switches for the radios, and it's not even out yet.

Yes, most modern devices don't have these switches, and yes it's more expensive to put them in, but hopefully it's not completely going away. I like knowing that something is off (software can fail, whether intentionally or unintentionally), and I'm willing to pay a little extra for that.

I hope we haven't completely ignored lessons from Spectre/Meltdown. Trusting the CPU isn't acceptable, so certain things should have a hardware shut-off to ensure malware can't break through (e.g. Purism's laptops have hardware switches for the camera and other components, which is awesome given the Snowdon leaks).
Capsule networks don’t work very well. Why would anyone want to use them in industry?
The fact that the commentators use such hilariously mad examples is fairly clear even without it.
Quantum physicists in the 1920s helped found field of quantum biology
I needed a cli exchange rate viewer, tfs.
I have a folder named ~/old_home/old/old_docs/Desktop, if that helps you understand my system.

I put miscellaneous software, stuff I need to extract and build from source, random git checkouts, etc., in ~/sw. Stuff I'm working on actively goes outside that. I have ~/prefix/bin in my PATH, so I can use --prefix=$HOME/prefix.
To me the only downside of IEEE 754 is that most languages including C and C++ do not provide a sensible canonical comparison methods. This leads to surprised beginners and then a ton of home made solutions which are often not appropriate.
The cool thing about the BeagleBone in general is that it’s design is released under a permissive open source license. Kind of like the “Apache 2.0” of hardware.

A Raspberry Pi is closed source (though it can be designed in as a component to a larger open source hardware system).

An Arduino is “share-alike”, so more restrictive like a GPL 2+ license.
A nice collection of often useful examples done in Objective-C and Swift
Market cap is not a valid measure of success.

If I issue 100 trillion “runeks”-tokens, and sell you one for one cent, this crypto will have a “market cap” of 1 trillion. But that doesn’t mean it’s either useful or successful.

Your example shows there’s something wrong with using market cap to measure the success of cryptocurrencies, not that Dogecoin is successful.
If you are not motivated to train, go to the gym anyway and sit in the bubble pool or something. So that going to the gym becomes a habit. But the trick is to condition your training so that you always feel fresh and motivated.
As with everything, it depends on the product. Whey Protein Concentrate is a very good value and common protein which is made from milk, to some extent it is basically concentrated milk power sans casein.

But protein alone wouldn't do the trick, for muscle protein synthesis you need the amino acid precursors.
There is a lot of inconclusive research on the topic.

Also, the most important thing is that you don't grow muscles at the gym or while you work but when you rest, muscle growth is muscle recovery so make sure you get a lot of high quality sleep and stay hydrated for better anabolism.

[0] https://www.google.com/search?client=firefox-b-ab&q=bcaa protein digestion site%3Aresearchgate.net
That "progress" came with things like:

Less than replacement level fertility rates

More unstable families

Higher single men -> leading to higher suicide rates among men

Generally unhappier women in general

But it's all great because we eliminated the role of a housewife and a mother.
Do you never find yourself having to read through 10-20 pages to find a particular piece of information or to get a complete understanding of a topic? I find it really useful to be able to open up a lot of tabs from a single page and then run through them one by one.
Type-Based Alias Analysis in C
I disagree. It’s the poor history UX that’s the problem. Get rid of tabs altogether and show the history on the left side. Or if you like fuzzy searching, look them up in the extension store.
If everyone from FOSS world will show them the middle finger like Linus did, maybe, just maybe they will become friendlier a bit. But our only true hope if this company will go bankrupt and out of the market.
Hmm, interesting idea.

The main problem I see is that PEXT can only move bits from within an 64-bit operand, so we can't operate on the 512-bit vectors anymore, AFAICT. We'd have to split the loop up into 8-byte chunks instead, and expand the mask from 1 to 8 bits per comparison, so PEXT pulls out all the bits of each character (e.g. a 4-bit mask 1011 becomes 0xFF00FFFF). This mask computation could be done in 512-byte chunks, but we'd have to split the original 1-bit mask up into 8-bit slices that each get popcounted individually (either in a 256 byte table lookup or with the popcount instruction). That's just so we know how much to increment the pointer between each 8-byte chunk.

All in all, I think the 8 popcounts + 8 PEXTs would make it slower than the full 512-bit version (there's only one PEXT execution unit on Skylake X chips). It might be competitive on machines without AVX-512, though. I'll try out some code--I should actually be able to run this one :)
I'm able to complain about plastic and cigarette butts in parallel.
How come we've gone 60 years with these pills? There are women who have entire careers behind them in biology and medical science and we're still using these pills.

There have been a bunch of refinements to the pill as well as alternative options in the years since, but ultimately I think it's about finding something that works. It's hard finding new drugs and there would be a high bar for a new kind of pill.

Progestogen-only pills were first used in 1968. Vaginal rings (like the NuvaRing), contraceptive patches, implants, depo-provera, spermicidal sponges, and diaphragms have all been tried (plus IUDs which slightly pre-dates the pill).

Why haven't we had progress in all sorts of areas? Chemotherapy was developed before the pill and it's still widely used despite its side-effects. It doesn't mean that people aren't working hard on new cancer treatments. Discovering new ways of treating the human body is hard.
> […] a distributed ledger that's 'trustless' as long as you trust Amazon […]

This has been possible since the 80’s due to public key encryption.

It’s not having to trust a central actor that’s the innovation behind e.g. Bitcoin.
14% of the population being foreign born doesn't seem that unsurprising or unexpected. Based on your comment I thought it would be much higher.

My opinion: I am a believer that immigrants are the lifeblood of America and are the secret sauce that make it great. It's a nation for immigrants, by immigrants. I think we should encourage immigration on the basis that brain power is the resource that US needs and one that will be driving the growth of the next century.
> Now men or women can decide when they want a child and on what terms

Women currently have much more choice which gives them an unfair advantage. If a woman becomes pregnant by accident then she can abort or not abort without the man having any say in it. So if you make the argument that it's her body and the man shouldn't have a say (which is fine, I agree), then at the very least the man should have the equal option of "financial abortion" so that he has the same after-the-fact choice to not have a child that he didn't plan on having.
It is best for society when children grow up with parents who both wanted them.
Vimium: Vim-Inspired Keyboard Shortcuts for Chrome and Firefox
Yep, I enjoy AVR, even when programming in assembly for it.
What else is a constitution?
Yes, but the Julia REPL produces 2.0 as an answer and casting both these to BigInt doesn't work either.
See https://news.ycombinator.com/item?id=18834107