skysight-inc/HackerNews huggingface dataset:
That's a good news! About that, two days ago I modified the implementation of neural networks inside Neural Redis in order to use AVX2. It was a pretty interesting experience and in the end after modifying most of it, the implementation is 2x faster compared to the vanilla C implementation (already optimized to be cache obvious).

I never touched AVX or SSE in the past, so this was a great learning experience. In 30 minutes you can get 90% of it, but I think that to really do great stuff you need to also understand the relative cost of every AVX operation. There is an incredible user at Stack Overflow that replies to most AVX / SSE questions, if you check the AVX / SSE tag you'll find it easily.

However I noticed that when there were many load/store operations to do, there was no particular gain. See for example this code:

#ifdef USE_AVX
__m256 es = _mm256_set1_ps(error_signal);

int psteps = prevunits/8;
for (int x = 0; x < psteps; x++) {
__m256 outputs = _mm256_loadu_ps(o);
__m256 gradients = _mm256_mul_ps(es,outputs);
_mm256_storeu_ps(g,gradients);
o += 8;
g += 8;
}
k += 8*psteps;
#endif

What I do here is to calculate the gradient after I computed the error signal (error * derivative of the activation function). The code is equivalent to:

for (; k < prevunits; k++) *g++ = error_signal*(*o++);

Any hint about exploiting AVX at its max in this use case? Thanks. Ok probably this was more a thing for Stack Overflow, but too late, hitting enter.
http://www.nanex.net/aqck2/4555.html summarizes a study here: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=1955965

Key quote:
"This manipulative practice [spoofing] is illegal under the U.S. securities law, yet it has been frequently discovered in both equity and futures markets."

Here's an example of the penalty a middling HFT firm sees:
http://www.reuters.com/article/us-sec-enforcement-spoofing-i...

$1.9M in fines - no jail. By contrast Sarao is facing up 380 years in prison.

Others faced fines of only several hundred thousand dollars: http://www.wsj.com/articles/how-spoofing-traders-dupe-market...

Note that the most connected HFT firms (Virtu, Citadel - oh hey, Ben "Revolving Door" Bernanke works there) don't even get fines, despite engaging in spoofing, and even being banned from China for spoofing: https://www.ft.com/content/d4b61458-398d-11e5-8613-07d16aad2...

Also note that there have been many "flash crashes" triggered by spoofing HFT's. There's nothing special about the Sarao one, other than the fact that he was an individual operating out of his home.
Or techniques that are illegal that could be used by people who care more about harming the stock market than they do about making a profit.
Or compare

[] + {}

and

{} + []

The first one is "[object Object]" and the second one is 0.
They announced an event on November 25th, named "Connect();".
Last year at Connect(); they announced the release of Visual Studio Code 1.0, so maybe there's a chance we'll know more that day
You mean Liberals, not Labour! Though I agree the party colours and platform and orientation are largely similar to the UK Labour Party.
> Syntactically, PHP is atrocious.

Saying "<PHP's syntax> is atrocious" has always been spurious (or simply mischaracterized as "I like X better"). Compared to what? C or Erlang or Haskell? It's really damaging to credibility to start with flamebaiting.
I know I'm super late to the game, but Neighbourhood Bully is really underappreciated. Great song, great poetry.

https://www.youtube.com/results?search_query=neighbourhood+b...
It's not just about laughing. It's about laughing at someone's work in a derogatory manner. I hope you can tell the difference and understand the extremely negative impact the latter can have on culture.
if you dont care about the best usability, and you dont collaborate, Amazon Cloud Drive is 60/year for unlimited storage. not that youll hit 2tb soon, but for someone looking for cheap and easy cloud storage, dropbox is kind of expensive. you pay for the featureset not the storage size.
Automatic Forwarding Re-Enabled in Yahoo Mail
I'm not as hyped about FPGA-in-CPU so much as I am of having Intel release a specification for their FPGAs that will allow development of third-party tools to program them.

