skysight-inc/HackerNews huggingface dataset:
I am not quite sure you don't make lists on a daily basis. I do it all the time when I program -- and I would guess that most people do so too.

Calculating the Fibonnaci sequence is really not that interesting, true enough, but it serves as a relatively simple way to demonstrate recursion (please don't claim you never use it, it is just masked as loops in C#).

I find it funny that you want to retrieve data from web APIs and create XML ducuments -- which is a case where you would often use lists (e.g an XML document is essentially a tree which is just a list of trees and nodes) -- so any language which makes it easy to process list would make you more productive in solving exactly the problems you want it to, if only you would learn it.
>you can always get it through the underground, the black market

"Having to press enter after typing your query" doesn't really count as descending into the black market in my eyes.

When google starts actually blocking tpb from its results across the board, rest assured that I'll be right there next to you, molotov in hand.
Well it is just the start, one of the whole points of the sub-reddit is to create awareness for some more tech minded people to get involved.

On a side note, it is very possible for city wide 100km + coverage by a grassroots movement.

The AWMN ( Athens Greece) can support well over 10k users with 1120 nodes and 110km (approx) of coverage.

http://www.awmn.net/

ps. On side note during a google search for the above, it looks like the military is already rolling this stuff out on the battlefield,
http://online.barrons.com/article/PR-CO-20111110-908833.html...
I like thin reading columns myself - as I understood there were not created for practical reasons, but to make things easier to read. And I think they do just that - it's far easy to skip to the next line and know which line you're on when the reading column is thinner.
did you see the speculation about recreating the effect but horizontally instead of vertically? you could effectively have an invisible trampoline!

Corrected that for you. ;-)
Does Fantom have any traction? It sounds interesting.
Font bundle for designers
I am very happy to read this. I have been a T-Mobile customer (from the early days of VoiceStream) and they have never given me any problems.

In fact, they let me replace an eBay bought phone with a new Tmobile one just because I had the handset protection plan (from years ago).

This is a company that provides comparably good service to both Sprint and Att and charges 3/4 of the price.

For $50 a month I am getting the unlimited 3G/Talk/Text with them, which is unheard of for ATT. Happy with my Windows Phone 7 and Tmobile :)
I used to contribute quite a lot to Wikipedia in the past (I stopped because of lack of time), and I identify with Wikipedia community, that's why I used "we".

It seems you speak of the group of people that is already used to writing wikipedia articles, and you are in this way enforcing a divide between them and potential contributors. Shouldn’t the ‘we’ who wrote Wikipedia be all of us?

Of course it should -- we are very happy to accept contribution. The only thing we ask for from contributors is to make some effort and spend hour or a half on reading Wikipedia rules, otherwise their contribution becomes a burden on us -- because people who don't care enough to read and follow the rules are not likely to stay longer, it's enough for them to create their promotional article and leave us with maintaining it.
Photons mediate the electromagnetic force it's very likely there was light involved.
I was a C# programmer for several years, and I've been writing F# full time now for a little over a year. To briefly answer your points:

- F# doesn't have tool support for _building_ UIs (e.g., Winforms designer), but beyond that, it's very good for the code which actually runs the UI (the eventing and so forth).

- You could build some functions to manipulate fragments from XML, then build some higher-level functions from those, etc., then traverse your data (whatever it is) and use the functions you've built to emit XML in a clean and _precise_ way. I think Haskell already has such a library -- perhaps someone's ported it to F#?

- You can use F# 'async' workflows to retrieve data from web APIs really easily (and quickly, if you are doing it in bulk). In fact, this is probably one of the most common code examples shown for async workflows.

In my experience, F# isn't great at everything, but in general, I'm much, much more productive writing F# than I ever was/am in C#.
Player Framework by Microsoft
The syntax is one of the things that keeps me from using CoffeeScript.
onswipe - the iPad's Flash
I know a lot of people support the model of "put up a launchrock page and hope", but I kind of hate it. From an entrepreneurial point of view it makes sense; why bother developing something that people don't want? It feels, though, like the random LaunchRock page has become spam at this point.

