skysight-inc/HackerNews huggingface dataset:
> Sure. And if you think the the difference in developer efficiency between a dynamic language and a static one is less than 10%, but when the gains are small, as has been shown in the linked article, then why pay the cost of possible program failure for a less than 10% gain in string concatenation speed when you probably won't event see it?

I actually think that dynamic languages have negative efficiency impact over long periods of time and large numbers of developers. (If that doesn't make it clear where I stand on static vs dynamic typing...)

> Exceptions which can be caught are not comparable to memory corruption...

I never compared exceptions to memory corruption, I compared them to crashes. I could also "catch" crashes with techniques such as watch-dog processes with very similar effects. Now if you really mean "crashes" as "program faults due to memory corruption", as opposed to "unexpectedly halting execution", then you're both using a niche definition and gave a bit of deceiving definition of "unsafe":

> To be clear, what I mean here by unsafe, and everywhere I've used the word, is "can cause a crash or memory corruption"...
Exactly.

Most arguments given against online voting systems are equally valid arguments against in-person voting and especially against mail-in ballots.

Those arguments are the red herrings.
It still depends on the price, though. Is the difference $10, $50, or $100? For $10 or $50 I might select more leg room, but not for $100.
lz4 really helps with anything that is compressible - if you store text or compressible data it can improve throughput up to 2-3x if not even more if it's not compressible it stops compressing early. On a modern CPU core compression/decompression throughput is in the range of multiple gigabytes/seconds.
What is sucky with Android phones and OS X? You want Universal Clipboard use something like Pushbullet or alternatives http://softwarerecs.stackexchange.com/questions/26495/univer... you want cloud sync use the existing cloudservices or use Syncthing which lets you sync even without a cloud. You can get nearly all features today also with Android ( even unlocking the Mac with Android Wear https://www.gadgetish.com/index.html ). Of course you will not get them from Apple ;)
I am the author of the guide. Let me know if anyone has feedback on how can I improve it.
Oh yeah, definitely.

I had that thought when Apple Pay was first introduced last year. Seemed like a no-brainer, especially since Apple doesn't mind doing the walled-garden thing.
> Is that the kind of gag that you're talking about, or did you mean something different?

I meant that the GPL as a license can be used to gag others while keeping a positive image as a person yourself. There are many licenses that can be used like this (the CDDL in particular was used for that purpose). That in itself has nothing to do with the GPL, more that you as a copyright holder have the ability to do things that are not available for others.
What single thing would you have thought was better?
I used to walk through security barely slowing down and get on my flight without ever showing ID to anyone or checking in anywhere. And all the seats had actual knee room. I miss that feeling of freedom I used to get from air travel.
Maybe you could salt the secret per user and store it in the DB. This would allow users to have a feature like "Logout from all devices". I am not sure how you would query the database to get the salt? JWT as key and salt as value? Or maybe sending userId with each request?

Anyone know any good articles I can read on the topic?
> I've had bad luck getting those controls working with TRRS extension cables.

Ugh. That. A tip: always ensure that the extension cable is attached to the auxiliary device (eg headset) first.

One of those flaky impedance tricks is to try and detect the microphone through it's impedance when the TRRS jack senses a plug.

If you plug the extension cable in first, the device detects the plug in the jack, can't detect the microphone (or whatever other magical device it's looking for - like volume controls), and disables anything it doesn't detect until the plug is removed.

