skysight-inc/HackerNews huggingface dataset:
My experience is the exact opposite.

I find 1-based indexing to be weird/illogical and prone to off-by-1 errors.

Inclusive/exclusive ranges as in Python along with 0-based indexing means the likelihood of any off-by-1 is negligible...
Apple was a computer company until they brought out the iPod.

No, they was an integrated computer/os company (some even call it an "computing experience" company). Selling (or buying) hardware was never the whole point of an Apple, just the one with higher margins.

I believe that about 80% of their income now comes from non-computer products - with an emphasis on entertainment.

And I believe that if you call the iPhone or the iPad an "entertainment" device, you are missing like 80% of the big picture. A phone is an indispensable everyday tool, not to mention a business tool, for the majority of the population. And the iPad has elements of what computers for the general public (including professionals) will look like, ten years on. Like this one: 1/4 of European doctors use an iPad for work: http://reviews.cnet.com/8301-31747_7-57379622-243/study-euro...

Even if it's 1/10 or 1/20, it's a mighty impressive trend, from a market segment that was a tiny 1/1000 niche before the iPad.

Actually, Apple made MORE inroads into the enterprise with the iPhone and the iPad than they ever did with the Mac.

Running windows was critical to Apple's acceptance at the time they switch from power pc to intel processors because of Microsoft's dominance of the computer market.

No, it was not. Actually Bootcamp, and the running windows capability, came much after the switch from power pc to intel, a year or more after. For quite some time there was no option to run Windows on an Intel Mac.

Bootcamp allowed Apple to sell into the PC space - without which they would not have been able to overshadow Microsoft.

They haven't "overshadowed" Microsoft. Apple's share went from 5% to 10-12%. Microsoft still have 7-8 times that much.

And, since Mac's share was in an upwards trend (from 2% when Jobs come aboard), even before the switch to Intel, no one can say how much this switch influenced the market share increase.

Where Apple DID overshadow MS is in the media player, phone and tablet space. And there it doesn't run on Intel, it runs on ARM.
Keyword Searching and Browsing in Databases using BANKS
ME, GRIMLOCK, NEED YOU, ENGINEER
I was a little disappointed in this article, I thought the author set himself up for a really good piece, then started building up the ideas, then... ended, when I was expecting much more in terms of actual ideas.
I had the same idea the last days, but did not find the time to create it. AWESOME u did it. Thanks and i wish u success with it. i am definatly going to use it.
That is very impressive. I find it more impressive though that we are not farther along with this. Only 1 million?

(I have no idea about this, you seem to:)

Isn't it so that you don't need the human dexterity? They are making the same movements on the same iPad the entire day; would that not be a prime candidate to NOT need humans for? It's not as if they create a custom iPad per client?
I am curious where this info comes from? I heard the gov is sponsoring robot production in the USA now; what would be needed?
An anonymous opinion should carry no more weight than graffiti
Cannot agree more. Paper publishing is no longer necessary at all (maybe with a few exceptions). Scientists should be publishing to an online application with universal access where their peers could review and comment on the papers. The current system made sense in the past because publishing was complex and expensive. With the advent of desktop publishing and the web, both publishing and the reviewing process were greatly simplified and are essentially done by the researchers themselves. I mean, you have to provide the publisher with "camera ready" files and, in some cases, you have to suggest a couple of names for possible reviewers. How hard is it to do the rest of the work?
I agree that you cant think in terms of pleasantness/unpleasantness but we are human and we will feel good or bad about anything we do. Its inbuilt.

When I say 90% of being an entrepreneur is unpleasant - I mean it in a good way :). Ie, its unpleasant because its new to me and therefore I'm learning and I would still do all this crap than be at my old 9-to-5 where I was chasing other people's dreams - namely my bosses dream of getting promoted.

There's a huge difference between unpleasant and unhappy. :)

My whole point is that too many people keep thinking of finding that great job where you do what you love. But the whole point is the only way you can get to that point is by being successful in the first place - enough so that you can pay others to do what you don't like.

So while building up that capital of success your going to be doing heckuva lot of stuff you don't like.

