skysight-inc/HackerNews huggingface dataset:
Hi fellow HN,
This is another photo tagging script. I'm mainly looking to collect feedback, suggestions, ideas... like what I got right/wrong, better demo, features, pricing.
For the moment, I'm using CodeCanyon until I form my own Company and create a merchant account.
This first thing I tried to do was

[\d]+

But it didn't work. Took me a few tries to get it to work. I'm guessing it simply doesn't work with special regex characters.

You know what would be even more useful for me? I give you a string and highlight the important part I need to match, and you give me a good regex for it.

Example: I need to match the string "View conversation (5)", with the important part being that there is a number near the end of the string. So I type that and highlight the "5". Then you give me something like:

/[^\d]+\d+[^\d]*/

Or whatever. Obviously it won't be full-proof because you don't know all my use cases and edge cases, but it'd give me somewhere to start.
there's a really good followup here:
http://www.npr.org/blogs/money/2010/09/24/130107647/what-doe...
It's stark, and it emphasizes the metadata in comments over the actual content.
My side-project, http://isitnormal.com, was one of the reasons that I got a fantastic job as an early member of the Yahoo! Answers team. Is It Normal certainly passes the "sketchy" test, and it was even much more sketchy back in the day, but it happened to be relevant experience. In fact, at my first interview, my interviewer took one look at my resume and proceeded to cross out my education and previous work history, leaving behind 2 lonely links at the bottom "projects" section. She circled those links, said, "tell me about these."

Any good employer, especially at a startup, will respect the fact that you took initiative and created something out of nothing. They'll value the creativity and cunning that it shows that you have. If you're proud of your work, you shouldn't hide it.
It's very handy to delete comments to unwind flame wars. I've done it with people a bunch of times here. (If you disagree and it's important to you, let's take it to email rather than kick off a digression here).
Another question then, if you don't mind:

I (apparently) have rather large ear canals, and a lot of in-ears don't seal properly. I've had the worst luck with the triple-flange style. As such, I kind of need something with larger sizes than normal, and / or get something custom molded (which I'm seriously considering). Know a good place to look for any of that?
Yes. You can change the default location for the repository.
The biggest mistake in that re-design is assuming Helvetica Nue and Arial are good design choices. They are crunched together. Both are harder to read compared to the current Verdana title and body text.

For a minimalist site like HN, Verdana is the ideal font for readability. I prefer the current style. To be honest, 99% of what makes HN work is the choice of Verdana.
How would you feel when someone said "No" after you asked them to marry you?
The perils of internationalized domain names
It might be better to call it "falling blocks", or another generic name, or else you might get another DMCA request.
You do not need to try it. It will not help your credit to take on more debt. It is a very bad idea to take out a personal loan to pay back a company debt. Why everyone on this thread isn't yelling this at you in all-caps is a mystery to me.
iTunes has a captive audience too.

The main difference is the size of the catalog (netflix wins), and the pricing structure. People seem to like Netflix's all-you-can-eat for a flat fee structure.
and every other social network ever. who cares?
And adds a \0 after the characters copied, which means you have to remember to do the sizeof(dest)-1 thing to avoid an overwrite.

The people who designed the C string functions should have been made to pee in a cup before they were allowed into the building. So much trouble could have been avoided if they had only been consistent about using memory block sizes as parameters rather than "string" (sic) lengths.
Google has AdSense / Doubclick network. This is a huge number of eyeballs with many banner types. And Google knows my basic browsing history via cookies and my entire search history. At least for me, Google knows exactly what I'm interested in, tend to purchase, and tend to click on. Facebook knows my basic demographic profile, which isn't really that valuable. I'd say the value of Google's data is about 50 times Facebooks.
For business and marketing books and other media, David Maister at http://davidmaister.com/

IMHO he's better than Heller, Harvey-Jones, McCormack and even Drucker.
Etymotic has a custom in-ear mold voucher program, which costs $100. You can also look up the Make DIY instructions, which uses a $12 kit.

http://makeprojects.com/Project/Custom-Fit-Earbuds/199/1
I've thought about how to do a kind of regex-induction, where you give it matches and it gives you one or more expressions that will match it. But, after some thinking, even with a reasonable language bias, getting useful expression comes down to getting the user to type in a collection of positive an negative match examples. This kind of tool would be really nice to use, but the interaction has to be more than giving a single positive example.

A an iterative process where you start from a single positive example and then iteratively refine it with clarifying examples would work without being overwhelming. However, I'm really trying to get the user to better understand regexes to the point where they could do that process for themselves, mentally, and not depend on a super intelligent tool to do it for them.
Although I'm a Perl zealot, I must admit that the thought of trying to understand someone ELSE's Perl code is horrifying. This is because although everyone writes beautiful maintainable Perl code, everyone else's Perl code is horrific.

On another note, what are the chances that this thread is going to turn into a PedantoNerd flamewar.
The interesting thing to me about this is that the media companies seem happier to take a flat fee than per-viewing fees for episodes, which seems counter to the general strategy of making people pay every time they watch something. I can think of for this are:

1. Their models show that they get more money from the flat fees via Netflix than from per-rental fees.
2. They prefer the steadier payments that flat-fee library access provides to more
3. They think that $0.99 is a bad price from a customer psychology standpoint.

This is obviously not an exhaustive list, but I think (3) is an interesting point. If $.99 is now the de facto "cheap impulse buy" price point, is it possible that television execs don't want people thinking about TV that way? When watching a TV show can be compared with a fun little iPhone game or a single song, does it stop being a compelling purchase?

I think they'd rather that people feel they need a recurring subscription to television, or pay much more per episode to get a "permanent" archive of it. Both mechanisms encourage people to overindulge in and overvalue television, while individual payments for rented shows do not.
To echo agscala, unfortunately it's completely inaccurate and useless because I use Vim. Maybe when I start writing prose again it will be useful. =P
Only in that we'll be able to look back and, definitively, say that, yes, we have always been as stupid as we are now, with no discernible difference.
Little Boys:
Anything by Sendak, Donald Crews, Byron Barton.
Dorling Kindersly Eyewitness series.

Bigger Boys:
Phantom Tollbooth,Avi,anything with swords

Older:
Jack London,
Shakespere
Still curious how old they are... Have you read George RR Martin?
The term "Third World" was primarily used by the US government during the Cold War to refer to countries which were not aligned with the Soviet Union, nor with the US. It has nothing to do with the state of development a country is in although I am aware of its frequent erroneous use in the sense of "developing country". The "Third World" included countries such as Qatar, which, according to the International Monetary Fund, featured a GDP of $83,841 per capita in 2009 - ranking #1 world wide.
Who really has bragging rights in Silicon Valley?
I'm curious as to why $.99 is 'devaluing' the rental. Renting a DVD is $5 (or $5-15 a month), and usually has 3-5 episodes on it. It's a little cheaper, but not by much at all..
For my own personal servers and workstations, yeah either way works pretty well. But when you have several hundred servers with a variety of different applications, many of which you don't use at all but you still need to keep patched and up to date, having a distribution helps a lot.

I curse the guys at CSW all the time (eg up and changing config directories from /opt/csw/etc to /etc/opt/csw[1]) but they have probably saved me quite a bit of work testing and building packages.

[1]For the record, I think /etc/opt/csw is better, just not better enough to be worth all the hassle of changing.
This is a work of genius. It must be, because I can't understand the first thing about it. Scanning the QR code on my Nexus 1 just results in a failed download, presumably meant as a subtle hint about my inadequacy.

sob
Is there a live demo somewhere
They also have pretty stringent anti-piracy technology through Silverlight. Much harder to grab content compared to Hulu or Youtube.
Which is annoying, yes, but using strndup() negates apenwarr's point.
I purposely punted on inverted character classes because they brought up a major usability issue that I didn't have a quick solution for. The expression /[^abc]/ should match '@', ' ', and 'q', but, by the numbers, the majority of generated matches would look like '{angry unicode that you can't even see}'. This brings up the idea that you don't just want valid matches, but a meaningful set of examples that covers different ways of matching.

Likewise, I imagine it might be useful to specify some background language that matches should be taken from. That is, you might want to tell it to show you example matches made from snippets of valid html, from email-style English text, ascii-only strings, arbitrary unicode, etc. Incorporating this kind requires a lot of original thinking about usability (and some prototyping to figure out what would even make sense).
What's non kid-safe about them, and for kids of what ages?
BWARGH NO PERL IS DEAD

But really, I think you hit it right - because the language displays such a lack of orthogonality, ten perl coders will write the same line of code ten different ways, and everyone will favor his own constructs.
I can't tell if that whole is intentional.
I would say that the tok = calloc(); tok = strtok(something-which-is-not-in-any-way-related-to-tok) is to some extent clear sign of cargo-cult C programming and has nothing to do with good programming practices.
Could be that, too. :)

(This one has Dredd coming back to Earth after spending six months of storylines serving as head judge of a moon colony, and suddenly acting ridiculously laid-back and mellow...and walking right by criminals engaging in crime. This includes an armed gang vacuuming out the contents of a bank vault. The lame gag turns out to be the reveal at the end that for some reason he has to be sworn back in again as a judge on Earth, and vigilantism...is a crime.)
Yes, because the more venues you broadcast your ad, the more chances you have to find a customer.

But not quite, because of one thing: ROI.

On the web, you can easily measure the return of your investment. Match your spent money with the server visitor logs, and you know instantly if your campaign is profitable. With "brand" advertisements, the game is different, you can't see immediately that 1 dollar spent on ad generated 2 in sales. But it's a tried and proven method of advertisement, basically all we had until the internet.

Enter the web, you can reach a precisely targeted audience, and easily measure the return.

If you know Google delivers more ROI than Facebook, you're going to spend your money on AdWords. This is specially true for the long tail of ad money, businesses with smaller budget for ads. Google has this market locked tight, anyone can start an AdWords campaign, and the truth is that everybody does.

Don't get me wrong, Facebook makes money from advertisement, but they will never (in its current incarnation) match Google's offers: AdWords, Analytics, Webmaster Tools, Optimizer, etc.

What Facebook has to do to connect advertisers and consumers is so much more complicated than Google. Build a "social graph", find their preferences, match with their friends, plus putting their users into buying mode. BUT, if delivered, it's way more powerful, because the product has been proven with your circle of friends and with stuff that you have actually said you like (Facebook knows a lot about everyone).
Why does it matter whether it respects the way Unix organizes files? Other than having config files in /etc and having binaries in $PATH, who cares whether libfoo.so is in /usr/lib or in /usr/myawesomeapp.com/vendor/libraries?
Is that Bill Gates staring back at you from Outlook 2010?
I like this. I wonder if there is a way to have a left nav like this and then a right column for comments.
well, yeah - but I thought that the possible backstory due to the timing of the publication was exciting.
In grad school I had a need for a tool that would generate all strings accepted by a regex of a specified size.

I wrote one myself, but was never really satisfied that I did a good job on it. I'd love to see the code of an efficient implementation of such a thing.
You mean you re-implemented String::Random ? http://search.cpan.org/~steve/String-Random-0.22/lib/String/...
Tech giants settle hiring probe; Microsoft says it wasn't targeted
Jason Zaugg's Intro to Scalaz on Vimeo
why can't they buy one in Delhi itself? lots of options are available that aren't that much pricier than the US. The last time I wanted to take a net book to India for a relative, we figured it was cheaper to buy in India directly as the US warranty is hard to apply in India anyways. In our case, it was:

Base Price (US) < Base Price (India)

Base Price+warranty(US) > Base Price (India)

Base Price+warranty(US) < Base Price + warranty (India)

-- i.e. the difference wasn't that large as evidenced by eq. 2
I tend to use and recommend str(c)spn, which althought more low-level are more flexible and often what you want. And also you don't have to modify input if you don't want to.
I always wondered why they were called 'Netflix' when you only got DVDs in the mail.

Actually no, I think it was fairly obvious they were intending to stream stuff online from the start and the mail thing was just the setup.
Thanks for the feedback. I've closed the service
I'm in greater LA and the reason I didn't take a Perl job is that I took the Python job instead. I personally much prefer to program in Python.

As with any situation where people have a choice, they will take the option that is most attractive to them.
http://www.openwebanalytics.com/

http://piwik.org/

You will definitely need to do some customization with these. Also whatever you use, consider that most analytics GUIs are written under the assumption that very few people will have access to them. This will affect both security and performance. Your best bet is using one of the above for the backend and making an optimized stats viewing interface for your users.
Making webdesign with Photoshop is old school, in my opinion.
Modern webdesign is no more a mask to apply to your html, it's the entire front end side: you'll have to deal with markup, CSS and javascript.

Also, the majority of professional webdesigner out there are starting prototype with CSS.
I wouldnt point this out if it wasn't so apropos, but...

This is basically the same story I submitted last night, but posted by a user with higher karma and on the front page.

http://news.ycombinator.com/item?id=1722777

Oh, the irony. =)
Maybe the positions and/or compensation aren't competitive?

