skysight-inc/HackerNews huggingface dataset:
There is a wide variety of vegan diets. You could eat only potato chips and drink soda and be vegan. Saying “vegan diet” by itself is pretty meaningless.
Yeah, but you can't provide the Internet because there are those who will use it to coordinate crimes. So that leaves choices:

* No programming

* Programming with no Internet

Preload it with books.
Surprising (concerning?) that Mac sales didn't go up, given the release of the Mac Pro and the MBP 16", both of which were poised to inject new life into the line.
> And once you're in, they make it as hard as possible to leave.

Nonsense. On my Mac, I can export all my pictures from Photos as jpeg (or several other formats); contacts as .vcf; calendars as .ics; documents in several portable formats; my music is in iTunes as (unencumbered) mp3 or m4a, nicely organised by Artists and Albums; emails are in traditional .mbox files, unless I'm mistaken, but at any rate mailboxes can be exported; even Messages are available in some directory in the Library folder, though in an ugly XML-y format; etc.

I don't know how easy other OSes make it to "leave", but you can't really argue that Apple is trying to make it hard (except by making the garden more beautiful, safe, and well organised than the others).
I came here to say this. When I switched from a typical American diet of crappy carbs, soda, and other sugar based crap to a, High Fat, High Protein diet, I got a ton of energy, slept better, etc. While I see a ton of value in my dietary choices, it was the lack of sugar that made life better.
https://news.ycombinator.com/item?id=22170749
I'd say the main determinant is what kind of C++ are you writing and what features of C++ are most important for you. If template metaprogramming is your kind of thing, then you absolutely need to try D, D makes heavy use of template metaprogramming (yes, the lengthy errors you know from C++ make a comeback in D too). If your C++ is more like C with classes, you'll feel right at home in D too.

However, if the most important features of C++ is RAII, shared pointers, unique pointers, move semantics, then you'd probably enjoy Rust more, because it focuses on this kind of memory/resource management techniques.
Funny, I feel the exact same way.

> IIRC you can't render XUL strictly with web components or anything that would be called "web"

> use [Servo] and web standards for the browser chrome.

Geez, this is excruciating.

If you want to use web standards for the browser chrome, this is not a new development. Because Gecko supports web standards. And Gecko has been used for the browser UI for years. There is nothing particular to Servo here. There's nothing particular to Rust.

Using standardized web tech for the "window chrome" is not "in the realm of possibility". It is possible. Full stop. It has never not been the case.
Heh. That was the first thing that popped to mind too. But it might be best to avoid the topic.

Still, genetic engineering is marching ever-closer. https://www.youtube.com/watch?v=jAhjPd4uNFY
The BBC really needs to be listed as an unreliable source.
When I was a teen, I couldn't have explained (in any detail) how a car engine worked either. Five years later, I'd quickly learned in order to keep my own running. Those who need to, and have the time, will figure it out.

If they are clueless, that's good. There are much more important things a teen needs to learn.
By the way, Maybe I just found the hook.
We're tracking email very precisely, means that if you use your phone on the go, we sill have the time.

And tracking emails is really annoying, its a lot of entries of 1-2 minutes. But if it automatically appears on you bill, its abou 10% revenue increase.

I mean who starts a clock for one small email, right? We do!

Does that makes sense?
We have a lot of drug users in my town. They routinely steal things from my property and that of others on my street. Drug users here have done things like murder old people and set houses on fire and beat people to death with baseball bats in order to get money for drugs. They also really really like to prostitute their own children to get money for drugs.

I support marijuana legalization. I also support mandatory death penalty for use of methamphetamine and opioids, when combined with any other felony crime.

Those who disagree are free to do so but I won't work with them because I won't work with people who support the murder of old people and the prostitution of children. Those who support and enable these things are despicable horrible people. Exactly as bad as those who support open borders despite the problems with dangerous drug trafficking and child sex trafficking that results from these policies. Only terrible awful deranged madmen support commercial sexual abuse of children.
I've written my own version of this for a couple projects but it's not 100%

