skysight-inc/HackerNews huggingface dataset:
You know how a lot of jQuery functions take either a string, or a function, or an array of strings, etc? Instead of making those decisions in your code in a series of IF statements, you could use this library and just maintain a "map" of the different argument forms and have this library dispatch the right option.

In Erlang, this is used all the time to make functions that behave differently depending on how they're called - for instance, massaging a binary string into a regular string if the function only expects a regular string.

This is a small tool in a programmer's toolkit, but could be a handy one.
Coincidentally, the NSA is at my school today. They're passing out flyers[0] with a cryptography puzzle presumably to recruit students.

[0] http://i.imgur.com/0braj.jpg
Being HN, I assume most internship seekers here are looking for software-related positions. Does unpaid even exist in this industry?

Also, the article mentions wall street many times. Most of the advice is for the banking/management/consulting field, so I don't even know why it's here.
This is cool, but I am more interested in the javascript component that does the playback. Is there anything similar open source? Having actually seen the implementation that downloads a set of linear commands in JSON it doesnt seem too hard to implement though.
Yes but doing this keep x running in the background, wich might not be power efficient, remember that this is what he is trying to achieve.
actually I'd like to hear more about this because it looks like a donation platform to me and I'm confused about this. You give money -> don't necessarily get anything in return, this alone fits the definition of "donation" to me. When you do get "premiums", they are typically worth far less than the value of your donation (stickers for $20, eat lunch with the team for $5k etc.). Again this fits the donation model.

I'm referring to "donation" model vs. "goods/services exchanged for money" model. I think both of those can be "funding." Anyway I am very interested in this perspective and in particular why someone wouldn't consider giving money in exchange for as little as nothing a "donation."
I believe it was Steve Jobs who said that people don't know what they want until you give it to them.
For a better programmable web
One site for which I'm definitely not enabling Javascript.
It's inoffensive, but it doesn't retain any of the personality of the iteration we know. I'm not a big fan, but for a company like ebay where their logo doesn't really appear in a lot of different places, it's fine.

If Apple or Microsoft released a logo with this little of personality, it would be a mistake.
7

http://www.google.com/search?num=100&hl=en&newwindow...
Hullo,

Author here. I don't think Republicans are dumb - but I'm not convinced I'd want to invest in a company run by Bush http://edition.cnn.com/ALLPOLITICS/stories/1999/05/13/presid...

On to your main point. Sentiment analysis is still imprecise - but seeing as the majority of my (news) links go to The Guardian or Independent, and none go to tabloids - it's not a stretch to say I'm unlikey to visit a News International title.

I've never (knowingly) Tweeted or otherwise interacted with The Sun.

That's one example out of many. At one point, I was sent targetted tweets about attending a conference in the USA - I live in the UK.

If they were blindly targeted, it wouldn't feel so offensive.
The details are hard to puzzle out. Apparently Alibaba was using "their own OS" (my guess is it's an Android fork a-la Kindle, but that's pure speculation) and Google told Acer (the hardware OEM) to kill it or they'd lose their Android license (for what products it isn't clear -- it seems unlikely that existing products are licensed under contracts that can be revoked like that).

That kind of behavior certainly can be anticompetetive if it's preventing the entrance of new products into the market. If my guess is right and "Aliyun" is an Android fork, then cry me a river -- if Acer wants to sell an official Android device they shouldn't expect to make money selling gray market clones on the side. And I wouldn't be at all surprised if their contracts included a clause covering exactly this (i.e. ship only official Android if you ship any Android at all).

But yes: if Alibaba is really trying to sell a home-grown OS, and Google is trying to kill it, then that's bad.
That's interesting, because as a kid/teenager, I spent a lot of time either typing or playing guitar, and I feel like both of them played a significant part in strengthening my left-hand fine motor coordination, despite being a righty.
IOS 6 for Developers
There is a lot of evidence supporting the use of Nootropics and other related supplements. Unfortunately, due to many of the issues brought up in the article, such as the inability to patent any of these substances, there is not a lot of direct research studying improving cognitive ability from a normal state. That being said, there is plenty of research on these substances, but most of the research is related to studying Alzheimer's and other Neurodegenerative diseases. They look at improving people who are already in decline, not improving people who are at a baseline or normal state and attempting to increase brain power. The users of Nootropics have to extrapolate their results based on those studies.
To pour a little cool water on this bombastic post -- I have much love and respect for Rails. We (NYT Interactive News) continue to use it for nearly everything we build that requires a server-side component.

