skysight-inc/HackerNews huggingface dataset:
While the syntax here is CoffeeScript-specific, this is a perfectly fine pattern to apply in any JavaScript.

The key is to remember that, in JavaScript, you aren't really "defining instance methods" in the way you are in almost any other language. You're just passing anonymous functions as the value tied to some key in a dictionary, which happens to be the prototype of some set of objects.
Once you get that into your mind and let it play around for a bit, you realize that you could be getting the anonymous function from anywhere!

From a function-factory, that takes some arguments and returns a function:

render: renderWithTemplate("some_template")

From an anonymous function wrapped in something that controls its execution:

onScroll: _.debounce(100, function(){ /* do something */ })

Or even by delegating to another object:

viewInstance.onScroll = _.bind(somethingElse.render, somethingElse);

Thanks for the great post to help bend our minds around these possibilities.
German pixel art
How the RSA Cipher Works
In searching for product/market fit (the right match between value proposition and customer segment) the product should be the last part you think of changing – not the first

That is shocking. I'm glad Steve said it clearly in those words, because I've certainly been believing the exact opposite.

And with that, I'm now more confused than ever by the whole customer development and lean startup way of doing things.
One change to the Google SERP ranking algorithm is going to ruin their day.
Programming is a skill, which means that learning programming
languages and techniques is not as simple as accumulating facts.
No written guide to programming, no matter how thorough, will ever be
sufficient because there are countless details which have to be left
out, details which you can only assimilate while engaging in the
practice of programming.

No one would suggest that you could become a world-class singer by
merely going through a book on the subject. With these physical
skills, it's obvious that learning involves doing something other than
just absorbing knowledge. I think that, with programming, its nature
as a skill is often overlooked because it's knowledge work. The key
thing to keep in mind is that you must actually do programming in
order to learn languages and techniques.

In Matt's case, he was also trying to develop a new habit - using TDD.
Many aspects of programming are like this. Perhaps you want to start
documenting your code more or you want to start doing daily standup
with your team or _whatever_. These are all habits, some involving
just you and some involving your team or organization. Recognizing
them as habits will allow you to apply techniques for successfully
developing a new habit.
That's largely because I don't care if the bulb uses fresh-squeezed farm-raised unicorn milk.

I care far more whether the output color of the bulb is close to incandescent lighting or maybe to sunlight (what folks are used to), and preferably better or closer than the alternatives.

That the bulb does not produce some weird color shade.

That the bulb is not too dim to be useful.

That the bulb is lacking in other problems such as the classic fluorescent flickering, too.

And that the payback for this bulb over the alternatives is sufficiently short for my budget.

The use of a blue LED is at the bottom of that list.

If Philips came up with a way to do that with a phosphor-shifted blue LED bulb (and probably because they can't find or couldn't find an affordable incandescent-colored LED), well, good on them.

And in the event I was interested in what Philips did here for this bulb, I can look at their advertising brochures for this bulb, and (having read the Philips materials) which are better done than that Extremetech article.
The way the site reads to me, the reason they have the limit is specifically to throttle the influence from a single contributor. If that is where they are coming from, I'd expect they would be reluctant to give more such power to companies than to individuals.
BigScreen — Javascript library for HTML5 Fullscreen API
BigScreen is a simple library for using the JavaScript Full Screen API.
What about mobile marketing?
Hi guys,

Now a days I believe most of us spend more time everyday with our mobiles instead in front pc.
Also reading the news I realize much and much people using their mobile to search local businesses and services.
In that sense I am considering to try mobile marketing as well. I run small restaurant in Chicago and why not give it a chance in mobile marketing.
So I will be very grateful to share if you have any experience with it.
I also would like to ask if you have experience with http://www.Protexting.com
Not only for their mobile marketing services but as well for their white label program.
I read about it and may consider to start my own business with mobile marketing.

Guys, your comments are highly appreciated.
Kingston Crowns Its First Enterprise Class Solid State Drive, SSDNow E100
> an additional 404 error which will, depending on the content of said page, waste a considerable amount of bandwidth.

