skysight-inc/HackerNews huggingface dataset:
It seems to me there is a lot of VIM vocabulary that is very different from what is common on the desktop today. I don't know what yank means. I don't think I have a desktop app that has a yank function.

The current front page example is using 'z' to "redraw the cursor". I know what all those words means, but put together they are complete jibberish. Looking at the gif, it appears that redraw is VIM-speak for scrolling.

Also "z doesn't do anything on it's own. But it pairs with a number of other things. It is used for redrawing the screen, saving and quitting, as well as manipulating folds." doesn't sound intuitive at all.
The US's good treatment of conquered territories following WWII set it up for the global hegemony it enjoys to this day. The Nazis and Japanese lost the war in a devastating fashion in part because they behaved so stupidly due to their ideology. I'm not too familiar with the UK's fight against slavery, but I'd wager that their enemies were the ones who suffered the most from shutting down the slave trade.
For the record, niche authors, I would love to read "Pentesting South African WifFi Networks with Monads"
Pros:

- Productivity: The browser renderer and Node (as well as the open source ecosystems that accompany those environments) offer you a lot. HTML, CSS and JS are relatively easy and because there are a lot of web programmers out there, your access to developers, developer resources and libraries is vast.

- One portable target: Develop your app for multiple operating systems without worrying about many of the problems inherent in web programming (ES6 support, CSS inconsistencies between browsers, etc.) or cross platform development (compilation, dynamic linking, header / include guards, etc.)

- Decent OS integration: Interacting with filesystem, native OS menu bars, notifications, etc. is fairly simple.

- Multiple language support: Electron uses JavaScript for application logic but you could alternatively use CoffeeScript, TypeScript, ClojureScript, Elm or any language that can compile to JS.

- Performance when you need it: Use something like node-ffi [1] or SWIG [2] if you need C or C++.

Cons:

- Memory usage: An Electron app is essentially a fully-featured Chromium browser and a Node process that communicate via IPC. This might be a bit bloated for some applications, particularly if you're targeting systems where memory is limited.

- Large builds: Packaged Electron apps contain everything they need to run so they're typically quite large. Don't be surprised if your "hello world" app ends up being over 30MB.

- Not truly native: Sure, you can make your app look great but the only way you can make it look 100% "native" is to use the widget toolkits of whatever operating systems you're targeting. Electron does not give you access to this.

- The DOM can be your worst enemy: This is where the performance issues of many Electron apps (Atom comes to mind) arise. Depending on the complexity of your app, you'll want to either limit how many elements you render to the page at any given moment or look into using something like HTML5 canvas to render.

- Single threaded: Node is single threaded. If true concurrency is important to you, you might consider another platform.

Overall, I love Electron. It's not the right choice for all applications but if you have experience developing for the web and want a desktop application platform that is easy to get into, I'd give it a shot.

[1] https://github.com/node-ffi/node-ffi

[2] http://www.swig.org/
A lot of comments here talk about recaptcha having a distinctive traffic signature, but I don't understand this.

Why does recaptcha have a distinct signature and if it does couldn't an attacker just make a distinct signature without recaptcha?

And why does recaptcha have a traffic signature that can distinguish between users?
I mean how does a simple request response create a distinct traffic?
After a few days of working on it, it seems like he’s been able to cut about 25k lines of code from the original ~95k, taking it down to about 70k lines. Pretty nice!

Throwing away never-called functions, chopping out hacks for now-outdated platforms, de-duplicating subsystems, switching to easier-to-reason-about data structures, making assets and related code use more standard formats, etc. must be pretty satisfying, like peeling old faded cracking paint off a wall and refinishing it.

I wonder where he’ll end up.
This is super weird. And it seems obvious that most of these measures are in place to spy on people. It also makes sense to treat the country like a small company's network if they have so few clients.

