skysight-inc/HackerNews huggingface dataset:
But you're not STUCK with that. You can write wrappers. Look at HotCocoa: that's Cocoa code that looks like Ruby.

Even outside of that, though, there are a LOT of things that you can do with MacRuby a lot cleaner thanks to it being Ruby over its Objective-C counterpart. Try launching an external process, for example. It's 5-8 lines of code at the very least in Objective-C (and it's not as flexible), whereas it's 1-3 easy to read lines in Ruby, depending on how much control and feedback you want.

I think as it matures, we'll see some wrappers that will make MobiRuby closer to what people are wanting to see from a Ruby-on-iOS solution; it's weird that you guys seem to have no vision for this sort of thing.
Adding blocks to Python feels like adding classes to JavaScript... Do we really need them?
Here's a slightly more fascinating video of Oobleck (water + cron starch) on a speaker: https://www.youtube.com/watch?v=Yp1wUodQgqQ
BKF Recovery Tool Youtube
SysTools provides BKF Recovery Tool YouTube that you can watch the video of BKF recovery tool and get the answer of your query like how to recover corrupt BKF file.
decent enough post ;-)

> We (programmers) are a culture now, and usually the passionate ones are the ones that are being mocked.

nonsense. the tear-jerking displays of ninja butthurt i've seen from certain quarters since i wrote the manifesto should leave no-one in any doubt just who is, and who isn't, accustomed to being mocked.
What is randomness? Nobody knows..
I agree, I would really love an Anki DB on German.
I hope the fact that the phone is going to be the Olympia device also means it will be the first widely-available Android with NFC and mobile payment functionality.
Imho, the OP is entirely looking over the fact that many successful exits happen because a few BigCo's who are making real money on real products (ads for your local hairdresser) are so desparate for good software people that they'll do talent acquisitions.

If that wasn't happening, i'd call it a bubble. But the BigCo's are making money. Real money, not ponzi investment hype nonsense. As long as these companies stay profitable, there's no bubble.

I think.

But hey, I'm just a programmer, no economist. Of whom there's not a shortage, by the way.
> "The other two big spikes on the chart were the result of discount promotions I ran."

How did you advertise these promotions? I noticed you got a huge amount of traffic from running the promotions.
I'm not a fan too, but there's one huge advantage of extending the TLD space - we'll get out of the mindset of mainstream audience that only .com/net/org is a 'serious' domain and maybe there will be no more ridiculous bids like color.com in the future.
I'm running a thinkpad with an 8 hour (theoretical) maximum battery life. Actually it's like 5 or 6. But the model from a year or two years before that would have only gotten 1-2 hours battery life.

So improvements are being made and we're seeing them. It's just slow going.
How about you learn the native language. You will never get the most out of a platform without going native. Apps like instagram, any games, and the most exciting apps in mobile will always be native. Great programmers have the tools to build what needs to build.
Stalking is illegal, for obvious reasons. Online stalking is equally illegal, for equally obvious reasons.

Just because said stalking is automated, used for commercial purposes and has been renamed with cool souding euphemisms doesn't suddenly make it acceptable. Neither is the fact that it currently happens on such a large scale that it affects virtually every website.

These laws aren't crazy, they are a gradual return to sanity. The EU isn't crazy either. The directive sets the baseline for what is and what isn't allowed in principle, allows for plenty of wiggle room and the way it is actually implemented and enforced will be a gradually process.

All this over the top ranting without showing any self-reflection or attempt at self-regulation is exactly why this is now forced upon us from above in the first place. The EU and various government en consumer organisations have repeatedly called for the industry to keep itself in check.

Instead, the industry has gone completely mental under the motto "we do it because we can", and as a result we now have a commercial surveillance network that surpasses anything any totalitarian government could have ever dreamed of. And which on top of that blatantly violates already existing privacy laws.

