skysight-inc/HackerNews huggingface dataset:
Notes from my 15.10 -> 16.04 upgrade:

1) If you use the nvidia drivers from the graphics-drivers PPA, starting the default non-root X server will hang with no graphics output. Installing xserver-xorg-legacy fixes this.

2) LXC+Linux 4.4 seems to be very broken: https://github.com/lxc/lxd/issues/1666#issuecomment-21290311...

3) Pulseaudio now uses shared memory and playing audio inside a firejail will break the pulseaudio server: https://github.com/netblue30/firejail/issues/69#issuecomment...
I knew deb2snap thanks, what I'm wondering is the bureaucracy steps to switch Foo to use my snap (instead of debian's deb) by default when being installed in Ubuntu v.NEXT. Thanks again
Can You Hack Cancer?
A lot of developers still don't do this often, don't do it properly, or don't know what to call what they're doing. To you it may be 101 stuff, and it is to me, but if you were educated in front of, say, a form designer, that's a hard habit to break.
It's 3 companies. Truth is, I don't mind having them as managers as long as promotion is fair and as long as I learn how to become a manager. Which I didn't either.
How disrupting. The dream of every Harvard student.. sell Ads!
But why nodejs?? There are a lots better languages to base this off ove.
Great! Finally php7 support out of the box
Another example: the Sega Dreamcast was the last video game console designed from the ground up with 2D graphics in mind and still retains a cult following for this reason.
But why nodejs?? There are a lots better languages to base this off of.
Read my profile. I literally design and implement memory efficient java collections for living. I also worked with Scala for 7 years, including compiler and IDE.

First I agree that Collections.immutableMap(map) has many problems.

EC immutable collections are usually implemented using single array and are very memory efficient, There are also primitive versions, specialized Sets etc..
http://www.goldmansachs.com/gs-collections/presentations/GSC...

EC immutable collections are not just wrappers. They are different implementations and can not be modified. Modification API is there for compatibility and throws an exception.

Full stack copies are necessary. But from GC perspective there is a huge difference between single array and complex tree of references. Array allocation and array copy is pretty effective on JVM.

Also Scala collection creates long lived garbage, while defensive copy creates short lived garbage. Second case is much easier on GC.

In EC collections can share referenced immutable objects (Strings, numbers..). That is probably 90% data, array itself is pretty memory efficient and does not have to be shared.
The American Dream of success is different. In the US, for various reasons (probably including mobility & lack of local extended family) part of the dream is to have Mom stay home with Kids while Dad works 40 hrs/week to afford the House, Car, and TV. Those are different contours than the more communal ideals espoused in the Soviet Union or even most of Europe today.
haha same here...i even said that to myself as i was hitting the back button.
Set-Up Your First Lead Nurturing Workflow
I know about persons but I'd like to share my cookies and other stuff between all my "projects". I tried to use it but it is too separated for my uses.
If I Do Not Push It Away
One should never store binary data inside of a database, because those are either difficult or impossible to index properly, consume inordinate amounts of space, and can bring a RDBMS to a grind. Store the files in a filesystem
and store the paths to the files in the database. Refrain from using database engines which cannot provide instantaneous atomicity, consistency, isolation, and durability. If you do not, you will experience data corruption and thus availability issues, possibly of both transient and silent nature. Refrain from using databases which do not provide ANSI SQL, as you will eventually need the SQL data manipulation mechanism, which is consistent.

To avoid the managed hosting penalty, you can start with SQLite, and do the replication and clustering within your application. For capitalizing on RDBMS capabilities, use PostreSQL Citus or Oracle RAC. Stay away from MySQL, as it silently corrupts data and has no OS authentication, making it difficult to automatically deploy.
How biological invaders challenge our idea of self and other
It runs perfectly fine in wine, I am doing this for years.
>How about Berkshire Hathaway itself?

