skysight-inc/HackerNews huggingface dataset:
The last 6 months or so I've been using TeXShop to make LaTeX files of everything I'm learning about, i.e. to produce beautiful-looking pdfs. It's going great. I have 2 or 3 files I'm working on currently; there's another few on specific themes, which will be books or papers. One is a daily diary-type one to put everything I'm learning in: names of books, papers, videos, extracts, pictures, links, quotes, extracts, my thoughts. Chapters in that one spin off into their own file when they get big enough. Another is on all the little LaTeX/TeX things I've been learning about.

Before I started doing this, most of the daily stuff I do - papers and books read, thoughts about it, good pages/paragraphs - would be lost. And I have a bunch of old notebooks with everything disorganized that I've never looked at again. I'm into so many different things, keeping records about it has always been a problem for me until now.

I know, sounds weird huh. Things I like about this system: hyperlinks, internal links, footnotes, endnotes are super-easy. Anything that isn't super-easy, you can just make a new LaTeX command or environment to make it super-easy. Easy to insert pictures, cropped or scaled. Mostly, the compiled pdfs look so nice, it's a great pleasure to work on them. TikZ is sometimes the best way I know to make professional-looking diagrams of stuff. So yeah, learning LaTeX (and basic TeX) isn't much fun, a few months of hard work, but StackExchange and a few LaTeX books makes it fairly painless. There are included packages that do most things you could want, the documentation that comes with them is almost always impressive. (Compared with man pages, at least!) Most of the learning time is learning how to use all these packages. I'm no expert, but I've stopped consulting SE and books; I know enough for my purposes. Also, the stuff ends up in in a virtually ready-to-publish state.

Also I write quick plans, diagrams, pseudocode, ideas etc with ballpoint pens in notebooks and on graph paper.
Okay, the Youtube/political angle of this is pretty horrendous and is deserving of discussion. But they pose a question about Peertube: how well does it hold?

In my limited testing from central San Francisco: it doesn't. Which makes me sad. Anybody have any insight into the pros/cons/ultimate performance/scalability limits for Peertube? Is the flakiness a function of immature technology or inviable technology?
The database is distributed among independent nodes.

Each participant has their own copy of the immutable ledger and world state.

Entries are cryptographically signed.

All interactions run through smart contracts (you can’t just insert/update).

You can form channels to engage in private transactions between a subset of the network, without divulging the existence of the transaction to the full network.
Brunette Wrestling Showdown
I'd agree that MobX generally gives you good performance out of the box, but I'd definitely disagree that Redux's performance situation is a "nightmare".

One of the keys to good Redux performance is to connect more components, and have each component only extract a small piece of the state [0]. Using memoized selector functions also helps in most situations [1].

FWIW, there was a really good discussion on the relative strengths and weaknesses of Redux and MobX in regards to performance a while back [2].

[0] https://blog.isquaredsoftware.com/2017/01/practical-redux-pa...

[1] https://blog.isquaredsoftware.com/2017/12/idiomatic-redux-us...

[2] https://www.reddit.com/r/reactjs/comments/5hf4d4/an_artifici... (see the linked article, the Reddit comments, and the links in the comments).
I am actually going through this right now. I'm in a position that renews yearly. I'm a regular employee but it's the way this kind of position works (I'm being a little vague on purpose to avoid personal identification). Before renewal I talked to the officer manager, he sent everything over to HR a few weeks early.... which seems to be the mistake.

HR let it sit on their desk and then forgot. My office manager is working at getting them to fix it ASAP. I've already missed one paycheck (which I will receive eventually).

First hint was a notice that I am going to be losing email access soon (which I still have currently). Then I lost keycard access to the building and office (it unlocks automatically at a set time, so I can still get in eventually). I've lost access to some of the resources we have (not critical to my job at this point). Got a letter in the mail about COBRA. Got a letter in the mail about retirement. I'm wondering when I will lose access to our wifi and cluster.
Is it possible for this sort of thing to make it into the compilers? Seems like it might see much more usage that way.
PKD had amphetamine problems, not methamphetamine. Though of course they are related, meth is in a different class when it comes to potency. His hallucinations and mental issues started well after he finished a drug rehab program in Vancouver so it's not certain they are related.

