skysight-inc/HackerNews huggingface dataset:
> With range-based for loops, I often find myself wishing C++ had Python’s xrange function built-in.

Built-in to the language would be nice, but C++ is always extremely spartan with its standard library functionality. Thus:

https://gitlab.com/higan/higan/blob/master/nall/range.hpp

37 lines (without the boilerplate header stuff) and you have:

for(int x : range(20)) ...; //iterate from 0 ... 19
for(int y : rrange(myvector)) ...; //iterate from myvector.size()-1 ... 0

Also supports xrange's offset/stride arguments (it's pretty much exactly Python's xrange object in C++.) And you can add support to do ranges over any class anywhere, eg range(myvector) will pull the length from myvector.size() for you with a simple overloaded function.

Timing tests in extremely critical loops (like convolution kernels eating 100% CPU usage) shows no discernable performance impact at -O2 and above over the traditional C++-style for(int x = 0; x < size; x++) style.
Actually I had to switch to another provider due to sparse labelling, need for zooming/unzooming especially during navigation where you have inconsistent connectivity.

Google maps labeling is wrong and dangerous for drivers due to the need to keep your finger there.
So that sounds like the review system is broken, but not the concept itself. I always had the impression that anyone could review the paper, as in anyone can read a book and write a review about it, and then they all publicly could ask questions about parts of paper that are incorrect, science paper "bugs" if you will, that the author would have to clarify/fix and when there are no more of these "bugs" it is considered as peer reviewed. Although it wouldn't mean there are no more incorrect things, just that nobody asked about them. Also that would mean that mostly people interested in field are involved in review. What you described sounds really detrimental to the whole process. Is peer reviewing so hated between researchers that they need to be assigned and forced a deadline to get papers reviewed?
Aren't submarine props usually classified? Meaning you don't just let people take pictures of them?
Possibly, or even m3/m5-based tablets. I have an Atom-based Windows 10 tablet and it seriously struggles with browsing some websites without an ad blocker installed. It can use Twitter.com or play Solitaire fine, though.
It's even harder than that. Unless you remove the fuel rods quickly, in 1-2 months, you get too much thermally hot plutonium-238, and too much plutonium-240, which is the isotope that prevented using reactor bred plutonium in a gun assembly bomb and required developing the implosion design. Another isotope quickly decays into a fierce gamma ray emitter.

At best, from what I've read, you'd have a bomb that prior to detonation would dissipate 100 kW, requiring serious refrigeration and therefore size, and you'd be lucky to get a yield greater than 1 kT. That's of course quite capable of ruining your whole day, but it's perhaps more accurately viewed as a super dirty bomb, that's likely how you could achieve the most damage with it. Not a city killer, but a contaminator.
[openssl-announce] Forthcoming OpenSSL releases – 3 may
That doesn't improve the accessibility of the devices, which is part of the problem. Access is a feature that depends on the ability of the consumer and is therefore often not considered, but is also not promoted by producers. To simply legislate that products shouldn't fail doesn't improve the authority of the consumer much, now does it? That's blanked card legislation and is in theory not viable. 10 Years seems like a rather arbitrary rule, anyhow.

You are probably not actually a lawyer, neither am I. I could still agree with the desire for intervention when the majorities on both sides of the problem are unreliable.
I don't think that Facebook is trying to ride the chatbot trend because it will work better with 3rd world slow internet. Their vision is like Telegram's (and many others) - That people will find it easier to use a natural language interface to interact with services.
Optimal placement of labels is an NP-hard problem[1]. Since google maps transferred to vector and label placement is now done on the (mobile) client, I am not surprised by what happened.
[1] https://en.m.wikipedia.org/wiki/Automatic_label_placement
I've been noticing this but could never quite put my finger on what it was. This is exactly it.

