skysight-inc/HackerNews huggingface dataset:
> CSS/js styling is so nice in comparison.

This is half the problem with Electron apps. I know perhaps Windows users are used to the random bullshit UI every developer comes up with (heck even Microsoft between it's own different software), but macOS users generally get very consistent UI's from native applications. Whatever you create using CSS is not going to fit in with that. If you need your app to be some special snowflake of UI design to stand out, it sounds like the actual functionality of it is commonplace or marginally different at best.

Also consider usability/accessibility. A native (i.e. Cocoa) macOS app gets lots of accessibility features 'for free'. I've heard it's possible to provide some/all of the same via Electron, but that its more work, and it's not done by default because it hurts performance even more than regular Electron apps.

Your argument about your reasons is literally the argument people use against the concept of Electron. "I want to do this, but I dont know how.. can I take a giant shortcut, and expect no repercussions?".

Electron is like those old Road Runner cartoons, where Wile E Coyote orders a "DIY Rocket" from ACME Corp, and sure enough, blows himself up.

If you know web dev, make a web app. If you want to make a native app, learn C/C++/Swift/ObjC/Java whatever.

Edit: I will clarify this with context. I do not write native applications. I have written a very quick (like, ~1-2 days total dev time) Cordova/PhoneGap app using similar tech, as an internal data-capture solution for people on a project (at the time, Safari on iOS didn't allow browsers to upload photos, and we needed to capture a lot of images quickly from our team on location, so I wrote a simple phone gap app and backend server, ran it from my laptop and installed the iOS apps from my laptop - it was never intended to be distributed)

So, that is one situation where Electron-type apps might be acceptable - if you need to do something quickly for an internal project, where a native browser doesn't give you the API, but Electron does. But Thats a lot of qualifiers, and you wouldn't be asking about it here if that was your intention, I imagine.
Viruses are memes. Something that a cell hears, and then can't stop repeating.
I hit up Wikipedia to see if they discussed any of those. The Atlas had so many problems that they don’t dedicate much space to discussing individual ones, but I did come across this amazing quote:

“Convair engineers noted with some pride that there had never been a repeat of the same failure more than three times....”

The past sure was a different place.
“You’ve found market price when buyers complain but still pay.”

Subscription revenue is great business. And the optimization of price to maximize profits is a set of fun math problems.

It sounds to me like the author doesn’t love how much he spends on things but isn’t willing to do without. Also known as optimal pricing...
Scale indeed matters but you can use this to your advantage another way. I use the Lodge Cast Iron Combo Cooker that Robertson recommended in Tartine. The confined space means you need very water to create an appropriate amount of steam. I have found the water coming off the dough as it bakes to be sufficient, but a very small amount of ice can always be tossed in just before covering. The cooker is enclosed so you don't loose steam if you have a gas oven like mine that vents and makes conventional steaming more or less futile. And of course, that mass of cast iron all around the dough pounds radiant heat into the dough like a boss.

I ordered the combo cooker and a cast iron pizza pan from Amazon. This ridiculously heavy parcel shipped free. Life is grand.
Thank you @dragondar for posting this. I'm one of the makers of UI1. If anyone has any questions, I'm here to answer =)
You're right, but the attacker won't get the user's original password that they probably reuse elsewhere.

If it's just your authentication system hashes that are compromised, the damage can be contained.
On an unrelated note, I'm impressed that the Waterloo Record's webiste is surviving the HN hug.
I can at least verify that I had an incredibly bad sleeper for my second child and had she been a good sleeper we would have had a third kid, but after that experience we’re definitely done. Yes, memories fade, but a kid who wakes up every 30-45 minutes for 24 hours a day for 18 months is something that gets implanted in your bones - you never forget that kind of sleep disruption.
I don't know about general purpose computers, but my life would be completely different if my high school hadn't required the use of computers that masqueraded as calculators.

My school required us to use either a TI-81 or TI-85 and my friends and I quickly discovered the power of TI-Basic. We started with small games to amuse ourselves, since this was an era before mobile phones. But I quickly realized that I could write programs to solve the kinds of problems I expected to see on my math tests. And I was amazed when I asked my teachers whether I was allowed to do that and they said yes...it felt like cheating. Suddenly studying became an altogether different experience where cramming and hoping I'd learned enough was replaced by writing small scripts that gave me full confidence I'd ace the tests. It was so much more efficient. The funny part was, I never actually used my programs during the tests...the act of programming, I realized, forced me to understand the material in a way that cramming never did.

From that experience, and a Doom-like game I built on my calculator, that spurred me to take a computer programming class the summer before college and eventually major in CS and go into tech. And none of that would have happened if my math teachers hadn't been so open minded about allowing us to use what was essentially a computer in class and on tests. So I hope they're not advocating removing all computers from class, because I'd be sad if the path I took into tech was closed to today's students.
There really isn't a better way to run a business (even if it's just a single app) than to get someone to pay you an amount on a fixed interval. It's predictable and generally weathers shocks pretty evenly. This is also why for most investors dividends are a big selling point - consistency.

