skysight-inc/HackerNews huggingface dataset:
In this incident I lost a bit more than $500,000 USD that was in my MtGox account. I sold my Bitcoins a few months back, but the USD have been sitting in my account waiting to be withdrawn.

This was a massive fuck up by MtGox, but I really do feel sorry for Mark Karpeles. He seemed really enthusiastic about Bitcoin. Right by MtGox's offices in Japan was a Bitcoin Cafe being built. You can [see here](http://si.wsj.net/public/resources/images/BN-BS458_mtgox0_G_...) the sign of a Bitcoin logo waiting to be unraveled.

Bigger than all the victims (no pun intended) was Mark himself. He lost more Bitcoins than any of us, and it's likely he'll be going to jail. Not to mention the death threats he has and will be receiving.

--

One of the (features?) of Bitcoin is its inherent irreversibility. You only have one chance to get things right. Combined with Murphy's Law, something like this was bound to happen.

I've been a Bitcoin enthusiast and have been mining since early 2011, and Bitcoin has been a huge part of my life, but I will admit my confidence in Bitcoin ever _practically_ succeeding has diminished a little.
Mt. Gox Files for Bankruptcy
Serious question - is now a good time to buy Bitcoin?
"Zero commission" does not actually mean zero commission.
The commission just ends up being baked in to the prices they show you.
e.g. If the market (institutional) bid/offer for MSFT were 39/41, they would show customers prices of 38/42. For an order of $1000, that would mean they charge you $25 of implicit commission on the trade. It just doesn't show up on your bill.
Get real. Their only innovation is hiding fees from their customers, not reducing them.
Everything you use for your benefit made someone else rich, from your toothbrushes till the banks you use... and you know this to be true, so your discourse is only an attempt to be rude and cynical.
Please give me some then.
True, in businesses humans agent are the programs (doing the work) and discussions are meta-level decisions aka source code.
My employer emerged from Ch. 11 bankruptcy a few months ago. Never underestimate legal fees and consultant fees. Japanese laws may be different, but I would be surprised if these fees did not consume a significant fraction of the assets.
Lutris: Play video games in Linux easily
WAit a couple of hours then yes.
it may be lost to spend but can't you spread the loss out over some years and never pay taxes for that period?
Apple Style Guide
https://help.apple.com/asg/mac/2013/ASG_2013.pdf
My experience suggests otherwise, in addition I know many people who have made money from them.

I get what you're saying though, something along the lines of "if no government is behind it, it is inherently worthless".

I disagree, many commodities hold value even though our governments do not assign that value, instead it's their inherent value that is worth something.

To me and many others, a token that can be sent to anyone, be split into a million smaller parts, is not issued by the wills of a handful of men, that isn't forced on a population, is used of our own volition and limited in quantity deserves some inherent value.
"they are victims of massive theft,"

What leads you to believe this?
In fact the 2nd version with braces actually makes it harder to see the doubled goto, while it stood out to me in the 1st version.

However if I were writing that code I would've probably used an OR-chain, like this:

if ((err = SSLFreeBuffer(&hashCtx)) ||
(err = ReadyHash(&SSLHashSHA1, &hashCtx)) ||
(err = SSLHashSHA1.update(&hashCtx, &clientRandom)) ||
(err = SSLHashSHA1.update(&hashCtx, &serverRandom)) ||
(err = SSLHashSHA1.update(&hashCtx, &signedParams)) ||
(err = SSLHashSHA1.final(&hashCtx, &hashOut)))
goto fail;

There's also another oddness I noticed:

if(err) {
sslErrorLog("SSLDecodeSignedServerKeyExchange: sslRawVerify "
"returned %d\n", (int)err);
goto fail;
}
fail:
How the web was born: WWW turns 25
A beta version probably should be free due to it being a non-finished product.

