skysight-inc/HackerNews huggingface dataset:
Every command blocks every other command in Redis, because Redis is single threaded. However the implementation of scripting in Redis does a good use of Lua, so a command implemented in Lua does not run too much slower than a command implemented in C, for simple tasks (since we use a single Lua interpreter, and cache compiled functions). So this is an example of what you can do with Lua scripting:

redis 127.0.0.1:6379> set foo '{"b":20,"a":10}'
OK

The user wants to increment the value of "b" with a single query to Redis in an atomic way:

$ cat /tmp/script.lua
obj = cjson.decode(redis.call("GET",KEYS[1]))
obj.b = obj.b + 1
redis.call("SET",KEYS[1],cjson.encode(obj))
return obj.b
$ redis-cli --eval /tmp/script.lua foo
(integer) 21
$ redis-cli --eval /tmp/script.lua foo
(integer) 22
$ redis-cli GET foo
"{\"a\":10,\"b\":22}"

No back and forth from client to server, no locking needed. Basically you can implement your specialized, atomic commands, in Lua.
> IMO, even under prolonged captivity & complete dominance, humans only submit to subjugation, but they never lose their sense of Self.

Actually, it can be done. Depersonalization is relatively common: http://en.wikipedia.org/wiki/Depersonalization
That article was awesome, thanks.

It's worth adding that all charges against Drake were eventually dropped.
Giles Bowkett summons monsters
Well that, and

* the long gap between XP and Vista

* that it was still selling on new netbooks until quite recently, and

* the leveling off of CPU performance.
In the expanded universe canon, this is actually given as the back story for how many of the brightest scientists were convinced to work on the project - they were told it was a huge mining station for uninhabited worlds.
Entrepreneur ideas, blogging tips
E-Wali offers Entrepreneur ideas, blogging tips, money making tips, SEO Tips and guide, internet lifestyle, suggestions, Social media, ideas and reviews about. I am an Entrepreneur blogger running a network of blogs and I am also an SEO Ace by profession and sometimes I also do freelancing.
In the draft[1], it seems the content decryption module (CDM) is where the action takes place but naturally the keys would be requested from some other key server and passed to the CDM, but according to this draft they keys will be passed via the client media stack.

I'm a bit bemused by this because:

a) CDM's are apparently just proprietary plugins by another name, defeating & poisoning the purpose of the <video> tag.

b) How can you protect anything if you hand over the safe and the keys at the same time?

[1] http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-medi...
About that cosmic rays thing... wasn't that about DRAM?

[PDF] http://www.cs.toronto.edu/~bianca/papers/sigmetrics09.pdf
Wow, I never realized it was that old but that's the one - thanks!
Doesn't anyone you know care about anything they aren't paid to care about?
It is not just a hypothetical. See http://news.cnet.com/report-teen-commits-suicide-on-justin-t...

Censoring the video may actually have prevented the suicide, because viewers were egging him on. It's hard to know.
Yeah, I couldn't believe it when I read the part where they say "Check out our sweet desks. Jealous??"

I re-read the post and can't find anything qualifying as arrogant or exaggerating. I'm not a 37Signals expert, and I'm sure there are examples elsewhere, but certainly with regards to this post you're off base.
I would've gone for a detailed title too, like __ "How Microsoft is killing off the Zune and Windows Live brands in Windows 8; Live ID to be renamed to Microsoft Account" __ but that would be 118 characters(with spaces) well over title limit(80) at Hacker News.
I would love to hear more about that architecture. I just added 0MQ into our product to handle pushing and pulling events, among other things. Some of the events are OK if they get lost; others, not so much so. I've been thinking about adding something like redis or mongodb to the mix to provide a layer of persistence to those messages.
PHP in browser (using JavaScript)
You don't understand the concept of real-time devices. http://en.wikipedia.org/wiki/Real-time_computing

Really java made the phones less real-time, but it was 10 years ago that one of the first Java phones in the US was sold by Sprint. Nextel I85s came out in 2001, and the Sanyo SCP-4900 (with 12-bit color!) came out in 2002.

