skysight-inc/HackerNews huggingface dataset:
I agree with the potential in those 3 things, but consider...

Saving even an hour writing something as a few terse lines means nothing if in 6 months you need days to decipher and debug it. The code has to remain clear somehow. About the only acceptable use of a clever one-liner is when it provably reduces the runtime of the generated machine code by a significant amount...and even then, the hour you saved not writing code had better be spent writing a block of comments to explain your one-liner.

Yes, Objective-C is weird. But put yourself in the seat of a language parser; it's already a very difficult problem to ensure that some languages parse correctly and unambiguously. If you introduce new syntax that is "weird", it's actually safer than doing something that may cause subtle incompatibilities with all the code that's been compiled a certain way for decades. And that code has proven the "weird" language is practical, whereas a brand new language (no matter how perfectly designed it seems to be) may actually have parser corner cases that have not been ironed out yet.

Garbage collection is a benefit in many situations, but Apple has managed to create a very responsive phone where mere milliseconds are just perceptible enough to make a user think "my iPhone feels fast, and this other phone feels slow". Right now, performance matters most, and manual memory management is an edge for Apple. It's important to make programmers happy, but not as important as it is to sell things to users.
Not everyone shows up at once. But people also break into groups keeping it small. We try to be pretty selective with who we bring in to keep it productive to everyone.
Viagra Sildenafil Pill - Buy Viagra sildenafil pill for impotence treatment
Hmmm...there is no "action" that a visitor can take on your website. At least I can see none...

And 2ndly (and I am speaking from my own perspective as a coffee lover), the landing page, and the whole site for that matter, will do better if I see more pictures of coffee... At least that's what I think your site focus is on...good coffee right?
It depends on your merchant account. I recently opened an Authorize.net account, and they gave me a couple different options, though it was suggested to me to collect the full name, address, zip and CVV, it's a matter of balancing risk on your end as well. With my Authorize.net account, the fees remain the same regardless of which pieces of information I collect, but if there begins to be a bunch of fraudulent transactions, my processing account will come under question, and it's possible I won't be able to continue processing until it's cleared up.

I ended up deciding to collect full name, zip and CVV, but not address. It's a matter of balancing UX and fraud. Recurly does a pretty good job explaining Address Verification and Credit Card Verification in their documentation: http://docs.recurly.com/payment-gateways/authorize-net#avs
"A pseudo-stack machine JIT runtime thingamajobber."

Ugh, really? I feel like 90% of the time if you find yourself writing a JIT compiler, you're probably doing it wrong.

And "quirky" is not something I want to hear ascribed to a codebase.
I do not expect it is possible to fix the law in the USA under its current political system.
Here's a direct link to the audit committee report: http://www.berkshirehathaway.com/news/APR2711.pdf

The NYT article is inflammatory, makes factual errors, and is even a bit trollish at times. A simple analysis or opinion piece would have been fine.

"Since then, Buffett has been subject to criticism of a kind he has never before faced."

“'It makes you question Warren’s judgment,'” - author who happens to have a new Warren Buffet book out.

"What moved him to pre-emptively clear Sokol, who had so clearly violated Berkshire’s code of conduct, of wrongdoing? What does that tell us of possible flaws in Buffett’s character?"

"He often buys companies with very little due diligence;"

"His board is made up primarily of cronies"

Yeesh
Credit card companies don't require CVV checks, although your gateway might (or may only require it for transactions above a certain amount).

Credit card companies do prohibit storing CVV numbers, however. This means that charges without CVV are actually quite common (ie all recurring/subscription charges, even if they require it on initial payment).

http://en.wikipedia.org/wiki/Card_security_code
I expected this to be pithy and shallow, but there are some good nuggets in here. I'd couch them more as important reminders than life changing advice, but I'm still glad I read this.

One thing I'll add, which is mentioned but not explicitly, is that to perform well in StarCraft II, some players look straight to the pros and try to emulate their strategies without ever perfecting their timings or build orders, which puts them at a huge disadvantage over someone who learns and executes the fundamentals but doesn't have a good understanding of play at the Master League level.

