skysight-inc/HackerNews huggingface dataset:
> I must be silly but I expected the web worker version to run faster. I must have understood "many threads".

They are only using a single worker thread, not multiple, so it will take pretty much the same time for the actual as the same engine is interpreting and/or JIT-compiling the code.The extra time you see is that needed to bring up the worker, manage synchronisation, tear it down when complete, and any other such overheads.

A quick look at the source says bubble sort is being used which on its own is not as obviously paralisable as, for example, Shell's sort, but multiple threads could be used here generally.

But most parallel sort algorithms assume efficient shared memory so the thread can all access the data immediately without having their own copy, or other fast IPC methods, which is not possible with webworkers which can only communicate via message passing currently which is unlikely to be efficient enough for large scale sorting in many (most?) cases. There are experimental shared memory options in some JS engines, https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... for example) so this may change in the not too distant future.

In this case choosing a better single threaded sort would far outperform this done over multiple threads - they presumably picked a slow algorithm to properly illustrate their point.

Edit: Additionally, as well as building the worker you need to pass it the initial data to work on (or new data if reusing a worker in a more advanced algorithm) which will consume time. In this simple example the data to be sorted is created in the worker rather than being passed in (and back out sorted), so you'd need to factor that in too. Though transferables would help here if what you are doing naturally works with the object types that support that.
Probably want to add "in the UK" to the title.
"To test Switzerland appetite for bitcoin"

It will more likely test the appetite for a poor user experience, high spreads and fees and be a conclusion that people don't have much appetite for cryptocurrency
Just some more info:

These machines are everywhere. Here is an image: http://www.toponline.ch/uploads/pics/sbb_automaten_neu2.jpg

Daily limit appears to be CHF 500.- which is around USD 500.-

SBB Info Page: http://www.sbb.ch/en/station-services/services/further-servi...

There are already a few Bitcoin ATMs that don't require any ID. https://www.bitcoinsuisse.ch/en/bitcoin-atm-network/
Good god that sounds like a nightmare. Its already a pain to use touch-pads on some laptop models where if you rest your wrist on it it will detect it wrong.

And to make matters even worse imagine installing drivers for an os not supported by the manufacturer.
I'd consider a recently updated HP Spectre x360 with newest Kaby Lake CPU. In my opinion it's a better device than Dell XPS (XPS machines still do have very well known and annoying "coil whining" issue). Mentioned it yesterday in Makbooks related topic https://news.ycombinator.com/item?id=12808431

See details
http://store.hp.com/us/en/mdp/Laptops/spectre-x360-211501--1 and video review https://www.youtube.com/watch?v=JZLEm3o9R5A and another one http://www.notebookcheck.net/HP-Spectre-x360-13-w023dx-Conve...

Also take a look at the Acer TravelMate P648 http://www.notebookcheck.net/Acer-TravelMate-P648-M-757N-Not... Though it's more like a solid working laptop than a fancy Macbooks competitor, but looks like a good device.
You're being optimistic. The worst that can happen is that cars of different brands start lying to eachother.
As someone who switched from Dell to Asus a few years ago, I'd like to know what you think of the XPS's touchpad?
A 400 calorie bottle of Soylent has 9g of sugar, a 181 calorie bottle of Slimfast has 18g of sugar. That's 4 times as much sugar per calorie. Similarly, a 220 calorie bottle of Ensure has 15g of sugar, about 3 times as much per calorie. Cynically, Slimfast is for people trying to convince themselves that they're being healthy and losing weight, and Ensure is for people who have to stay hydrated while suffering from diarrhea. It's hardly a surprise why they hasn't caught on with the HN crowd as meal replacements like Soylent has: they're not made for it.

