skysight-inc/HackerNews huggingface dataset:
> I see little difference between an exception with no actionable programmatic resolution and a program crash.

What you consider actionable and what is possibly actionable may not be the same thing. For example...

> You can always retry, but the bottom line is that there's never going to be a good answer to flooring a banana.

Except potentially asking the user to supply another number, if it happened to be user input. There's an example of an actionable exception to something you seem to consider having no programmatic resolution.

> That's a pretty arbitrary line to draw.

Not according to wikipedia. The following is under the Application Crashes subsection of Crash (Computing)[1]

An application typically crashes when it performs an operation which is not allowed by the operating system. The operating system then triggers an exception or signal in the application. Unix applications traditionally responded to the signal by dumping core. Most Windows and Unix GUI applications respond by displaying a dialogue box (such as the one shown to the right) with the option to attach a debugger if one is installed. This behavior is called "crashing". Some applications attempt to recover from the error and continue running instead of crashing.

Note the last sentence, which implies recovery is not crashing. But you can call bullshit on Wikipedia as source (because that's sometimes valid), I don't really care. This whole discussion has devolved to the point it's not useful to continue. You stated your preference to crash elsewhere, which I have a difference in opinion on, so I don't think any headway will be made there. We can just agree to disagree on what we think is a best default behavior for a language.

1: https://en.wikipedia.org/wiki/Crash_(computing)
I used to have a "once or twice a day things the internet suddenly gets really flaky from certain hosts" problem. It turns out it was my router, somehow being so crap at DHCP lease renewal that it was wedging the hosts connected to it. Since I was already using a bunch of Apple stuff, I put my router/gateway in bridge mode and plopped an AirPort Extreme behind it, and the problems went away.

Though, given the particular devices you list, the problem might actually be support vs. lack thereof for 802.1q (media QoS). Apple hardware supports it at all price levels; every other vendor seems to see it as an enterprise feature (for e.g. VoIP softphone VLANs) and doesn't bother including support for it in their consumer chipsets.
If you install a software modem ... you can?
YES. Especially when there are much better ways of handling OS interrupts to your program -- like Structured Exception Handling under Windows.
Yeah dude, you should convince them to waste the opportunity to make billions.
Then don't buy overpriced crap from Apple. I don't, and it makes me sad when I have to support their dysfunctional platform.
Steps to Turn Off the Nagging Self-Doubt in Your Head
I believe the problem is also present for a large amount of third party software, making the move to case sensitive drives pretty hard to do:

[0] https://helpx.adobe.com/creative-suite/kb/error-case-sensiti...
[1] http://apple.stackexchange.com/questions/192185/os-x-case-se...
[2] http://dcatteeu.github.io/article/2015/12/31/case-sensitive-...
Refactoring towards presentational components in React
What's the price difference?

Sad to think I'll have to pay a premium for the basic model...
You could say that macOS was responsible for a good amount of the iOS revenue, insofar as 1. devs using Macs are a lot more likely to spontaneously decide to try developing iOS apps, and 2. having more iOS apps sells more iOS devices.

If Apple only sold iOS devices and you had to develop for them from e.g. Windows, I don't think the app ecosystem would have been nearly as large—making getting one a rather less attractive proposition.
If Telegram has such an obvious vulnerability, there might be other security bugs which have not been found yet
> Say an account gets hijacked, I want to invalidate all the sessions. How do I do it? I have no list of all the sessions that are currently out there for them.

The revocation list could include entries of the form (revoke-all-tokens-before USER TIMESTAMP).

You can also use stateless tokens and store them in a database until they each expire, and then just list all outstanding tokens for the user in your revocation list. Nothing says you can't use a stateless token and store it.

> Also: I am thoroughly unconvinced that keeping a short list of data synced across clusters is in any way easier than keeping a long list of data synced across clusters. It has the same performance requirements and the same distributability requirements. Why is this easier?

You have to execute your consensus protocol once for each datum synced across the cluster. It's cheaper to run that protocol once each for a short list of items than it is to run it once each for a long list of items. 'Hey everybody, please invalidate the following item, confirm!' once in a blue moon is cheaper than 'hey everybody, someone logged in, confirm!' over and over again.
Oh, and Amazon's recommendation engine shows "Frequently bought together - Amazing Liquid Fire and Red Hot Devil Lye." If you mix those two, you are going to have a really bad day.
> Except that the shell userspace is antiquated, and the UNIX flavor is BSD rather than Linux.

Few people use advanced features of those utilities. As a result, these two points don't make any difference. At least for me.
has to be on safari? lol
> Also, don't use signed cookies unless you have a crypto expert on staff.

As opposed to what ? re-implementing cookies from scratch with JWT ? JWT is a dangerous system because it's even harder to get things right. Cookies and their flaws have been documented for decades, no need to be a crypto expert to sign cookies.
Where our food crops come from
It seems phrased in the particularly Apple-y style that usually means "we're seeing whether we're allowed to throw this legacy feature away or whether something will force us to put support for it back in."
Even better, you can tell before you click "Send" whether the message will be green or blue, by looking at the color of the send button. Kinda nice, you can actually just enter any phone number in the "To:" field and wait a second, and check the color of the button. This will tell you instantly whether a given phone number is for an iPhone or not. Kinda neat.
Probably not.

You could make it anonymous - the unique combination of your vote, your key, and the election blockchain could produce a password unique to you. This would allow you to verify that your vote was counted, but would not allow anyone else to do so - if they coerced you, you could run your key, the blockchain, and the opposite vote and produce a different password and your attacker would be none the wiser.

But then if you find that your password has changed, how do you prove it? I don't think there's any way to prove election fraud without violating election confidentiality, even for paper ballots. How do you propose stopping election fraud with paper ballots? The current defense is merely "it is hard."
Is it really difficult to understand the motivation? Because the obvious one makes perfect sense: they are aware of the huge number of historical examples of pyramid and ponzi schemes that look exactly like a lot of behaviour on display around the DAO. People naturally fall for these, humans love them, so the only protection is for good actors to go on the offensive.

I also find the DAO interesting and am watching the experiment, but I'm pretty pessimistic given how even obviously predatory schemes get embraced by the community and attempts to out them get responses similar to yours ("Excuse me, but since there is no possible way anything is wrong with anything DAO related you are either misinformed or part of an anti-DAO conspiracy").
That's a pretty condecending opinion to take while Bitcoin reaches its multi year high and Eth and DAO are at all time highs. Maybe it's people who don't understand disruption and technology who shouldn't be in charge of their investments? Not really though since no one should concern themselves with anyone else's investments...
Smart for Microsoft and LinkedIn. Yet also means I expect LinkedIn to become even more distasteful to me, increasing the chance I abandon it. I also see no paradox with these two opposing observations. :-)
How To: WINGS DAO Eggs Bounty Web Application
"Set a timer for 20 minutes" is heavenly. No, extra bloat like, "Shall I start it now?", it just starts ticking as soon as you as for it.

