skysight-inc/HackerNews huggingface dataset:
How bad must desktop Linux in general be, if people are so busy rejoicing about a volume icon that works, that they accept poor security?
Ask HN: Can I leave my job and work on this product?
I work for a large public corporation, where I've led development efforts for an enterprise software application. The application is not a product - it's not sold directly, but it helps the company deliver better value to clients - sorry, can't be more specific.

I'm considering leaving and starting a company that would create a similar application and sell it as a product. Some companies that would be interested are my current employer's competitors.

I've signed a generic non-compete when I started. I'm very careful about not working on it at work, and will obviously not take/use any company's IP.

Is that considered breaking my non-compete? Are they likely to sue me? I am also planning to consult a lawyer.
Uh oh,

~> howdoi parse json python
{"maps":[{"id":"blabla","iscategorical":"0"}, {"id":"blabla","iscategorical":"0"}],
"masks":{"id":"valore"},
"om_points":"value",
"parameters":{"id":"valore"}
}

Yep can't agree more.
Me... I had been using Arch and FreeBSD for a time because I felt it was what serious programmers had to use. Then one day after FreeBSD refused to boot up again I figured I was bored of messing about in recovery mode yet again so I just thought I would give Mint ago. 20 minutes later everything was up and running. Since then I haven't been able to find the time or the will to spend a whole evening setting up my machine to change back.
One of the first reviews of the Samsung Gear 360, 360-degree camera
Self-contained ADS-B receiver (aircraft tracker) made with Raspberry Pi
"If you're downloading the signature each time you're downloading a new version of a package or iso, and its SHAs, you're using GPG incorrectly."

I believe you're confusing a PGP public key with a PGP signature for a particular file (made using said public key).
SO the quest remains - if they can create their current OS without it getting out into the 'wild', why are they so sure the 'new' OS would? "National Security" will always win the argument - no matter what they say and hope, even if the jack-boots have to break the doors in. I'm torn on the issue, but again, it goes back to why are they sure the new OS will 'get out'?
P2P isn't always mic and camera.

Here's an example:
(WARNING: Don't open this link if you're on mobile, or on a capped data connection)

https://webtorrent.io/
It's significantly slower here. I'd say over 5x slower. If swiping takes less than a second, the chip takes 5 seconds. I'd also blame the implementation.
PyDev of the Week: Cyrille Rossant
The State of Maritime Piracy 2014: Assessing Economic and Human Cost [pdf]
Japanese isn't a tonal language, so it's not really comparable to Chinese in this regard.
Do both.

I used to embed tags in emails, e.g., will-reply:2d and silly stuff like that for two reasons:

1) Keyboard macros could expand it into human-readable text (but leave the tag) and

2) The email client I used at the time made it easy to hang functionality off of email content so I could automate stuff like issue and time tracking etc. based on email tags.
it uses Google. Because stackoverflow doesn't give you what you want.
This is simply by default, from both a free software and security perspective. I've made my security point already.

What is your argument in favor of Apple, specifically?

From a free software perspective, no non-free program is ever better than a free alternative, even if that alternative is poor, because it robs you of your freedoms.
True. On the other hand, the name make it a bit easier to protest: they can't say those things are not computers, since can't do anything else.

Alas, we often just say "tablet", so it's still possible to make an artificial distinction between them and "real" computers such as laptops and desktops.

The idea behind "palmtop" is to appeal to the intuitions behind laptops and desktops, and suggest it should be subjected to the same rules (when possible).
Source code of the Android GM Bot malware was leaked online
> Yes, I'm using Sum types, a feature that's pretty much unique to ML languages.

That's a bit too restrictive. Rust, Swift or Kotlin are not MLs.
Ask HN: My wife is studying mental health (TA) need the best journal repo
Hi - wifey is great person and wants to make a difference with the study and application of psychotherapy TA. She is massively frustrated with the lack of access to free information and is looking for an online repo that would include journals etc... can you guys help?
What's going on in German civic tech?
I have for some time had a crackpot theory that language will actually evolve the other way.