I know it's all about A/B testing and iterating and minimum viable product, but a sexy signup form that clearly required no time investment of your own does not make me think you're going to build a good product. It says "I'm a 'serial entrepreneur' cranking out crap to hope for a big pay day. If my product sucks and I get bored, I don't care."

It makes good business sense for the most part, but on a personal level I don't much care for it. It's the user's choice to opt in, and if the product genuinely seems useful there is a chance for mutual benefit. If not, just don't sign up.

On a separate note, what's to stop me from making up a bullshit project, putting up a fancy web 3.1 Hot New Product launch page, and just selling your emails to spammer lists? I can just put an empty and "personable" promise on my signup page and lie. "We won't spam you. Promise."

The whole thing makes me jaded about web entrepreneurship. I've been grinding it out on one company for 30+ months, so when some 'serial entrepreneur' just craps out mediocre work and gets paid to do it, a piece of me dies on the inside. Maybe I'm just old-fashioned.
Always, always, use a ssh tunnel when interacting with mega-corporations abroad. Except when you book hotel nights or transport tickets at the last minute.
Where to Buy London Theatre Tickets?
Why do websites do this to iPad users? the first page is only readable if you scroll to the left a bit, but you have to hold it there because if you let go it snaps back to unreadable. changing to the next page is hard too because it takes a full swipe from right to left. That's only when the page does not crash to the main screen first because of heavy JavaScript usage.

I ask website creators, what does a feature add over not adding it? In this case the only added thing is frustration.
Thank you all for this feedback. We were amazed by the quality of it.

Note that we have already modified our newsletter subscription process. It is now opt-in instead of opt-out as it should have been from the start. We apologize for that. We have unsubscribed everyone that signed-in since we posted. If anyone wants to hear from us, please subscribe by going to Settings -> Profile.

Thanks again.
This should be a non-issue but on Windows XP [1] silent application upgrades often fail because they require admin privileges.

[1] Win XP still has a third of the OS market share http://en.wikipedia.org/wiki/Usage_share_of_operating_system...
Go look up the sources for the Scala 2.8.0 compiler.

Worst and most difficult to understand code I have ever seen. It is simultaneously confusing, hard, badly commented and uses every single Scala feature I have ever seen, including non-root imports in the middle of files, extensions of anonymous classes sometimes with other anonymous classes, and my least favourite: path depended typing (sometimes from non-root imports started in one of several traits that may or may not have circular inherietence patterns).

But that said, it has never been a problem outside the compiler.
I don't believe it's the rationale, but it does have a tiny advantage in readability compared to old style format strings, e.g

"hello $name we welcome you in hour team '$teamName' of ${members.size}"

vs

"hello %s we welcome you in hour team '%s' of %d" % (name, teamName, members.size)

While, comparing it to modern python's str.format, which would be (i believe please correct me if I'm wrong)

"hello {name} we welcome you in hour team '{teamName}' of {members_size}".format(name=name, teamName=teamName, members_size=len(members))

...I guess my question would be the opposite: why is that better than string interpolation (which has also been around for decades)?
You need the Doom 3 data files - buy the game.
First Demonstration of Inkjet-Printed Graphene Electronics
I've never been completely convinced by the idea of hacking the Django ORM to be able to talk to non-relational data stores - if you can't do joins, you lose most of the stuff that makes the ORM useful.

I'd much rather see tools like the Django admin evolve interfaces which can be plugged in to the Django ORM or plugged in to some other backend (PyMongo, CouchDB, SimpleDB, AppEngine DataStore or whatever). That feels to me like a more natural point for an abstraction layer than the core ORM itself.
AZ legal separation
Wouldn't reducing friction also reduce the braking effect and make the spacecraft hit the ground at high speeds?
Onswipe is horrible. Either use native scrolling or web-scrolling. Don't fake it. It doesn't work, fails in the most crappy ways. Just stop.
Bah, WalMart. Your premise that "it harms all of us except the king-makers" is fundamentally garbage. WalMart benefits hundreds of millions of ordinary everyday people to the tune of billions of dollars, and every dollar that someone saves by having their groceries shipped with a more efficient supply chain is a dollar they can spend on things which are meaningful to their lives. WalMart's positive impact on the US economy is bigger than the last recession.