I think a lot of people don't get this.

YOU CANT GET TO DO WHAT YOU LOVE WITHOUT HUGE PAIN aka SACRIFICE.
Judges can make inferences based on a person's silence during police question.

Judges can do that here, too. No constitution can stop them from making inferences.
As for trial by Jury - seriously speaking they are usually manned by idiots most of the time.

That is, unfortunately, a universal problem anywhere that there are jury trials.
How do they pull the memcached key with the latest timestamp? Is there a memcached equivalent of "SELECT value FROM memcached WHERE key LIKE 'prefix%' ORDER BY key DESC LIMIT 1;"?
Any time I'm paying only for what I consume (atomized) I'm happier than when I'm stuck in a slot in a pricing table somebody created with very little idea about which features I really need, how many users I need and how much of the service I need to consume per month.

But coding atomized pricing for a platform is often much harder than coding a price/feature table so anything that offered atomized billing as a service (ABaaS?) would be great.
"There's a well-known study by Shiv and Fedorikhin showing that if you tax people's working memory by making them remember a 7-digit string of numbers, people are more likely to make a less-optimal decision (they chose to eat chocolate cake versus the more healthy fruit salad option)."

I'm not sure how the Shiv experiment proves anything. I personally would always choose the chocolate cake, no matter how much time I had to spend on the decision - I just don't like fruit salads, at least not as much as cakes. And one doesn't eat desserts all the time, so it's not much of a problem anyway. 'Optimal' != 'healthy', and I bet (pun intended) that when choosing dessert many people optimize for feeling, not for health.