We have these things we carry around with us, called "phones"; they are actually general-purpose computing devices and making (what we still call) phone calls is a small part of their purpose. And to an increasing extent these can fulfill almost all our computing needs.

So, fast-forward a couple of decades, assuming no huge technological shifts[1]. Everyone is used to having one of these things that they carry around in their pocket, and scarcely anyone really needs any other general-purpose computing device. We still call them "phones" because we always did -- so now this is the usual term for a general-purpose computing device. And, yeah, there are some people who, because of their unusual needs, have a bigger more powerful one. Well, what are you going to call something like a phone but sized to sit on your desk while you work? Obviously it's a desktop phone, right? And somewhere out there In The Cloud there are whole farms of server phones :-).

And there will be conversations like the ones we[2] now have about how "computer" used to mean a human being who did calculations. "Hey, did you ever look up where the word 'phone' actually comes from? It turns out that back in the 20th century they mostly used them for talking to one another, and it comes from some Greek thing meaning 'sound at a distance'. Weird, huh?"

[1] That's a pretty big assumption, of course.

[2] For sufficiently small values of "we".
Our move in the war against terrorism
What do you think about Pkutstore?
Kindly use this URL: http://pkt.re/?r=jkhJ , which is an invitation link to our product Pkutstore. We launched as an invite-only beta last month.

We aim to solve the problem of communication and work management in organizations. Companies are using several tools at the same time - Slack, Jira, Yammer, Whatsapp, Emails, Chatting tools, Task management tools etc. - incurring huge cost and users face the problem of effort duplication across all these tools.

Pkutstore is built to let you do all this from one single page - saves you a lot of time and money.

Awaiting some kind feedback on this. You can use this URL to get inside: http://pkt.re/?r=jkhJ

Thanks,

Prateek.
I pulled this from this Quartz article [1.]; this report seemed more interesting than the summary QZ article which contained this:

"She said that the drop in oil prices, which have fallen by $100 since July last year, was a factor in reducing piracy in the area.

In fact, piracy was falling before the price of oil tanked. "

The 2015 report is not out yet.

[1.] Oil is now so cheap even pirates aren’t stealing it any more: http://qz.com/619281/oil-is-now-so-cheap-even-pirates-arent-...

[2.] The State of Maritime Piracy 2013: http://oceansbeyondpiracy.org/sites/default/files/attachment...
> In fairness, what else could they have done, given the time constraints?

In this case "the best move is to not play"
Unlike most comments here, I liked the Arcticle: a good summary of problems the big tech companies are having.

Personally I have huge sympathy for Apple in this case. I have less sympathy for Google and Facebook. Apple, admittedly for business reasons, has come out strongly supporting privacy and I think they should be awarded for that.
> I think it would behoove Amazon to have a network of "customer pickup centers" where you can order something on Amazon, it gets shipped by Amazon itself to a customer pickup center via air, and the customer drives to close off the figurative "last mile".

They have these. Or at least, they are trying them out. In addition to the Lockers (which are scattered around at other stores), at least in Cincinnati, there is an honest to goodness Amazon pickup location. IN addition to normal shipping, you can get same-day pickups from anything that is at their local warehouse (maybe from their Indianapolis warehouse too?). I think this is more like an Amazon branded, dedicated locker site than a store front. But, at this point, that's all they need.

http://www.amazon.com/gp/campus?campusId=CAMPUS_CIN
Yea, I know, I expected this answer. I needed something quick to install, not deb... and with latest versions of packages. I was thinking about Arch, but it's too long to install, I had ~20 minutes. Manjaro is ok to people how know what they're doing and who know how to setup basic features of OS.
Developer.mozilla.org is down?
Apache Kafka: Interview with Jay Kreps
At one company our "unix guru" didn't bother to set up anything like ganglia so when the server's disk got full and brought down the product he looked like an idiot...

Maybe it's good vs bad but it happens. In the puppet/chef era I'd have said you needed to have a background in coding to be a good devop, but ansible has changed that now I think.
Ubuntu with a post install script that grabs flash etc?

EDIT
Write the post install script yourself don't use one of the many flawed ones that a search will show up.