On my current project (https://report4me.com) we're trying the free beta model not only to get beta testers but also to determine a price point.

We give away the product to beta users for the foreseeable future, with the intent to ask them outright what they feel the product would be worth. The idea is that since they can feel comfortable that they won't actually have to pay the price they mention they might actually be more honest about it.
To all the HN members who lost a lot of money in this closing, remember the community is here for you. Don't do anything too rash and if you need someone to talk to, myself and most other people would be happy to lend an ear.
>I lost a bit more than $500,000 USD that was in my MtGox account

Sorry for your loss. Why didn't you move it to an interest-bearing bank account?
I´don´t mean that crowdfounding doesn´t work, I mean that reaching a million (like Kickstarter projects do) is going to be very difficult for any Spanish startup. There is no culture of giving money to help a business

Not so for "popular" projects, that are promoted via TV programs or so.. those will surely reach 1 mill easily.

On the other side, charity is very popular and people donates money (small and big quantities) when they see a need.

Of course it can always become fashionable, with everybody crowdfounding something, but that´s when a big scam will take place, with a scandal in the media and crowdfounding getting hit hard.

Edit I changed crowdsourcing for crowdfounding
What is a "business" call? I didn't see a definition.

"Just make and receive business calls. As easily as email."

Umm.... Most people I know are horrible at email. If I email 4 people and ask a group question, 90% of the time one of them replies only to me with info for the group. Or the reverse, sends a reply intended for me to the whole group, sometimes with embarrassing results.

"easily as email" is not a good bar to set.
Are you planning to buy it as an investment, or to use it as a currency? If the latter, this is not a good time because the currency is less stable than ever. But it could arguably be a good time to "invest" if that's your thing.
That code might be good enough for production...
What I wonder, is if Mark was actually the only one internally who had access to the cold storage wallets, what would happen if he got hit by a car and died? Have other exchanges got plans for this sort of thing? Some corps don't let their programmers fly on the same aeroplane.

I wouldn't want to own that many Bitcoin and be the only one who has access also because someone could profit considerably from your death.
He better changes the mother company (the one doing the crowdfounding) to the UK and then "contract" the Spanish agency to do the actual coding.
Unfortunately I get the feeling more and more everyday that this really is just a ponzi scheme built on really cool new technology. I mean honestly most people who buy bitcoin aren't looking to spend it or use it because of convenience, they are looking to hold it in the hopes that the price continues to go up and on the way encouraging everyone they know to buy in to drive up the price.
> waiting to be withdrawn

Withdrawals have been massively delayed for at least 6 months.

The smart thing to do was to withdraw bitcoins to another exchange while you still could
You are running an antique accessory business. You have a van to carry all the valuable stuff you borrow from people to sell in their name. Your van starts to leak oil. You figure out how to fix it yourself. Check engine light of the van is still blinking though, but you happened to put a post-it in your dashboard blocking it. By the way, you also never have it serviced. You keep driving for years while the situation in your engine gets worse and worse. Finally, you end up causing an accident. You didn't have anything to protect your cargo even from a bumpy ride, let alone a crash. You lost too many of your antiques because you were carrying them around with you everywhere. You also don't have resources or any insurance to cover the expenses. You think it may be a good idea to hide this fact from your customers because the antique business in your town is still new and you don't want them to lose trust for the whole sector. You first tell your customers they can't sell or take back their stuff. Then you take off your signboard. Then you sell your van. You eventually close down your shop as well. Meanwhile, you keep telling them there is something wrong with how the van is designed, so you may have lost some valuables here and there. You end up filing for bankruptcy.

Would this be just negligence?
probably because the withdrawals to bank havent worked for months, the writing was on the wall for a long time, people who lost money in it took a huge gamble

he should have transferred the bitcoins to bitstamp when transfers worked and cashed out.
I wouldn't say "more powerful", maybe "less constrained" (and not that that's a good thing).

One thing C++ templates can't express e.g. is polymorphic recursion. http://stackoverflow.com/questions/10321856/does-c11-support...
And your blog link is?
Can't comment on the science, but... If you suffer from depression (and if I recall correctly, Jeff Atwood does), one of the biggest problems is that you forget all the good things, ie all the memories and accomplishments that would normally make you think that things are actually pretty good. By putting things out in the world, you make these experiences more tangible and harder to forget about.
Nice work

As a teacher, what would help make this really useful on (say) an interactive whiteboard would be

1) On/off by the functions on the bottom left so that I can focus on (say) the sin function, then switch the cosine function on, then challenge students to say what happens to sin/cos for various angles then switch on the tan function

2) Line width control or just thicker

3) Switchable angle overlays (degrees for most, radians only for the advanced ones)

Thanks
Agreed - but the Northies are using Lungies too in Kerala :)
Mother’s Day | Homes Direct 365 Blog
Imperative languages seem like state monads. But a monad doesn't need to be a state monad. If you want something different than a state monad, it might not be any more simple to implement that in an imperative language than a declarative one.
Yeah, the technology fascinates me as well, it's very cool.

It's said that the real-world economics of it make no sense at all. The technology will survive though, the ideas will make their way into other pieces of software.
At Bitalo [0] we use multi signature wallets all over the place - for user wallets (so we cannot move them without users permissions), but also for company wallet for storing fees. For the latter, all board members have keys for them, but you only need a subset of them to access the funds. That way even if one of them loses the key or something bad happens to them, coins can still be moved by the others.

For example, you can have 2-of-4 wallets, where 4 people hold the keys, and you need only 2 of them to move funds.

[0] https://bitalo.com
> the writing was on the wall for a long time

I wish I had hindsight like you.