Would love to be part of the early access and see how Replicache fares
This is incorrect. B12 is made from bacteria widespread in the “wild environment “, but almost completely washed it of the modern diet. The only reason non-vegans don’t typically have to worry about B12 is that cyanocobalamin or other B12s are added into common foods. There’s an argument that cyanocobalamin is bad for you though as your liver creates cyanide in processing it for use in your body. Here’s the quote from the article.

“””
One of the most well-known challenges for vegans is getting enough vitamin B12, which is only found in animal products like eggs and meat.
“””
> What if people in general have some agency, but not always enough to counteract the larger scale actions that affect them?

Would one of those actions be the urge to have sex? If not then not sure what we are talking about here.

I think the majority of people who have children they can't provide for bear the responsibility for that and I don't really see where in that you want to plug your nuance - but if you have something more than "there is nuance" I would love to hear it.
What awful point of view.

What's the consequence for being deemed unsuitable? Who determines that you are unworthy of reproduction? What other fundamental rights should unsuitable people be deprived of?
Yep, that was a total strawman argument. I read it, and wondered why potato was chosen? Just to make the point, I guess; but that speaks to the sensationalist urge plaguing the author.

There was also no information about any conflicts of interest. I'd be interested in knowing if there were any?
It pains me to see how much iPad is lagging. I thought we would all be coding on iPads by 2020.
According to the game changers documentary, even meat like chicken has to have added vitamins like b12 which is the only reason meat eaters get that extra vitamin, so supplementing is for all
I wonder why he switched it to private. Is there fear from Apple, or other device manufacturers for side-loading software? You’d think they wouldn’t really care for a discontinued product.
Even better:
Chickpeas, canned, 1 cup 1.1mg of vitamin B6 55% DV
Source: https://ods.od.nih.gov/factsheets/VitaminB6-HealthProfession...

And let's not talk about their claim that omega3 cannot be found in plants or that vitamin D can only come from supplements...
I use green text on a black background in my terminal.
> Managing nuget packages can become hellish (looking at you Newtonsoft.Json) and MS at least takes some care with that.

So.. MS wrote a horrible package manager, and the workaround is to use more MS products?
> As for Gandhi, he eventually abandoned his illicit relationship with meat, and went back to vegetarianism.

That was a commitment he took for his mother when he went to study law in England. While today the UK is a hotbed of veg*nism, back then Gandhi had trouble eating well while being veg in London, and started seeking out other vegetarians. He eventually found a vegetarian society, and it is through that society that he became exposed to Henry David Thoreau and his Civil Disobedience.

The rest, as they say, is world history.
KnightOS is a system I've been wanting to try for years, although I don't have the hardware for it. It's an admirable achievement.

How hard would it be to get KnightOS to be able to self-host? Something like an 8080 or Z80 is probably the wimpiest processor that it makes sense to try to build a self-hosted development environment on; although there were compilers that could run on the PDP-8 (address space: 4096 12-bit words), John Cowan tells me that in practice people did most software development for the -8 on bigger machines like a PDP-10.

CP/Mish is the other free-software operating system for the Z80 (and also runs on the 8080), but it's pretty far from self-hosting. As I mentioned in Dercuano, there's a free-software C compiler for CP/M which can run under CP/Mish (BDS C) but its dialect of C is not the one CP/Mish is written in.

A really small bootstrapping environment like this could go a long way to making computers comprehensible and making the Karger–Thompson attack infeasible.
That's good to know, and I'm not surprised that there are ways to speed up the build. I just found that enabling release mode made linking reasonably fast and didn't spend more time on it (and experimenting more would involve more complete recompiles :p)

Threadrippers seem really nice, but I did this on my laptop, not a desktop. Plus, when linking with debug symbols, my 16GB of RAM is by far a bigger limit than my four cores; I can't even run two link processes simultaneously without one of them being OOM killed (if I'm lucky).
I have been using this a little bit. I just use preview and macOS to annotate the PDFs that I read, and they are stored inside of a data folder that org mode can use to attach to notes in an .org file. Right now beorg does not support attachments, which would be one feature that I would love to have. I keep everything in a GitHub repository.