The other thing I'm wondering, could they have been doing this to avoid outsiders to access their network? If we try to access 10.something it will try to reach an internal network and thus we won't be able to access their ips. If we somehow manage to send the request to 10.something over the network some node/server on the way will probably drop it.
One of my coworkers once shared the use of set relativenumber, which causes line numbers to be relative to your current position in the file. Great for movements.
What's Talima? All Google is giving me is a resort in the Philippines. Since I'm an aging boomer, maybe it's something I need :-)
11:50 AM PDT We can confirm increased error rates for the EC2 APIs and are currently working to resolve. We also observed isolated periods of impaired network connectivity for some EC2 instances.

12:21 PM PDT We have identified the root cause for error rates accessing the EC2 APIs and EC2 Management Console and are currently working to resolve. We observed isolated periods of impaired network connectivity for some EC2 instances, however running instances are currently operating normally.
This to me again pushes the question when it's OK to overthrow a democratically elected government. All western governments and even the Turkish opposition came out against the coup because it was "undemocratic". However, I believe there is definitely a line somewhere that a democratically elected government cannot cross without losing legitimacy and making a coup the right thing to do regardless of the remaining popular support. Had Erdogan crossed that line? If so, what was that line? If he didn't cross it what would be that line.

I'm sure we all can agree that there is such s line since we probably all can agree that Hitler crossed it although I'm not sure in his case where exactly that line was either. Maybe when he dismantled the parliament? Maybe earlier?
Pretty cool, but keep in mind that it's at a massive scalability disadvantage compared to flash because of the requirement for a read/write head. Current 3D flash may only be 1.7Tbpsi, but that's with a layer 4 microns thick. Make it a millimeter thick and you're in the same areal density range.
This is called a mix network and only one server currently does that in Tor's network.
A piece of equipment I worked on in the USAF had 512 bytes of core memory. If I recall correctly, it was constructed of nine planes of 512 cores each, where you had 8 data planes (bits) and one parity plane. It dated from the Vietnam war as a joint Army-Air Force project, and was being phased out in the mid-80's with a new microprocessor-based system.

I once had to replace a defective memory assembly -- the end of messages in the system were indicated with 4 N's in the first few columns ("NNNN") and one of the cores went bad so the N in that column was never recognized (the other characters in that column were munged too), and so the message never ended. Over a day with an oscilloscope to find that one bad core and convince the NCOIC that I was right... I didn't have a microscope, but to the naked eye the core looked fine. It just wasn't flipping like it should have.
Donald Trump is AlphaGo
Verified accounts for everyone: Twitter announces new application process
Bad programmers are going to make a mess of things no matter how many tests you have. More often than not I see tests as needlessly solidifying the architecture prematurely.

More often than not I see TDD yielding horrible, terrible software architectures and at that point you do need tests to maintain the resulting mess. TDD somehow assumes emergent architectures and I know from experience this is the worst way to architect something.

NPM for example is full of well-tested libraries with poor architecture and bad usability (could be why everything is reinvented every 6 months) but I wouldn't call that a success story.

I'm willing to bet the bug reduction from the extra time upfront doesn't come from doing TDD but actually thinking about the requirements and how they fit the larger picture.

I really like the following story to illustrate this point:

http://ravimohan.blogspot.ca/2007/04/learning-from-sudoku-so...
+1 Minor point. Somehow I first checked f, it gives me the description for b.
Okay, very cute, but what if you want your language to have significant semantic differences from C and the like? What if you want to write a Scheme interpreter, for instance? Can I have Continuations? Can I have Tail Call Optimization? I very much doubt it.

If you want to write a language that is semantically like C for the most part, than go ahead and use Truffle, but that's not where interesting language design is happening. Show me that Truffle's Ruby implementation hasn't removed callcc (yes, Ruby has callcc), and maybe I'll reconsider.
> Wow. It's hard to believe that this is the same Kissinger that's still held in high regard today.

Do you believe that because of his failure to accomplish much?