(Maybe this effect was documented using some other experiments, but sometimes when I read psychology stuff, I start do doubt both my and researchers' sanity, because I can't figure out how little shifts of behavior over e.g. a chocolate cake, tested on a small (< 1k) sample are really giving us any valuable insight, and are not just random noise)
Faster way to multiply any number with numbers from 12-19
The Entrepreneur State: Safety Nets for Startups, Capitalism for Corporations
TED Talk on Nickel-Hydrogen Cold Fusion by Focardi (Rossi's Partner)
Former pirate who rowed across Pacific & Atlantic dies at 74
CakePHP Auth redirecting issue
Voluntary charity was the origins of public services. The nineteenth century was very libertarian by modern standards, but there were a wave of charitable moves, everything from libraries (Carnegie), homes for the poor (Peabody, many more, even charitable housing investment companies), drinking water, universities and education. This was in a time when stopping children working was seen as intervention in the free market.

The success of this meant that the state got involved, as the benefits were so large and clear, and more was clearly needed.
>If you are not a tech guy, do not dictate the language/stack.

This 100,000,000 times over and over until it sinks in universally. Nothing turns me off more viscerally than someone who isn't a programmer dictating to me how to do my job.
See step 6. The view is pulling the cache key straight from the domain model. It relies on being the informed as well about changes in its children to do that, which is what the setup in step 5 is about.
And Glengarry Glen Ross (1992), probably the best of the bunch.
Ask HN: anyone using atlassian's "unlimited free git/hg hosting"?
But a Judge in England can say that s/he is taking the defendant's refusal to answer questions in a police station, or a refusal to testify, as evidence of guilt.

A US judge saying that would leave the case open to appeal.
I share your sentiment. I moved my first software company (now defunct) to Reno, NV from California in 2002, in what seemed like an unmitigated financial success. For the price of a decrepit office in the Bay Area, we could rent a huge McMansion with a view, offices upstairs, full kitchen, three bathrooms with showers, various rooms for meetings or storage or indoor ballgames, and ten minutes drive away from anything... What I failed to factor in was the profoundly depressing nature of every day seeing senior citizens in wheelchairs with oxygen tanks robotically pulling levers on slot machines or feeding money into video poker. Even if you avoid the casinos, you see it at the gas station, supermarket, etc... It's grotesque, but somehow when it's old people spending the last remaining days of their lives doing it, it becomes profoundly sad. Even more so to think that some poor old sucker spent literally the last day of his life that way.
Do am I wrong or you still hit the DB for each model object? But of course you save all the complex rendering (possibly SELECT for children) from the key, right?
Udp/tcp connection using pure bash
I think adding the humble polygon would make this infinitely more useful.
Self-accounted life story of a self-made millionare
More Diablo III Changes Revealed
Not necessarily I believe, that one can be cached and invalidated manually.
> I think libraries are one of the most important social services provided by local governments

How about other needs governments sometimes provide to the less fortunate, such as food, shelter, medical care, and universal education?
The town is no longer friendly for business
The Lisp compiler tells you:

(defun substitute-in-replacement ($-value replacement)
(cond ((null $-value) replacement)
((null replacement) ())
((eq (car replacement) '$)
(cons $-value (cdr replacement)))
(T (cons (car replacement))
(substitute-in-replacement $-value (cdr replacement)))))

CL-USER 5 > (compile 'substitute-in-replacement)
;;;*** Warning in SUBSTITUTE-IN-REPLACEMENT: CONS is called with the wrong
;;; number of arguments: Got 1 wanted 2
SUBSTITUTE-IN-REPLACEMENT

Lisp compilers able to present these error messages are in use since more than 40 years. Common Lisp has them since day one.
There is a good LWN summary of what will probably happen short and longer term here http://lwn.net/SubscriberLink/481055/f5344869dc672690/
State of Technology last week #46
Objective-C literals for NSDictionary, NSArray, and NSNumber
Self made millionaire self written story
I apologize ahead of time if I'm going to sound leftist, but the powers that be don't really need a well educated lower class that is able to think for itself and easily get access to quality information. It goes against the interests of the status quo.

However, if there's a lot of money for everybody to be made, then it will create some incentives to give these people just enough instruction that they can perform online purchases. The problem is that the lower 20-40% of the US population are in so much financial distress that purchasing apps for an iPad or a kindle book is not even remotely within their realm of possibilities. For them, there's Walmart.
If we can't give peer-reviewed, easily repeatable experiments the benefit of the doubt, we are in trouble.
Do you know her Real age?
I was going to write a big screed about how adding traffic lights and all the associated equipment would be much more expensive, then I realised you were talking about stop signs!

Intersections don't really have to be much bigger, and at minimum all you need is a circle painted in the middle of the intersection. Roundabouts work well when traffic flows in all directions evenly, but if not it's pretty easy to get into a situation where cars entering from a particular direction get screwed when there's lots of traffic.
It seems counter intuitive to point customers to Facebook and effectively lock yourself into their environment. I am betting their trials were low profile.
It's not just this instance, I've noticed in an increasingly broad variety of topics that when something goes against the accepted groupthink it is prone to silent downvoting. Even in the absence of ad homs, whining in general, etc.

Also you'd be pretty hard pressed to say that this question isn't expressly relevant to the original article being discussed, and isn't overtly political in the sense that noone is agitating for votes or any such thing.
Cost of living is not the same in China and the US though. In terms of purchasing power $5k/year is more like $25k/year. Not exactly posh, but not the extreme poverty a naive calculation would lead you to believe.
The Tools We Use Everyday
You hit the DB for the top-level. So in step 6, we'll always hit the db for the latest project, but we will not hit the db for the todolists or the todos of those todolists if the project cache is fresh.

So you save the render plus any db calls that would be triggered as part of that render.
good combination of nice tools
Alicia Keys Whitney Houston Family
Alicia Keys Whitney Houston Family
Alicia Keys Whitney Houston Family With what regretably has grown to be Whitney Houston
COREvidence the Cloud Based Multi-Engines Vulnerability Service
But how can I know if I can trust the information in the article that I don't know (the reason I'm reading it), if the information I do know is wrong?

"Maybe the rest of the article is solid, but if I'm reading an article on the details of processors, it worries me when they miss a detail about processors" I think expresses it pretty well.
I think Crowdflower (http://crowdflower.com/ ) would be useful in this situation. I've used them before because I'm UK based and MTurk wouldn't let me create HITS (not sure if that's still true?) but they also add some stuff to MTurk like a HIT designer (a form designer) and, more interestingly here, an interface to have people complete your HITS outside of MTurk.
New lines in the Lisp, PLEASE :)

I see you omitted some parenthesis in the "conventional" expression, relying on the fact that multiplication takes priority over substraction. Making this fact explicit is exactly what makes Lisp better, especially for more complex domains: delegating priorities to the notation, freeing brain capacity for the actual problem.
Graphic Designers are Ruining the Web
>>Is there any language that is easy to read when you put five lines of code together like This?

Arguably Python -- but to get that, Python sacrificed the possibility of both usable anonymous functions and the possibility to cut-paste a code fragment and just ask the editor to reindent.

Hardly worth the price.
So simple yet so brilliant!

I can't believe I didn't think of this before. My initial reaction after I skimmed the post was "uhh, so you still hit the db? what's the point?"

Thanks for sharing this! I definitely want to implement something similar for my future projects!
Agreed. Some of the fields could use better labeling. For example, there are three font color settings, and the only way I could tell what each field affected was to enter red, green, and blue then view the results. Plus, it needs another field for the hover font color.
Walks And Walking - Essex Walks Moreton Walking Route
VLC 2.0 Twoflower has been released
If math is a problem for the user, there is the option to use a modified parser. For example using an infix parser called by a readmacro:

(defun foo (a b c)
#I(

(-b + sqrt(b*b - 4*a*c)) / (2*a)

))

CL-USER 8 > (foo 1 2 3)
#C(-1.0 1.4142135)
Free Willie
View AS Roma vs Parma live streaming online 
AS Roma vs Parma
Home – Away
Match schedule:
Italian Serie A
Date: Sunday, February 19, 2012
TIME : 14:00 GMT
LOCATION: Stadio Olimpico
Watch AS Roma vs Parma live streaming and also watch Italian Serie A
full season live streaming online. You can enjoy this game on your PC,
So why you miss this exciting race? Get the best online sports
coverage on the net directly on your PC. Download software toItalian
Serie A all Live soccer match. Watch HD TV on your pc.
Sure, there are solutions and it's awesome that they're both possible and easy to use. I'm not arguing against Lisp; I just don't agree that its syntax is better. I agree it is not worse, if you survey a sufficiently large variety of cases.

It may be bikeshedding, but I would not let 'blue is better than red, because the sky is blue' pass either.
These TLD previews (dropbox.com) are great, but one day, someone's going to host a phishing page or a fake news post on their dropbox and link it here, and someone's going to fall for it.

On topic, i think this is the first time i've seen someone actually try to sell a jQuery plugin.. i wish you the best of luck, especially when the source is right there.

The plugin itself is obviously going to work out best for people when the desired effect is easier to generate in javascript than it is to precompute, which is almost never the case - well, maybe for some classes of dynamically generated content (cloning instagram client-side?)
China National with Hairy Armpit Chased out of MRT
It is my understanding that that is what is meant by submit a patch!;)
Depending on your English dialect it might be a terrace, pavement, patio or even verandah seating.
Big data skills bring big dough
Experts recommend stronger protections for "Geodata"
"MVC ... only started getting more attention after Ruby on Rails launched around 2004"

