skysight-inc/HackerNews huggingface dataset:
If there could have been an equally eloquent API for those other languages, why wasn't there?

Obj-C + stringent/verbose coding standards = powerful APIs.

I've been writing Cocoa apps since 2002 and I pretty much love everything about programming on it, from the First Responder chain, the view hierarchy, bindings/observing, the new GC, blocks, properties, etc. (and more I'm forgetting) but I especially like how clear the design patterns are implemented. It's very rare to not know where a particular responsibility lies.

When it comes to the state of Mac/Cocoa programming, my biggest gripe is that Xcode 4 isn't progressing anywhere near fast enough. The IB integration should have happened long ago.
I would expect that an oversupply of lawyers would make them cheaper to hire and nicer to deal with. If we instead have a small group of lawyers that are expensive and unpleasant, while a lot of younger graduates cannot find jobs, I'd expect there must be some powerful artificial barriers of entry created by the group of insiders, though I have no idea what they could be...
But then how could the students watching the recorded video ask questions of the lecturer? There are many problems with the way higher education is delivered, but i doubt video is the answer. There needs to be some sort of recognition and employment position created within academic institutions that doesn't punish academics because they enjoy teaching. Video lessons are not really that solution when you consider that this issue (lack of effective teachers at tertiary level and lack of encouragement for academic staff to be good teachers) is one primarily born out of the greed of academic institutions.
The Quake 3 network architecture is also a fantastic read.
Anybody wanting to learn how to implement netcode should definitely read them.

The first time I implemented a UDP gameserver, they were invaluable resources for the logic required if you don't already understand how it works. (Selective msgs require acks, most don't, most don't need resends, etc).
@jennyholzer:

OFTEN AS OFTEN AS OFTEN AS OFTEN AS POSSIBLE

Very apt, but what n-gram length is being used? n=1 is my guess, since "as often as" is a common English construct. Obvious feature request: tweakable lengths.

edit: I'd make the fix myself and send a pull request but I don't know haskell and am too lazy to figure it out.
Quora's Notification Settings
In my reality touch interfaces exist for decades and smartphones had touch screens for years before your "revolution".
"And people don't learn Python because it will get them a job; they learn it because they genuinely like to program and aren't satisfied with the languages they already know." This seems that is not the case anymore. I think that since Python became more popular even in big corporations (see Google) the Python Paradox should be in 2011 something else. You name it. The ideas expressed in the essay are of course still relevant but the example maybe has lost some of its accuracy.
You can pick up a copy of AABBYY FineReader from $50. If the software wasn't able to OCR and generated only images, you could run it through FineReader and spit out a PDF or text document.

Edit: The website[1] says "Includes software that automatically detects text for further editing and archiving".

1. http://www.ionaudio.com/booksaver
Until any of the following events occurs:

- the machine runs out of memory (the tweets are stored in a redis backend);

- someone (I) accidentally clears the database (this has happened before);

- zombies attack our datacenter.

But I'll try to keep them up as long as possible.
Fine for my downvotes. So many fanboys here, it's sickening.
If you would have read the thread you may have guessed that i meant:

- Webkit = LGPL = No Choice
- LLVM because gcc is a no go (GPL)