This set up is far from perfect, but I have liked it more than trying to use Devon think or other tools, because I can still easily access all of the PDFs in the file system. I am really curious to learn about other workflows.
Important Types of Chinese Art, from Ancient Pottery to Modern Poetry
Wow! AAPL has been buried so many times, only to surprise people. $91,000,000,000 in sales over 3 months, we're almost talking about real money :)
Great to see they mentioned creatine and carnosine. Creatine in particular is notable for its proven effectiveness as an athletic supplement but it has a host of other, lesser-known benefits[0]. It's only found in animals, although your body does produce baseline amounts from other amino acids.

0. https://examine.com/supplements/creatine/
I was responding to the claim that subsidies to grow the right kind of food, rather than corn, etc., might help.

I mentioned the issues of housing and community, etc., that are required to actually obtain and cook food. I don't see how subsidies to farmers to grow healthier foods are going to solve the problems that you mention.

I.e., I'm not denying that people living in poverty don't end up malnourished, but that would seem to stem from lack of good housing and community, not with healthy food itself being too expensive.
FWIW Apple Music does work on android, reasonably well too. I switched to that when it became apparent that Google Play Music is a dead product, soon to be sent to the glue factory.
The funny thing is, I'm a power-Photoshop user, and I find that photopea.com works reasonably well enough for me

I mean, ok lack of keyboard shortcuts and all when I'm wroking on masks, but when I'm not on a deadline it's fine
Kombucha is a great vegan source of B12, one of the key nutrients mentioned in the article. The B12 in kombucha actually comes from the culture itself.
Dave Beazley did it AND talked about it here: https://www.youtube.com/watch?v=RZ4Sn-Y7AP8

Summary: he was involved in patent litigation and had to analyse a codebase on a computer locked in a vault. He couldn't bring in any electronics but he did discover that Python was installed on the machine he was using. The video describes the rest.
When in a TV series, the protagonist has eg. a heart problem, and the doctor says "avoid stress": I get super aggravated just listening to such conversations vicariously. It becomes another burden, a non-elective task of actively working on reducing stress factors that appear in your life by default.
TypeScript: Interfaces Explained
You should read “In the Realm of Hungry Ghosts” - might change your perspective. It would be far more beneficial for society to learn and understand how addiction and the brain work and develop policies around that - more penalties are not going to curb drug addiction.
Have you considered a mechanical keyboard? Those generally last a lot longer- like the switches are rated for something like 50 million presses, and if you get some good keycaps, you should be set for life.

r/mechanicalkeyboards is a good place to go for help, esp. if you check the wiki.
I don't believe this tech is going to be a net good to society, but I do agree that (like the fight against piracy) technology is just going to win here.

I don't have a lot of hope that in the next 50 years we'll be able to prevent the ubiquity of (perhaps 3D printed and untraceable) drones broadcasting HD video to AI curated repositories that track your identity and every word (and bowel movement), if only for the lulz. Your only hope is that you'll be able to afford a home (and work in an office) with all the good countermeasures.
I'm happy for apple, but I'm annoyed at 'service' growing.

The free plan offering hasn't increased as far as I know, and the devices require more and more icloud backup space, so why would you be surprised in an increase of 'service' revenues?
This might sound unrealistically complicated, and the approach suggested here certainly is, but the idea of simulating a world is a very important concept in our current models of human intelligence, with very small children spending a lot of their time learning basic concepts of cause and effect, properties of objects, materials and physics and so on.

It reminds me of something I do in my current occupation, with a robot. It makes predictions about how a certain motor movement will result in a change in position, then measures progress in the real world. Should the prediction and reality diverge significantly (more than a particular amount), it stops and calls a human to look into what happened. I can imagine AI techniques using this kind of thing to guess what will happen next in a series of events, with the result's divergance from the guess weighting the learning rather than a steadily decreasing weight. Perhaps this is already a thing though, I'm no AI researcher
> I would prefer to see a market solution where we greatly lower the costs...