Right now the various vendors seem to insist on their own proprietary everything which makes it hard to streamline your development toolchain. Many of the tools I've used are inseparably linked to a Windows-only GUI application.
Dubai Ports World invested in this? That's serious. They're owned by the government of Dubai.
How is a poor business model related to market share ?
Do you mean "we expect people not to have an illusion of security" or "we would want people not to have an illusion of security"?

I posit that this actually creates an illusion that http is better than "insecure" https.
It's gonna happen, whether it swings to Hillary or one of the 3rd parties. Utah is demographically a Mormon (Latter-day Saint) majority, with a little over 50% of the population claiming to be members. Mormon remnants and culture tend to lean to a more conservative political viewpoint, which is why, historically, Utah has voted for the Republican Party despite many non-Mormons holding liberal views. However, the positions and character of Donald Trump have really ruffled a lot of Mormon voters. I would cite news sources if I weren't on mobile, but both the Deseret News and the Salt Lake Tribune have written about the Mormon's disdain for Trump, in addition to speaking out against him. I think it's highly likely that Trump will not win Utah simply because he does not have the support of the majority of the voters. Disclosure: I am a Utahn and a Mormon.
Isn't Phi better at dealing with branch-heavy code? GPUs absolutely kill on straight-forward compute, but they seem to flail helplessly if the logic is highly conditional.

I've read that in some cases GPUs evaluate both branches of a condition and discard the unwanted results. A CPU doesn't do this.
ASICS often are faster than more general FPGAs, and FPGA's use a lot more energy than a comparable ASIC. But the reprogrammable nature of FPGAs is an incredible advantage.
And there are even some phones that have FPGAs integrated now a days, so there are lower power options (altera) which would be appropriate for mobiles/laptops.
1> Yes there is plenty of room to innovate on implementation, but they still want input to the scope of what they are implementing.

2> Nobody is saying they should be product managers, I am just suggesting they want more direct input to the shape of the product itself (not suggesting ALL engineers either)

3> Agreed, and PMs should continue to be good at this, its a core part of their role, understanding the ecosystem
While I agree with parts of this article, the fact of the matter is that in the majority of cases "JavaScript fatigue" is self-inflicted.

Chances are most of your users don't care about you using ES6 or TypeScript. They're not checking to see if your code is minified, uglified, bundled, code-split, or whatever. What matters to most users is their experience, not yours.

So if you're using Webpack and Babel and TypeScript and Gulp... you opted in to that complexity. If you feel like you need 18 tools to develop your apps that's on you, not JavaScript.
Not holding my breath, since they haven't gotten AVX512 into desktops yet! (Kaby Lake might be worth something if they did... but nope, just more lie7's mostly...)
Thanks for sharing. They seem to be convinced about the viability albeit concluding that it may need bigger diameter pipes and the speed would be little slower.

No alarms on thermal expansion, structural integrity etc.
Yep. Typoed.
Why is it possible to cancel an order?
If you have the time we'd love to hear your feedback via our built-in feedback mechanism, see link below for details in case you're not familiar.

https://msdn.microsoft.com/en-us/library/mt632287.aspx

Thanks for testing the preview, we are doing everything we can to improve the core IDE capabilities in this release.
I'm no stranger to Node.js. We use it in production for all of our real-time/async stuff. The new ES6 features async/await are cool and all, but it's a late addition to a language that was clearly not designed for synchronous code. If you use them, you just end up with bloated, complex code. For an API, I think Node.js is the wrong tool for the job, personally. PHP is a better fit, IMHO. For real-time/async stuff, it's a different story.
Do you have any news articles pointing to the Credit Suisse credit line? I've been following this story since last year but didn't catch that one.
Or if you think it can and should be fixed at that institutional level tell them what you've learned to do better on a personal level and then volunteer to help lead the effort to create the automation/systems to prevent anyone else from making the same mistake in the future.
As a moderately senior consultant for small to mid-sized software companies, I discuss product plans even more than I do as an in-house developer. As an in-house developer, I get salary, and that is heavily protected by law.