Now, here some downvotes too, because i insulted your oh so holy Apple company, boohoo..
(I can only wonder what in my comments has been inappropriate enough to justify the downvotes. Simply disagreeing on a civilized opinion shouldn't prompt censors to act.)

If a distribution site requires to accept a contract between the distributor and the downloader regarding the usage of the downloaded programs, it is not equal to an FTP site which merely puts programs available.

I don't understand how Apple's position as an OS vendor affects the situation, if the question is about distribution. I would really enjoy a thorough explanation about it, if there is one, since to me it does not make any sense.

If there is no conflict (any more) between Apple's terms of usage for downloaded apps and GPL, then it all boils down to Apple's decision to remove the application without reason (other than an invalidated claim of copyright infringement). In that case, all the other GPL'ed software could be returned to distribution.

I can imagine that even Apple's own personnel has hard time following all the changes in their own terms and their implications of cases like this, and that's why it would be the best if Apple simply lifted the restrictions of their platform.
So it's ok to copy blog posts because a server is overloaded but not ok to copy a 5 line article from MSN half of those five lines were copied by MSN from wired, two more were from an interview elsewhere (http://www.therealnews.com/t2/index.php?option=com_content&#... warning, also auto plays some ad, sorry) and whose sole original contribution seems to be to deliver some auto-play ad?

That's inconsistent.

The wired article is here: http://www.wired.com/magazine/2010/12/ff_ai_flashtrading/

I really wonder which one of the two remaining lines you think the DMCA infringement notices will be about.
How did they get this data on stock trades? I would love to take a look at that it. And instead of an average, I'd like to see a histogram. I bet there are a lot of very quick trades and a lot of people/companies that hold onto stocks for months or years.
n=1 is indeed being used. The problem with a larger n is that you get original tweets really often, because the dataset is limited (as much tweets as you can get in one request).
The single most reason why a language X (it's python for me today) wins my heart is not because it's extra fancy or anything but the times when it gets out of my way to let me think about the problem and then everything else seems clearer. I write a lot in both Python and Ruby, but the days when I have to dig into my old code, Python readability trumps over Ruby's (or anything else for that matter).
To answer the question: the individual investor hires someone with a computer to do it for him. i.e. you put your money in a mutual or hedge fund.

Yes, they have tremendous fees, but if the gains are there...

Of course that shifts the questions to picking a good fund, but that's at least something you can do.
The history of the US military is full of highly effective wartime leaders who would never have survived the politics and bureaucracy of a peacetime military. It's hard to imagine colorful personalities like General Patton or Chesty Puller surviving in a system where politics and bureaucracy have had decades to get entrenched, unhindered by the need to win serious wars. And, compared to WWII or even Korea and Vietnam, the Persian Gulf, Iraq, and Afghanistan just don't have the same weight of necessity.

And really, even the WWII era army was political enough that Patton got into plenty of trouble.
مشاهدة مباراة السعودية وسوريا
مشاهدة مباراة السعودية وسوريا - مشاهدة مباراة السعودية وسوريا بث مباشر - مباراة السعودية وسوريا
مشاهدة مباراة السعودية وسوريا اون لاين
Here's something that might help... According to http://www.nytimes.com/2010/05/07/business/economy/07trade.h...

"In recent years, what is known as high-frequency trading — rapid automated buying and selling — has taken off and now accounts for 50 to 75 percent of daily trading volume."

From what I've read, its gotten pretty ridiculous overall.
When Sears was a Startup
This article is entirely devoid of content. It is completely worthless.

Newsflash for everyone thinking about being involved with the markets: the reason they work is because there are participants with different motiviations and ideas on how to make money. Period. By definition, the "plankton" of the markets are the market makers (both designated and implied, read passive HFT). These guys provide immediacy. They do that with the express intent of continuously trying to manage their inventory of any particular stock to 0 (with constraints of their pricing model). This directly implies they have a very high turnover and a holding period that is minimized as much as possible.

Why do they do this? Market makers provide a valuable service: immediacy. They supply to other traders an OPTION to trade with them by displaying liquidity on the standing limit order book. Therefore, they must deal with adverse selection (trading with counterparties who are more informed than they are). A market maker is there, ready to trade, and when someone lifts their offer or hits their bid they want to turn around and lay that position off as quickly as possible, ideally via another limit order being matched with a market order. This is the way they earn their living: by making the spread.
Spam tip:
Have your personal domain redirect all emails to gmail. Then when signing up on a website, enter "name_of_website.com@yourdomain.com" as your email. Helps to see which websites sell your email address to spammers. Also provides protection against websites stealing your email password.
Why I hate New Vegas (Wil Shipley)
Has anyone coined the term 'language hipster' yet? Because now seems like a good time.
Bushwar!
What sort of DPI would be acceptable for an art history book? Their other document scanners can scan up to 600 DPI.
It's mentioned in the article: "Microsoft is transitioning the product line again, integrating it directly into Windows, with the Posix component being renamed to Subsystem for Unix Applications (SUA)."

It's included in Windows 7 Ultimate and Enterprise editions, you can enable it from "Windows Features" dialog.
Who really wants to put that much effort into putting their relationships into little boxes?
Is convertible debt with a price cap really the best financing structure?
From what I read, you can get Debian and Gentoo system running with this.

http://www.gentoo-wiki.info/HOWTO_Gentoo_on_WINDOWS

http://www.debian-interix.net/

Would love to try get Gentoo but MSDNAA offers Professional rather than Ultimate.
The anti-fluoride folks remind me a lot of the anti-vax crowd. Lots of random studies, lots of interlinking between the "action sites", "news stories" and nutritional supplement sites and a zillion "A causes B" statements on the action websites.

Example:

"Warning: Never Swallow Regular Toothpaste"
http://articles.mercola.com/members/Dr.-Mercola/default.aspx

Linked from:

http://www.fluoridealert.org/
as "April 7 on Mercola.com: Warning: Never Swallow Regular Toothpaste"

The article links back to fluoridealert.org, as well as to a book written by the author of the alert site.

Amusingly, a few product pages on mercola.com state: "These statements have not been evaluated by the Food and Drug Administration.
This product is not intended to diagnose, treat, cure or prevent any disease."
Yeah, I use as much tweets as twitter can give me in one request. Any more would probably be a too long delay for the end user.
The premise that Ph.D. degrees are supposed to be mainly training for academic careers is wrong, at least in technical/engineering fields.

It is very common for people to enter e.g. CS or EE programs with no intention of pursuing an academic career, and instead planning to find an industry job afterwards. Indeed, there were some people I met in grad school that left well-paying jobs at (say) Microsoft with the intention of getting a Ph.D. and going back to industry to work on more interesting stuff. As far as I know, they usually succeeded.

Does a Ph.D. increase your expected salary, if you get an industry job afterwards? Probably not enough to be worth it. Does it raise the level of problems you will be solving, and the quality of people you will be surrounded with? Absolutely.
I'm assuming W-2 reporting will be the easiest part, though it will be a pain.

The 1099 thing is a big hidden expense. My businesses are run as lean as they possibly can be so I'll have to hire someone to go and find all the tax ID's for all my vendors. Then I have to pay my accountant to generate all of them for me. I'd imagine cost of staying on top of this will be in the thousands / year.

The other thing is the Medicare tax. In a couple years I'll be paying an additional 3.8% to Medicare taxes on each dollar I make over $250k. This feels like a slap in the face given I'm already paying tons of moola for health care costs, which are now skyrocketing because of these "reforms." In general, those who are most likely to be affected by this new tax are the ones that are already paying (or will be forced to start paying) for others' health insurance.

Le sigh x2.
I really hope this doesn't turn into a political battle thread.

However, "Bush tax cuts" is an accurate term for the tax cuts provided by the Bush administration. It has no negative or positive (besides "tax cuts") meaning inherent in its wordings alone. "Obamacare" is a dumbed down slang for "Obama health reform", mostly because Obama, nor his administration, is providing care. It inherently does not describe what it represents, reform* not care.

When using either term derisively, then that is a whole separate ballgame. I will admit though that "Bush tax cuts" has turned into a phrase that one may use to speak ill about president Bush, but then the anger still should be directed towards that session of congress, not Bush himself.

I also agree that both are stupid.

* although I personally like the healthcare reform bill, one should always remember that just like evolution, the definition of reform does not suggest that the change it is describing has moved in a positive direction. There is no de-reform or devolution. Change is change, how positive or negative it is can only be valued by each individual separately.
If the game doesn't optimize down the total data it sends, then it's constantly filling the buffers, so there's no waiting for buffers to fill which can reduce ping times.
Flush on full means the data is only sent when the buffer is full. If the buffer is large and you have an optimized game that minimizes the amount of data sent then the buffer takes longer to fill up and packets are sent less often.

Older games that send more data may get quicker response if your throughput is high but your packets are large
are you using smoothing for large n? kneser-ney smoothing seems to give the best results.

http://nlp.stanford.edu/~wcmac/papers/20050421-smoothing-tut...
Get Your Laptop Screen Repaired - Ireland - Broken - Cracked Screen Repair
Broken Laptop Screen, Cracked Laptop Screen, Fix My Laptop Screen, Laptop Screen, Laptop Screen Repair, Laptop Screen Repair Service
Keep in mind that this could easily be a statistical quirk. Firms that make very frequent transactions will tend to make a lot of them; as a result, they deal in insane volume and will make up the majority of the sample size. The statement in the headline is simply saying "Stocks that get traded often make up the bulk of stocks that are traded," which most people would say "Duh" to.

To see how this plays out, imagine a hypothetical financial world that looks like this:

Firm A has $100M under management and makes a transaction every 10 seconds (total: 3 million trades). They make a return of 10%, $10M. Each trade is for 10,000 shares (average 0.03 cents/trade profit).

Firm B has $1B under management and makes a transaction every 3 months (total: 4 trades). They make a return of 10% ($100M). Each trade is for 10 million shares ($2.50/share profit).

The remaining 100 firms have a total of $100M under management and make one transaction per firm per year. They make a return of 10% ($100,000 each). Each trade is for 1000 shares.

(Ignore how everyone makes a profit in this supposedly closed financial system...we can just chalk it up to the Fed injecting money into the economy.)

If you average the holding time of each stock by transaction, you have (3 million trades at 10 seconds + 4 trades at 7.5 million seconds + 1,000 trades at 30 million seconds) / 3,010,004 trades = 1019 seconds. That's an average holding time of just under 20 minutes.

If you average the holding time of each stock by volume, you have (30B shares at 10 seconds + 40M shares at 7.5M seconds + 100,000 shares at 30M seconds) / 30,040,100,000 shares = 9,976 seconds, or an average holding time of about 3 hours.

If you average the holding time by firm, you have 1 firm at 10 seconds, 1 firm at 7.5M seconds, and 100 firms at 30M seconds, for an average holding time of just under 1 year.

If you average the holding time by firm, weighted by capitalization, you have ($100M * 10 seconds + $1B * 7.5M seconds + $100M * 30M seconds) / $1.2B = 8.75M = about 4 months.

Note how different the results are depending upon how you perform the average. The article sounds like it's averaging by transaction (i.e. taking the total number of trades and dividing it by the time period they're traded in), which is method 1. I'd argue that a better metric is method 4, averaging by firm weighted by capitalization, which indicates how roughly how long firms with lots of money at their disposal are choosing to hold stocks. In a world like the hypothetical one above, where you have a few high-frequency trading firms, a few giant fundamental-investing firms, and a bunch of retail investors, the results for that are wildly different.
Dell Alienware M151x Gaming Laptop Specifications | TECHGADGETSITE
Well, I've been in business a while, so the first language I learned was called Cold Fusion (I think now owned by Adobe). I then tried learning PHP, but there was some kind of mental barrier there unfortunately for me, though I think I'd be OK with it these days. I then moved to Python which I've found to be a great language. There are a lot of free online books out there. In terms of investment in time, I just started off doing an hour a day. As I did not have anything specific to do, with any timeframe, this worked well for me and did not impact on the day-to-day activities. I will say though that you need to set yourself a challenge fairly quickly as this is the only real way to solidify the theory in your mind. The first one for me was a small crawler to screen scrape some data from a site, put it into a database and search it. One of my team could have done it much quicker of course, but the sense of achievement when it (finally!) worked was great. Hope this helps
What sparks innovation and creativity?
Mental hashing for paper address books (with Python)
The specialization of CS related PHd's were truly more hurtful then helpful (on the whole, not as a 100% "rule") when I recruited $120-$150k programmers (mostly finance / eCommerce giants). From the VP's (paraphrased) "They tend to be too narrowly focused on their field of study, and many times have a hard time adapting to our ___[area of need, actual job requirements and day-to-day, etc.]__" This was more on the actual PHd candidate themselves however. Equate this too a Lib Arts Degree, where, it depends entirely on the graduate to get the position they are going for versus relying on the degree for a job. A few different discussion on HN related that a PHd is for RESEARCH, and, if you are expecting a $20,000 bump in pay, that's a lot of opportunity cost with little actualization of pay off.

I had actually never looked (naively) at a PHd focus solely for Research, versus getting a "better" position within an industry.

http://news.ycombinator.com/item?id=1681154 most relevant and longer

http://news.ycombinator.com/item?id=2019695 a few items of worth re: pay.
Actual title (which gives a better idea of what the article is about):

Turkish academics sacked over porn dissertation project

Article closes with:

Turkey is now the world's fifteenth biggest economy; its people are more prosperous and more exposed to outside influences than ever before.

Boundaries are constantly being tested. But when they are, sometimes there is a powerful reaction.
I'm guessing it's because when you are hiring a lawyer it often means that at best millions of dollars or your entire livelihood is at stake and, at worst, your freedom or literally your life is at stake. In those situations most people aren't in a mood to bargain-hunt or take a risk with an unknown and untested product, if they have an option.
Interesting link, thanks!
That reminds me of a Flash calendar/todo application that had a super successful "sign up for out beta" demo a few years ago. Unfortunately the name completely escapes me. Basically they had made a video demo of what the product would be, the Internet went crazy over it, the product came along little by little but never met real success.

The PocketMod reminds me of it because with that product you could print your calendar in a similar fashion.

Does that ring a bell to anybody?
There should never be any fair use concerns if you own the book.

This is like owning the CD version of an album and making mp3s for your own use. Despite what the RIAA says now, they once said it was fine and I agree with that logic for books as well.

However I want a book scanner like Google does it, where there is a laser that measures the bending of the pages and can flatten the image accordingly based on the measurements.
Yeah, I think my family is already sufficiently gossipy.
Another useful method of opinion getting I have found to be useful, is to directly beg/ask for criticism.

"Please tell me all the bad things you can think about this idea."
"Please tell me all the reasons you think this idea will not gain traction and will fail"
"Please tell em why quitting my job to pursue this idea is a bad thing"

Questions that openly invite criticism are useful, since I think people think more imaginatively when they are being critical ... there are only so many ways to say nice things about something, but the insults can come from anywhere.

More than just finding fault with the idea, you will find assumptions you had implicitly made being challenged. So even if the idea is good, it might still be a bad idea to pursue it, lest you end up with a "the operation was a success, but the patient died" scenario.

If you have a cofounder, take it in turns, over two days, to defend/attack the idea. Defend your idea like Fort Knox on day one, and then attack it like it owes you money on day two.
Calling something the "Bush tax cuts" is a still-english shortening of a long bill name: "Jobs and Growth Tax Relief Reconciliation Act of 2003" Wikipedia even mentions that this is the commonly used name. See http://en.wikipedia.org/wiki/Jobs_and_Growth_Tax_Relief_Reco...

Obamacare is a non-english dog-whistle slur. If you look around online, you will see that pretty much the only people who use that name are politically right-leaning. Perhaps someday it will ameliorate to be the accepted popular name of the bill but right now it is contentious. The same thing happened with Hillarycare.

I don't think you would hear much complaint if they called it the "Obama health care plan".
Link to those articles?