All I was trying to say (in a direct reply to Jeff) was that I think that putting Rails on hold for 2-3 years while merging in Merb (or the Merb team, depending on how you want to look at it) wasn't, in retrospect, a wise decision.

But that's old news, and doesn't need to be re-hashed now -- it's great to see Rails 4 starting to pick the pace back up, and exploring new features like improved streaming, granular cacheing, built-in queues, and more.
I'm all for obsessing over computing & visualizing pi ... but ... wow. That's nuts.
I remember reading a lecture by Feynman where he discusses reversible computing and suggests that you can get processing down to insanely low power usage using those methods.

I couldn't find a link to the lecture in question, but here is some recent research to give an overview - http://ercim-news.ercim.eu/en79/special/micropower-towards-l...
The 3GS didn't have the higher resolution screen; that didn't come out til 4.
http://lmgtfy.com/?q=angry+birds+html5
Well, they have the same color scheme for their logo
I'm curious about "different stand-up meeting format". What format(s) do you use?
Mine fell from a table about 80cm high, screen flat down on a hard floor. Got just a ding on the corner (and a heart attack). I've dropped an iPhone 4 probably a dozen times too, it's an year old, caseless and healthy (though you can see some light scratches if you look close enough).
Well, yes, but it's not an interesting piece of trivia. Like the Erdös numbers.
I does, but that's still not pause-less, and it doesn't cover a "full" collection at all, just the intermediate ones.

I get a full collection roughly once every 10 minutes. Until then, the pauses are only in the 20-30ms range (which is still double the usual latency for a request).

With Azul Zing, the longest you'll ever see is the 20-30ms range, and it's virtually always around 1ms.
I get the motivation but this is pointless. Bloomberg should focus on ways to make healthy food less expensive. Now that is something that would definitely make a real change
>This post was written by Tripl’s CEO Peter Sullivan

That sets a certain expectation in my mind for what I'm about to read.

>we are location 'whores'

Interesting word choice

>First the first time ever

Simple mistake

>Users’ current location is a great way to gather proper metrics, segment advertisement, and A/B test on different regions, however most of these services aren’t connecting the user’s location to an object or indexing it with structure.

Run-on

>Its something

Should be It's

...

I'm done.
Sure. Maybe even vertically if they were so inclined. There is plenty of space when it comes to ports this small.
I think you're misinterpreting the meaning of 'native' in this context; the tradeoff in question isn't one of interpreted/JIT'd v. ahead of time to the metal, but rather one of Web v. every platform's standard graphical application stack(s) (which may or may not be ahead of time compiled).
screens are too power hungry. The evolution is toward glasses that project light on you eye. The first steps were to remove keys and wires, the next one is to remove screen and speakers.
In addition, I don't know if its accurate, but I have heard in the past that the QWERTY keyboard was designed to slow down typists who were typing faster than the manual typewriters could handle at the time. It would make sense that the key layout would be less than ideal for the typical right hander.
Math anxiety causes trouble for students as early as first grade
very nice interaction, great work - I also agree with keeping the indicator, it's a nice touch.
Someone in government has a sense of humor...
Did you ever try left-handed dvorak?
The industry might produce less worthless crap without the crutch of "it's not quite unusable if you start over often enough".
You definitely want to checkout Etherpad.
Because the attack only works if you can also change the messages that pass by. Passive observation is not enough, that means it won't work if you're just eavesdropping.
> Go doesn't discard the last 40+ years of programming history

Except for:

- enumerations

- exceptions

- generics

- dynamic modules