Another thing: cheap tactics and all-in rush strategies have their place and it's possible to win a match with a Zerg Rush, but to place in a competition you really need to have a deeper game plan in place. So while companies like Right Haven might have found some ways to make a quick buck without doing any actual work, they'll get buried in the long run.
Has anyone used pyobjc or some other interface between objective-C and another language? Thoughts?
Obtaining GPS data and filtering it for improvements.
I was at the shareholder's meeting. Several of the initial questions were about the Sokol incident, and many were hostile toward's Buffet's response (especially his initial press release). Buffet answered every question clearly and confidently, tracing his line of reasoning in terms of the information he knew at the time. I don't think the image presented today by Buffet and Munger is consistent with the conclusion that Buffet is reeling from a "serious dent in his pristine image."
Well behaving proxy servers will send X-Forwarded-For and other extra headers along with the request. Maybe the spammers actually use zombie machines (that don't send this), but worth checking at least.

Most individual spammers do at least one thing that makes it easy to identify them. Maybe they submit forms 10x faster than any human? Maybe no referer? A unique user agent?
> Not really sure it is a good idea to put a spec on CPAN

They are also available on github with POD markup, with the full version controlled history: https://github.com/miyagawa/psgi-specs

> CGI.pm handles quite well many of the environment you list. It has been in development for more than 10years, updated very regularly to fix bugs, even browser based one, the doc is easy to read.

Yes, that's why I collaborated with CGI.pm authors and maintainers (Lincoln Stein and Mark Stosberg) from day 1 - like the possibility to include PSGI support directly into CGI.pm, which ended up in an extension module i co-authored with CGI.pm maintainers and put up on CPAN as CGI::PSGI, the CGI.pm compatible interface. T

There's also CGI::Emulate::PSGI which allows to write any CGI scripts unmodified under the PSGI environment.

> session, caching,etc. All of these "middleware" already exists since a very long time. so it is just yet an other addition,an other way of doing it.

It's not just an "addition" - if there are N frameworks, the caching modules need to be written and maintained for N frameworks - with PSGI unification, it should be written once and tested and maintained once - that way we can avoid duplicate efforts to fix bugs and make improvements, etc.

> Catalyst authors decided to create their own set of engine instead of choosing to use CGI.pm (unlike CGI::Application/Jifty building upon it)

and the upcoming Catalyst 5.9 removes all engines in favor of PSGI/Plack interface, like Jifty did a while ago.

> WWW::Mechanize works like a charm for such matters. (perhaps your Plack::Test differs though, did not look into it so this might be a valid point)

That's why there's Test::WWW::Mechanize::PSGI exists - you can run the exactly same test against a live server as well as in-process testing through the PSGI interface.
i would like to talk to you more about freelancing, as you have experience doing such.

i have the grand college experience sitting behind a desk taking notes, nodding my head, and cramming for exams. Which in turn stopped me from building more projects.

will PM you my email.
Source? I can't find it on Google.
Thanks for the TL;DR. Interesting concept, I suppose I'll have to read someday
Here's an interesting question prompted by a thread on the Bitcoin forums:

What happens if someone has a huge amount of Bitcoin (in this case, 370,000 BTC) and they die or their hard drive crashes (with no backup)?
I like what Calacanis did during one of his fits, which was to require that the conversation be recorded and him allowed to publish the whole thing on his blog. It added a nice level of accountability for the reporter, and also led to an entertaining On The Media interview where we got to hear the sausage being made (so to speak). http://www.onthemedia.org/transcripts/2007/05/25/05 (Wow, that was nearly four years ago already).
Imperial Death March - Played by a Laser Cutter
While this is helpful to a degree, visiting your profile shows no contact info, email, not even a site to visit. It'd be much more helpful to nicetryguy (and others) if you had some basic contact info like an email and/or a descrip of what you all do.
why is this news?
He probably built it not because he needed it for something, but because he wanted to see how they worked. That's precisely the kind of person I'd want to hire. Someone so interested in this stuff that they build things to see how they work, not just because they're paid to do it.
I actually found some of that quite annoying. It described the behaviour of many intellectuals, and kind of inherently made it all out to be mistakes, like this: "They may have a mentality where it just feels 'wrong' to let a mistake slide. They may feel they just have to say something, and get a sense that they're restoring balance to the universe by sharing the Truth with others."

But who's to say it's not wrong to let a mistake slide? If everybody acted exactly as the author recommended nothing would ever get done...
Assistly is the most impressive business app since Gmail
I felt like calling them out on their scare mongering and baseless attack.
So you are donating to the artists? Why do I need an intermediary for that?

Maybe an 'art' tax which gets distributed amongst artists proportional to how popular (number of people downloading/listening) they are on the net? Kinda like doctors the Canadian health system.

Or that artists just need to load their songs on an mp3...so I will own every song by Blink 182 if I go buy the notPod

Or they distribute their music free with their branded souvenirs

Or they collaborate with other artists and start selling mixed tapes (playlists)...so 10 bucks for 11 songs by 4 artists. Of course the 11 songs are similar in taste and of genre/appeal that a single person is likely to want
That strikes me as a pretty indefensible statement. Objective-C has an incredibly powerful runtime, which is nearly as flexible as the ruby runtime. It's also much much faster than ruby, and probably every other popular dynamic language.
When saying those things in-person it matters how you say it just as much as what you say.

Sometimes, if it is a co-worker that you don't talk much with, and it feels a little too awkward to say "sorry for you loss", it might be easier to offer to take some work off of them or help them with something else. Stuff like "I noticed you have this bug in your queue, assign it me if you like".
Those bitcoins would be lost forever.
It's covered in the FAQ.
Eventually, the market would correct to account for these bitcoins no longer being available. You can think of it as a donation to all other holders of bitcoins.
Why bother DDOSing the exchange when you could instead use the same botnet to perform all of the bitcoin computations legitimately at a massive scale? Am I missing something here?
Essentially, Bitcoin generation is tied to energy usage, which means not only do the power companies profit from Bitcoin generation, they can essentially regulate the price of it (until BTC is mined out, anyway).
Not really, numpy depends too much on cpython internals. There is an interest in rewriting numpy for pypy, but I am not sure whether this is the best way of doing it. From what I understand, the choice is between better pypy's compatibility with C extensions (easier, but slower because of cpython emulation in pypy) vs rewriting it for pypy (harder, but would benefit more from pypy).
> Is there a method/statement for suggesting an attempt at becoming friends with some one?

Pick up a hobby that you can do with other people: sports, martial arts, improv comedy, dancing, etc.

> "Hey, want to be friends" is unutterable for me.

Well, that's not a problem with you, that approach is really weird.
What Startups Can Teach Big Companies About Hiring
I am modest and easy going in a jocular manner: i am smart and willing to work. Relocation is an option, i am young and the world is anew. Will send personal info if you give me an email.

What do you do? What are you looking for? Hows your Joel test?
I should do that. I assume there are no issues uninstalling nginx and installing the PPA and then nginx right?
As others have noted, the CVV is generally optional. The only major exception I'm aware of is that Visa requires it in Europe for the initial charge on the card. For subsequent charges, you then use your gateway provider's "reference transaction" option, which lets you submit additional charges against a prior charged card.

If the merchant does collect and submit CVV it doesn't necessarily have to be the right CVV. It is up to the bank that issued the card what happens with the wrong CVV. The bank can decline the transaction, but many do not. They just inform the merchant that the CVV did not match, and leave it up to the merchant to decide if they want to treat that as a fatal error or not.
I'm sure the runtime is great, unfortunately the syntax sucks, there is no GC (on iOS) and it can't curry functions, and you can't put an NSInteger into an NSDictionary with out line noise that would do java proud, it doesn't support passing or currying functions.

Sorry, but passing a selector and an object is atrocious, even MS can figure out how to pass a delegate that can figure out whether it needs to pass a this pointer before passing the rest of the arguments.

It's lambda syntax is also attrocious [[ ^ (int x, int x) { return x+y; } copy] autorelease] , wtf is that garbage?

In ruby I don't need to touch 2 different files and put code in 3 places just to define a property, nor do I have to do this in C# or F#.

I doubt it's much faster than C# or F#, especially if it ever involves something simple like putting an integer in a hashtable.

I'd hardly call a language dynamically typed when it will fuck up adding a long and an int. Seriously, define a type that takes an int, pass it a long and see what happens. This is exactly what I mean by the flexibility of C (attrocious type system) and the speed of small talk (incurring a call to objc_msg_send anytime you do anything)
At least there seem to be some good alternatives coming out (like Dwolla).
If caffeine were geek oxygen, I would be dead.
AFAIK MacRuby already works in this way, using the existing (Obj-C) Cocoa frameworks in conjunction with the MacRuby runtime.
I spend my days writing an iOS front end and its Ruby backend, and could not agree with you more.
The machines currently mining for bitcoins have powerful cpus and gpus. My guess is that a botnet consists mainly of lower-end desktop computers.
Difference between CUDA and OpenCL 2010
Oh, you mean - the Absolute Software guys should have done that? Yes, totally, I'm with you! I thought you were suggesting a solution for me - a laptop user who's not able to run checkdisk.
I think this might be some of the most beautiful code I've seen in a long while

value :: Parser Value
value =
List <$> (char8 '(' *> sepBy value (takeWhile1 isSpace_w8) <* char8 ')')
<|> Number . fst . fromJust . B.readInteger <$> takeWhile1 isDigit_w8
<|> Symbol <$> takeWhile1 (inClass "A-Za-z\\-")

The power of parser combinators representing the elegant lisp syntax.
Show HN: PenZen - Distraction free writing
Ridiculously simply app. Built it as weekend project to test out the new Pen.io API
pyobjc is how i got exposed to objective-c. it's a joy to use if you have your app in python, but i've heard complaints about the python-objc bridge leaking memory, so you may end up doing memory management in python (alloc, init, etc.) on pyobjc-wrapped objects if you're not careful.
I absolutely agree but just responding to one point - i've played with Lua Wax and the lack of debugging and the fact that any Lua script error causes a segfault makes coding with Lua not worth the pain of losing the XCode editor and debugger and statement completion, etc.

If you're putting in a scripting engine for a game that's one thing. If you want an easier way to write cellForRowAtIndexPath, I don't recommend it...
There is SF Nightowls which meets from 8 pm to 2 am fairly frequently...look them up on Meetup.com
I used PyObjC a few years ago, and enjoyed it much more than straight Objective-C. Far less boilerplate, and the transparent mapping between Python lists and dicts and Cocoa's NSArray and NSDictionary is great.
Why would the exchange price spike when there have been so many challenges to BTC's liquidity today?

It's already inflated per the CNN mention from this morning, and the majority of BTC holders are speculators who will want to cash out. (There's been over 100% increase in value--in less than one week)
Anyone can charge cards past the recorded expiry date. The only date check generally is that it be in the future, so if the on-file card date is in the past, just make up a future date. The recommendation I've seen from some gateways is to add multiples of 3 years until the date is in the future.