I really don't see why the downvote? The OP wants an easy to use distro that their grandmother can use but seems happy to install it them-self.
Those are all examples of semantic analysis (which is also a problem with C++, but has little to do with the grammar). A tricky grammar is simply a parsing problem.
Then the vast majority of people don't deserve that freedom.

The sad thing is, in today's world, that it means that the minority that really needs that freedom can't have it either.
That's what I'm saying. It should also prompt for permission if there's no audio/video involved. Visiting a random site can make you upload and download illegally at the same time. Therefore there's no justification for it to be enabled by default if just JS is allowed.
> The reason they are dark corners is because they don't come up in real code.

Thank you!

It's amazing how much FUD is spread using examples that would never pass code review! (or even be submitted to code review unless you were playing a prank on your coworkers).
And all you've gotta do is lie in bed with a VR headset on!

Let's hope you don't have a significant other that you're supposed to be spending time with.

Come on, this isn't a solution.
First Evidence for the Happiness Paradox: Your Friends Are Happier Than You Are
A resizable concurrent map
State of programming languages: JavaScript at the top, Go 15th, Swift is 17th
Yeah, as much as I appreciate their initiative there, the Amazon delivery drivers don't have access to my building and the company seems to be unable to solve that. So I have to buzz them in every time.
How does Peekr work, in a technical sense?
That's why we have `pkg audit` on BSD.
I was 8 years old when the game out and I actually enjoyed the game, bugs and all.
> Python and Go

> 99% of the cases is fast enough

This claim is unsubstantiated hyperbole.
"Although it is common for companies to build products that lock-in users at a protocol level, we believe it is better that people use our products and services because they get value from them, rather than because we have built a barrier to exit. If users are not choosing to use our products or services, this is a valuable sign that we are not building the right thing."

Wow.
I know what you mean - that's why I was so disappointed when they started marking small things "Add on items". Suddenly I needed to make it a $25 order just to get the free shipping.
It is not built to go into production.
Does it violate federal export law if a website publishes CAD files of firearms?
I don't think that that's very true. Freedom of the press showed up in many of the Soviet constitutions.

Governments got around it by destroying the judicial branch. At least in the US, it's safe to say that that is not the case. Why would people care so much about the Supreme Court otherwise?
Some awesome suggestions on here.

Also wanted to note:

http://raining.fm

http://www.power85.com/

http://poolside.fm/
It's a PR stunt, nothing more. It's innovative and it seems to work to get their name out there, albeit to a very specific demographic.
We Just Launched Chat API: Integrate WeChat, WhatsApp and Telegram
I'm curious, what languages have better support for tooling than C++?
The Nuremberg Trials, after the 1945 fall of the 3rd Reich.

I'm glad they happened, but from a purely legal POV they're highly questionable.
It's hard being on the wrong side of prevailing sentiments, and when all this pans out I think people will be a little shocked at how the tech sector's enormous financial advantages will have carried less weight than anyone expected.

You can't win politics with money alone. You need a narrative that appeals to peoples' values. Privacy is not a winner in this regard, nor is unrestricted markets (note the leading republican candidate today is pushing an anti-free-trade message). People aren't going to reflexively favor technological progress for its own sake when they see it undermining things they care about (jobs, security, etc).
Personally, I think that analogy conceals more than it reveals. Recursion in computer software requires nested definitions that eventually reach a simple base case resulting in termination. An sram cell or J/K flip-flop, on the other hand, doesn't involve nesting or reach a simple base case.

In my mind recursion is a snake that has eaten a smaller snake, whereas an sram cell is a snake eating its own tail.
I use it day-to-day as do some others in my company, and we also use it for all our cloud deployments. You have to relearn a number of things, like setting configs and so on, but on the other hand for nix pkgs it is nearly always a completely hands-off process regardless of whether you need to build from source or not (Nix handles that as part of the build, retrieving binaries from a remote cache is an optimization). I recommend giving it a shot!
I was going on a trip and needed some random stuff delivered the next day and was happy to pay delivery for it. It was a nightmare tryng to elimate marketplace sellers with longer delivery times and finding out that Amazon don't actually sell a lot of things I wanted.
I spotted the incorrect one instantly. Why? Because there are two good ways to write this correctly, and he chose to not use one, and to use the other incorrectly in in his example.