Or do you just disagree with his methods?
Uninformed question: isn't this somewhat what we'd expect? Neutrinos interact very weakly with matter so they're much more likely to stay in superposition? Or is this happening at a much greater scale than expected?
Well, yes!
> However, we choose to keep track of everything a little more accurately than that.

Precisely. And there is nothing wrong with that. I just have made a different choice based on my preferences, and I see nothing wrong with that, either.
>What is the ratio between what you’ve done and how long you’ve been working on it?

>I want to feel impressed with how much you’ve done in the period of time you’ve had to do it. This can apply to a company that’s one week old or ten years old.

You can't sustain the same ratio of work-to-time over the long-term. Barring superhuman attributes, that ratio will decrease significantly.
Perhaps look at HTTP Problem Details? https://tools.ietf.org/html/rfc7807
Catholicism, for all its many faults, is not a fundamentalist religion. There's no conflict between their theology and the scientific method, evolution, etc. It's various Protestant sects that are fundamentalist and deny evolution, think dinosaurs were on Noah's Ark, etc.
Prof Sir Tim Gowers, FRS, Wins the 2016 Sylvester Medal
They also used it as a "weapon", removing verification from people who had unpopular views.
The cost of property taxes gets reflected in the market prices of rents.
Not moving, but it seems some companies are not planning to open offices there anymore, like Rancher,

- https://twitter.com/smw355/status/746204644947296257
Doesn't GIF's difference encoding mostly make the background a constant cost?
This is silly. The judge is female and young (for a judge):

http://oglobo.globo.com/rio/juiza-agredida-no-bep-ganhou-ape...

Unfortunately, tech-related ignorance is common across ages and genders.
This article, while very interesting, completely ommitted .NET CLR. Does anyone know how does the CLR compare to JVM, especially the new CoreCLR? How maturę is it in terms of using the best of breed JIT optimizations?
6 rules of sticker club, and the missing (unofficial) sticker manual
> Outlawing encryption?

A question to ask politicians "How do you outlaw math?".
You're thinking of 'multipart/form-data' with a content-disposition of 'attachment', which is the usual way of uploading binary blobs to a controller resource.

But conceivably you could have controllers that accept a PUT or a POST of an 'image/jpeg'. Why wouldn't you, if you're aiming for image uploads?
True, Operation Paperclip wasn't exactly the, uh, most optional thing from what I understand.
> The first movie was innovative in that it was the first mainstream movie to break the fourth wall, have tons of R-rated jokes, etc,

Check out Naked Gun kiddo.
Yeah I wrote this during the last extended outages - had some downtime since, well, I couldn't interact with the api :P .

The source code for it is here: https://github.com/josegonzalez/real-aws-status
I've been living in Germany for less than a quarter of my life but in the recent years I started feeling more German than Turkish and that is while my German is still far from perfect and having way less friends here than I do back in İstanbul (and yes, never switched my keyboard layout too).

I'm actually thinking to apply for a citizenship - I think I may be eligible after 7 years here.

My point is, yes, leaving is the right thing for most of the people who don't feel like they belong there.

Also, I think that will also help Turkey too. A very large group of like-minded people will (I guess) live up to their choices and they become very successful and everyone is happy or it all crashes and burns, hopefully leading to a story about successful recovery like Germany.
The more your economy relies on creativity and education of the workforce the less productive a slave will become compared to a free man.

So yes, economies relying on slave labor can outcompete our economies in sectors where masses of low skilled labor are required (because of the lower price), but once these economies move up and require highly skilled labor they'll usually get into trouble.
well, try it :P
Mobile JavaScript Apps: The Dawn of React Native
It's a UK national asset because it's _not_ located about 200 miles away. I would certainly apply for a job at ARM in the UK, but I wouldn't in France, because I don't want to live in France and I don't want to work remotely.

The fact they're in the UK means that a lot of the money they make ends up here, which means more money in the economy near me and more money for the government to spend on things that benefit me.

Nationalities and borders may well be arbitrary (I agree), but that doesn't mean they don't matter.
It's intuitive once you already know what it means and have sunk dozens of hours into memorizing what the shortcuts do /s
Can you sign into a Google account and leak all your personal data to Google using chromium?