Even Apple somewhat relies on this, except it's been in 2 year intervals. It's the point of so called "planned obsolescence."

So if you're an indie developer, you only have a few options.

1.Go through the rat trap of doing ads and trying to grow a huge userbase with marketing etc..., which everyone hates but most tolerate because it's free.

2. Charge a 1 time fee and hope that you price it right to support long term development and sustainment, knowing that you'll probably limit your market significantly.

3. Charge a recurring low(er) fee and draw a balance between losing a lot of very price sensitive people and having to run a marketing campaign and ad system.

No good option there but subscription seems to have the most benefits. By the way, everything needs upkeep.
Blockchain isn’t necessary. You can have a debit account system and change cents per article without the high friction cost of making people buy some cryptocurrency.
I actually think the root of our 'fake news' problem is that credible sources charge for content, while crank sources don't.

And credible news has always spent more on content creation than niche news. The cost of content creation has not fallen, while the cost of distribution has fallen dramatically.

So, it's completely natural that the price difference at the consumer side between high and low quality news would have changed dramatically.

The problem is that you hit a news story on the major aggregators (google news, at least, gives you a bunch of stories on the same topic from different newspapers) and you have to pay money to the more credible sources, while the completely wacky takes are often free.

Personally, I'd really like it if apple (or someone similar with a history of, you know, treating users as customers) would create a news service where I give apple twenty bucks a month, and it lets me read 100 news articles from the major papers, distributing some of that revenue to the papers in question. (they could even have tiers. or an easy way for me to 'buy this article' for two fifty or whatever. Heck, the NYT could setup an easy apple pay 'buy this article for two fifty' button without more apple help than is required to make apple pay work, and I'd probably use it at least once a week.)

As is, I periodically subscribe to the NYT on my kindle, but while the reading experience on the kindle is wonderful, the discovery experience is terrible. I usually read it for a while, then I cancel after realizing I haven't been using it (see the discovery complaint)
If you don't enjoy puzzles/riddles and you don't want to hang out with your work mates you will probably have a bad time doing an escape room. I'm not sure anyone is going into an escape room thinking they are actually stuck in there. Instead you go in thinking of it as a game where you want to get out as fast as possible.
Moviepass is cratering. Why would you say they are successful? The are net negative on a per customer basis. They lost $150M last quarter.

Their only positive income is investment rounds. Negative return on investment.

It’s like subsidizing your company with credit cards. And having a business model of “apply for new credit cards”
This isn't really free - it's just free for first year until your free tier runs out. It's still super cheap though. I host several sites with this setup and never have a bill over $2 / month. Benefit of this setup over github pages / netlify / etc is it uses standard primitives and will always exist. I used to use Heroku to host several sites and had to go through a massive migration when they stopped offering a free tier.
With adequate seals this is no more dangerous than existing chemical energy storage, such as gasoline and natural gas.

