skysight-inc/HackerNews huggingface dataset:
> This is not as much a result of the superiority of the web stack for building applications (far from that, I don't think anyone disagrees that the web is a mess), as a failure of the current desktop UI frameworks. If people are preferring to ship a full web browser with their apps just so they can use great tools such as JavaScript (sarcasm) to build them, something must have gone terribly wrong.

This article so thoroughly misses the point of Electron. Furthermore the author's snark and condescension just serve to antagonize and attack rather than making any semblance of a point.

People choose Electron because it's easy to work with for people who are already comfortable with JavaScript. JS devs get to use tools like React, TypeScript, Webpack, Babel, and other tools they already understand and like. You have the entire wealth of tools of npm at your disposal. And since it's JS, you can share code between Electron, your website, and your Node server.

In addition to that, HTML, CSS, and JavaScript writing UIs is something thousands of us do every day do for a living. Being able to do that for a desktop application unlocked a whole world of development that previously was closed to only those comfortable with Objective C, C++, Java, and the like.

The author does a woefully inadequate job of explaining that choosing Electron is a _tradeoff_. You're trading a larger memory footprint, bigger artifact to distribute, and some extra performance challenges for the ability to write your application like a website in CSS, HTML and JS and have it work on every OS that Electron supports. For many this tradeoff is unacceptable but it's either incompetence or idiocy to not see that this tradeoff works for many of us.
Yes, but the point of point-releases is that they're largely about maintenance and hardware support - so moving from 10.x to 11.x might take some testing, maybe rewriting some management scripts, etc, but 11.1 to 11.2 should be easier since nothing major changes about the system. Having a year's buffer to migrate means that if there are issues, you can fix them or get them fixed before 10.x EOLs and you're stuck running an unsupported OS.
My first machine was a Tandy with 16k of RAM. I think it was a 1000 series, but I was too busy picking my nose and pretending that I was a Jedi to know for sure...:)
Texas Official After Harvey: The Red Cross Was Not There
Sex differences in personality are exhibited in other primates as well. That rules out culture as the sole generator of them.
Gabriel's horn Painter's paradox [video]
There's also another dimension to this - reports tend to focus on gun related _death_ but ignores injuries where the victim survived.

This chart - http://assets.motherjones.com/politics/2015/04/gun_gray.jpg - from http://www.motherjones.com/politics/2015/04/true-cost-of-gun... suggests the total number of gun related injuries + deaths in 2012 was ~120,000
I imagine the neurosurgeons doing it to reduce epilepsy also want to preserve as much connectivity as possible, so total severance of the tissue between the hemispheres may be rarer in present population of splitbrain patients as their technique improved?
One of the things I try to do when approached by someone who is homeless (or I think is homeless) is not to treat it like some kind of transaction where they need something and I may or may not give it to them even though that is usually how the interaction starts. The first thing I try to do is introduce myself and get their name to make it less like "ok what do I need to do to get you to leave me alone?".

I used to find it really stressful to get asked for change or food or whatever but by talking to people you realize they are often not that different although I haven't dealt with many people with severe untreated mental illness. The unfortunate side effect (and maybe this is why we don't do this more as a culture) is that you'll feel worse about their predicament. When you find out that the person used to be an electrician and had a decent life but money troubles and maybe addiction took that from them, its a little harder to look forward to the restaurant or show you were on your way to as much as you did before.
If only skypeforlinux didn't need half a CPU core for itself............
5 practical ways of fixing Windows 10 slow booting problem – :: PremiumsTech ::
Kip Thorne was sort of hippie physicist in the 1970s. But CalTech recognized his brillance in hiring him.