Warren Buffett to heirs: Put my estate in index funds
http://www.marketwatch.com/story/warren-buffett-to-heirs-put...
LendingClub updates interest rates and loss projections
I wonder how big the installation of Amazon Linux is? They are still not on systemd. Also, CentOS 6 still has support for 4 more years so probably can't throw away all the bash yet.
Defendants are often advised to waive their right to a speedy trial to better prepare a case.
In Poland I prefer cabs to Uber. Worse apps, but far better cars, and they can get anywhere. The wait times and reliability is similar.
issue 1) sounds like you miss nohup, sreen or tmux in front of that long running program.

issue 2) usually I don't have one terminal session with multiple programs doing output at the same time, this solves this issue.

Just use a new xterm, a new terminal tab, a new screen tab for programs that are going to produce output and stay running.

issue 3) I think you refer to files with other special characters, because spaces on filenames do not need -print0 at all, simply proper quoting in the code will do.

Regarding issue 3, there is a lot of caveats when coding shell; even file names starting with a dash (-) which are interpreted as options by tools external to the shell (which fortunately support a double dash (--) to stop processing parameters).
Without us, what is the point of the planet existing? Seriously, who is left to enjoy it. You do realize that all life in planet Earth will die in around a billion years and the only chance of anything surviving beyond that will be left to intelligent life smart enough to leave the planet and take as many species as it can with it.
This reminds me, I'd really like to know what to expect with a 4K monitor in 16.04.
Just tried this on a new setup and it works fantastically. It did all the cert mucking for me.
How Credit Card Companies Use Big Data to Improve Industries
East Asia, particular anywhere approaching rural
An ID is required in France (and presumably in other EU countries) to buy a SIM card and has been for some years... and yet no harmonization has taken place.
Our engineering environments are killing diversity and how we can fix it [audio]
> Is that antique method seriously still used in the US ?

No, it's not.
This is either a typo or an English-American collision. The SA wealth fund is sitting on 0.7 trillion dollars.
I didn't even know you could get an anonymous sim. The gauntlet of questions I was asked and the paperwork the salesman thankfully filled out for me, for a prepaid sim, was dizzying.

Obviously if I knew I could have just bought one off a shelf I would have.
Yay, "apt install". At last!
Curious what you want to remove in Windows 10. Not an evangelist, just set it up on a dual-boot refurb for a friend and thought the initial experience wasn't bad.
I went shopping for a laptop a couple of weeks back. Ended up getting the Microsoft Surface Book - not the manufacturer I expected walking in, but the specs are really good, even just ignoring the tablet aspect:

1. 3000x2000 display, touchscreen

2. 512GB SSD

3. 16GB RAM

4. Incredibly light and thin

5. 10 hour battery life

6. No crapware

Of course you'll pay for all that, but it shows there's definitely improvement happening at the high end - other manufacturers are getting there too, though they've got a way to catch up with MS (the HP Envy and the high-end Lenovos were both a lot nicer than anything I saw 3 years ago). Maybe the improvement isn't trickling down as much as it should, but there's room for it to - honestly I think you're forgetting how much more we used to pay for laptops. Time was when $1000 was a basic model. It's just that these days shops push the budget end a lot more, probably because that's what customers want.
Paging https://news.ycombinator.com/user?id=michaelochurch
Agreed. I wonder how good this model is at filling the skin tone of someone. It would be sad if (for example) it turned everybody into white people or something like that.

In biometrics, there's been similar cases of software like face detectors and face recognition working very well on people from China and not very well for other people, because all the researchers who trained those models only had available large public databases from Chinese universities. The model hadn't seen any other ethnicity so its performance on "non-Chinese" folks wasn't surprising.
I'm going to take the opposite tack and say decentralized produces a better result. It's waaay harder to implement, but then the result is better.

Centralized has the fundamental problem of power and choice: witness how facebook, amazon, twitter, Apple, etc. can do whatever they want in their ecosystem. Facebook's users aren't going anywhere, they're essentially trapped if they want to get updates from their "friends", so they'll have to put up with whatever choices the social network makes.

