skysight-inc/HackerNews huggingface dataset:
Anyone here have experience building a classical http Api with GO ? By classical i mean rest,json,with a sql db and a bit of business logic in the middle ?

Last time i checked i found the db part lacking a bit in expressiveness ( a bit raw ), but that was half a year ago.

Ps : to me, the best i've found so far is flask with sqlalchemy, and play framework in second place. But i'm bothered by the lack of static check in python and the general messy impression from scala. Go seems perfect as a language but maybe a bit limited for building a good db abstraction layer (or at least one with lots of boilerplate code removed).
Oculus Rift VR rides on real roller coasters
Your startup needs a video
Every DBA knows that in its most basic form, a database is just a big text file.

It's the same with a human's memory/personality. Just bits in a brain.
if you'd like to re-read what I wrote, it's more along the lines of "when looking to spend a large amount of money on a very unlikely attempt to extend one's own life, after having lived a full life, maybe consider using that money to give a large number of other people a chance instead". You're arguing against a straw man.

The key points in my argument are that:

a. cryopreservation is a very expensive way to maybe save the life of one person who has already lived a full life (I don't direct my criticism at those who want to be cryopreserved due to a fatal illness at a younger age)

b. charity is an effective way to use the same amount of money to save many lives, often the lives of people would have died at a very young age and with a great deal of suffering

Even if I could force you to change your mind, I wouldn't, but I believe that the charitable option should be seriously considered by anyone looking at cryonics.
Actually it should feel more like a tall story from your uncle at a family dinner, that's not corroborated and doesn't even imply what he insists it implies.

That is, half of the article is trash and the other doesn't represent the science correctly.
> The time you've spent on old languages is never really lost.

Fair enough, to each his own. My time spent writing programs for the Apple II in the late 1970s, in 6502 assembly code, was largely non-transferable:

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

> Every language that you learn and abandon, makes you understand the next one much quicker.

Yes, I think that's generally true, with one possible infamous exception: BASIC as it once was, with line numbers and numeric GOTOs all over the place -- a real nightmare for large projects.

> I am not that keen on delegating node work at this time, because I want to play a bit more with it by myself.

It might be interesting to ask older programmers if they resisted getting into management simply because coding is such a pleasant occupation. We might find a lot of people unwilling to give up coding, even with a salary differential.
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2781097/

tl;dr: A rabbit kidney was vitrified, then revived and successfully implanted into another rabbit which remained healthy.
Finally mobile payments, Airtel money and the likes, that require phone number to be attached to a bank account would start to work for more and more of the poor. In a country where banking infrastructure, especially for transfers, isnt that great and mobile penetration is really high, such an initiative would prove to be a great boon for direct transfers and even possibly overeas charitable remittances in which money could be transferred straight to the needy, creating full transparency!
Giant Chart: Global Internet Usage by the Numbers
More specifically, the GIF contains the activation code in its comments section:

http://www.velvetcache.org/2014/08/20/custom-mailbox-betacoi...

I don't believe any hardware IDs are used. The codes are one-time use only, and your Dropbox/Mailbox account is activated with it. Once your account is enabled, you can use the beta on multiple computers.
Offering to pay for it probably puts people off.

You're suggesting a quite legitimate (if not common) method of assessing your skills. You're already paying for it with your time, as are they.

If they think it's a novel idea and worth their time to give it a shot, they might go for it. Or possibly give you homework as a decent compromise.

But the upfront suggestion of money exchanging hands does add a certain ridiculousness to the idea on the face of it.

Just ask for a coding assignment or a trial day at the office on an actual problem to work on without cash and it might work better.
> You're not actually dead when you're legally dead, in that everything that makes you you is still there in your brain, and it could in theory be restored to working order.

That's an extraordinary claim. Do you have any reliable cites for that?
As long as the person is participating by free will.
your criticism is correct of the argument that you're countering, but that's not the argument I was making - see my reply to blueskin_ for a clarification/rebuttal.

[edit] just so you know, I upvoted your comment to counter a downvote from someone else. You make a strong case, regardless of the fact that it didn't address my original point.
HN opinion clearly isn't with you, but I think there's a lot of truth in your comment. I can think of a couple of reasons.

First because all successful businesses have something that is generating a lot cash for them which means they can spend money on resources small teams cannot, and they can keep trying. In the Google case they can just keep plugging away at social. This isn't a "critical mass" but it's significant.

Second because the "critical mass" is existing users and brand awareness. It's always easier to sell to an existing customer, they have experience with you and like how you operate. Just being able to easily reach the user-base that Google can is a massive leg-up. You also get the benefit of being able to add network-effect or tie things together - see the whole gmail+G+.As importantly, people trust brands (how else can you explain Starbucks!) so you're more likely to be able cross barriers to get users on-board. Users associate themselves and their values with certain brands, it makes it much easier to extend into new product categories.

Everyone likes a success story, but the way that large organisations operate and their models for innovation don't apply well to small teams (in my opinion).
If you go for neuropreservation, you get a new body (although it possibly means revival later than whole body patient preserved at the same time). As most Alcor patients will die while very old as dying young is generally due to accident or disease (Alcor do have some younger patients, who mostly had terminal illnesses, cancer, or conditions such as AIDS, but also one suicide and one murder victim), it makes sense. It's a common idea to go for whole body while still young, then switch to neuropreservation as you get old where your body would be useless/detrimental if preserved. This also negates the problem of inflation meaning you suddenly aren't insured for enough money for a whole-body preservation too.
Informed consent is impossible to obtain with children, if it was then it won't be a problem.
> Did you go to design school? Can you sketch? How about your storyboarding skills? What is your experience with color? Do you have a portfolio ready to show off at any moment? I know I sound harsh, and I'm not trying to say you aren't a real designer, but CS people who say they practice design rarely cross those lines above. I'm a CS researcher, not a designer, and my wife (visual/interaction designer, design school background) calls out my BS all the time.

I'm not a computer scientist, nor a engineer. I graduated from a Comm. & Arts department, with a degree in a "hybrid" between Comm. Science, Design and IT. I do have a portfolio in UI design, I have a little experience in print medium, a solid understanding of colors and typography. I can sketch but I'm a lousy, lousy drawer. I also developed (and do the tutoring) on a small course in UX design, which my company gives to new trainees (engineers, most of the time).

I guess you pictured me as someone from CS with a interest in UI design. I'm not. I'm a UI designer and front-end developer. I'm also a researcher and I do user testing, which is why I also know HCI (and also why I can see the discipline as the foundation of IxD, even though most of the time it isn't acknowledged as such).