Generality Relativity was sort of a graveyard from 1920s to 1960s because there were too few doable experiments and specialized solutions of the core equation was intractable.
Then several thing gelled then. Clever physicists like Thorne and Hawking started developing specialized GR solutions. Computer numerical methods could find other solutions. Atomic clocks became sensitive to measure GR in Earth’s gravity. GR is now a routinely observed effect observed billions of times a day in computing GPS positions.
I will tell that to the people who actually did said work, I'm sure they will appreciate it :D
Yes. Bus/tube drivers have similar salaries to what many companies are offering to software engineers. So it's a bit ridiculous situation. Often the same company which offers low perm salary will hire contractors with high daily rate (which roughly translate to 2-3x money after taxes) without blinking an eye.
And I believe that for every Elon Musk in the United States there are 10 that are ready to come to the United States.

I also don't believe that capital is the sole limiting factor in finding these folks.
Suicide rate by any method for males in US at least is 4 times higher than that of females. So maybe more around 80% of suicides in US are male but still quite a disparity.

https://www.nimh.nih.gov/health/statistics/suicide/index.sht...
Regardless of account deletion attempts, they knew they had an active account and didn't change any notification settings. They still expected Facebook to magically know to stop sending them notifications. That is weird.
Oh, you can fix it pretty simple

"The compiler can always assume writes to memory via one object don't change values in memory accessed via any other object."

Then, if you know your code can overlap, you can use some invalidate function to mark that "memory accessed via this object was changed by some statement prior, make sure to re-read values cached in registers". Because that's the odd case where you're doing something unusual. In general, "The compiler is allowed to optimise things assuming that spooky action at a distance isn't happening". You already have something very similar for atomics, which might be hidden behind a standard library, but in any case are a sequence of "lock the bus, read/write, memory barrier", telling your CPU and your compiler that memory access cannot be reordered around the memory barrier.
I flagged because I see this politicized crap on every single social media and news platform, and I'd like HN to be a bastion for just tech news and tech conversation. I don't want to know the political alignment of whoever I'm talking to on HN, I want the conversation to be about tech.

That said, I thought this was a good article, I just don't think it belongs on HN.
The truncated segment of King St. is presently a well-entrenched shantytown: https://goo.gl/maps/wi9TNPXzLST2
If JavaFX requires my customers to have Java installed on their system then this is some sort of joke.
Get Rich Quick by Mining Ether with AWS Spot
Older and Slower: The Startup Deficit's Effects on Productivity (paywall)
Mass shootings in particular are mostly a white phenomenon: https://www.statista.com/statistics/476456/mass-shootings-in...
I've got the full intention of keeping up to date with .NET. After all, no job is permanent, and there's every possibility that I'll be using .NET/C# in my new job anyway.

I meant jump as jumping between companies, as I could always stay where I am. The main problem I've found is that very few companies go by the same belief that a developer can transition between languages/stacks. A while ago I applied for a job requiring a Scala developer with 2 years experience, and was turned down despite having 8 years experience with .NET.

Despite looking for stuff outside of .NET, I'd happily stick with the framework. Windows rarely lets me down, C# is a fantastic language, and I know the tooling around it well enough to benefit most teams in some way. Outside of moving for other reasons, I just feel that it can only benefit me to learn another stack. It's just a scary process, as for the first time since work experience during uni I'll go into a company not feeling comfortable in my knowledge of the language/stack.
No, I don't, actually. But the people giving out the money seem to. And, yes, that makes it a self fulfilling prophecy.
Yeah, don't try or even think about it, not worth the risk...

But serious, why not start a voluntary buy-back program and see if gun owners respond to that. Or how about a law that makes it mandatory to offer the gun/ammo to the government when a private owner wants to sell? Private sales are a huge problem: no background checks. Stopping them while still giving owners a chance to sell could do some good.
That lie? They on the other hand recommended that people install anti-virus programs till that got pointed out. https://www.cnet.com/news/apple-suggests-mac-users-install-a...

