skysight-inc/HackerNews huggingface dataset:
But the coffee is coffee. You know what you're getting.

That $3 iOS app or $6 web service may or may not be entirely useless to you; it's quite difficult to know.

I mean, it's easy to make sarcastic quips about the mentality. But there are good, clear reasons why it exists. And if you understand them, maybe you can do something about it - make it very clear exactly what your app does, include informative screenshots, offer a demo version, make payment easy, etc.
Lead gen is one of the biggest challenges for B2B marketers. Salesforce + Google are trying to rally more of small-mid sized B2B organizations to their platforms. I think that the greatest upside will go to the partner that makes the most effort to integrate Hubspot with the other apps on their platform.

Don’t just let it float around like another app in your marketplace, guys. Help Hubspot customers connect the dots between inbound leads and the other pieces of customer / market intelligence that are lying around on their accounts... on your platforms.
I, for one, prefer fors and ifs to high order functions when reading and writing Python code. I use the latter very sparingly and only when it does not violate the overall "pseudocode" feel of the code. For that, generator expressions and functions like `any`, `all`, `sum` are of great help.

For example, I have nothing against the code like this:

if any(foo.is_cond for foo in foos):
do(bar)

but I cringe when I see `import functools, operator`, `reduce` or complex nested list comprehensions.

It may work better in ML-derived functional languages because function definitions there, both anonymous and named, are extremely lightweight. This part of the language is highly optimized by necessity as high order functions is the only way to express iteration and other control flow constructs. But in Python, though not particularly heavyweight, function definitions don't mix well with regular code.

Also I'm not sure if the author is completely fair with his loop example. Add a few local variables, `break` or `continue`, and the high order form may actually become less intuitive.
From what I've seen, most of the below average apps on the iOS app store deserve to be in the below average earnings set.
To give a bit of historical context, this is the very same company that put out such classic shareware hits as Jill of the Jungle, Jazz Jackrabbit, and my personal favorite One Must Fall: 2097.
Our influencers choose from a huge variety of ads that they are interested in. They also write the message that they want to send out. Since we payout based on relevant clicks (and rank influencers based on their click through rate), we incent influencers to make sure that they post things that their audience is interested in.
Colour me stupid, but in the article it gives this code as having some horrible hard to find bug:

String s = "";
for (int i = 0; i < args.length; i++) {
s += array[i];
}

Now, as soon as I looked at that I immediately thought "well, they're not putting anything in between the params when they concatenate them", e.g. I would expect to see:

s += array[i] + "\t";

(or a comma or newline instead of a tab)

My next thought was "what happens if there are no args?" E.g. args.length returns 0, and they try to access the first element in the list (due to heritage from c pointers we start counting at 0) which is the 'zeroth' one, which doesn't exist... it should throw an array out of bounds exception.

-----

The reason I ask, is that based on the comments, the people reading the blog think the problem is in the operator overloading. Are they expecting this iteration through the args list to sum the args, and then assign the sum to the string?

If so, then I don't see how the bug could remain undetected:

"it could take weeks to get a bug report, and weeks more to get a fix ready"

Whereas in the unlikey event that I'm right, I still don't see how it would be hard to fix?

What am I missing?
I agree, and CM's modifications allow for single notification dismissal with a swipe gesture. I have no idea at all how I would improve Android notifications, certainly not after seeing the more interactive Honeycomb variety.
مشاهدة مباراة فالنسيا وشالكة بث مباشر 9/3/2011 - عرباوى توب اون لاين
The key is not about CPU/RAM/IO efficiency, it's administrator time efficiency.
Origami software: 3d model to paper
Yeah I understand. It's probably better that you aren't tied to the content. I'll be curious to see how you innovate with this idea and to see how users react to a site that isn't part of their core music destination.

Good luck! Btw, if you need any help getting through to anyone at GS or help with our API, feel free to message me.
The key is not about CPU/RAM/IO efficiency, it's administrator time efficiency.