5 < x && x < 10

10 > x && x > 5

Both seem equally readable to me.

His argument also seems predicated on the assumption that numbers are always increasing.

If x > 10 relax() else countdown(x) // easier to read "if timer is greater than 10, relax, otherwise, countdown"

If 10 < x relax() else countdown(x) // harder to read "if 10 is less than timer, relax, otherwise, countdown"
Not super true in newer versions of iOS where the update backdoor has been removed by requiring PIN code entry for OS updates.
Once I needed to reimplement recursion in mathlab because the stack was too small, it was an interesting experience, I had a matrix-repurposed-as-stack and did all the push/pop manually while the recursion ran as a loop - goes to show that recursion isn't that essential if one knows how to split state, data and code properly.
You could play it with the other arrows, only I guess you'd have to call it something else. Not sure what.
For the range case, languages like Python got it right because the statement "1 < x < 5" means exactly what it would seem to mean.

For other languages I’m not sure it matters for inequalities.

For equality though, I always use the form "if (constant == x)" as opposed to "if (x == constant)" because in C it guarantees that the compiler will trip over an accidental-assignment typo. That is, "if (constant = x)" is a compilation error but "if (x = constant)" might be missed.
I'm not so sure that Apple wasn't aware and perhaps even looking for a battle with the {FBI,NSA,CIA,...} when they added encryption. You don't start designing a system that makes you incapable of fulfilling a warrant without expecting and indeed preparing for those battles in the future.

In a way with things like NSL's and Secret warrants and courts the US had backed companies like Apple and Google into a wall. Post Snowden everyone knows that the Government can get information about you from them without your knowledge and you will have no recourse. It's a PR battle those companies can't win. So they did an end run. Go ahead and get your secret warrants and send those NSL's it's physically impossible for us to get you the information you want.

It forced this whole thing out into open. I can't help but think this sort of legal battle is both expected and in some cases desired by the likes of Apple and Google. They finally get to fight these battles out in the open and any loss of privacy can be blamed on the government rather than the company. It's a kind of PR win whether they win the court case or not.

Of course there is still the problem of not looking pro-terrorist in the process which is another risk to factor in. But at least it's a public debate rather than a private one now.
Can we assume then that a hike in the cost of Prime isn't far behind?
You just triggered an old man anecdote.

We got our first computer on the morning of Dec 25th. We figure out how to plug it into the TV and we turn it on. It turns on, and we get a flashing cursor. Now what? Aren't you supposed to be able to play games on these? The only other thing we have is the BASIC manual. Let's start reading this. So I play with it for a bit, writing programs like '10 print "Bryan is the Master of the Universe"; 20 goto 10'. On the 26th I decide that the first program I should write is a program to randomly pick BINGO numbers. It looks something like this:

10 X=RND(75)
20 IF X=1 OR 2 OR 3 OR 4 OR 5 OR 6 OR 7 OR 8 OR 9 OR 10 OR 11 OR 12 OR 13 OR 14 OR 15 THEN PRINT "B"
...

It took me a couple of hours to get IF statement to work. But I did, and here I am over 30 years later...
Most of the UK is next-day minimum, as I understand it. Us rural folks don't have the same-day perk.
The Zen of Continuous Delivery
He actually discusses it a bit in the previous paragraph, which does not seem to be online anywhere:

> When programming languages emerged, the "dynamic" nature of the assignment statement did not seem to fit too well into the "static" nature of traditional mathematics. For lack of an adequate theory mathematicians did not feel to easy about it, and, because it is the repetitive construct that creates the need for assignment to variables, mathematicians did not feel to easy about repetition either. When programming languages without assignments and without repetition --such as pure LISP-- were developed many felt greatly relieved. They were back on familiar grounds and saw a glimmer of hope of making programming an activity with a firm and respectable mathematical basis. (Up to this very day there is among the more theoretically inclined computing scientists still a widespread feeling that recursive programs "come more naturally" than repetitive ones.)

