skysight-inc/HackerNews huggingface dataset:
> First, many (I dare say most) Go developers[0] don't really use any "solution" for this other than the features built into the language itself. In other words, they're not out there writing alternative solutions because they genuinely don't perceive a lack of generics to be as big of a problem as other things, which they do write tools for.

I dare say that most people don't use generics, because most people are not library authors and abstraction builders. As soon as you get into that territory, the lack of generics starts to seriously hurt. Because it's one thing to build a component that's very specific to a job at hand, it's quite another to build something reusable and I'm not even thinking about reusability by other people.

One example would be data-structures. Sure you can build your own concurrent data-structure for moving bytes between threads, sprinkled with domain specific utilities that operates on it, because that's what your application requires. It's quite another job entirely to come up with a set of reusable data-structures that can be used no matter the contained values and that exposes high-level operators for manipulating them and then you end up building half-baked data-structures for each job at hand you have.

Another example is abstracting over common patterns by means of higher-order functions. Say you want to send messages between channels, threads, address spaces or what have you, in classic producer/consumer style, but without the producer carrying about whom subscribes to its notifications. Then you realize that your stream could be manipulated for fetching just the information that you want by means of `map`, `filter` or `flatMap`. Say you want to abstract away the loops one normally does with the atomic CompareAndSwap, so you think of operators like `transformAndGet(f: OldValue => NewValue)` / `getAndTransform` and `getAndExtract(f: OldValue => (Extracted, NewValue))`, which are not uncommon in other languages, so it's not like we are being original here.

Basically, every piece of abstraction that could happen with higher-order functions is overkill for a static language without generics in it. And people don't see it, because most people aren't thinking of doing abstractions by means of higher-order functions. And Go's interfaces are seriously not enough because we are talking about a different kind of polymorphism here.

And in regards to people coming up with their own solutions, I see it no different than with Perl and the lack of OOP-ish facilities baked in the language that drove people to building multiple, often shitty and incompatible alternatives. Yes, this eventually led to Moose, but the ecosystem is still plagued by older implementations, because open-source never really dies. And I would remind you that most people that were using Perl in the beginning had no use for OOP, it just so happens that people eventually did need the libraries that needed OOP, going back to my original point that it doesn't matter if most people don't feel a need for generics, the more important question being what do library authors think about it and I'm pretty sure that people publishing libraries aren't happy.
> The moderate-level long-term cosmic radiation will probably be an issue for colonists, making cancer quite likely for anyone spending 40+ years there.

But instead of saying that, you decided to say:

> This is plain silly. "Solar wind" is absolutely no danger to people on the surface of Mars, at all.

instead. So, uh, I guess you win one Internet for pedantry.
Google is not a good choice for sending out mass emails.

Even with premium Google account you cannot send more than few thousand emails per day.

So either setup your own server (lots of up front effort to make it right) or use something like Amazon SES or SendGrid.
The info about this subject is quite scarce in english. Resuming: Recently it was approved big changes in portuguese judicial system. To allow that changes, the IT system had to be updated. This system (Citius/Habilis) was developed in late 90's in VBase 6. Old developers are gone and the new ones are taking time to catch up.. Courts are almost stopped since Sep 1.

http://observador.pt/especiais/tribunais-mudam-mas-nao-conse...
(content in portuguese)
It's essentially an Android-like home screen allowing icons & widgets.
EditRevise
Remember when Camera+ used the volume button as a shutter and Apple struck it down like they were literally hitler? And then Apple later incorporated it into their own camera app?
Popcorn Time Finally Comes to iOS
>> You might as well demand everybody on Earth speak English.

> That's working out quite well so far.

Not really. English is a minority language, spoken as a primary language by only about 5.5% of the world's population.

http://en.wikipedia.org/wiki/List_of_languages_by_number_of_...

One more juicy anecdote: there are more Chinese people learning English right now, than there are English speakers in the U.S..
Ugh. I think there's a lot of sense in this comment, but it still seems horrendously wasteful to install multiple, redundant versions of libraries just to maintain separation between applications.

Hell, space and bandwidth are cheap: Let's just distribute all of our applications as 2 GB binary VM images.
I would say local elections should be stressed not only for the reasons you say, but also because they often have a bigger effect on your life.