I mean, you're absolutely right; but at a certain level it's irrelevant.
" it may complicate existing and future legal matters"

Hope that's not going to be one of those "I invented the CD" type legal cases...
Show HN: Home automation and lighting control with Kinect
My parents (the only, well, “casual” users I know really well) have all their documents in one folder with no hierarchy whatsoever, any sort of library would improve their experience. There is enough metadata to make it useful, I think. There is the time of creation, the time a document was last edited, its name – that’s more or less just as much metadata as I use for browsing my photos. (I don’t spend much time organizing my photos and my photo library is not very powerful – I cannot, for example, only display all photos taken with a certain shutter speed. Despite that I would really never want to go back to organizing my photos in the filesystem.)

A sort of document library could be just as good or better than the filesystem for managing documents, I don’t think that you have to end up with a leaky abstraction. (Browsing documents on Google Docs, for example, doesn’t feel wrong but you are not using a filesystem to access your documents, you are using a sort of library view.)

I think it’s kind of astonishing that no one has really tried to do just that. There are half-hearted attempts but one of the things about abstractions is that they have to be good to be successful. It’s certainly not easy but I think it’s possible.
That word, closure. You keep using it, but I do not think it means what you think it means.

A closure is an runtime structure used to implement static scope of locally-defined first-class functions. Closures allow locally-defined functions to "remember" variable bindings in their enclosing scope.

Beside that you can implement this feature WITHOUT closures (e.g. source rewriting), none of the examples presented actually require static scope!!

It boggles my mind that programmers can have such strong opinions on language features without actually knowing what they're called.
I'm eager for myBalsamiq too. At least, I was in 2009. And in 2010. Now I've kind of given up on it.
Long Prom Dresses, Cheap Long Prom Dresses, Evening Dresses On Sale
Some ISPs owe Peter for distributing full copies without paying him, some do not because they paid at the time.

Those who owe money would not donate because of legal considerations (might look like an admission). Those who paid might be annoyed at being hit up for more money.

My fault entirely, Peter had nothing to do with it.
Even on my 8GB original iPhone, space for games wasn't an issue. Space for music and photos was, but not games or other apps.
It's tough earning contract programming dollars in Hobart so be generous :).
Final Fantasy 13's failings were mostly due to a horribly dysfunctional studio environment and a broken development process. They released a surprisingly honest postmortem of the project in a recent issue of Game Developer (you can find a summary of it at http://www.gamasutra.com/view/news/30640/Exclusive_Behind_Th... ), and 'overambitious with the graphics' pales in comparison to the other things that went wrong. My favorite tidbit: They went through a large portion of the project with the game not in a playable state until they realized they needed to build a demo, and only then did they finally get the game playable and start testing it.

Perhaps one might say that developers are aiming too high in every respect (including graphics), and that's leading to flawed projects. But in this specific case, I doubt the game would have turned out good even if the graphics weren't given the effort they got. In many cases it's possible for a studio to easily scale up development when it comes to graphics, because with strong enough art direction, you can have 50 or 100 artists working on assets for different parts of a game and have a reasonable chance of tying all that art together at the end. Unfortunately, engineering teams don't scale nearly that well...
This law has been enacted in exactly the sort of scenario that was imagined in its passing. There's no unintended consequence here, this is the exact consequence that it's supposed to protect against.

There's something inherently evil in invading someone's life like this, an orwellian scenario that only a fool can think benefits us precisely because of the human behaviour described in the article, the eavesdropper just picks and chooses the most damaging conversations completely out of context to disclose.