But the biggest power imabance is with developers / publishers. Facebook, Twitter, Amazon, Apple, etc. have all been known to push around their third party publishers, compete with them, and even simply disconnect them whenever they want. Those publishers cannot connect directly with their users without a decentralized login.

And if you're into privacy, you might want to consider how much easier it is for state actors (and hackers) to have backdoors into just one server farm that has everyone's auth information rather than if profiles were stored like the web -- each person could choose their own host.

Distributed auth is possible. What you need is a distributed protocol and reference implementations. Something like OpenID or oAuth is a good start. You can sign up with network X and then use X to auth with other networks. Sadly, xauth was discontinued and everyone assumes Facebook, Twitter et al can be the only OpenID or oAuth providers.

What we need is a new protocol, and that's something we've been working hard on, and have successfully designed.

It doesn't even require you to share your user id, name, etc. with the consumer sites you visit. They can be instantly personalized for you and show you all your friends without knowing who you are. When you are ready, you use oAuth (or something essentially similar) to start building up your profiles in other communities.

No third party can know that user A in community CA authenticated as user B in community CB, unless you sharethat information. You know that thing, "Your friend FooBar is on Instagram as Baz?" That's stuff I might not want everyone to know if Instagram is, say, a porn site. A few years ago, there was a huge uproar about Facebook's "instant personalization" with "trusted partners". Today, it came back and no one cares.

Truth is, we are giving up our power as consumers, and even more so as producers who eventually build our own communities on the back of large, entrenched, centralized communities. Do we really want to centralize power when we see all the bad stuff it can lead to? (Internet 2.0 in India because FB is the only option, Net Neutrality fight because telcos are too centralized, etc.)

I say, once we get the tech right, it can be replicated. After all, bitcoin distributed money. The Web, Email, Git, etc are all distributed. Why not social??
Just because something has been around for a long time it doesn't mean that it's outdated. On the contrary, it means that it's stood the test of time, which is usually a sign of a good design.
Um, they are just going to have to disclose their technology before it is released, not give up ownership.
So someone's life gets ruined, job and home lost, spends time in prison due to a mistake or worse, and gets no comeback at all?

How is that not a major issue for a media campaign or politicians of one flavour or another?
I'm a pretty loyal Lyft user primarily because of the "nice" reputation and because when I ask drivers they usually tell me they like driving for Lyft better (even though they almost universally drive for both). I've only taken a few uber rides and they were all noticeably less comfortable.
I was once a member of a canyoning trip that had a bunch of young teenagers on it (13 - 15 years old). We encountered horrendous weather on the climb out of the canyon and decided to spend the night in an overhanging shelter rather than continue to climb the 300+ meters of cliff face in torrential rain.

The next day we successfully (and safely) made it back to the campsite from which we'd started only to be met with reporters and cameras looking for the story. Basically, they wanted some quote, from somebody, that they could use to pin-point the delay onto a single person, and exaggerate the danger that we were in. The fact was that we decided to take the least risky option in the face of unpredictable, extreme weather. The reporters didn't think this was enough and there was a multi-week long witch-hunt to try to blame it on trip leaders, despite the fact that no-one was harmed (if we'd chosen to continue the climb out in the horrible conditions we faced, then someone would have very likely been harmed).

This was my eye-opener to how the media operate. Instead of "Group of young adventurers safe from freak storm" it became "Irresponsible trip leaders cause near-death of youths".

If it won't sell, it's not news.
If it's hard to try to convince them about fish... try to convince them to enter commands in a browser over a web stack, as a "shell".

If they are conscious about the parts involved and the security repercussion, maybe they will say the same: "no".

On the other side, technology is not advanced only by older SysAdmins, and it's nice to see new projects, experiments and developments.
> No matter how much we want to believe that animals are sentient, have emotions, and communicate to each other via language, science indicates that's just not the case.

That's an overstatement. All you can really conclude is that science cannot say whether or not any non-humans are sentient.
A theory that allows for different signs of the effect sure is convenient ;)
"So, this project starts about shell, then I see it also aims to implement full-blown terminal emulator and a lot of new very ambitious features, and then it invites terminal-based apps to use new capabilities of it, so it would be best usable only if the whole ecosystem of compatible apps appear."