The researchers state (in the paper itself) that they carefully control the charging voltage to avoid oxygen production in the same cell. Oxygen and hydrogen in the same device is dangerous, only hydrogen not so much.
They all look very similar to me. I would love to see a gist with points from all of them.
You don't need to run Java services.

Running gitbucket is simply "Java -jar gitbucket.jar"

JVM performance is pretty much world-class (and has been for many years). Golang and JVM compete neck to neck at top of the performance charts. Remember that startup performance is not what Java optimised for - it's long running processes like any web server or api.

And I'm far more excited by Graal than any programming language breakthrough over the past few years ( https://youtu.be/_7yIUkP5LiQ)
Diamond's argument is circular and falsified by the foxes.
"The downside, of course, is that X11 selections aren't real clipboards: they disappear as soon as their origin window is destroyed."

Check out parcellite.[1] It gives a persistent clipboard history under X.

[1] - http://parcellite.sourceforge.net/
Exactly, this annoys me to no end, and for the same reason I'm pushing most of my computing into Emacs.

Emacs has a consistent UI and most packages have great composability. It's very easy to customize say notmuch email, org mode and pdf-tools to play together thanks to everything being an elisp function in a cohesive platform.

The same cannot be said about Unix CLI. While I love small utilities like parallel or ag, ncurses applications like mutt are little silos. They can be forced to talk to each other, but the result tends to be a bit inflexible and fragile.
> If it's something that needs most of a browser and HTML - like an email client that cropped up as a Show HN recently, or a client for a wholly online service, Electron may be the right choice.

I disagree. These are cases where it's especially bad to use a HTML view as the application UI.

If your application is essentially a HTML page, and it's meant to render content from a foreign source, which is also HTML, JavaScript, what have you - how do you do that? An IFRAME?

You know that Electron apps have lower security sandboxing than a regular web browser right? Who in their right mind would use a web browser to render a html page as the UI of a web browser, and hope that the foreign source page doesn't break out of it's rendered context, to influence the appearance or routines of the 'browser' that loaded it?
There's a flaw in your logic: You assume that everyone keeps using every app they bought forever. If that was the case, pay-once would be unsustainable.

However, that is not the case. Everyone stops using your app at some point. So you don't need to support users forever, you just need to support them for some finite amount of time. Some users might use your app for a few years, some use your app just for a few weeks. Some users will email you half a dozen times, but most will never email you. Your app price should be priced so you can afford to support the average user.

And another thing that people forget: When your user base is growing, the amount of word of mouth recommendation you get also grows, and you automatically start selling more licenses, so your revenue also grows.

Pay-once and subscription aren't really that different in practice. Pay-once even has an advantage: You get all the money up front. And that's awesome if you are planning to grow your company.
Typically, you restrict countries that you receive abusive traffic from and do not have any business in.

"Is that how you want the web to generally work?"

My suggestions on ways to prevent paying for CloudFront charges from junk requests are not prescriptive. However, they are AWS best practices when dealing with DDoS.

https://aws.amazon.com/answers/networking/aws-ddos-attack-mi...
An earlier comment I wrote on this subject:

https://news.ycombinator.com/item?id=13297748
Isn't this going to just exacerbate California's housing crisis by making homes more expensive by default?
Show HN: Calendarculator – A clt to count the hours your team spends in meetings
Back in the day it was usual for /home/user1/public_html to be exposed as http://server/~user1/

