skysight-inc/HackerNews huggingface dataset:
BBC's Italy's Invisible Cities used 3D scanning to showcase areas in three Italian cities (Naples, Venice, and Florence). Seeing things mapped in 3D made a world of a difference trying to understand those spaces. It was a great show.

http://www.bbc.co.uk/programmes/b0881gfb
> Casinos are themselves a scam and should not be protected against scammers at the expense of tax payers.

In Sweden casino gambling, and other types of gambling, is owned by the state. The state keeps the money from the gamblers. It is like an extra tax that people can choose by themselves. In Spain it is similar for Lottery, it moves a lot of money in Christmas and the state keeps the profits. Any country can achieve similar results applying high taxes to gambling.

I think that forbidding gambling is an error, as it just moves it to more unsafe locations and opens good business for criminal organizations. Standards that regulate gambling are a better solution, it reduces gambling addiction creating less attractive gambling games, it forbids to loan money to gamblers while they are playing (that is really important), and in general keeps gambling in check.

Disclaimer: I have worked in the gambling industry, and I will probably do it in the future.
I hope you like paid priority lanes for big companies, less oversight of telecommunication company fees, data caps on home internet connections, huge telecom mergers, and no regulation of the growing mobile industry, because that's what you're getting with Pai's FCC. You voted for fewer regulations, Americans, so you get fewer regulations. I hope you like the results.

We've got another election this coming November. And another one next November. If you want consumer protection and some amount of oversight on big companies, turn out to vote every single year and kick the Republicans out of office.
Pro-Trump group hacked, website taken down
So, dumb question, how easy is it to obtain a Canadian work permit/residency but continue working in the Valley?
Take the number of poor between 18 and 64, divide by the number of poor between 18 and 64 who did not work, and you get 61.7%

Of course, the question of whether they "choose" not to work, "choose" to be poor, or if they are "lazy" are judgements not supported by the numbers.

(More worrying is the 40% of the poor who did work.)
There’s a Troll Inside All of Us, Researchers Say
Practically every company I've worked with uses an HTTP reverse proxy. When you use something like nginx, it's really not hard at all to get right. Support for HTTP is more widespread than support for FastCGI these days, especially with more obscure tech stacks.

Edit: You can run multiple apps on separate ports, so that shouldn't be an issue.
In other news, mobile Chrome 57 Beta on Android brought ability to change search engines as you visit appropriate sites (same as on desktop).

Switched to Duckduckgo.
TensorFlow and deep learning, without a PhD
Hi Mike! Big fan of your work! Have been for years, so it's a pleasure seeing you have replied to my comment.

My latest example of this is the Apache Commons-Net Java package [0]. I wanted to make a toy Telnet server as an example for a friend asking how to do so.

I gave trying to install the library a good 20 minutes in my evening at home. Couldn't find a simple Maven "this is how you install" and no "easy 1-2-3 get started with this library" text either.

After looking around for a while, I decided to check how to do it in Node. It's super easy, you just do

require('net').createServer((socket) => socket.write('Hello from a toy telnet server!')).listen(8080)

And that is all! Got my task done in 5 minutes, and my friend learned something easy. My takeaway is that for software to be successful, being technically sound is only the first half of the marathon. You also need to make it accessible.

[0] https://commons.apache.org/proper/commons-net/
Those talks could be summarizes as: Don't use CGI. Nobody has used it for over a decade so it's not really tested.

Which are good points, but you probably knew that anyway. The rest is just a lot of pictures from the web and some guy screaming "wtf!!" a lot.

It has very little to do with Perl5 the language. The part where he touches on that subject is based on misunderstandings on what contexts and references are.
React has this intended/unintended side effect of teaching functional programming concepts without making it obvious.

For me, after finding out the core concepts of React (views are pure functions, functional composition etc.) are actually functional programming applied tastefully to rendering, I finally realized the elegance of functional programming, and since than I've been merging these concepts into my programming methodologies.
> because they'll think you might be using it to count cards.

Isn't card counting mitigated with modern shufflers that produce an entirely fresh deck at the start of each play?
> The agency has strayed from its core mission,” said Marsha Blackburn, a Republican representative from Tennessee who oversees a telecommunications and tech subcommittee.

Yeah, in her view, the mission of the agency is to serve the monopolists, and to strengthen the market stagnation by preventing any trace of competition. Of course in exchange for generous bribes (aka donations) to the likes of her. Why are such people even being voted for?
I have wondered this exact same thing! I assumed tree editors did exist, and I was excited that all I needed to do was go find them. But Google did not come through for me.