This is actually my only objection and the only feedback I'd make to the author. Contra some of the other posters here, I fully agree shell is a mess and that the basic root cause of the mess is that you can not straddle interactive use and programmatic use with one language. But something a bit smaller needs to be bit off.

I'd also suggest that most shells have already got the interactive use case sufficiently covered and that the low-hanging fruit is in the command case. Perl is perhaps the best language that functions as a programming-shell replacement, but using it for a while reveals it still has many significant issues in that use case. Even with modules, it pipes surprisingly poorly. It tends to make stream processing harder than it needs to be, unless "one line at a time" works for you. It's got a lot of nasty syntax that is arguably optimized for big program use cases that doesn't make sense when replacing shell scripts. When being used for shell programming, it basically shares C's abject failures when it comes to error handling, making it range between bizarrely difficult (I have to left-shift the result of system to get the actual exit code?) to almost-impossible-to-remember (backticks) to get errors properly handled. It has no concurrency story or any particular "run on multiple targets" ability (though I confess I don't know what that looks like necessarily; in my head it rather becomes puppet or ansible fairly quickly).

There's room here, but it's going to be an uphill battle.
Depending on the defendants' strategy this approach might backfire and isn't useful if you're looking for a not-guilty verdict. "Oh, that guy had a criminal history? 2 strikes already? Yeah, he probably did it."
No, it's a moral panic.
Teen programmer has more job offers than you
Typo in the parent - their Sovereign Wealth fund has assets of ~$700 billion. Though they've been using it heavily to prop up state spending with the collapse in the oil price and war in Yemen.
Could you, please, explain what .service files are and how they eliminate the need for bash scripts etc? Couldn't find anything in search results.
I went and looked at this on Wikipedia and it seems there is some dispute about Herod's date of death: "Most scholars agree that Herod died in 4 BCE, although a case has also been made that Herod died only in 1BCE.[10][11][12][13][14][15]"

Anyway, this assumes historicity of the accounts saying he was born during the reign of Herod but that's kind of complicated by the Moses imagery; this isn't exactly neutral and unimportant. But I guess that is as good a basis as any to try and determine the real date.
You realise that you could have just given HN a new startup?

I'd gladly pay someone to access a portion of their bandwidth - at least enough that I could stream content.
I suppose all of the behavior should be highly customizable. It would be nice if plugins could be written in any language. For example, I expect special CLI editor extensions for editing JSON input to programs (with syntax highlighting if desired). Also, I expect specific key-bindings (for e.g. vi/emacs modes) to be pluggable.
Zeek+Rewards+Scam+UpDate:+Receiver+caught+up+in+tangled+Payza+lawsuit
And it stopped how many terrorists?
Would it be possible to have some sort of semantic naming coupled to it 'the car in this scene is red', that could be fixed by humans, maybe even by talking to the NN? That's when this stuff starts getting fun IMO - human language together with superhuman domain knowledge.
Just use tmux. It'll take a day to figure out, and then all your problems go away. Well, save the spaces, that's never going to happen.
So we finally got Native ZFS with 16.04? :-)
The Wikipedia page on this topic also mentions trying to work backward from the reference to Jesus being "about 30 years old" during his ministry, which could point to about 1. So really I don't think anyone knows for sure.
To be fair, that link did work for a good many years.
The article does not mention widely distributed Toxoplasma gondii, that actually changes the behaviour of hosts in the interests of parasites. Think you like cats? Think again!
Actually... bash is a pretty solid language since version 4, just no one takes time to learn it.
systemd services, that replace traditional init.d scripts and provide watchdog options, daemonising, etc.