It was only up until these few months that Bitstamp became of any competition to MtGox. Its liquidity sucked, which was why many early adopters like me stayed.
The pCell is "synthesized" using all base stations in range I guess. Which base stations that are involved in your pCell changes as you move around ...
To be even more pedantic, surely their targets would consider the mean not the median, so it wouldn't necessarily have to be over the target half the time for that target to still be the average.
The byzantine Trust issue is really just all agreeing on a a value. A handle/name and public key pair is such a value. We can distribute public keys in a block-chain. This pushes MIM attacks down to the last mile between a block-chain server and client and to the identifier exchange. The user can run their of own Block-chain server and authenticate via sneakernet if need be and we can at least be assured that you are communicating with the person who's handle matches the key (even if it might not be the person we think it is).

--------------------

A Blockchain makes a good backed for a web of trust because it lets us use the above to link an identifier with a public key and server. One of the primary scaling issues with a web of trust based authentication is that names get long fast: PersonA.PersonB.PersonC.Otherguy. A blockchain allows for a universal naming scheme and a central place to store high confidence links that is faster then querying the peers I trust and asking if they have a link to an arbitrary node.
Or, you know, don't move the money. Or move the bare minimum

In fact, don't even bother with anything there.

And then when the economy is bad it's "big bad Germany's fault!"