- ...
PlayStory - Create and sell your own interactive story.
yeah.. that's true. I have been using etherpad in interviews and it has worked out quite well.

Please give me a reason to not choose an open source solution and instead go with your proprietary solution. I would be glad to be your customer if you come up with a good one.
Cool, but is there any way you could implement a "back" button? I'd love to be able to go to basically say "oops, wrong turn!" and go back.

My client went from "The Tallest Man on Earth" to Nirvana. These types of music are VERY different.

Then it went from Mumford and Sons to Black Eyed Peas. Again, very different.

Obviously this isn't a problem with your client, it's youtube's recommendation system; it would just be nice to have a way to correct it.
There are already many students who are prescribed Ritalin, Concerta, Adderal etc, and these drugs give those students an unfair edge. How are normal students supposed to compete with their peers who are on amphetamines?
So, there's a difference between "how much RAM is in the box", and "how much RAM is allocated to the JVM".

The latter is where Azul Zing requires a lot of RAM to operate, as I understand it.

The recommended RAM for the JVM heap running Cassandra is 8GB, and 4GB isn't uncommon in the cloud. Netflix uses 12GB, and is contemplating going back to 8GB (they made that decision awhile ago, and things have changed since then).

I have boxes that run JVM heaps as low as 2GB just fine. It really just depends on how you're using it. (I've heard of people using 256MB heaps with Cassandra.)
The thickness of a case doesn't bother me. The ridge around the edge of the screen does.
> to some extent, i think that the demand for generics is based on familiarity.

Such as the familiarity of java developers who had to wait for a decade to get generics? The familiarity of C developers where void*? Or the familiarity of Python developers where "whatever"?

This claim doesn't check out.
What if these people are nervously scrambling to make a comment so they don't look stupid on camera?

Of course, they all ended up looking stupid, but if you genuinely believed you were getting something new you would probably feel pressured to feign being impressed.

Besides, I'd wager that they excluded one or more interviewees who said "I can't tell a difference."

</devils advocate>

Of course, it's perfectly fine for a laugh.
Ask what isn't in Go that is in Scala. The Go authors deliberately left out certain features to focus on what they call "clarity of design". I don't see them ever adding XML literals for instance!
It's an improvement over the old logo though. The old one looks really messy to me. It might not be so bad without the transparency though.
> Map/Filter introduce several new semantic concepts to a language.

No they don't. If you already have first-class functions (Go does) and some sort of sequence type (Go does), you have map/filter. There's no new semantic concepts.
Or buy the $50k key and steal BMWs to break even.

edit: http://www.alibaba.com/product-gs/466366659/New_BMW_blank_ke... is this key different than what the article mentioned? Even if you but the minimum order, it will only cost, $6k, sell the rest for a mark up.
The language offers much more powerful programming abstractions.

If you need speed, you can either go PyPy, or Cython after locating the problematic code spots.
That's just not right. It's a sinister plot.
Untucked: Apple's new uniform
Here you've got info about YouOS: http://www.crunchbase.com/company/youos

and their web: http://www.youos.com/
The web seems like a perfect medium for doing really interesting choose-your-own-adventure story interfaces. It's odd that there aren't really any examples (that I could find) that are more than just links to different pages. I wonder if it's just because video games, which are in many ways an extension of choose-your-own-adventure stories, are so dominant. I'm curious to see what sort of interfaces PlayStory comes up with.
Since they realized they got a bigger budget only by spending all their previous budget.
That would be awesome! I have an old computer which can barely run X, I could try firefox on the framebuffer
The first one I found was 3: Chip Foose, a car designer. I couldn't think of anyone and he happened to be smiling at me from the calendar on my desk.
What isn't in Scala? It seems to include everything but the kitchen sink. I would prefer to read/debug Go code over Scala and that makes all the difference to me. Go is a simpler language. It seems you need a PhD to fully appreciate Scala.
We have canonical settings in our settings.py, while every environment imports local settings from another conf. If it is necessary to have subsidiary settings also source controlled, we could do that and have the environment symlink its preference. Of course, additionally, the secondary settings could have the same dance as the primary settings and allow for another level of local configuration.