As an aside, the dreary, rainy atmosphere of Blade Runner was inspired by Dick's residency in Vancouver.
No, Chrome used to but now uses a heuristic to determine whether new tabs should be launched in their own process or share an existing process, as a memory usage mitigation strategy. I believe tabs from the same origin have a preference of sharing processes.
Microsoft Employees Pressure Leadership to Cancel ICE Contract
Blender is actually my favorite example of a beautifully made, professional-level OSS tool. The way the interface renders, the way the interface is thought out -- it's truly a pleasure to use. Given the Python backend interface and graphics/game engine, I've considered using it for completely unrelated projects -- I could see it being used for video/display jockeying, or aerial survey flight control, for example.
Wow, I'm actually surprised this is true. I didn't believe you, except I went into System Preferences on my new Mac and saw that FileVault wasn't enabled. That greatly surprises me because I've definitely seen the FileVault FDE option, with it being on by default, in the setup wizard before.

Does anyone know where/when this occurs? If you install macOS from scratch on a computer?
Aaaaah! You got me!
And clickbait headlines, as well.
If you read to the end, he did take "the next opportunity that presented itself".
Considering Defense Reform? Read This First
While I don't disagree with your premise, "need to be an expert at both layers" is absolutely still true if you build your app natively for each platform (more so, even). At least with a common platform, if nothing else, you can share quite a bit of code, and that alone might make it worth the extra layers.
Marijuana is a great alternative to opioids for pain management. I got a couple long term injuries in college (permanently broken L5 vertebrae, a shoulder that continually dislocates) and was on opioids for quite a while. I was noticing a dependence and quickly looked for alternatives. Weed has been a godsend. I can sleep through the night, and mostly operate pain free these days. I've been smoking weed for 7+ years and I'm feeling great!

Disclaimer: I work for Eaze.
They haven't been demonized for making opioids. They've been rightly criticized for deceptively marketing them to patients and doctors as safe and non-addictive[1]. They've been rightly criticized for allegedly bribing doctors to overprescribe opioids to patients who don't need them[2]. They've been rightly criticized for failing to properly monitor and control the supply of opioids.[3]

Some pharmaceutical manufacturers have made billions of dollars from oxycodone, hydrocodone and other synthetic opioid drugs. They used bad science, deception and outright criminality to flood the United States with powerful narcotics, sparking an epidemic of addiction. Nobody forced them to do it. Nobody asked them to do it. They should bear the consequences of their actions.

[1]https://www.nytimes.com/2007/05/10/business/11drug-web.html

[2]https://www.bloomberg.com/news/articles/2017-10-26/insys-the...

[3]https://www.justice.gov/opa/pr/mckesson-agrees-pay-record-15...
Yeah, it would be great when it'll work for more than just 60% of the internet users. Maybe then we can actually use it!
It's not only Facebook who have this process unsufficiently secured. The process for administering real death is also not really tamperproof. There is a hilarious defcon presentation on virtually killing someone and getting a real death certificate: https://www.youtube.com/watch?v=9FdHq3WfJgs

Improperly reporting someone dead, or misrepresenting someone's will is something "you don't do" so the system is designed to minimize friction/pain.
> Even if Google just pays a fraction like $0.1 per TB, they still have to earn $100 somewhere else to break even.

1. The bad press generated is easily worth more than $100.

2. Youtube exercises the option recommend other videos. Blender gave them 1M opportunities to attract attention to other videos that are monetized.