Would you approve of a 10% tax on groceries for the poor? Because that's essentially what you're calling for when you call out WalMart.

I suppose it's easy to bitch about the "king-makers" when your own little barony is disrupted.
We don't know that nobody is trying to replicate it. We can only be sure nobody found a commercial application for it.
It's interesting you point out it would be a "slippery slope" to be on.

It isn't a hard stretch to imagine in the future, you need to turn safeSearch off to see them in search results. Sometime further in the future you'll need to add some other preference or something to see them. Then, you'll need to be logged in and have a "verified" account. Then....

I think it's safe to say Google are well and truly on the slope of slipperiness.
Pro tip: dont insist, 99% of them will never change the browser, instead install Chrome Frame
The idea is cute, but seems unlikely to happen. If someone's parents are the sort to let their children upgrade their browser, they're also the sort that probably had their computer set up by their children which means it's probably already updated. If they're the sort that are in control of their own computer usage they probably aren't comfortable with their children changing the way their computer works.
Lynn Margulis, 1938–2011
>If I destructure a 3-list to 2 vars, I want it to fail, dammit!

Why should that fail any more than:

var a = foo[0];
var b = foo[1];
// rest of foo unused

Destructing is just another way to access into a list. There's no notion of completeness here, and there's nothing necessarily erroneous with not referring to all the elements. What would you do if you need just the first 5 elements of a 100-element long list?

That said, if they're going to include destructuring, it'd be nice if they also included a way to bind the tail.
Because it is badly designed? Or because it is too different from js?
Dragons Den and the like are close to that. It was fun watching. However, I rather would like to see a documentation series on how startups try to solve real problems they face during their development process: first customer, marketing, hr, funding etc...just one start up per show...
Agreed - but it wasn't 2 hours for android app coding, it was 100k for :
conceptualization,
requirements analysis,
content development,
clearance,
translation,
programming and software design (including coordination ....)
testing,
accessability requirements,
documentation and
(FINALLY) implementation.

Even if you were to divvy that up evenly, it would make the implementation 10% of the cost.. about 10k.. which is pretty cheap on a "work for hire" basis of a software house for a software developer.

Now I look at this, it's actually quite cheap !!
We use libraries to handle XML itself, and convert it to objects, so that we get compile errors when schemas change and know what code has to change to match it.

If we were DOM-walking or similar then I can totally see where functional code would come in useful (LINQ being a halfway house in that respect).
You'd be surprised at just how many people are still using table based layouts, inline styles and JavaScript, they keyword meta tag, and a ton of techniques that were cutting edge in 1997! And I'm talking about professional design firms!

I love HTML5 and I see no reason not to use it today. I know that there are still people using browsers that won't support the majority of features but we can still at least use the new tags and doctype with the JS shiv. For everything else there are well known ways to serve up new hotness to modern browsers and old lameness to old browsers. For example we can use the video tag with the last line before the closing tag being an embed for a YouTube or other video player as a fallback for older browsers.

I think there are 2 and a half reasons why HTML5 isn't being widely adopted yet. First, newbies are being fed old techniques from online tutorials and old books. Secondly, many of the cooler new features of html5 require JavaScript to work (Local Storage and Canvas for example). A lot of people still haven't gotten on the JavaScript bandwagon (including me, I admit. I can use jQuery plugins and get how they work but god help me if I had to write a single line of JS from scratch!). And then reason 2.5 is that people are just set in their ways. There are a ton of people who had been fed the rhetoric about semantics, divitis, and how to "properly" write HTML while learning XHTML and waiting for the I,agin any XHTML2 spec to arrive. Some of those people are set in their ways or have sour grapes about XHTML not being the new hotness after all the hype.