# allow overriding of settings with $HOME/.sodahead
rc = os.path.join(os.environ["HOME"], ".sodahead")
if os.path.isfile(rc):
with open(rc, "r") as fi:
dotsodahead = imp.load_source("dotsodahead", rc, fi)
settings = dict([(k, v) for k, v in vars(dotsodahead).items()
if not k.startswith("__")])
globals().update(settings)
Well he said it didn't discard the last 40+ years of programming history, he didn't say anything about the last 30 of those.
What on earth does Bush running a company have to do with your article about twitter's advertising practices?

This is the laziest form of writing I can think of and it makes you look juvenile. I have trouble taking anything you say seriously after that sort of nonsense, and I'd suspect that a big chunk of your readers are the same.

--

Okay, you didn't tweet the sun, but you linked to a picture of somebody else who did. I'm sorry I don't know who you are well enough to recognize that handle as not yours.

This is a serious question: how would twitter know what you're interested in? It's not a computational linguistics engine, it's a datastore. Explain to me how you would draw these connections if you had access to all of twitters data.
17 years old is 1995 ;)

To make us really feel old - the kids getting their driver's licenses today were not alive when the Lion King came out on video, much less was in theaters.
I can't use Go until they fix the whitespace bug:

http://zackarymorris.tumblr.com/post/26701252898/a-mistake-i...

But other than that, it looks like a very tasteful language and I want to use it for some parallel computation experiments since they make it so easy to spin off tasks.
I'm glad I saw this comment on here. I was thinking the same thing. Why did they make it over obvious (at the beginning of the article) that the author was the CEO? Why not just a simple tagline at the end or put that whole block of text at the end of the article. By making it such a big deal at the beginning, like they did, I did exactly what you did. I scrutinized the article much more, naturally, because I figure it had more importance since it was such a big deal that it was "written by the CEO".
Your comment about your children's names reminded me of something I heard Bill Cosby say once. When he was a kid, he and his brother thought their names were "Dammit" and "Hellfire" until they were twelve years old. "Dammit, get in here! Hellfire, get out of that tree."
My wife's phone fell off a countertop, resulting in a completely smashed screen. (Basically a dense spiderweb of cracks covering the entire screen.) She wasn't using a case at the time, otherwise there's a good chance that wouldn't have happened.

However, it was fairly cheap to replace the screen (~$50) so maybe there's still no point in getting a case.
Yes it is, but I believe the point of comparison is an off contract iPhone, which is $650 or $700.
I have children 1 and 3 who use my Android, and sometimes drop it. No problems. Just in case, however, I do send them out of the kitchen when they're holding it, since it's our only non-carpeted area.
The iPhone “Icon Ceiling” has been broken: is this the beginning of the end?
I haven't 'diff'-ed these two lists but a similar listing of Go-related talks can be found on Go community's unofficial wiki: https://code.google.com/p/go-wiki/wiki/GoTalks
A really minor point- why is it that the phone icon nowadays has defaulted to a handset turned to that angle, with green as the color? That looks similar to the phone icon in some of the Samsung phones that look more like iOS.

Is green and at 2 o'clock simply how we think of calling someone now?
user:	michrassena
created:4 days ago
No submissions
No comments (besides this thread)

So, its safe to say you are a Troll.

But, for the faithful HN reader:

To sum: [a] digital data is recorded in a non-linear function vs perception by the mind. [1] digital scan translation thus make it 'visible', based on a variety of adjustment parameters. [2] each input and output device has its own gamut, or sub-space of EMR. [3] translation through each device results in multiple renderings. [0] The capture medium was positive monochrome stills, in three parts. It follows that there is no color information in the tonal maps. [4] Tonal density variances provide the only color information that survives. But, absent the original filters, all presented information is inferred. [b] all output devices have gamuts, and are subsets of the visible spectrum. We lose information at capture and at output. [c] the purpose of image processing is to ensure as much information survives, in its most usable form. [d] a/b output testing ensures presented information is accretive to its base image, otherwise such an output would be rejected.
Rap Instrumental Beats For Hip Hop Artist
Very interesting article on Promoting and utilizing online rap instrumental beats for rappers and hip hop artist.
Currently most commercial JVMs beat down Go's GC with hands down, specially in 32 bit machines.
> So I'm curious, what would be an appropriate number of subjects?