I hate that it is okay to lie. Of course any OS can have a virus and malicious code. It runs code.
Some of the processors back then had various pre-increment vs post-decrement addressing modes so there was a performance difference which one you used. To keeps things unambiguous, use the increment operator in a statement by itself.
FreeBSD still has a plethora of 3rd party applications, it's just that they enforce things like what you can put in /etc and /var and so on, making things much more regular.
MessageBird's SMS pricing in the US is $0.005/SMS, while Twilio's is $0.0075/SMS. So not sure where you get the 10x from.
How Reactive microservices are mainstreaming with enterprise developers
Was just going to post that link. It's a very nice talk. Highly recommended!
The best kind of dystopia! Better than a fascist totalitarian surveillance state dystopia, anyway. Or at least it is for the people that can hack the cyber-stuff to get at the sweet cyber-juice inside.

I can't wait to get my first neuro-implant, and to crash my first 747 filled with telephone books into my brain.
That's actually a quite good ratio:). When I deal with our IT, it's usually 1 or 2 line managers, 1 business analyst, 1 or 2 project managers and 2 architects. Double this up if two groups are involved. None of them is involved in doing the work. The work goes to India and then if you want to get the work done right you try to schedule night late meetings with the one or two people there and explain everything from scratch.

From the outside it looks like they have a rigorous process of estimating, evaluating, writing requirements and stuff but it's almost pure overhead.
Author: "Electron is bad so let's use something even worse."
Used these guys before for a project and they were great. They were also one of the first that "just did" inbound SMS with webhooks in a convenient way. Sometimes a complete call stack is overkill. Also, their UI is good for marketing, no need to write code.
Seems like this should be the standard.
Having messed around with JavaFX in the last 3 months, I advocate against it.
How the Elderly Lose Their Rights
> I often see people going way out of their way, making their work much more time-consuming, because of their everlasting pursuit of writing the fastest damn program they possibly can.

Problem is you have the complete opposite on the other side, folks who don't even think about speed (usually because their development machine is quite powerful and so they don't notice). Thus we end up with programs that are resource hogs and slow that have no good reason to be.

There is a middle ground to be found I think.
ideal endgame

It doesn't make it the ultimate endgame though. For example, Marx would say then the workers rise up, institute a state with differing priorities and either provide guiding regulation or take over Amazon and increase wages. We shall see!
BBC Model B (Acorn). Learned BASIC then 6502 assembly!
I have an old release of Photoshop, didn't even install it because it demanded such an old version of Java.
Unlike the metaphor you suggest, in the body decisions are not made by vote. Each half the brain controls particular pieces, with the other not participating. A closer metaphor would be separate RNN which each determine one bit of the response, with the response being observed by each.
>Part of the problem, though, is that scientific results are often counterintuitive

The only reason they are counterintuitive is because the current model of intuition is flawed.

A good experiment creates new intuition by creating a new model by which once counterintuitive results become intuitive.
Windows and macOS literally spin up VMs for Docker - the compat layer in FreeBSD runs binaries natively, just translating syscalls in the kernel.
I think a better parallel would be to compare a home-owner with someone who lives completely in air-bnb. I'd have a much easier time calling them houseless.

There two factors that affect it:

1. The unit of time that the rental is active for.
2. Who controls the idle time of the resource.

Personally, when describing Lambda to people new to the concept, I eschew this "serverless" confusion completely by describing it as renting a server in 100ms increments for fractions of a penny. Works well for me!
Or resetting those settings to try to get back some high earning users. Ignoring those they don't profit from.
Did you read either article? The CNN one you link to was a study that compared cold turkey vs gradually scaling down.

> "Researchers looked at nearly 700 long-term heavy smokers in England who wanted to kick the habit. They instructed half of the participants to quit abruptly -- that is, pick a quit day when they would give up smoking entirely. The other half were told to scale back their cigarettes gradually for two weeks leading up to their quit day.