Yawn
All of these people were in this thing for purely speculative reasons, so please forgive me my lack of empathy :)
This article points out other simplications that can be made to help with this error, but frankly the core problem is using insanely verbose boilerplate to handle errors. At bare minimum, the "if ((error = ...) != success) goto fail;" pattern should have been hidden behind a macro such as "attempt(...)"; just refactoring the code to use if statements differently is not sufficient. Further, in a more reasonable language (C++), the "goto fail;" paradigm (that is being used to free manually managed memory) could be replaced by a deconstructor (alternatively, in languages like D, a scope guard), which simplifies the logic. One could also use exceptions (or, if using a language like Haskell, a Maybe monad) to structure the error handling and remove the boilerplate entirely (which also has the incredibly valuable side effect of making the error handling impossible to avoid: forgetting to check a return value, or checking the return value using the wrong error constants, is a serious issue that leads to security bugs; Rage Against the Cage is a simple example from Android). There is really no excuse to be writing code like this in C when it is just asking for these kinds of mistakes by not providing even the most bare of abstractions to keep the programmer from ending up with code that is 50% boilerplate :(. But again, lest people get caught up in "I hate C++" land, even C provided something to help the programmer not type this code a million times (#define macros, which still leaves aome boilerplate in the code, but drops the percentage dramatically, removing any impetus to end up with a pattern here that requires multiple lines of code to express), which despite being an incomplete solution to the core problems of this pattern of error checking, would make this code infinitely easier to edit without introducing errors in the boilerplate.
That sounds like the reasoning of the gun-lobby. When bad things happen to do with guns, they tell us we need more guns.
Maybe not, but I'd take pass-the-floppy over AccuRev or Perforce any day.

Yeah, git and its kin are really nice, but the expensive version control systems I've been required to use in enterprise settings are awful. So awful that many people actually just email source files back and forth so they don't have to deal with it.

So, version control has made things better in some areas. But enterprise version control feels more like a step back to me. AccuRev has literally stolen entire mornings from me because what should have been a simple two-minute check-in took almost 3 hours to complete and was interactive! Yay!
This is even true for Germany. To form a GmbH here you need to invest at least 25.000 Euros and wait weeks until the paper work gets done.

In the UK you can get a Ltd. up and running within 24 Hours for what is essentially pocket change.

The UK has exceptionally friendly laws and regulations concerning doing business and I wish more European countries would imitate them.
Armed Men Take Position at Two Airports in Crimea
You're welcome.

In this case I called it pre-loading (it's not infinite either). You get to the end of an article and we have the next one ready for you. No need to make a choice on what to do next, just follow through if Headline is of interest.

Not perfect, but those who use it most do love it.
It was all orchestrated by GPU vendors and electric utility companies...
It still hasn't made its way to my country, but it certainly is an interesting service.

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

However, they did overpromise and under-deliver, but it's still very impressive.
Losses can only be taken on your initial investment amount if you have Bitcoins in MtGox. This means that if you invested $10k a year back, and your Bitcoins are now worth $1000k, you can only take $10k in losses.

Luckily I have realized my gains which means I can deduct $3k every year in losses with infinite rollover.
This is pretty funny https://twitter.com/danbarker/status/439125570115223552
Show HN: tyto - tool you take over
Anyone else having Git trouble after Mac OS 10.9.2 update?
>> hindsight

I'm only making this comment because you used the term "hindsight".

Let me first start off by saying I feel very, very sorry for all the people who lost funds in MtGox. It'll take awhile before you get over the pain of losing a life-changing amount of money. But let's be very clear about this; hindsight wasn't needed here. The warning signs that MtGox was a house of cards became visible a long time ago. Definitely before the disabling of BTC-transfers. A lesson should have been learned here and nothing like this should happen to you again.

-- http://www.livetradingnews.com/the-bitcoin-tangle-were-warni...

"Some signs of a strain were visible early on. The exchange was quick to accept purchases but slow in giving them back. Additional proofs were asked for. The site also had technical issues; some users complained that passwords were displayed in plain text. Users are now left wondering if the small hints portrayed deeper crises."
Can anyone explain to someone who didnt follow whole story from the beginning what exactly happened to Mtgox that caused them to lose all this money?
Gold is a physical asset. People understand physical security.

Gold can't be lost due to a hard drive crash, and it cannot be stolen over a network. More importantly, I believe a majority of people (myself among the number) do not understand bitcoins were stolen from mtgox.
The question the author seems to ignore is how the second "goto fail" appeared in the first place. In all likelihood it was caused by an erroneous copy + paste where the programmer accidentally included the `goto fail;` from above the `if`, like so:

goto fail;
if ((err = SSLHashMD5.update(&hashCtx, &clientRandom)) != 0)
goto fail;

Now, what would have happened if there had been braces?

To get the two `goto fail;`s he would have had to duplicate something like this, which would have immediately caused a syntax error!

goto fail;
}
if ((err = SSLHashMD5.update(&hashCtx, &clientRandom)) != 0) {
goto fail;
}
She is fully expecting to dishonor her family in the near future, just not before they have paid for her college.
in at least some cases, animosity comes from people who've have to clean up someone else's exploded mess in the tech of their targeted derision.

I do think many (most?) people are interested in seeing all tools get 'better' over time, but what needs to be improved, or how it should be improved, often don't get agreed on.
The original website seems to have gone offline. But based on the title, I think the lesson should be to have more stringent reviews and tests. Things which can't be checked statically at compile time have to be thoroughly reviewed and tested and a coverage tool used to checked for completeness (in the very least).

I have seen teams following thorough review and testing processes in far less critical software!
> I think the real takeaway is that the act of programming can teach.

That looks like the learning theory of "constructionism" (with the n not the v) and the ideas of S. Papert and A.A. diSessa who did research about using logo for children to learn about arithmetic and physics. Interesting stuff, especially from a point of view of a programmer who thinks about learning.
Better practices going forward make sense. But rewriting working code should have a business case when the working code solves a business problem. Scaling and maintenance are second order problems. Success is the first order problem.
Jim Tcl 0.75 has been released
Last I checked the alternatives were either very expensive Oracle or did not have a good HA solution Postgres... MySQL/MariaDB has two good HA solutions - either behind haproxy with master-master or a VIP+keepalived with Galera cluster... The issue of encodings for most applications is minor...
This may be an irrelevant observation, and excuse me for that, but---the wardrobe malfunction was 10 years ago?! Good Lord, my brain's system clock needs a battery replacement.
I tend to agree with the OP, the problem is not the braces per se. IMO, better would be a coding convention to skip curly braces but if and only if the entire instruction is on one line. Then the bug would have stood out more prominently.
> So now they added a new 20% tax on private bank transfers from UK bank accounts to italian ones.

Isn't that against EU laws on freedom of movement of currency?
Scraper sites usually don't reference the source material, but yeah, you might want to get some ice for that burn.
AngularJS 2.0 Data Persistence Design Doc
This is a very poor form of checksum on copy/paste mistakes. As I describe in my top-level comment, a more complete solution to this problem is to avoid the developer ever having to copy/paste multiple lines of silly error-handling boilerplate in the first place: hell, the programmer shouldn't be feeling the need to copy/paste at all, as that's just asking for trouble :(. Instead, a #define macro can be used that would replace the "if ((error = ...) != success) goto fail;" pattern with "attempt(...);" (or, for an even more complete solution that solves other issues that are possible in this kind of code, such as resource management mistakes caused by using goto for unwind semantics or simply forgetting to check an error entirely, C++ deconstructors and exceptions can entirely remove the error handling boilerplate from this function, letting the programmer concentrate on behavior and not error conditions).
TikZ 3.0 has been published on CTAN – drawing within classic LaTeX
Yeah, it's not just about shelling out, but about being able to write Perl that works sort of like an awk script, just with more of a real language attached to it. Functions that implicitly work on the current line, lightweight regex syntax, the <FILE> magic, bash-style file tests (-e/-r/-d/-f), etc.
Santa is real, FYI.
Anyone stupid enough to invest a significant portion of their net worth in a nascent currency like BitCoin only have themselves to blame, high risk.
I have requested access to upload. I want to help get a ~100GB collection of caselaw/legislation out there for research/hackathon purposes.

I grabbed it all from a HN post about a month or so ago. He's since put it behind a requester-pays S3 bucket.
Google Genomics-Tools