And of course "cd ~", and "cd ~user1" are still everyday commands on pretty much every computer
Same here stateside, neither Comcast, Centurylink, Cox, Charter, Wave, Verizon or Frontier blocks port 80 or 443. Some do block mail ports 25 & 587, Comcast & Centurylink leaves these mail ports open unless you do some spamming (then you have to call and have 'em unblock them).
If you play a video game does it ruin it for you that someone wrote the puzzles and you can turn it off at any time? Maybe you just don’t like puzzles.
The wrong circumstances required to catastrophically release all of that energy in an ICE car is pretty extreme, requiring the fuel to atomize and thoroughly mix with air. Otherwise you have a fire, not a bomb. Hydrogen by contrast just needs a spark and then it comes to strongly resemble a bomb. If your hydrogen is under pressure, then simple containment failure can be the “spark” required. Plus, gasoline is easy to store, while hydrogen tends to embrittle materials storing it.

We shouldn’t short sell just how tricky hydrogen can be.
> even friendlier than most cats.

Given that "cats are assholes" is a common aphorism, this doesn't say much. (I get that you mean that they're friendlier than cats at their best, but few cats friendly a majority of the time.)

Tangent: why hasn't there been a breeding program to make domestic cats... more domesticated (i.e. friendlier)?
To me the issues isn't directly about price (though it's often a part of it), but more about the idea of paying for something continuously versus once. Almost a form of out of sight out of mind.
OK, thanks.

So in this case, are you saying that the initial investors had equity, but held little or no debt? So they retain equity, but the company has no equity, so they have nothing? And the new investors are paying off debt to service providers etc? And also getting some equity?
Perhaps you are missing my point. Your argument is that globalization is universally good for the world because it equalizes global economy. I am suggesting that's only true if the world also shares the same understanding of fundamental human rights. If we equalize global economy by trading with or including a country that does not treat workers humanely, how do we resolve that?
Consider Chromium Embedded Framework, or Sciter. These too let you define your UI with JS/HTML/CSS, but you're not shipping a node.js server with your app, which makes your app much lighter.
But it depends on the goal. Most people's interactions with computers is going to be as a user, even a power user -- but not as a developer. Due to classroom activities, my 10 year old is quite adept at Google Docs, Slides, etc. and various authoring tools they use in class. She puts together presentations and reports with them, and collaborates with her peers using them.

I grew up in the Apple II/Ti-994a in the classroom era. Only a small fraction of students took the challenge of those machines on such that they learned software engineering skills later. We had classes teacher BASIC and Logo, but almost none of my peers went on to do anything with it, and I'm sure retention generally was very poor.

I'd love for people to learn like you say, but I don't think it would work that way.
Is there any fundamental reason why no tool offers a federated alternative to GitHub? I mean, the distributed nature of git is ripe for federation, but why aren't issues, releases and pull requests federated?

Maybe even some deeper integration with git itself, such as seeing new remotes on federated servers and fetching them.

This may sound redundant to GitHub, which currently centralizes everything, but different projects and companies have their reasons to not use a single external tool for this. As an example, CERN's Open Hardware Repository (https://www.ohwr.org/) would be a perfect fit for this, and other laboratories and companies could integrate with them.
Content is a commodity? Good lord. What color is the sky on your planet? You pay for content already. All of it.
Take an example of why this number is probably not as meaningful as you might think. We have only one astronaut. And this astronaut flies on a ship 1000 times. And then on the 1000th time it blows up. Well we had 1 astronaut that flew and he died. So it would be fair to say that 100% of astronauts that flew on our imaginary ship died on it, but it would lack much of any meaning.

Accounting for repeats, there were 833 individuals that flew on the shuttle and 14 died. The ratio there is about 60:1 which is predictably comparable to the ratio of successful:failed flights.
It seems like there’s not enough surface area to capture much wind energy.
Url changed from https://arstechnica.com/tech-policy/2018/05/elon-musk-hung-u..., which points to this.
This is really brilliant. They cycle between two chemical species that are thermodynamically very stable in our atmosphere, solid MnO2 and Mn2+. This is very smart as a starting point because you don't need to worry about the electrodes slowly rusting away (compare: related work with exotic/expensive/unstable rare earth oxides)

