skysight-inc/HackerNews huggingface dataset:
It could be argued that you don't need an ascii icon for "sunny", etc.
This topic is specifically avoided in the government's anti-brexit propaganda.
A Primer on the Complicated Battle for the South China Sea
> You cannot easily imagine blocking a whole country's access to international travel because of a data leak.

You cannot do that, not because of the problems for those people, but because it would break trust in the system. It would become apparent how unsafe it is to keep fingerprints stored digitally in a central database. That would be a bigger problem, worldwide. People would demand to get rid of these databases, and I bet many intelligence services would not like that.
Considering you need to provide fingerprints to request all sorts of documents, what would the government be able to do that they aren't already able now?

Here's a list of documents you need to provide fingerprints, off the top of my head:

– National identity card (RG), mandatory for all citizens over 18 years of age;

– Military conscription certificate (CAM), mandatory for all male citizens over 18 years of age;

– Voting card (Título de Eleitor), mandatory for all citizens between 18 and 65 years of age, encouraged for all citizens over 16;

– Employment record book (Carteira de Trabalho), mandatory for any formal employment;

– Passports

Also, as of at least three years ago in the state of Rio de Janeiro, some of these were already computerized.
Cool! I've of course read the Redbook back in the day (I think I still have it printed out in my shelf) but for some reason I've missed that chapter.

I didn't quite get what you need the stencil buffer for in that technique.
The problem with formal verification of systems like this is that checking whether software matches the specification or whether the specification is self-consistent is not the interesting problem. Whether specification matches the real world is the interesting problem and there is no formal way to verify that.
Then you are missing the whole point of Rust. The point of Rust IS to allow you to be close to the machine but while you maintain much higher level of safety. Rust is designed to do this with little overhead.

In this day and age with big software packages, security being an increased concern it really is high time programming languages do more to help us avoid bugs which expose us to hackers and crackers.

I do have an affinity for C, but as a Objective-C programmer currently coding in Swift, I am really seeing how many more bugs the compiler helps me uncover.

I think Rust is on the right track. It is a long overdue change to systems programming.
From reading the draft, it doesn't seem to say what happens if it is not technically possible (or practical, anyway) for the entity being ordered to comply.

Will they simply be held in contempt of court until they finish brute forcing an encryption key at the heat death of the Universe?
I do not agree. He explained the thought process two times:

1) "The target users for SiteNabber are intermediate computer users. They have enough knowledge about computers and the Internet to want to copy a website’s files, but they aren’t so advanced that they would prefer using a more complex existing solution. Experts who want to control every detail aren’t target users!"

I agree with that. If you need a GUI you're not comfortable playing with wget from the command line and/or spending time reading the wget documentation. But you're advanced enough to know it is possible to download whole websites (!)

2) "Step 12: Test with real users, so there’s a good chance that I have some details wrong. This is normal and expected."

Design, like programming, is a never ending process. Last 20% take 80% of the time, yadda yadda. I am a programmer, and I desperately want to learn what is wrong with my designs. This article explained very clearly what is wrong in my (and most programmers) thought process when designing an UI:

Programmer flow: Write code -> Design UI around code -> Change code -> Apply changes to UI -> Rinse & Repeat

Correct, designer flow: Think long and hard about your target users and why they'll use your product -> Design the UI around their goals -> Write code -> Test with humans -> Adapt design to better suit their needs -> Rinse & Repeat

In the "Programmer's flow", code changes drive UI changes. When the code is feature complete and bug free the app is done.

The correct way is to have end users drive your UI changes. And till users aren't satisfied you are not done, even if the code is perfect.
A curated list of awesome network analysis resources
Jade has been renamed to Pug
ok, try Atom and report back. The guy who was complaining had projects of several thousand files, some of which were 50,000 line xml files.
A one-hump camel is a fine hypothesis. But multiple humps, implying “muggles and wizards,” is not.
It's a bit of a chicken and egg problem.

Hardware vendors won't support VP9 until it has some usage, and it won't get usage until it has hardware support.