The spin of the marketing is almost certainly part of it, Soylent being marketed as "don't bother stepping away from that super important coding problem, just have some soylent," but it's also the first marketed (non-medical) product that really aims to be nutritionally complete and balanced. There are certainly criticisms you could levy at Soylent WRT whether they've succeeded at that goal, but at least it's their goal.
Especially since a password can't be forced out of you by the government, but they can force you to touch your phone. Touch ID is not protected by the Fifth Amendment, apparently.
Good times ahead! The hardware stacks will all likely be different too, so gravy train for all the HW and systems folks too. dozens of companies all re-inventing the same thing is why tech still has full employment.
me three. I went there and saw a basic resume. thought, ok. whatever. then i saw the comments about turning javascript on. the horror
Ok. So they're supposed to manually create all the potential benefits of multithreading with manual yields and coroutines and the like?

I have an application, it does the following things:

- Presents an interface to the user
- Loads data files
- Loads a test description file
- Processes the data files per what's in the test description
- Displays all this information
- Provides custom filtering options for data analysis

You propose that I should do all of this in a single thread? The test processing can take a minute in some cases (couple hundred megs of data, couple hundred test cases to consider, rare but happens). The user shouldn't be able to use the other filtering tools while this is going on?

In some cases, loading the data files can take several minutes (again, hundreds of megs sometimes) if done over the network. I can't stop them from doing that. Should the UI lockup during this time preventing them from doing other things? (Admittedly, at that point there's only two other things they might do, change a couple options and specify which test description file to use).

It's a simple app, but it definitely benefits from multi-threading. I don't need to come up with some convoluted method of interleaving different tasks that have different run-time considerations. The scheduler can and should take care of that for me.

EDIT: I also assume you wouldn't want anyone to use languages like go or erlang where multi-threading (with green threads) is the expected use case.
Its not their own code. Its code they own.
Curious about the story behind Netius development. What were the reasons behind writing a new HTTP2 server in Python rather than using an existing system?
> 2. Horrible build system, giant dependency (worse than Boost here)... I wish they had gone header only like Eigen or ViennaCL.

I assume that Eigen went header only because that library is mostly template metaprogramming (and a master class at that).
It's an ambiguous term. You're talking about a pyrotechnic system that can only be used once, but there are also electronic systems that are a part of daily driving. My point is that the 150ms happens before the person moves at all, so 30mph is not part of the equation.
They're not stupid now, but if we obfuscate everything hard enough, maybe the future ones will be.
Hm. Might get a maxed out refurbished 2015 Macbook, seems like it's around $500 cheaper.
I Migliori Strumenti per I Growth Hackers E Marketers
Firefox is even worse. I caught it using 37GB virt the other day on Linux and a pretty significant chunk of RAM too. I don't even have 37GB of physical memory.
Please don't editorialize. Finding the best parameters that optimize an objective function can hardly be called "re-writing its own code." Granted, the article is just as guilty. (Edit: The article also doesn't mention self-modifying code so I'm not sure where you're getting that idea from.)

For the curious, here is the preprint: https://arxiv.org/pdf/1610.06918v1.pdf

The technique is an off-the-shelf GAN that attempts to learn a transformation (not arbitrary code!) from input to encrypted output. The learned model is not Turing complete, and most importantly, is _not_ self-modifying. The optimization procedure is what modifies the network, not the network itself.

GANs have been used before to create realistic pictures. They're not new here -- the application is. It's a cool application, sure, but doesn't involve self-modifying code.
Could't the source get encrypted as well?

Also the cognitive gap between a AI and a human brain has to grow and transform unpredictably in the next decades. We may be puzzled to understand how it "thinks" the same way we still don't get exactly how DNA operates.
Which doesn't make sense for an employer to continue to allow. If I have to pay start to pay for the fringe benefits of being an employee then I want the guarantees that come along with that. So I am going to want to have tighter control over when and where you are working and dictate more of your working conditions.

The beauty of the independent contractor model is that it gives the contractor freedom. If I have to pay you a minimum wage when you have your app on then you better believe I won't allow you to have two apps running at the same time. This is a net loss for people who were just trying to make some money being a driver.
It would be very hard to ensure that.
Go look into health inspection reports. Restaurants of all kinds routinely violate health codes.
Evolution is not an optimizer for health. It is an optimizer for breeding and nothing more. The only optimizer for health that I know of is medical science.