This was a gross invasion of privacy and a despicable act on the behalf of the mother. It's good to see law ruling on the correct side of the debate.
Yes, the skin rendering was very nice, and the lighting was great. Which brought into sharp relief how little progress has been made on procedural character animation. When the welder-guy walked across the roof and stopped on the edge, you could see a painfully clear walking loop and outro animation back to the standing position -- very familiar from the earlier Unreal engines (except for the residual swinging of the arms). It is jarring to see such mechanical movements in a demo where the quality of the graphics is so realistic. Epic should use Euphoria or some other engine for procedural body movements. The act of walking to the ledge of a roof to inspect a fight below shouldn't look like any other kind of walk.
I tell Time Machine to back up. It will do just that for me, I don’t need to know where the actual music files are for that. This is really no problem. (This is from the perspective of a casual users.)
How he says he did it:

* "Get your shit together"
* Work hard
* Keep moving forward
What I think is sort of interesting is the difference in what makes a small company happy and what can satisfy a behemoth like Yahoo.

This was an epic day in the life of Pinboard, and possibly took them from making ramen money into maybe pizza and beer money. For Yahoo, signing up a few thousand users at 6 bucks a pop is possibly not worth speaking of, much less devoting a team of developers, designers, marketers, system administrators, etc., to.

I'm not saying Yahoo hasn't been making mistakes left and right for the past...I dunno, decade or so. Nor am I suggesting that delicious had to come to this ignominious end; had it been kept on target throughout the years since acquisition, this story probably wouldn't have happened this way.

I'm just saying that this might not be an agonizing defeat for Yahoo. That's the cool thing about being a tiny company. You can do things that just aren't sensible from a business perspective when doing it on a larger scale (right now). A small company can completely ignore huge swaths of the market, for instance, and make one niche really happy and do nothing for the average user. Or, a small company can come in with a just the basics product that's simply easier to use than the big, complicated, product that's been in development for a decade or two. These are freedoms big companies simply don't have (as is the freedom to make thousands rather than millions on your primary product).
I've deferred worrying about it until it happens
I see this and I think, "notifications aren't a Very Difficult Problem; DNA sequencing is a Very Difficult Problem." Living in the echo chamber can be fun, but the way we can lose perspective is incredible.
maybe this can be of some help one day:

http://talkingpengwin.com/re-design-of-the-ios-notification-...
How to Stop Failing at Business
>	I wouldn’t surf the web. I already know way too much about Kim Kardashian.

I wouldn't surf shitty websites. FTFY.
As noted in the post, I don't put much stock in luck at all. It's great to have some, but it's too elusive to bank on.

As for the lack of women in start-ups, I don't really know what the answer is. There are people like Cher Wang at HTC, but they certainly are the exception more than the rule.

I have some hunches as to why this happens, but no definitive answer. It is, however, a problem that needs to be addressed--and at very least discussed.
Nike air max 2011 men white/black
Nike air max 2011 men white/black cushioning in specifically engineered to handle impacts and provide protection.They are amazing shoes for sports,or just casual wear and look great with shorts or jeans and are extremly comfortable.
Encrypted hard drive can make it hard to crack, even with physical posession. The advantage here was, you get to run code while they are logged in and the hard drive is happily unencrypting whatever you wish to see.

The govt desire was apparently to non-destructively crack a machine with only brief physical posession, without leaving much trace. The method in the article satisfies that.
On Safari, Cmd-click the title bar to get a hierarchal listing of the URL structure.
Poll: would you pay for a virtual filesystem to your social data?
A service that allowed you, in a perfect world, to, for example:

- ("local" filesystem) copy your Instagram pictures and paste them on a Facebook album or on a local folder

- copying your twitpic pictures into your Dropbox