Also this redox couple charges at 1.6 V so oxygen production (which is bad in a cell that also evolves hydrogen) does not really happen (this takes 2.0 V or so)

Really exciting stuff.
> and make methane from it

That part's easy. Where's your energy source?

The whole issue is not Co2, it's energy.
Monads are regular code. They get evaluated lazily like regular code, because they are regular code.

It's really hard to explain it further.
Posts like this from 1990, and ones complaining about Eternal September, remind me that no matter what generation you are, what year it is, people always say "It was better in the old days"
On the flip side, sometimes to a service's detriment. I think this model works well for MoviePass, Netflix, Spotify, but MasterClass recently shifted to an all-you-can-eat subscription model (before you paid per class), and even though the service is the same and the price is cheaper (for me), my interaction with the service suffered. Before, I'd carefully carve out time for a MasterClass I was interested in, knowing it was a big commitment in time and dollars. Now I can just dip in and out to anything on offer, and that's exactly what I've done. My engagement has gone way down because I'm not committed to an individual class in the same way.
> the safety-obsessed space agency

That's not how I remember Feynmans report going
So, what I don’t understand is why NASA doesn’t make this really simple — allow SpaceX to use the “load-and-go” process on flights that don’t involve putting living beings into space, and when they have repeatedly and sufficiently proven how safe the system is, then start talking about whether or not it could be used to launch humans.

Don’t even talk about using the potentially more dangerous system until it has enough of a safety record.
Top 7 fastest cars in the world 2018 – 2019
“Consumers want immersive experiences, well-designed pages with fonts, graphics, photos, and videos coming together into a compelling format.”

Oh come on, NO I do not want that! One of the biggest problems with ads, news sites and other stuff is that almost any of these “experiences”, especially with video, are a drain on data plans and implemented terribly. Give me an article. If that article has some simple images and plain text as ads, that would be fine. The issue is that instead, sites take way too many liberties and turn it into a pop-up, slide-out, scripted mess that destroys the whole “experience” of reading an article.

And somebody should tell web sites that it used to cost 25 cents for an ENTIRE daily newspaper (that still contained ads), which can’t be more than a few bucks a month. If your subscription is ANY more than a couple of bucks, it will fail.
This is a deeply flawed idea. As bad as LEED.

Specifying HOW to go about being energy efficient is the entirely wrong approach. Instead specify a minimum energy efficiency per square meter and let home builders sort it out.

By specifying minimum efficiencies builders are free to adopt new technologies, new methods as they come along or
use alternate means which are more suitable for a specific project.

For example I live near a river and intend to use micro-hydro for my electricity. Do I still need to have solar panels? Or will the legislators need to add in a thousand exceptions to the rules?
We do the same with app subscriptions. I may go a month or 2 not using an app. It's always made me question the subscription model. There are times I won't subscribe where as I would have purchased the app for a one time fee.
Those plants have to be built, but we don't have time for that anyway. Now we must focus very closely on self-preservation. But how many people have the means to leave Earth and survive apart from it for however long it will take for Earth to return to habitability? Moreover, how can I find people who are able to work on that specific problem without convincing themselves it's not their personal responsibility and subsequently forgetting themselves?
TFA is not about Hitachi Magic Wand personal massager :(
Ask HN: What's the best time to post on Hacker News and Product Hunt?
If this post gets very popular, we might see a second post from same author titled "How CloudFront charged me 300$ in one day?" :)
I watched an entire Flat Earth Convention for my research–here’s what I learned
How do you get a thread's PID in Java/on the JVM?

Regardless, the deprecation serves as prominent warning that the programmer is about to shoot themselves in the foot.

(I'm actually more surprised that stop() hasn't been removed after all this time.)
>Before leaving at 19 I had already been sent on business to India, the Philippines, Singapore, Taiwan, etc.

Interesting, and unusual, maybe? except if you were working in a family business. Were you?