EDIT: Also I think the term we should actually be using is "Natural Selection" rather than "Evolution" in this case.
I feel for people that are suffering. I've been homeless, I've been crushingly poor, I've spent time with poor people in third world countries, I've suffered through all kinds of nasty stuff - I know firsthand what it is like.

If your life situation is such that you don't have the ability to experience a sunrise/sunset/pretty flowers/cheese pizza/a variety of other equally common but amazing things, it is almost certainly because you put yourself in, and keep yourself in that situation. There's pretty much always a better option, if you really take a close look at things. I have limited empathy for self-imposed suffering, I feel that only reinforces bad choices.

The analogy I make for most people is that their unhappiness is like being in jail, only their cell door is unlocked, nobody is guarding the prison, and nobody is keeping track of who should and should not be there. You could literally walk out at any time and be free.

As for a hard life dulling your ability to feel pleasure, you are in control of how much you attend to your senses. It is exactly the thing my original comment was about - don't focus on how bad your life is and how much you suffer while you put this marvel of modern culinary magic in your mouth. Instead, quiet the mind, take a deep breath and inhale the aroma of the food. Really look at that beautiful slice of deliciousness, then take a bite, and roll it around on your tongue to truly feel the crispness of the crust and the spring of the cheese. Let the waves of flavor roll over you as the sauce and cheese intermingle in your mouth. When the food has been chewed to the point it is no longer pleasing, then swallow it and enjoy the feeling as it travels down into your stomach. You can literally do this for ANYTHING pleasant in your life, and it makes things _so_ much better.
Yes the trade balance at the moment is negative, which is why we need the £ to fall in value, so we can export more and reduce the trade deficit.

Germany loves the Euro for the same reason, it artificially lowers its exchange rate helping it's exports. With the Deutschmark they would be at a significant disadvantage. Remember they were the "sick man of Europe" prior to joining the Euro.

This is at the expense of countries on the periphery of the EU, Greece, Italy etc. They cannot devalue and complete with Germany. Despite this look how Germany treated Greece when it needed help.
It probably depends if they can hold out for true autonomous vehicles to become a reality.

It will be a long time before you see such cars on London streets, or anywhere without specifically designed lanes in fact.

All that cash they have accumulated is either going towards building a true driving AI that can mimic human decisions and not kill. Or it's being used to lobby/bribe governments to make their business model work while having to give compensation to drivers.
Looks like the answer is buried at the end: "Finland, meanwhile, made the shift by carving out time for teachers to spend learning. There, as in Japan, teachers teach for 600 or fewer hours each school year, leaving them ample time to prepare, revise and learn. By contrast, American teachers spend nearly 1,100 hours with little feedback."
Well they show the same caution and care around curating their repositories and releasing security fixes, so in my opinion (you may disagree) they try to ensure stability beyond the kernel's ABI.
but don't we then just unleash the huge EMP bomb?
No Thunderbolt 3 support, not even a single port, right? Lenova is outsider on the market having no TB3 support.
I must agree with feanaro: Haskell IS a playful and experimental language. Its unofficial motto is "avoid success at all costs", which should tell you something about the playfulness of its community.

As for what you learn from it... you say you didn't see any gains? I take this to mean in your previous languages you already programmed in a functional style, with purity, referential transparency and lazy-by-default evaluation? I find that hard to believe :)
Self-driving trucks will lower the mortality rate and the insurance premiums as well as increase the utilisation of assets - trucks and storage.
Even the biggest restaurant chains follow this approach when things go wrong. You just fix the problem and hope customers stick with you.
> You can buy a better MacBook today than 4 years ago