But as a consultant, I want to actually get paid, and paid well. If I work on ill-conceived design put together by an incompetent product team or an inexperienced founder, I'm also much more likely to have to push hard to get paid for each milestone. So I only consult when it's clear that I can add strategic value and that my client really understands their market. Once I'm sure those conditions are met, I can help them on the technology side.

When I ask my clients probing questions about their product plans, they generally seem quite happy that I care. And yes, I have advised some of them that PHP would have been a terrible choice for their technical requirements. A large part of the value a senior consultant brings is knowing how far out on the bleeding edge is wise for a given company, product and team. You want a good balance of development speed and a reasonably mature ecosystem.
> near vacuum inside the tubes

This isn't true at all. The tube will still have air inside of it, you just need higher pressure behind the car than the air in front.

The cars themselves work a lot in the same way a cylindrical air hockey table would work.
as a matter of choice ,I always use rvm to install ruby. Never faced any issue related to installation.
Dropbox is currently indispensable for iOS users. Most iOS people I know use Dropbox as the clunky-but-works app-to-app sharing mechanism. Dropbox is not as popular on Android because apps can integrate more naturally.

iCloud may be easier and is the probable successor, but Apple has only recently gotten its cloud game together and its free option is only 5GB.

Eventually the platforms are going to make using a third party obsolete (arguably already so on Android) so I predict we're at peak Dropbox usage. Especially considering Google's new Pixel phones will store all photos at full resolution for free, I'm sure Apple will at least have to increase their free storage tier.
Having product and design teams be in charge of their respective areas doesn't mean that developers can't add their thoughts into the mix, they just don't get decision making power.

Why do you think a developer should have decision making power in the area of design? They are not trained in design and UX. Conversely would you be ok with designers or other non-technical people dictating technical decisions? Of course not!
I am not familiar with how deep learning algorithms would benefit from these instructions in a way different from how they can just use vector instructions optimized for graphics processing. So my question is, how are these "Vector instructions for deep learning enhanced word variable precision" different from other vector instruction sets?
Cool stuff, but unfortunately Intel has really delayed AVX512 instructions for their main consumer processors (ffs, it was supposed to hit on Skylake). It looks like we have another die shrink to go after Kaby Lake before we get that sweet ultra-wide SIMD:

https://en.wikipedia.org/wiki/Cannonlake
Any problem can be solved with unlimited funds. The question isn't if it is possible, it is how much good can be done with that same money elsewhere (opportunity cost).

For example, one mile of Hyperloop or five miles of conventional high speed rail? One mile of Hyperloop or two miles of Monorail? One mile of Hyperloop or investments into more efficient aircraft?
Also as a senior developer you carry some of the responsibility for the junior's ability to make that mistake. You probably set up and maintained the development environment where such an error could slip through into production.

So in case of a critical error/melt-down you should first of all blame yourself and think about why you set up a process and an environment that let this happen in the first place.

Think about what went wrong and how you can prevent it from happening again. When I started at my current place of work, they had a horrible manual deployment process that was the cause of 99% of all problems they experienced. Rarely critical problems, but still annoying and unprofessional. So we implemented automated build, test and deployment process that got rid of almost all of these problems.

Now, whenever something bad happens, we realize it is a problem with the process (not the individual) and correct/improve it as needed.
..like the transporters in Star Trek :)
The advantage of CSRF/CORS/etc being taken care of by third party libraries is that it will be actually handled (even if its very basic) in sites created by beginners, which is better than not having it at all.
Kind of reminds me of Jujutsu. I was about to recommend we all start a new framework, jujutsu.js, whose total file size is 0 bytes, but then I remembered that, of course, it has been done before: http://vanilla-js.com/
> The National Popular Vote bill would guarantee the Presidency to the candidate who receives the most popular votes in all 50 states and the District of Columbia.

http://www.nationalpopularvote.com/written-explanation