All those apps and games and syncing? Means diddly squat if the god damn phone is locking up from apps clogging the CPU and preventing me from pressing the "Pick up" button when i'm receiving a call. Phones today are (in general) overrated, overpriced, hardly usable pieces of shit.
I'm in complete agreement with you. Having a CI server is great for PHP work, but it would be better to have the one CI server process both PHP and javascript unit tests together.
New Alien Looking Amphibian Species Found
Every time they rebrand or kill a technology that they rolled out with great fanfare, I become less and less likely to trust them with an investment. (This is true both for consumer stuff and for development stuff ) Product rationalization is good, but there is a real cost when they change direction.
Actually I think that Go is exactly lacking lots of paradigms and is only good enough for people looking for a better C, as it lacks many of the abstractions from mainstream languages.

But if you are conformable with it, by all means use it.
this could be useful for crawlers that need to interpret javascript
I believe there is overwhelming proof of causation.

http://www.nytimes.com/2011/04/17/magazine/mag-17sitting-t.h...

http://4.mshcdn.com/wp-content/uploads/2011/05/sitting-down-...

There have been countless studies done at this point, spanning decades, directly linking severe health effects to sitting down. Particularly radical increases in the risk of heart attack and other severe cardiovascular trauma.

How many medical studies do you need? There seems to be a new study out monthly at this point proving the link between sitting down 8 hours per day and radically increased risk of death.

Unless you think the people sitting down all happen to be the ones carrying an inherently heightened risk of heart attack. See the 1953 British study I referenced above as a simple example. Recent modern studies have found the same results: sitting all day effectively doubles your risk of dying from a heart attack.
Only if you assume that being 'dumb' or 'lazy' is predominantly innate and not shaped by experience or opportunity.
PATATE AL FORNO
Volkswagen Imperial AT-AT Walker
Can anybody give some use cases for this? Would this allow me to use JS libraries (made for node for instance) in my PHP code, or is there something else I could do with this?
It's really hard to tell what the product actually does from just that one screenshot. I tried to sign up but it said my username was taken (even though I've definitely never signed up before). Looks like an interesting product if I could see what it does specifically.
Track Record Of Failure
I agree at least with the C replacement part. For everything else restricting to Python is too restrictive (pun intended), as it depends a lot on what problem you are trying to solve with which constraints.
[1-Click] Rooting Method For Galaxy S II
Show HN: Do you know anyone who will use this app I created with a friend?
Professional resume writing service
Professional resume writing service meticulously tutored me to often utilize few essential interviews underhand in the in-full petty time timely! Utilize this affordable possibility regularly!
I know nothing about this (neither redis auth nor MS' work), but if I were managing the server products, I would want to make sure the redis authentication doesn't confuse users of my platform. MS has a pretty clear goal of making everything authenticate via ActiveDirectory. Keeping that consistent may be more than a five minute task.
Good idea. As a civilization, we're a bit behind on the big stuff. Personally, I'm starting NUBE: Nerds United for a Better Earth. We'll use nanotech to turn this planet into a death star, thereby mooting all of that space-related effort. Why build ships when we can just make the planet go?
Yes... why would any website that values privacy and security not use HTTPS for everything? We've been doing that from day one on https://postgres.heroku.com.
I got the idea for having a small bunch of fresh flowers on everyones office desk from the restaurant world.

I always like sitting down to a table at a restaurant that has a small simple arrangement of fresh flowers. It's a great detail and it brings color and life to your immediate surroundings. Plus, nature is the greatest designer so there's no better influence.

We have the flowers switched out weekly. They're different each week and each desk has a different arrangement. We also have weekly arrangements in the kitchen, the lounge area, and in the front entrance.

For those in Chicago, I highly recommend the good people at http://asraigarden.com for this service. They take great care of us.
nice name :)
Infographic: The Google Panda Update, One Year Later
Kickstarter Expects To Provide More Funding To The Arts Than NEA
Hmm, there are still some available. Try again. On the other hand, there's a clip on joinbox.com
:D ... guess you are right!
We're not necessarily using Redis to persist the 0mq messages, but more so allowing parallelized processes a medium to share data. The single threaded nature of Redis and 0mq work distribution eliminate a lot of nasty concurrency issues. You may want to look into the Redis pub/sub though for what you are describing (http://redis.io/topics/pubsub)
Build, Rank, Sell: 7 Lessons Learned From My First Website Sale
maybe this has something to do with the fact that AUTH makes the connection stateful and you have to remember the AUTH state on reconnection? Just guesswork.
judging by your comment, they're doing it right. better to polarize opinions instead of trying to 'make everyone like them' and be irrelevant.
From The Article:
-- With Boot to Gecko, carriers would have an open operating system, based on an open browser and framework, with a truly open Marketplace. Carriers could create their own Open Web Marketplace and populate it with their own apps, and create their own rules. They could brand the OS and load it up with as much or as little bloatware as they like. With B2G, carriers would once again be in control. --