What larger companies can do is access the Visa Account Updater or the Mastercard Automatic Billing Updater. These are services that allow the merchant to submit card numbers and get updated information. Basically, the merchant sends a list of cards, and gets a report back. For each card submitted, the response is one of:

1. No response. The card never shows up in a returned report.

2. Notification that no updated information is available.

3. Notification that the account is closed.

4. Notification that the account has a new number and/or expiration date, and those are provided.

The fees for this are surprisingly cheap. One of them has a one-time sign up fee of a couple hundred bucks, and the other has no sign up fee. After that, it is something like $0.10 per card that results in updated information. No charges that come back with no updates or do not get a response.

I suspect this has surprised a lot of people whose bank changes their card number every three years, and so thought that they could just not bother canceling some subscription service because the old number would stop working.
AIEEE papers leaked : Exam rescheduled
It's the same reason why we still have beep codes and LED status indicators on our motherboards: You don't need to localize Fur Elise.
The nytimes.com is one of the world's biggest online properties (at least until the paywall went up). Surely, they must be doing a lot of things right to have achieved this. Hope to see more thoughtful comments from highly respected web design professionals on the critique.
The Big Spill Over 'Three Cups of Tea'
Why most of the successful startups are in Silicon Valley?
We can see majority of successful startups are in silicon valley. Is there any advantage in term of marketing point of view? What are the pros and cons for a startup being located outsides Silicon Valley?
Internet Entrepreneurs Are Like Professional Athletes, They Peak Around 25
Personally, I would love it if a candidate I've interviewed had public-facing source code available.

