skysight-inc/HackerNews huggingface dataset:
Agence France-Presse/SCMP: Suspected Chinese hackers stole the money from Bangladesh’s foreign exchange account on February 5, according to a Dhaka central bank official and media reports.

http://www.scmp.com/news/asia/south-asia/article/1922556/ban...

VICE: "The Fed had the responsibility to keep the money safe," Shamim Ahamad, press minister at the Bangladesh Embassy in Washington, told VICE News. "We are suspecting that Chinese hackers have done it."

https://news.vice.com/article/bangladeshs-central-bank-accus...
I have been advocating for the PrefixVarint encoding you mention for a while.

One thing I'd mention though: as you've specified it here, it puts the continuation bits as the high bits of the first byte. I think it may be better to put them in the lower bits of that byte instead. It would allow for a simple loop-based implementation of the encoder/decoder (LEB128 also allows this). With continuation bits in the high bits of the first byte, you pretty much have to unroll everything. You have to give each length its own individual code-path, with hard-coded constants for the shifts and continuation bits.

The downside is one extra shift of latency in the one-byte case, imposed on all encoders/decoders.

Unrolling is probably a good idea for optimization anyway, but it seems better to standardize on something that at least allows a simple implementation.

Here is some sample code for a loop-based implementation that uses low bits for continuation bits:

// Little-endian only. Untested.
char *encode(char *p, uint64 val) {
int len = 1;
uint64 encoded = val << 1;
uint64 max = 1 << 7;
while (val > max) {
if (max == 1ULL << 63) {
// Special case so 64 bits fits in 9 bytes.
*p++ = 0xff;
memcpy(p, &val, 8);
return p + 8;
}
encoded = (encoded << 1) | 1;
max <<= 7;
len++;
}
memcpy(p, &encoded, len);
return p + len;
}

const char *decode(const char *p, uint64* val) {
if (*p == 0xff) {
// 9-byte special case
memcpy(val, p + 1, 8);
return p + 9;
}

// Can optimize with something like
// int len = __builtin_ctz(!*p);
unsigned char b = *p;
int len = 1;
while (b & 1) {
len++;
b >>= 1;
}

*val = 0;
memcpy(val, p, len);
*val >>= len;
return p + len;
}
...and the lack of appetite for playing whack-a-mole with the privacy settings.
Citing a paper from the mid 90s isn't a credible answer in 2016.

All VLIW does is move a lot of on-chip logic off-chip into the compiler. This only works for a small set of computing tasks - which is why the closest thing we have to VLIW today lives in GPUs. And why Itanium was nicknamed Itanic.

It's a non-starter for general computing because as soon as you start dealing with real-time conditions the compiler can't optimise in advance, the speed advantage turns into a speed penalty.
It definitely merits study, but I imagine the best ideas are going to be in plastic-digesting microbes, and measures to reduce the amount of new plastic that gets into the system. I'm afraid we're going to have a layer of microscopic plastic sediment on our crust, just as we have a layer of radioactive soil from atomic testing in the 50s and 60s. It will be one of the geological landmarks of our era.
Maybe I don't get Prosper202 but it seems quite different.

ClickRouter makes a realtime decision where to send your clicks based on your affiliate accounts.

Say you have a forums with thousands of posts which have thousands of links. "Affiliatizing" them all would be a huge and nearly insurmountable task.

With ClickRouter, you install a piece of javascript in your footer. Every click is intercepted and sent to the best Affiliate account you have. It also tells you what affiliate accounts you SHOULD create because you're losing revenue.

The issue for me was just that, trying to affiliatize thousands of links that users put on my site. Now it's done automatically and if I signup with a new affiliate network, it knows automatically those affiliates are available.
> It has a great UI (material design) ...

I disagree here. I find Google's UI to be the clunkier one. Sure, AWS is positively antique, but it's clean, readable, understandable and predictable in a homely Web 2.0 (or even 1.0) way.

Google's UI seems haphazardly put together by comparison, from the super tiny font to how common tasks are too often hidden away — the hamburger menu and the project selector being two examples. The progress of a task is also often hidden away and fairly inscrutable, such as when creating a container cluster.