Perl doesn't attract brand new programmers very much these days. The result is that the people using Perl now tend to be more experienced and thus in a position to be somewhat picky.
If you put your hand in the Large Hadron Collider...
I would rather raise my (hypothetical) child as someone who is open minded, who can listen to suggestions and choose what they'd like to read themselves. I'm not into the idea of raising a closed-minded elitist who's only allowed to read the books his father loved as a child.

Incidentally, I can say firsthand that the Captain Underpants series is wonderful. If you have a child (or are one), I highly recommend checking it out.
I think we're at cross purposes here.

1. McIlroy does not claim to have an algorithm that generates (ahead of time) arrays that make a randomized quicksort take quadratic time. (Of course not; there's no such thing, and he knows that every bit as well as you or I.)

2. McIlroy does claim to have an algorithm that you can feed into a randomized quicksort with the result that it takes quadratic time -- generating the array as it goes -- provided the quicksort implementation satisfies the conditions he lists.

3. The statement you quoted from McIlroy's paper is not false. It just isn't saying what you think it's saying. When McIlroy says "an adversary" he means something like the comparator function he describes, not something that looks at the quicksort algorithm (minus whatever information is needed to determine the state of any random number generators it uses) and generates difficult data for it to handle. For the latter, the theorem you're talking about applies. For the former, it doesn't. He's not claiming to have a counterexample to the famous theorem, he's claiming to have a way of making almost any quicksort implementation (randomized or not) misbehave if you're allowed a comparison function that makes decisions on the fly. Which, in fact, he does.

The reason I posted the code was simply to demonstrate that when McIlroy says "an adversary can do X", he's telling the truth (with the notion of "adversary" he's using) and has in fact provided an adversary that does do X.
I still think that supporting Unicode in domain names is asking for trouble. Don't believe me? Just wait until a few thousand people get suckered into giving their credit card information to "amazοn.com". That's amazοn with a lower-case omicron, not an O. A workaround for this, used by Safari and probably others, is for the browser to only display the ASCII-encoded versions of the URLs -- in this case, "xn--amazn-uce.com" -- but that defeats the purpose of having Unicode in your DNS in the first place.
It's funny, in my mind I always think Eric Schmidt looks like Egon from the Ghostbusters, and whenever I see his picture I always think to myself, 'Who is this guy?!'
People who are really serious about software
Correct link: http://en.wikipedia.org/wiki/Einstein%27s_Dreams
Given youngsters' propensity for rebellion I wonder if furtive nighttime reading by flashlight actually encourages the behavior.
And is xss-able
<script>alert("Pwnd");</script>
You wanna know the exact reason that Perl is dead? It all boils down to PHP had informative and pretty inline debug statements when doing web programming, and Perl did not. So Perl lost, and now everyone codes in PHP.
Technically it's quite similar to Unladen Swallow (in the JIT at least) except for the rewrite from scratch bit.

