skysight-inc/HackerNews huggingface dataset:
Top-down, left-right flow in reading and writing text is an under-appreciated order. We learn it from a very young age and use it everyday in writing English.

Replacing our natural order to process language with a visual scripting environment doesn't really work. The flow control format needs to match the coding requirement, otherwise the default written text style is much better.

The best visual editors I've seen amplify the top-down, left-right structure and sometimes are not saved even then.

Organising ideas into a communicable stack of information has always been the realm of language. The move from pictographs to alphabets was a technology that allowed masses of people to be literate and spread the associated language far and wide, spreading the host civilization with it. Going back to pictographs for coding.. is a deep challenge.
Listened to the Philosophize This podcast [1] on The Ethics Of Ambiguity recently. Sounds very helpful. Looking forward to reading.

[1] https://open.spotify.com/episode/2U4NLsvSKkJmtbxvguAoHY
> I also don't get why everyone is clamoring for one company to control all video entertainment distribution. Isn't that what we hated about cable? Didn't we beg for the ability to pick and choose what we actually want to pay for? Now we finally have that and people instantly want to go back? Why?

Well, that's only half of it. The other half is that people became fed up with their bills, not realizing that everyone has a unique subset of channels they liked, and paying for the full bundle was a way to subsidize all the other channels.

Sadly it's rather difficult to balance these two issues.
That's the general direction I'd like to take. When we capture the inputs for the scrapers, I'd like to persist everything. Mouse jiggles, delays, idle time. I think it would definitely help advance the software.
Hi!
I am one the author of this post.
I agree that Singletons are ugly. But:

1) Without them, creating a bridge between types and values became a real hell.
2) HasCallstack just gives you a place of an exception. It does not give you a cause. And part of errors even does not lead to exceptions at all.

Just want to say, that idea described in the post arose only after hard debugging. And using singletons was much easies and more reliable. And we tried to explain and analyse our personal experience.
NHS and other nationalized healthcare providers, doctors and nurses working in hospitals get salaries, so they could scam some overtime but that's about it. I think local primary physicians get paid per visit, but most are way overworked anyway so kinda hard to fake extra visits.
People aren't asking for a single distribution channel in the sense of a single monolithic company owning all the IP. They do want (1) convenient apps that aggregate, such as Apple TV and Amazon Prime Video, and (2) a way to get all the content without having to pay lots of individual companies (I'm subscribing to around 5 streaming services myself).

Why can't video be like music? Spotify and Apple Music aggregate pretty much all the music in the world now. You don't have to sign up Warner and Sony and a thousand other labels to play music. There are stragglers, of course, but they're getting fewer. If this model works for Spotify et al, why can't it work for movies and TV?

Moreover, all the music is licensed through a single IP rights licensing system. It's what allows music to be played on the radio and so on. I know very little about how it works technically, but it seems to work just fine.
You can see the script they currently use to detect incognito in different browsers + rules they use to allow browsers even if they haven't logged in (e.g. social browsers and their apps)

https://gist.github.com/jeroenvisser101/9f8119cfa91371dd6e1a...

Source: nytimes.com's sourcemaps
That’s an interesting comparison that I hadn’t thought of.

To me, the difference is in the degree to which the browsing experience is distracting and aggravating. Neither myself nor, I think, most people are going to “turn it on, sit back, and relax” with broadcast TV. Instead, you generally go to the menu and scroll around looking for something to watch. I will often mute the TV while doing this, but even if you don’t, it generally doesn’t start playing video and audio from a channel as soon as you hover over it. Instead it continues playing the channel you’re currently on until you’ve chosen to switch. That is a fine browsing experience.

I think the other difference is that if you’re flipping channels, you’re tuning into what the channel is actually playing, not an endlessly repeating ad for the channel. It’s getting you to the experience you care about as quickly as possible.