- and so on (interoperable across web applications)
There is one built into EventMachine. (https://github.com/eventmachine/eventmachine/blob/master/lib...). Never used it, so I can't say if it's good or not.
There is no check that array[i] actually exists. If array[] has 2 items but args[] has 5, you will overflow the array.
I amend my statement to, "almost all"
What’s your evidence that Windows/Mac or Android are doing better than that?
That's a nice comment! Wish I could frame it and put it on my wall... Thanks, Itay! :)
You're right about the OP, however I was referring to the Nebraska example.
That's a really good point, thanks! It may be easier to get funding for the R&D portion as a POC for the overall endeavor. Well worth asking at this point.
Very impressive setup he's got. Might have to get him to setup my house.
It's bad because it criminalizes catching this sort of abuse:

http://abcnews.go.com/GMA/video/nanny-cam-captures-abuse-on-...
It is a pretty convincing argument for adding transformation (do this thing to every item in the list), and filtering (give me a sub list of everything that meets this condition)

It is a much weaker argument for adding summation, since you'd have to get into the down and dirty details of whatever operation your summation represents, e.g. is it associative? You can see how it get ugly fast in the discussion about the differences between foldl and foldr (presumably fold-left and fold-right respectively)

----

Now, Java had filtering in one of the libraries, I remember using filtering with folder operations many moons ago, so it's not like you can't roll your own. Likewise with a "do this thing to everything in the list" operation.

For loops have a use, specifically when you want to do things in a particular order. Reading lines from a file for instance you might want the lines you're putting into your data structure to be in the same order as they are in the file (as a specific counter-example, I once wrote a 'unique line' app where it didn't care about the ordering, of course if I'd been on unix there would have been some command line tool to do it for me, but it was fun and fast to write and hand tuning the grep would have been a PITA)

BUT, there are a lot of tiems I've used for loops where the sequential nature of the loop is irrelevant, and here I could see someone making an argument that the for loop is clumsy and random (from the article they object because it uses too many tokens! The horror! :D )

I could also see someone making the counter-argument that what that actually means is that the for loop is powerful (never mind that we have no objective standard for what that means. Perhaps 'powerful' in the sense of 'easy to blow your own foot off with' would fit here :D )
A Checklist for Content Work
You have not provided us with enough data to formulate an answer.
But your exception-safe C++ code soon becomes bloated with shared_ptr and unique_ptr templates and copy ctors. Almost any C++ function, overloaded operator, or some implicit temporary object's ctor can throw an exception without warning. You must use RAII everywhere for every "resource".

Exception-safe RAII is pretty much an all-or-nothing affair.
D'oh!!! You're right!

I was mentally substituting args[i] for array[i]

Talk about code blindness. What a colossal blunder.
I've been trying to figure out what he was getting at, as well.
The original article, by Elliotte, seems to have updated the code snippet to:

'
String s = "";
for (int i = 0; i < args.length; i++) {
s += args[i];
}
'

I deduce from this that the error was in the copy/paste. The line that was supposed to be changed to 's+= args[i]' was accidentally left as 's+= array[i]'

As such, its a simple failure to replace all instances of 'array' in the pasted code, rather than anything to do with 'operator overloading', or even to do with checking if 'array[i]' was out of bounds - there is simply no variable 'array' supposed to be in that context.

I wish Turoff had been less obtuse about it, especially as the original Elliotte post seems to have been silently updated.
Symbian LEAVEs and TRAPs predate C++ exceptions. Symbian/EPOC is old! :)
"Willard said that one of the effects is called bouquet depth of field"

Yeesh. It's "bokeh".

http://en.wikipedia.org/wiki/Bokeh
Thanks for the advice. My plan is to stay with my current position at the moment and try to open up avenues on the side. Like you said, the economy isn't the greatest right now.
Sorry, you're right that it does refuse to merge with the working copy if the changeset you're updating to is not a direct descendent of the changeset you're currently at (this is what the error about "crosses branches" refers to).

However, if it is a direct descendent, it will try to merge for you:

$ echo b >> a
$ hg status
M a
$ hg pull ../a
pulling from ../a
searching for changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 1 files
(run 'hg update' to get a working copy)
$ hg update
merging a
warning: conflicts during merge.
merging a failed!
0 files updated, 0 files merged, 0 files removed, 1 files unresolved
use 'hg resolve' to retry unresolved file merges
$ hg resolve -l
U a

In this example, the upstream repository made a change to "a" that conflicts with my local, uncommitted change to the same file. It uses its normal merge machinery to try to resolve the conflict.