~year 2000, MVC was all the rage in J2EE development, Struts etc.

Probably was invented and even popular long before that also in other environments.
It's good to see this written up somewhere. The technique is widely known in the Rails community but I haven't seen it explained in one place. (For example, the Rails API documentation and guides don't even mention that the cache helper can take an Active Record instance as the key, so you'd be hard pressed to discover this technique without reading the Action Pack source.)

As DHH says, the upside is that it's simple and, as long as you get the cascading updates right, makes sure you don't ever show stale content.

There are a couple of downsides.

Firstly, once a fragment becomes invalid, it's not regenerated until the next request that needs it, so someone somewhere gets a slow[er] page load; even worse, if yours is a large public site with lots of long-tail pages, that "someone" is likely to be the Googlebot, and the slower page times might adversely affect your search ranking. You could ameliorate this by having some kind of automated process for periodically pre-warming certain parts of the cache after certain kinds of update, but that can get difficult to maintain.

Secondly, this technique is very conservative: the goal is to invalidate all fragments which might have been affected by an update, rather than only the fragments which actually have been. (It's less brute-force than the even simpler "invalidate the entire cache every time any record is updated" strategy, but it's making a similar trade-off.) This works well for an application like Basecamp where the hierarchical presentation of the data matches its hierarchical organisation at the model level, but is more problematic in applications with lots of different ways of presenting the same underlying data; if you have lots of cached representations of projects which don't actually include any information about the child todo lists or todos, then tough shit, those are all going to be invalidated when a single todo is updated, and you'll have to spend (page load) time waiting for them to be regenerated. In principle you can get around this by having multiple timestamps per model to represent different kinds of update, but again that's more difficult to manage correctly over time.