Every time you feed a parking meter, I recommend this feature.
Nor is HttpOnly, really.
Without getting stability and reliability correct don't bother with the other features. What good is it if the filesystem handles oodles of drives if none of them have any of the data you put on them?
Hey, I'd be very interested to hear more about this! Do you have a newsletter or something like that?

I had the idea that there is so much untapped potential in selective breeding of cannabis after reading about various terpenes and their medicinal properties.

The market's just been breeding for ridiculous THC levels (I daresay harmful levels - unfortunately I know several heavy smokers who have been institutionalized) without the CBD to balance it and without exploring the role of the other chemicals.

So I'm happy to hear that this is changing! (Like that news of a 15% CBD 1% THC strain from a few years back)

I wish you the best of luck!
Can you implement COW filesystems without some kind of checksumming? Or have I been in ZFS-land for too long?
Why would you care what anyone does with their money? It screams vested (but hidden) interest.
4 engineers at Amazon's pay rate.
Basically making it like OSX's implementation of EFI vs. UEFI, or their Lightning cables vs. USB-C:

1. Apple creates their own implementation of something and pushes the industry forward;

2. Everyone else realizes it's a good idea, and standardizes on something slightly different/incompatible (usually with Apple on the standards committee!);

3. Apple continue using their own thing that Works For Them rather than adopting the standard.
> because Apple's popularity is sending some message that GPLv3 is poisonous