VP9 has some serious space savings, so it's extremely beneficial for Google to use it when possible, and many users will appreciate faster loading video at a higher quality.

Unfortunately they can't know when you'd prefer to have a more efficient decoding experience, so they rank their codecs and use the "highest" one available.
Certainly you can learn Fizzbuzz and string reversing, meaning that you could be a false positive in the interview. Assuming that you are interviewing experienced devs and you use the test as a kicking-off point for discussing any errors rather than as an opportunity for calling the candidate an idiot, you are unlikely to hit false negatives.

Even in these circumstances I've had a decent proportion of candidates never able to even begin to outline some code, let alone get far enough in to enounter "tricks" or "pitfalls". These are candidates I'm comfortable assuming have not learned to code.
To someone who can't do it, it is a trick question.

The "trick" is the first hump - a goat.
According to diffoscope, the (only) differences are in the archive member modification times:

--- ../0.1.0.zip
+++ 0.1.0.zip
├── zipinfo -v {}
│ @@ -28,15 +28,15 @@
│ file system or operating system of origin: MS-DOS, OS/2 or NT FAT
│ version of encoding software: 0.0
│ minimum file system compatibility required: MS-DOS, OS/2 or NT FAT
│ minimum software version required to extract: 1.0
│ compression method: none (stored)
│ file security status: not encrypted
│ extended local header: no
│ - file last modified on (DOS date/time): 2016 Apr 8 06:33:12
│ + file last modified on (DOS date/time): 2016 Apr 8 14:33:12
│ file last modified on (UT extra field modtime): 2016 Apr 8 13:33:13 local
│ file last modified on (UT extra field modtime): 2016 Apr 8 13:33:13 UTC
│ 32-bit CRC value (hex): 00000000
│ compressed size: 0 bytes
│ uncompressed size: 0 bytes
│ length of filename: 13 characters
│ length of extra field: 9 bytes
│ @@ -63,15 +63,15 @@
│ version of encoding software: 0.0
│ minimum file system compatibility required: MS-DOS, OS/2 or NT FAT
│ minimum software version required to extract: 1.0
│ compression method: deflated
│ compression sub-type (deflation): normal
│ file security status: not encrypted
│ extended local header: no
│ - file last modified on (DOS date/time): 2016 Apr 8 06:33:12
│ + file last modified on (DOS date/time): 2016 Apr 8 14:33:12
│ file last modified on (UT extra field modtime): 2016 Apr 8 13:33:13 local
│ file last modified on (UT extra field modtime): 2016 Apr 8 13:33:13 UTC
│ 32-bit CRC value (hex): 570b4391
│ compressed size: 52 bytes
│ uncompressed size: 78 bytes
│ length of filename: 23 characters
│ length of extra field: 9 bytes
│ @@ -97,15 +97,15 @@
│ file system or operating system of origin: Unix
│ version of encoding software: 2.3
│ minimum file system compatibility required: MS-DOS, OS/2 or NT FAT
│ minimum software version required to extract: 1.0
│ compression method: none (stored)
│ file security status: not encrypted
│ extended local header: no
│ - file last modified on (DOS date/time): 2016 Apr 8 06:33:12
│ + file last modified on (DOS date/time): 2016 Apr 8 14:33:12
│ file last modified on (UT extra field modtime): 2016 Apr 8 13:33:13 local
│ file last modified on (UT extra field modtime): 2016 Apr 8 13:33:13 UTC
│ 32-bit CRC value (hex): bc890775
│ compressed size: 59 bytes
│ uncompressed size: 59 bytes
│ length of filename: 20 characters
│ length of extra field: 9 bytes