3. Blender's videos were probably much larger than 100MB. I remember watching several that were over 30mins.
Is there a reason to believe that getting rid of a regulation actually fosters in better regulations? I don't think I follow that logic.
Not to compare the two, but Adolf Hitler also got into power pretty much legitimately. He was elected, and the Enabling Act of 1933 that gave him the power to enact laws passed Reichstag and Reichsrat and was signed by the president.

You can reach dictatorship in legal ways. Being abolished may be seen as an inherent design feature of democracies.
> I'm in a position that renews yearly.

I renew every two weeks. You have to stay ahead of people, ideally lock in your renewal before the existing contract concludes.
Wikipedia is correct, it IS an internment camp, like officially, that's what they're called.

Vice, (who wrote the article) is the one being "political".
It's no worse than the problem of stretching a texture over a sphere, using UV coordinates. It's doing it at this data rate that's new.

Mandatory XKCD: [1]

[1] https://xkcd.com/977/
Ask HN: Switching to Developing on Windows from Mac
I've been mostly on a mac for the past 6 years professionally and personally. I'm about to switch up my daily driver to a Windows box. I'm looking for any tips when it comes to a 'modern' development toolkit for someone who's been enveloped within the the mac/unix ecosystem for the past few years but is making a switch. I love my tools, and would love to hear what people's kits are comprised of and why.. I feel it'd be useful even if we work on completely different stuff.

More context:
I was a windows user and then developer from windows 95->10 and then went mac full-time when I wanted a nice laptop and began dabbling with iOS dev more seriously. Since then I've found myself accustomed to the unix terminal, homebrew, and a ton of other tools and things like that which I use on a daily basis for work and side-projects. Right now mostly node/javascript and other front-end/web stuff.

The new computer arrives later this week so I started googling "windows alternative to x", so figured I'd see if anyone on here recently switched from mac to PC... Any tips? Anything to be super happy about? Any things I'll need to work-around?

Things I'll be taking with me...
- VScode
- Creative Suite

Things I know I'll miss...
- homebrew (+ a ton of stuff that I manage w/ this)
- iTerm
- oh my zsh
- spotlight & alfred
- iStat Menus
- Spectacle
- rocket
- native git?

Things I've heard to use...
- powershell (how does this compare to how I use iTerm?)

ps. I don't want to use Linux on this computer, and pardon the formatting/braindump for this post. :-)
Well, if it's Trump's position that countries which egregiously violate human rights shouldn't be on the council... I guess this is a good start?
From the article:

> rodeo is rarely given serious literary treatment.

"Wild Horse Rider" is an interesting tale of a rodeo rider from 100 years ago, about a real person, from the Wallowa area of eastern Oregon https://amzn.to/2I3RtGu

It's not a work of 'great literature', but I enjoyed it. The guy had an interesting life for sure.
Read the article. People getting addicted to medically prescribed opiates is single digit percentage.

Are their pill mills out there? Yes, and the DEA should shut them down.

But should we be undertreating real pain in order to “do something” about opioid deaths? He’ll no.
Java G1 garbage collection
A few years ago, I took a sabbatical from Yahoo.

When I returned, I got an email a few days later from a 3rd party survey company with the subject ”Exit Survey” which began “We’re sorry you’ll be leaving Yahoo soon.”

I was confused and so was my boss. Turns out some automated process included people who recently concluded a sabbatical in a mailing list for people who recently resigned...
Flat earth is not exactly what i had in mind when i made my comment. Let's be real here, there is an incredible amount of nefarious bullshit happening in business and politics all the time. There always has been, which if you enjoy reading history you would know. I see no evidence that it is slowing down. If anything it is accelerating.

Added to that corporate espionage and disgruntled employees are not opposites. One provides opportunity for the other.
To provide some extra context on this: at FB, we can't ship any RN update (or really, any RN commit) without updating our own apps for it. No product teams at FB are going to agree to rewrite their code just because an infrastructure team came up with a new way to do something.