Doesn't Linus' refusal of GPL3 damage its reputation much greater than Apple?
It goes a little deeper than that. I'd assume Amazon meant no harm (business, personal, or otherwise), but Americans have a vested interest in the FAA doing its job; this sort of mistake can down an airplane. If the cleaning agent had leaked in-flight instead of in-handling and found its way to something that'll react nicely with sulfuric acid (read: lots of things), you now have a scenario where an airplane is coming out of the sky in a less-than-controlled fashion, possibly over a populated area.

I'm pretty comfortable with the FAA using strict methods to avoid that scenario.
All time highs are kind of a sign of a bubble, and say nothing about the liquidity of any investments or the time value of the return you can expect from them.
I think signals are a "poor mans" implementation of threads and queues. They didn't have threads and queues back in the 70'ies, so they resorted to an ugly hack. Ditto with interruptable system calls.

It's somewhat like the interrupt-level callbacks classic MacOS (version 1-9) had for network and file i/o. They too didn't have threads back then, so interrupt-callbacks was the only way to avoid blocking calls which would make the UI hang while waiting for network requests.
You only have a home screen on iOS. It makes a lot of things simple. When you remove an app, you remove it, since it only exist in one place. On Android you can remove an app and then it still exist.

This might seem obvious to HN users, since you only removed the shortcut from the home screen, but it is not obvious to a lot of users.
"Give the words a plain reading."

Spoken like a true fundamentalist. I've heard that exact phrase from evangelical street preachers.
Mainly because (as Vitalik says) "the whole Ethereum network has the power of a 1999 cell phone."

Although Urbit (like Ethereum) is precisely defined without dependencies, Urbit is not a consensus computation platform. It's for processing your own data on your own (virtual or physical) machine.

Consensus computing is incredibly inefficient and should be used only where absolutely required. Where consensus is not absolutely required, computing should be localized under the user's control. People often forget to include this component in their designs of the decentralized future. But in fact, Ethereum needs something like Urbit and vice versa.

One way to think about the difference between Ethereum and Urbit: it's like the difference between a superconductor and a regular conductor. On the one hand, superconductors are qualitatively different and fundamentally more powerful. On the other hand, there are no superconductors in your iPhone.
I developed an early (technical) following because I was one of the people behind Ruby on Rails. That lead to the first few customers because technical people are often asked for recommendations for software. Keep in mind this was in 2006, a very different time from today.
What's New in macOS v10.12
Introducing Starling: The Future of People Analytics
So does this mean I can or cannot use it in my WebView-enabled hybrid app running on iOS?
I am sure that we can institute an HN corollary that states that for any headline in which there is a question mark in the title, someone on HN will quote Betteridge's Law of Headlines.

Forgive me if this has been done already.
You think billions is cool.... No, thousands is cool.
That covers the vast majority of people browsing the web on their iPhones/iPads. Not sure what the browser share is on the Mac though.
And everyone who purchased those two items together also get their very own personalized FBI terrorist watch list.
By all means don't invest then. It's pretty presumptuous to think people who see things differently need to be "educated" though (as the OP is attempting to do).
This is an interesting point. And in fact, the mechanisms that libquiet uses to encode/decode come from liquid dsp, which is in fact intended for use over RF.
My favorite overheard comment about this: "...just love how minimal his MVP is. And how he's launching privately with no press coverage."