Netflix, on the other hand, the minute you stop scrolling, starts loading a preview. This makes the UI less responsive if you want to start scrolling again, which you often do, but oops, you let it sit on a title for just a millisecond too long. If you stick around, you immediately start in on the preview, at full volume. This combination makes the browsing experience super distracting and frustrating. Sometimes I want to discuss with my wife whether to watch a show, but I can’t, because there’s a full volume trailer playing. So I have to mute the TV. It’s so frustrating to not be able to go into a “thinking” state when the experience of browsing is fundamentally a thoughtful one. And 99% of the time if I stop for a second on something, I don’t want to watch a preview. I want to read the description, maybe, and then move on.

Anyway, I appreciate that interesting analogy you gave, and I could see how the two things seem similar. I don’t think they are, but even if they were, most of us preferred Netflix because it was not like broadcast TV!
"Disclosure" could mean many things. The idea of providing the info directly via email to the affected user seems to adequately disclose things to the relevant parties.

Are there additional benefits of the public api that on balance benefit the public more than attackers?
Thank you. Of all things I've ever read about react, your post is the first one who clearly explains WHY we need something like react and what fundamental problem it solves.

A frontend designer's job is to manage the state of the visible UI controls. There are lots of requirements which evolve and change during the lifetime of the project. You need to encode the application state and transition the controls according to the state. Before react, you mostly kept some variables around somewhere, added some ifs and elses which update controls, handle some events, update the state and you extend and extend and extend... and finally you have a bowl of spaghetti with some state sprinkled all around.

React separates the state from the UI update phase. Simple and elegant.
I hope you are still reading replies, even though I'm a couple days late. But if the calculator has such a high impact, why hide it behind a requirement to give out our email? I'd love to give it a try, but have no desire to sign up until I've seen more. It sounds like you are hiding one of your most effective conversion tools from me.
It's a difference in expectations for me. When I was browsing the Netflix catalogue, I wanted to be in control and find something myself that's interesting. When some video starts auto-playing, then it feels like some kind of obnoxious banner ad for some show I may or may not even remotely care about, and it's distracting me from my task.

Then again, I'm not currently a customer, but that's my recollection of it. For regular TV, I couldn't especially say, since I mostly only ever get a chance to watch it in hotels nowadays, but I don't ever recall something distracting you from channel surfing or using the guide channel and breaking you out of your zone.

As far as regular TV being more relaxing, I suppose there's maybe something meditative about going through all the channels, but I wouldn't say it was a better experience. It's just easier to settle with something mediocre when you're sure you've seen all your choices (assuming no commercials were playing at the time).
New York Times: Why Democratic Debates Are Starting to Feel Like a Reality Show
My favorite limiting belief is that about our limited willpower. While it's kinda true, studies show that people who believe that willpower is unlimited perform better, than those people who believe in limited willpower. IMO, it's a perfect demonstration of how the limiting beliefs work.
But there is a difference in that you aren't locked into things the same way you were locked into cable, where it was all or nothing. You can subscribe and unsubscribe to different services at different times as you wish. Given you get all the content available during your subscription why would you stay subscribed to all of them all the time. Just subscribe to the ones that have the shows you want to watch at that time and cancel all the rest.
>Aaron Swartz was arrested and charged under hacking laws for doing exactly what you're describing.

Don't think connecting a computer to a private network to suck up subscriber data is comparable to scraping publicly accessible internet content.
tourists can still end up paying for property taxes. They occupy physical space.
Best system is a pure land value tax. You can sprinkle in pigovian taxes to taste.
Show HN: Dataset of 125k Medium Blog Post Titles and Subtitles (With Categories)
I'm deep into vim and have recently seen some things that colleagues are doing with VS Code. I have to admit, I'm tempted.