I have a question though. Why is it that in the HTML5 Boilerplate the doctype tag is in all lowercase? My text editor highlights it like its wrong. I usually capitalize the word DOCTYPE and leave html in all Lowe case. Does it make a difference?
It's not really automatic interpolation. You have to very explicitly place the variable name inside ${var}. I'm puzzled in how you would think this will happen accidentally, or more accidentally than writing "+var+".

I've used Ruby quite a while and never experienced any problems with the very same construct in there.
> It's neither destructuring-bind nor pattern matching... If I destructure a 3-list to 2 vars, I want it to fail, dammit!

Yeah I agree with that one completely: unless I tell you I don't care for it, you don't get to ignore it.

It's in line with JS's non-strict handling of arguments though (missing args are `undefined`, extra args are in the `arguments` object), which makes it hard to argue against)

> Templating: hello, PHP! I thought we already know better

Meh. Ruby also lets you do that, it's OK. String formatting is a good idea and interpolation is no worse than sprintf-style or C#-style.
IPOs stoke San Francisco housing market
Well, see above, it actually wasn't true voxels in this sense.
Beaten to the punch by yet another photosharing app, that shipped after Color's, and also has no obvious traction?

Bizzaroworld?
I don't want to get too personal but do you go about your life this negatively and sarcastically all the time? How sad it must be.
ml like languages are THE perfect languages for working with xml. The algebraic datatypes which you spend the majority of your time creating in them are xml dtd's. The functions you create are xsl transformations. The compiler doesn't allow you to make silly mistakes in any part of your code. See cduce and ocamlduce which are completely based around the idea of xml.