> As far as I can tell, there is very little HCI content that is geared toward designers. Those HCI courses that pre-exist are all aimed at computer scientists; the designers in the meantime have their own programs (e.g. interaction design departments) that are quite separated from what the engineers are doing.

I partially agree with you, here. Most HCI courses do exist in CS/engineering departments (at least, in my country). And - what is worst - they're taught by CS with little to zero experience in HCI. However, the interaction design programs - the ones geared towards designers - they do teach HCI. Maybe with a different label, maybe the teachers don't attribute the contents to HCI & HCI authors, but it is HCI nonetheless. Of course, the emphasis is totally different, and they focus a lot more on prototyping
Mergers and acquisitions: a new target for cyber attack
I'm thinking of putting a mattress beneath my desk/cubicle. I have a hard time falling asleep on command or taking naps at all. Maybe properly lying down instead of lying kind of uncomfortably on the floor will help with that.

This is in a university setting, so I have no managers to worry about. The only problem might be noise (I often sleep with earplugs anyway), and weird looks.
Not only are they in a contract, but Alcor is only going to be staffed by people committed to advancing the cause of cryonics. They don't have some shady fly by night low bidder maintaining their patients.
If you put one in a storage unit, possibly yes, but not with a dedicated nonprofit staffed by experts in the field.
> So, like every other charity in the world?

Yes, the incentives in this case are the same.
> Well, you are incorrect. The simple use of modulo does result in a bias.

You're arguing against something I never said. Large numbers reduce the bias, they don't eliminate it. Notice that earlier I considered the objection of a hypothetical clever child by using the minute digits as well. All these steps only minimize the bias in favor of small numbers, that cannot be eliminated. Even a 64-bit random number possesses this property. And the classic remedy for this bias is to apply the modulo operator to get the desired range.
Selena Gomez Pregnant from Justin Bieber
No need for Nazi salutes
The Most Devious Riddle in Chess Becomes an Addictive iOS App
nice initiative! Here is ours https://www.printmosaic.com/404
>maybe consider using that money to give a large number of other people a chance instead

What's to say that Alcor members don't donate to charity already?

People will always die. People will always give to charity. One person doesn't affect that.

Saying cryonics is bad because of that is the equivalent of saying that if someone was badly injured in (for example) a car crash in America, and received a big insurance payout to cover the hundreds of grand in hospital bills, they should donate it to charity and die instead.
Auto Insurance in Calexico CA
This has sometimes worked for me when I'm trying to fall asleep. When I'm successful, it's like I'm letting go of the narrative of my own thoughts, and instead just seeing it unfold. Eventually, I start to feel as if the thoughts are drifting into a dream, as I start to feel engulfed in my thoughts rather than just observing them unfold.
If you duplicate your data in locations a few hundred milliseconds apart (e.g. America, Europe and Asia [1]) you either need to tolerate inconsistency or have every write take a few hundred milliseconds.