Congrats. Well done. We've awoken the beast of government regulation, and we only have ourselves to blame. You can't keep pissing all over consumers and civil rights without it resulting in some kind of backlash.
Drink Coffee – Evoke your alertness
Do you often feel sleepy while doing your work at office or reading for examinations? If yes, then how about making a cup of coffee from Ne-cap Nespresso refill capsules? Mostly people are of the opinion that taking coffee can keep you awake. The more solid fact is that the coffee evokes your alertness.
A bubble occurs when people who shouldn't invest, invest and ultimately lose money.

Right now it's still just a bunch of rich guys investing, which won't effect the 99% when they lose money.
Once we get filepicker.io working on mobile browsers, sites using filepicker.io would allow users files directly from Dropbox, Facebook, etc without the iPhone directly supporting it.

And yes, we are working on IE support.
Goodbye UK Ltd, hello Delaware C-Corp.
This is more because of secrecy (and ignorance). Any company of such scale is engaged in hundreds patent disputes every year at least, maybe thousands, maybe tens of thousands, it really hard even to estimate. And this continues for decades.
Those ten-twenty disputes that made to journals and blogs are in such small amount that they can be counted as statistical deviation and more of PR or anti-PR moves.
Real patent wars are never off, especially for multinationals.
There is nothing silly no gimmicky about it.
It is just a catchy name for some technology. There are a lot of similar marketing terms in tech.
Lots more people will understand what you are talking about when you say "retina display" instead of "high-DPI display".
What's high-DPI? What's high-DPI when talking about pentile displays? Not to mention that "retina" is easier to pronounce.
Apple loves simpler names for a reason.
This is a nice summary.