I make a point of reading the resume of every person I interview so I can ask relevant questions. To do otherwise would do our time together a disservice.
For those who like to have music playing while they work, I've found that albums can be a nice way to pace the work day, and to account for time.

Open up my editor, start an album that fits in with my current mood so it will service its purpose of covering up outside noise but will not distract me, and start hacking away.

When the album ends, I get to a good pause point, and take a break to plan my next move, and pick the next album. Good time for a stretch, or a snack, or a check of HN. Then start the next album and back to work.

This naturally breaks my day up into the kind of concentrate/break cycles that many recommend. At the end of the day, if I need to account for my time, It's easy to check iTunes and see how long each album was, and therefore how much time I spent on that phase of my coding.
Why You Should Join A Startup
Interesting. I'm wondering if this can be used to keep a monotonically increasing guaranteed unique counter? Riak isn't currently suited for that type of thing from my limited experience.
You'd be surprised, but our entire service does not make a single request to the craigslist servers.

We get the craigslist postings from the 3taps API, which themselves scrape Google Caches to import that data.

The images are typically hosted on services like imageshack or flickr. We store everything in our own database and keep track of our own version of the data, which we stream from the 3taps firehose.
Clearly the app can't/shouldn't be taken away. But this shit is messed up.
I'm sure there is something to be said about startups moving to where the most money is or correlation between the risk profile of a successful entrepreneur and moving to be where the action is. However, there is probably also a higher correlation between successful young startups that get covered by tech blog and the fact that tech blog reporters are mostly based out of the valley.