When I started looking into the container support, I found that there's basically no web console for it. You can create clusters and see some summary of status about the cluster, but you can't see pods, replication controller settings, etc. — it turns out that the "Container Engine" is little more than a prebuilt Linux image with a startup shell script that starts up Kubernetes. AWS's ECS is the same way, but at least it has screens for creating jobs, adjusting resource settings and so on.

Google Cloud seems pretty great, but the web console definitely has a long way to go.
> In Spanish, it's the first person subjunctive form of "to wash".

It also means "to wash" in English.

http://www.google.com/search?q=lave
In related news, I heard on NPR today people are complaining that the TSA no-fly list didn't catch a man who was a wanted shooting suspect.

The insinuation is the no-fly list should be expanded to catch domestic criminals. You know, the no-fly list that you can't be removed from and don't have to have committed a crime to get yourself listed on. The no-fly list that is unconstitutional, yeah that one.

http://abcnews.go.com/US/idaho-shooting-suspect-kyle-odom-fl...
I like the fact that it is all code and no fluff. Are other chapters planned?
I think what the grandparent meant was that if you were not using the land profitably you are going to want to 'sell' the land to someone who can use it more profitably and is therefore willing to pay a high price for it. If you didn't do that and just rented the land you would lose money because of the high land tax.

I think 'selling' here means "giving the other guy the privilege of having to pay lots of taxes instead of you".
EigenCoder: Programming Stereotypes
You're so wrong it hurts. Please go find any economist on the planet and they'll be happy to explain why your layman's interpretation is wrong.

In the meantime, please read my other comments in this post, as I don't need to keep making the same arguments, but also read the comments on Tyler Cowen's blog:

http://marginalrevolution.com/marginalrevolution/2016/03/the...

http://marginalrevolution.com/marginalrevolution/2016/03/pro...

http://marginalrevolution.com/marginalrevolution/2016/03/how...

Marc Andreessen is not an economist and he's also an investor in the companies that he is saying are providing mysterious new productivity that "old economics" can't measure.

Come on, you've got to be able to recognize these kinds of conflicts of interests...
From http://webassembly.github.io/ :
"Open and debuggable: WebAssembly is designed to be pretty-printed in a textual format for debugging, testing, experimenting, optimizing, learning, teaching, and writing programs by hand. The textual format will be used when viewing the source of wasm modules on the web."
Complaints about poor site UX can often be lodged, and don't address the particulars of the content of the article. It's a distraction.
Support Rahul in his fight against cancer
Rahul, a young college student, is not worried about a friend or relative dying from cancer. Having been diagnosed with it himself, he lives everyday in fear of it being his last. Everyday is a new beginning, yet at the same time, he never knows when it will mark the end.
Know More about Rahul here https://igg.me/at/el-fvrP0Ee0
Since Snowden has taken responsibility, I don't see how you can construe was you said as anything other than a statement that Snowden should come back to the US and face prosecution for a capital offense.

That certainly isn't the same thing as calling for extra-legal assassination.
VLIW is just a way of achieving instruction level parallelism. That 9:1 speed-up is vs a single issue, in-order core, which PCs haven't used since the mid-90s. Modern superscalar processors can not only handle multiple instructions in parallel, but extensions like AVX allow very wide instructions for embarrassingly parallel things like matrix operations. We've probably achieved 95% of the theoretical speedup from amazing VLIW.
I think things should work OK if either the laws are reasonable so normal people don't accidentally break them or if we don't police them thoroughly. If neither condition is met, then we have some horror dystopia where everybody lives in fear of unexpected arrest.

The laws are already too tough, so we depend on poor quality police work to keep ourselves safe. If the police use NSA data to actively discover crimes, then we would fail both conditions and be in trouble.

This suggests that an alternative solution would be to fix the unreasonable laws rather than keep the police crippled.
> People who don't agree with something should have a way of expressing their views

What about a comment? Once someone elaborates why they disagree, others can trivially +1 it to show support of a specific disagreement.

