skysight-inc/HackerNews huggingface dataset:
> > Avoid trailing whitespace.

> This is one of the stupidest things to automate. Unlike indenting, removing trailing whitespace simply produces diffs where it doesn’t matter. And does nothing more.

I suppose formatting is a weak point for version control systems, but I think that is all the more reason to get rid of trailing whitespace. The more your code is clean of ambiguous formatting, the less it will change between commits.
It's not the hype that has publishers moving to AMP. It's not wanting to be dropped out of the carousel. Shame if somethin' were to happen to yer website traffic, friend.
That site is very cool. First I have seen codepen. Thank you for the share
Heh, I don't know how this keeps happening, but I literally just had this idea today. I almost sent it to a friend who's looking for project ideas, but I'm super glad repl.it is building it. This looks great.
if Japan can manage it America can
Because Israel doesn't fuck around, Israel sends a murder squad.
Will they? Is Australia a big enough market to give up global credibility as a company?
> Now you have to convince them that they should give up their “power” to directly inform their governance. Who is going to vote for this?

You so realize that you are literally making my point that direct democracy has significant support?

> “Should they wish to” is frankly wishful thinking.

I think you are confused about the subject: that they manifestly don't wish to is my entire point.
Most of the points made in this are untrue.

Lyft was the one to fight the battle of having 'ridesharing' become a thing. Uber didn't mind if the decision went one way or another as they already had a lockdown on the "professional driver market".

>> Instead of buying 19-month-old scooter company for $2B, it is spending money on its core value proposition.

Lyft aquired a scooter company Motivate, and announced the plans in June about their bike and scooter strat.

>>At some point, investors might not hand over Uber any more cash.

Lyft has raised 4.9B. It's the unicorns of Unicorns with a burn rate to match.

I agree with the OP, am pessemistic of an IPO, and would say it has the possibility of failure. I don't think that will happen, but an IPO flop of this scale would have major repercussion on the funding market in general. Again with the Hauwei arrest today, and the stock market in a major flux as tensions rise with China it has added risk.
I wonder what technology Repl.it is using for the multiplayer. VS code has a live coding plugin, is this what is used?

Disclosure: I’m the CEO of GitLab and we’re looking at live coding ourselves as well.
I second this. I did this for my surgeries. If I took meds at all, I took them only early when likely pain was highest on in minimal, prescribed dose. Then as little as I could from that moment forward just enduring the discomfort, being careful about how I moved, etc. I got over it. Sometimes, the pain was low enough for OTC drugs should I have wanted to use them.

Good way to avoid getting addicted.
Doing subscriptions with Bitcoin is hard because it's push based. You can't authorize once and then pull from the customer's wallet monthly.
I'd love to see you start that company :)
This is my point distilled exactly.

It doesn't matter if HN uses Firefox. It doesn't matter if web developers like us the world over use Firefox.

Ezra and Taylor just want to manage their personal brands and don't care about all that nerd stuff.

We'll build for where the audience is, and they're not going to switch for any of the reasons in this thread. It works good enough as it is.

Yes, Chrome is open source, but in marketing/critical mass terms this is no different than last time.
Unless you have a very active community commenting and interacting around the items, you can definitely go almost entirely static, even in ecommerce.