But I'm so used to vim + tmux now, it's hard to imagine working with something different.
How anyone thinks that cities are competent enough to do any of the fantastical scenarios described in the article is beyond me. This is going to be a huge waste of taxpayer dollars and we're going to end up with an expensive boondoggle that makes things worse than if they has just left things along and let the marketplace sort things out. Once such systems are baked into place, it's going to be hard to undo the damage they cause.
Edwin Drake
The main thing I learned is that there's no such thing as a perfect day. If you sit around and wait for it to come, you'll be waiting until they haul your corpse away. The truth is that things always come up, especially as you get older. You have to plan around uncertain events instead of planning for your day to go a certain way.

Over the past few months both of my parents have been in and out of the hospital repeatedly. I live closeby, so I've been taking a lot of days off work or working remotely to help them get to and from the hospital, and then to help them get situated afterwards. I had to carry my mother up the stairs in her home a few weeks ago because her knees are giving out. I didn't think I would have to do something like that at this age--I'm in my late 20's--but, as the phrase goes, "shit happens."

The reason I brought that up is because I've also been thinking about making a job change to a different company. It'll probably require a few weeks of preparation, and then another few weeks to interview with various companies. I'm also a little scared about the whole situation because I'm woefully underprepared, so I don't know how I'll perform.

So I keep telling myself, "tomorrow, when I'm fresh in the morning, I'll come up with a study guide!" Then something comes up, and "tomorrow" becomes "this weekend." Then something else comes up, and "this weekend" becomes "next week." The something's aren't always bad things--I've been attending a lot of weddings recently, and also some of my friends and family are having kids, so it's been an overall positive thing--but distractions are still distractions, and I haven't been able to plan out any of those.

So I think what I have to do is just carve out time when and where I can. I might not get the six hours of uninterrupted study that I could get when I was 19, but I could certainly have done a far better job of studying than I actually did.

I have some more thoughts on all of this, but I really liked this question because it made me think about how these past few months really went.

EDIT:

I just wanted to edit this post and say that there are some outstanding responses in this thread. I'm never less than amazed at how reflective and thoughtful people can be. There's probably enough life advice and experience in this thread to fill a few books.

I have this habit of checking how "great" people have responded to certain situations, but now I'm realizing that "ordinary" people (whatever that means) might have just as thoughtful, reflective, and wise approaches to things. Instead of looking up the 18th article of how entrepreneurs respond to stress, I could probably sit down with my grandmother and ask her what it was like moving to a foreign country by herself where she didn't know a single person or speak the native tongue.

I'm rambling now, but I just wanted to say that the advice in here is pretty spectacular. I usually regret the time I spend on Reddit and YouTube, but I seldom regret the time I spend on HN (unless I find myself in a political thread).
Yeah, I’m not crazy about this trend toward emailing magic login links. I’ve got a password manager...
So, I am reminded of a point in the "early" (that is, early as a consumer venue) internet, when there was a lot of great content, but no good search engines. It did not send people back to pre-internet sources, nor do I think the current situation will send people back to their network broadcast channel. But I think there is a real problem, which is that there are more and more good shows, and no more hours in the day. It feels...a bit like too many companies chasing any finite-sized market. It feels like just before the crash.

It's hard for the world to ever admit it, especially the U.S., but maybe we don't actually need to have this many shows?
> Property taxes tax the permanent residents but misses out the opportunity of, let’s say, taxing the tourists.

Tourists pay real property taxes because those taxes are factors into accommodation prices, and into the prices of goods and services sold to tourists.
"...I kept thinking, if his face looks like this, what must his balls look like?" - Hockney, after drawing the heavily wrinkled Auden.

https://www.lrb.co.uk/v40/n09/seamus-perry/thats-what-wystan...
Patrick Henry Winston cared so much about students.

He wouldn't just spend time crafting lectures (which you can see on OCW), but even spent time re-designing the course to try to improve learning and remove focus on the grades[0].

When students needed help, he was always by their side. When the Star Simpson events were taking place, PHW helped institute policies to better support students[1].