If you're interested in performance in Python the place to look is PyPy though: http://pypy.org/

Disclaimer: I contribute to both PyPy and Unladen Swallow.
Hate the zebra stripes. The yellow bg-color on the even-numbered rows leads me to believe that those stories are more important than the ones in odd-numbered rows. Like everyone else said, in threads, the metadata is over-emphasized.
Have you found it to be well funded? I loved my college OR classes, but when I recruited for jobs I found that mathematical finance and mathematical CS were significantly more marketable (they have overlaps with OR but are not the same).

http://www.bls.gov/oco/ocos044.htm
In Science We Trust: Poll Results on How You Feel about Science
Precisely. Even more precisely, births and deaths are random / chaotic, not a steady state. There are moments without a death and moments without a birth, and there are moments with many deaths or births. So even Babbage is not 100% technically correct.
I agree with removing the ability to delete. Perhaps a "Redacted" button where the poster "taps out," karma hits are stopped, but the thread remains for those following the discussion. Maybe even having the thread optionally showing, like "dead" comments, would be ok. But I'm coming late to this conversation (late measured in minutes, not days), and there's no following it.
This won't be the last deal you ever get offered.

There is nothing to suggest that the same opportunity won't be here in a year...particularly with a developer at risk approach. And the fact that they're not throwing a little cash at it upfront means maybe it's not a critical issue (or they don't have the cash).