On the other hand, you can disagree with both the original comment and someone's disagreement, prompting an additional "disagreement" reply.

Note that -1's don't carry as much information as you'd think. It could mean any one of these:

- Someone disagrees with you

- Someone doesn't like you

- Someone is angry or having a bad day

- Someone is retaliating or holding a grudge

Without any rationale, there's absolutely no way to tell the difference between a useful disagreement and juvenile aggression.
Nearley: a JavaScript parsing toolkit http://nearley.js.org

Nearley is fast, expressive, convenient, streamable, battle-tested, bootstrapped(!), has a "standard library", and has an error handling API. You specify grammars in BNF and compile it to a JS (node/browser-compatible) file.

Nearley also has fun tools like "output json.org-style railroad diagrams from my parser" and "use this parser as a fuzzer that creates strings that match the syntax".
My Trisquel setup says otherwise. wmctrl -a + LXDE >>> Any Explorer.exe version.
Let's encrypt is awesome. Thanks for making this awesome utility. I still have little idea how the ACME negotiation work, but its a pretty cool utility.
How an Amateur Meteorite Hunter Tracked Down a Fireball
I guess this is the cycle:

1) "Some things you should care enough about to do badly." - Start as a hobby

2) “If a thing is worth doing, it is worth doing badly.” - You work on it some more but you are still mediocre at it

3) "If it is worth doing, it is worth overdoing." - You work at it, again and again and you have a ton of iterations

But you get tired and you question what you are working on; #4,#5,#6 creeps in your head

4) "If a thing is not worth doing at all, it's not worth doing well."

5) "If doing something isn't worth the effort, doing it well won't fix that."

6) "There is nothing so useless as doing efficiently that which should not be done at all."

I see 4,5,6 a lot in "features". Techs spend too much time on features that no one really cares about. Its the same for crappy movies.. lots of talented people work on really crappy work.. 99% of the time its not their own passion project. In todays, work-world, we are forced to do great work on really vapid stuff.

I see 1,2,3 in really passionate people and what the world gets are iterations, variety and meaningful work. *the world is better for it - scientist, entrepreneurs and artist do this. Many variations and angles of an idea. A lot of times, the body of work becomes meaningful.
Brendan, looking at your photo, please take your time off, get into a shape and have more fun! Thanks for all your work so far but don't overdo it please!
bad comment.

you're welcome.
They don't even need to convince a jury. 97% of federal cases and 94% of local ones end with a plea bargain. To see why, consider facing a million dollar legal bill (average), with a likely 7 year jail sentence if you lose, and you're offered 6 months in jail if you confess. You know you didn't do it, but can you afford to fight it and the possibility of the jury getting it wrong?

Given this math, I guarantee you that a lot of innocent people plead guilty because as wrong as it is they simply can't afford to fight for justice.
Grammar essential for high quality software? Many would disagree.

I'd say its only essential for being no fun at parties.
unless, you're proposing a global implicits dictionary a-la Haskell, leave them alone, I much prefer to give up subtyping...
> people will only reach for it in cases where there is a compelling reason.

Why? Won't any javascript (or any other source code) be compiled to webassembly before going to production?
So how many candidates in the upcoming election are publicly against this kind of data mining?
I would be all for banning submissions from zerohedge.com outright. It's just noise that makes it harder for me to skim headlines for actual content.
Chapter 13 has already been written a couple of years ago. As for the others, I planned to write them, code and text and all, but didn't have time to follow through. A few weeks ago I found time to add lots of improvements to the library, and have just released new version, so who knows :)
But they always end up abused. Everyone hates all of those, and that's good, because it causes people to steer away from them. Instead of throwing our hands up, and giving up, we should continue to try to keep those out.
Alzheimer’s disease could be caused by herpes virus, warn experts
The approach taken to preserve backwards compatibility with existing code that already uses `var` as an identifier is interesting:

"The identifier var will not be made into a keyword; instead it will be a reserved type name. This means that code that uses var as a variable, method, or package name will not be affected; code that uses var as a class or interface name will be affected (but these names violate the naming conventions.)"