( At least that's how my Macbook works. )
A software defined modem?
Show HN: 13 Open Source Projects for June 13
Post TSA, I've shown up to a Florida airport ~15 minutes before takeoff and have made it.

Extremely lucky (mistake on person who bought my ticket's end) but it happened.
How we cut our site’s load time by 87%
If you read more carefully, you would see he would prefer that the language would not allow him to ignore errors.

You say "The idiomatic answer to this is that you should check error status", yes, that's a Go design pattern, but nothing enforces that. In other languages, thanks to Option/Result types, this is enforced, hence his opinion.

Such kind of safety and security concerns should not be enforced by conventions.
But not only nerds think about cross-device compatibility.
Don't setup ethernet/wifi...
This is FoaF-level stuff, but:

I used to work with a guy who in a past life was an HP-UX dev. He told me that the guys who worked on the signals support in the OS had a 10-foot pole between their cubicles that had a flag on top reading: "You must be THIS tall to use signals."
Clever, an audio soft-modem. Was there a reason to not implement this as an actual modem with a frequency band assigned to either channel and then to run SLIP or PPP over it?
but but but but metal - they cried
ZFS data deduplication does not require much more ram than the non-deduplicated case. Performance will depend heavily on IOPS when the DDT entries are not in cache, but the system will run slowly even with miniscule RAM.
Apple brings coding to the iPad with Swift Playground
Interesting facts in Wikipedia:

"The "⌘" symbol (the "looped square") was chosen by Susan Kare after Steve Jobs decided that the use of the Apple logo in the menu system (where the keyboard shortcuts are displayed) would be an over-use of the logo. Apple's adaptation of the symbol — encoded in Unicode (and HTML) at U+2318 ⌘ (HTML &#8984;) — was derived in part from its use in Scandinavian countries to denote places of interest. The symbol is known by various other names, including "Saint John's Arms" and "Bowen knot"."

https://en.wikipedia.org/wiki/Command_key
New EV Company Claims to Have $2.3B in Pre-Orders for a Truck Nobody's Seen
or blocked.
All of these things will improve usablity. Right now you have to fumble around inside apps for many common actions that will be much more readily accessible.
At least with bigger SATA disks I see regularly checksum errors on btrfs/ZFS and a rising bad sector count. The disk usually replaces the sectors on the next write but when reading it returns either zeros or wrong data. It's nice to know what files are affected from bad sectors. It's not common but common enough to have it.
Improving CSS quality at Facebook and beyond
The Slack equivalent, which wraps the keyword with colons, :+1: is less likely to happen on accident. I am surprised HipChat went with parentheses, honestly, but maybe they felt they were too subtle for mobile users (I like them, myself). It is nice to have a text-only method of mapping to emoji, though.
Saudi Arabia Funded 20% of Hillary's Presidential Campaign, Saudi Prince Claims
That's an excellent solution for anyone who doesn't mind carrying a car around with them.
The biggest problem with online/computerised voting is that it is a single point of attack for malicious actors. Even the best software security gets broken from time to time, online voting would allow zero-day attacks on elections - an absolute disaster.

Whilst standard paper voting may also be subject to fraud, it takes the manipulation of thousands of people in order to alter ballots across a whole country. Computers just need the one hack.
Like longitude and latitude?
No navigation nor todos :/
I will definitely be diving into this. I've been using Criticker for over 7 years now and its recommendation engine has never failed me. It is based on thousands of user ratings, and customizes to the user according to other similar users. I did love Jinni for a while, their interface was beautiful and their engine amazing, but it pivoted to b2b services. They spit out an Excel file of my ratings so I went back to criticker and had to manually add all my new ratings, ugh.

Good luck with your project, I think the space has a lot of opportunity!
Americas wars have often been in places that coincidentally favour their local business monopolies. "War is a racket" by Major General Smedley Butler is a good historical primer in this.

The wars in Iraq were fairly obviously related to the oil production in this area. If done because of that, then the 3 Trillion (that's trillion, with a T) spent on these wars is a subsidy of every oil user in the US.
This was only for take off and acceleration through the trans-sonic regime. It certainly didn't use them for super-cruise at Mach 2; at this speed the engines were operating at their peak efficiency.
Opening Keynote is really for the press, it'll probably be mentioned more prominently in the State of the Union keynotes and in its own session.
Wait. You have individual salt for each user that you store in your DB?
If the phone industry is going to go that way, they should go for no connectors at all, wireless charging, and a hermetically sealed unit. Less to go wrong. The battery doesn't need to be replaceable, just better. Use lithium iron phosphate batteries. Those are good for > 2000 charge cycles, instead of the 500 or so for ordinary lithium-ion. You take only a 14% hit in capacity for this.

Headphones should be Bluetooth. With WiFi and GSM, who needs a a cable?

There's no reason screens should crack before their user does. Check out the Caterpillar B15 phone. You can drop it, pound on it with a hammer, and run over it with a car without damaging it.[1][2]

You shouldn't have to fix a phone.

[1] https://www.youtube.com/watch?v=mVPku-xItv8
[2] https://www.youtube.com/watch?v=0Xaq3pduPv4
FAA Slaps Amazon with $350k Penalty for Shipping Violation
That's not how threads work. Without thread safety mechanisms, you don't get occasional data corruption or the occasional crash, you get both, but often not at the same time. Occasionally data will be written out of order. Occasionally there will be enough weirdness you can have a crash. How often you get one or the other depends on the algorithms in use. Lock safe methodologies can prevent the crash, and if designed specifically for the data in question and the data structure supports it, can possibly ensure no corruption.

Given with strings you probably have data corruption no matter what, do you want crashes on top of that or not?
I've seen it called "whataboutism"
I think the barriers to getting ZFS into OS-X were probably legal, not technical ones. There's long history of the CDDL tripping up reasonable attempts to use ZFS and I doubt Apple would have wanted to proceed without approval and/or alternate licensing. Likewise Oracle has no real reason to let them do that without writing a check with lots of zeros on it.

There's also a decent chunk of what ZFS supports (particularly flexible volume pool management) that would be useless on almost every machine that Apple makes and sells. Your example of pulling a drive out of one machine and putting it in another is either impossible (soldered-on storage) or highly unlikely (user-serviceable SSD, but hidden behind a bunch of pentalobe screws) with their modern hardware lineup.
I've linked to this before, but AFAIK it's still relevant as the gotchas regarding signals haven't changed. Slides from a talk titled "Signal Handlers" from OpenBSD developer Henning Brauer : http://www.openbsd.org/papers/opencon04/index.html
To answer the articles question: should you be scared of Unix signals ? No. But you shouldn't do anything complicated in the signal handlers.
"And, prior to the massacre at a gay nightclub in Orlando on Saturday night, executives were telling investors to expect another big bump — because of the upcoming elections."

Which directly contradicts the clickbait title.
On linux, the behavior for locking a mutex (I tested a GNU C++11 std::mutex) from a signal handler is to consider it (at least for the interrupted thread) to have been unlocked. This allows intuitive synchronization from handlers and avoids deadlocks, which I'm assuming is facilitated in the kernel-futex design. If any kernel hackers want to chime in on why this works (and is safe (is safe?)) in the face of most unix specifications, generic docs and articles like this it may be enlightening.
Abusing Cucumber, for a good cause
Difficulty level, probably. I'd love to see both and also one that can survive over GSM audio (is that even possible?)
Not really. Whilst paper voting fraud is definitely possible - maybe even easier than online fraud - in an election, paper ballots are distributed across an entire country. They require "hacking" 1000's of people in order to corrupt a national vote. Computer hacking just requires breaking the security of one application.
Two issues: the problem is semantics not syntax. A binary version of HTML with all the same values a text version of HTML won't change anything. It isn't the values, it's what done with the values. This is a fix to a problem that doesn't exist.

A stricter version of HTML would not have allowed for the progressive enhancement that existed throughout the evolution of HTML.
CodeFormatter delivers fmt as phar file.
Aquaponics uses much less water than hydroponics plus you don't use energy to make fertiliser. Your inputs are light & fish food and some top up water.
I waited for PiP or as Windows calls it make a Window always stay on top (like Win and Linux can do for decades) for so long and now I have to use Safari as it seems to get it working. I also doubt it will work with Flash or any live web sport streams :( What was/is so complicated to get an always on top window on OS X aka macOS?
True, that bit is especially bad.

"The real challenge is to get to the point where algorithms can build a model without the benefit of an insanely expensive data pre-processing pipeline."

Arguably, that is equivalent to saying the real problem is still unsupervised/semi-supervised learning. IE, being able to just throw a bunch of raw data and maybe just a bit of hand configuration at an algorithm and have it do complicated things for you. The success of Deep learning is to scale to tons of data and build really complicated models, but as it is used today that data is still hand labeled for supervised learning in an insanely expensive data pre-processing step. Good unsupervised or semi-supervised learning could hopefully let us get out of this, but I don't think anyone really knows how to get there yet. Co-training is an older example of semi-supervised learning, and more recently there were Ladder Networks, but I don't think any algorithm has been shown to work really well and become the norm in the way LSTM RNNs or CNNs have.
There won't be any ads.

This may not have been explicitly listed, but a user-centric communication medium does not perpetrate psychological warfare against its users and reward distracting them, stalking and profiling them, or exploiting their naïvete. It empowers them by giving them access to information on their terms. This is definitional.
Known state doesn't have to include all of the static assets (art, music, level data).
Perhaps you should mail the hn admins instead.
Techcrunch writes articles to bring visibility to yc startups and hn pays back sending eyeballs to techcrunch.
If Apple goes this direction, I'm going to be unhappy. The only (literally, only) reason I got an iPhone 6+ was because Google / Android decided they are my mommy and automatically turned down the volume after a short while when I listened to music in my truck. I listen using a 3.5 mm jack since the USB connector on the radio broke from too many cycles of plugging and unplugging.

So maybe a few Android phones will retain the 3.5 mm plug and I could use those when this iPhone craps out (battery is already showing its age by cycling faster), but then I'm stuck having to root the phone and do some xda-developer shit to try to overcome the nanny turning down the volume. Obviously that wasn't worth the effort to me, since I bought my first-ever Apple product to get away from that kind of stupidity.
I like https://github.com/GraphChi/graphchi-cpp quite a bit. Handles out-of-core graphs really well. Fast.
The entire point of this "tangent" (which it isn't) is that the same reason you would make the choice to use the "unsafe" variant are the same reasons you would argue to not use a type-safe language. Or, rather, if you're default inclination is to always choose safety over other factors, then why not apply the same logic to languages? The fact is that you seem to be drawing an arbitrary line at language-use in your logic here.
Signals are like interrupts, and like interrupts, they're handled in an unusual environment. That's the main problem. You can be inside some nonreentrant library when a signal handler is called.

Most programs that do something complicated with signals generate an event in the signal handler and put it on a queue to be handled later. The queue should be lock-free, or there's a risk of deadlock.
Some of the people behind 'wijvertrouwenstemcomputersniet' (we do not trust voting computers) are active in the CCC and have some pretty good arguments on why electronic voting really is a danger to democracy.

https://www.ccc.de/en/tags/wahlcomputer

The link between electronic voting and online voting is a strong one and one would expect the online voting situation to be far more suspect to all kinds of trickery than the one where the voting computer is set up in a booth. Even so, there are some unique ways in which a voting computer in a booth might be manipulated to give incorrect results that do not apply to online voting, but I don't think it matters much, as soon as it's just bits & bytes and audit trails who watches the watchers becomes the real issue.

Any voting system without anonymity and a way to do a re-count and some physical proof is fundamentally broken.
I'd actually put Blockstack in the same category as Ethereum. From a transactional log perspective, it uses the Bitcoin blockchain for consensus on the log and from an application development perspective, you can build apps using Blockstack (gives you naming, auth, and storage).
Taking advantage of the differences between flash and spinning rust only requires that you know which one you're running on.

Moving the wear leveling code into the OS where the filesystem can see it is an interesting idea but why aren't we doing that for all SSDs and operating systems then?
Unpopular opinion, but I like MS products - Just not the pricing! I did start in an MSSQL/.Net Devhouse though which may have tinted my rose glasses.
Also, signals become much easier to deal with if your program is single-threaded. Once threads get involved, it becomes more complex to know which thread(s) will receive a given signal.
Wow, this is the best read I've found in a long time. Thank you both very much for pointing it out :D
> The project is simple. In 10 mins I can easily review the project. Are there tests? Is it well-composed? Does it run? Really doesnt take long for a simple project. Since every candidate gets the same project it is pretty easy to determine a good solution from a bad one.

Mostly, you're determining who had more time to spend on the project.

> You actually know quite a bit about them after a phone screen plus this project. If they cant come up with a decent solution to a small and simple project then they are not advanced in the process.

You're adding another thing to rule candidates out but not in. The problem with exclusion is it becomes more and more likely to rule out good candidates.
Presiden Napoli Aurelio De Laurentiis Akan
Kindle does have an experimental browser that's marginally functional.
Apple Pay JavaScript Framework
oh that's interesting.. kinda nuts if that happened to you.. one day you are like, "man I'm so smart!" then the next you are like.. "oh man, I'll just give the money back to avoid getting investigated by the feds..."
DC gov publishes full voter file online including address, political affiliation [pdf]
The lightning cable is compatible with USB, since it's other data paths are hdmi and a few others I don't think that apple headphones would use something proprietary just connect to the phone via the usb path if so dumb adapters can be used to convert them to usb type c easily and cheaply.
"the mass shootings are uniquely american thing"

Compare levels of gun violence in two border cities with very similar demographics: El Paso, Texas and Juarez, Chihuahua State.

One one side of the border, gun ownership and carry rights are quite strong. On the other, handguns are essentially banned.

Which do you think has more violent crime?
>Somebody steals your debit card? Good luck, money is gone from your bank account, and BTW, your mortgage and auto payments just bounced, so we're going to tack on some overdraft fees too. Have a nice day.

In Canada the account holder is not liable for fraudulent transactions, whether it is credit or debit... a benefit of our highly regulated banks.
HN discussion: https://news.ycombinator.com/item?id=11772686
Ulnar Nerve Entrapment (numbness in pink and ring finger due to desk edge)
I was hoping that they will launch iMessage on Android. I would have uninstalled FB messenger from my phone then.
They can code AI, but can't run their sound through audacity to clean it up? That's a bummer.
My advice is to realize that you are hired as a leader in the organization. Use your leadership to change what needs to change so that the company succeeds. An important factor for the success of the company (as long as you are still hired there) is that you are doing what you love doing and what helps the company, because it'll make a big impact. If you like writing code and write 2 lines of code, it'll raise the morale of the team and get them motivated to work more.

What I am trying to say is assume your leadership and do what you want to be done. If the company likes it, then great. It is a win-win situation. If not, then next steps are clear.
Did you consider suing? It's the only way to reach today's modern corporation.
I'm a big fan of aquaponics too, but I've never seen numbers on the energy required to source, process, and transport the fish food. It gets even more complicated if you include the energy required to raise the fish that get caught and turned into fish food.

In my old system, I used bottle fly larvae to feed the fish so the energy input was less (waste refuse that would have been composted anyway) . It was the least fun part of the system because of the "gross factor" of maggots.
Very true. I think this is the source of pg's python paradox from back when python was much less popular than it is today.
Well, it can be used as a credit card for online purchases. You can also use Interac Online with it for Canadian online merchants, which there are relatively few of.
Weird.. it's on their homepage https://www.dcboee.org/default.asp
You include the time created in the object before signing, and invalidate based on that as a timeout.
GSM is definitely possible, but you'd struggle to get more than 2kbit/second (and that'd be over a good connection). You'd probably need FEC to pull it off.
not scaling well is a security feature!

it's a lot harder to steal and alter 5000 ballot papers than 5, which is not the case with electronic systems.
Is it going to work with subscriptions?
https://developer.apple.com/wwdc/live/#/. It's streaming there now.
try:

https://news.ycombinator.com/upvoted?id=billconan