On google maps I can never find what I want. I thought it was because I've been using OpenStreetMap, and had gotten used to a different display style. Seeing a place once in OSM anywhere in the world, and zooming out from it to continent view, I can almost always find it again later. On Google Maps I always got lost. Now I finally get what the problem is.
I can't find the source, but I read about a study done with women where they smelled sweaty shirts from unrelated men or their brothers or fathers. Across the board they rated the shirts from their blood relatives as smelling worse than the others. The theory was that people with different genetics have different makeups of microbes living on their skin, making them smell different than you.

I like the way my wife smells, and we certainly share no relatives for many, many generations.
Weird that the proposed solution is to make newspapers write better news. What prevents this from being copied over and over again by web-based news outlets, thus destroying their ability to generate revenue?
Super carriers have a much bigger space budget than submarines, so I wouldn't be surprised if they used less enriched uranium. On the other hand, refueling is a total pain, so that might put a premium on the total U-235 in the fuel rods (granted, some of the U-238 will breed into plutonium and some of that will burn up, but...).
now that just pisses me off. What has or will the F35 deliver to all of humanity vs what NASA has done in its lifetime? If we shifted that money to NASA and other Space eXporation private companies, who knows where we'd be now.
Out of curiosity, I took the final comparison and re-created it (roughly) in desktop Apple Maps.

http://imgur.com/5CvnHn8
Ask HN: Where can I learn how to build a recommender system?
I'm trying to build a recommender system for news articles. I've read about basic collaborative systems but I'm looking for something more.

Do you know of any good intros to building recommender systems?

Thanks HN!
The end of a mobile wave – Benedict Evans
North Korea, Belarus and perhaps a few others are Orwell. The rest are Huxley. I've noticed that former Orwells, like East Germany and Poland, are thought to be warmer in character, have closer families, and are less atomised than the western consumerist equivalents.
That cost difference doesn't seem bad considering you'll get to tax the income once earned, and you have to imagine investing in this could give rise to some cottage industries that will contribute to the area for generations.
Scalpers provide liquidity, like most arbitrageurs. If reselling tickets was impossible and the price remained the same, then people who didn't manage to get one would be out of luck; now, they can pay more and still get one. Scalping is only possible when the market value of the ticket is more than the price charged, which means the demand will outstrip the supply.
I really liked Octave and used it for a lot of prototyping - it was certainly sufficient for my needs and the maintainers are helpful & friendly and were unofficial TA's during the 1st run of Professor Ng's Coursera course.

Given the range of finances of a MOOC class of 160,000, Octave's price (free) was vital for some to participate.

Matlab looks really cool, but I feel it unfair to advocate un-Free software if my students can't take it home. I never got a chance to play with Matlab so can't really comment.

As you suggest I graduated from Octave to Python, sometimes Lua & Torch7 and then the subsets of C for CUDA & OPENCL's GPU parallelism.

Javascript is so universal accessible a platform that I like to give demonstrations using Karpathy's ConvnetJS & ReinforceJS as everyone can explore it straight away using the browser console as REPL.

Professor Ng's MOOC students managed a good fundraiser for Octave development so those that could, paid something.
That could cause accidents! I hope they're at least relevant ads for auto and life insurance, tow trucks, chiropractors, tombstones, etc.
Mentiras e armadilhas usadas por cibercriminosos
OpenSteetMap is very difficult to compare to Google Maps as it uses pre-rendered raster map images at fixed resolutions, rather than a dynamic vector-based approach. For me at least, this makes it far slower to load in non-cached areas, and the lack of precise zooming is super annoying.
Lack of competition.
The French Wikipedia page about it is actually https://fr.wikipedia.org/wiki/Conjecture_de_Syracuse !
The always on, digital sticky note
Satellite imagery for close zoom levels aren't loaded for Turkey! https://productforums.google.com/forum/m/#!topic/maps/Ixm4C6...
One thing I still use Google maps and the GPS one on Android is to learn an area. For that, it is incredibly useful to map the real-world and digital context of where you are in relation to your surroundings, not just have it laser-honed on your route.