If your system requires response times faster than that, the data centres you don't have time to contact behave sort of like they are partitioned all the time.

Me, I tolerate writes that take a bit longer to keep things simple :)

[1] http://www.nsmith.net/articles/2011-08/latency-between-amazo...
Mummification is for display, not preservation. The chemical structure of the body is changed, while all the organs (including the brain, which was removed through the nose) are placed in jars.
So you are saying the government is going through all these troubles to hand over subsidies and benefits to the poor only to "syphon" it away?

You are forgetting people are being saved from the clutches of money lenders which have enslaved these people for a long time now. Now the poor have the opportunity to get a loan from the bank and a real insurance cover. This change can not be trivialized.
Workers Comp Insurance in El Centro CA
اسماء الفائزين المؤهلين المستحقين للدعم السكنى من برنامج اسكان 2014
Global DNSSEC statistics
The article is badly written, but it doesn't really mean sizes are illusory (even if it says so at the beginning). It goes on to say that sizes and mass "spontaneously emerge" from lower interactions, which is to say, they become real for us.

But, to address your example: "So two things standing next to each other are the same size as one thing alone? Damn hard to imagine".

That might not hold for size, but a very similar thing does occur (and is proven) for speed.

If you are in a car that goes at 0.8 miles per minute, and you throw a dart that goes at 0.3 miles/minute, its speed is 1.1 miles/minute (the sum).

But if you travel at the 0.8x the speed of light and you throw something forward at 0.3x the speed of light, its speed is not 1.1x the speed of light, but c. That is, trying to add velocity doesn't get you faster than the speed of light.

http://curious.astro.cornell.edu/question.php?number=145
There are cases where people who were apparently dead for minutes to hours, were then successfully revived. All the cases involved very low temperatures that presumably prevented brain damage.

http://www.livescience.com/5060-science-refrigerated-baby-mi...

Quote: "'There have been a number of well-documented case histories of adults and children who drowned in very cold water, even trapped under ice for hours, and were successfully revived many hours later,' Alistair Jan Gunn, a professor of physiology and pediatrics at the University of Auckland in New Zealand, told LiveScience. 'Of course, this is used routinely in modern cardiac bypass.'"
Here (Netherlands) the overhead matrix highway signs indicate lower (legal!) maximum speeds the nearer you get to a traffic jam.

I was under the impression that this wasn't spectacular.. it just makes sense. Of course there are smart-ass people (mostly driving Audi here) who race on only to break hard later.. this of course is futile in itself and even worsens the traffic jam.

And if the authors point is to use this in car-to-car communication: what else do you think car-to-car communication is for..? On a related note, i propose using telephones for talking.
I am talking about what the incentives are, and you are replying with, essentially, “Surely they wouldn’t do such a thing!”. Maybe not, but that’s not the point. The incentive is what I’m talking about. And the fact is that a head or body and a contract is a straight liability, with nobody (literally!) to complain if they don’t fulfill their part.

If you want to argue that they would stand to lose more PR and goodwill than it would be worth, that would actually be a point you could make, but now I’m just writing your argument for you.
> There is much more to the philosophy of science than your examples. See [1]. Or consider that "what is probability?" does not have a good answer. This is a question that philosophy struggles with and that has deep relevance to physics - eg. the ontology of quantum mechanics.

What is the relevance? We're able to make accurate experimental predictions about probability already - theorising about "what is probability?" could just be meaningless speculation unconnected to reality, which is exactly his problem with String Theory. No?
I've been a C developer most of my professional life, and I find any discussion about the 'right way to write C' to be worth the effort, usually, because it means either more C coders will be produced with always-interesting results, or the kinds of developers who shouldn't be C coders in the first place will wander off and invent something new and shiny to play with instead. Both conditions are valid.

C is such a thorny language precisely because of the trouble you can get in, and as such it does require a degree of competence that your average IDE-wielding neophytes are not willing to conjure up in all their free time. Digging into the details is the only way to succeed with C.

For me the breakthrough came during my SIL-4 professional period (safety-integrity level 4, life-critical systems..) experience, wherein I learned the value of testing, and always testing, and strict requirements with standardized rules. I also learned the value of code-coverage tools and why you use them to increase the 'safe-ness' of your code. And yes, your issue with undefined behaviour, means of course you should never rely on your compiler/IDE to tell you what is going on, and should know by inspection, always!

In the end though, C still has a lot of uses and applications left to be written - its not going away any time soon - and so as long as a group of people are willing to agree to what they are doing with the C code base, good stuff gets built.