The reason updates are easier at FB mostly has to do with atomicity of commits. Because FB uses RN from master (and in practice all code lives in the same monorepo), codemods can be applied to products together with the corresponding infrastructure changes. Since the upgrades have a commit granularity instead of the monthly stable releases we cut in open source, there are no big delays between a regression being introduced and fixed for FB products. This discrepancy is unfortunate, but I don’t really see a way around it for an actively developed library--which might be your point.

Undoubtedly RN is in active development, and being a moving target, it's easier for FB teams to “follow” it. Still, large backwards-incompatible changes are just as infeasible for us as for everybody else without either an automated codemod or an opt-in strategy.
Moral panic implies a fear that society is threatened by something. That something can still be bad.

A moral panic is a feeling of fear spread among a large number of people that some evil threatens the well-being of society.
For video serving encoding technology is good enough that we don't actually have to shovel that much data over the network. Latency is the biggest issue from what I understand.

Most of the amazing work google has done to make youtube fast is the magic behind google's omni-presence established world wide. Like they say in the post they have one datacenter in the EU serving this content. If they used AWS and spun up an instance serving content from every AWS region available the performance would be much better.

I was able to play the video but it lagged a bit to get started until I was able to find peers near me. This is likely a latency thing to the remote host in the EU.

PeerTube should scale much more easily than a conventional site because viewers, I assume, are peers of the content. More people looking at something means more people serving that content. The biggest con is that if you're viewing the video you're shoveling data to other viewers which, previously, you've likely not done.

I hope more people try things like this tech.
The Parliament of Canada passes bill to legalize recreational marijuana
Ask HN: Will Tesla hit production of 5k model 3s by 7/1?
My prediction is that they will have a single week of 5k productions thanks to the new assembly line followed by several weeks of 3k-4k and eventually crossing 5k in August.
> The system did exactly what it was intended to do, it was the humans who screwed up.

It was the humans who designed and who chose to deploy a system without a human in the loop, and without an override (even after a director was involved) that screwed up.
An example they give is that it doesn't apply shear transforms to CIFAR-10, because there aren't sheared examples in the (test) data. That makes it less indicative of real-world vision performance, given that human vision is fairly robust to shear.

An opposite sort of strategy is to apply every augmentation that doesn't increase human error rate on a test sample.
> Oh, you meant typical for you.

I'm pretty sure those are meant to be, and I think are, "typical" for the general purpose CPU in use, and thus the general case.

Both mobile and desktop CPUs will be doing DOM layout, DB queries (whether to SQLite or the registry or just the filesystem), and possibly computing game logic on a regular basis.
As I understand it, expensive processes required for compliance with financial system/anti-money laundering laws make a moat for most money transmitting businesses. That moat prevents upstarts from challenging incumbents effectively.

Presumably someday cryptocurrencies will be able to fill the PayPal niche, but that requires a more robust buyer-merchant ecosystem than exists at present.
I see, thanks for the clarification.

When it came to searching for all content across all instances (in a way like how we can search all content on YouTube) is this something that would be possible?
I agree. Though, I am curious how much of a boon this will be for peertube, and in what way.
I learned Blender almost a decade ago. Instrumental in my learning the application was competing in informal speed-modeling contests.

They were conducted from an IRC channel, and ranged from 5 minutes to a couple hours, with random-ish topics: a chair, a pair of binoculars, boombox, etc.

I am fairly certain this experience also contributed to well-developed spatial skills (mentally representing and manipulating objects). I hope you encourage your daughter along this path. :)
Next time I'll avoid humour in a submission
I'm curious about your experiences.

I'm an inpatient physician. Once you are dying of cancer, we almost dump opioids on you where I practice. Especially if you elect hospice or comfort care. If you don't, then it becomes somewhat more difficult because escalating opioid therapy is just assuming risk of causing hypotension or respiratory depression.

We definitely undertreat acute pain. But in my circle, I'm pretty frank with patients that we generally won't use opioids for chronic pain outside of cancer-pain. It's not because of regulatory issues, it's more because the vast majority of people with chronic pain that I see don't have an obvious organic cause. Yes, it means the few that do have a good indication for chronic opioid therapy will suffer.