I didn't know there were such things as "reserved type names", but I'm guessing `var` will be treated sort of like `String` or `Object` (always available without an explicit import) and maybe it'll be a class in `java.lang`?

Seems like a much "nicer" approach than when Enum types were introduced with the `enum` keyword, but I guess that was slightly different.
hey tapsboy, thank you for the comment. This is in production right now for four companies, including Poker Central, Mark Levin, WME/IMG and ITPROTV. It's definitely been a ton of work, and lots more ahead. Still really appreciate the encouraging words. You're right, there's a ton of blood sweat and tears here that it's hard to understand if you haven't done it!
Ghost Photo Gallery
Maths PhD vs. Product Management: A Comparison
I actually don't have :thinking_face: but have :confused: instead.
Thank you kodablash! We have a sync service that we're planning to release soon that can pull stuff in from AWS transcoders. Other than that, we also support Brightcove, Ooyala, and others. Join the slack if you'd like more info :)
FWIW I don't have a problem with calling autonomous stuff robots.
Publicly against it doesn't really mean anything for politicians (look at Obama)... I think that looking at their voting history is probably more reliable (in Congress or Senate, if available).
Why can't both styles coexist? Declarative hypertext resources for things that are document like, and dynamic applications for things that are app like? We simply are augmenting the plain old HTML web with the ability to link to resources with new capabilities. We haven't subtracted anything.
He might mean "uncontrollable feature-change updates indefinitely". That includes nagging for reboots, and if you're not present at the computer I hope you didn't have any long-running jobs in progress. Windows 10 is almost a webapp, in that you're always on the current version, whatever that is, hope you like it. That's my reason anyway.

The fact that I have to manually uninstall and hide some individual cryptically-number-coded windows updates on windows 7 in order to get rid of nagging to install windows 10 in the taskbar and in the windows update control-panel makes me frankly scared to give any more update control to Microsoft.

Since Windows 7 still gets security updates and I only use it for games, I have a few years before I need to figure out the next step.
The reasons why people here choose not to upgrade are going to be totally different from the average user. There are so many updates begging for attention on Windows that most people have learned to just ignore them without reading because it's too much of a hassle to keep updating software. I think it's a stretch to say the average Windows 7 user has an informed opinion on whether or not they want to upgrade.
CLJS Fiddle - http://cljsfiddle.com

Allows newcomers to jump into the best parts of Clojurescript development, and lets those who understand Clojure{script} share their questions and examples.
How to SELL TO GENERATION Y: SOLVING AN EQUATION WITH SEVERAL UNKNOWNS
This is such a ridiculous meme. I assure you, MS's business model is not you. Their business model is selling enterprise support and making Windows directly competitive.

They're doing this because Apple and Google. Apple's made massive enterprise inroads. And Google has made massive education inroads. Windows has been relegated to gaming and "that OS no one wants to use at work." And that's a tenuous and dangerous position.

It's also to try and compete on cross-platform mobile tools which get them big enterprise contracts. These have always been MS's bread and butter and will continue to do so. Windows 10 as a service is just MS recognizing the reality of OSs in a modern world. It is a change Google has already adopted with Chrome (and its evergreen model of change updates) and Apple only discards with iOS when they want to promote sales of the next major handset.

They've also made major strides towards openness and helpfulness in the open source community. Their compiler, core library, runtime, JIT, etc? It's all open source now. Under many open-source-compatible licenses.

I'm not saying we should suspend all disbelief or not call them out when they have stupid bugs or make positively boneheaded moves like that fiasco of putting a Tomb Raider add on the default lock screen. We should. But we should also be willing to say, "Perhaps this company is capable of change and there are some genuinely interesting and laudable signals of that."
Just quickly skimmed the source, and there is a hilarious comment for the bind! function:

"An impure, heretic variant of bind that sacrifices kittens to C++ gods."