> But even the abrupt-quit group was not exactly going it alone. The researchers gave them nicotine patches to use for two weeks before their quit day. During this period, the gradual group also got patches, as well as gum, lozenges and other types of short-acting nicotine replacement therapy to help them as they cut back. After the quit day, both groups got patches and short-acting therapy, in addition to counseling. "

This link refers to smokers switching to e-cigarettes, which is considering significantly less harmful than normal cigarettes, e.g. https://www.nhs.uk/news/heart-and-lungs/e-cigarettes-95-less...
Depends on needs. If great documentation and easy to use APIs are important, then I’d recommend a different provider over one for price / reliability. Also depends what world markets you are focused on too. One other major variance is if you need MMS or short code support.
Well short of being tossed into a time portal and popping out in 2007 I wouldn’t build a client app in Java...

But Qt has rust bindings, so that’s good to learn!
At the very least, nicotine-free e-cigarettes allow people addicted to cigarettes to maintain the habit of smoking -- going outside, taking the mental break associated with cigarettes -- but without the damage of actual smoke or nicotine.
Shellinabox is available on ubuntu repos and it serves a short terminal using html5 that works great.
Timex Computer 2048 (https://en.wikipedia.org/wiki/Timex_Computer_2048).
"Secure empty trash" was removed in 10.11.[1] But that can't be what they relied on here.

Here's what the report says: "Levandowski also attempted to empty the Trash bin on his MacBook Pro while he was at Stroz Friedberg's office... but our examination found no files were contained in his Trash at the time he attempted to empty it."

Is this even possible? You can't "attempt" to empty a trash with no files in it from the GUI. The menu item is disabled. So that would suggest a terminal command, but supposedly there's no command line equivalent for "empty the trash".[2] You can of course delete specific files or folders, but then they'd say he'd try to do that, not "empty the trash bin".

The only user action that I can think of that would constitute "attempt to empty an empty trash" is hitting the keyboard shortcut for it (shift-command-delete). But is that even logged on a standard macOS installation?

The report references "Exhibit 17" for more detailed forensic analysis. I would be very interested in reading that.

[1] There's still a command line option but it may not work correctly with Flash storage, which is why it was removed from the GUI. https://support.apple.com/en-us/HT205267

[2] https://www.imore.com/how-force-empty-trash-your-mac-using-t...
Yeah, main reason I'd only recommend Qt/QML if they were already comfortable with C++ (although Qt does a lot to help with memory management)
But waterfall or agile implies code is being written. My take on this (and experience) is that sometimes you just takes weeks, months, even years to just make notes in a notebook, ponder and think upon the problem, jot down more notes, look around at other peoples code, do research to see if anyone else has done work in this area, do more pondering and thinking and note taking, talk it over with other people, etc. At some point it all gels together (when that happens it is almost magical and such an amazing moment of clarity) and then you are ready to use some sort of development process to actually write the code. Though by that point writing the code is extremely easy since you have such clear insight into what needs to be written. I love when that happens.
It exists, but it doesn't do anything in the example that was discussed recently, "undefined behavior may call a never-called function": https://news.ycombinator.com/item?id=15324414

As far as I can tell, -O0 is the only way to avoid that particular mis-optimization in Clang.
> imiting access to guns makes each attempt more likely to fail, thus making it more likely that people will survive and not attempt to harm themselves again.

(I can cherry-pick too)
I'm guessing they're ASS-uming all black deaths are gang warfare...
My account is deactivated now, but once upon a time I was an active FB user. I did not tell Facebook my birthday. However, friends who knew me would still post Happy Birthday messages on my birthday, and FB would auto-populate my birthday as a result. So I would go in every year and delete my birthday again.

Then they stopped allowing me to clear it out. Since people--without prompting--had wished me a happy birthday, FB was sure it was my birthday, and that was that. I could leave the year blank, but the month and day were literally unmodifiable.

That's when I started clearing all the personal data out of FB I could. No likes, no group memberships, nobody allowed to "check me in," and so on. They were collecting data on me I had no provided, against my expressed will.
Javafx includes a packager tool which creates a native application with the runtime bundled inside. There is nothing to install.
I'll add that if you're installing a new system, install 11.1 or 12 (CURRENT), not 10.4. 10.4 is an update for people already on the old-stable 10.x branch.
It's still terrible opsec. Of course, as always, it depends on the threat model. Still, linkage and contamination are deadly - why give up more information than absolutely necessary for your adversar[y|ies] to use against you in the future. All it takes is one mistake or a few 'almost mistakes'.
I would love to say something against this because I'm convinced that the industrial revolution is a whole different game than the deep learning / outsourcing / computer revolution, but I can't.

"Everything will be fine." is just too ambiguous to argue against. Being fine is not an objective quality. I'm sure the world will be fine. But maybe it won't be fine in my eyes or for most people in a sense that they'll lose a significant amount of wealth compared to their current situation. But maybe they'll still be fine in another way. So maybe both sides are right - in their own regard.
White House Looks at Replacing Social Security Numbers
I think Google does the same with everything (email, web history, searches, ad profile, etc) but I believe their reasoning was that there is no way to guarantee that your data will be deleted from the backups, other redundant caches and whatnot, so they don't claim to be able to.
This is part of the philosophical problem of identity. Is there a non-physical part of the mind? If you duplicate a body by cloning, matter relicator, or exact uploading into a computer, do you have multiple persons or souls? (Star Trek explored several variations) Does [any part of] the mind survive death?
What's New in PHP 7.2 (Improvements, Security, Deprecations)
False. In the UK and Australia it didn't even make mass killings go down.
What about C++ and SDL2 ?
Understood, and I totally agree that it is an industry ready for some shakeup.

I used to work for a large defense contractor doing FPGA work, and we really went out of our way to try to stick to 100% VHDL to attempt to avoid vendor lock-in. This meant things like writing block ram HDL in a way that it would be inferred by the synthesis tool to use the block ram (and not synthesize out of a bunch of LUTs).

It was a constant struggle to keep things synthesizing correctly. We mostly standardized on using Synopsys Synplify Pro for vendor-neutral synthesis and then using the Altera/Xilinx backend tools for place and route, etc. But even then, we regularly had to whitelist certain good versions of Synopsis' tools.

It was possible to do this with the vendor-specific synthesis tools too, but it was still a massive effort to check that primitives synthesized into the correct elements across different parts/vendors. Ugh, do not miss it.
I don't mean just in your resume, either. I also mean when you're pitching yourself, as in top comment you have here. You lead with "jack of all trades" and technologies, rather than with the business value you can create.
It's also tough to beat the developer experience that the modern JS ecosystem has brought to app development.

The Chrome dev tools alone are pretty incredible. Getting that much detail in your debug environment, paint cycles, render times, animation effects, and quick style experimentation is a huge deal.

The package ecosystem for JS is also an enormous advantage. Having access to data layer systems like Redux & the Redux dev tools, as well as any module designed to run on Node.js really helps ensure an actively developed ecosystem that abstracts more and more away from the end application developer.

Finally, I argue that performance bottlenecks are rarely an issue of the javascript. V8 is extremely fast and only getting faster. Most bottlenecks come from doing something dumb during rendering, or tying up a process reading from disk. These are issues that happen on all app platforms. The big difference is that Electron gives you to tools to effectively debug and optimize these, plus a HUGE wealth of online resources & tutorials to help new developers jankbust.
I believe your metaphor is falling short. Taken to the opposite extreme, censorship would be giving the people clean water? Or are we about to make claims about "absolute truth" in breaking news?
vaping definitely isn't healthy but it doesn't take much time vaping to determine that it's less bad for you than smoking.

i still want to quit nicotine entirely one day but until that day comes, my vape pen and i are good friends. 9 months ago i tried one out, and that same day was the very last day i ever smoked a cigarette.