Also, acute and chronic pain behave differently. People with acute pain have a certain appearance that is easily recognizable. People with chronic pain will be sitting there looking comfortable, normal HR, eating and walking and watching movies comfortably on their iPads. It feels so weird prescribing opioids to those people. All the while telling you they "10/10" pain.

We need better studies on who qualifies for chronic opioid therapy and how it should be managed. Drug-monitoring databases have certainly helped, but a lot more needs to be done.
Verizon, Sprint, AT&T and T-Mobile stop sharing cell phone location data
You can go to a church and pray. Maybe some of your worries are justified.
The US and it's relations with the UN were a focus of one of my senior seminars in History (1995). I'm a programmer, not a political scientist or attorney, so read this critically. In short:

* The UN Human Rights Council declares specific Human Rights. Countries choose to accept them or not.

* The US has a Constitution which defines specific limitations on the power of government. Rather than granting rights, there are limitations placed on what government can do. The Bill of Rights amends the Constitution to describe specific rights in some cases granted to citizens and specific limitations that the federal government has when dealing with citizens.

There's a fundamental disconnect in "governments grant these rights to people" versus "people inherently have rights and these are the curbs we put around them." An even bigger impediment is that the UN HRC would supersede the US Congress: these changes to the US Constitution and laws would be imposed without a treaty or legislative input. A committee in an extra-national organization (which has a history of, at times, not working well with the United States) would be imposing regulations on the US. Imagine one of our hard-working Congressmen abrogating power in favor of declarations from a UN committee.

For the UN HRC to have any impact on the United States, we'd need to amend our Constitution to grant power to an international organization, or establish a treaty to implement its recommendations. Importantly, we'd need to change the fundamental concept by which citizens have power and rights and government is restricted. (And I'm ignoring _Gibbons v. Ogden_ (1824) and the expansion of the Interstate Commerce Clause and Federal regulation throughout the 20th century.)
What do you define as aggressively adopted? The Ethereum Enterprise Alliance has 500+ members including many Fortune 500 companies.

There is widespread experimention with blockchain technology by government, academia and industry.

For example, the majority of central banks are experimenting with blockchain/distributed-ledger technology:

https://qz.com/1083712/one-in-five-central-banks-say-they-wi...

NASA is researching using blockchain technology for spacecraft navigation:

https://www.uakron.edu/engineering/ECE/news-detail.dot?newsI...
I live in Manhattan next to an intersection where people are beeping all night long. White noise machine on = I don't hear anything.
On the web side, yeah, though on the game side C# is very popular (largely thanks to Unity).
Do you have a source for this? I Would like to read more (specifically Ohio). I didn't have any luck with Google.
IANAL so I might be wrong, but if they terminated his contract, I would assume they can't still legally pay him as if they hadn't.

Of course, he's also well within his rights to sue over it.
https://en.wikipedia.org/wiki/Fediverse
Yep! You’re doing it all the time by deciding what to put into it!
The vast majority of the 100 always have been and are still Android and iOS devs. React Native never made up more than 10-20% of our mobile engineers and many of them came from Android or iOS backgrounds.
https://en.wikipedia.org/wiki/PewDiePie#Controversial_videos...

I remember the headlines, but had to go to wikipedia to see why they abandoned ship.
Resolving these issues can happen in several ways.

Since all participants are operating with the same data store, you can flag these conflicts in real time. You might even have individual transactions to mark start and end times, such that conflicts like this become impossible.

You might escalate to human resolution. IBM Global Finance implemented a blockchain system for thousands of its business partners in order to help resolve invoicing and payment issues. By having a trusted single source of truth, the dispute resolution process was dramatically accelerated. I don’t recall the exact numbers, but they went from something like 90 days average resolution time to just 1-3 days. This resulted in reducing working capital needs by about ~$100m, thus saving a few million dollars per year just in interest charges.