skysight-inc/HackerNews huggingface dataset:
> Could you elaborate on Point 2? What causes this bug, and how do you fix it?

Unless @async is specified, the scripts linked in a page will be executed in that order. This means it's easy to unknowingly create implicit (and possibly unexpected) dependencies between scripts.

Because a module loader will perform asynchronous loading and execution of scripts, if dependencies are left unspecified the loading order is essentially random (mostly driven by the script's source size and how fast the server happens to respond to that request). A module loader requires that dependencies be explicitly spelled out, or changes are the application will randomly blow up at loading.
Unlike some languages, javascript files execute as they are loaded. In large projects relying on js files to take actions beyond the most basic definitional type things is usually a mistake because it means that there is evolving global state (always difficult to keep track of) with implicit semantics. It's very distressing to move some code around in the include order for an unrelated reason and then suddenly find that hundreds of unit tests start breaking with bizarre errors.

The way to avoid this is to limit your js files to definitions, and then finally kick everything off with a single call. Module loaders enforce this, but you can follow this advice without them.

It's reasonable to have one file that must be loaded first - this provides the mechanisms you're going to use to define your objects and nothing more. Then everything else can be done in whatever order seems good, before finally kicking off the action. Even registering code with factories and registries should be left until the end. There are some ordering requirements that are legitimate - if you inherit from another class, then the super class will typically need to be ordered before the subclass.

If you're doing a small project where you don't mind having up to 10 script tags in a page, then you'll do better following the 'separate definition from execution' advice than not. You'll do better still using some form of module loader that makes concerns of order obsolete and will let you scale. I like browserify, but there are lots of options, ranging from the very simple to the complex.
Outstanding work here Colin. This rocks, I hope we'll be able to do more together soon!
8k may not be high enough for true "reality like" vision in an HMD. A good article on the matter can be found at http://bit.ly/1bCyIcj .

What's cool is that mobile manufacturers have already committed to creating screens capable of much higher-density screens than current technology. The VR space was a bit nervous regarding display technology due to the diminishing returns of higher-resolution screens but recent announcement makes hi-resolution VR not only possible but likely regardless of the success of individual VR companies.
Ignoring the really really harsh and overly rude tone.

I wonder what the difference would be if this was posted on a designer version of hackernews.

The problem with your comment is you assume everyone can dabble in everything. When you work at a big co you are hired generally to do one thing, and that's it. Designers don't touch code. Developers don't touch designs. So while Sue may be able to do CSS, JS, Cocoa but isn't allowed anymore then Bob isn't allow to open up photoshop and start "playing color the fucking button on dibbble all day long".
He got upvoted fast because there are nowdays a lot more people on HN.
This might make an interesting stress testing technique. Let 40k people mash all the buttons at once.
In another Flappy Bird thread (the MMO one), somebody posted this formula:

Let distance between ground and top of screen=100.
Bird position after a flap at y=y0, time=t0:
y(t) = y0 + 13.8 - 147 * (t - t0 - 0.288)^2

(https://news.ycombinator.com/item?id=7229018 -- note the original comment had "+ 0.288", but if you plot the graph this was obviously a mistake)

I tried it out in my own HTML5/JS Flappy clone (mine's not at all interesting or even done, but I felt I had to give it a try), and the movement seems really accurate.

I have no idea how they got to those numbers, however.
Cras-Avernas eCommerce agency
Our team will help your web store to achieve more trafic, more conversion and better content. We’re experts in Affiliation, Social Media, SEO and Paid Ads
I find this attitude really obnoxious. "Oh my little darling might be the next great _______!"

Why don't you go do that? Having kids is a just a way of kicking the can down the road.
10:6 is healthy in your world? Ok.....
Suffix trees and suffix arrays slides
I was thinking a scripting language really: JavaScript/CoffeeScript/TypeScript (presumably using Node), Lua, Python, etc. Even PHP is acceptable because I have evolved a particular style in that language that I find makes it significantly less unpleasant than most would imagine

I’m not completely against Clojure. I tried it for a couple of weeks many years ago and found it kind of difficult somehow. I’ve done a reasonable bit of Haskell since so it would probably be better now. My first choice for a lisp would be Racket. I’m not saying no, we’d have to discuss it more I think. Isn’t the big justification for Clojure the Java libraries?
Hey, thanks!

I have actually wondered about the name thing. It is a little whimsical, and I guess it would be easy to mix up with lots of similar descriptions like "a quiet buzz" or "a gentle burble". From that perspective, it might have been better to choose something more memorable.

The site won't rank well in google for descriptive terms because it doesn't contain a lot of text. Even for terms it does contain, it doesn't do very well (e.g. it ranks at ~20 for "ambient noise" in google US). I haven't worried about that so far because the large majority of the traffic is direct, social or for the exact term "a soft murmur".
A few years ago I started a norwegian Fiverr.com clone, called Mikrojobb.no. We got our first 100 users by:

1. Telling all of our friends to create accounts and post some 'gigs', so the site didnt look like a ghost town.

2. Going to various forums for bloggers, web developers, part-time entrepreneurs etc and asking them for feedback. (In other word, finding communities that we thought would use the site and asking them for feedback.)

3. Pushing some press releases to local news sites.

Quite straightforward.
Re unnatural focal behavior, there's some early work on holographic displays going on at MIT (and elsewhere) that could, in the future, solve that problem.
Bad Gateway :-/
but the numbers are correct. The downward trend of the current slump looks like it has some way to go, even on sites like CoinDesk that no longer include Mt. Gox in their price.
I wonder why is it always the anti-GNU people who are behaving like raging teenagers? I have never heard FSF advocate call people zealot or "fucking idiotic" for preferring other license, but the other way around it's a rather common occurrence. I don't want to generalize, but I guess it has to do with they kinds of people who like and dislike GNU.

The day when people will say "oh I like BSD better" instead of "OMG BSD is much more free you are fucking idiots for liking GPL" will be a good day.
You put it better than I do. I wish I could replace my comment with yours.
>1.5 tsp brewed grounds, rectally [caffeine]

Ah yes, coffee enemas, the pinnacle of pseudoscience - and dangerous at that.

http://en.wikipedia.org/wiki/Coffee_enema

Some proponents of alternative medicine have claimed that coffee enemas have an anti-cancer effect by "detoxifying" metabolic products of tumors.[4] There is no medical scientific evidence to support any anti-cancer effect of coffee enemas.[2][5][6]

Coffee enemas can cause numerous side effects, including infections, sepsis (including campylobacter sepsis), severe electrolyte imbalance, colitis, polymicrobial enteric septicemia, proctocolitis, salmonella, brain abscess, and heart failure.[4][6][7][8][9][10][11][12][13] If the coffee is inserted too quickly or is too hot, it could cause internal burning[14] or rectal perforation.[15] Long term use of coffee enemas can lead to malabsorption of fat, fat-soluble vitamins, and calcium.

The use of coffee enemas has led to several deaths as a result of severe electrolyte imbalance, hyponatremia, dehydration, pleural and pericardial effusions.[8][16] The U.S. Food and Drug Administration (FDA) has ruled that study participants must be warned of the risk of death from coffee enemas in studies that use them.[17][18]

http://www.sciencebasedmedicine.org/ask-the-science-based-ph...
You mean that with current semantics if you do a "delete from table where id=X" and X doesn't exist you don't get a lock on that id? So why not just change that or add a "lock my_table in id=X" syntax. Isn't what's needed here fine grained locking by row id?
30% from mailing lists where I was already an active member.
30% direct referrals from people I knew in field.
30% referrals from when I would find people not interested in product, and ask them if they knew anyone who was interested.
10% media coverage of product.

Super labor intensive.
You can tell a developer who works 60+ hours regularly, they have the most buggy code.
Yes, but as with most things in physics, the first signs that an idea is dead usually come decades before the ghost is truly given up. Take, for example, this work from 2012 that was still dealing with a variation on the "hidden variables" formulation: http://arstechnica.com/science/2012/10/quantum-entanglement-...
Do make sure to keep a few of the closest relationships current, despite the growing obstacles. Make the time, find the resources, ignore the inconveniences.

Instead of surface-level 'interactions' of liking their picture on facebook, spend a focused afternoon or weekend together even if it now takes, say, 100+miles of driving. If your life or their lives have changed - adapt. If one of you is single and another has a few kids, this will mean a very different focus in everyday life - but if that causes your relations to fade away, you all lose in the end, so ensure that it doesn't happen.

If you can't maintain quality relationships with X people anymore due to changes in your lifestyle and time availability - prioritize. If you let things just go their own way, it will result in shallow relationships with X people (and you'll feel lonely as the orignal article states), but you should rather have deep relations with X/2 people instead, you just have to choose.
Thanks very much! It's still a big novelty and great pleasure for me to hear positive feedback. I really appreciate it.
Side note: don’t use serif fonts such as Georgia with small characters. I changed the font to Helvetica and the readability was much better.
You should never use inheritance (aka OOP), http://valjok.blogspot.com/2012/10/polymorphism-is-not-bette... It just does not make any sense and, as a good programmer, you must know that containment is preferred to polymorphism.
Caffeine is highly addictive. It only takes a few days of use for signs of addiction to show. Cessation is just easier than nicotine.
The Dog Zone Forum
Seems like this list needed version control. It's now available at https://github.com/mmccaff/PlacesToPostYourStartup
A Founder's Tale: Surviving the Trough of Sorrow
Tax havens such as Germany, the UK, Sweden, Switzerland and dozens of other countries where Apple operates?
nice 1
I would generally agree, any good designer I have worked with have been able to code for the most part html, css. Even if it is just dreamweaver or what ever. And being able to do those and have a general idea of how things work on the web allows him/her to produce significantly better designs then someone who has been doing print his entire life.
My understanding is that nicotine itself is not particularly carcinogenic (there are some studies indicating slight increases in tumorigenesis in conjunction with specific carcinogens, and others indicating no increases), but there are a lot of other compounds in tobacco (including chewing tobacco) that are highly carcinogenic. To my knowledge there are no studies of the carcinogenic potential of long-term nicotine replacement therapy in humans.
The point is that if you use the word 'just' you're saying that you already know that the change is trivial. Perhaps it is, perhaps it isn't. Show respect to the person who will implement it by letting them say whether its trivial or not.

It's absolutely true that moving a button 3px should be trivial, but it's also true that things are often not as they should be.
Do you have any data to prove that 7 minutes is insufficient? Seems like the people proposing this did their homework; it's only fair to expect you to do the same.
MIT took the opportunity to reconsider it's policies and ethics after Aaron Swartz (ie. http://web.mit.edu/newsoffice/2014/mit-follows-up-on-questio...) This is the first test of those changes after Swartz. (Though as the others point out, Swartz's case was different, it was more clear that he did something illegal)

Also I think it's very disingenuous to say that deliberately thinking about your polices and then changing them is hypocritical. This is one of the reasons politicians in Washington can't get anything done - wavering from your past views = hypocrisy. If this was true, people could never change.
Both the font size and colour scheme on that page hurt my eyes.
For Briefmetrics[0], first 10 users were basically the people I was building the product for. About half of those immediately and enthusiastically converted to paying customers.

The next 100 were friends, people who follow me on Twitter/Facebook, and Show HN[1]/Show Lobsters[2]/Show Reddit[3]. Got a few more paid customers from this segment but the conversion rate was not great at all.

Now I'm working on the next 1,000 which will probably involve some "real press coverage" and some reviews on niche blogs or guest posts. This part has been the hardest for me and would love any advice/intros.

--

[0] Briefmetrics [https://briefmetrics.com/], email summaries of your Google Analytics.

[1] Show HN [https://news.ycombinator.com/item?id=6641385], which annoyingly got flagged pretty early on and never got any traction. Considering doing another Show HN, but kind of worried about annoying the HN hivemind.

[2] Show Lobsters [https://lobste.rs/s/ppcmud/show_lobsters_i_built_briefmetric...], some good feedback, this went as well as I could have hoped for the size of the audience. Been really enjoying the Lobsters community.

[3] Show Reddit [http://www.reddit.com/r/analytics/comments/1uk9na/briefmetri...] Got a chunk of visitors, but all the comments were from people I knew so the feedback was a bit of an echochamber.
Tell the author. This is an aggregator.
I've been following this topic for 20-30 years and this is the only supplement I've taken where I've felt mental state changes. Its a noticeable anxiolytic. If its not a strong one, I can only wonder at what a real strong one must feel like.

Not feeling "performance anxiety" most likely does improve performance for most people.

Where you obtain this stuff is a mystery. Amazon used to ship it, but it appears and disappears. One interesting problem is what is merely OTC in one country is prescription only in another country. This is typical for all the substances in the list. This is typical for most substances, it seems, like stevia and perhaps a hundred food dyes.

Stuff I've tried with no measurable performance gain: caffeine, piracetam (headache), creatine, vinpocetine, choline, some others. Other than occasional headache, not much effect one way or the other.
It sounds like your real problem has nothing to do with a “design version” or an “engineering version” of anything. You’ve just worked with some people who were in a design role but didn’t know how to do it. That’s unfortunate, but I don’t think it invalidates the original premise of the article that paying attention to seemingly minor design details matters more than a lot of non-designers tend to acknowledge.
History Made Magic: The Scrapbooks of Harry Houdini Come Alive
>>> It depends entirely on what type of product or service you're offering.

And the luck/chance involved :) basically, the votes a new link gets in first 30mins largely decides whether it will make to front page or not. More specifically, the first upvote because then social proof kicks in (hey it must be good if someone liked it).

So while posting to HN/Reddit might help to kick in, I would take it more as 'good if it hits, fine if it doesn't'.
Deconstructing Facebook Paper's photo panner
Kenya's mPesa vs. Bitcoin
Care to share the link? I'm curious about kettlebell.
Indeed, without a dictator controlling the 'central repo' you do have the issue of contributors borking your branches.

As far as learning curve, the branch/bookmark confusion doesn't seem to be all that big in practice IMO.
The Massive Secret Apple Revealed This Week
I've always thought that ZUIs would be confusing for users. It's a completely modal interface. If you can zoom in infinitely or zoom out infinitely, it would probably be hard to determine where you are conceptually. Can anyone address this?
Why buy Tesla and screw up the current iPhone / Siri integration strategy?
On the plus side, it gave you something to complain about.
> To be fair: I believe mercurial commits enjoy the same level of protection, although via different means.

Actually they have almost exactly the same Merkel tree (there are some minor differences in the metadata that is included, mercurial also includes the file level parents while git does not, for example).

The inspiration came from Monotone.
How would you describe your actual paying client?
Hi Gilles, could you put the files directly into (at least) one branch? And then, why not one branch per language (Ruby/PHP/…)?

It would be easier to see the files directly with Github. And Github can manage releases directly from the git repository.
i think that using stereoscopic video footage run frame by frame back and forth from one lens to the other would be an interesting experiment
lol , is ptrace() hooking only technique that backdoor has as a anti-debugging feature? If so , i will shit to my pants.
The stream is boots up into is pretty cool. I have no idea how to program it though. Some documentation might be nice. How is it stochastic for example?
also using 60 fps footage to do it so that it was essentially watching to 30 fps pieces at once
In Yellow though you get all three starting pokemon pretty early, I assumed that's what he meant.
how did you manage to form a partnership with the trade organization? step by step approach?
It's really too bad that Mt. Gox is tanking and that a lot of people are losing their money. It's probably better for the overall bitcoin community if they just go away, though. They've been dragging down the market for a while, and their wallet software isn't implemented correctly. They were the first, and I'm glad they existed, but amateur hour is over.
Yeah, well, there are hammers of many brands, but few have claws on both ends, as the analogy for a certain controversial piece of technology went.
> How much is that 3 pixels really worth?

It's the developer's responisbility to estimate how much work a particular task requires. If it's too much work for too little benefit, no sane manager/designer would insist on that 3px move.
I think there's an important distinction between an unfinished product and an unpolished product.

To use an overused example, the iPhone was unfinished in terms of features but what was there was incredibly polished.
All great and good to be very fast, but at what price? From their page it costs $450 for 5mil records. In the search world, this is nothing. So I guess its going to come down to if your company is at the point where they need to shave off 1-200ms for hundreds of dollars a month.

Second, I would wait and see how their reliability hashes out before I rely on them for any production services.
I agree with your fundamental point that making the assumptions about what colleagues will have to do can be dangerous, though I would still challenge your earlier suggestion that apparently simple things “frequently” have huge ramifications. It’s sensible and polite to acknowledge the possibility, but if trivial-seeming changes are getting push back more than occasionally, IME that probably indicates a more serious underlying problem with how the project is being built.
Have you ever dealt with a large private health insurance, telecom, airline, banking, or other company?

They don't care about you either unless you're large enough that losing your business would actually matter. They don't care about you at all if it's impossible to lose your business (i.e. employer-provided health insurance, cable companies).

This is a ridiculous claim.
Sure. I didn't mean to suggest that if your product is a good fit it will definitely get a lot of traffic. Just that, if your product isn't a good fit, it definitely won't get a lot of traffic.
The Best RequireJS Slide Deck You Will Ever Find
I can't tell how serious you are, but no, please don't call it "design flow lag". Speaking for myself, and I suspect most engineers, stringing a bunch of weird words together to say "I messed up" or "you messed up" is just going to piss me off.
That's great but they need to disable start like the normal feed
Here's what worked for me:

I tried various BMR/TDEE calculators and they all told me to consume around 2200 cals a day to maintain my current weight. (IMO it honestly doesn't matter which calculator you use - they are all approximate anyway).

To lose weight, I created a mild calorific deficit of 200 cals/day, so basically I eat ~2000 cals a day. I use the myfitnesspal app to track calories. I eat anything I want (yes, including the occasional donut/beer) but I keep the daily total to ~2000.

I logged my weight every day, first thing in the morning. (Note that it is important to log your weight daily as it can fluctuate 1-1.5 lbs each day, so you want to be looking at weekly trend lines, vs say measuring once a week).

At 2000/day my weight trend stayed steady for 2 weeks. So I bumped it down to 1800/day. Now my trend is pointed down, and I'm losing ~1 lb a week.

So that's basically all it takes. Precision and discipline wrt daily calories, with some trial and error to figure out what your individual daily calorific need is. I think a lot of folks make it a lot more complex than it actually is with keto, paleo, insulin levels, etc etc.
Maybe, but it's not something worth making into a political issue into itself, when the GNU project has actual political issues in mind, as close as they get to when speaking of a Software stack, like making sure that the management of a certain project is as close to their ideology as possible, as a political organization which writes Software (which is what the FSF and the GNU project always were, and a pair of beneficial ones at that).
Thanks for the link, this is awesome.
Do you have that link?
That's a really heavy load to put on your kids. They should be free to live their lives as they want to live them and not shoulder the weight of mommy & daddy's unfulfilled dreams.
Tesla could learn a lot from Apple. The touchscreen UI is extremely dated. It reminds me of Windows Media Player.

http://i.imgur.com/Gsqslrd.jpg

http://i.imgur.com/3ZfHi1b.jpg
Buggy, hostile UI, no documentation. But it's still pretty great.
Your site is great!

To add similar services I've been using for quite a while:

http://www.noisli.com/ (very nice UI with changing background colour, a distration free editor and so on)

http://mynoise.net/NoiseMachines/ (quite professional)
Thanks very much for using it! I built it because I wanted it to exist. I got tired of jury rigging three instances of VLC together on my laptop every time I wanted some background noise.
Unless possessing prescription-only medicine is illegal where you live (doubtful), you can just order it on the internet. I don't think it's a restricted drug anywhere.