This doesn’t work and Europe already figured out social democracy. Trying to reinvent the wheel with the “more Capitalism” approach is why poverty persists like it does in America.
Hope someone can discuss how to know whether it is neutral or military alternation ...
I don't know much about this, so please correct me if I'm wrong, but plant based omega 3's have a horrible conversion rate don't they?
For the purposes of authentication the closest equivalent Android side is "Sign in with Google" which can be done with 0 dollars and is a pretty straightforward and well documented API call that has specific SDK support in a lot of languages and settings.
>iMessage makes me fairly angry because they're using & dividing people's social connections for profit.

Can you point me to a company that doesn't do this? I would think "but $hardware to use $network" is preferable to "use $network for free, but sell everything you put on the $network"
True, Yocto is not technically an update solution! We explained it as such to try and keep our post a little shorter, but perhaps we oversimplified a bit too much there. What we probably meant to say is "the Yocto ecosystem".

We mention Yocto and internal tooling rather than other competitors because they're what we hear most often. We would have loved to include more discussion about why were better than other solutions, but it would have made our post a little unwieldy.

I have a comparison between us and Balena here: https://news.ycombinator.com/item?id=22173350.

What other tools did you have in mind? It'd be great to discuss this more!
Ahh, ok. Thanks, that makes sense.
Apple finally decided to start capturing some of the value add of the iPhone itself (App store fees are solid revenue I suppose but a tiny fraction of the overall potential value of an iPhone) and now somehow an unstoppable force has gotten even more successful. I don't think I've ever seen such a tentpole product. No doubt in my mind that Apple will be the one takes AR and possibly VR to the next level.
I'm personally holding out for high end 8+ core 10nm (or 7 at this point).

I'm not paying $4k for skylake refreshes refresh.

I would also love if they started shipping optane in their high end models (or at least have the option).
> I will agree that it's a very unfortunately situation, but I'm not going to lower the standard of living of my own family that limits their chances of having their best life so as to provide for the child of a stranger who doesn't give the same care and thought to me and mine.

Where does this argument end? For example if you end up needing to live in a rest home and your family can't afford or refuses to take care of you, why should my tax dollars go to help you out? You should just be thrown out into the streets until you die to reduce the burden you put on society.

As many countries have justifiably chosen, they consider this to be an extremely barbaric approach.
I'm curious how you came to learn this. Doesn't seem like everyday knowledge.
We're not even saving everything. I try to find the right classification of the problem.
I am not sure how to react to that, at this point. I'm honest. But we dont.
New iPhones Fuel Strong Profit for Apple
I get these same arguments from non-vegans all too often. I then have to have the same discussion that takes a nontrivial amount of time and effort. I’m also usually told I’m wrong or should still rethink my dietary choices. We don’t need to go down this road again.

See the rest of the discussion for what they’re point out. It’s bunk.
Sticks and stones may break my bones, but words can make me feel like I deserved it.
Mac Pro was released too late for the quarter, also it starts at $6000.

The 16" MBP is also the top tier in the notebooks, and despite complaints, the previous gen TouchBars are working decently for most people. Not surprised the 16" didn't have a huge impact.

Updating the 13" line would have a bigger impact. iMac/iMac Pro also haven't seen notable updates in a while.
Meditation for Beginners
Last time I checked, the source code can't even fit on the calculator's Flash chip.
Hound of Hounslow: Who Is Navinder Sarao, the 'Flash Crash Trader'?
What about nylonase?
They stopped publishing how many units of each model of iPhone they sell, that's a major investor red flag.
TL;DR There is no scientific study proving one way or the other and whether you are vegan or not if you do not care about the quality and diversity of what you eat it will probably affect your body and your brain.
Over on the employment side, I got a summer job pitch in college from a hot new startup building some kind of app to help turn activity tracker output in actionable info. A startup of four people.

"This sounds interesting, but I'm wondering why you're looking for a fifth employee who's only going to be around for a few months instead of someone committed?" "We don't want to shorten our runway with salaried hires too fast, but we're expecting to close funding within the next year, so we can bring back the summer hires full-time after graduation and you'll already be ramped up."