(PS, Lua for the win!)
Sadly no, because it would legally be considered killing them. As it is, when you're dying, you get what's called a standby where you have a team waiting by your bedside with a doctor, then they get to work as soon as death is pronounced. Generally, perfusion (replacement of blood with cryoprotectants) can be started in situ within 15 minutes or so, while cardiopulmonary support is provided via a machine from in many cases seconds after legal death. It isn't perfect, but it's the best that can be done in the current legal climate.

It might happen in the future in a decent state/country with good assisted suicide laws (if there was a Swiss cryonics organisation, they would probably be able to offer it). Perhaps in the US it will eventually become possible in Oregon/Washington (edit: also Montana, Vermont, and New Mexico), which allow assisted suicide. Alcor are based in Arizona, so they could have patients get themselves preserved in New Mexico, then be driven to Alcor.
Yes. Open minded comments like this, questioning the limits of science get down voted here on HN.
There are also ORMs such as sqlx or gorp.

Personally, for a high performance API, I am a bit old school and I would rather for a given type Foo, I would rather write a FooDB struct that implements a FooDS interface. Everything in your app just uses FooDS. (DB = database, DS = datastore)

Your FooDB implementation could be using any number of underlying technologies MongoDB, LevelDB, SQL, etc and it can change as your app changes and this change is transparent to the rest of your app (since the rest of your app uses FooDS).
I wouldn't say that the "field is dominated by orthodoxy that closes their eyes to everything that they don't want to see".

I'll admit most physicists I've met are suspicious of wild-eyed theory. But I wouldn't say they're overly orthodox. I think it's more a healthy skepticism of anything which involves humans projecting science-ficiton wish-fulfilment into science.

I'd go further and say that "entanglement" and "multiverse" are not at all en vogue. I think most seasoned physicists realize that these were trendy fields some years ago (for solipsistic reasons - ie, make us feel special).

So I think the return to a fundamental assessment of phenomena is pretty natural thing. Calling out assumptions like scale. What's more, I think the more discerning will also be suspicious of the "post-multiverse" dialectic. It's just the process really.
Stop Wasting Time in Web Development (e-book)
> But if you travel at the 0.8x the speed of light and you throw something forward at 0.3x the speed of light, its speed is not 1.1x the speed of light, but c.

Not really. Velocities near c don't sum that way. And your reference doesn't support your claim.
"Not going to happen" is a bold statement. We haven't even solved the problem of how to burry nuclear waste save (see Germany and their trials at Asse) yet - how are we supposed to safely store human bodies and keep coorporations alive for decades if not centuries?
> You see: the scientists that talk philosophy down are simply superficial: they have a philosophy (usually some ill-digested mixture of Popper and Kuhn) and think that this is the “true” philosophy, and do not realize that this has limitations.

So true.
Nope, it is very expensive for me :)
This is so so so common. Everybody watches the Tour de France is Spain because it is such a good sleep-inducer. So real.
Web Starter Kit 0.5.0 released
It would be interesting to see a similar study done on (racing) cyclists in a peloton. It's fairly rare to see similar behaviour in that environment, and I'm not sure why. Maybe the fear of road rash is enough to make people ignore phantoms.
I use Python and Django most of the time, and its true, you can do pretty much the same thing in each language. But for quick hacky stuff manipulating the filesystem a lot, Perl has many more features built into the language. Things like regex syntax, globing directories, back ticks to execute Unix commands, and the fact you can use it directly from the command line as a one liner. You can do all these (except the last one?) in Python, but Perl is quicker.
Legal death is arbitrary as it's just a decision by a trained person. People have been revived after 10 minutes or so after 'drowning' in cold water. Even in cases of heart failure, pronouncement of death is when the doctor/nurse feels further efforts to revive would be futile. In the long past, someone who would today be revived in that case might have been pronounced dead earlier; the issue is that resuscitation efforts are stopped immediately after pronouncement of legal death - if they were not, it would be a more common occurrence.
HLSLParser
Both Tcl and Node.JS are built around the concept of an event loop. The preffered way to do IO in both languages is to express your network application as a FSM with callbacks on state transitions. Of course event driven IO is not in any way "owned" by either languages, what I mean is that they both encourage an event-driven IO model.

Am I making myself clear?
+1 for moving away from the clutches of money lenders.

Though, the situation isn't that simple. Money lenders often accept undeclared assets as collateral. So for some people (the uneducated or the unscrupulous) money lenders are a boon, not a clutch.
How on earth is Google Fiber an innovation? Please explain. Fibre Internet and Gigabit internet can be had for years across many cities of the world (Hong Kong, Singapore, Istanbul) and even in select cities in the US. What was the innovation done there?

The Hot Air Balloons are a bit of a gimmick, but definitely innovative and new as is the driverless car project which could have tremendous impact on transportation of the future.