https://github.com/uncomplicate/fluokitten/blob/master/src/u...
TCB matters. If you have data to back that quality statement up, I'd very much like to see it.
If you look at product reviews, people are more likely to write a comment if they have an issue with the product than if they don't. I'm not sure how much this applies to github topics but it could possibly provide it's own bias towards negative comments.

Also, as others have mentioned, it only takes one person to write a negative comment, then others could +1 that.
In the context of the New York Fed transactions of tens of millions of dollars, as in this example, are essentially tiny.
Remote Workers: You Must Find Your Own Structure
That response is deeply fucked.

It also gives further evidence to the fact that most people simply want to live a good life, and are happy to give power to any authority that can promise them that. The thinking here is: the government created the no fly list to catch bad guys, these are bad guys, why aren't they on the list?
How do you see adding a button enhancing this bias? People already barely leave -1 replies without arguments.
In what respect? I work for a Big 4. YMMV, a lot (depending on the org, your location, the team you work in, etc). I am not a dev, but work in a role where I get to use my technical background to help clients get done whatever it is they need.

- The hours range between great and terrible (if it's quiet there's a fair amount of flexibility, if it's busy then you work like a dog).

- I get to work on a range of clients, doing different things. There's plenty of scope to try new things if I get sick of whatever I'm doing at that stage.

- Pay can be good or terrible, depending on what you do and how good you are at it.

- I work in a role where I don't have sales targets (thank god), but you can get pure sales roles as well.

- The people I have worked with are amazing (internally, client facing can be a different matter). In 5 years, there's literally only a handful of people I wouldn't work with again, and some of them are now some of my best friends. Most people are driven, incredibly smart, and hard-working.
I think if we decide heavily siloing / sandboxing is the right thing for software generally, then what you want to do is build an operating system that works that way (kind of like iOS, but with provisions to enable better data sharing so that you can actually make things with that OS).

This would be TREMENDOUSLY better than trying to make the browser into an OS.
Can one fork this on GitHub?

I'm interested in the peak detection algorithm.
And Ubuntu doesn't have requirements for reboot and upgrade cycles in perpetuity?

I mean... it does. Oh, and the kernel installer script still doesn't purge old builds so periodically your updates will still stop working on LTS. It's silly.
There are a few more (but not many functionst) that are a compromise, so I expect that Haskellers would have a few objections. But, this is Clojure, and not haskell :)
This makes me think: an open-source project can be better off if it's not controlled by any one company. While in Prometheus (http://prometheus.io), we might still take a while before we have a clustered remote long-term storage, we'd never prevent it because the project is independent of any company and we'd want the open-source project to be as good as it can be.

Also, there were some tentative thoughts about using InfluxDB as the main long-term storage backend for Prometheus, but that has become pretty much uninteresting now that clustering support (needed for LTS and durability) is basically cancelled for the open-source version.

Still, I guess I can understand that when you're a company, you need to focus on making money.
An inspiration for amateurs everywhere. It is a useful idea at the start. But at some point, you will acquire an itch to to hone your skills. By then, you probably don't need to worry about doing badly.

P.S. I love this guy's wit. I came into his works when I researched Catholicism and because of some references from Neil Gaiman. But I would have never thought that this writer would ever be in HN.
PHP recently did the same thing with PHP 7, which introduced type declarations for the scalar types. This meant we needed to reserve `int`, `float`, `string` and `bool`. To minimise backwards-compatibility breakage, we only reserved these as class/interface/trait names, and not in other contexts.

And it seems we were right to reduce the scope of it. PHP 7 prohibiting "String" as a class name ended up being a significant BC break affecting several projects. I imagine it might have been worse still if `string` was a reserved word.
Of course, but OP was talking about Win10-style forced updates that is part of the "Windows as a Service" that I mentioned.
I thought you don't need any specific support from the gpu, since we already have pci pass through: https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVM...
Skype co-founder launches ultra-private messaging, with video
If you get a -1 from somebody whose opinion you value, you can always ask what's up.
Then such a vote should be opt-in - that is, it should only be possible on posts where the writer has explicitly chosen to make this a possibility. That would solve the issue.
Thanks! Feel free to contact me if you have any questions.