If so, why are you even asking the question?
Right, include Javascript (or heck, just a bunch of images of different sizes) that open requests in Morse code. Long request, long request, short request, long request...

Or, my favorite, the binary search (assuming you control the server / the network in front of the server / some exit nodes, and can monitor the traffic of your targeted user): have sites that cause transmissions for some time (long running JS / requests, or just a lot of content the user interacts with). Freeze 50% of the servers connections. Is the user still connecting? Then s/he is in the 50%. If not, in the other. Repeat until the is user matched to activity on the server.
> The first movie was innovative in that it was the first mainstream movie to break the fourth wall,

You're either very young, or haven't watched very many movies.
I guess it helps weed the 6 year old product that is just a landing page?
Calabi-Yau (play)
What a clickbaity title.
Sadly, this could have been avoided 20-15 years ago when Turkey was pretty liberal and aproaching the EU. This has been the biggest mistake of the EU history: letting the right declare it a christian club, and thus losing both a moderate islamic country and a bridge to the middle east.

Erdogan understood long ago that Turkey would never be accepted in the EU (even with big pressure coming from USA and UK) and has used the EU membership as a bargaining chip.

Now the membership option is openly dead, and Erdogan can proceed with his fundamentalist agenda.

Also, having been clearly betrayed by EU and OTAN in this military coup, he really has nothing to worry about anymore. Turkey will be out of NATO soon, and it will become a Russia ally.

What a blunder the west is playing: only 25 years after the URSS collapse, and instead of integrating Russia into the global institucions, the USA decided to proffit the strategic advantage to expand and provoke. We have managed to turn the possibility of true global integration, collaboration and progress into a new cold (actually warm and soon hot) war.
The situation is bad, yes, but not war-zone-bad. Borders are open and non-political actors (well, most of them) get to keep their passports and freedom of mobility (obviously not all freedoms).
Pokemon GO server monitor with SMS alerts
> No country with an Islamic education system is very successful, because Islamic education doesn't teach useful skills.

I'm not sure what you mean by "Islamic education system", but many important contributions [0] have been made by individuals from what would appear to be such a system.

[0] https://en.wikipedia.org/wiki/Islamic_Golden_Age
What happens if there is no civil war? The bad guys win without a civil war?
Neat!

To me, Egypt doesn't look very rectangular at all. The very deep concave section, and the sharp convex portion at the bottom right completely break rectangularity for me.

I'm also curious as to why Nauru seems to have such sharp, straight borders - it looks more like the Vatican than a Pacific island.
The actual HTTP status should be relevant. I don't want to get HTTP/200 with {error: not found}. Instead, useful errors should be like:

HTTP/400
{error: invalid foobar in request. Foobar should be a string, but instead got '123'}

Or something like that. Tell developers what the problem actually was, and potentially how to fix it. http://jsonapi.org/format/#error-objects has some good ideas and suggests a standard.