He was a true character. I pieced together a Twitter thread to try to show a glimpse of his personality[2]. MIT will not be the same without him.

(Disclaimer: PHW was my academic advisor for 5 years)

[0]: http://web.mit.edu/fnl/volume/204/winston.html
[1]: http://people.csail.mit.edu/phw/star.html
[2]: https://twitter.com/futurekennysf/status/1152262290642788362
> Can you link to any tool which uses bearer tokens and doesn't grant them through oauth2?

Yes: https://www.pelion.com/docs/device-management/current/integr...

(I know I've seen and used many others, but Pelion comes first to mind because I used to work on it.)
First, you are overstating how generous public pensions are (and grossly overstating the differential in administration of private and public pensions).

Second you think private sector pension planning is better. It is not. Pension funding reduces earnings (and bonuses) and companies will use overly optimistic pension fund growth projections to reduce current contributions, resulting in underfunded private sector pension plans. A great example of how this is handled is Patriot Coal (pension obligation spinoff of Peabody) and Magnum Coal (similar spinoff of Arch, acquired by Patriot). Those were spun off basically insolvent, with all pension obligations, and when the declared bankruptcy the retirees took haircuts and the remaining obligations were socialized with the PBGC (which I suggest you look into if you are interested in public and private defined benefit plan administration analysis).
That's great! I'm starting to view things through your lens as I get older--that work is more about setting up the foundation for the rest of your life instead of being the central focus of your life. I think if you can make it the central focus of your life and manage to succeed--however you define it--that's a wonderful thing, but there's also nothing wrong with taking, as you said, a "seemingly dull job", performing well at it, and then coming home and pursuing other interests. It doesn't sound as defeatist as it did when I was in my late teens and early 20's. It sounds practical and even somewhat motivating to me, that your work doesn't have to be this grand adventure. It can simply be a job that you show up on time to and perform well in, and then afterwards you can close your laptop and do something else.
I'm a fan of Rust (although I haven't waded into it much yet), and a heavy user of C, and the one particular thing I find missing so far is a properly Rust-ified abstraction of QSBR-style RCU, with the full power and flexibility that can be achieved with liburcu-qsbr in C.

For C it's just some header files and a library and you get some amazing performance magic out of it. It's the key missing feature that makes me leery of going down the road of converting some existing C daemon code over to Rust.