Wait a second.. they think it's a good thing that the carriers can create their own walled gardens with this new OS? That's the most absurd thing I have ever heard. While Google/Apple have their own barriers they are nothing compared to what the phone industry had in place pre-iPhone. Before the iPhone/AppStore/Android you could not even use the GPS that was built into your device unless you paid $10 per month, any apps that even remotely affected carrier revenue were blacklisted (Free SMS etc..) Sorry but I would rather deal with Google or Apple's walled gardens than the prisions we were in before.
"I imagine that even if a hyper-advanced Evil Empire wanted to vaporize a planet completely, it would be more efficient to push it off its orbit and into the sun than it would be to build a steel planet with a massive energy beam. And that's still ignoring all the other problems physics has in store for a planet-sized object that can be steered through space, enters other solar systems, and gets close enough to a planet to blow it up."

That would make for a particularly funny episode of Futurama. I could see some race destroying planetary systems using big planets and gravity to sling other planets into their suns. And only the Planet Express crew could stop them --- and maybe Zapp. <Kiff sigh />
It could take months or years for an asteroid strike to render a planet fully uninhabitable, and in a universe with large spaceships and hyperdrives, that means a reasonable survival rate via evacuation. So now you've committed to months and months of blockading the planet to prevent evacuation. At that point, why not just blockade the planet in the first place and wait until they run out of some sort of vital food/medicine/defense goods or the population just capitulates out of war weariness?
Dart Synonym: Translations from JS to Dart
Right. I thought it odd that the price of steel and labor would remain constant for 500 years.
The Zune software is so good, I know many people who use it even though they don't have a Zune, myself included.
You want to be small, but C bit operations as native operators inside the core are a good idea.

Not being a Lua user, it took me a little while to parse that. You're right, implementing these as library functions is silly, and having a dozen implementations to pick from is ludicrous!

http://lua-users.org/wiki/BitwiseOperators

EDIT: Ok, less ludicrous now that they're shipping the "bit32" implementation.
REST is well understood? The percentage of self-described REST APIs that actually respect its constraints is almost a rounding error.
Why do you want my email password? I'm using gmail, so I assume you could use OAuth for that? Also the request permissions dialog for FB is just plain scary, do you really need all those permissions? I like the sleek interface!

edit: if I view a tweet with replies, I would like to click the tweets bellow that to see replies to that tweet (just like on twitter.com)

edit2: add google reader integration for news feeds

edit3: how about visually separating content from different sources? For instance I put more importance to stuff from FB and if posts from FB would have a blue background (just an example) I could find them more easily in the swarm of twitter posts ...
Well, first of all, he's not talking about a Microsoft-written library, he's just speaking generically of C#/.NET libraries written by others.

But Redis's authentication is very simple in any case. There's a password. A password, one. That's it. There are no accounts, no usernames, there's no "infrastructure" or any way to hook it into LDAP or other insanity. There's no accounting.

