skysight-inc/HackerNews huggingface dataset:
I love your idea and will probably subscribe soon. I couldn't find a Twitter account on your home page - this would be a great thing to do. I would follow the account even before subscribing to candy delivery, and seeing posts from you would keep it top of mind so I would remember to subscribe. And of course make it easier for me to publicize your great idea. :)
XcodeHoney 0.1
Plugin for Xcode to add some useful key bindings. Support Xcode 6 beta.
> It’s not really a feature, it’s an operator that can be overloaded. That is, instead of using `mymodule.dot(a, b)`, you can use the much less readable `a @ b`.

I disagree with you, and think it's definitely a feature. If you are doing scientific computing it can be much more readable to use infix overloaded operators. What is better, `np.dot(x.T(), np.dot(M, x))` or `x.T() @ M @ x`? I find the second much more readable.

I get it that operator overloading can be abused and lead to unreadable code, but in some use cases it is a godsend.
I downloaded the ogg and even mplayer fails to play it without stuttering and even crashing at some frames.
I don't think it's the bandwidth.
Why are you assuming there is no deal in place here?
This is cool... but you should check out http://maidsafe.net
You sleep in their shops of course! "Oh, don't mind that woman sleeping beside the cans of soup, she is our SEO expert!"

By rotating where you sleep among your clients, you build stronger relationships and have better insight into their business.
There's the traditional webmin-like console where you can install "apps", all NAS have something like that but it requires that all apps are trusted to be secure. This looks like a model that would go beyond that and provide a sandbox with capability-sharing mechanism.
https://medium.com/@nikkidurkin99/my-startup-failed-and-this...

From what I read, the idea was very sound and validated by some great initial success.
Redesigned Elm website
evil-mode is actually pretty good. I've been using it for clojure (paredit is quite nice). Keep in mind, though, that not all packages are gonna work as expected (I had problems with multiple-cursors, for example).