(rest of output omitted as it's too long for an HN comment; the full output can be found at http://paste.debian.net/432708/)
There are quite a few native compilers for Java, the difference is that the best ones aren't free.
> Whenever two characters appeared within 15 words of one another, a link (or “edge”) was added between them. The links are weighted based on how often the two characters appeared in close proximity.

The interesting part here is that the algorithm needs no upfront understanding about the relationships nor about the type of interactions between characters. You can construct the graph from just looking at the locations of the words associated with each character.
In my state these were all just printed on the document (at least last time I had to make documents).

You cannot "hack" a piece of paper easily...

But with mandatory vote + mandatory fingerprint to vote, you just turn that database in a giant juicy target, an attacker can be sure that all voters will have fingerprints there.
The Ultimate Question of Programming, Refactoring, and Everything
When presented with a trivial programming task in an interview, I'm partly questioning whether there's something deeper I'm missing or if it's a basic challenge like "did you ever write any code yourself?". That's why some might perceive it as a trick question.
Elusive state of superconducting matter discovered after 50 years
In U.S. culture is being shaped by business more than other countries. Car culture, gun culture are two great examples of commercial cultures in U.S.
Doctors are working with imperfect information. Nothing can diagnose perfectly all the time, not even strong AI.
Never had cause to reverse a string but have needed to reverse an array. Never had cause to do something like fizzbuzz but have needed modular operator (actually both in the same function) but if I had never had reason to validate barcodes of differing lengths and validate the check-bit, I would probably fail on fizzbuzz too. In fact I probably would fail today if asked, who has time to remember something that useless, and that easy to look up?
If I have generics, first class functions, and garbage collection, frankly I don't care about sub-typing.

http://loup-vaillant.fr/articles/classes-as-syntactic-sugar
It's a great article to see in the mainstream press and something that needs to be discussed.

When it comes to UK housing most people tend to blame immigration / lack of building. Which certainly haven't made the situation any better. They both can distort the supply / demand equation.

The main thing though that effects the demand however tends to be looser monetary policy. This makes more people have more money chasing the same properties. It's an absurd situation and all we have done is essentially devalue money in terms of property. We are no richer.

An even more interesting point to the UK market is places like Scotland. Scotland's population actually dipped from the 80s into the 90s, and is only just above where it was in the 80s now... and yet in that time real property values have doubled and above in most places.

During this time they never stopped building...

We should all be angry at monetary policy of the last decade or so.
Alfabet Polski
The author seems really angry, maybe a good Sunday drive would cheer him up.
Go is thriving because it is Google sponsored.

If it came from "Joe the dev" no one at HN would give it a second look.
Homebrew patch makes many Oculus VR games perfectly playable on HTC Vive
If you've ever used LINE, they have a really nice inline emoji suggestion function, where as you type words a list of possibly related emoji appear (presumably they have them tagged with various keywords).

Everything else about LINE is terrible, but I'd love it if everyone just copied that particular interaction.
Internet Exchange Points are the cause of slow Internet
Vim is a Game
Maybe it's not a popular look over there but I couldn't help but notice there were no photos of guys with a full beard, ball cap and aviator style sunglasses...
I quite like the logical progression though:

+ People keep telling me we should be able to implement a map function in go.

+ I implemented a map function in go.

+ The map function was ugly, slow, unsafe and generally an abomination.

Conclusion? You don't need a map function in go.

You may not agree but you have to admire his dedication to the One True Way whatever is put in his way. Even if it's him that's erecting pretty impressive roadblock himself.
What is happening in the UK today is what happened in Spain 10 years ago, or what happened in Japan before Spain: A bubble created by easy money.

In Spain it was money coming from France, UK, and Germany. In UK it is money coming from Chinese and central banks, and people worrying about the stock market.

The big problem in developed countries is that they are old democracies. For the first time, most of the population of a country is not young, but old.

In the past, with pyramids of population, the younger population decided for their country, now it it old people who is majority.

This means young people could be sacrificed without consequences: taxes are being raised on the young and working populations to support elderly pensions. House prices are artificially sustained so old people does not lose their investments. Working benefits are cut on newcomers to support veterans.
I wish Congresspeople were held to the same standard as the rest of us. This kind of lack of understanding of technology (intentional or not) is evidence of gross incompetence. Feinstein/Burr should be expelled. We all would fired if we demonstrated this lack of ability
> But the situation isn't really any better if you take a single step forwards.

Not following your logic...
I disagree. What's tricky about a naive solution for FizzBuzz? The only argument I could think of is "well it uses modulo which isn't all that standard". Not knowing modulo (or "how do I check if a number can be divided by another number") is a very bad sign (imo)...the rest is printing stuff, branching, a loop, methods/functions and getting a program to run (+maybe TDD). Those are all rather fundamental building blocks.
Do you still have a working warranty for your Nexus 4?
>In a properly tuned system with sufficient CPU capacity there should never be any full GC pauses with G1.

So you use a language without value types that makes you pay for two or three times more memory than comparable languages, and then you spend your time re-tuning the GC every time your allocation or usage patterns change. Then you hope to never trigger a full GC that could stall the VM for many seconds (or in extreme cases that I have seen even minutes). That makes very little sense to me.

I cannot speak to the performance of the current Go GC for 100G heap sizes. I never tried it and I haven't read anything about it. It's not my language of choice for that sort of task either.
Show HN: Startup or Pharma? – Is it a startup, or a pharmaceutical drug?
Absolutely. At my first job out of college it was an immediate purchase for some even though they were already tens of thousands in debt. I'm hoping my car (since high school) lasts long enough that I never have to buy/own a car again.
That's not web scale /s

That being said, because I use a different OS every week, I have found this to not work as well as I'd like because I often forget to commit/push after a change.

Since I'm always committing/pushing, it seems to me like keeping ~/.emacs.d in Dropbox is the better solution.
The thread was more about mattlondon's problem with sorting according to the same key in different structs. I used of modified version of this example[0] to illustrate what I think is his problem[1]: you can sort circles and planet by radius, and probably many other things in the original case, but you are required to copy-paste the definitions.

I can understand that instantiating templates by hand is not so bad. But once it is written, maintaining the code is not so obvious for someone not acquainted with it.

Did I introduce a bug or not in the code? Not easy to tell without context.

[0] http://stackoverflow.com/a/28999886/124319

[1] https://play.golang.org/p/Dq0AJjkhhr
Morse Keyer for kids / beginners using Ardiuno
I feel it's a rather salient point that it's the land that is expensive, not the house.
Bought in 2011 for £90,000. Current Zoopla estimate is £110k
https://en.wikipedia.org/wiki/General_Motors_streetcar_consp...

..and relevant documentary:

https://www.youtube.com/watch?v=p-I8GDklsN4
The whole notion of using fingerprints for authentication is weird. Essentially something that's akin to a username is being used as a password.

I've wrote about this practice the other day[0]. It's interesting to observe that when Apple announced Touch ID for example it was presented as something with improved security.

0: https://hugotunius.se/2016/04/11/why-i-disabled-touch-id-and...
I'm going to second what possibility said. Bipolar depression is a very different animal from standard clinical depression. Mania is ugly, it turns someone you know into someone you don't.
But what you are saying would imply that property prices in lower demand areas went down as property prices in higher demand areas went up.

That didn't happen. Instead even lower demand areas everywhere in the UK have gone up in real money terms and relative to local earnings.

No where has fallen significantly, everywhere now your money doesn't go as far as it did. That is what loose money policy does.

Just places like London have had astronomical increases.
Yea, but you can't live in your annunity fund. With a home, can rent it out. You can use it to start a home business. You can help out family members in need. You can work on your vechicle on the driveway. (Just read a housing rental agreement. A 42 page agreement. The agreement was so restrictive, the renters would only be able to sleep in the over-priced, code ridden, chit box. They literally had a clause in the lease that restricted opening the hood of your vechicle for more than 10 minutes in their carport. No quick trouble shooting on that old vechicle. You are forced to roll it on the street, and then risk a municipal ticket?

I still think a house is a good investment for most poor, and middle class people.

I'm so dissalusioned, at this point in my life; I would just like to see areas where you can pitch a tent, without the fear of racking up tickets.

I hate to be that guy, but I forsee a lot more homeless in the near future. I'm just asking for a few fields, and some restrooms. A safe place where people could go after an deviating life event--like a nervous breakdown, or the loss of a key job. A place where you could save a few bucks, so you could get back into the system.
Actually growth of BTL is not the reason for increasing house prices - although it is a result of the actual cause - low interest rates - which has meant that both buy-to-live and buy-to-let have been able to borrow ever great sums for the same monthly cost as mortgage rates have come down - from 5% or 6% to 1% over the last 5 - 10 years.
Sort of.

I mean if github wants to modify the contents of the tarball, they'll also modify the signature. So unless you're also confirming that it's the right signature, and not just that it's signed, what exactly are you doing?
Amazing. I remember hearing somewhere years ago about military ability to synthesise speech and use it to do stuff like manipulate radar operator instructions to fighter aircraft. Humorous to see something even a tiny bit like that in public.
It feels like everyone would be better served if the tech community admitted the legitimacy of the government's (and many, MANY people's) security concerns and stopped pretending that the right to privacy always trumps the right to security of the person. (All occurrences of the string "secur" in that EFF letter[1], for instance, are in reference to data and computer systems. Not one is in [direct] reference to people.) Or, if we don't go that far, we need to at least realise the need for political communities to have serious discussions about how to reconcile those two rights without jeopardising either of them.