Seems it only requires a plurality, not a majority of the votes.
Yeah, what you describe is illegal - it's market manipulation.
Ethereum to Hard Fork Two More Times Following Recent Attacks
Not sure this is a fair comparison. It works with basically any KDE app, for any protocol that has a KIO slave. There certainly must be a lot of confusion for users that don't understand why it doesn't work in random non-KDE apps they've installed, or the command line, but I suspect very few of them are typing in SSH URLs anyway. At the same time, Windows doesn't accept an SFTP URL in a file open dialog.

Anyway, I use emacs on both platforms and it handles all of this for me, so my dog retired from this game many years ago.
We're excited about the fall developer event for sure and do hope folks tune in online (as its mostly a virtual and free event).

Save the date for Connect(); // 2016 is here:

https://connectevent.microsoft.com/

Nov 16th through 18th

But to be fair here we have not communicated on what we plan to announce at this event but certainly there will be lots of news!
Regardless, he is a hero. He's making political corruption and media collusion front and center.

I find it disconcerting when tax returns are illegally obtained and released about Trump, all of the mainstream news organizations focus on the content. Yet, when there are hacked emails released about Clinton and the DNC, the focus is on the illegal behavior and the 'Russians' and that we should ignore the content.
No, I think flukus is right. The space itself between galaxies is expanding (and the expansion is accelerating), which means, so eventually even our closest neighbour Andromeda will disappear behind our observable horizon and be eternally inaccessible, in all regions of the electromagnetic spectrum. It's counter-intuitive, but a good way to visualize is by imagining miniature galaxies printed on an expanding balloon (with the expansion speeding up), and then imagining what happens to a photon leaving galaxy A and travelling "towards" galaxy B - you'll notice that if the balloon is expanding rapidly enough, the photon ends up moving away relative to both A and B.
This. I have no doubt one of the aforementioned suitors, or some other, will conveniently step forward and strike a deal with Twitter in the $20-30 per share range.
The goal (national popular vote) is laudable, but I think that particular approach is flawed.

A system where the votes are counted nationally and the ticket (president + vice president) winning the most votes is elected would be a system that I could strongly support.

But a system where each state votes its electoral college votes in a ratio based on the state's popular vote, which did not change the other rules (like "if no one gets a majority then we ignore the voters entirely and hold a vote in the House of Representatives instead") would work poorly.

The next-biggest weakness, I believe, would be that the ratio of voters in each state is fairly well known. There are roughly 200,000 voters per House Representative, so one must persuade a substantial portion of that number to "flip" any one vote. This means that, effectively, there would only be one vote "up for grabs" in each state (maybe 2 in the really big states), with the other votes essentially "fixed". This gives hugely disproportional power to the small states (imagine if each state had only a single vote).

EDIT: Please disregard!!! I misread the original proposal, which is a LOT smarter than I thought. The proposal is to give the state's votes to the winner of the national popular vote, thus effecting the proposal I originally preferred.
its illegal if you short said stock prior to starting the rumors, and then profitting from the outcome. "pump and dump".
And if you're only storing still images, Amazon Cloud Drive has a $12/year plan (or, an exact clone of the same tier included with Prime right now) for unlimited photo storage, which is practically a steal if you take a lot of pictures and not a lot of video.

It's cheap enough that I can use it as a cloud copy or a second cloud copy, and I never have to worry about losing photos again.
I would argue that in some respects they would have //less// of a strategic advantage, but that consumers would see the most benefit from everyone getting along and competing on merit on an open playing field. Even in the latter case AMD would still have /an/ advantage as they would at least still be in the primary game, and would also be restricting Intel to targeting that same hardware interface.
Simple but highly effective writing .
How can I learn to write like this ?
I would try unrolling 2-4 iterations of the loop. Multiple sequential loads isn't much slower than a single load, so batching your loads and stores together will let you do more arithmetic operations for each time you hit memory.
If you know someone's Gmail account used for YouTube and have access to their cell phone to receive text message verifications for account resets, you have full access.