https://www.freedesktop.org/software/systemd/man/systemd.ser...
True, it is a chicken and egg problem. However, it can be done, and there are some promising cases to build on like Austin, Salt Lake City etc. The way I see it, there are enough people looking for jobs not already tied down to the coasts who will gladly take a job that pays reasonably well in one of these proto-Hubs.
Of course it wouldn't "trigger death penalty."
https://en.wikipedia.org/wiki/Acoustic_cryptanalysis
What's the application and/or interest in colorizing images? Does it generalize to other types of problems?
I think if we crash, we are going to crash harder than we did in 2008.

The stuff the government (and Fed) did in 2008 and since can't really be repeated. We could try even bigger fiscal stimulus (government spending rather than monetary policy), but there are too many people that will lose their shit over that happening. There's also not really any monetary policy tools that are left when money is free and the Federal Reserve owns trillions of dollars of household debt.
I like the idea of a mix too. Diversification usually reduces risk.
An ID document and proof of address are already required in Germany when buying SIM card directly from mobile network operators (i.e. Telekom, O2, Vodafone). Apparently they plan to apply the same to resellers and virtual operators.
From the article:

> Piper says that though they know these kinds of tests can be unreliable, being confronted with the chance to take one can filter out disingenuous defendants. Regardless of the results of the test - which are inadmissible at trial due to issues with the reliability of the technology - the assistant state's attorney (ASA) in charge of the case would also perform a "de novo" or "from the beginning" review of all the evidence.

So basically, the polygraph is a bluff.
I don't think the author intends for anyone to feel guilty at all.

The article's conclusion is more along the lines of:
"We're a self-selected group in the programming world now and we often unconsciously project messages that make others who have the potential to diversify the group feel cut out based on metrics that actually have no relevance to their ability to execute programming tasks well"

Highlighted by the often off-hand comments like "oh you don't know that?", "this is so easy!" etc. I think it's more about messaging to let people know "Hey you don't have to be like me and love video games, have made your own arduino project, be active on github, and all that noise to be a good programmer"
Anyone using Kubuntu 16.04? I am thinking about moving to Fedora.
Even though already perfectly enjoyable, I'm thinking Kurosawa films like Seven Samurai and Yojimbo. Man that would be something.
ls is not bash
wc is not bash

And that is a discouraged way to count files in shell script.

Still, simply adding -l to ls, could handle spaces correctly (the files count)

I insist, spaces are not your enemy, there are much more weird file names for a shell. Shell can handle spaces if used properly.
Tad snarky.
As a software developer I constantly find myself optimizing and scaling across CPU's. Sure those programs I optimized 10 years ago run blazingly fast now. But as computers got faster the possibilities and expectations also increased.

I would like to compare CPU's with roads: Roads increase traffic, not the other way around. So if you make a faster CPU, the demand for a faster CPU increases.

So if Intel stops making faster CPU's, the demand will (unexpectedly) go down.
Credit to Privacy International for unearthing all this: https://privacyinternational.org/node/843

If you want to help this sort of work consider donating to: https://www.dontspyonus.org.uk
Probabilistic Programming in Scala
Project wants to collect genetic info from 50,000 people with autism
Dark Side of Wikipedia
Show HN: Battleship game built with Elixir, Phoenix, React and Redux
We have plenty of people in society that we don't need to keep car thieves on the street stealing cars.
Mandlebrot Sonifications (2013)
The equivalent of that in the physical world would be the restaurant being responsible for what its guest are discussing about at its table. How do we know that these guys in suit at that table aren't planning a fraud?
Just discovered Netflix gift cards, delivered through email. Awesome!

https://www.amazon.com/gp/product/B00YD563L8/gcrnsts
please don't spam me. I got click happy.