That being said, when they get more successful, startups usually go for an SV office for engineers. But that's something different.
What's this X-User-Agent stuff? The entire internet isn't going to special-case your hack. Just honour robots.txt.
This is great advice for teachers also.

I have noticed that the best teachers I have encountered are masters of both self-deprecation and storytelling - generally mixed together.

When you subsequently get schooled by them, somehow you don't feel so beat up by the process.

...

"well, I guess kind of I dabble in the Ultimate Truth"

classic.
I agree. It seems that all that happened was that OpenOffice.org lost its largest contributor, which should normally not be a source of celebration.

It can still become a "win" if the remaining contributors are able to manage the project more efficiently than Sun or Oracle did, and attract enough new contributors to compensate for the loss. But that is far from given.
حظك اليوم 1-5-2011
حظك اليوم 1-5-2011
حظك اليوم 1-5-2011
حظك اليوم 1-5-2011
http://www.almstba.com/vb/showthread.php?t=19051
http://www.almstba.com/vb/showthread.php?t=19051
http://www.almstba.com/vb/showthread.php?t=19051
This would be an awesome idea, if I knew anyone that stayed up past 10pm (besides myself -- I'm up 4pm to 10am) and didn't have to take the kids swimming every weekend. Being the only single workaholic daydreamer with ambition in your circle of associates and friends and coworkers pretty much blows. :)
Wait, just by providing the SN of a device you can get them to modify the BIOS? (assuming that is how they would get rid of this BIOS-executed payload)

I wonder what else you can social engineer out of them with just SN. . .
Yep I think comment spam on blogs has a slightly different profile than private messages being sent to users, but their service may catch a lot of it anyway. Will investigate this option. Thanks!