An interesting alternative approach is James Coglan's experimental Primer (https://github.com/jcoglan/primer), which dynamically tracks which Active Record instances & attributes are used during the generation of a cached fragment, and then actively invalidates that cache when any of those attributes change. The downside to Primer is that it's more complex, not production-ready, and may contain traces of magic.
According to their 2010 annual report, Tropicana had $6 billion in annual worldwide sales, so probably 3 billion units, so 185K fans is pretty dismal.
A quick analysis of my own experience here: For windows and mac, the best software I've found so far is puush.com. I made a quick analysis a while back, and realized that obce you get used to such software, you end up pressing the hotkey and immediately expect to be able to paste a link. Puush excels in that regard; they have a good screencap engine which allows fash shots, and a good webserver which uploads pics rapidly and return a link asap.

Unfortunately, they lack a Linux option. As i use debian, i had to find an alternative, or more in the spirit, make my own. I tested a few others with linux versions, namely lookit and shutter, but being fully open source they had their own flaws: uploading to imgur is damn slow, and after using puush for a while it was frustrating.

I tried writing my own using pykeybinder, since it seemed more nautral than using autohotkey, which imho seemed like a port from the windows version and overkill. I then took code from pygtk in order to take fast screenshots in python. It has the added ability of being able to take just the current selected window as well. In the end, however, the ability for the -s option in scrot to take a shot of a selected area was too tempting so i added a wrapper in my script for that.

For uploading this is where writing something that copies to the dropbox public folder shines: it allows you to generate a name and link for the file BEFORE it uploads, which is an insane speedup. The file can then upload as you're sending the email with the link, for example.

If anyone wants to look at my crappy code, it's at

https://github.com/jcitme/pyscreenshare/blob/master/pyscreen...
Oh I get that. I'm usually the guy who points that out. I'm just saying the economics don't really support moving manufacturing jobs back to the US at this point, and probably won't soon.
LLVM is another important open source project from Apple. http://en.wikipedia.org/wiki/Low_Level_Virtual_Machine

And they also developed an open standard: OpenCL.
A (not) Quick Lesson in Operators
I can't tell if this is a parody of spam or not...
A silly question: were there not scripting languages at the time ROOT was developed? Don't get me wrong, it's not like I hate C++, but it doesn't seem to me like the easiest language ever to build a stable/reliable interpreter for.
Your mistake is you think a library is for providing books. In fact libraries stand for free public _information_. The distinction is critical and vastly important.
I am less convinced by the color scheme arguments, since colors associations are extremely culturally bound.

My thoughts too. Looks like the color choices in that color wheel are arbitrary. I tried searching for information on why the colors in that wheel are associated with the emotions the way they are, but couldn't find any.
Not in europe it's not!
Are you saying you trust it more if it just comes from a random TLD? That... seems very naive.

As for the plugin, it seems... not terribly difficult or expensive (computationally). Chrome on my phone handled it fine.
If i were Kim i'd have money stashed in a Swiss bank account.
Proof that I agree: http://news.ycombinator.com/item?id=788702
Neither do many foreign language tokens like 我是加拿大人 but that doesn't stop me typing them in quickly using the IME. Admittedly those brackets aren't in any IME I know, but maybe they should be.