More generally they best suited for "symbolic" programming, compilers being the main example. They don't offer much when you're doing a few things with an api or numeric code (python and numpy are better in that case because of their libraries and because you don't need the additional safety of types when writing small programs/scripts),
Money, money, money.
Pinoy Shows in Other Countries
I'm never been a rabid telenovela viewer but I never realized that some Filipino telenovelas and films have made it to other countries because I'm used to see many Latin American soaps transformed into Filipino primetime hits and recently, Korean and Taiwanese shows dubbed in Tagalog. Our neighbors in Malaysia, Singapore, Vietnam, Cambodia, Indonesia, and as far as Africa, there were Filipino shows aired with their native languages.
This is helpful for beginner or a bit upper [about functional programming] to get a few concept i think. For that i hope it would be very helpful informative things for OO Programmers.
I've bought every humble bundle, but never played a single game. They wouldn't have got that money from me otherwise, because I normally wouldn't purchase the game.
The only benefits of HTML are that it's supported by all vendors. But that's where it's advantages end. HTML and CSS are just a joke, and were never meant and designed to be used for application development. Javascript is a shit language, not geared towards writing performant code and projects like V8 try to workaround it, but that's just a workaround. Of course you can use hacks to achieve performance in JS too, but that wouldn't be idiomatic javascript. So, sad but true, there is lots of hype going on about crap technologies lately and it seems like we are going to deal with them in the foreseeable future, if even so experienced guys like Microsoft had to surrender and start using it.
Premature ejaculation causes and how to solve
Downvoted for misinformation[1]. I hate the subsidized phone system in the U.S., but at least T-Mobile is not like that. Let's try to spread the correct word and see if we can fix it. I'm a happy T-Mobile user after buying an unsubsidized Nexus S.

Edited to add: However, for the iPhone 4S specifically, you won't get 3G data, which is too bad. I'm thinking about getting the pentaband GSM Galaxy Nexus, though, which does get 3G (and even HSPA+, I think), on T-Mobile.

[1] http://explore.t-mobile.com/value-plans
Show me the bottom 10% of earners between ages 25-35. I want to gauge expected tail risk before I pay O($100k) for a degree.
Kate Middleton Pregnancy Rumors
Much speculation about the presence of the candidate’s first baby Middleton and Prince William. Maybe soon, beautiful and graceful woman, Kate Middleton which ranks top for the best dressed women will soon have offspring.
That's actually been the opposite of my experience. A year in, my inlaws still thank me for installing Chrome.
my idea of traction/participation for a language is some nontrivial volume on github, stackoverflow, mailing list and IRC. OP talks about fantom, scala, Groovy, Ceylon, Kotlin, Xtend, Clojure in the article (doesnt' mention JRuby or gosu, but they're worth looking into too)
Don't be a turkey: Seven ways to play it safe this Thanksgiving
Because it's kind-of a mish-mash, and syntactic elements imported from other languages (I know) tend to behave differently in subtle ways, usually making them worse or weird. Also having a single token change so much meaning (fat vs thin arrow) feels icky and hard to read/notice.
It's a good thing! I just recall our once lengthy discussions. Btw, what do you guys move on to?
I must admit, I chose the title of this submission poorly. It should have read "stop passing naked dictionaries around for everything". Of course, dictionaries are incredibly useful when called for (for instance, when you want to iterate over the keys!).

But I have frequently seen them being used when class instances would be better suited.

Dictionaries' values cannot be replaced with methods via @property, and as a result, I've found they often need to be replaced with objects at some point. DStruct is a response to that problem where your access interfaces aren't forwards-compatible with the great majority of types you might choose in the future (ORM/ODM instances are a big one).

But I've also found it quite useful in the other direction: when replacing what was once an ORM/ODM class with something mocked (e.g. the data source that was once a database has become a remote resource, local file, parser output, or configuration dict), having to run around changing attribute accessors to dict accessors is a drag at best, and impossible at worst (e.g. If you were using @property extensively to return computed attributes, or you know at hydration time that code elsewhere relies on a schema (I do both a times, as anyone writing large, maintainable applications should.).

As another commenter also mentioned, my approach does yield prettier code.

While it's not always sufficient cause, prettier code is in fact a good thing.
Single page version for the lazy: http://www.wired.co.uk/magazine/archive/2011/05/features/sex...
The data suggests people who feel like you (I do!) are in the tiny tiny minority. Personally, it just helps me set a higher bar for choosing who to give my email address to.
> What would you do if you need just the first 5 elements of a 100-element long list?

Depending on the language, either you don't or you use a "everything else" operator to an unused variable:

a, b, *_ = list

You could even alter the syntax slightly to put a "Don't care" placeholder:

a, b, * = list

same as above but does not require serializing the [2:] array slice.
It does seem like that.
Haha yeah, but do take a look at the link to Zeldman's post.

Sometimes it's a guest poster who writes about these things. They want the promotion and can't change the site's code.

Sometimes the site was written before whatever new standard the post is about came into being. It's a large undertaking to rewrite a whole site.

So,etimes we have to break the rules for a reason. Advocating certain standards or specs for the sake of standards, specs, or best practices is not what is important. What's important is that we know the rules and understand them well enough so that one day when we break those rules we know it's justified and we have a food reason for it. All in all, my sentiment is "use (name of spec or standard) when you can and if it makes sense".

I know you were kidding but I thought this would be a good opportunity to say this as I see a lot of standards and practices nazis out there who advocate for doing things a certain way for the sake of doing things a certain way, which is just silly.
Ask HN: What is your best concentration aid while programming?
Concentrating for long hours is hard. What's your trick for keeping your mind focused for long hours while programming ?
The First Android Device HTC G1 Gets Ice Cream Sandwich Ported
Thanks. I'm definitely on board with #1. I'm still trying to figure out what will work best for me for #2. It's interesting (and useful) to hear how others solve it.
What A Work Environment Should Be Like
Having seen this type discussion before, I'm guessing a top answer will be music (for some people: Music with no lyrics).
Startups must start from the heart
Microsoft Safety Scanner: A Portable Antivirus Software
I think the answer's a clear no, and he just skirts around that issue. OTOH, I could see setting something up on the simulator and testing using a desktop testing framework.