As far as I know, Git doesn't allow merges in this situation.
Facebook to offer movie rentals (through a Warner Bros app)
Yes if I had read/write access.
I wonder if it's feasible to hack the javascript engines (v8, spidermonkey, ...) to support languages CoffeeScript? In case the answer is positive how come nobody's doing that?
من هو عصام شرف ؟
Ask HN: launching a startup but still having a life?
I’m a young, 20-something guy who’s been working on a startup project for about 5 months now. It’s going well. Fortunately, my project is technically very simple – most of the work is non-technical (writing, design, etc.) which I am better at. There will also be no need for a huge staff to maintain the site, once it's live.

Here’s the thing: sitting in front of a computer for 15 hours a day isn’t exactly how I want to spend the next 2-5 years. These are arguably the best years of my life (age 18-26) and I’d like to spend them traveling, volunteering, and doing other crazy stuff.

At the same time, I’m passionate about the product and entrepreneurship in general. It’s not that I’m lazy or unwilling to put in the work (far from it), it just doesn’t seem like the right phase in my life to sacrifice all of my time.

Any advice on running a startup “part-time”? Is it doable, or am I just deluding myself? Would going all-out for a couple years then selling the business be a better plan? Putting the idea on the backburner isn’t an option, so please don’t suggest it. I currently don’t have the money to travel. Even if I did, there’s a time limit to my startup – I need to launch soon, before someone else solves this problem. The question is “How will I execute?” not “Will or Should I execute?”

(Yes, I know you aren’t supposed to keep your idea under wraps. I have talked to numerous business professionals offline, but I’m not ready to broadcast it on a tech savvy site like HN.)
Good point. I have a meeting with my manager this week to talk about various things, and I hope to bring up the subject.

As for the people - we spend a considerable amount of time in the workplace, and for me, respecting my coworkers is important to me. So I'm not sure I can totally focus on the tech side of things. On the other hand, if the people were great, but I was stuck doing vb6 development, I'd also be looking to leave. Then again, maybe it is me and not my coworkers. I don't know.

Hopefully I will be posting some links on HN in the future to some apps I built!
As mentioned, C++ exception specifications are checked at run-time, not compile-time. And if your function's exception specification declares `throws(FooException)` and you call some third-party library function (which may or may not have its own exception specification!) that throws a `BarException`, C++'s runtime checks will `terminate()` your program!

C++ exceptions and exception specifications are pretty much all the worst possible design decisions. :(
Agreed. There's a distinct lack of R&D in what is IMHO more important than graphical fidelity - conveying emotion and motion in games. Valve made waves with its (honestly somewhat primitive) facial animation system, and not much has been done with it until now (LA Noire has done something really cool with it and is coming out soonish). It's amazing how much effort we'd spend crafting the perfect artillery shell explosion but your CO yelling orders at you moves like a mannequin.

We've made a lot of gameplay progress into action-RPGs (Mass Effect and the like), and I for one would like to play a game where facial expressions and body language actually mean something (e.g., the character is lying, but instead of smacking you over the head with it, the game can be subtle about it).
of course not! There is nothing pending or even on the boil. Copyright law is just very tricky to manage. If you don't explicitly state which rights you wish to relinquish you can end up losing rights by default. The complication I was referring to was that I have very few (if any) records of organizations and distributors who correctly licensed the product. Peter T
They do suggest opportunities for low-cost CGI film-making.
Lots of variables being guessed at there. But for the sake of argument, say you're receiving equity valued by the market at $4500 for 3 months work. That makes you fairly desperate. If they were really the "hottest startup" in town a month ago, why are they skimping on talent?

Equity makes sense as a form of compensation for someone who believes in the company more than the market, or to tie someone's interests to those of the company. But this position is explicitly being sold as a potential stepping stone to something else. That incentive structure is all wrong. You pay cash for stepping stone jobs.