The tech community's solutions WAY too often feel like they're motivated only by libertarian concerns for freedom which, while extremely important, are not exhaustively fundamental or final to -- and certainly do not settle the question for -- non-libertarians.

1. https://act.eff.org/action/tell-congress-stop-the-burr-feins...
Drone racing is coming to ESPN this August
>There's a conspiracy theory going around that

Well something definitely is screw-y with the pricing so I'd consider that theory quite plausible.
I wouldn't call dependence on cars "absurd" or "insane" as the article puts it. Certainly there's room for improvement. Self-driving cars may reduce underutilization as well as fatalities. Cities could be planned better for walking, biking, and public transportation. But without car transportation I doubt the US economy, standard of living, and general sense of unlimited possibility would be what they are today.
Isn't that how it's usually done? My mortgage payment is somewhere around $2,700/month, but I'm pretty sure that covers insurance and taxes.
It's perspective. By the end of interviewing 6 or 7 people, YOU know those questions and all the paths to answers cold. You not only know the questions and answers, you know all the ways thinking about those problems is connected to other problems. So, WHO could possibly not know that? Possibly you, before you put together your list of interview tech questions.
I'm in the UK and we definitely hire without a degree. We do, however, require a few years exp. to make up for it.
Funny thing is I sort of like how many many apps do not override ctrl/command p and respect it.