:P
eh. ignores the time value of money though.
Nobody who's actually wealthy would describe a Hummer as "nice".
> We don't know if the cost/benefit math works out until people are able to try.

That is true. If someone had told me about Uber 15 years ago I would have called that person mad. I never thought it was even possible to run a taxi company bypassing all the taxi regulations in place.

But having said that what really matters is the marginal value of time during coast to coast flight. At the moment it takes me on an average 10 hours to travel from SF to NY including the time spending in planning, traveling to airport, NSA bullshit etc. 4 hours is the actual flight time. If it is reduced to 2 hours I don't really benefit much. I still have to spend 8 hours.
Can you provide a concrete example? I've seen three messages from you, and I still have no idea what you're talking about.

Do you have an example of what you mean by "gag", in context of copyright?

Do you have an example of how GPL or other licenses allows you to do something negative while maintaining a positive image?
Why should a doctor care when he sees someone eating buckets of fried food while smoking a cigarette?
It's still a 3-point of failure versus a thousand in a paper vote.

I've seen the British election many times, there are hundreds of people in the counting hall for every district. They count, then they shuffle the ballots around and have different people recount. It would take the bribery of thousands upon thousands of people. People who are under constant scrutiny, not just by those around them, but on TV also.

A computer is almost trivially suborned in comparison. Even our most important pieces of security software, such as openssl and others, get hacked from time to time. If such hugely important - massively used, massively tested - open-source projects get hacked, why on earth would you want to risk computer voting?

It's just standard programmer NIH hubris; we think we can do it better, therefore we should.
> trusting the government to anonymize the data correctly and make it secure in transport

Large banks don't always succeed at that. The government makes huge mistakes all the time. What makes you think this is possible?

The issue is that perfect security is impossible either with physical or digital voting. All we can do is minimize the consequences of an inevitable mistake or breach.
If you're being serious here: bash is IMO the most glaringly old utility you get in an OSX install, and it's GPLv3.
Wouldn't you just get a salt and water?
> Is there any possible token-based authentication scheme that is both stateless (ie. no round trip to the database on every call) AND invalidate-able?

I suspect this is provably impossible.

There are all sorts of things you can do at the protocol/platform level if you have a shared secret, but with only the constraints of an open authentication scheme you lack the tools to do this.
> Well, for Messenger to work you can only talk to people on the same social network.

You can casually install Facebook Messenger on your device. You can't casually have a second phone.
That's confusing as hell though. How do I know whether the app I'm using has a handle for audio playback? It makes it rather a guessing game what's going to happen when you use the volume button.
I want a large Sharp Memory LCD --- the same screen which is used on the Pebble. Colour! (Although not a huge palette.) Reflective! (Looks amazing in sunlight.) 30fps refresh rate! Consumes practically no power!

Alas, they ony go up to a 4.4 inch 320x240 model...
SFO is the only airport manned by private security instead of TSA, that is the reason it is super efficient.
it's so frustrating watching tiny incremental backups take forever over the network

While waiting for APFS to become stable, buy Carbon Copy Cloner. $40. I love it. It's fundamentally rsync, but tailored to OS X. For personal use a single license covers an entire household.

Every night CCC fires up on each laptop and each does an incremental clone to its own dedicated directory on my desktop machine. This clone is usually less than a few GB and takes about a minute to run. CCC doesn't have to be run daily, it can be told to run hourly instead.

Time Machine running on my desktop then copies everything off to yet another disk.

So my backup environment is:

each laptop uses CCC to periodically clone to desktop

the clones on the desktop are "traditional",
CCC is told not to keep its own copies of modified files

desktop runs time machine,
makes hourly backups to a TM disk,
old versions of files can be found there

This gives me 3 copies of all data on each laptop:

1) on the laptop

2) on the desktop

3) on the desktop's Time Machine Volume