Even a basic tree editor would be very powerful. Especially if you could run code from a repl that would change the tree (I know, that's no longer basic ... but it would let the graphical portion be basic, which might help it be bootstrapped into existence).
It's common to split example code into a separate sub-project so it doesn't get compiled into your release JAR.

See here for an example:
https://github.com/gradle/gradle/tree/master/subprojects/doc...

https://docs.gradle.org/current/userguide/intro_multi_projec...
The point is that if you try to prevent pricing of goods, you get a) pricing by other means, often more inflexible, b) underinvestment and underproduction, c) departure of the wealthy through other markets.

The problem with road pricing is usually not the pricing per se, but rather, that the government bodies doing the pricing just apply the revenues to something totally unrelated, breaking the connection between services and revenue. Road pricing can work if it is actually used for maintaining and building the road network - a genuine pay-for-service model.
If you've got concerns about voting rings or brigades or other irregularities, your best option is to contact the mods via the Contact link in the footer.
Just rewatched this. I was thinking "I remember this having a major effect on me emotionally last time, why isn't it this time?", then I got to the end, and it reminded me. Oh boy. Still choked up.
This is great news! Now YouTube, Apple, Netflix, Google, etc. products will run way faster. No more wasting internet and bandwidth on any small crappy websites or companies products.

Honestly, if you're not a billion dollar company, you shouldn't even exist and be on the internet. /s
China specifically and any other area where the fixed costs of operation for Uber outpace any marginal cost they can get off the region due to exchange rate inequalities.
Vizio Settles with FTC for $2.2M Over TV Snooping Claims
When congress and president are both controlled by the same party, you get lots of action, yes. See the first 2 years of Obama.
I'm currently in the process of rewriting a simple version of this stack with some nice versioning properties.

It doesn't look simple from the outside, but thats how complex any modern database is. The only difference with samza is that you can decide how much of that complexity to buy into. And because you have access to the "internals" of how data flows through the system, you can extend that view through your application. (Eg by making a standalone access control filter which only allows some users access to some documents. Or wrapping your react static HTML rendering code as a database view that you can, for free get a change feed to.)

For me the complex part that I can't quite stomach is having to buy into hadoop and zookeeper. But thats a tooling problem, not an architecture problem. We need lighter implementations of all these tools.
While Netflix does have a lot of data about what you watch on Netflix, I believe that the reason people react so strongly to things like this is that, as the platform provider, using automated content recognition and other techniques, Vizio (or Samsung, ...) can know everything that you watch across all sources flowing through the TV. Even including things such as YouTube, linear broadcast TV, etc. That's a lot broader surface area than Netflix has...
Yes I was using CondoInternet in one of the newer apartments. I guess it comes as a perk when the entire downtown is ripped up, you get a chance to lay new fiber.
The Founder's Box ($100 for a weeks worth of meals)
Sigh. Yes, the Mongo oplog and RethinkDB changefeeds are superficially similar. They are both for feeding changes, just like a paper airplane and a passenger jet are both for flying. And yet there is a world of difference.

Leaving aside reliability and ease of use, let's focus on correctness. RethinkDB lets me query a database, get initial data, and then get all the subsequent changes to that data. Notice there is no race condition there.

You can use this to implement systems where when a user logs in, gets the initial data loaded, and then subsequent changes are sent as they happen. Even if the same data is modified by someone else during this time (e.g. during the initial load), things will be processed correctly.

Comparing this to attaching a processor to a feed of all operations in the database doesn't make a lot of sense, because the oplog doesn't provide the same functionality.
I still can't really figure out what a container is. Every time I think of a use case for one, I read something like this which says that's a terrible idea.

The use-case I need solved most often is the following:

Create a standalone "server" that accepts and responds to network traffic, has some way to store data, and whose dependencies (i.e. system packages, frameworks, etc) I can manage independently of any of the other "servers" I have running. Do I just want a bunch of VMs? Or docker instances that all point to some other DB (that's apparently not in a docker instance...?). But then they're no longer independent from one another because they all use the same DB. So do I need a separate DB for each serverlet? Which lives where? On its own VM?
> All that would have been required to solve these problems would have been a simple standard for lightweight pages that anyone could implement

FWIW that's exactly what AMP is. It's not a W3C standard, but a standard nonetheless: https://www.ampproject.org/docs/get_started/create/basic_mar...
I just read that WebSockets aren't supported by FastCGI, so I guess this is the reason for all the reverse proxying in Node-land, hehe
Decoupled failure modes, unless you think there's a global "fail all docker data stores".
Ok, then tell me why they haven't done that already. They could save huge amounts of money by just laying off everyone in the US and hiring new people in India (or relocating everyone to India). The salaries in India are easily 1/5 or less than those in Silicon Valley.

So what's stopping them?
It'll make sense for us to travel to mars, colonize outer space, cure cancer, and a whole host of other things that are presently impossible.

Computers and elevators aren't comparable analogies, perhaps the jetpack is?
> Our current police and justice department like to do magic with the statistics

I suspect you are doing the same: "2-3%" probably does include everything: Scratches on parked cars, lost passports or IDs that are reported stolen instead of "lost" and so on (read: all that is reported as a crime for convenience or for insurance claims).

And I fail to see the negative reasons you hint at in your opening sentence: Should people be convicted just to reach some quota or only when the case is proven? Should people go to prison for minor crimes or should they be able to keep their job by wearing a electronic bracelet and being restricted to their house and way to/from their work place?
Ok, but why do you keep mentioning China, I said I wasn't worried about China. I'm worried about the crazy folks (e.g. NK) with limited launch capability. China is pretty stable.
Maybe the US does have the right to seize data from the world’s servers
http://www.lawyersgunsmoneyblog.com/2016/03/elections-are-no...
And there are at least 60 cases of liver damage, including many fatalities, caused by Green Tea extract:

http://www.cbc.ca/news/health/green-tea-extract-diet-cbc-mar...
Why do they deserve the benefit of the doubt when their press release contains actual lies? When someone lies to me everything they say becomes suspect. It's the standard we expect individuals to live up to, why do you want to give more slack to a company?

Further, so what? There's always some problem. They should either suck it up and work harder or come clean and give users actual choice in how to respond.
Initially you mentioned that 47% is fine, now <33% utilization is also fine, okay, but what kind of utilization isn't?
Can you (or anyone) name some good mind mapping software (other than org mode)?
Oh dear :( Sorry to see sandstorm go. I attribute the failure to many reasons:

1. The UI was very sloppy. For the user, one had to learn many new concepts (what is a webkey? why do apps not work on mobile?)

2. New app developer model meant that it was impossible to create apps easily without insane complexity. If you see all the apps, they had to fork from the main code base and generally lagged behind because packaging for sandstorm required a LOT of work.

3. The web frame that they added around each app was annoying. This frame could not be disabled and thus made many use cases like having a public forum, blog impossible.

4. Their own infrastructure was not self-hosted including using github (when gitlab exists), google groups (when nodebb app exists). They continued to use irc despite having a rocket.chat app as the main showcase. They should be dogfooding.

The alternatives today are at https://github.com/Kickball/awesome-selfhosted#self-hosting-.... I recommend https://cloudron.io. They focus simply on installing things and don't invent a new developer model (it's based on docker)
People seem to have arguments about this based on

1) H1Bs depressing the prevailing wage (true if you believe in classical supply and demand)

2) overall economic utility; aka the economy does better/worse because of more H1Bs (I don't really care, but I guess someone might)

One thing which gets left out: H1Bs are more compliant employees, because their employers have them over a legal barrel. They have a much harder time leaving their employer than a citizen does, and they're a lot less likely to complain if they're abused. Turnover is hugely expensive to a software company; between that and the "costs" of having an employee with civil rights; well, not all employers are bad actors, but the temptation has to be there. I've certainly seen this at work in various places. It's pretty rotten. I mean, obviously many consider it a good trade, but it isn't exactly humane. Social costs like this are often left out of economic considerations. Who cares if your GDP goes up if we end up living in a dystopia as a result?
Traditionally yes.

This is why card counting (in your head) isn't illegal - though it can get you banned. Using a device to do the same thing for you IS illegal.
So logically I can agree with this however in practice at my startups this is just not true. Maybe it is because we never got that big before I went to do the next startup. I left at around 500 people in the last big one that IPO'd. (They are now over 3K - I was in the 1st 30). At my current startup we are ~50.

In both startups finding qualified engineers was the issue always. We did not care if where they came from, just that they could pass the interview process. We would interview 250 and maybe find one person. The goal was top 1%. I once asked the VP of Software if we could make it the top 5% and he said "can you tell me how to tell the difference between the top 1% the top 5% vs the rest? 1% is simple, anything below that you make mistakes."

For the 1st ~250ish people the difference between top 1% and the rest was huge and those top people made a world of difference to the success of the company.

I guess if you are a company with 1000s then the H1-B money game makes more sense. For a small startup, it is the talent that counts, not where they are from.
Even worse than the spying is LG Smart TVs that actively display advertisements in the GUI. I remembered incorrectly which television brand did that, bought a LG on sale, and now I have to remember to keep its MAC address blocked in my router to prevent it from displaying advertisements.
You should give Elm a look, then.
Sad to know the business did not work out. Sandstorm is a wonderful piece of software, I was able to install and play with it without too much trouble. I hoped that would be the project that would take open source software to new heights.

Software (at least software for consumption, mot for creative work) moves from desktop to cloud + mobile devices in droves. And there is no widely successful FLOSS app ecosystem that works in that direction. Basically I want to be able to get a server, install it at home or maybe in the datacentre, and I want to be able to install FLOSS server-side software that works through the web browser and mobile apps. Think my own pinboard.in, feed reader, IRC or Slack-type server, dashboard etc. Sure you can do it with Linux right now, but the amount of work you have to do configuring all this is well beyond the simplicity of 'apt-get install'. The closest thing to this is what QNAP and Synology do, but their systems are proprietary.

Sandstorm has the potential to be that system and did a lot of things well, package installation experience probably the most notable. What I did not like is the grain model. I understand the security reasons behind it, but it felt like a straitjacket and URLs were ugly. There was no accompanying mobile apps (not Sandstorm's fault per se, but something to think about when building systems like that in the future)
It sounds like it really doesn't affect the whole Metro UI part of Win10, which is the part I have the biggest complaints about UI-wise.

I don't like the Windows desktop that much (I like the start menu and such, I don't like the look and feel and other things, which is why I'm a KDE fan). But I can deal with it fine; it's the Metro stuff that's really horrible to me.
There are a lot of things the law says are illegal that are completely ridiculous (a Google search will confirm this).

The discussion is about whether those laws make sense and are moral, or if they were designed by greedy guys in suits trying to punish anyone who dares to play their game in a way different than intended.
Some positive contributing factors are:

Crime is decreasing. Violent crime is decreasing.

Electronic ankle bracelet house arrests are both a cost saving measure (~50k euro a year per person) and contribute to rehabilitation.

These rehabilitation programs in the Netherlands are top-notch, lessening the recidivism rates.

Progressive (hard) drug laws target dealers and manufacturers over (recreative) users. Hard drug addicts have (sponsored) access to rehab programs, also inside prisons.

No, or little, privatization, makes prisons focus on quality and long-term efficiency, not quantity and short-term profits.
Agree on this one 100%. I can't believe how many people depend on prescription drugs in America. I remember when I was a kid, my grandparents knew all kind of tea they could make when someone was sick. The problem is that the tea leaves are not readily available in America.

See this link: http://www.haitiobserver.com/blog/the-magic-of-haitian-remed...
First of all, thanks for responding. I understand the hesitation of language maintainers with respect to adding complex modules like JSON and YAML, but I do think that there are some major benefits to doing so:

* Users don't have to worry about inconsistent distributions. Following a test suite is one thing, but test suites are (almost) never comprehensive and will not catch programmer errors with respect to particular systems (e.g, LP64 and LLP64). Everything will work until it doesn't, and programmers will have to provide edge-case workarounds until individual distributions fix their implementations.

The same goes for module managers. It's good to provide an open spec and encourage multiple frontends, but it's also good to provide a uniform interface for system administrators who just want to automate module installation for an application or framework. Python's easy_install wasn't ideal, but it provided exactly that sort of common denominator.

"Batteries included" makes it sound like I want my language to come with a playground, which I think is an unfair way to characterize the expectation that Perl 6 provide feature parity with the languages it competes with (i.e., Ruby 2 and Python 3).
That's an asinine statement if I've ever read one.

I've been present for 2 highways collisions, avoiding them is super easy. Which is why full lane closures and multi-car pile-ups are as infrequent as they are relative to the frequency of two car accidents.

A vehicle that falls from 100 feet above will be accelerating unlike vehicles in an accident on a highway which will rapidly decelerate.

Furthermore, you now have multiple vehicles taking evasive action based on dynamic predictions that cannot incorporate a collision. The second that one car hits another you're going to lose a chunk of your column from pachinko like bouncing.

Now, instead of a small mechanical failure you can have drastic loss of life because all of the occupants plummeted to their death.

Do you work for Uber?
So, I still need to take an extra step to view the original link and then click again to visit it. Why not just make the entire top banner a clickable link to the source article? My browser already shows the title of the page separately.

The whole AMP / SERP interaction is such a headache. They already insist on us having structured page content to source previews from, the last thing I want to do is write more quasi-semantic markup that just repeats what my original source code already states. Get out of my way Google.
Ask HN: Why do companies outside the US pay so much less?
As a developer, I've found that it's just not worth it to respond to tech companies / recruiters seeking engineers, unless they're based in the USA. Companies based anywhere else, in my experience, expect to pay less than half the rate that US companies will pay.

Why is this? There are possible causes having to do with tax rates and culture, but has anyone really looked into it? How big a contributor is this (rather than, say, immigrants as percent of total population, or university quality) to the fact that the US has Google and Apple and Facebook and Twitter, and the rest of the world has… JustEat and Spotify?
https://github.com/springernature/immagine

If you want to host it yourself...
AMP is really ridiculous. I tried a top article from mobile.nytimes.com via AMP (google link) and direct link. The AMP version takes more than 3 times longer to render above the fold with a 3g regular throttling and cold caches, while the direct link was done in <2s. Chrome doesn't even record enough frames to show when the above the fold content is visible. With warm caches the render performance difference is roughly the same. Wasn't AMP ment to help with that? Superior client side rendering and top notch caching?