Something I would really recommend you: there are a lot of people in vim (like me) that have remaped the ESC key to a combination of keys (in my case jk); that is, by pressing j followed by k you go to normal mode (it's actually way faster than having to reach ESC). In vim, such thing is very easy; in emacs, you need to install the key-chord package, and something like the following would work:

(require 'key-chord)
(key-chord-mode 1)
(key-chord-define evil-insert-state-map "jk" 'evil-normal-state)
(setq key-chord-two-keys-delay 1.0)

Relative numbers are very nice, as well.

By the way, regarding company-mode, I think autocomplete is newer and it's what most people are using nowadays.

I found out about a bunch of plugins through emacs live and prelude (and then switched to my own config). Take a look to other people's config on github :)
I have spun it truthfully.

I don't doubt the team are great engineers. That does not make Quora a great business, a viable business or even anything of value.

If you can pitch HN on why Quora matters then do it. Otherwise it is what I said - a bunch of people, well connected with SV who blagged a ton of cash with no way of making good on the promise.
I've never had any problems with etags, either. I've always gotten the same functionality as vim. Maybe we are missing something.
Now that we've sometimes sent bigger packages, I managed to include some snacks in there too. One I really want to send is wasabi potato chips / wasabi bakaukes if I can find a conveniently sized bag that will fit our packaging.
Tell HN: Jonathan Dale's Cancer Fundraiser isn't Doing Well & Time's Running Out
This was posted on HN a few months ago and got a lot of attention at the time (751 points), but I figured I would post a reminder to everyone about Jonathan Dale's cancer fundraiser. There's less than a month remaining and they only have about 10% of their goal:

https://www.giveforward.com/fundraiser/w704/beating-cancer-one-dollar-at-a-time-with-jonathan-dale

Original post:
https://news.ycombinator.com/item?id=7390638
What? Seriously...what?
Why Venture Capital is So Much More Compelling Now
Love the idea to branch out into stationary. Now you've got the option to grow up and out. There's probably loads of other suitable Japanese niches too.

Have you done any AB testing with the personalised message on the home page ("Free shipping even to {user's country}")? I'd be interested to know how that affected conversion.
well, this would mean you'd get feedback every time you declare a variable without giving it an initial value? (even if the value is never read from before being written to - i.e is entirely safe to do?)

or how about when you write a for loop?

for(int i=0; i<LIMIT; i++)
..

the compiler assumes that i cannot overflow in this case, because that would be undefined behaviour. on the most obvious level, it doesn't need to do an overflow check on each loop iteration, if it exploits undefined behaviour. and no, it simply can't check the value of LIMIT before the loop, because i may be changed in the loop body, or LIMIT itself may change. this also allows a myriad of other loop optimisations. pipelining, vectorization, unrolling..

i don't think you realise just how often undefined behaviour is used in compiler optimisations.
?!? Why?
They often end up on torrent sites and the audio often uploaded for free. If you have any suggestions, we're always open to doing things in new and better ways.

@Skram
That is true to a point. But the spectrum is only a public resource under specific conditions and Aereo has not met those conditions according to the law and legal institutions we have empowered to make those decisions.

I have read some of your previous posts and they are exceptionally well written.

However, I await the idiotic HN consensus about to be posted below this comment stating -

a. Judges are <insert slur> old men
b. Old people don't understand technology
c. Silicon Valley could solve the entire world if we just let it
How can a theorem be "poorly" used?
The Supreme Court’s tech illiteracy is becoming a big problem
Although I did run a few tests, I don't think I ever tested that one. I initially added it as it was quite easy to do in app engine and then kept it as many people kept telling me how clever it is that it was customized. One spinoff would be to make that as a copy & paste javascript widget that others could also use on their pages.

A/B tests did show that having some video on the page was beneficial, so I should probably put one back in. The only thing is that the video I had before described an item I sent in 2011, so it is getting a bit dated to use anymore.
http://howfastisthenbn.com.au/

Took about 12 hours total. Ended up with with 200k+ uniques within a few days of launch, 65k Facebook likes, ~8k Tweets, nation wide press coverage.

Didn't change government policy though :(
actually, realloc infrequently moves data around, especially if it's large. quite often the returned pointer value is the same. but yes, even if it has been free'd, the page in which it resided is likely still valid, and free doesn't zero out memory. so, dereferencing p even after realloc will likely point to a section of memory with the data that was previously there, in it.

that said, it is, quite rightly, a use-after-free 101 bug. i only mention because a lot of people see this behaviour, and it only explodes sometime later (either exceed page boundary in old data, or getting stale data later on..)
But a Lisper would do something along the lines of

(defun list-sum (lyst &optional (acc 0))
(if (eql 0 (length lyst))
acc
(list-sum (cdr lyst) (+ acc (car lyst)))))

And any respectable compiler (with TCO) would compile it to a plain old loop. In this case, I'm puzzled because the author implemented this solution knowing that it is going to be compiled to a slow recursive routine.
I want a Free-as-in-free-speech alternative. I also don't want users to depend on yet another third-party (do you remember Megaupload ?), and I certainly don't want someone to know who shares what with you.
Normal life is not suicide.

I say that as someone who has talked two people out of suicide. Suicide not a normal emotional, biological or mental state for any living creature.

What exactly is wrong with judging someone through a large canon of blog posts?

I am sure you would have no trouble judging the mental state of the Westboro Baptist Church members through their blog posts.
Why did you choose to store the state in a database? It seems like an unusual choice for a game.
I use 'jj' rather than 'kj' and except for a pause after I type the first letter of 'join', it works well.
Ask HN: How did you find your mentor?
This question has been asked several times here, but I could not find a satisfactory reply to this. I am really at a low of my life and would like to reboot. I don't feel much confidence in my decisions and hence need a mentor to help me think and get guidance.

How did you find your mentor?
True, and when I need to use C++ today I use a small subset of it with some new features from C++11. Namespaces, functions, structs, lambdas and smart pointers is usually all I need.

The standard library has become so much better then the old days. Now I can even create threads without extra libraries. Unfortunately std types are no longer COW with C++11.

Now if I only can get rid of that awful header file I almost have something that works without too much headache and profanity.
Software and its ecosystem (or lack thereof)
Android L Preview Now Available On The Nexus 5 And Nexus 7
If Python 3 is so wonderful, why are the Python 3 developers still using Python 2 in their toolchain? It's because it would reportedly take 1 man year to port Mercurial to Python 3.

If an organisation has lots of legacy Python code, it'll cost them a lot of effort to re-write it for Python 3, and for what? Programmers might be maybe 1% more productive in the new language than the old one. For most organisations, this would not make business sense.
I went back to Sublime after using Vim for a while but then realized I was going to have a terminal open 24/7 anyway so what's the point? Then I learned how to use a terminal multiplexer and now Sublime and other GUI editors just hinder my workflow. IMHO if you're a programmer you should know how to use a terminal to the point that you prefer it over most GUIs (of course, you should always use whatever has the feature you need).

Oh, and on a side note:

Vim and terminal usage is not a "time sink" and it pains me whenever I hear people who consider them selves "programmers" claim it to be. If you haven't learned how to use the terminal yet (or haven't found a use for it) then you aren't a respectable programmer IMHO. I would not read a book on programming by someone who doesn't know how to use a terminal and I would not take a class on programming taught by a professor who doesn't know how to use a terminal.
I cannot get around the fact that he was offered leniency (6 months in a low security prison) in return for a plea bargain.

He rejected that deal, opting instead for a trial in which prosecutors would have been forced to justify their pursuit of him.

Fair enough - noble and principled if a little foolhardy.

Then he committed suicide.

Given the choice of ending my life or taking 6 months in jail; I know which is the more mentally stable option to take.
See also Huginn: https://github.com/cantino/huginn
I had this same problem: they function differently in evil mode than Emacs mode; for some reason evil does its own word boundary definitions for etags lookups, and it breaks up words on underscores. I dug into it, and it was some problem with evil's word semantics (that only existed for etags lookups). I ran out of energy to debug it further, and just went back to Vim.

Regular etags called with the emacs bindings worked just fine, but switching contexts from evil mode was a pain.
Previous discussion: https://news.ycombinator.com/item?id=7958815 (it's still on the front page)
>> It's also really hard to convince people to come work for you for no money

I think this may have been why his face dropped. If your pitch isn't convincing anyone to take a risk with their career/time on you, then the investor is going to think twice about taking a similar risk with his money.
A-B tests are not psychology experiments (and you don't want them to be)
> You realize your criticism of D has nothing to do with the language itself, and everything to do with network effects, and first-to-market effect? Of course D lacks the widespread adoptions of C++, it's a newer language! The same goes for your criticism of Rust.

Yeah, it's basically a catch-22: lang X is not a viable substitute because it isn't mature enough/not mature enough ecosystem, and continually and relentlessly stating and reinforcing this point will just keep discouraging people from adopting (and indirectly improving) these languages, since clearly... there haven't been any languages that have been able to displace C/++, so what's the point.

And, according to Pacabel, even if you manage to break through some niche with these languages, most underlying software (OSs, VMs, etc.) will still be written in C/++. So if you reimplement the whole bottom of the stack with other systems languages, only then can you talk about displacement, apparently. A tall order.
Silicon Valley's culture of failure – and 'the walking dead' it leaves behind
$100 conversion cost isn't intractable.

Let's say you can optimize it down to $75 with better ad copy:

* Higher CTR -> lower spend

Then let's say you can optimize it down to $50 with better conversion funnel tracking

* You get their email and then send them a free eBook about Japanese candy or stationery, then you ask them if you have permission to keep contacting them. If yes, you keep providing value and eventually sell them on more Candy Japan packages.

* You include the video on your page

Then you instrument a referral incentive system

* You give someone double-candy if they refer a friend

Then you ask the people who aren't retaining why they aren't retaining. You bucket their complaints into categories and you provide solutions.

* "I only needed it for this one specific occasion" -> You sell them a gift subscription package instead, at a much lower price, so the recipient knows they are still thinking of them, with bigger upside kicking it at later months. i.e., month 1 = one piece of candy, month 2 = two additional pieces of candy, month 3 = 3 additional pieces of candy

Lifetime value could surpass conversion cost.
Stationery from Japan is very close to my heart so I'm even more excited about the Pen Japan than Candy Japan.

Just this spring I got a Hobonichi planner sent from Japan to EU. It's not sold in Europe and in addition to great format it has unbelievable paper (Tomoe River) that is extremely thin yet opaque and works great with fountain pen.

Also Pilot (incl Namiki fp range) has always surprised me with the design, workability and ergonomics that has been put into each and every little writing instrument Pilot has manufactured, including even the very cheap low end.

Stationary geeks and students might find Pen Japan very attractive. There's unbelievable amount of people still into reviewing paper and fountain pens at The Fountain Pen Network forums. Pen Japan would definitely benefit from people having the real recurring need for new paper/notebooks etc.

Pro Tip: Get a cheap Lamy Safari fountain pen + notebooks with decent paper (Clairefontaine/Rhodia is great; Moleskine not that good) -- writing feels natural again even after all the digital pads and keyboards available.
We do know that there are elements of contagion around suicidality and self harm. People use the word "trigguring" (a bit problematic because the word has spread from and to other situations which have different levels of appropriateness) but yes, we are pretty sure that someone with anorexia who spends a lot of time talking to other people with anorexia, especially if they're actively sharing thinspo tips, is going to find recovery harder and that this is causal.

While it's great that people with lots of data do research, and there are problems with ethics panels[1], we should be very careful with anything designed to manipulate emotions.

[1] Ben Goldacre talks about this http://www.badscience.net/2011/03/when-ethics-committees-kil...
is android l is better than android kitkat
What I never heard explained in one sentence about vi is: why have multiple modes? Why not zero modes instead?
People can reduce their risk of suicide by using something that filters low-quality reporting of suicide from their timeline.
The FQA states that the C++ doesn't have garbage collection and presents that as a problem. It's a non sequitur. It's like saying "I don't like this knife, I cannot eat soup with it".
Consider this Python 3 code extract:

HCK = 3

Now, does that identifier consist of three ascii letters, or 3 Cyrillic letters that happen to look the same, or some combination of the two? It's impossible to tell.

In Python 3, identifiers don't identify!
They know how to program. Do they know what to program?
And I use :0, which is consistent with :N to get to the Nth line, which I also use. (I know, :1 same, just my habit.) And I could use :% to get to the last line, for more consistency, but G is my habit there.

Many ways to edit a cat.
(slightly OT, motivated by the first paragraph)
Here's some code to approximate images by (random) Voronoi disgrams. Might be interesting to add a genetic algorithm to that.

https://github.com/amedeedaboville/voronoify
In my opinion, other people's opinions about how I program are worth just about nothing.

I'll never understand the sort of arrogance that leads to posting things like that. do you really believe you're so smart that you figured out the only way anyone should do anything?
Alternate Route To Carlisle PA
On one side "CanVec" data has been imported and on the other it has not. If you zoom in from here you see all the small streams that are showing up in the visualization:

http://www.openstreetmap.org/way/157650655

That doesn't explain the differences on the imported side, but I guess that could just be more imports vs less imports.
> This is why upstream developers should

Eh, not so much. Any system which tries to convince upstream to change their ways is going to be fraught, so we're always going to need another way to force the behaviour we want in spite of the upstream.
I completely agree and the workflow does away with the need for a vast number of configuration management tools too. Also, John Carmack also thinks they're "really interesting" [1] (the link in his tweet takes you to the academic paper). If you've used Unikernels for anything, I'd really like to know about your experience. Please do get in touch with me (see profile).

Side note: Why use a Twitter short URL when the original [2] is pretty succinct anyway?

[1] https://twitter.com/ID_AA_Carmack/status/476046680698003458

[2] http://queue.acm.org/detail.cfm?id=2566628
Good point. I meant that they are presented and used in a much more limited scope than they could be.
Index – TheMakingOfGames
Because as a programmer your time is dominated by editing rather than creating text, therefore it is more efficient for every key to default to direct access to an editing function.
Well, I wasn't trying to be arrogant.. sorry. But would you really take a programming class taught by a professor who doesn't know how to use a terminal?
If you have multiple modes you can basically reuse the entire keyboard for commands. That's one advantage that is impossible to achieve in non-modal editors. Ctrl-ing, Alt-ing, Shift-ing stuff just isn't the same, especially as those commands get more and more complex.
yeah so it's more a business practice problem than anything else...

also I don't understand why patent trolls are not patenting gzip, sorting algorithms or any other kind of technology.

I think the patent office use experts to approve a patent, so why are there such stupid patents ? Can't they just void them ?
We figured the CPT codes would be too confusing for users, we just have the hcpcs descriptions.
Where are you located in the health-tech-osphere?
Multiple modes allows the same keys to do different things in different modes, there isn't much more to it than that.

Say, at a Bash shell prompt in a terminal window, pressing Ctrl+R starts "reverse command search" mode, so that pressing letter keys searches for commands entered in the past, rather than entering a new command. In this mode, up and down move through search results, rather than moving through the entire command history like in "normal" mode.

Lots of software has modes, the unusual thing about Vim is that they have names, and that there is a mode with a focus on navigation.
There do seem to be many "non-cute" but just cool / useful stationeries I could send, such as this eraser which is just a bunch of corners instead of being a cube so that you'll always have that best corner part of erasers to use: http://www.amazon.co.jp/%E3%82%B3%E3%82%AF%E3%83%A8-%E6%B6%8...
> Unfortunately std types are no longer COW with C++11.

GNU std::string being CoW (still is atm btw) has always been deceitful. The API was simply never designed for that implementation, which resulted in seemingly cheap read-only operations (char x = str[42];) becoming quite expensive.

I'm glad you mentioned actually, since API authors embracing reference semantics through fear of overhead is a great rabbit hole of systemic complexity for C++ developers who are then forced to swim against the tide in the language. Sadly I don't think Rust goes far enough in bringing love to value semantics.
Jokes aside, outside of certain areas which are fairly unusual, most programmers have never used vim OR emacs and I would guess that most don't even really know about them. It can be hard to imagine in the echo-chamber that is the online tech scene, but really most developers just use IDE's and get on with life.
I'll say. Raising money is why many startups fail.
Any algorithm has an infinite set of different physical machines that could be built that will execute it. A machine expressing an algorithm is not the same as the algorithm itself.
I thought about doing something like this last year. It was in more of a suburban area, so we'd use cars / trucks, but the idea was to allow people to order trees online, and then deliver them a few times a week at set times (between 9-12am on Saturday, etc).
"Anyone who doesn't have the same exact opinion as me isn't a real programmer."

Is that correct?
This is part of the "surprised expert" routine that I would like to see go out of vogue.

No, it isn't entirely obvious to me that the last routine is the fastest. Perhaps I'm a person who is running a web design company in Outer Mongolia "coding up webpages" using Microsoft FrontPage. But please, for the love of Cthulhu, could you elaborate on why this is obvious?
XKCD Graphs: Create your own XKCD style graphs
This could be kind of neat, especially for older people that are less familiar with computers, but still want to stay informed. Let them select their interests, and deliver a customized newspaper.
Maybe you could have two plans: a "cute" and a "serious" one?
This might surprise you, but the vast majority of developers manage to get by without learning how to use a terminal. They really do. Saying you wouldn't listen to a developer that doesn't use a terminal is just silly - do you know just how many things there are to learn in the world of programming? Everyone has something they've never learned.

Also - can I just ask, as someone who "uses a terminal" but doesn't really get why people talk about it like it's so amazing - what am I doing wrong? What do you use a terminal for that makes it so important?
At this point, shouldn't organizations have a Python 3 plan? Legacy support ends in 5 years. Shouldn't new apps be written in 3 when possible?