Continued https://tinyletter.com/programmingphilosophy/letters/i-don-t...
At the time MS was sued IE was the best browser by pretty much every measure

Meh. IE was the browser with the best website compatibility, because Microsoft went out of its way to reimplement half of the HTML standard in its own way, and could use the prevalence of IE to make webdevelopers follow "their" flavour of HTML.

Mozilla's first Firefox release came with the slogan "take back the web". That motto had nothing to do with the excellence of IE.
"Cook like an expert": There's much more to cooking than just following steps. AR don't help much preventing you to slice the onions instead of your fingers. The wrong temperature, an egg that is larger or smaller ... it's timing and knowledge/experience, not a rule book that makes a great dish.

Same for the car maintenance: Perhaps you could do it yourself and save a few bucks. Would you repair your breaks yourself with AR but no knowledge and understanding about cars and maintenance if the life of your children depends on these breaks?

Both scenarios might work for an expert or at least someone who knows the fundamentals, but not for an unprepared consumer.
What about PhoneGap? Seems weird to support React Native but not PhoneGap.
> I don't agree. There are plenty of things in my life that could be hooked up to some online AI to make them smarter.

But "online AI" is just a code-word for "some company, probably the manufacturer, that owns the IP rights". I don't want my household stuff to phone home and report all my actions to Some Company. I think that, for instance, my sandwich toaster thingy should toast sandwiches without reporting the weight or density of them.

>more data is fun.

More data is not fun. More data is Big Brother, particularly when the device itself has a closed-source hardware design, closed-source firmware, closed-source software, and a closed-off "shiny" user interface. More programmability with less phoning home is fun.

https://en.wikipedia.org/wiki/In_the_Beginning..._Was_the_Co...
The proof is in the pudding: http://imgur.com/a/gwT3V
I think this is a very exciting match for both eco systems. I look forward to seeing where it will go.
Thanks for the Ubuntu Mate heads up. Over the last 10+ years, and from Apple OS X to MS Windows, the Ubuntu Gnome 2 desktop was the most pleasant for me to use.
Like you when I need something small, I usually just add it to my next Amazon shipment. Pantry and Subscribe and Save have almost made it where I do not have to go to the grocery store. Add in something like Blue Apron for fresh dinners and I may never have to go to the grocery again.

I miss when I lived in Denver and had a milk man. Every week he would deliver milk (obviously), eggs, bacon, bread, juice, etc...
> I'll just say you really can't fall in love with the technology but rather you should love solving problems

Of course, if you only love certain kinds of problems, that can be effectively the same thing.
I tend to give negative product reviews when harassed by the sellers like this. In my opinion, the review should also be reflective of the company making/selling the product.
Poor security in what sense? That something can be spoofed by an attacker with unlimited resources? How many of your desktop users are actually at risk? How about Win 10 telemetry? Or whatever OS X is sending back to Apple? Happy about it?
Yes, and what do you do when the security fix break something else and the distro choose not to backport the fixes to that problem?
It would appear 2 of the 3 examples he gives at the end of the article are returning UTC. Only Bing returns Pacific Time.
Here's the Red Monk article that's being discussed:

http://redmonk.com/sogrady/2016/02/19/language-rankings-1-16...
8 Ways to Survive and Prosper Around Negative People
If the pilot has been compromised there is not much that can be done regardless of flight door strength.
Yes – that’s why the AWO decided to name their Kindergartens Kinderhäuser instead.
Tim Cook emails Apple staff: 'This case is about more than a single phone'
Here's a great piece on how E.T. can be fixed with a few relatively minor changes:

http://www.neocomputer.org/projects/et/

As much grief as Warshaw has gotten for E.T., it really is an amazing accomplishment that he put it together in five weeks. (This is particularly true, considering the extreme resource impoverishment of the 2600 platform.)
I thought this was about mint.com... Relieved.
It must be pretty good then if you like it with all those cons. Got to look for a mid-range phone that I'd really like and recommend :)

I agree that non-replaceable batteries are not so good.