I've noticed when purely following GPS directions that I can't remember how to get there, even after a few times following it. Knowing the area helps you take your own informed alternate routes, know what things are on the way that you might want to detour (oh, I needed to go to the post office anyway), recognize if the GPS is going to the wrong destination because of user error, etc.
They have a demo video of an early prototype unit: https://www.youtube.com/watch?v=d4t9Ys8wI6k
I have a bit of trouble seeing a use case here, especially for a price tag of 330-400€. If I want linux, a decent screen and a good battery, I'll buy a Chromebook for 200€ and install Linux on it. If I want Linux tools and a small screen, I'll use my Motorola MotoG with GNURoot Debian and a bluetooth keyboard.
Related question: What's the linux application situation on arm devices? Of particular interest is the emulator and office / productivity situation.
Of course, there are also a few more reasons this sort of 'misinformation' is becoming an issue. Like all the sites online that actively make up news and stories to get clicks on social media, while only saying its 'satire' someone deep in a disclaimer page linked from the footer. It's pretty hard not to be misinformed if the internet is filled with deliberately misleading fake news sites that try and capitalise on people's fears and political opinions to get ad clicks.

Just look how many debunked stories on Snopes comes from sites whose sole purpose is to trick people on Facebook.

In addition to this, a lot of journalists need to ask themselves whether people's distrust of them comes from them being treated as 'idiots' by the press that's supposed to represent them.

There's a point here where the article says:

"Only about 20% feel positive towards newspapers today, again following the decline in trust in our politicians."

But how about another reason? It's not just the fact the politicians are seen as almost completely non trustworthy, but the fact the press are seen as completely out of touch and more interested in supporting the 'status quo' than the population. It's the fact that having an opinion to the left or right of the media gets you labelled as 'crazy' or 'bigoted' or 'horrible'. That supporting Sanders gets you called a 'Bernie Bro'. Etc. The level of contempt a lot of journalists show towards their audience leads to people hating them, which leads them finding people that exploit that hatred for less noble ends (usually extremist groups and publications).