That said, even discarding the body, you should be able to determine if a request was successful by the HTTP status code alone, IMO. If you made a new thing, 201, thing ain't there, 404, your request sucks, 400, etc. Don't make people using your API parse your [especially true if you've invented your own format] JSON errors if they don't want to.
That's my impression also: distance travelled as an inherent property shouldn't 'break' quantum effects. It matters only because larger scale implies a larger chance of interaction, and because it relates to no-go theorems. Still, I don't think these effects have been seen over such distances, even if they were expected.

Despite the title, the scientists quoted don't sound baffled as much as excited. I think this is a case of "we found it after all!"
Some people have too much time on their hands.
There's an easy solution to that: create a caste system and ensure that knowledge workers (who are willing to tow the line) belong to the upper caste. Of course it's a Faustian bargain, but just make sure it's a cushy enough deal with the devil and nobody complains.

It need not be codified into law. It can be accomplished by way of a severe wealth disparity, a glass ceiling, stratification of housing, stratification of education, etc., and a legal system that treats upper class people significantly better than lower class ones. Everyone is technically a citizen subject to the same laws but in practice a different set of laws apply to you based on your wealth, occupation, connections, and what neighborhood you live in.

Edit: yes the US is a bit like this, but you can take it a lot further.
Status page is down too: https://status.aws.amazon.com/

Shouldn't there be a separation of concerns for status pages, maybe use: https://www.statuspage.io/

Edit: http(s) was at fault (no SSL cert?)
Hitler was democratically elected. If you oppose any coup that's undemocratic, then you necessarily have to oppose the attempted coups against Hitler. Hitler had great support among his people, even after he dismantled Parliament. After all, he was a strong leader for his country, and his people liked that, just like the Turkish people love Erdogan for the same.

As for as crossing a line, because he was democratically elected, there's two lines to cross: 1) when he makes death camps and starts gassing large numbers of his own people (probably minorities like the Kurds, or various secularists), and 2) when he invades some other country.

In WWII, other nations only finally did something after Germany invaded too many countries (they gave him a pass on Poland, saying "we'll have peace in our time!" by appeasing him). They didn't care about the death camps, until after they defeated Germany and then decided to punish them for those. Just like they didn't care about the genocide in Rwanda.

I imagine the situation with Turkey will be much the same.
A Crash Course on Standard ML (2002) [pdf]
We ran into a situation exactly like that. We hit the limit of the length of GET.

Thanks.
You're right, I had the wrong MIME type. It's been ages since I was working with this stuff.

To answer your second question: because I simplified the example. We run a health insurance website and we need to support life changes events either with or without supporting documentation. It makes no sense to have two separate controllers, as that would mean you could have a successful file attached to an errored-out life change, or the reverse.

But look, never mind. I was just asking because our solution to this problem I imagine most REST APIs would eventually come across felt really hacky and awful and I'm really not proud of the code I wrote to support it, but maybe we're the weirdo freaks and nobody else has to do anything more complicated than assign a file to a user ID.
Counterexample: Portal 2. Same basic concept, innovated on the original in every conceivable way. Sure, I like the original better because nostalgia glasses, but I can objectively state that the sequel is a fucking excellent game.
> almost the entire rest of it can be written in, say, Lua

Or Lisp. :)
Well their status page is down too: https://status.aws.amazon.com/

Edit: http(s) was at fault (no SSL cert?)
I agree; they really shouldn't spend their time leaving disparaging comments of other peoples' hobbies.
This is a great idea!

At least until I started to seriously use it to level up my vi skills. Some of the links (say, for `a` or `g`) goes to the wrong places -- to the entry for `b`. When I stepped back and looked at how to navigate it, I realized the structure is disordered so I have no idea how to get to the info I'd like to see.
I wouldn't be that surprised if he turns it into an example Jai project.
Hitler crossed that line when he used the brown shirts to suppress the vote and intimidate any voices that were counter to theirs. That was years before they dissolved parliament.

I would say this reaction to the failed coup is probably too extreme, and is being used (similar to crystal nacht after a terrorist attack) to dismantle criticts of the govt.
Counting your pennies will not make your pennies grow. Only increasing your income will increase your income. This may seem like a radical idea at first, but look around you and you will find everyone understands this fundamental truth.

Teenagers take summer jobs to earn extra pocket money. Housewives run home-based businesses on eBay / Amazon / Etsy to supplement the household income. People with full time jobs work part-time jobs before or after their main gig. Some people buy property and get rental income out of it. Those who are an authority on a given subject write books and earn royalty on book sales. The ultra-wealthy get dividend income from their stock market investments. None of these people belong in the HN bubble.

Read any number of HN discussions on side-projects and you will see a wealth of ideas being put into action:

https://hn.algolia.com/?query=sideprojects&sort=byPopularity...

@vinceguidry is right. Invest in yourself and enjoy the payback in increased income.