Because your 404 should be one of the heaviest pages on your site, full of graphics and surprises. Why not make a full-featured game specifically for your 404s?
Or they know and don't care. Buying a trashy novel isn't normally considered a form of estate planning. I know I've purchased books with the expectation of reading them once and then forgetting about them. I've also purchased a few or online readers that in principle I'd like to reread but in practice seemed more fun to have on a device. I'm certainly aware of the licensing issues (though to be honest I wasn't considering the interests of my heirs!) but I did it anyway.

Many purchases are disposable, and it seems to me that this is the realm where digital media is aimed right now. If you think about it, this is always the way we've bought some media, like newspapers and magazines.
This is true only once you've decided on your tools, and rails has such an outrageous selection that I can see people getting stuck before they start.

Should I be using Test::Unit or RSpec? Maybe Cucumber? Should I be testing this functionality as unit tests, functional tests or integration tests? Should I seed the database with fixtures or factories? If I want to use factories, should I use Machinist or Factory Girl? How am I going to test client-side functionality? Selenium tests, or webrat or javascript unit tests? If I'm using javascript unit tests, then do I use Jasmine, or QUnit, or Mocha?

The answer to most of these questions is really just a matter of personal preference, but you can see how easy it is to get overwhelmed even after you've decided to do TDD on Rails.
From my perspective there seems to be a very clear purpose: unifying the interface across platforms, which is one of the disadvantages they had when compared to Apple.

I think it's quite the opposite. OS X has a very different interface from iOS. Some of the visual styling is similar, but for the most part the similarity ends there. Everything with any meat on it - the basic shell interface, the user interface controls and their behavior, even the machine's basic capabilities - is markedly different between the two platforms.

That's part of why iOS started eating up WinCE's market share when it came out. WinCE tried too hard to be like Windows and its user experience suffered as a result. A bicycle and a motorcycle serve fundamentally similar purposes. But I think we can all agree that it would be wrong to jump from that observation to the conclusion that it would be a good idea for them to have the same controls.
The History of the Floppy Disk
NASA flies a lot with VxWorks. They could have ported it to the nexus.
The iPhone is a piece of sh%
It is phrased very poorly, and admittedly does sound pretty crazy, but it made sense to me as someone who works in the field. Gene regulation is a really complicated process, and its becoming increasingly clear that 3D interactions and chromatin remolding/confirmation are very important. Some regulatory elements act very specifically on genes that are over 1 million base pairs away. How are they targeted? Good question.

Although I suppose the probability that DARPA was thinking about gene regulation when they wrote this is slim to none :/
Thanks for the read, it really makes me think. He only wants to use it because is C#, he doesn't know anything about mobile development, in the end I guess the debate will be between cross platform vendors and native apps
Even more than that, I've found that TDD allows you to work out in your head how you want everything to work black-box style, and worry about the implementation second. By starting with a list of inputs and outputs that you expect, it gets you started moving toward your goal immediately. And if you don't have that list, then you already know what step one is.
> If you want to change the world, an acqui-hire is a failure.

Why? Let's assume that's Google's intention -- changing the world. If Google spends their resources acquiring a company, regardless of whether it's for their tech or their employees, is it not likely that they're doing it to further such goals?

Personally, I'd surely feel better able to change the world with the resources of a company like that at my disposal -- especially if they're receiving me through an acqui-hire, rather than out of college by resume or similar.
Halluc-in-ation.

#corrections
It'd be interesting to know how many people do startups "for the money" - 'economic goals'.

I always assumed pretty much everyone did a startup because it's fun and gives you the freedom to do what you love.

There seems to be a line of thought that says "a) do a startup, b) solve the money problem, c) do what you love"... Why not just do what you love to start with? If you don't love doing a startup, don't do it. Do something else.
Buy CDs and rip them.
I believe you're correct that it's roughly on par with a low-end discrete GPU, but your price point is way off. $50 to $75 is more appropriate.
If this is at all useful, it can render a downloaded .tex document, which equates to running a script from an external source (because TeX macros are Turing-complete even if not convenient).
"Digital distribution" aren't magic words that make the production costs go away. In fact, they make production costs the most expensive part of the whole proposition.

Business 1 produces content and sells it in one venue. Business 2 takes all of business 1's content and sells it in another venue. And people are wondering why business 1 cannot just use business 2's model instead.

I don't believe that people here are really so dense as to not understand the problems with that scenario.
That was in 2010, hadn't heard of them back then. Not sure if they were actually common back then, although I'm sure they're certainly more common now. Yes, careful, careful. :(
Yet again I ask, what is this doing on Hacker News?
A history and future of formats
http://toutday.com - Simpler iPhone mood tracking. My first real iOS app.
Google Images screwed my Analytics report
It's about range anxiety, and then ends with the relief that they didn't really need to worry too much. 5 hours of driving from an electric car getting 100 mpg-e and matching a BMW M5 stat-for-stat. That impressed them, and it impresses me.
>> To get it to process templates, get a Wikipedia dump, extract the templates, and use the mwdumper tool to import them into your local MediaWiki database.

Could you please explain this more? Specifically, what is meant by "extract" the templates? From what I gather from your message, you are proposing using MediaWiki itself to process the templates and output more of a plain text (within the HTML output).
Honestly, partially by chance. During the dot-com bust I called every recruiter I could talk to in order to line up my next gig. He was actually an executive recruiter, but because of the boom in tech, he started taking on tech clients. So my advice is to find an executive search recruiter who is looking for bad-ass tech clients. The second part of this equation, which is not chance, is that I was looking for someone I could trust and build a long term relationship with, not just someone to get me a job. I did not expect to find it, but that's how it went down.
Facebook 'infers', stores inaccurate location data
Facebook: Direct Email to Report Phishing Complains.
That article seemed filled with anxiety to me.

I don't think anything will eliminate range anxiety other than time. As more people get electric cars and start to build their lives around them, their acquaintances will start to see it as more normal.

It's almost like the very early days of the automobile, when each driver had to carry a ton of extra gas, since fill stations were few and far between. Like any bootstrap, it took a long time to create the virtuous cycle that mutually reinforces the value of the customers and the infrastructure. Electric cars will need to go through the same thing.

The other big issue is the time to refill. 30 minute quick charge is incredibly fast for electricity, but still incredibly slow compared to filling a gas car.
>> there are thousands of relevant templates

Is there a documentation of at least the relevant ones somewhere?
It's pretty easy to put together. Just encrypt the password and use noir.validation for the form fields.

For example, heres a Noir app I wrote using bcrypt and Redis to store the data.

User model: https://github.com/dmix/documeds/blob/master/src/documeds/mo... (most of the model code is redis interface code)

Login / Signup views: https://github.com/dmix/documeds/blob/master/src/documeds/vi...
Aka "just fucking do it". The #1 cause of startup failure is making yourself very busy pretending to work
Tuin: gazon inzaaien na je vakantie
> you merely rent

Sadly, that seems to be the actual situation. It is therefore reasonable to demand that the word "buy" not be used to refer to those transactions ...
I'm not saying that biologists should have to think about QM, just than biologists should think about chemistry. Our understanding of gene regulatory networks (which are definitely an emergent phenomenon), for example, has, until relatively recently been very qualitative, but we're now reaching the point where they can be simulated with relative accuracy from chemical principles. This is great, as it allows us to ground our assumptions about gene function and ask "Could this system really work the way we think it does?" Sometimes the answer is no and models have to be revised.
Mobile Marketing
Life's Most Pleasurable Moments
Why was he fired from PayPal? I'm not familiar with the story...
Right, but you still have to keep the CD as proof that you own it.
$100 Invested in a Direct Purchase Plan
One small thing that might help with your problem - if they're anything like most kids, 98% chance your kids won't want your music collection...
> The problem once again is copyright.

I disagree. There is no difference, with respect to copyright, between a vinyl record of the Beatles and the iTunes equivalent. It's not copyright (which is an agreement between you and Apple Records) that is keeping you from bequeathing the iTunes copy to your heirs, it's the licensing terms (which is an agreement between you and Apple Computer).

Don't confuse the two!
Because it's hard to find anything on the moon. Where would you look? Plus photos will be much lighter on the moon so a little solar breeze would probably send the photo flying for weeks.
Make your video longer then 2 min and loose 50% of engagement
Yeah, it is quite concerning. maxko87's submit history is full of extremetech links...
Is this merely a correlation, or are you (or Fine) attempting to posit causation here? That is to say, is this merely pointing out that viewing "life through a clearer lens" is seen in connection with higher frequency of clinical depression, or is the inference here that this clearer lens causes clinical depression?

I find it a hard case to make the latter statement, and the former statement doesn't imply (to me) that one ought to eschew the clearer lens. I wonder if there is some analysis that digs into what mental processes, emotions, thoughts, etc. occur in the wake of viewing the world through the clearer lens that might lead to clinical depression?

I feel like there could be some not-so-weak element of not having as balanced a view/method of how to respond to one's failures that would lead toward depressive thought patterns. I don't think self-esteem issues are caused by viewing oneself more objectively and rationally, but instead by placing unwarranted weight on the (potentially errant) conclusions one draws from a more objective view of oneself. That is, if one has a more balanced and nuanced objective view of the world, but has an equally unbalanced and un-nuanced view of oneself--say, that one's abilities or potential for improvement are strictly circumscribed and not easily changed--I would hedge my bets toward that person having a greater likelihood for depression than someone who does not draw such conclusions.

I think I tend toward viewing myself and others fairly objectively, and actively work to do so. I also compare myself to others I subjectively and objectively find better in some ways. But then I respond by improving the parts of me that I have found to be weaker than those who are a level above my own. I don't experience depressive thoughts (that I am aware of). (shit, that's just anecdotal and can be dismissed. nevermind.)