That's something else the press needs to fix, and fast.
Two questions. Why wouldn't they, and how could they tell?
What if they simply don't want people to print the map and rather use google maps to actually perform the guidance?
My point is that the EFF (and whoever was drafting this press release) certainly knows what the Judicial Conference is, and are (is) willfully misrepresenting them through careful word choice.
Is this just a rebranding of the Pandora computer? It looks like it has been updated (they probably didn't originally have SIM card capabilities in the Pandora, which was gaming-focused I believe), but I haven't really kept track of the project, and it's not obvious from the linked page.

I have absolutely no need for this computer, but really want one. What would you use it for?
My Nest has saved me money and helped the power grid and the environment. I don't think that one is a good example of complexity for it's own sake. Plus using the Nest is just a lot nicer than the expensive pure garbage that came before it.

Security cameras, a remote deadbolt, door/window sensors you can remotely monitor (a lot cheaper than a subscription to ADT or whatever), these are all pretty nice as connected devices. I don't see going back.

I don't want to be throwing money down the drain either though. And the market will fail here. Most Nest users that got burned will buy another Nest. Of course you will because there's maybe one other thermostat at the home store that isn't garbage? And they still cost about as much.
This is awesome news! A rag-tag bunch of hackers got together and made their own hardware device. They stuck it out - battling con artists, economic destitution, and even a freakin' volcano - and managed to get the Pandora out there in spite of it all.

And now, they're doing it again! We have an open-source friendly (http://repo.openpandora.org/) portable gaming console that is owned and operated by the people, for the people. Not a major corporation, not some faceless entity - real hackers, accessible to you and me, pulling it off where nobody else dared to even try.

I can't wait to have a Pyra in my hands! It'll be a very welcome companion to the two Pandora I already have .. Sweet news guys!
I agree with the rest of your post but I can assure you it's not the policy of Red Hat to release unstable upstream software. I am a Red Hat employee and I'm as annoyed as anyone that systemd doesn't have separate upstream development and stable releases.

Also what's with the stupid versioning of systemd/udev? Having a single version number is simply a dumb idea.
Every US politician will side on the side of security. If they don't and some awful terrorist plot happens on US soil under their watch, their political career is over. If the argument is between fear and an abstract notion of freedom, fear will always win out.

The only way it changes is if the US does away with career politicians, or fear of the government becomes > fear of terrorists.
This is the paper - http://rspb.royalsocietypublishing.org/content/260/1359/245
I think the concept of “emotional contagion” is a stretch. I simply do not believe that empirically[1], people who smell sweat excreted by frightened people will also feel fear. Disgust as general reaction to all sweat samples is more believable because sweat is generally viewed as an unpleasant smell.

The notion that you are lacking an entire layer of communication when you do not have a sense of smell is also subjective, especially when it comes to those born without it; you can't miss what you don't know. Also other senses tend to compensate, i.e. when some blind people report heightened sense of hearing.

[1] Lack of discussion of sample size makes me think it wasn't representative in size or demographics.
Its not a re-branding - its more like the next version. It'll run the same software, but its a new generation of the same concept.

Pandora -> Version 1.
Pyra -> Version 2.

(I use my two Pandora for gaming, Linux hacking, and as a portable console/interface to other larger systems. Its an amazing, amazing device..)
One of the Spark-focused EdX courses[0] has a very good module on Alternating Least Squares, that will help you understand how to build recommender systems in a scalable way with Spark.

[0] https://www.edx.org/course/big-data-analysis-spark-uc-berkel...
Both ended up far wrong because they overestimated government's cohesiveness. Most first world governments are far too inept to accomplish anything so difficult as either book prognosticates. We've seen nothing but a slide toward increasingly ineffective democracies since their era.
Listen Carefully for Hints of the Next Global Recession
Maps, especially when used for real time navigation, are the poster boy example of what Bret Victor means when he says "Interactivity Considered Harmful". [1]

Interactivity is a failure state of software that could have predicted what the user wants from context and past behavior, and tailored the display and presented it to them without being asked.

"Further, the user might prefer to learn information while using her hands for other purposes, such as writing or eating or stroking a cat [or driving the car]. Each time software demands the user’s hands, this activity must be interrupted [at the risk of causing an accident]. Finally, the growing prevalence of computer-related repetitive stress injuries [and using smartphones while driving] suggests that indiscriminate interactivity may be considerably harmful in a literal, physical sense."

[1] http://worrydream.com/MagicInk/
Can you hack me?
Target Is Testing Out Robots to Track Store Inventory
I use:

- OpenStreetMap / OsmAnd for general use (about 75% of the time);

- Google Maps for traffic info, street view and businesses (about 20% of the time); and

- Bing Maps for areal imagery (about 5-10% of the time).

Google Maps is always extremely slow, but their business listings are very comprehensive due to their extensive marketing, and traffic info and street view are also expensive things open source cannot really rival.

Bing Maps runs at the speed of light when zooming and panning around the map. So much better than Google Maps, but the map's quality is not great so I just use it for areal imagery (another thing OSM does not have).

OpenStreetMap is as fast as Bing Maps and its map quality is better than both google and microsoft if you disregard business listings (at least in western Europe and the middle of nowhere[1]).

[1] https://twitter.com/lucb1e/status/522491538912604160
This article uses very odd language.

Traders buying and reselling at a higher rate “could be distorting the markets and removing the efficiency that we’re supposed to see through real-time bidding,” he said.

By definition successful arbitrage makes the market more efficient - it brings prices closer together (making the cheaper exchange more expensive and the more expensive one cheaper).

Furthermore, arbitragers in ad exchanges are causing more ads to be sold, providing a valuable service to buyers and sellers.

Suppose there is a sell order on exchange X, a buy order on exchange Y, and these orders are compatible. Unlike public equities markets (which have RegNMS) this order may NOT be routed from X to Y. The result is inventory is wasted or put to a lower value use.

If an arbitrageur notices this he can cause the transaction to occur which would not otherwise occur.
If you're a lawyer, this committee is probably common knowledge.

I'd bet 99 out of 100 non-lawyers wouldn't have a clue about this group of people.
The rules mention that the police must notify the owners of the computers or information, so police wouldn't be secretly hacking into your computers without telling you. That actually would be pretty bad.

The malware one seems entirely reasonable to me. If you have malware, chances are you're aiding criminals by providing them with hardware to commit their crimes with. Why shouldn't a judge issue a search warrant or have your computer seized? The computer is literally part of the crime scene. If you don't like it, don't install malware.

The first one I'm not really sure where it would be used. Is it just, say, "police are allowed to use TOR vulnerabilities to gain access to the servers serving .onion links in the course of their investigation"?

I guess their point is that the changes should've been initiated by Congress, since it's more than procedural. I can buy that, even if the changes themselves seem innocent enough.
This is a portable handheld gaming device with excellent controls, a fantastic hardware design, and most important of all: a simply fantastic community, which will support the device like no other gaming-console manufacturer can.

Its open source. There are things happening on this platform that won't happen anywhere else (see: dynamic-recompilation that brings x86 titles to ARM, seamlessly), and its frankly one of the most exciting new platforms for gaming out there.

Which portable handheld gaming console has a repo like this - http://repo.openpandora.org/ ? :)
The statement provided by the company in question is kinda hilarious, basically "Our software totally behaves like malware but don't you dare to say it or you'll be hearing from our team of rabid lawyers!"
To be clear, he knows exactly that it's those 500 sold on 9/14/14, right?
Blame the English language. "September 14th, 2014" is easier to say than "the 14th of September, 2014".

The American style date reflects the English language, which is why it feels more natural to many of us native speakers.
It is, simply put, superlative. On ARM we have most of the things that Linux users are used to, plus things such as dynamic recompilation being used to bring older x86 titles to the platform. Did you know you can run things like Starcraft on ARM because of the OpenPandora platform? :)
The big problem is that routes used to be useful without turn-by-turn navigation - back when there were bubbles on each turn you could click on to see. Now you're stuck trying to read a long list of directions, or you use turn-by-turn and have no idea where you're going until the last second before each turn.
Does anyone actually read that many statistics outside of an academic paper?
I'm still not convinced of "Google Infrastructure for Everyone Else". Google built Google's infrastructure because that is what Google needed. Your CRUD app probably doesn't need that.
The key was printed using a font that was too small to be readable by any means.
Cjdns is a p2p IPv6 network and doesn't do DNS -- I see how the name can be confusing though :)

(I'm one of the developers)
Fascinating; per Wikipedia, e.g. https://en.wikipedia.org/wiki/W79 and https://en.wikipedia.org/wiki/W48 they used a "linear implosion" technique, but it sounds like it had about the same inefficiency as the Little Boy gun assembly design. Which for safety reasons alone are iffy to field, and even more I'd imagine in a quickly accelerated artillery shell....
Business Insider is the extreme version of every online news gathering operation
> - A (automatic): the operand refers to the current stack frame. The offset is relative to the current base pointer.

Did you mean stack pointer ? base pointer gets set once where as stack pointer changes between every function call.

> Here is how I implemented a small instruction set for the VM of my experimental language, without using GPRs.

stack pointer is still necessery unless some memory region is predefined as stack pointer.

'A class' can be made more space efficient by dividing stack into 16 chunks and then instruction would only need 4bit to address.
If you want to be strong in Asia you should work with the country in the region, i.e. Japan. France is a powerful country in this regard, but also not a very reliable one (cancelled Israel and Russia deals, for example).

I am sure there is more to it than just one businessman being smarter than the other one. Or AU leadership being strategically smart.

I believe it is a "divide and conquer" type of thing, one of "the great games" at play.