If you create your users in the same order on each machine, or later go back and change the User IDs to match (under advanced options in Users and Groups) then the uids will match everywhere, and all files can be easily browsed in each location, with all file permissions intact.
To clarify on the last bit, I was thinking it would be great if the genetics from the new high CBD strains could be brought into the mainstream by crossbreeding with popular strains.

My interest in this has to do with the idea that in the 1970s, CBD and THC levels were both around 1%. THC has skyrocketed but CBD has not.

THC is known to trigger psychosis and paranoia in sensitive individuals, while CBD reduces anxiety and was found to be as effective as other anti-psychotics.

TL;DR too much sativa not enough indica :)
Looks like the best way to be downvoted on HN is to be critical of either Facebook or Apple - and to a lesser extent MS. That's the only way I ever managed to get downvoted.
Yes, with end-to-end voting you can be certain that your vote wasn't modified but you can't prove to someone whom you voted for https://www.cs.jhu.edu/~sdoshi/index_files/randomness_paper....

Using interactive proofs you can know that the machine won't modify your vote, and using zero-knowledge proofs plus a distributed key you can decrypt and randomize, being certain that votes haven't been lost and without revealing whom people voted for.

Additionally with a public ledger like the blockchain, you can be certain that your vote is there (checking your signature), and when votes were cast.

Using something like colored coins you can ensure that no additional votes are created.

The problem that I do see with remote voting is that I could be right next to you when you vote and coerce you to vote for the person that I want
here is one. the infamous kdb+

https://en.wikipedia.org/wiki/K_(programming_language)
Haskell is anything but simple - which is why everyone writing a program which does efficient and safe file I/O needed to read a paper from Oleg.

Claiming that Java is complicated because it has all those "different design patterns and classes and other contraptions" and _then_ saying that Haskell is simple is simply dishonest.
4? In Seattle? No way, unless they're at a satellite office. Senior devs go for $130 ~ $180 in Washington (plus all the taxes and benefits; lower if you contract).

For $350k they'd get 2, maybe 3 tops. If you're taking low level interns, yea, they could probably get 6 ~ 8.
BitKeeper uses signals to implement a paging data structure from a compressed backing store. I allocate the memory for my data structure that is backed by a file on the disk and then use mprotect() to mark that memory as read-only. Later when trying to access that memory a signal handler traps the access and loads and decompresses the data from disk into memory.

This is only done for unix systems that implement the sigaction() POSIX signals. It is tricky to get right, but it does work.

BTW I did find I could never get OSX 10.4 to work correctly, but by 10.7 Apple had finally fixed the bugs in their signal code.
And an energetic exothermic reaction.
Take a functional programming class. Martin Odersky on Coursera now has a while track. It's Scale. If that matters. Functional programming is the blood-brain barrier between programming and math with lots of activity bringing the two closer. It may not be directly useful in Machine Learning type of math, but it's a strong foundation for parallel programming and multi-core programming due to the statelessness of pure functions. Good luck!
My Apple ID is a Gmail address. Never saw a problem with that.
Ash HN: Did Apple just kill hybrid apps like it did Flash some years ago?
Watching the keynote today, I couldn't help but feel like this was the end of hybrid apps. For a long time, the large downside to building hybrid apps was that performance -- especially for large apps with lots of custom UI elements -- was unmatched. But for a lot of people, though, these weren't major issues, certainly not enough to justify the added cost of building entirely separate native apps.

But doesn't today change all of that? It is clear that today was all about very, very deep integrations. More-so than a standalone app experience, it seems that now the future is to have your app expose services that allow it to seamlessly embed into all aspects of your phone's OS. And, in this future, it seems impossible how things like hybrid apps have any chance of staying relevant. Am I missing something? If not, what does this mean for projects like Ionic?
So next time you want to whine about FAA safety regs, remember they ended up written because of things like this.
They shouldn't? Free will and all...

Also, if these "experts" are wrong and crypto currencies continue to do well then they've actually harmed people instead of helped. Are they willing to take that responsibility?