And as it happens, in some local elections your vote matters a lot: http://www.co.washington.ar.us/Modules/ShowDocument.aspx?doc...
A big issue is that the app was approved in the first place. If I'm having an emergency and a cop stops me and says it's fine to speed, then tickets me a mile later, I would be surprised.
Why "depressing" that a device with little complexity costs less than one with much (smart implies much) complexity?
Apple isn't a single infallible guy. I am sure that reviewer got reprimanded, and told to escalate anything that ground breaking in the future.
Very cool.. thanks for sharing. Long time user of Keep, will try to see how this handles. Are geo-location tags also available within the notes you take? Can they be connected with reminders when you are passing by certain location? (similar to Google Now)
Amazon payments already replaces most of what PayPal provides. Why on earth would amazon add paypal?
I agree this does solve the `go get` problem. However, a better thing would be to improve `go get` and make it use an actual build system. `go generate` is a step in the right direction but they expect you to check the generated sources in. I would prefer a tool chain that allowed your API customers to do code generation from your library. However, these things are more complicated and the Go Author's are probably right to do the simplest thing first.
You don't have to be part of that half of the population.
Interview but no pictures: http://www.gorp.com/parks-guide/travel-ta-secrets-from-the-p...
Hi, my name is Elon, and I have a great idea! We should tax Americans $42 billion/year indefinitely and pay much of that money to my company SpaceX. We'll build something on Mars, eventually, if possible.

Let's have the US Congress fund this because as we all know they, like me, have no conflicts of interest, make decisions based purely on the science, have a very low time preference, are good stewards and very wise spenders, and plan for the future. And if Congress funds it then Americans must be willing to pay for it because, ta da, democracy!

I'm pleased to announce that I have made a personal and very generous contribution of $10 million to increase public awareness about the need for this project.

You're welcome humanity.
It also has a CLI app:

$ cloudapp -d myfile.pdf # upload the file and copy the link in your clipboard
I think that would only work if neither A nor B exposes anything about C. I'm not a Haskell user, but certainly in Scala and Ruby there are plenty of libraries where library consumers see objects from underlying libraries.

Suppose C is a JSON library, for example. In my code I fetch a JSON object from A, with library version C1. What happens when I pass that object to library B, which uses C2? Is that an immediate type violation because C1 and C2 are treated as different types? Do you live with runtime failures when, say, B calls a C2 method not in C1? Do you you try to create some sort of magic object conversion and hope that the data isn't too different? Or do you try to require all libraries to describe how to convert data from every version to every other version?

Even if the two libraries never interacted and data could be proven never to flow between them, there's a real question as to what version of the library is available from the main code.

Despite my concerns, I suspect that you could make this mostly work if you were cavalier about possible runtime errors, because actual conflicts would be rare. But from what I understand of the Haskell community, they're not big on "cross our fingers and hope it works at runtime" approaches.
DevOps here. What was the red flag? (Curious for the next time I'm interviewing)
In my local group of haskellers, nixos is taking off as a system level package manager that does virtual envs, and multiple package versions pretty well. I haven't had a chance to play with it, but perhaps a sufficiently smart package manager can do both?
"your current phone is just fine, save your money and use it for something more important" -- no way.

moving away from my Nexus 5 (which I have been unfortunately using for the past few months) back to iOS, and particularly my 6+ has been MUCH appreciated.
My dad installed Ubuntu for a friend of his - a non-computer-savvy poet - and she was quite happy with it. There's a distinction to be had between "use" and "administer" (I'm not sure how much administration of the box she did or didn't do).
Alibaba spun off Alipay. How does the Alibaba IPO demonstrate spinning off PayPal is a stupid idea exactly?
I don't think living on mars will be that hard. I think building the large industrial base required to extract resources and manufacture the equipment required to live on mars will be very difficult (read expensive and slow).

It may, in fact, require more resources for one person to live on mars than one person can produce with our current (or near future) level of technology.

I think just building the energy infrastructure to do energy expensive things like make steel or silicon ingots will be very difficult. Not to mention that there is no source of petroleum on mars, so plastics are going to have to synthesized using other materials. The difficulties are legion once you get down to the details.
I think you're right, but it's equal parts being prepared to when the opportunity arise and purposefully putting yourself in situations that increase your odds.

E.g., nobody ever got laid staying at home, no matter how pretty, nice, rich or lucky.
Coming Soon to the Library: Humanoid Robots
Client Unveils New Site Design, Appears to Have Broken Own Website
There is a shortage of good developers almost everywhere. If you don't like your job get another one. If you're a good developer you won't have a problem finding one, and your employer will probably learn that you are not easily interchangeable.
I think Diaspora happened at the wrong time. ello has a relatable "story" that people like and at this point pretty much everyone knows about privacy problems. I'm not saying ello is a better idea than Diaspora, I just think ello is making more sense to the average person right now than Diaspora ever did.
Not sure if you are serious or not but there are many illegal animals in the US. Rhinos, Elephants, and Hyenas come to mind for family pets.

Here is a link for CA.

http://blog.sfgate.com/stew/2012/02/29/pets-you-cant-legally...
But then I'm right back to having types named "IntSet" and "StringSet". Though at least they're not using copy/paste code implementations.
They politely limit participation to serious devs with this field on the form: "I have an existing HTML5 app that I will port to Firefox OS for Matchstick" with only one option: Yes.

Well, I could certainly edit the DOM and fill in my own answer >:) but I don't have an HTML5 web app.