Only slightly better (or even worse, at the low end, because of the low-power CPU probably getting throttled more)... but really the point is that 4 years ago there was nothing like the MBPR on the market, similar to when they launched the Air. Today, there actually are alternatives with better specs in similar dimensions, and they are much more reasonably priced.
That quote is talking about documentation, not about coding
I'm not a lawyer; my exposure to employment law came in a previous existence as a workplace union rep and this is somewhat outside my expertise.

As I understand it, if the Uber driver were allowed to have someone else drive their car for Uber when they felt like it, and had the freedom (actual, not nominal) to decide which clients they'd like to take on, and had control of their pricing, then there would be no question it was actual self-employment.
In this particular case, the experts have not only been wrong, but been deadly wrong for the last thirty years. Nutrition has been revealed to be woo-woo pseudoscience after mountains of recent research has debunked the lipid hypothesis for heart disease.

Reinhart has NO obligation to heed the "wisdom" of people who have been killing us with sugar for decades now. We should have nothing but contempt for these charlatans.
My experience doing a tech Q&A session with a class third graders
If it prevents a child from being ejected, it will likely save their life.
I know a number of video and photo editors, and while this is anecdata, I'm positive that none of them touch type. I've seen a few of the hunt and peck on a regular basis. I mean, I'm a software dev and I'm not great at typing either.
Why Silicon Valley's top execs are obsessed with taking walks
I think that there's way too much bloat/boilerplate code for the simplest of auth-based routing system. Auth service, auth-guard service, routing service, etc..

Not sure if I'm just bad though, I suppose i'll keep on trying.
Depends on your personal view of the world. I do not believe there is a why to the universe, or human existence. We just are.
> The top 5% of private and public schools in the country produce more than enough folks capable in mathematics.

That's because it's a very easy job. Once you've filtered out 95% of students, the rest would thrive if you threw them in a closet with a book and a flashlight.
I don't know much about investing. If I'm worried the economy is going to collapse where is the best or safest place to put my money? Just keep it in cash? Exchange it for Swiss francs? Bonds?
Potentially as a dev-environment-only drop-in for an application that uses Memcached in production?

It's not like full-blown Memcached is hard to set up locally, so this might be a bit of a stretch. ;-)
Watching the apple event and the various demos of the touch bar reminded me of this onion video from 2009: https://www.youtube.com/watch?v=9BnLbv6QYcA

I really needed a macbook upgrade (I've been using the same machine since 2008), but I have a feeling that the touch bar will fail and be removed in the next generation of macbooks. But buying the macbook without the touch bar means settling for lesser specs (and given that I'm thinking about buying a machine that would last me another 8 years it feels like a bad choice).
Firefox Windows XP Exit Plan
> My experience with CGAL is that it's slow, clunky and very difficult to work with.

I can't comment on the slowness and clunkyness, but in my very limited experience with CGAL I also felt it was needlessly difficult to work with.

Perhaps investing some work in the documentation would help shed this idea.
Off topic, but it's not too late at all. What you need to do is force yourself to touch type. Typically the reason people don't make that transition is that they cannot accept the speed and accuracy loss short term to finish the training.

Resign yourself to typing with a cloth over your hands for a month or three. Plan for being a dog-slow typist. If you have been typing for 30 years, you have what you need cognitively. You just need to force yourself to perfect the final bits of the skill. You don't need more training, you don't need perfect Home Row Placement (I can do 110 and my form is a mess!), you just need to power through that horrible period.
I do honestly think this is cool. The readme does not make it clear if this is a joke (which would be fine), or has any practical use whatsoever (which would be awesome).
The keyboard in general, yes. But a strip at the very top of the keyboard, just below the monitor? It's nearly the same as redirecting your vision to the bottom of the screen. It's not the same as looking at the home row to find the H key or whatever.
>I think we agree that diversity is good, I disagree that their is enough. OS's might be the only one I think is diversified enough

