skysight-inc/HackerNews huggingface dataset:
Ask HN: What would it take to rewrite Vim?
(Yes, I'm crazy, I know.)

So, I'm somewhat okay at programming, with an early-intermediate level of proficiency in Python and C++ by now.

I'd like to know what it would take to rewrite Vim from scratch, with the long term goals of adding in all the sweet Emacs stuff (like integrated scripting and the like) as well as things like an integrated package manager etc.

What things would I need to teach myself? Bear in mind that I do not have much real programming "experience" (as in, I've only written <5K LoC stuff, no real "applications" of even comparable scale).

I am aware of NeoVim, please don't simply point me to it :)
Think of this as a stupid personal project, if you will (although I do plan to put this on GitHub and am open to collaboration if it gains any momentum). It doesn't need to be compatible with Vim at all.
I haven't looked into that (or googled), but how does one detect that everything has deadlocked - is it some kind of profiling/sampling being done, or is it something more system specific? Any pointers? Thanks!
Hopefully it'll be a useful bookmark site for people to reference when researching enterprise software. Also I hope it will be a good place for discussing on ways to improve that industry.
Looks like they are also developing a Search API for OpenBazaar
https://search.bizarre.company
Nobody is protecting you from yourself. They're trying to protect other people from the damage you can do as an addict, a child pornographer, or a terrorist.
That one slipped me by, strangely you get a TV licence from "TV licensing" but a fence comes from a fencing contractor. English, it's weird.
I agree with you 100% that the likelihood of global thermonuclear war has decreased, I definitely think it's going to be a small scale incident when it happens. If there is any such thing as a small-scale nuclear event.

But yes, I don't think anybody would be surprised if there was a limited exchange between Iran and Israel one day. Or maybe a container ship containing a nuke goes off in a harbour somewhere in a terrorist attack, we'd be horrified, but not surprised.

The thing that struck me as a kid was the mental image of two groups of generals and leaders sitting over a map, one in Downing Street and the other in the Kremlin. I always wondered why they didn't just play Diplomacy[0] instead, but play for real countries instead of the imaginary ones in the boardgame. They still get to do all the scheming, backstabbing and other diplomatic shenanigans that politicians seem to love but without the loss of life and destruction.

Not sure my idea would gain traction these days though!

[0]:https://en.wikipedia.org/wiki/Diplomacy_(game)
http://www.dw.de/east-german-stasi-had-189000-informers-stud...
"About one in 100 East Germans was an informer for communist East Germany's secret police in 1989, according to a new study. Political ideology was their main motivation, both in East and West Germany... According to the report, political ideals served as the primary motivation for people to turn in their neighbors, friends and acquaintances to the secret police. Financial incentives played only a minor role and blackmail was rare."

http://www.washingtonpost.com/blogs/the-switch/wp/2014/03/24...
"5.1 million Americans have security clearances. That’s more than the entire population of Norway... About 5.1 million people — or more than 1.5 percent of the population — held security clearances last year."
There is significant evidence that legalisation doesn't really affect the levels of use, particularly with weed. So that argument doesn't hold a lot of water.
Not a repl, but I often have to stop coding for five minutes when I load up gnus.
That is a very good list.
I would also add to this list that unlike what people think, numbers are not necessary following each other (they can be completely random), the even/odd rule might also not be respected and the building number can also contain letters.
Kind of a link-bait headline from the New Yorker. "There were glaring weaknesses in America's nuclear security during the cold war, some of which were used as the basis for the movie." True. "

Almost everything ... uh ... first thing that came to mind is whether a nuke was dropped with a soldier riding it like a horse. No? So what else...

This topic was covered earlier and in a more comprehensive manner by Wired IIRC.
Check this out regarding point 1
http://www.searchenginejournal.com/google-offers-seo-recomme...
That's not quite true. That's what the Lab color space is intended to allow.

https://en.wikipedia.org/wiki/Lab_color_space
The very mindset that "typical business applications that could be found in any enterprise" require some very special tools is one of the consequences.

Seriously, nowadays tools are so good, that you could really write in any popular language you like (in fact - in a few at once, depending of which one fits better for a sub-task).

The internet services, for some reasons, are not (mostly not) implemented in Java. This site, for example, is powered by author's very own dialect of Lisp. Slashdot has been written in Perl, Reddit is mostly Python.

The real problem is still software complexity and lack of programming/engineering (not coding) skills. Problem is with modeling and [de]composition, not with coding. Coders are cheap.

The business of [outsourced] Java sweatshops of unskilled coders "getting shit done" by quickly picking up methods out of IDE's context help without any understanding of underlying principles is like a whole sector of economy. Products they made in the most cases are exactly what they themselves call it - "shit done in exchange of salary".

But this subject is irrelevant here.
The book where I read most of this from is Embracing Defeat: Japan in the Wake of World War II by John Dower. It's a big book, and covers a lot about occupation, not just economics, but I found it engrossing and quite readable. It's a little out of date now, being 14 years old, but nothing really noticeable.
The documentary "Countdown to Zero" (2010) convinced me it's only a matter of time before an improvised nuclear weapon is used in a city somewhere. Scary to hear how easy it is to buy nuclear material.
@msh - We don't host live nodes on that SDK. That is only some documentation for the community. =)
This is an interesting showcase of lock-free programming. Thank you for this!

However, I see the following concerns:

1. The code is so complicated that (imho) an actual formal proof would be needed to show that this actually works.

2. How portable is this? Will this work on other architectures than i86, which have different ordering guarantees?

3. This reduces the time for enqueueing and dequeueing by a factor of x, which is immense (near 100x or 1000x?), but we have to keep in mind that the code uses only a small fraction of total time spent by an application. Therefore, it would be nice to see that this reduction is worthwhile in a practical application.

4. The code for this queue is actually so large (2800 lines) that a large amount of cache memory is needed to keep this code in active memory, and keep it running as fast as it could.

Again, thanks, this will be interesting to study.
Nitpicking again - the fields are a working mathematical description but, as far as I know, we don't know if or in what sense they are real things, whatever real thing even means. The electrical and magnetic fields change when you switch reference frames, so that does not sound like something that really exists independent of an observer. The vector potential on the other hand does not change but it does not seem real either because it has gauge symmetry.
I wish I could really upvote this as a disclaimer. I once worked in a color science lab of a printing company, and it took a long time for me to really get a grip on the topic, because it is a deep topic. It's a bit disheartening to see something passed on as truth that's got so many inaccuracies.
Wars would be a lot better if guys would say to themselves sometimes "Jesus, I'm not going to do that to the enemy. That's too much."

-Kurt Vonnegut
Just Thank you.
Nope. I did it on beer evenings at work. Only that i am not THAT social so i sat most of the times by the computer and worked instead.
What is terrorism, actually? If you give this question some serious thought, it becomes apparent that the term is full of confusion. Politicians perpetuate – and exploit – this ambiguity; causing greater harm by diverting attention away from issues which really do need to be addressed.

More people are killed by the police than terrorism in the United States.

http://www.alternet.org/more-americans-killed-police-terrori...
This is a really great article. I've read simpler explanations of covariance and contravariance, but this is one of the most accessible illustrations of category theoretical concepts I've read. I'd love to see the author expand upon it to show how the concept of functors leads to map operation and how the monads and flatmap can be conceptualized within the category theoretical framework.
There is no trailing space after the punctuation of the first sentence on the page.
Not every law/tax is fair or should even exist in the first place. You don't change things by being complicit.
Taleb wrote a book together with Mandelbrot.
Why couldn't they just bury the mine below the frost line?
Defensive? Perhaps that comes from being viciously slandered and libeled for 4 decades (starting from when I became politically aware in the very early '70s; heck, I'm old enough to remember when the "scientific consensus" was that the earth was entering an ice age and it was axiomatic it all our fault). This brush is broadly used against everyone on "the right"; to bring it back to this discussion and e.g. the impression flohofwoe got as a teenager behind the Iron Curtain in the '80s, by supporting and voting for Reagan we demonstrated a desire to kill those behind it in nuclear hellfire.

Based on my knowledge of the right, I did't know of any such "sect", your language explicitly said there's a specific group of "crazy people" with this set of beliefs. Except you can't identify any of them besides your father, and no one can claim complete clarity in viewing their parents.
Minimalist Cocoa programming (2010)
Your business is an agency by definition.
Has anyone recently launched a new startup in Japan under Investor/Manager visa?

I've never seen so much conflicting information regarding what's necessary.

I'm in the super early stages of rolling out an Asia office and would massively prefer to be in Tokyo but the hassle level feels like 10x HK/Sing. =\
Was describing the fates of TI and Freescale more than the second-tier SoC groups. The larger chipmakers aren't getting back into Apple or Samsung's shop any time soon. And making small design wins for third-world handsets doesn't interest them.
'Live Preview' from the Fakia page produces a Host Gator 500 error.
That sort of behaviour is in no way unique to Go or Java, and I think it's unfair to judge a language or community by some posts from an online newsgroup - most people are too busy to post or lurk on lists like golang-nuts.
I imagine when neovim is ready we'll see frontends for it with all the optimised subpixel rendering you could ask for.
Believe me or don't, I really don't care. If you choose to take my post as libel against you, that's your right, but given that I don't know you and apparently haven't described your beliefs, it takes some amazing mental gymnastics to pull that off, and that's on you, not me.
Ask HN: How to generate a maze that has valid path?
In Phaser.io/JS.
What do you think this site is? Reddit?
Why? They already know who did it.

https://twitter.com/Marvel/status/525071656306626560
Show HN: POSHPO learns your taste in fashion (women only)
How to Win a Debate Against an Atheist for the Existence of God
Ask HN: Which Clojure Editor? Emacs, Sublime, or Lighttable?
> The point here is that iterators can reduce
> bugs, independent of aesthetic concerns.

Iterators can reduce bugs, really?
This is a very flawed point. Bugs are not caused by lack of language features, they are caused by people. And people make mistakes independent of language features and sometimes because of language features causing cognitive overload or require them to make assumptions.
Enemy of the State is a still a Michael Bay film though. A bit restrained, but still a bit too explosion-ey.
It would be helpful if you could precisely describe exactly what it is that makes ST3 look better for you than emacs or vim.

Saying that "I can clearly see the difference" and calling it a "nice modern UI rendering/feel" is too vague to be useful for improving emacs or vim in any concrete direction.
At every IT company I ever worked or friends of me worked there were huge security holes. The common thinking of management is, though, that it's under control. Exposing these holes publicly results in getting fired or maybe even getting sued (because usually job contracts prohibit you from doing something that "harms" the company or its image). I don't think there is much that can be done about it. I certainly wouldn't risk my job, decrease the chance to get a job from other companies and knowing that for all that I could only free the world from one security bug, when million new ones are created daily.
I find it much quicker to navigate buffers in Sublime. Code completion is usually built-in, both html and variable names in whatever language I'm developing (eg div<TAB>). Multiple cursors are great too.

I'm sure Emacs has modules for whatever or I could build it, but why waste the time. I'd rather pay someone to provide a solution that saves me time. I still keep emacs open for macros. Emacs is great for defining a keyboard macro and repeating it's 1000 times.
Some of the circlejerks around certain topics here are very reddit-like, indeed.
One thing which annoys me about emacs is that it doesn't do threading or non-blocking i/o when saving a file.

If I save a file on a remote machine (sshfs mounted), it stalls the entire interface. I only use emacs, so I don't know if "modern" text editors are better at this, but I certainly expect them to be :)
Map makers should just copyright the lines that represent the borders of states, counties, and cities. Heck, copyright lines, points, and legends too.
On the other hand, a lot of the stuff at Google is Java. Also, I can't imagine writing a reliable 1m lines of code system (say for a bank) in Lisp (or any other dynamic language for that matter).
...the rocket's flight range was less than its lethal radius of effect

Reminds me of an old RPG called Paranoia, which featured nuclear hand grenade bombs. I never realised that weapons similar to that joke actually existed!
Mousing over the buttons to switch between brand identity/web design and UI/web development shows a text selection cursor.
I love the RPi and what it has done to introduce computing/programming/linux to more people. However I can't get past how unreliable booting from an SD card has been for me.

I know reliability depends heavily on the SD card used and on the quality of board socket but I am disappointed that Rev 2 of the board did not come with the option of on-board flash.
Thanks for sharing that. It's helpful to understand it from your perspective.

To share my perspective, outside Google:

A similar "error/ad" appears for other some other Google features. Such as trying to edit a picture in Google+ -- I've seen that example for so long now, it seems there's no intent ever to change it.

With each such example, the cumulative effect is to remind me of bad days in the past. My feeling isn't snarky, it's unease. I've seen stuff like Prodigy and CompuServe. I saw Microsoft pivot MSN 1.0 from being another such service, to instead be a web site.

And ever since, I've seen a succession of attempts to "put the open internet genie back in the bottle", including but not limited to Internet Explorer. So far these attempts have failed... but they haven't been from a company as powerful as Google.

So as someone who had loved Google for many years as a supporter of the open internet, it makes me unhappy and confused to see more examples of "Download Chrome!" as an error message in Firefox.

Having said all that, I'm happy to hear that you plan to address this at least for Inbox on Firefox.
OmniFaces 2.0 rc1 available for testing
Matthew Stewart's The Management Myth[1] is a pretty brutal autobiography of "strategy consulting".

A key insight is the role of business school theorists, particularly Michael Porter.

Porter essentially looked over the fence at economics, saw what the economists introduce as the bad behaviours and outcomes of monopolists, then taught that as behaviour to be emulated.

[1] http://www.amazon.com/gp/product/B002PQ7B72/
Hey HN, this is Sam Patterson, operations lead on OpenBazaar.

Please note that this open source project is about 6 months old, and not production ready. It has just started integrating Tor, but should not be considered private or secure yet.

We welcome testers, we are about to release 0.3.0 sometime in the next few days. Our Github is here:

https://github.com/openbazaar/openbazaar

We've gotten a lot of attention from the recent dark net markets being shut down. As I've said elsewhere, viewing OpenBazaar as SR 3.0 misses the true potential of creating a protocol, network, and client that allows individuals or companies to conduct trade directly with each other online.

We welcome feedback on our project, I'm happy to answer questions, and of course we'd be delighted if you want to join us. Let's make trade free.
How on earth anybody can write a story about the fall of the Berlin Wall (indeed, the entire collapse of the USSR) without discussing the economic collapse in the face of dropping oil prices is beyond me. The details, such as minister speeches and ignored guards are interesting in the color they lend to the collapse, but the principle story is one of overwhelming macroeconomic forces at play.

http://marginalrevolution.com/marginalrevolution/2007/06/why...
Both my wife and I somehow managed to avoid seeing Dr. Strangelove before this summer. While watching it, I was repeatedly struck by the same realization as in the article: for all the reputation as a wild farce, there was a rather disturbingly small gap between the film and history which has subsequently been publicly released – and Dr. Strangelove came out decades before we reached the point of having an astrologist in the loop for international decisions.

The far more serious story of Stanislav Petrov (http://en.wikipedia.org/wiki/Stanislav_Petrov) has received a fair of coverage but is still somewhat under-appreciated; it's now my default cautionary response anytime you read a novel or watch a movie and say “oh, that'd never happen in real life”.
Need any project managers? :-)
To be clear I don't work for the company. I just happened across it while on their website. More or less I got suspiciously redirected from one of their listings and I started digging from there.
Internal version probably has online geocoding
This has always kind of been TI's thing. I worked with a group that wrote H.264 codecs running on the IVA of the old OMAP2/3 and Hollywood chips. The IVA was straightforward DSP but the "bridge" method of getting that to talk to the CPU was just...awful.
Top Links for Oct + Nov 3 Week: DevOps, Spark, Mesos, Containers
Compared to iOS and Web developers, there are fewer Android developers that really grok what Android can do. Of the widely used application platforms, Android is the most interesting technologically.
Android owning 80% global market smartphone OS

however, mobile web visitor come from iOS safari browser

You are in the right track! :)

UPVOTE please
Java was intended to allow median programmers to build large systems, largely by removing a lot of sharp edges.

In that regard it has been fantastically successful.
My father commanded a heavy weapons company on the Fulda Gap that included M-29s. Despite the fact that the Davy Crockett was very patently a suicide machine, the military did not explain to its soldiers that the warheads' radius of effect was larger than the gun's maximum range. However, since the gun operators were chosen from the most academically-accomplished of the enlisted ranks[1], they figured it out pretty fast (as did the platoon officers, who resolved to be very, very far behind the FEBA if the war went hot).

As my father pointed out, the concerns were really academic; if the Soviets did invade Western Europe, US war plans in the 1950s and 1960s involved so liberal a use of tactical and operational nuclear weapons that you wouldn't be safe anywhere between Bonn and Berlin. Victory measured out in teaspoons and kilotons.

[1] As opposed to his heavy mortar platoons, one of whom managed to nearly drop a round on the command tent during an exercise after a private failed to understand the operation of a compass. At least, that was his excuse....

Addendum: I should point out that pretty much every warplan the US came up with in the 1950s was a variation on "use nucs to slow down the Soviets until the Turkish military can mobilize." It wasn't until the professionalization of Western European forces, public hostility towards turning Europe into a smoking crater, and the use of game theory to describe how mobilization could become nuclear escalation that nuclear weapons as a standard battlefield play went away.

However, the Soviets never took the operational and tactical use of nuclear weapons out of their play book; Soviet blitz doctrine in the late 1980s still envisioned using widespread nuclear attacks to soften up NATO forces or deny ground in the face of NATO attacks.
Why does a distributed marketplace intended for legal trade need to run on Tor? Do you need anonymity if you're selling towels?
Wow, which vps?
You're arithmetically correct, but in practice new revenue is seen as more interesting than reducing expenses.
What a fantastic list. And just to echo what the parent said, I find this so much more interesting than a list of 'good parts', which are generally easy to glean from the official docs.

Back to Julia: lack of CUDA support was a limiting factor for me when I tried it a year ago.
As a Japanese born and grown-up 27 years exclusively in Japan, I completely agree with the article.

As a programmer and would-be entrepreneur living in Japan, finding good prospective co-founder, investor, or mentor in Japan is really hard. Finding Japanese girl who acknowledges entrepreneurship is also hard, unless you're already very successful or wealthy.

I'm shocked when I know how ideal Silicon Valley's culture and environment are for start-ups. I want to work or start business at SV, not in Japan, though I have not lived there. That's why I'm reading HN and found this post.
You can question what terrorism is when you're in the grey area. But some things are just black/white terrorism, like the Boston Marathon bombing.
Thank you so much for this. (xpto123 as well).

I tried calling but just got bounced around and I'm not sure anyone actually understood/cared. I've got a nice early season cold going so not really interested in sitting on the phone for hours so I've given up on that.

I'm going to email blast as many of the emails I can get and if I don't hear anything back from them by Monday I'll pass it onto CERT.