This depends on the experiment. Some of the things to account for are the number of variables, the confidence you are looking for and the amount of interdependence. Consult a statistician, particularly one expert in experimental trials, for an evaluation.
I remember when I first got smartphones around 2006 or 2007, I was breaking mine every 6 months or so. I currently have the original galaxy from samsung, and it is still going strong over 2 years later.

I think the cases were really important, but once the HTC Hero and that generation came out, then magically my phone lasted years!
Because it has a lot more "ceremony and structure". Sinatra is a Rack app. It hides the raw boilerplate from you just like Rails hides a lot of the boilerplate you end up putting into a Sinatra app of any significant size.

There's a continuum of "more manual work" <----> "more framework", and there's no one right answer, even for something like a JSON API.
The "it feels so much faster" comments don't fly with me. The iPhone 4 still feels slick and speedy in September 2012. The 4S was faster, but it wasn't noticeable except for certain apps. Now the 5 is 2x faster again, but it's how much CPU is really needed to slide icons around and play music and look at photos?
Google says Justin Bieber's bacon number is 4, but he was in Men In Black III with Josh Brolin and Josh Brolin was in Hollow Man with Keven Bacon.
You Are Not Your Customer
Show HN: Our App for simple planning
Microsoft could just make Visio interface a bit little messy. I.e. eliminate the need to open popup menu in order to change properties, add quick search for objects etc.
Now that would be truly exciting! I'd love to see a battle between Google/Ebay and Amazon take shape.
After a decade of research, Intel shows off its digital radio chip
That sounds amazing! When you've got this MUD on Rails going, please do submit it here. Similarly, I'm working on a MCaaS (MUD Client as a Service ;]) half tongue-in-cheek to learn more about Node. There's no feeling like using new & exciting tech to solve the problems of our neckbearded forefathers.
After 17 Years, eBay Debuts A New, Sleeker Logo
Either way is valid. This way, you don't change the text you originally wrote, which some might view as more honest, and in addition the reader is warned in advance that there's an inaccuracy. As long as they can't come away with the wrong impression, the update's good.
Most of what John Holcomb says is pretty true. He is involved in a company that sells supplements. Brainpower Nutriceuticals is a new company that comes from his former company, Cerebral Health. Cerebral Health is well known in the Nootropic community as a good, honest, and safe supplier of many different substances. I have used them as a piracetam source before. He really does little to sell his products in his article and discusses what is already common knowledge to even beginners interested in Nootropics.

Being an outsider on the topic, I can see how this may come off as sketchy, but the truth is that the Racetams, as well as any drug, have different effects on different people. If you want to get into Nootropics, you will need to do a little experimenting and a lot of research. There is no such thing as a one-size-fits-all stack or supplement regiment, but when you hit it right, you will notice a difference. You won't be a genius, but you can remove what is called "mental fog," a condition that you rarely known you have until it is gone.
It's not that there's a lot of things that you flat-out can't do, it's that you can't do those things in a type-safe manner. The type system isn't capable of representing what you're trying to do. This seems like an odd omission in a language that otherwise has static typing.

I suspect this is why a lot of people who've jumped on the Golang bandwagon come from Python & Ruby: they're already used to no compile-time type safety, so they're not missing anything. For people who like type systems and have a style of programming that relies upon them, Go doesn't give them the tools they need to be productive.

In Steve Yegge's terms: C++ is a pretty software-conservative update to C (it even has backwards-compatible syntax). Meanwhile, Go is a pretty software-liberal update (slightly to the right of Python). G simply does not support a software-conservative programming style. Consequently, Go's adoption has mostly come from software-liberal communities.
Facebook never bet on HTML5