Almost every editor I use I use the print commands (ctrl/command p + some other keys) as my global personal short cut chain.

That way I have the same short cuts for intellij, eclipse and even emacs (sadly remapping the default ctrl-p).

Some recent editors though don't respect leaving ctrl/command-p alone (sublime, atom, vs code) which means I have to override what is there. Which sort of pisses me off... they found my secret unused keys ... damn them :)

Worse though are editors that do not even allow you to override ctrl/command-p but I have yet to see those.
I spent most of my 20s and all of my 30s not owning a car. Even living in a city where I don't need one if get a lot of responses to that fact stating that I'm an odd duck
Developers are adapting Oculus Rift exclusives to work on the HTC Vive
I like to use:

git push -u origin master

So then the next time all I need to do is:

git push
Would you believe I'm coming up on thirty, and have never (yet) owned my own vehicle? It's not a big deal where I live, but to my fiancée's friends it counts against me. More than once, when talking about me, my fiancée has heard her friends tell others "He doesn't even have a car!" as though somehow I'm less of a man, and have to be driven around like a child.

That whole mindset is foreign to me - I'm an adult which means I can afford to rent any vehicle I need to use, or hire somebody to drive me whenever I want and it's still probably cheaper than owning one vehicle in the long run.
Going to echo this sentiment: I think the only way FizzBuzz is a trick question is if you aren't familiar with the modulus operator, in which case I think it fair to say you haven't spent much time programming.

That being said, I'm assuming the failure mode we're discussing is 'flailing at the whiteboard and would never make any progress given infinite time' and not 'wrote an off-by-one error that a unit test would catch.'