Regenerate pages after changes happen and you'll be fine. You'll still need dynamic search most likely, but even those can be pre-generated for many terms. (Your admin / content management part needs to be dynamic of course, but that's not customer-visible)

If your catalogue is so large that constant regeneration is impractical, you can generate on-demand and cache long-term a few layers above for anything not requested recently.
I'm afraid our hopes of Servo resurrecting Mozilla were short lived. From what I understand, work on Servo for Desktop has been phased out considerably.

See https://blog.servo.org/2018/03/09/servo-and-mixed-reality/
Yeah, but we're talking about a train that gets people from SF to LA in a couple hours or so. That's already pretty awesomely fast.
This guy doesn't know what AMP does. AMP is a subset of HTML that can be validated safe to prerender. That means instant page loads for the user, not merely fast.
Warning Unprivileged Linux Users with UID  INT_MAX Can Execute Any Command
"There must be a name for a concept that seems like it would be obviously true, but actually isn't."

Specious?
I had the first 17" Powerbook G4. I miss it so much. My favorite laptop ever. Even better than my Thinkpad 600e and 600x.
‘Yellow Vest’ Protests Shake France. Here’s the Lesson for Climate Change
> There is also the environmental impact to consider. Air travel has a much larger emission profile compared to train travel

I'm not sure that's true.

Heavy locomotives require a lot of fuel, and aircraft turbine engines are fairly efficient these days (airplanes roughly get 1% more efficient per year, compounded annually.)

Railroads also divide the landscape, which has a highly negative impact on wild-life roaming and migration patterns.
riscv-pk contains Berkeley bootloader for several open-source RISC-V processors, and Keystone adds security monitor which isolates physical memory using PMP. riscv-pk/sm contains most of the code for the security monitor:
https://github.com/keystone-enclave/riscv-pk/tree/5f11485b0f...
That is a fair point re existing battery scale. However I would counter, that to date, the vast majority of that development and investment has gone towards batteries for small devices (phones and laptops, basically). Compared to utility scale battery packs (and to some degree electric vehicle packs), I imagine the manufacturing challenges are very different. For comparison, the battery in my phone is about 13Wh, whereas the Tesla battery in question is about 130MWh, 8 orders of magnitude bigger. And we have only very recently started building systems like that. While a 10x reduction in cost certainly might be a stretch, I wouldn't be surprised to see at least a 50% reduction in the next 5-10 years.
Cool. I'd love to be dead wrong about this, it's just that history is tempering my optimism.

I feel like Debbie Downer from SNL back in the day, so let's hope you're right.
Arguably, it's both. A win-win.
There may be more than one reason. Some people enjoy working; for others, going to work give their lives the structure they need; most people think that minimalism is silly and feel they need/want more than what is required for mere survival.
That is naive and simplistic. Sure, if you were hit by a car you probably won't be making a flight. But cancer? Elective surgery? Physical therapy? There are plenty of slow roll medical issues that can survive a 16 hour plane trip.
AlphaZero using GPU while Stockfish uses CPU. Stockfish performs (an almost brute) force calculation of positions while AZ has to "Guess" which moves are better based on it's neural network. In this case GPU is much slower than CPU. If AZ could calculate 60 million moves per second, stockfish would have no chance to win against it.

tldr: Higher is better.
Saying that Fetlife is an adequate safe haven for the Tumblr lgbtq+ diaspora is like saying a punk record store is a safe haven for all the musicians in a city. Sure, technically speaking, the punks may welcome the musicians. But maybe those musicians don't want to sit around with a bunch of crust punks, pretending to like their trite immature lyrics and three-chord symphonies. Maybe they'd like a space built to make them all feel comfortable and independent, and not shoved into somebody else's space.

Kink isn't sex, but guess what there is a lot of on Fetlife? SEX. Look at the trending page. It's all bondage, stupid rants, and sex/nudes. That is literally all that is on the page right now.

It's white and heteronomative because, again, look at the viral feed. It's all white people having straight sex. I know of maybe 3 regular-old gay men on the whole site. The gay leather community, which literally invented BDSM, is bearly represented at all. And if there are pictures of women, or just any woman with an account, they get inundated by men trying to have sex with them.

Back to Tumblr - if I want to find furry-related content on Tumblr, I just search for "furries" and bam - gifs/jpgs, short posts, memes, everything the Tumblr community wants. I can also search Google and plenty of content comes up.

Now, if I want to find furry content on Fetlife, I have to log in, search for "furries", and individually weed through 602 discussion groups, looking at every individual's profiles, because no posts come up on the search page. No posts. No gifs/jpgs. No. Memes. It would take hours to find the same content.

This is not what Tumblr users want. Fetlife will not work for them.
> A populace not subject to daily economic anxiety is more willing to tolerate less representation in government without there being widespread discontent.

No one has figured out the whole "prosperity without scary periods of scarcity" thing yet.

> almost always tracing back to economic anxiety, even when masquerading as xenophobia or racism.

Xenophobia has a bit of a chicken-and-egg relationship with economic anxiety.

Does the xenophobia cause economic anxiety, or does economic anxiety cause xenophobia? I don't think the answer is so straight-forward, especially this time around history's block. It's not like 2016 was the 1930's... even economically depressed parts of the country were doing better than they were for decades.

Are people anxious because they're xenophobic and believe that "those people" are out to get them where it hurts (for them, the pocket book)? Or, are they anxious because they're afraid of losing their way of life and the objectively most likely cause of that loss is "those people", thus causing xenophobia?
Sockification [video]
Sorry but this is a bit clueless, what are you trying to secure exactly, if it's not your own data? You can't honestly thing that data is safer in Chrome than Firefox.
I want to print this and stick it up on the wall by my desk.
Pocket is not a cost center, it earns them money to develop the browser in the first place!
FSFE+-+Qu'est-ce+que+le+Logiciel+Libre?
> I still struggle to use it on an airplane tray table.

... it's a LAPtop. Why bother with the airplane tray when it's thin and light enough to use on your lap?

> What's the appeal of a thin-and-light 17 incher?

Most mainstream customers don't need a powerful CPU/GPU (see success of MacBook Air). All they want is thin, light and a big beautiful screen.
Isn't Thailand essentially a military dictatorship?
A small point, but Lyft acquired Motivate for $250m, which is a lot less than $2bn. Plus, Motivate has profitable bikeshare programs in various cities across North America, and have done for many years. They're not a flashmob, fly by night scooter rental company.
It looks like Repl.it is in this thread, they might provide an exact answer.

But, if they don’t, here’s my take.
To me it seems like this is something that would be built in-house with the ability to leverage repl.it’s existing application infrastructure. I’d imagine this would simplify the development compared to the vscode plugin. (stand-alone desktop app)

Also, long-time gitlab-CE user here. I’d love to see multiplayer as a feature.
For sale for $3M?
> A good example of that is PiS in Poland.

What are examples of "suppressing opposition" in Poland?
This assumes that Google's CDN is providing a significant advantage in connectivity, when in actuality you'll often have more available bandwidth between say OVH and your ISP at peak times, as compared to relying on Google's congested peering to certain large ISPs. Amazon S3 can be really paimfully slow at peak times too, I often see sub-1MB/s, while fast.com (Netflix) or OVH can fill the pipe.
The author says you can do these things anyway without AMP, but what he doesn't get is that web developers were not doing them. It took the nudge of AMP to get decent performance on the mobile web.

He also failed to mention a key AMP rule: all CSS is in the head, a max of 50 KB. There is no external CSS at all. That's crucial. It reverses a persistent anti-pattern in web development that calls for a bunch of separate files for CSS and JS. Almost all CSS on most webpages is unused (this is still true of a lot of AMP sites -- 50 KB is way too much CSS for an article).

I think the reality here is that early 21st-century web developers are terrible at web development. They stuff massive amounts of JS and CSS down users throats, distributed across 50 or a 100 requests, and call themselves "engineers".

AMP, or something even better, needs to be the default way to build websites.
If, however, it's 15mb of useful functionality (perhaps an app that lets you edit and encode video), then in my eyes, it's acceptable

You either have an abundance of high speed internet access, or benefit from internet usage that isn't metered by the amount of data consumed, or both.

Functionality or not, heavy web experiences leave out a lot of people who would otherwise be willing and capable users of %product% if it weren't for the excessive payloads they're often expected to consume just to be a user when that payload could quite trivially be reduced and still accomplish the goal of delivering content and information to the end user.

So here's my question: forget about people who hate doing everything in the browser, what about the users who just don't have access to Cable+ internet speeds, want to use the product, but perhaps can't because they're downloading 15, 20, 30MB websites just to fill out a form element because the browser is all this user is familiar with?

Not everyone on the internet is a regular of HackerNews who groks native applications versus web apps. At what point do we start focusing on the content and asking ourselves "Do I REALLY need this animation library just to indicate 'Start here' is where they should be interacting with my webform"?

To answer that rhetorical question for you: probably, quite likely not.
Exactly! There can never be any reason whatsoever for any site anywhere on the entire World Wide Web to be 15MB. Absolutely not! I mean, I don't even know what the site does, but 15MB can not possibly be justified.
Do you know the context for that, or if the translation is any good?

Sarcasm is a thing.
Uh, don't. It's a notoriously tough industry where it's all too easy to think that you're doing productive work when you're actually not.

I highly recommend that you at least be aware of what you're getting into. For starters, read some of the other threads about this topic/related topics, such as:

https://news.ycombinator.com/item?id=14874744
or
https://news.ycombinator.com/item?id=15763013
or
https://news.ycombinator.com/item?id=18092108

If you still want to make games, Seattle is the place to be.
I keep thinking what these people need is a microwave, rice cooker, and a 0.5kw solar installation.
I’m sure that depends on company culture. What you describe in a way sounds like big company culture. I am curious how this works in mostly-remote companies.
Instacrammed: the big fib at the heart of New Zealand picture-perfect peaks
Interesting. There's a kid on YouTube with over 5 billion (!) views on his music videos and he's been putting them out since the age of 7 https://www.youtube.com/user/MattyBRaps
Imagine that instead of black person, there would be some other visually distinct person. Say, white person in football uniform. Or asian woman in kimono. Or disabled person in the electric scooter.

They would likely get the same "third degree" treatment. Why? Is it because global capitalism does not like football uniforms?

The more likely reason is that while one may not know every person in the company, they have a general idea of what the company composition is. One likely knows that this particular company does not have a lot of disabled people, or people who wear football uniforms, or black people. So anyone who does not fit the common profile will get more scrutiny.

This of course leaves the question of why isn't a black person common in the software company. I don't know an answer to that. Anecdotally, this starts at high school, if not earlier -- there were no black people in my high school calculus class for example, despite the school having ~25% of black students.
Can't you just use ServiceWorkers in a regular webpage? Seems like you can. That would allow you to have an offline persistent website while still using a webpage. https://caniuse.com/#feat=serviceworkers
Black theme of tool makes me chuckle. Wondering how it became defacto color theme of hacking tools! Only thing missing is neon green.
This is cool. By the way I just tried it and ran a simple infinite loop (in Python) and the whole page goes unresponsive and I don't seem to have a way to terminate the process?
New England Journal of Medicine photo series of medical anomalies
What do you mean by “safe to prerender?”
Same here! I love seeing ideas I’ve had independently being built by others (although this idea is pretty obvious; hence, it being built by multiple parties). It’s validating. I’m working on evolving from just ideating all the time to actually building rapid prototypes. Dreaming up ideas is really fun, but so is manifesting them (with the exception of tedious minutiae, but that’s where most of the work occurs).
> You know we didn't have this problem back in the early 1900s.

1900s... so, the X-Ray machine had just been invented. Antibiotics, Radiation, Chemotherapy, laparoscopy, endoscopy, the mri, titanium, stainless steel. Medicine was in a relative infancy and outcomes were much, much worse.
I keep having Firefox for Android bug out on me and stop rendering the pages - it's really frustrating as it keeps forcing me back to Chrome. Have you ever hit this issue?
Garry Kasparov Says We Are Living in Chaos, but Remains an Incorrigible Optimist
No, but many hundreds/thousands of hours programming are necessary. School is a great way to get that, but certainly not the only way. If you're willing/able to get started (by completing a Python for Beginners course or equivalent), then learn a stack and keep making things that challenge you, and are disciplined about filling in the knowledge gaps (algorithms are a gatekeeper skill), it's very doable. It just takes patience, discipline, and legitimate interest over a long period of time.
I’m not anyone super important but this is how I’ve lived my life. Honestly it feels chaotic. My mind is always running via executive control. In some ways this, I believe, has provided me with a very unique worldview where anything seems possible - any path is within my grasp. I think it has led me to be more (forgive the possible arrogance, it’s not intended as such) intelligent than the average bear. I don’t let many facts into my mind without intense scrutiny and I tend to have a much more complete high level picture of how things work. In fact, I realized these traits early in life and believed they were something I should pursue to be more effective. Which in many ways has come true.

However the down side is that you’re incompatible with most other people. I dread routine to the point where ive lost relationships and a sense of purpose in most work. Being a cog is extremely unpleasant and it’s more and more apparent to me that that’s where most success in the world comes from (think millions of workers vs a single ceo.)

This article touched on all of that and I think I need to incorporate the routine and ritual more. Even if it’s so I can just get through the parts of life I currently struggle.

Sorry if this is a bit rambling. I’m working now but wanted to share. If you have any questions or want to chat I’d be happy. Still not sure how hacker news replying and all works so my apologies if I miss you.
Language Log » Deep learning stumbles again
Maybe a CRDT or Operational Transform?
The outside bits of a Trojan horse are attractive for a reason.
> sneaking extensions into updates that users didn't opt for.

If you have auto-updates enabled, Mozilla, like Google, has complete control over the source code that runs on your system. Had they wanted to sneak new source code in, they would have specifically not packaged it as an extension, which made it user-visible and limited to the extension API in its capabilities, and instead just patched the Firefox code to include it. So, they were decidedly doing the opposite of sneaking it in.
You might be right about these large scale systems.

Are they using significantly different technologies for the individual cells? I always found it weird that the large battery in a Tesla, for example, was just made up of thousands of 18650 cells that are probably smaller than the battery in your phone. Is the Powerwall is the same?

Does it get any different at larger sizes? Obviously stuff must be different outside of the cells, even if the cells are the same.
I know I’m making your point. I was trying to. I’m in total agreement that direct democracy is an unstoppable force.

The last sentence I wrote was perhaps me misunderstanding your phrasing. I’m operating from a prior that direct democracy is very bad, and should be avoided.

Rhetorically what I meant was that “should they wish to” is not a meaningful distinction, since they would never wish not to [operate via direct democracy once that Pandora’s box is opened].
This is totally backwards. Typed programming languages don’t exist, as in at runtime it’s just instructions applied to sequences of bits. A type is just a convention about an agreed interpretation of those bits. It’s a temporary fiction that doesn’t exist at runtime.
Bingo. The establishment media is so desperate to control the narrative of this. For the longest time they kept beating the drum of “gas tax protests” to downplay other less flattering issues. Well, the gas tax was abandoned but the problem remains. What now? Better blame it on bots and foreign interests. This seems really familiar...
Would love to see the 16:10 ratio come back in vogue. For the web and with so many productivity apps having a ribbon UI, a little extra vertical real estate makes a huge difference.
The more relevant comparison would be California specifically instead of all of America.

Still, given that if California were an independent country it'd be right behind Japan in terms of GDP, if Japan can manage high-speed rail, we should be able to.