It's hard to do low-level QSBR as a primitive for scalable threading in languages other than C/C++ unless you bake the abstraction in pretty deeply. I think it's probably possibly to bring it to Rust in a meaningful way, but probably non-trivial to integrate with all the other cool things going on in the language for concurrency and the borrow-checker, etc.
YouTube seems to be a lot better than the rest. I consistently get good music videos queued up, it is great for discovering new music
There's no need for tolerance for opposing views. What's important is communication. That means listening, not tolerating, and engaging. What you describe as hate are valid opinions based on rationality. It's possible to engage them in discussion. They're not ignoring facts and can be brought to change their mind. I've engaged them before, I know. Voat is a pretty good place for this. But you need to enter the conversation with the assumption that you could be wrong, otherwise your view gets clouded and all you see is hate. Instead of banning you for wrongthink, on Voat people actually respond to you with providing sources for their opinions, which you can then review and either debunk or validate. But you will be insulted a lot. People who can't handle this should stay away.
You can install IdeaVim in PyCharm. I've been using IdeaVim with IntelliJ for 6 years and could never go back to non-vim style editing. This plugin provides the best of both worlds.
St Thomas Aquinas is a genius of humanity
Privacy concerns: TikTok, a popular video app with ties to China
To add to this: when a client comes to my employer, if it is required to work without Javascript it is the norm for that to be explicitly specified. Just to add to this point. It’s otherwise assumed not to be an issue
Machine Learning and Level Generation
1. A large fraction of Garnet (low level components of Fuchsia) is written in Rust. (https://fuchsia.googlesource.com/fuchsia/+/refs/heads/master...)

2. Fuchsia seemingly supports Android apps (https://9to5google.com/2019/01/02/android-runtime-app-suppor...).

3. For 1 + 2, Android may need to include and compile a part of Fuchsia for interop.

My guess is that this addition is mostly for supporting Fuchsia, rather than using Rust directly in Android.
I only met him in passing when at MIT but some of my colleagues worked more closely with him. Everything I've heard is absolutely true. People sometimes get cynical and believe that nice people can't be that nice (á la Mr. Rogers), but he really was that kind.

I think the thing that speaks the most to his personality is how the brief friendship he struck up with Will.i.am from the Black Eyed Peas [0]:

> Will likes to see stuff at MIT whenever he is in town. This time I took him to see robots in the Computer Science and Artificial Intelligence Laboratory, wearable computing in the Media Lab, and miscellaneous cool stuff in the Precision Engineering Research Group. It wasn't hard to find people to help out.

> We walked around for three hours. Then, he was off to do soundchecks. A few hours after he learned about energy-storing inverse lakes, he and his Black Eyed Peas played to a sold-out crowd at the TD Banknorth Garden.

> I always like amazing people, like Will, who is highly creative, does interesting things, and is interested in the future. MIT attracts amazing, highly creative, interesting, interested people like honey attracts bears.

> And on top of all that, Will is a fan of my field, Artificial Intelligence. Check out the Peas Imma Be Rocking That Body video.

> Anyway, when Will and his entourage were about to leave, and all the obligatory pictures were taken, he asked, as he generally does, if I could use a few tickets for the show. “Hey, that would be great,” I said. I like the Peas, and besides, I hadn't been to a good concert since the Rolling Stones were in town in '06.

> Alas, my daughter seized the tickets. “You're nowhere near cool enough to go,” she said, “and I have some friends.” Maybe I should find a new place to buy clothes.

RIP.

[0] https://people.csail.mit.edu/phw/favorites.html
Homelessness in the San Francisco Bay Area
Too bad Apache Groovy itself didn't remain popular after popularizing the name "it" for the much older idea of contextually-defined pronouns in programming languages. Using the names of pronouns in English (like "this" and "it") is easier for an English-speaking programmer to understand than symbols like "$1" or "_". But because of Groovy's bad project management, another programming language (Kotlin) is becoming widely known for introducing the "it" name.
> I think the critical mistake that all these megacorps are making is that people don't actually want to pay for a bazillion streaming services.

That's not a mistake they are making; they are all aware of that. They just want the other guys to be the ones that die first.
i wonder what it must feel like at mit with two of its titans gone (minksy and winston). are there others stepping in their place? abelson and sussman are still there. in a world where machine learning has taken over "ai", it doesn't feel there are many left who have the ability and interest in researching general artificial intelligence.
Iran says it has captured a British oil tanker
Aren't all debates a sort of reality show as the article describes?
SOLR is great but it's a pain to manage it in the cloud. If you lose an EC2 instance, there is manual work involved when you bring up a new instance. You have to tell the new instance servers which shards they're going to replicate. If the EC2 instance hosting shard1 replica2 goes down, you can't just bring up a new instance and have it be replica2. You need to use the API(which is just a call to a bunch of URLs) to get the new instance to be part of shard1.
Also, a good cloud overview UI would be nice. 8.1.1 does have some improvements.

Also, SOLR speed is almost directly proportional to disk speed. If you index is on solid state drives with high iops, you'll be fine.

Backing up a large index is a little painful too.
Note well: that was the prevailing (and probably correct) opinion a few years ago, but OpenSSL's quality has by most accounts improved dramatically over the last few years. I wouldn't talk someone out of using BearSSL, but if you're writing code that has to depend on a C-language TLS library, OpenSSL is a sane first choice.
Who's looking for open source contributors? (May 7 edition)
Generating New Watch Designs with StyleGAN