Fortunately, the same equipment seems to be available via their kickstarter for $24.

What the heck is this? http://www.matchstick.tv/developers/hardware-apply-check.htm... An EULA?
We were thinking about doing something like this as a demo of our cloud database http://schemafreedb.com/. At first that is what I thought this was a demo of a cloud DB.
The only way for them to fix this would be to have their own client that would attempt retries while caching unacked logs locally, but they market not needing a client (only syslog) as the benefit.

TL;DR Loggly can't promise no data lose in its current incarnation.
> Developer forges ahead in gray area (there's history here with apps that launch other apps).

You make it sound like being in a grey area is a bad thing. Most things worth pursuing are probably a little grey in some sense, otherwise they're probably just a 'me-too'. That this app was downloaded so much indicates a strong desire for it. Retrospectively coming up with policies will always create ire.
Show HN: Node.js query the metadata tables of postgresql
Quote: "The app is free and there isn’t a monthly fee. Because, you know, piracy."

I love these modern, concise expressions -- an absolute minimum of words, but perfectly understandable to the contemporary mind. My favorite is this classic defense of rationalization: "because because."

EDIT: one more point:

Quote: "As for users, it’s perfectly legal (although arguably unethical) to use the app because neither you nor the app hold the movies — the movies are pulled from the Internet."

That's not "perfectly legal," unless sneaking into a movie theater is perfectly legal. Readers, don't be misled by this article -- downloading pirated content frame by frame, to be viewed and then discarded, is no less illegal than downloading the entire movie in one go.
Well, that's a different rule.

2.17 Apps that browse the web must use the iOS WebKit framework and WebKit Javascript
I'm willing to bet their approval process is mostly automated these days.
You control what you open stuff in with web intents. The site the document is stored on doesn't.

Say Google Drive supports web intents:

If you have a doc on Google Drive, and you install an intent for a Google competitor word processor in your Google drive, you can open it, edit it on that service, and save it back to Google drive.
I understand that is's a very hard problem to solve, but there has to be something better than the Status Quo.

A couple of months ago, I wanted to write a simple Web App using Yesod. The only way to get a working installation of yesod and all the dependencies was by using the sandbox thing. This however meant, that after every code change, you had to wait ~10 secs for the project to rebuild. That doesn't sound like much, but it gets annoying very quickly.
It's interesting that the pendulum has swung the other way in favoring readability over features. In many ways, Go seems to have something Pascalian lurking under its surface - WOCA with static compilation (and fast compile times), readability favored over terseness/expressiveness, and deliberately trying to limit what can be done (i.e., no pointer arithmetic) so that there is a 'sane subset' by default.

I've played around with Go (worked through the Go Tour and implemented some trivial site scraping/JSON client stuff). It's an enjoyable, straightforward language, and it makes it very easy to get started, but I fear that it will be (like Pascal) eventually overtaken by something hairier. (Go : Rust(?) :: Pascal : C++)
Show HN: Realm for Android
troll#, of course ;)
How IBM Got Brainlike Efficiency from the TrueNorth Chip
Debian may drop kFreeBSD from the Jessie release
What a load of begging questions. I wonder what you have to be, to be special according to the flavor of meaning you just happen to prefer?
Looks like HN has blown the sites quota out of the water... though as it redirects to http://www.alternatewars.com/cgi-sys/suspendedpage.cgi you've gotta wonder what the cgi is written in.
> the economy should strive to give people credit for what they choose to do

The economy is an inanimate abstract. It does not strive for anything. It is not interested in anyone's perception of what is fair any more than my phone is interested in vulgar language.

The economy consists of billions of individuals getting together and saying "I have x to offer, I want y". To try to force some idea of justice, morality, fairness, equality, etc. into this equation is to say individuals do not have the right of free association; that they, the simpletons they surely are, are not smart enough to choose for themselves and judgement must be deferred to some all-knowing third-party.

Please, just don't.
That most likely would have happened anyway. Even without Columbus's voyage, the existence of ships capable of intercontinental travel would have led to an an encounter that would have played out much the same way: decimation of the population by foreign pathogens from a society with strong immunity due to high population density, ensuing collapse the native states that may have been able to organize resistance, looting of mass quantities of gold and silver, and mass agricultural slavery. The only difference would have been a slightly greater technological edge for the invaders.

Also, there's nothing special about Europeans. If the explorers had been from China via the eastern region, the scenario would likely have played out the same way. Up until modern times, most warfare was either about power, e.g. preventing a rising rival or conquering a falling power, or extraction, where the goal was to remove as much wealth as possible in as short a period of time as feasible. Given human history, extractive warfare against the native population by militarily superior Eurasian invaders would be the expected outcome.

So no, I doubt the lack of Columbus's voyage would have done more than set back the timetable a bit, or changed the players. Societies in Eurasia just had too much of a biological (germs from city density), technological, and organizational advantage.

That said, what's unique about the Mars colonization idea is that we may have a limited time window in which to try it. Given that our chief sources of energy are non-renewable, we are living in a golden age of cheap production. We haven't so polluted space for Kessler syndrome to lock us in. We even have precociously advanced space technology due to the huge boost from the USA-USSR space race.

Right now we're watching our space programs atrophy. There may be a limited amount of time to get a viable off-world colony going.

Sure, right now we're talking about an Antarctica-style bunker mission, the Martian equivalent of Apollo. But to get to a true space colony you have to start somewhere.
Things I learned about Swift building an Iphone app
Are you trolling?

Your profile states:

>my AppleTV runs XBMC

Which breaks the terms of your Apple TV software agreement.
http://images.apple.com/legal/sla/docs/appletv.pdf

>You may not, and you agree not to or enable others to, copy (except as expressly permitted by this License), decompile, reverse engineer, disassemble, attempt to derive the source code of, decrypt, modify, or create derivative works of the Apple Software or any services provided by the Apple Software or any part thereof (except as and only to the extent any foregoing restriction is prohibited by applicable law or to the extent as may be permitted by licensing terms governing use of open-source components that may be included with the Apple Software).

>BY USING YOUR APPLE TV, YOU ARE AGREEING TO BE BOUND BY THE TERMS OF THIS LICENSE, UNLESS YOU RETURN THE APPLE TV IN ACCORDANCE WITH APPLE’S RETURN POLICY. IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT USE THE APPLE TV.

So, like it or not, it's what you agree to when buying an Apple TV. You should probably return or not use your Apple TV
LibGDX Wins Duke’s Choice Award
This is what I meant by "scripting hooks". I have something like the following in package.json for various projects:

"devDependencies": {
"bower": ">=1.3"
},
"scripts": {
"postinstall": "bower install"
}

This way I never need a global install of bower, nor do I ever really need to use it directly. I don't see why something similar couldn't be set up for any other npm-able package manager or build tool. A bit of googling seems to indicate that npm can update node using e.g. the "n" module. That module or another like it can of course be a dependency in package.json.
Oracle highlights continued Java SE momentum and innovation at JavaOne 2014
eBay has most of the profit in the business. PayPal has sales growth, but is nowhere near as profitable as the eBay auction platform. There's no doubt the market wants access to PayPal's growth, but eBay is the profit machine in that relationship. eBay's platform margins are extreme.

PayPal will have to become five times larger to equal the profit that eBay spins off. Perhaps they can pull that off, but it's going to take a decade or longer.
That is also correct. Cars should pass cyclists in bike lanes carefully. As carefully as they would if there were no bike lane. The paint changes nothing.
How many children was it worth killing to make sure Japan lost? What if the alternative to bombing Japan wasn't an invasion of Japan?

How about using those bombs on or over invading fleets of Japanese - if Japan ever actually planned to invade the US?
The link to 'PAUSE history' requires a login.
I'm a big fan of "ship early, ship often", but you have to set expectations properly. If something is not ready for prime time, you should signal that. Call it v 0.7, say it's a beta, label it as a "labs" product. Say up front where the known weaknesses are, and say what audience you want.

I also strongly recommend working with a small, carefully selected audience to begin with. Typically only a small percentage of your eventual audience will put up with the rough edges of a work in progress. Getting the average audience member involved early on is frustrating for both sides. You get a lot of feedback on things you a) already know about, and b) are intentionally avoiding for now. And they waste a bunch of time on stuff that wasn't intended for them.
> Fitness is related to, but not the same as, attractiveness.

Sure, and if you have free reign to choose on any traits you want, you'd probably not consider attractiveness directly, but instead consider a balance of general health, physical fitness, survival experience (and specific context if the expected survival situation was known in more detail), and general intelligence (though the latter wouldn't necessarily be very high on the list of priorities.)

If all you have is intelligence and attractiveness, though, given that attractiveness has a correlation with (even though it isn't identical to) important things other than general intelligence that the hypothetical has prevented you from considering directly, you'd be ill advised to neglect it in favor of intelligence alone.

In fact, the whole reason attractiveness evolved is is exactly about choosing who to be stuck in a long-term survival situation with (which is why it is linked to both general health and physical fitness.)