skysight-inc/HackerNews huggingface dataset:
Comparing with DigitalOcean (seemingly CloudScale's model), what's missing here for me is a dirt-cheap, let's-spin-a-VM-for-a-single-webpage option. I want something like CloudScale to exist so I'll definitely give it a try.

Edit: had a comment about previous performance, but I had mistaken CloudScale for one of their competitors, woops.
An ultrafast and low-energy consumption optical co-processor for big data
Previous discussion:

https://news.ycombinator.com/item?id=10861391

(still ranked ~80)
Go is garbage collected.
previously:

https://news.ycombinator.com/item?id=10861391
Any explanation as to why there seem to be a lot of blue highlights on the extended validation set?
> What I would do, though, is get my lawyer involved to write up a new contract that would make them liable for every last penny should this happen again.

No accountant would work for you with that stipulation, the risk/reward calculation doesn't make sense.
The Best Productivity Tips to Make the Most of the Day
Include External JavaScript Libraries in an Angular 2 TypeScript Project
Accountants who have let this happen should put the fact on their resume or CV. It will make them more appealing to hire since they are not likely to repeat that kind of mistake.
My favorite way would be to store password information as a hash chain, so old users can be immediately upgraded to the latest method while new users just use the latest.

For example, Django currently stores its passwords in a single database column as

<algorithm>$<iterations>$<salt>$<hash>

So suppose we generalize that to a chain of one or more hash algorithms, with each output fed in as the password to the next, resulting in a final hash:

<algorithm>$<iterations>$<salt>|<algorithm>$<iterations>$<salt>|$<hash>

For example if you had a user who logged in way back in unsalted md5 days and never logged in again, you might end up with a chain like this:

md5|sha256$<salt>|bcrypt$<iterations>$<salt>|$<hash>

... and then to upgrade to argon you would grab that string, shove the final hash through argon(), and write back:

md5|sha256$<salt>|bcrypt$<iterations>$<salt>|argon$<iterations>$<salt>|$<hash>

For new users, or if the old user finally came back and logged in with their correct password, you could then take the opportunity to write back a simplified version:

argon$<iterations>$<salt>|$<hash>

Iterations could be calibrated differently depending on the chain, if the earlier steps take enough time to matter.

As far as I can tell this is the best possible service you can offer to the users whose long-ago passwords you're storing, short of deleting their passwords entirely. Throwing away the earlier version and replacing it with the argon-wrapped version can't hurt them, and will almost certainly help.

(Usual caveats apply about not doing things that add complexity if you don't need it.)
Does anyone else find it disturbing he doesn't know who the EFF and their sources of income are?
C should have an inferred integer type:

for (infer x = 0; x != 10; ++x) ...

If the compiler can infer the type, use the fastest integer. If it can not infer, use the largest integer.

I'm sure this would create difficulties with structs, but at least for local integers it would be nice.
Evolvable Living Computing – Applications and Limits of SynthBio
Not true, my accountant has a contract where she is responsible for any mistakes or miscalculated taxes etc so she has to pay them. She does have a registered accountancy office though and insurance against this sort of thing though so the risk for her is also minimal.
It's a very bad link (basically a press release from SolarCity dressed up as news), but I couldn't help but laugh at the jab at Nevada being business-unfriendly.

For those who are not local, California is, of course, the high-population, high-employment, high-tax neighbor that sparsely populated mostly-desert Nevada likes to try to poach jobs from by claiming California is "anti-business".
Emails should not be used to approve six figure cash transactions. An account reconciliation or approval of PTO? Sure.

You can easily set up your online banking to require one individual to intiate a wire transfer, and a separate individual to approve the transaction. This is a very basic financial control.

My guess is the companies falling victim to this don't have any formal controls in place.
Instead of advertising your "simple control panel", advertise your "simple and secure API".
Unexpected Benefits of Reviewing Legacy Code
I would prefer moving some of my many VPS to a local provider but Exoscale and this one have a minimum of around CHF 30 which doesn't make it worth it for me. I run many small instances not just a few big ones.

In addition I would like to know which datacenter this is in and who is providing the uplink? Many datacenters in Zürich are foreign owned. Equinix alone has 5 running and will have 7 soon.

EDIT: BTW Swisscom offers application hosting (https://developer.swisscom.com/pricing)
What Are People Building with 21 Inc’s Bitcoin Computer?
"City" like Mexico City, with an urban population of 20 million? In which case Sweden, Norway, and Finland can share one currency. Or my city of 50,000 people? What of Beverley Hills, completely surrounded by L.A.?

In US history, after Jackson disbanded the second US bank, it wasn't cities which had their own currency, but state-chartered banks during the "free banking" era of 1837–1862. These banks had a high failure rate, so weren't all trusted. If you traveled, say, to another state where people hadn't heard of your bank, then they might not accept your money, or not at face value.

Even now, take a look at the UK, which has seven different banks that can issue notes. All look different, eg, with Scottish figures on the Bank of Scotland notes. These can be used through the UK, but not all shopkeepers accept them. "English shopkeepers who are unfamiliar with them may refuse to accept Scottish or Northern Irish notes" says http://www.theguardian.com/money/2012/sep/12/can-i-spend-sco... .

That should give an idea of the problems that will occur should each city has its own currency.

The author notes the era of free banking in passing: "And as Galbraith points out, Free Banking coincided with the fastest half-century of growth in the US, 1800 to 1850, still unbeaten". Do note that 37 of those 50 years was with a central bank, and 12 years of free banking were outside of that period. That seems more coincidence than a meaningful signal.

The author writes "Bizarre as it sounds, their disagreement led to a financial-political satire, The Wonderful Wizard of Oz (1900) by L Frank Baum, which later got made into a children’s film." Note that this is one interpretation, first made by Littlefield in the 1960s. See http://www.halcyon.com/piglet/Populism.htm for some of the history of that interpretation. It may be a good interpretation, but there is little to no evidence that it was deliberate, which the author implies.

The author refers to a hypothesis from the 1970s: "Hence, Jacobs argued, all innovation happens in cities".

Note, however, that many modern innovations take place between people located in many cities. In the 1970s, telecommunications was expensive. While for most of my career I've worked with people elsewhere, as a consultant. It's bad enough taking the exchange rate hit when dealing with other countries. I wouldn't want to do that for every city as well.
That discussion is also a dupe of one from yesterday.
So it seems like this relies on sending email that purports to be from your boss. Aside from the other problems with procedure (like, why don't you get your boss on the phone?), isn't DKIM supposed to be a partial solution to these kind of fraudulent emails?
I opened this on my phone, and just seen some links (MozOpenHand Links). I had no idea there was supposed to be more content here. The actual content is hidden for mobile UAs (I have no idea why, but it's very confusing).

I'd have expected more from a Mozilla project.

You can see what I'm talking about by spoofing a mobile UA in your browser.
It's worth noting that Nevada is not exactly a high income state, so solar panels can be relatively difficult to afford. I believe their grid electricity is also quite cheap.
Isn't this what the TPP does?

> would allow foreign corporations to sue the United States government for actions that undermine their investment “expectations” and hurt their business

http://www.nytimes.com/2015/03/26/business/trans-pacific-par...
And when they check your cars mileage and it has a boatload more than your phone recorded? After you signed something that agrees you'll always (or almost always) have your phone with you?
You just entirely destroyed the EPA.

Yeah, but there's probably bad consequences to it also.
It's really just kind of sad.
And that, on all chips you can touch, without a fault, will be the same type as int. Unless you still have a Z80 around, that is.

Yes, the int is technically less portable. No, I don't see any reason to use that longer name.
I follow a similar approach. Valgrind is a must. Just using malloc()+memset(,0,) in release, to override someway the Linux OOM killer.

In starvation, malloc+memset "usually" results in a malloc() failure, instead of the process being silently killed by the OOM killer.
It honestly takes very little effort to find "more than a handful" of cases. I've provided four already. That's 2 short of "more than a handful". It's even easier to increase the number if we expand the parameters to citizen deaths at the hands of LEO with or without that death being from a bullet. There's a serious problem with American policing, and its behavior toward the citizenry. I have no interest in, nor am I trying to, "shut up the naysayers". I find naysayers tend to say nay as a rule, and default to any number of shifting goal posts and mental gymnastics to remain convinced there is no problem worth considering seriously. You've just done this yourself—you asked for a single example of an unprovoked death; now you've crafted a tailored list of questions meant to narrow the field of validity based on different parameters (you've now shifted to asking for deaths that are "unjustifiable", whatever that means).

When a 12-yr-old boy with a toy gun is shot by police after being on the scene for a few seconds, and the cop doesn't wind up in prison, there is a problem. And that problem extends from bad policing to the justice system as a whole.
MMUs don't zero pages. MMUs don't handle data at all. MMUs handle addresses only, translating from the virtual (software) view to the hardware (RAM) view.
If only Project Fi's cost/gb were competitive with T-Mobile so I could jump ship. For my volume of use (5-10GB/mo) T-Mobile is the cheapest provider in town.

Google's convergence (i.e. bundling Fi+Fiber) in this space would be exciting if they could get their MVNO pricing competitive but I guess they'd have to buy T-Mobile or Sprint to make that happen because they're not going to sell minutes or data at a loss.
I learned Go but now I am more curious to try out Rust. I never ever thought I would be learning so many languages including Javascript apart from Java which I know. And I am glad that because of simplicity of Go and Javascript I am much more confident of my abilities to learn new things and comfortable to try out new languages, which wasn't the case before.
The arguments in that Q&A look suspect to me - they don't seem to be explicit in what a hash needs to defend against, and as a result, any downside is an argument to avoid a strategy, even if that downside is much less relevant than some other upside.

The top voted answer has a comment that's spot on:

I would offer the opposite argument: if one uses a single hashing function which has a 0.1% chance of having a discoverable weakness that would allow an attacker to speed it up by a factor of a million, there will be a one-in-a-thousand chance that an attacker will be able to gain a million-fold speedup. If one used three independent functions, each of which had a 0.1% chance of allowing such a breakthrough, there would be a 0.3% chance of an attacker being able to achieve a 33% speedup, a 0.0003% chance of an attacker getting a 66% speedup, and only a 0.0000001% chance of an attacker... – supercat Jul 13 '15 at 17:21

...getting a million-fold speedup. I would consider the possibility of an attacker getting a 33% speedup as inconsequential compared to the reduction in the probability of the attacker getting a 70%-or-better speedup. – supercat Jul 13 '15 at 17:22

In short: You lose on average (but who care?) but you reduce the risk of catastrophic failure.
You just need to find the right angle to sue someone. That's probably hard for a company without a billion dollars to spend on lawyers.
It's branding, people think "swiss" implies trust, when really hosting there is unlikely to offer any better protection than most other european country.

The same is true of Iceland. Some well-meaning people had good ideas for new laws and lobbied for them. Most of their suggestions never got implemented, but foreign media was fawning over it and didn't correctly indicate that these were just proposals. So now people believe Iceland is some kind of free-speech data haven.
That would actually the safe and ethical response to a mafia. The real world has plenty of elsewhere, they're just not all so effective for doing business in. But does that make it OK to pay for an unjust war just so you can make more money? Sounds like an argument an arms dealer could make.
Both Legere and EFF have valid points. But I suspect Legere creeped some people out with this video.

But Legere is being disingenuous by saying this is about customer choices. I've heard that song and dance from other quasi-monopolistic entities.

Binge-on is all about one thing : containing network capacity build-out cost. Pretending otherwise is 'bullshit'
She's clearly unusually talented as a developer, a researcher, and a teacher.

Unfortunately those aren't the skills needed to be a good CEO. It takes a certain kind of political and strategic insight, and she doesn't seem to have an unusual amount of that.

To be fair not many people, including many other CEOs, do. But it's easier to hide that when you're running a sort-of ok corp.

It's hard to hide it when you're in charge of a patchwork of milliproducts, some of which are strong on their own, but which together are worth less than the sum of their parts - and you need a plan, and can't think of good one.
More Needs to Be Done to Strengthen Protection of Human Subjects in Experiments
CHF 30 (approx $30 USD) is quite steep for the base offering, compared to US-based providers (DO, Linode, AWS).

What specific guarantees do I have regarding data privacy that I wouldn't get of I hosted in the US? That's something I'd like to see listed prominently on the site, so I can determine if the extra cost is worth it.
I haven't even upgraded to 4K yet. Who gives a damn if there are 8K televisions, barely any Blu Rays support 4K yet, and streaming it (in the States at least)? Fuhgetabboutit.

I upgraded to a 4K on my gaming PC and that's awesome to have because it's right in front of my face, but until the content is widely available I see no reason to move up past 1080p for the living room. Just dumb, I'd rather have the content the native resolution of the TV's panel. Maybe that's just me, I dunno.
I would add:

- Add security measures provided by your compiler to your builds: -fstack-protector-strong on GCC. -fsanitize=safestack on Clang if you have a version that's new enough.

- Build the program with AddressSanitizer and run it with typical data. Run it through a fuzzer afterwards.
How do you deal a better programmer than you having same or less experience?
Hi All,

Recently I met someone who have less experience(no too much difference) than mine but he is better programmer than me. I admire his skill and he is good programmer.
But somehow it really hurts me. I used to think that I am very good by looking my past work. I got depressed also not of him but because I am not that much good or better.
How do you deal with all this. You may have come across these feelings.

Some advice is very appreciated.
Thanks for your help.
So int32_t, but making overflow bugs intermittent and architecture-dependent? Why would you want that?
On the contrary he had huge shoes to fill, expectations to match and momentum to carry. Success is not an accident. You can always lose momentum, you can always make the wrong decisions, you can always fail, especially in a company as keenly watched as Apple, holding on to leadership in categories it created, with the pressure of innovation in a hyper competitive industry. Look at Nokia.
> (rather than higher level, which these languages both are)

Rust should be (and is, modulo wrinkles, I mean there's no fundamental reason) as low level as it gets. What makes Rust too high-level for gamedev?
> If you don't like it, don't get it. Why should government regulate it away so that people who do like it can't get a discount?

History tells us that scenarios like this are often the first steps towards mandating that everyone comply as the idea is accepted by the masses. Also, what's marketed as a discount today becomes the norm tomorrow and today's norm becomes a premium service in between.
> most of this doesn't really do anything to enhance it

How so? It looks pretty beneficial to me, and that's coming from a tech at an EU company which will have to comply with it.
I have to disagree a bit here. It's true that the system has worked for many people, but you can not tell me that it's perfect. There are multiple styles of learning and comprehension that each individual is predisposed to. It's possible that this school has found another teaching style that improves on that model. It is encouraging that a school system is willing to allow it's educators to work with changing that model and adapting to better suit their population. Perhaps this design isn't the best for X% of the students in the class, but maybe it reaches more students in the class as a whole? The article is pretty light on detail, so i'm completely speculating on my own here.
here it is: https://gist.github.com/raincoats/7b2631106c74f759eb5d

A few things though:

- Last time I ran this, in the memory dump, every second character was the letter "f". Like, in the dump, instead of saying "Words" it would say "Wfofrfdfsf". It changes each time, probably to do with my char onechar variable. (Actually now that I think about it, it should probably only be onechar[1] instead of onechar[2]. It was called onechar because I was trying to printf 1 char at a time)

- Before I changed "p" to &memcpy, it was "p = &p", and it would only read my environ before segfaulting.

- This program, on linux, dies almost immediately. It only spits out a few bytes.
Question is... will self-driving car prevent tracking or increase it? Will Ford/Toyota start an insurance business and their cars will track us even more (they do now, yes they have built-in ~sim cards). Will card manufacturers take a deal with banks and government to report on car users so you will get a fee before you get back home?

http://www.businessinsider.com/ford-exec-gps-2014-1?IR=T

http://money.cnn.com/2015/03/25/technology/ford-speed-limit/
I really dig the idea behind the site. I am not a UX developer, but I am improving and the service would be invaluable. What can we do to help get the iteration back in place?

I assume the reason for not going with DO, Linode or AWS was you're not a devOps guy, which is understandable. We can help you with that.
get more done
Kids start honing their cybersecurity skills early
But Washington DC is on the list :) Probably because the standard touristy East Coast destination is NYC.
> you can see C++ adopting pretty much the borrow checker as a tool

This may be because I'm too close to it, but the Core Guidelines are similar in ways, but also very different. Preventing data races is an explicit non-goal, for example, whereas in some ways, it's the focus of the borrow checker.

> Rust has no major production deployments of which I am aware

Dropbox is the latest production user, as of last month. And it's serious production usage: how the bytes get stored on disk, basically the core of the whole business.
We call that privacy of location.
Who is pretending it was a peaceful utopia? That's silly. Counting coup (showing bravery in battle) would earn a man great prestige. Of course there was war between tribes and people went hungry at times, during a harsh winter for example. However, before the railroads and the gold rush expanded out West many Sioux tribes lived in relative homeostasis with their environment and had a nearly constant buffet of Buffalo.
It was a javascript vulnerability, CVE-2013-1690. After free of a DocumentViewerImpl object, triggered via an specially crafted web page using onreadystatechange events and the window.stop() API, you could execute arbitrary code.

http://resources.infosecinstitute.com/fbi-tor-exploit/
WOW that's expensive for no good reason. I can get a server like this for about 10% of the price at for example OVH. Apart from being based in Swiss which I'm sure you're not the only host, what does this have to offer that's worth the 1000% higher price?
If you were an electricity provider (which homeowners are on a small scale), you would be receiving wholesale rates. I wonder how much of the energy pushed into the system is actually utilized. Overcapacity during peak hours is probably a big problem for the utilities.
Python won't run without specified indentation, and leaves no freedom for brace positioning. On the C side, we've accumulated a variety of formatting styles [1].

[1] https://en.wikipedia.org/wiki/Indent_style#Styles
Despite the "bitter and angry" connotations, GPs comment still rings true. Everything branded Firefox or Mozilla is dying a slow, withering death. At least, everything I used to like using.
AWS Latency – Find the fastest AWS region from your location
To be pedantic about it, string literals in C are of type `char[]`. In C++ they are of type `const char []`. In either case, altering the contents of the string literal is undefined behavior.
I genuinely do not understand the aversion to drinking recycled water. It's all recycled water!
In the context of IoT applications, the typical application is either a dashboard web page or a HTTP web service - hosted on the device in both cases - serving sensor information to whoever requests it.

Both cases are easily implemented using Javascript on Firefox OS [1].

In contrast, a C(++) application would let you read the GPIO states. But all the HTTP stuff still needs to be implemented. What's a good way to do that? I know C(++), Python and Java. I might select one of these. Can I use Node.js and interface with the C(C++) code? I don't really know.

I think such questions inhibit devs who have not done any/much backend programming from getting into the IoT field at all. Firefox OS solves that problem by exposing low level system interfaces via client-side JS.

As for the larger topic of javascript vs C(++) ecosystem, I can't say much because I'm not that familiar with server side javascript.

[1]: https://hacks.mozilla.org/2015/02/embedding-an-http-web-serv...
Simple pricing. No need for a calculator.

And then you quote prices in swiss franks instead of US dollars as its common in hosting industry.

I don't have currency converter in my head nor I know USD->CHF rate
I guess heat is a problem in Nevada. Solar panels work much better in colder temperatures. Even in Germany you get less power in the middle of the summer than at the beginning or the end of it.
When I went to a bank open an online account I asked how and when can I change my password... guy told me "Why would you change it, when you can type anything now". Yea, why would I ever want to change my password that was easy to remember at that point, written on his keyboard, computer and browser?
Cambios Chaman En El Juego Wow Warlords of Draenor