Here I completely disagree. In practice, there's only 2 PC OSes, the horribly broken and intrusive Win10 and the overpriced walled-garden OS X. Almost no one uses Linux on the desktop; even Linux fans have abandoned it from what I can tell, to my chagrin (they've all gone to Macs). If you're talking server-side, that's different and is really the only place where there's enough diversity IMO.

As for Google being peerless, DDG works fine for me for most things. For programming help, I use Google though. And everyone knows Google totally sucks for porn.... (Bing is the leader here!)

Otherwise, I do agree that diversity is good, but my point before is that there is reasonable diversity in most of those places. I don't feel any kind of compulsion to get an iPhone, for instance. Android works just fine for me and most people I know, and the iPhone users I know all seem to be deluded by Apple's marketing, and also people who really have no business buying the most expensive phone out there considering their finances.
Not if any stage of the unleashing process is connected to the Internet.
I concur with this. I have to fight the urge to do it myself.
A Concise RESTful API Design Guide
As someone who frequently drives with my arm out the window, that would certainly be concerning. I can see some considerable safety benefits to containing unrestrained people in the vehicle (rollovers tend to result in ejections, which have a high mortality rate), but at least from a management perspective, I'd much rather let a negligent person be ejected 50 times than keep 49 of them in the vehicle and have 1 sue us because we cut their arm off.
Even if it isn't, I have to wonder about the cognitive load of a constantly changing control strip.

I'd say the closest analog would be the Mac menu bar, and even that works because it is largely consistent across apps.

So far the only benefit I can see is that it's a touchscreen in an ergonomically better position (although, is even this true? How much better is this than touching a bar at the bottom of the main display itself?)

Watching the DJ do stuff on that narrow strip was painful. About the only decent demo was the photoshop one, but why wouldn't photoshop not simply include similar touch controls on the screen for windows devices, which have complete touch screens
Don't plug your twitter here to try and look smug... people are questioning the necessity of a piece of hardware, don't conflate that with not wanting to learn something new
Memory is soldered, but they could have had a 32gb option regardless -- they still have the 8gb option after all.

The real limitation IMHO is power: to chase thinness, they reduced the battery volume and went for all the low-power options they could find. 32gb would likely not be low-power.
Private hire licencing is the responsibility of local authorities and probably varies. In many places, they're easy to get, though; Transport for London seem to have no limit on numbers and a fee of £100 a year - https://tfl.gov.uk/info-for/taxis-and-private-hire/licensing...
No need for snark; after all, you're the one who failed to read properly. In particular, my question was not "will people still form relationships?", it was "will a prohibition cause fewer people to form relationships?".
Aristotle distinguished four kinds of answers to "why?" e.g. "why is this table flat?"

1. Material cause: because wood is rigid and holds its shape

2. Efficient cause: because the carpenter used a plane or chisel to carve away everything that was not that flat surface

3. Formal cause: because that's the blueprint the carpenter used

4. Final cause: because if it were curved your jug of wine would fall over

We can get material, efficient, and formal causes here (the algorithm being the formal cause) without any real controversy. But if I asked a human cryptographer "why is there an XOR in this round?" I'm asking about the fourth one, the final cause or purpose; the cryptographer might answer "because I wanted uncorrelated input bits to stay uncorrelated after this round", or whatever. But talking about that most interesting "why?" as regards an AI's activity is... controversial, to say the least.
They need fund for more R&D. It's good move to survive in near future. If they could bring anything new this time, it's okay. Tomorrow they may and some else may not. Competition is important.
Vue.JS – The Progressive Framework (Evan You)
Thumbor – Image manipulation as a service
Buy a Apple Refurbished MacBook Pro from last generation. Get the discount and the warranty that way. And don't worry about it for 4 years.
I have the XPS 13 and the touchpad is really good, probably the best I've ever tried on windows.
Indeed, a proper link to an official announcement would be better.
Maybe the RDAs of certain nutrients are different from person to person.
You don't fully absorb the foods you eat. You pass them through your body while absorbing parts. Anything that makes it easier or harder to absorb parts of the food will affect what you get out of the food.