"So you have some runway now, and you're negotiating more funding - you've raised angel funds and are working out Series A?" "Well, we're still at 'friends and family' and we haven't pitched VCs yet, we don't want to dilute the company too quickly. But we're starting to sound out investors and we've had a lot of interest!"

"So if you're that early on, are you looking at hiring purely in stock? How will that work with the temporary role?" "Obviously we can't give people shares just for a summer of work, and we don't want to plan too far into the future since we don't know our timeline yet. But once we close this funding we'll of course be making very competitive salary hires with stock grants."

"So it's contract work with the potential to become an early startup employee later? I don't mean to obsess about salary, but I see it's in New York City and I'm going to need to pay rent." "Well it's not contract work as such, we want people more dedicated to our mission than that. But I guess I could talk to the other founders about putting together some sort of housing stipend."

"So, it's an unpaid internship in NYC, and you're not willing to put anything beyond that in writing?" "..."

Just for fun, I kept talking for long enough to find out the top-secret details of what the app actually did, which took some doing. It was going to assess your activity level and "holistic well-being" to present a "supportive audiovisual experience". They'd stapled a 2000-era WMP music visualizer to a mood ring.
I'm confused by this as well. A while ago I needed to count the number of lines in an ununiformly long text file. I was initially using wc but that got too slow so I wrote something that was like wc but only did line counting. I polished it up during a flight to a con and published it on my "blog" [0]. I thought I'd benchmark it to see if these versions beat hacky and gross my C implementation. They don't seem to do so.

My implementation was very close to what I calculated for my hardware's max throughput within 20x the runtime of doing a direct file copy.

For my test file I'm using a copy of the linux source tree in a singe file generated with: `(find linux/ -type f -name ".c" && find linux/ -type f -name ".h") | xargs cat > linux.txt` which is about 770MB of text.

To get an idea of the maximum possible performance I could hope to achieve:

cat linux.txt | pv > /dev/null
769MiB 0:00:00 [3.08GiB/s] [ <=>
]

Some things I noted when doing my testing is that each program counted the number of lines, characters, and words differently in this corpus. I know for a fact that my program's line count is the only thing I tested at all and I'm assuming `wc` from gnu is well tested. Each program returned consistent results. My guess is there's some control/utf8 character or something in the source that isn't playing nice with everything.

First the haskell implementation that uses optics, concurrency, and other magic:

$ nproc
32
$ time ./hs-wc lazy linux.txt
24961824 77271007 807304327 linux.txt
./hs-wc lazy linux.txt 6.88s user 0.89s system 317% cpu 2.446 total
$ time ./hs-wc simple linux.txt
24961824 77270977 807299417 linux.txt
./hs-wc simple linux.txt 509.04s user 432.26s system 1850% cpu 50.867 total

Then the D implementation from this post:

$ time ./d-wc linux.txt
24961824 77270980 807299417 linux.txt
./d-wc linux.txt 22.09s user 0.14s system 99% cpu 22.238 total

The implementation that comes with ubuntu 19.10:

$ time wc linux.txt
24961824 77270960 807304327 linux.txt
wc linux.txt 3.59s user 0.08s system 99% cpu 3.672 total

And finally my simple implementation in C:

$ time ./mine-wc linux.txt
24961824 77270966 807304327 linux.txt
./mine-wc linux.txt 1.70s user 0.10s system 99% cpu 1.804 total

$ gcc -O0 wc.c
$ time ./a.out linux.txt
24961824 77270966 807304327 linux.txt
./a.out linux.txt 6.51s user 0.12s system 99% cpu 6.636 total

$ gcc -Wall -Isrc/ -pedantic-errors -Ofast -ftree-vectorize -msse -msse2 -ffast-math wc.c
$ time ./a.out linux.txt
24961824 77270966 807304327 linux.txt
./a.out linux.txt 1.37s user 0.09s system 99% cpu 1.467 total

I might be missing something but from my understanding these are not yet bound by my system IO. It might be in the authors use cases however since each disk, system config, etc is different.

[0] - https://closedjdk.com/post/why-is-wc-so-slow/