skysight-inc/HackerNews huggingface dataset:
http://www.duffelblog.com/2013/12/general-mattis-crosses-pot...

Former Marine here. I thought this article was funny when it recirculated just prior to the recent election. But I also sort of thought to myself "Yeah I would vote for him over HRC or Trump."

Now I worry. A few thoughts:

1. If the military remains the most-trusted branch of government that's a bad thing. We need to take steps to reduce its power now.

2. If the Freedom Caucus is really committed to reducing the powers (and spending) of government they should be fervently resisting budget plans to expand the armed forces and pull us back from pointless non-productive conflict in the Middle East.

3. It is critical that Congress finds ways to reverse the rise in income disparity or we're going to have an even more dissatisfied and formerly middle-class voter base next cycle.

4. If Congress remains gridlocked by partisanship we are surely heading down the Road to Serfdom, and voters will either cede more power to Trump, or perhaps worse, be dissatisfied and demand an even stronger strong man.
Once I made the mistake of using demo-related tools to craft my own gamedev tools and engines... (for example using kkrunchy to pack my stuff).

One day I decided to isntall anti-virus and... whoooops, everything was nuked (the AV deleted without asking permission, didn't even bothered with quarantine).

And back then I had no source control...
This was an issue when Twitter/Facebook/Instagram switched from chronological feeds to "curated" feeds. i.e. Let's increase the echo chamber.
Yep I second this. This is, in my opinion, what defines a senior level software engineer - the ability to tradeoff where necessary and possible.
> this irrelevant because common security of practice, IIRC, is to run nested X11 servers and give each program its own.

Really? I don't think I've ever seen such a setup.
Indeed, they are limiting the discounts to 10% [1].

> What is your current thinking on the savings for customers using a reused Falcon 9 first stage? Is a 30 percent discount realistic?

> We are not decreasing the price by 30 percent right now for recovered and reused vehicles. We’re offering about a 10 percent price reduction. I’d rather fly on an airplane that’s flown before as I’d feel more comfortable with its reliability.

> At this point that is a reasonable reduction and then, as we recover some of the costs associated with the investment that we put into the Falcon 9 to achieve that, then we might get a little bit more. But in general, it’s about 10 percent right now.

[1] http://spacenews.com/spacexs-shotwell-on-falcon-9-inquiry-di...
For that matter, why isn't CompizConfig installed by default? So much stuff is hidden in there and it's impossible to discover without running across someone talking about it online. This is exactly the sort of thing that should be on the menu by default as "advanced compiz settings" or something like that.

On the other hand, discoverabiliy is still a big issue with Unity in general.
"College graduate" means almost nothing anymore. When not having a college degree became a social shame, the US government decided it needed to socialize the pride of achievement that true college grads used to get to feel.
> - HEADLINE: Drop Mir & collaborate with Wayland

That would more accurately be:

- HEADLINE: Port Unity 8 to be a Wayland compositor

This would be at least a multi-year effort. Consider how much time and effort went into porting Gnome Shell and KWin over to Wayland. It would be at least as much work do the same with Unity 8.
How do you determine if a server is respecting a DNT header?
While I don't use Ubuntu proper, I use a derivative and HDPI is at the top of my list as well. So I suppose this is a +1 to that.
Some companies use the barcode value to route the fax to certain person or group or filing into a specific area. There are lots of industry specific applications.
This Chart Depicts the AI Explosion at Google Over the Years
+1 I have a 2 yr old MacBook Pro. In OS X, window manager performs seamlessly using the Intel inbuilt graphics. On Ubuntu 16.10, the window manager is slow to the point of taking half a second to update window borders whatever the app. Makes doing responsive web design frustrating to the point of wanting to switch to another OS. I am really hoping that 17.04/Mir improves on this.
"UPDATE: We have received additional information from Verizon and based on that information we are withdrawing this post while we investigate further. Here is the statement from Kelly Crummey, Director of Corporate Communications of Verizon: 'As we said earlier this week, we are testing AppFlash to make app discovery better for consumers. The test is on a single phone – LG K20 V – and you have to opt-in to use the app. Or, you can easily disable the app. Nobody is required to use it. Verizon is committed to your privacy. Visit www.verizon.com/about/privacy to view our Privacy Policy.'"
The signatures came from another answer. I have no idea what the signatures are, or should be, or why there's a difference.

My SFINAE code was to handle a similar problem picking between a GNU-specific strerror_r and a POSIX strerror_r that have different signatures (both are available on Linux, determined by whether certain macros are set: https://linux.die.net/man/3/strerror_r , I couldn't just rely on those macros because I wanted my code to compile on any POSIX platform).
This is neat! But I have to expose the PDF to the internet for Twilio to pick up the file and send it?

https://www.twilio.com/docs/api/fax/quickstart#send-a-fax
https://news.ycombinator.com/item?id=11452026
Ergo we should immediately arrest all gunmakers because it's hard to think of another use for guns besides killing things or practicing the art of killing things, no?
+1

Yes! Please!!
Quick answer is that it depends on what's on the page. It can be as quick as a minute or significantly longer if there are images or lots of data the page.
If heat is the problem, and since the memory wall is a 20-year problem, was there some new cooling tech ? or is it just standard industry inertia(and just being satisfied with half solutions) ?
Oh. Well that's just great, then :-)
UN Ban on Nuclear Weapons Open Letter
I've pondered where you even start today if you want to build an 1800's style "built to last" home that ignores cost, and focuses both on longevity and ease of maintenance.

With some modern design concepts (e.g. leaving plenty of plenum for unanticipated future cabling/plumbing needs) I think you could come up with a very pleasant place to live, just at probably quadruple the price.

Is anyone building stuff like this today? Or would this have to be some extremely custom stuff you need to research and act as a contractor managing a bunch of subcontractors?
Reframe Your Way to Being Happier at Work
You need to convince MicroSoft first.
Open the Google Maps app on your phone
There's a cool surprise today!
> Bluetooth not working isn't necessarily Ubuntu's fault.

Yet, Bluetooth works seamlessly in MANY other contexts. I can connect my phone to bluetooth headsets and bluetooth-enabled car stereos. I've used PS3 and PS4 controllers for years with no connection issues. I've used bluetooth dongles, bluetooth keyboards and mice on Windows machines and it just works.

Bluetooth may be "complicated, cluttered, and crumby" but it is not broken. Ubuntu is the odd one out here.
The difference is fatigue. I'm sure the landing gear can support the full weight, but how many times?

The gear may be rated for 20 uses at full takeoff weight or 100,000 uses at empty weight.
"Perhaps that’s why podcasts have surged in popularity and why you find such a refreshing mixture of breadth and depth in that form: Individual episodes don’t matter; what matters is getting subscribers. You can occasionally whiff, or do something weird, and still be successful."

Disagree. I think that is one of the main reasons of why podcasts haven´t become more popular. It is way harder to see people sharing just one episode or a piece of an episode in a conversation. Usually, they just say they listen to a particular podcast and you should go and listen to someone talk for 30 minutes before decided if you wanna follow him. And that particular episode that you chose could one of the worst that the podcaster has produced.

Individual episodes matter, especially to bring more people to your subscribed list.

A personal example it is how I discover the best, IMO, podcast: 99%invisible. I was reading the most upvoted comment about a shared video on Reddit about how Taiwan collect their trash and he was suggesting listen to this podcast episode http://99percentinvisible.org/episode/separation-anxiety/ After listening to the episode, and to his sponsor to this particular episode, I subscribed.

And brands cares way more about engagement than about the numbers of the subscriber. You could have a big number of subscribers that doesn't react to anything that you produce. And you could have a small number of subscribers that really like your content and, especially, trust in your endorsements. And the best way to metric this is seen the numbers of sharing, likes, and comments in the content that you produce. Engagement numbers is more important than plain numbers, for everybody.

http://www.adweek.com/digital/micro-influencers-are-more-eff...
Linux NIS Server
How about because there are more women in college, and they undercompete on compensation? This would predictably drive average compensation down. Maybe men should be encouraging women to compete more aggressively on salary?
A tenured professor at the university I attended was fired for continuously harassing Sandy Hook families for death certificates of their children. It was a terrible cry for attention for his blog. I'm not capable of doing the mental gymnastics that makes his actions okay.
The plane does look sexy.

I'm not clear on how this works out economically.

Gas turbines are more efficient than electric at high altitudes and long distances. So the regional hops are where this could make an impact.

IMO regional hop planes are less efficient at moving cargo than trains (or hyperloops). America just doesn't like high speed trains for some reason.

Between trains and jet turbine planes, I'm not seeing where electric passenger planes like this make a huge image.
All Fortune 500 CEO's either have MBAs or surround themselves with army of smart MBAs.

Best we accept the value a person gets out of such a cut-throat, aggressive top MBA school and embrace it - afterall, we IT folks are famous for embracing all the advantages presented to us.

Disclaimer: I don't have a MBA nor do I plan on getting one.
Steps to setup Node in Ubuntu
Or as londoners do, downward.
What for? Really, honest question. If you look at it as an achievement of technology, then it's fine. But if you look at it as real thing from real person, then it's fake.
No. I think the more obvious answer is women undercompete on salary.
I recall reading about this from the same guys a few years ago (I'm not from this field so I can't really figure out what's actually different):

http://theory.stanford.edu/~aiken/publications/papers/asplos...

I thought it was really cool that they managed to find improvements on hand-optimized bit tricks from "Hacker's Delight" this way.
If I could run some of the DCC apps I have on Windows under Linux at full speed (which work only on Windows, predominately Adobe), even if I have to have a Windows license and all that jazz, that would be the ultimate setup for me.
Firefox's printing is their own problem, and an area of major regression over the past few years. You can't even print out long tables anymore.
I bet six months until they pivot to some meaningless garbage and put out a press release claiming that whatever shiny new toy they're peddling is "changing the world".
I don't get it. Building a road doesn't make you an accomplice to crime, if a criminal happens to drive on it
Not addressed in the article, but critical to the issue, is education -- a properly educated public would be immune to fake news.

Key to that educated outlook would be healthy skepticism and application of the null hypothesis precept from science -- the assumption that, without positive empirical evidence, a claim is assumed to be false.

If readers were educated and skeptical, if they understood and appreciated how science works, the fake news epidemic would starve and die for lack of an audience.
I Ran George W. Bush’s EPA–and Trump’s Cuts to the Agency Would Endanger Lives
I live in a four-story condo building that's about 100 years old and entirely wood-framed, all the way down to massive wood beams in the basement that anchor the entire place to the foundation. There's been some moderate renovations of exterior walls because of water damage before, but it's worth the hassles of that kind of thing to know that if an earthquake comes along the building will ride it out without any serious damage.
If you’re coding to POSIX, you must define the
_POSIX_C_SOURCE feature test macro to the standard you
intend to use prior to any system header includes:

Nooooooo.....

Take it from someone who religiously keeps many of his very complex libraries portable across many systems (AIX, FreeBSD, Linux/glibc, Linux/musl, NetBSD, OpenBSD, Solaris, and others), the _last_ thing you want to do is define the POSIX portability macros.

Once you do that, you're in for a _world_ of hurt trying to use any extension, including routines from newer POSIX standards that are almost universally supported, but because some systems don't claim 100% compliance to the latest POSIX release, become hidden once you start using the user-definable feature macros.

Most systems (particularly the BSDs) make _everything_ available by default. On Linux, however, you should define _GNU_SOURCE; on Solaris, define __EXTENSIONS__ and _POSIX_PTHREAD_SEMANTICS; on AIX define _ALL_SOURCE; on Minix define _MINIX. This way, anything you might possibly want to use is available.

There are a few cases where a native extension conflicts with a POSIX routine. The classic case is strerror_r on glibc. Dealing with these cases is easier to deal with than fumbling with feature macros.

Remember, you'll _always_ want to use extensions unless you're writing pure ANSI C (C90) code. Portable is not the same thing as POSIX compliant. And many POSIX routines are effectively extensions on systems not yet certified for the latest POSIX standard.
I think I said as much in my comment.
"There are no secure smartphones"

374 points, 441 days ago, 118 comments. Note the discussion about baseband.

https://news.ycombinator.com/item?id=10905643
Certainly you can attach a token and firewall all but twilio's servers if you're serious about using this service.

I don't see the problem with it.
Is there any controlling for the the type of person that would go to these schools? ie Is it the school or is it the person?
I can't speak for everyone, but my site (https://officesnapshots.com) keeps the advertising very much aligned to the content so I do expect that readers will click the ads on purpose and actually gain value from them.

When you're browsing around looking at office design projects and photos, you're seeing static advertisements for office furniture and services you might be interested in if you're in the industry. And if you're spending time on a website that consists only of office photos, you are probably are in the group interested in the advertisements.
Kitchens are still a rough place for technology, and even though the latest iPhone might survive a drop in the toilet, I don't want to drink the soup after a phone's taken a swim in it.

I've seen tablets in cafes at the front of the house, and sometimes the cashier (who can't touch food while they're also touching money) copies the order off the tablet and onto a piece of paper and passes it off to the kitchen the old fashioned way, while acknowledging it was received on the tablet.
FLAVOR: Ubuntu Desktop

HEADLINE: Clean up repos and remove non-working / non-maintained / bad applications

DESCRIPTION: There are many old and/or bad applications in the official Ubuntu repos. Prune aggressively. Anything that hasn't been updated for several years could be flagged for human review. Anything that people use will get PPAs made for them in time. Anything that's dead doesn't deserve to be in universe or multiverse.
Google Maps Morphs into Ms. Pac-Man for April Fools’ Day
I think the key is to study principles/concepts, not implementations.
This broke down right away:

"After the President died he somehow “persuaded” the Vice President not to take the oath of of ce. Did we then have a President or not? A real “Constitutional Conundrum” the papers called it. Brutus created just enough ambiguity to convince everyone that as the senior military of cer, he could—and should— declare himself Commander- in-Chief of the United Armed Forces"

Taking these two items in reverse order - Article 2 of the constitution is clear - the President is the CIC - full stop, period, no alternatives.

As far as the VP not taking the oath, that would pretty clearly make him/her fall in to the 'Inability' side of the Resignation or Inability statement, triggering Presidential Succession Act [2], which opens with the following language:

"If, by reason of death, resignation, removal from office, inability, or failure to qualify, there is neither a President nor Vice President to discharge the powers and duties of the office of President"

Refusal to take the oath of office would fall under 'failure to qualify' and 'inability', as taking the oath is required by Article 2 (section 1, clause 8)[1] before executing the office of President.

There's more, such as the 25th amendment, but that doesn't contradict anything here...

All of that is completely setting aside the deeply ingrained establishment of civilian control of the military in all modern liberal democracies - as established largely by the US constitution.

[1] https://constitutioncenter.org/interactive-constitution/arti...
[2] https://en.wikipedia.org/wiki/Presidential_Succession_Act
People with large book collections never _needed_ the library, it was always the people who had no budget from books that benefited the most. I think that will continue to be the case, maybe more so if they take on the mantle of internet access.
It's hard to be passionate when wages are going down, jobs are getting concentrated to a handful of urban centers, cost of living(especially in housing) is going up like crazy, and companies work you as much as you can and show no loyalty, all while the profits of those companies are larger than ever. Oh yeah, and the fact that you start out your career $40k-$100k in debt to get a piece of paper because middle class jobs have been outsourced kind of puts a damper on things.

My generation's apathy doesn't come from nothing.
I hate on Peter Thiel all the time, but he's absolutely right here. MBA schools teach a form of strategic analysis that is almost purely driven by fatally flawed ex post facto reasoning. Hell, the case study model pioneered at Harvard is a case study in ex post facto reasoning. Just read their most popular business books...always looking to the past and trying to find mystical reasons why one company did well and another company didn't (while completely ignoring counterfactuals).

We shouldn't be surprised that this form of reasoning leads to really bad ideas about what the next big thing is.
Pragmatic utilitarism. It works and produces most beneficial results among tested methods.

The problem is labelling what is beneficial and what is not. That is a value judgement. But if certain human rights are universal, we can agree on at least a subset of benefits.
Me too.. in the example where they showed conversion of Yosemite valley from winter to summer - How did they know to make the grass yellow instead of green? Did they index a lot of pics of yosemite valley sufficiently to assume the valley's grass is more often yellow than green?
Your idea is what ended the Apollo program!

https://en.wikipedia.org/wiki/NERVA

NASA planned to use nuclear rockets as "nuclear tugs" to move stuff up into higher orbits and injection orbits. The problem wast that NERVA was too successful in testing, and congress worried it would enable expensive Mars manned missions.
Being a hypocrite dosen't make what you are saying invalid or wrong in any way.
GraphQL should not deal with that at all imo (authorization). the underlying service (rest/database) should be responsible for that.
What GraphQL implementation should do is "tell" the underlying service who is making the request and let it handle authorization. And endpoints/fields in GraphQL schema should not be "hidden" based on who is currently logged in.

Just like in sql you are free to see all the available tables in the databases and do "select * from secret_table" it does not mean you will get back any data. The same way you should be able to query any field in graphql but get an error in case you are trying to access data that you are not supposed to.
I once had to implement "encryption" that consisted of rot13(base64(data)). The class ended up being named SecurityTheatreUtils, to ensure no one else in our team ends up thinking it does any actual encryption...
One feature release every six months.
Please don't change the init.d/startup/systemd again.
If anyone's first reaction was along the lines of: "Faxing in 2017?" or "Is this an April Fool's joke?", consider that the healthcare industry still uses faxes frequently.

I once interviewed at a company that was building software for ordering durable medical equipment in hospitals. They told me that all orders were faxed to the insurance companies, and the error rate for copying data to the faxed form was about 90%. This results in repeated fax transmissions and patients waiting days to know whether their insurance company will buy them a wheelchair.

Using an API like this, you can at least digitize one end of the process, error-free, and still deliver the expected fax to the other side which hasn't upgraded yet.
I'm demonstrating that it doesn't require AI. It's all procedural. A script with https://www.imagemagick.org/script/index.php . would suffice.
FLAVOR: Ubuntu Desktop

HEADLINE: Deja Dup / Duplicity Instable

DESCRIPTION: The default backup app has bugs. The first time it worked! Then after a software update it stopped working. I stopped using it. You can't just ship buggy backup software :| Maybe there needs to be a better one. Or add more testing to make sure critical / default packages like this don't break on update.

ROLE: Everyday user

--

FLAVOR: Ubuntu Desktop

HEADLINE: Moar wifi card drivers Please

DESCRIPTION: I can't believe I'm still finding and using stuff like this in 2016 because my drivers don't work out of the box... https://github.com/chenhaiq/mt7610u_wifi_sta_v3002_dpo_20130...

Once upon a time I used to use ndiswrapper + cabextract to get windows drivers to work in Linux for "most cards." That was cool. Today it's much harder when hardware isn't supported. I wish there was still a way to use OSX drivers or windows drivers for things I have no hope of getting *nix support for...

ROLE: Everyday user
It's kind of crazy how long this has been a problem and across many different hardware configs. Sleep doesn't work on my desktop or on a windows laptop with standard intel everything.
"He writes the science fiction that would have existed in an earlier era, had science existed then" made me think with amusement of caveman science fiction [1].

I've been a fan of Chiang for a very long time. I'm a real fan of superintelligence fiction [2] and "Understand" [3] was the first to catch my attention.

[1] http://dresdencodak.com/wp-content/uploads/2009/09/2009-09-2...

[2] https://ask.metafilter.com/286008/Seeking-Hyperbrain-Books-F...

[3] https://web.archive.org/web/20140527121332/http://www.infini...
FLAVOR: Ubuntu Desktop

HEADLINE: Easy UI for setting up and managing Jackd.

DESCRIPTION: Getting anything done with pro audio on Ubuntu requires wrestling with Jackd. QJackCtl is awful. Think simple-scan for Jack.