It's not for the kind of authentication ActiveDirectory does. In practice, it's more of an "Oops, did you really mean to connect to that server?" thing.
TDD comes to Arduino
I have no idea what happens on OS X but it works just fine.
To be fair, most of the solutions do list which language they are developed in, but some don't; just be nice if they all listed it.
Well, you can, see the link with token above.
That part struck me, too. I hope Mozilla is smarter than that, or else Boot to Gecko will be DOA.
Funny, when you put it in terms of editors, the answer for both editors and languages leapt out at me: claims to hardcore-ness, personal preference, familiarity, and basic human irrationality. We like to think programmers/hackers/whatever are all logical and rational because they code for computers, but... not really. All the usual social and behavioural weirdness applies.
I had a Hotmail account 10 years ago.. did it change to a Live account before.. and now it's a Windows account?.. or wait is it now my MSN Messenger account?... I'm confused.
I think it's a wonderful idea, and we do basically the same thing in our much smaller office (just one vase on the center table). When they're looking stale, we bring guests or interns to the flower shop to pick out the next arrangement.

edit: We go to A New Leaf in the Monadnock building a couple of blocks away from the office. Always a nice selection, changes frequently, and we can get a few beautiful stems for 5 or 6 dollars.
In theory, it will have the exact same use as the rubyracer gem (http://rubygems.org/gems/therubyracer). Possible uses of that are compiling coffee script using the official compiler or running the same form validation code on both the client- and the server side.

In general I'd be cautious about both the ruby racer and this as you are practically embedding a garbage-collected heap into another garbage collected heap, exchanging references between them (more so for the ruby racer - the PHP extension here is way less integrated).

This is memory errors waiting to happen.
>I'm also against telling people they have a medical disorder and need to take a recreational drug for it.

Why? Do you not believe medical disorders exist, or do you just not think that people should be told when they have them?

> And damn right Adderall is a recreational drug

So? DXM is a recreational drug, and it is also an effective cough suppressant. Caffeine is a recreational drug and it's also an effective alertness aid. Cannabis is a recreational drug and is also an effective analgesic, helps in the treatment of glaucoma, and relieves nausea.

That something can be used recreationally is irrelevant to its medical utility.
Prior to the iPod Touch, I liked Zune's navigation and found it much more intuitive and useful than the wheel that iPods used. The software was also good and it played music just as well as the iPod.

I think the UI/interface for the ZuneHD was much better than the iPod Touch as well, and the software is still better than iTunes (although both are kinda behemoths). The iPod Touch wins on having the App Store though, the Zune just really never competed in that area for me. Now I go with an Android phone, and with Google Music, my ZuneHD hasn't been used in forever.
What do you mean by "REST nouns"?
V8 Engine in PostgreSQL
I think it's an inevitable transition that Google is going through right now. Probably Facebook, too.
One of the best series exploring this area is the http://en.wikipedia.org/wiki/Lensman series. Weaponry was only useful; not obsolete; up until the enemy found out about it. In the environment he created you could pretty much negate or create something once you knew it was possible. As such they went to great extents to keep things secret.

In the end, the final solution was crashing light speed plus planets from alternate dimensions into your target planet, bonus points for negative matter planets

Anyone interested in science fiction should read these books but realize that they are a product of their time and it may offend the sensibilities of some readers.
Sebidang tanah berupa kolam kolam dan tanah darat
cocok untuk supermarket, komplek pergudangan, komplek pertokoan, pabrik dan komplek perumahan.
OK, but there's like 20 million planets in the Star Wars galaxy or something. Plus large moons orbiting gas giants, etc. All you need is a few dozen solid-core planets that it's too much effort to terraform and you're making your money back.
It's in the first line of the REST chapter[1] of the original thesis:

(...) Representational State Transfer (REST) architectural style for distributed
hypermedia systems (...)

Roy Fielding also talks about Hypertext[2], which means essentially the same (hypermedia being an expansion of the concept of hypertext).

[1]: http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch...

[2]: http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hyperte...
Yes, my guess is that the "only floats" design resulted into the "no bit ops" design.
At which point, the OS isn't doing anything but hooking that runtime to the device drivers, and the natural question will be, "Why shouldn't the browser just be the OS?"
Investigating the HashDoS issue
According to his twitter feed, that's Spain.
I cannot wait until malware authors start utilizing this functionality. They can create back doors using a regular browser/website's APIs so no firewall could possibly catch it! It's exciting to see browser technology catch up to the needs of criminals.
An Interview with SendHub (YC W12)
Private Clouds Shouldn't Mean Secret Pricing
>IDE's really know what is good for what situation
>and just autocomplete whatever is appropriate.

If people claim to be doing something everyday which requires detailed knowledge of X, they ought to be able to tell me about X. An IDE can't know if a List or Set is more appropriate. To know this, it would have to know my intent. I agree that higher-level abstractions (declarative statements implying the need for one over the other, etc.) might be in our future, but the people I'm interviewing claim to be writing Java. I don't expect a Java developer to know any particular processor's instruction set, but I sure would expect, say, a person who recently wrote an x86 assembler to have detailed knowledge in this area.
I was just looking for something like this. It's really nice so far.
My problem with this article is that it seems to assume that every world represented in the Galactic Republic has the same GDP as Earth.

I could agree with Coruscant being even an order of magnitude more productive than Earth, but Tatooine or Geonosis seem to be more akin to the outer planets in, say, Firefly (that's right, I'm mixing my scifi franchises).

Those planets are more than likely still behind present day Earth.

But, with the cannonical number of Star Wars planets being 1.24 million, they still might be able to foot the bill.

I'm also a bit disappointed there was no technology multiple for the Galactic economy. A society able to achieve something like alchemy (seems within reach for the Galactic Republic) would be able to generate raw material like steel at a very low cost.

I'm mostly thinking out loud here, but I'd say this whole concept needs more brainpower poured into it.

Also, Hacker News should have a rule that we talk about Star Wars every Friday.
Sometimes people selling / buying software just don't know what the people using it want. It's weird that this can happen to hugely popular software. Why don't they train sellers with "A list of common mistakes people make" or "things to look out for".

I remember months of hours lost because a system I was forced to use could only search the first 16 characters of a 2 line by 32 character description; where many of those first 16 characters were identical. (Sage Line 100 in a sub-contract electronic engineering company.) The vendors knew that searching for part numbers by description was crucial, as did the company bosses.

No-one wanted to pay for the trivial text edits to the parts-list; that would have cost at most a couple of hundred pounds. Time lost to searching for components, or having doubles, was significantly more than that.
"or running the same form validation code on both the client- and the server side."

That sounds great until you realize that you usually do a lot more validation on the server than on the client (is the username taken, is password correct, etc etc). So you would still have to use PHP for validation (in most cases).
Tesla responds to "bricking" issue
This article makes the naive assumption that you can only use one language per project.

If I could pick one combination of languages for all my projects, I would rather have the combination of C++ and Lua for example (and maybe also C#, if I'm developing a Windows app) than a single language like Java, Python or Haskell.

I expect that is why C has survived so well - so many languages integrate well with it (and C itself integrates well with assembly.) Go does not have that advantage, and for that reason I doubt it will ever replace C.
You missed something: you can simply pulverize the asteroid with a ground based laser cannon. No need for shields.
Running up and down stairs and aisles all day != standing all day.
"In fact, very few people do" as in "nobody cares about what's going on in your life" not "nobody cares about crime being committed."

Also, domestic spying is a waste of resources, yes, a crime, depends on the definition I would think. Like I said, these are open networks.
The Sun is Setting on Rails-style MVC Frameworks
مشاهدة جلسة مجلس الشعب اليوم 26/2/2012 بث مباشر
Computer science courses on offer in UK fall 18 percent
Perhaps it is as simple as a direct consequence of the average age at the company?