[edit: typo and calling out my own anecdotal evidence that is unhelpful]
Because they won't do anything that disrupts their own current cash cow models. Even if you explain that this is the future, that it's what their customers want, and that they will make money from it, the argument will fall on deaf ears. Currently entrenched media companies are not playing to win, they are playing to not lose, which means they inevitably will.

The most readily available example to analogize is Blockbuster/Netflix. BB had to declare bankruptcy and completely reorganize their entire company because they stubbornly refused to adapt to a changing market.

Other media companies will follow similar fates. They will have to be dragged kicking and screaming into the future, and many (jobs) will be hurt in the process.
Chauffeur drive
Airport executive transfer provides you chauffer driven cars in London. Leading specialists in executive airport transfers providing chauffeur driven vehicles beyond for over 25 Years.
Great post. Thank you. I think it also speaks to the importance of understanding the market for what you're building before you start. Just because a piece of software solves a problem doesn't mean there is a market for it. Some solutions don't translate into $'s.
Some background: there was a month-long bidding war between answers.com and IAC (ask.com) for about.com[1]. I wonder how things went since IAC's offer[2]. Did Answers upped their offer? Did it went personal and they left the table? One can wonder.

[1] http://money.cnn.com/2012/08/27/technology/times-about/?hpt=...

[2] http://www.reuters.com/article/2012/08/21/us-nyt-about-sale-...
> Or even by delegating to another object:

> viewInstance.onScroll = somethingElse.render;

This one is a bit dangerous, because as you mention the "methods" are just anonymous functions assigned to objects. If `render` is expecting to be called on a `somethingElse`, this might not work right without being bound.
HAML is fantastic overall, but there are two ways in which I don't think it's addressing the same problem as something like this:

* Whitespace-sensitive means I don't want to use it in a text-field in a browser -- in an editor I can have guide lines to show me the indentation levels and what lines up with what, and keyboard shortcuts for indenting/unindenting blocks quickly.

* Nesting and inline stuff just doesn't work well since you'd end up with stuff like a %b on one line and then an %i on the next line unless you just went plain-HTML for the line. HAML is much more suited for page structure, and not so great for inline content.

Something like the following line is really cool with a quasi-TeX feel: "Using multiple tags: {b {i This is italics and bold.}}"
Google is clearly not too happy about Samsung cornering the Android Market. Samsung can wrest the control any time and popularize their version of Android leaving the rest of the android crowd in dust. Samsung makes huge profits on Android while Google does not. And that explains Google's stance.

That said, Android makers already pay substantial amounts to Microsoft as royalties. So Google posturing is just plain farce. Android is not free.
Why would anyone put in years to write a novel if a big printing house could just copy the text and sell it for their own profit, cutting out the author. This would be the world without any copyright at all.

This is clearly a problem that needs to be worked on, and people are working on it. But the answer is not the elimination of copyright.
Don't care still want.
I actually thought the other way around, I figured About.com was worth more than 1/3 of an Instagram.
I disagree. While it was impossible to understand any specifics, that wasn't what they were trying to show. Instead, they were trying to show how Tesla dominates over other EVs (that are all about the same). And it did a great job of showing that, much better than a table would have.
The native widget fonts are still pretty small though right?
Watch out for XML eXternal Entity (XXE) Attacks
Line 1, Line 2, Line 3, Country should cover just about all cases.

Ask yourself if you really need to break out the specific components of the address. In this case you don't. As long as the user knows the correct local format, it's fine.
Yeah, this spoils the analogy somewhat. Human beings are born to run. To get better, all you need to do is run a lot.

Compare this to swimming. There's no guarantee at all that you'll get better just by practicing - gliding through the water is more a matter of technique, and it doesn't come naturally to most people. One usually needs expert coaching.

I think programming is probably more like swimming than running.
> There are ways to offer predefined paths for those people that don't care about choice without taking away choice from everyone. Apple has completely failed at providing this because they're hungry for control and want to impose their will upon their customers. Ideally all people that use computers.

And their customers are thanking them for it. Apple's control is primarily about improving the overall experience of the user, and secondarily about extracting as much revenue as they can from the platform they created. Seems like a good tradeoff to iOS users (for now).

I completely agree there should be competitive alternatives to Apple's approach. My point is that openness is a feature, and the market should decide the level of openness that matters. So far the market seems to support the theory that a general purpose computing model like the PC world does not suit the mobile device world.

> There's a huge difference between not owning software and still controlling it because it's your machine and not owning software and being out of luck because Apple can remote-delete it.

And if they abuse that trust, they'll lose customers.
I'm trying to stop the needless and constant bad advice of "lets churn through every possible feature without understanding the entire business model." Doing so is a crutch. Tell me you understand your entire business model and that you thought through the rest of the canvas. Then start iterating the product.

A startup think through all the business model will run rings around those who simply think it's about features.