Just out of curiosity - why do ebooks cost so much? (I am talking in general, not with respect to this particular book). Of course, the value of the content is high etc etc - but wouldn't pricing ebooks less make more people buy them? A $30 ebook is much more expensive, especially if you are not in US/Europe (if you are in Asia, Africa etc), than a $9 ebook, wouldn't the volume make up for the lost dollars? Again, I am not talking about big name publishers, they have their own reasons. I am only talking about independent authors, who have full control over their books/course materials.
The dilemma of the bottomless toolbox
As high DPI displays become more common, it seems like the time has come for more advanced file formats (or just using the more advanced features of existing formats). For example, PNG already has an interlacing mode that progressively adds detail to the image (http://en.wikipedia.org/wiki/Adam7_algorithm). It could easily be co-opted such that a normal image contains 6 layers of detail, with an additional "retina extension" image that high DPI browsers grab to refine the quality. This avoids the waste of downloading a low DPI image, then throwing it away to replace it with high DPI.

Even more interesting is http://en.wikipedia.org/wiki/JPEG_2000, which has "truncatable" bitstreams. You can stop getting data at any point, and depending on the encoding choices, you'll just lose fidelity in colour, resolution etc. Encoders can reorder the bitstream to deliver whatever is most useful for the image first. Browsers could then just stop when "enough" has been downloaded to satisfy the demands of the device; high DPI devices would just continue to grab more of the bitstream. It's really useful for devices on low bandwidth links, as you start getting visual results with very little data.

JPEG 2000 hasn't been widely implemented outside of specialised devices, mostly because it's computationally heavy compared to JPEG, and the patent situation is unclear. Although this does mean that it could be implemented in a targeted way, designed to solve these problems (the spec for the entire format is huge). Moreover, one of the patent holders is, IIRC, Apple.
I think that's an EU passport privilege.
Here's something that I learned working for a cable company: HBO doesn't really know who their customers are! Or to put it another way: HBO's real customers are the cable companies. As far as I can tell, HBO never deals with subscriber data. That's why you can't sign up with them directly.

I know this because I know how HBO GO works at my company. The subscriber visits HBO's site, but then they have to tell HBO which cable company they have. Then HBO redirects them to that company's website! After they verify with the cable company that they are an HBO subscriber, the cable company redirects the user back to HBO with a "subscriber" token.
Kickstarter to hit $300m this year?
Skeumorphism and storytelling
I'd be more excited if it was a 64GB instance rather than 64MB.
Iranian Diplomat Accused of Fondling in Brazil
برنامج عرب غوت تالنت 2 20/4/2012 فيديو ويوتيوب
Sure, but the rich guys are LPs in VC funds next to institutional investors who get their money straight from QE.
Doesn't the Samung Galaxy Nexus have NFC?
Ask HN: How to look for jobs in silicon valley , especially start ups
Hello everyone!

I was wondering, what is the best way to expose yourself to a lot of start ups in silicon valley, is there like some site that lists all the hot start ups that are hiring?
I hope so. Bubbles are fun

Seriously. Bubbles are where you get paid outlandish sums to program computers for a living. They're where your silly web startup gets bought for $40M for no particular reason. They're where you watch your stock portfolio double in six months, then double again four months later. A Bubble is truly a great time to be alive.

The important point is to recognize a Bubble for what it is and don't make the mistake of thinking you're actually as rich as you seem to be. Cash out frequently into things that are actually worth money, and don't go buying that $1.6M house that you can "afford" with all this "money" rolling in.

It'll stop rolling in soon enough. Then most of it will roll back out. And if you stay smart you will have had an absolutely great time of it.

At least that was my experience in the late 90's, quadrupling the salary, being "one year from retirement", then unquadrupling the salary and having a regular amount of savings and a regular looking stock portfolio. But while it was happening, it sure was good.
Adding function literals to Python would be nice. Something to turn "inc = lambda x: x + 1" into "inc = def(x): return x + 1".

But blocks? They're a misfeature of Ruby, badly copied from Smalltalk.

[edit: added "return"]
Ask HN: If we're in a bubble, how do we take advantage of it?
For some time, and peaking with the recent $1bn dollar purchase of Instagram by Facebook, and now Evernote's $1bn valuation, many have screamed that we're in a bubble.

With all the money being thrown around, fortunes will indubitably be made - and lost. From those who have lived through previous SV bubbles, how does one use the current situation to one's advantage? What do you wish you had done differently? How are you positioning yourself now?
pepsi@pepsi.com seems better than pepsi@pepsi.pepsi in my opinion.
noone picks numbers out of thin air.

they do a/b testing to see what gets the most revenue.

Usually at $9...you only sell twice as much as you do at $30...so you actually lose money.

That's because to most people $30 or $9 makes very little difference
The best advice I can give, if you're looking to get hired, is to find a startup that is fixing a problem you're interested in. See if they have an API, and if they do, build something with it. If they don't reach out to them expressing interest in one, and take it from there.
Unfortunately, it looks like Amanita debuted Botanicula here with several bonuses... and let customers preorder the game on other sites without any warning that there would be a bundle. The people behind GOG.com were given no warning that the game they were selling also be a Humble Bundle.

Amanita is now giving preorder customers Machinarium and an art book, but there was a kerfluffle for a bit there. It's somewhat unfortunate for the Humble folk.
Nope - M.A.D. principle assumes perfect rationality, i.e. all leaders with launch capability care about the survival of their subjects. This assumption worked well during the times of Cold War, but may fail in future, as more states gain access to nuclear technology and weaponry.

So I admit this principle has its limits of application, it's not perfect, but nevertheless it proved worthwhile tool to sustain global peace on the planet during Cold War era and up to this day. Imperfect tool, but only one that works.
No no, those were exceptions, easy too handle. The really most despicable tag is by far the <font> tag, or should I say <FONT>?
You're making a few assumptions though:

* Those in Asia,Africa, etc... would actually purchase ebooks if the price were lowered. Look at China, everything is pirated there regardless of price. For this reason, most content producers tend to target North America/Europe.

* That the price of an ebook is highly elastic. You're hoping that dropping the price from $30 to $10 would yield sales greater than 3x. But what if it only gave you 2x? And at a lowered price, the margins per sale are slimmer since you have to factor in marketing costs and conversion rates.

Personally, as a North American programmers I wouldn't think twice to drop $30 on a good book that I'd find valuable. My time is more important than a $20 price difference.
probably very little to release it as public domain, since people could then sell and keep all the profits themselves. It would kill their chance to sell it themselves.

A Creative Commons licence (CC-NC-BY-ND (non-commerical, attribution required, no derivatives)) might be better.
The problem with that is that it forces moving the code above where it is passed, which can greatly clutter things.

For example, consider the function "forever" in Haskell:

forever action = do
action
forever action

Now you can use it as a new control structure, e.g:

forever $ do
(sock, addr) <- accept listener
forkIO $ handleClient sock

The $ simply means "apply" and is low-precedence, so it removes the need to put () around the entire argument to be applied.

In Python, you could define:

def forever(action):
action()
forever(action)

but then, to use it, you have to give a name to your function, so:

def accept_once():
(sock, addr) = listener.accept()
fork(partial(handleClient, sock))
forever(accept_once)

This makes "forever" much less useful as a new control structure/looping primitive.

In this sense, Python makes DSLs less usable. The built-in primitives are first-class, and can have code directly within their use. Library functions are second-class, and can only have code passed by name which must then fully appear before the use.

Another example is callbacks. The reason "twisted" is probably called "twisted", and that people hate callbacks so much, is that it forces writing the code in backwards order, precisely because of this problem. For example:

def handle_result(result):
print "Done:", result
def connection_started(conn):
conn.request(SomeRequest(), handle_result)
def start():
start_connecting(connection_started)

Compare this with Haskell, as an example:

start = startConnecting $ \conn -> do
request conn SomeRequest $ \result -> do
putStrLn $ "Done: " ++ show result

Note, in Haskell, this would actually be worked out to be (by overloading the semicolon):

start = do
conn <- startConnecting
result <- request conn SomeRequest
putStrLn $ "Done: " ++ show result

But even the former nested representation is better than the backwards ("twisted") representation that makes people hate callbacks so much.
No, because torrents are available to more people than iTunes or DVDs. Try living outside the USA and/or using Linux.
Re. No NDAs: What Should Idea People Do?
Google has redesigned it's analytics landingpage
No. You can always use "named blocks", but they are called functions.
I think that adding new TLD's is inevitable as the internet continues to grow. I really believe the crux of the issue here is actually a two part external one, not the inevitable adding of TLD's. First, there is the problem of how the law on TLD's which is ambiguous at best, will deal with cybersquatting and other legal issues related to TLD's. Additionally, the larger and second part of my argument is how the search engines will add this to their already confused algorithms.
Looks like it's still running touchwhiz...
Purely anecdotal, but my experience watching mere mortals use the Internet has been that they almost always Google for the company/site they want, not blindly type <companyname>.com. I'd be shocked if Pepsi owning "www.pepsi" somehow changes this.
HTC : Done with QWERTY keyboard Phones
Google did not agree to a license but if Oracle convinces the court they needed one then that is a moot point (Oracle asserts trademark, copyright, and patents to make this claim I believe). All the differences between what MS and Google did are irrelevant if Oracle can convince the court that having Java all over the developer website and documentation created confusion with respect to what Java is.

I think to a relatively non-technical judge they have a chance -- I can imagine a judge asking himself/herself, "So you used the language Java and the libraries for Java but you said that it wasn't Java. But if it walks and talks like a duck and you call it a chicken are you still not creating confusion for anyone who knew what a duck was before you showed them your 'chicken'?"

I agree that this would line projects like IKVM up to get nailed but that has nothing to do with the merits of the case.
Correct, it does have NFC.
So do these batteries still suffer from the same problem of permanent damage if completely discharged? That's the biggest thing that scares me away from buying a Tesla (well, that and the high price of Tesla Motors models).
moreover, it would make no sense to own www.pepsi without also already owning www.pepsi.com
Is there a difference in the user agent between iOS 5.1 on a 3GS and a 4S?
We have made a paper version of our site. We are giving it away.
First of, let me say that I absolutely agree with your opening statement: I find that with every new language I learn, as long as it is at least somewhat viable and a little different from those I used before, it makes me a better programmer in all the languages I already know, because I get to think about problems in terms of the sum of all these languages and be more reflective and realistic about their strengths and weaknesses. A little programmer Sapir-Whorf going on there maybe?

As for your Python example of instanciating a class by a string - well. I realize this is going to be the groan-I-knew-someboy-was-going-to-do-it response, but I can't resist listing some imho not-so-hard ways to do this anyway:

- If you know the namespace the class is in, say your locals or globals, you can instanciate it by indexing the dictionaries returned by globals() or locals() respectively, say: globals()['classname'](constructor arguments)

- If the class is in a module, it's an attribute of the module object. If your class is nested in another class (or class instance), it's an attribute of the class (or one of its instances). Then you can do an attribute fetch by name string using the built-in getattr() function: getattr(module or any other object, 'classname')(constructor args)

- If two ways of doing this already sounds like too much, there's vars(): Without an argument it's identical to locals(), with an object as argument it returns that object's naemspace dictionary, which you can then index: vars(nothing or module or any other object)['classname'](constructor args)

- Of course, since classes are just objects, you can also add them to a container, and then access them that way. I.e. you can do: adict = { aclass.__name__ = aclass } and then adict['aclass'](constructor args)

IMHO, these examples demonstrate the same sort of "in line with the way everything else works in Python" property: Objects have namespace dictionaries that store their attributes. Attributes reference objects. Classes are objects. Modules are objects. Dictionaries are objects and reference objects.

And this sort of consistency is something Python is, for the most part, really really good at. Cf. the simple rules for assignment consistently popping up everywhere: Your regular assignment operation, function argument passing, loop variable assignment, and so on. And since assignment in Python can do impressive things (say, iterable unpacking: a, b, c = [1, 2, 3] - even nested, very handy to unpack lists of lists in a loop) the fact that it's used postively everywhere brings great power, from simple rules. That's what I meant.

No, truth be told, Python is not without its warts either. The idiotic ordering in Python 2.x I mentioned earlier is one such example (thankfully now fixed in version 3 of the language, along with a slew of others). The somewhat ugly exception of classes that use "slots" to store their attributes rather than namespace dictionaries are another (still around even in v3, though thankfully used only rarely, and built-ins like getattr() and vars() work the same on them and their instances regardless) are another. But compared to PHP ...
Yes, but you're not forced to repeat "pepsi". It could be alex@customerrelations.pepsi or inquiries@distribution.pepsi
You Don’t Own Your Social Profiles
Berners-Lee: You've Got Our Data, Show Restraint
3 Important Ways B2Bs Should Use Social Media
It does, but it is not widely available. You can get the SGS2 from almost any european carrier, but the Nexus only from some online stores... Not sure if it is provided by one of the US carriers.
When strangers ask you for specific information about claims that you make, they're not trying to insult your trustworthiness. They don't know you, so you start from a place where there's no reason to trust you at all. They're searching for a reason to believe you if you look at it in a positive way.
there's no need for pepsi.pepsi as the domain, it could be pepsi@pepsi
If you follow Intel's R&D they have consistently gotten projects from 10-15 years out to come online on time.
Canon 5D Mark III- A Review
The new Canon EOS 5D Mark III has been recently released and is a special treat for camera lovers. It is made to give outstanding performance and high resolution photos with speed and improved processing power. Still images and full- HD movie capability makes this camera superb.
Google's chief Java architect: it's 'likely' I copied Sun code found in Android
That should be very rare these days http://www.sutor.com/c/2010/07/ibm-moving-to-firefox-as-defa...
They are monetizing it. No one knows how far they can push it and what additional data they can acquire. They are actively working to change privacy norms on a cultural level.

To declare unilaterally that Facebook is overvalued is a failure to see what's happening right before you. Note that I'm not saying it isn't overvalued, but just that Facebook is making money today, and they have a lot of upside that no other company has right now.
Could you leave while the grown-ups talk? There are cookies in the kitchen.
It looks like you changed "lambda" to "def" and added parentheses. It seems like that feature is already there...
Verizon carries the Galaxy Nexus.
Oh wait, so does Hacker News