Based on the idea that you don't have cash in hand, it's hard to see how it meets your immediate needs or allows you to develop your current enterprise.

Just structuring and enforcing a no money down deal itself is going to take time, energy and lawyers. Could those resources be better invested in your startup?

There's nothing wrong with passing on a deal due to timing.
Stephen Wolfram is a clever chap.

But it's very annoying the way he puts every sentence into its own paragraph.

As if he thinks his audience is too stupid to understand any train of thought longer than a single sentence.

Perhaps he just does it that way to remind him to pause enough while speaking.

But I don't think so -- I'm fairly sure I've seen material of his written that way that was never the content of a lecture or address.

Whatever the reason, it makes his stuff unnecessarily hard to read.
I think (2) is dominant. Netflix has outstanding customer service, which made my wife and me incredibly loyal and happy customers. DVD scratched? They'll generally instantly mail you a replacement and tell you to just mail the scratched one back when you get a chance. Something got lost in the mail? No problem, they bite the cost, not you.

We use their streaming service more than physical DVDs these days, but we definitely remember how we were treated as early customers.
What error checking are you referring to? If it's the alloc, I think the explicit error check on it is usually an antipattern and should be avoided.
Interesting module, but different target application. Part of the core of my generation process is remembering which parts of the example match came from which piece of your original expression so that (someday) there could be some nice mouseover effects that help you understand HOW some example match works (as there are sometimes expressions that match a given string in multiple ways).
They place limits on how much they list for, most likely, technical difficulties with guaranteeing full history access.

This means that if you want a full history of your tweets, then it's your responsibility to maintain it. Would it be a good service to its users if Twitter maintained full history? Yes, but that's not your argument. Your argument is that it's a user's right.
Interesting, what kind of projects have you written in L so far in your company?

I actually started implementing a DSL in TCL a while ago, it was meant for a YubNub replacement but the project was scrapped and I never finished it.
Agree completely, in fact I sort said some of these things at another message on this thread. An like I said in the parent, Google vs. FB is not a fight that I particular believe, but I was hoping to shed some light on why people make this connection.

Google has money in abundance, they're putting millions on social projects, hoping to have some of FB's thunder (and data). While I don't know if Google will ever succeed, every social feature added by Google is a point of conflict with FB, thus feeding the "there's a war going on" opinion of some people.