Being able to verify a code sent to the mobile phone registered with the account is used as proof of identity for account recovery by basically everything online except banking.
I've seen several versions of that story, often with the quote "Why would we fire you? We just spent $X million educating you." Probably some combination of truth and exaggeration, but it makes for a memorable story regardless.
It might help to try and squeeze more work between the load and the store. E.g. do two of these in parallel (load/load/mul/mul/store/store). Think about latency vs. throughput, the load and the stores may have high latency but also high throughput so you need to be issuing more of them concurrently (without any dependencies between them). Just off the top of my head.
For analysis and perspective on the media, there's the excellent NPR radio show -- wait for it... -- "On the Media".

On a good week, I find myself thinking it's one of the more important shows around, right now.

The podcast is quite convenient to grab. Try a couple of weeks' worth, as individual shows can vary a bit as to content and presentation, depending upon the week and what they are covering.

http://www.wnyc.org/shows/otm

http://feeds.wnyc.org/onthemedia
Drag reduction is, I think as important as decreasing the shock wave generated by breaking the local speed of sound. Partial vacuum does both. Not sure how to optimize for cost and reliability of construction vs max sped
2016 Nobel prize winner scientifically proves that fasting is good for health
Is Visual Studio "15" the next major release of Visual Studio or the next service pack for Visual Studio 2015? These product names are confusing to say the least. Regardless, i'm happy to see performance upgrades. However, I feel like a lot of performance issues I have with VS have to do with ReSharper running tasks in background, not so much VS itself.
How much will this help? Neural networks work so well on distributed computing systems because the operations run in parallel. With a neural network, you can leverage tens of thousands of separate computing cores. Top intel processors have around a dozen cores or so.

What am I missing here?
That's a rather offensive thing to claim. He has actually accomplished a lot and pushed two or three industries forward.

Personally I don't think Musk is a "dummy" as you do, but I do feel sometimes his passion doesn't always address real world civil engineering limitations. The Hyperloop is technically very possible, thus isn't "dumb," it is just building it at scale (and addressing consumer safety, etc) that may be a challenge.
Much of HN would disagree. Search HN's history for arguments.
I don't think this is a YMMV, but rather we're all lacking a proper, consistent definition of what a CTO is and does. Many in the the comments are coming from the idea of a C-suite officer of a large company, which I think is proper. I think a lot of the use of CTO / VP of Engineering / Director at a lot of startups is just some ego-stroking type behavior. Your claim of being a CTO at a 10 person startup is not likely to be getting you a job as a CTO of a mid-market firm because you're not really a CTO, you're some kind of architect at best.
German ICE trains don't run at full speed except in certain segments. At full speed, they get over 300kph!

Also, you're forgetting about express trains. With sidings and in-cab signals, you can have high speed rail that stop at ever stations and others that pass intermediary stations for morning/evening commuters.
>>Isn't Phi better at dealing with branch-heavy code?

This maybe true. Generally code that is infinitely parallelize to be ran on a GPU isn't going to be branch heavy. There are no benchmarks to support this, but I would believe it is true. GPU's typically have 1 branching unit per 64-128threads. While the Phi has 1 branching unit per 2 threads.

The real difference is GPU's use SIMT, while Phi uses MIMD. Each Phi thread is a POSIX thread. It can do its own thing, live its own life. While GPU's you just specify how parallel your work-group, thread block, warp, or wave front is (name depends on platform, in order OpenCL, CUDA, Nvida DX12, AMD DX12).

>>I've read that in some cases GPUs evaluate both branches of a condition and discard the unwanted results. A CPU doesn't do this.

Intel CPU's have done this since SSE4.
On Knights Landing CPU a single core is be able to perform 2 x 16 operations on single-precision numbers, as a core has two AVX512 execution units. Each core can run 4 thread, and KNL has 64 physical cores.
The Smith video doesn't show anything abnormal.

I was concerned by a couple of things about it, like him sharing what might have been classified information with the church leaders, and also indicating that his support for the Iraq war was so that the church could eventually send in missionaries.

If that is not abnormal, then it is a pretty disturbing example of how religion influences our government.
I hear, in jail, spammers get the same treatment as rapist.
Yeah, but until you linked that, I'd never seen a networked REPL that actually provided it.