skysight-inc/HackerNews huggingface dataset:
Ask HN: Hosting blogs on personal site
I run a website off of a raspberry pi. I am interested in adding a simple tech/projects blog. Since I'm not super into frills, I can write my own stuff, but I'm interested in the community's suggestions for light-weight blogging.
What is BPF and why is it taking over Linux Performance Analysis?
> It's hard to fly a UAV deep into enemy territory because they can be more easily seen, more easily shot out of the sky, and require potentially fragile uplinks to operate

What about an UAV inherently makes them not as good as a U2?

I'd wager nothing really... heck, I'm sure U2's have been flown remotely before.
Pretty sure he means that bundling performs very well for items that don't cost extra to produce more of (in this case, digital content). Distributing more PDFs costs effectively nothing.

People can feel like they get a lot of value for little money, without the sellers explicitly losing.
> Try getting an MRI in Canada. Canada rations care via wait lists.

Over-testing and over-diagnosing are seriously harmful things that eg the US does far too much of.

http://www.cancerresearchuk.org/about-us/cancer-news/press-r...

http://www.nytimes.com/2012/11/22/opinion/cancer-survivor-or...
Yet if Apple becomes a significant majority in a given market then I imagine anti trust would be a concern
Ask HN: HN for China?
Hi, wondering where Chinese tech people hang out online. There's gotta be a place similar to HN where they share projects and ask questions. Do any of you know?

I ask because I study Chinese in school and will be living in the mainland for most of next year. Would love to get a sense of the people and development happening there before I go.
Former NSA Staffers: Rogue Insider Could Be Behind NSA Data Dump
There is a shortage of good software engineers. There are many people currently employed who call themselves software engineers but I'm not sure what they're actually doing. I saw this a lot when I was doing hiring -- people who can't even write simple loops or know what 12 mod 5 is.
That’s pretty much the reason most web development firms never manage to get really big. There’s too much ad-hoc work.
As someone who's had the misfortune of encountering and then tracking down PulseAudio bugs, it probably doesn't help that it's a code quality disaster. Few comments, close coupling between different parts, no stable bugfix-only releases, and even the developers have trouble understanding what size buffers functions should expect.
I think comparing OS updates to something like browser updates isn't really fair. My Mac does the same but I still have control. More control than Windows 10's new reality.
+1. My pet hate at the moment is the RunKeeper app. Every morning I fire it up to start my exercise. The interface loads up, and the 'Start my Walk/Run' button pops up at the bottom of the screen. The button waits there for around one or two seconds, then slides up about a centimetre and another button saying 'Sign up for our Pro paid edition' appears in its place.

I swear the the delay between appearing and sliding up is always timed and changed each day to cunningly coincide with my finger tapping on the area where the 'start' button used to be so that I almost always tap the 'pay us $$$' button instead !!!
Well, that's a problem that I can't help with.
The one feature is the lack of significant runway needed for landing. You can use this to bring equipment and supplies to remote areas of the world that don't have a runway to support a cargo plane.
A Suburban Poverty Boomtown: Lehigh Acres, Florida
So your complaint is with the definition of poverty as a percentage of the medium income?
Perhaps just as often people don't know or understand what they want.
Really Hilarious and Reality. Lot of noise about docker, kubernates, microservices etc.
From what I've read, it can be used to deliver equipment and supplies to areas without an adequate runway (disaster zone, Arctic, remote areas etc)
2017 is the year of mobs with pitchforks on the Developer.
An Expert in Valuation Says Uber Is Only Worth $28B, Not $62.5B
Others on HN have indicated that sufficiently well-connected foreign organizations get their VPNs treated nicely. I think if you are encountering these problems you're just not big enough or haven't paid the right bribes.
my understanding was that at least one of the attacks from a while back only gave the oracle due to different actual error descriptions in the response, whereas had there been custom error pages defined for all errors, there was no oracle to use.

I could very easily be wrong though.
The increasing infant and maternal mortality rates are caused more by increasing obesity than any other factor. Improving prenatal care would help a little but doesn't get to the root cause of the problem.

http://www.vox.com/2016/8/8/12001348/more-women-dying-childb...
Secure Coding Practices to Implement in Your Apps Right Now
The 80-hour Myth
I read the other comments to this comment, and I'll agree that you must either have money or decent health care coverage, probably a combination of the two.

I read differing stories about the Canadian health care system: Some places it works out better than others, no system is perfect. I'm American, I live in Norway. The system isn't perfect here either, but I never want to go back. Here it is mostly single payer, with some blips, but folks can choose a private doctor if they'd like to and can pay for the difference in cost.

Not having money/health care coverage in the states means things like suddenly having to change your children's doctor because they no longer accept the governemnt health care. Not being able to get surgery for cancer or your bum knee because you can't pay upfront. Considering bankruptcy because you had a heart attack and surgery for it. The hospital 'nicely' dropped the payment to 200k, but you were a flooring installer making less than 25k a year - which you are advised by the doctor that you can no longer do. Paying out of pockets for medications might be an issue, especially if your loved one's anti-psychotic costs 2,000 a month or the injection you take for your MS costs between 2,500 and 5,000 per month.

The market is great if you can pay to get the care you need, but when that fails, you are left with little to no alternative.
> So then this vulnerability is pretty much only useful (1) for persisting onto networks you've already compromised

No! For example, at one place I was employed at, the switches had different VLANs - one for private internal network, one which had external (direct) internet access, one for VoIP telephones, one for printers, one for servers and one for BYOD external consultants. Basically, compartmentalization - and everything was firewalled, and every cross-VLAN access had to be separately allowed.

So this exploit (or, for that matter any switch/router exploit) can be used not just for persisting, but for escalating privileges. Assume you have hacked a fax printer via the telephone line (hey, given that, I'm tempted to actually grab a modem and do some fuzzing with my fax printer...), you can then use its network connection to punch holes in the firewall and spread.
> That is helpful as I can see that if these nonsexual companionship robots come to exist, it will be well after every other area is dominated by more useful robots.

Actually I think conversational companion robots can happen before more useful domestic servants. Elisa was from the 1960s, voice recognition is pretty good already. You can do a lot of comedy around a robot that can hold a conversation but can't find it way from the kitchen to the living room (in an open floor plan).

Laundry is actually a hard problem, and there isn't much research going into it. (it might be easier than speech, but a lot of research is going into speech)
Ok, we changed the title to a phrase from the article that doesn't claim anything about who is to blame.
Hot climates? Like what? Atlanta (where tons of leaves were sold because of local tax rebates IIRC) is definitely well within the normal range for North America. Not a lot of leaf owners in the Southwest (big commuting distances).

Saying they didn't survive hot climates is kind of misleading. "The warm range of normal" is more accurate.
Fast and Free Static Website Hosting
13 Animals Made from 13 Circles
Nope. It's any behavior change in response to bad ciphertexts, which changes are easily inferred. For instance: Lucky 13 is a padding oracle that uses only very fine-grained timing information to discern errors.
Do you have a reference for fitting matrix-valued time series with nonlinear criteria? I'm familiar with the standard Box-Jenkins methods but I usually see that done with linear least-squares methods. I'd love to up my game on that front.
On #1 there is a lot of data that suggests single payer can be cheaper. On innovation, other countries lag.

I disagree on #3, at least in the US.

Would we rather have Health Care run like UPS or the Postal Service?
Then that's why that principle should not make it into the guidelines. It counters the long-standing principle of choosing a default interpretation of a person's behavior based on general and specific behavior over time. Mark Zuckerbergs business began with a series of crimes/deceptions, increased with even more where he betrayed his customers in various ways, he continued to lie about the value of privacy for ad revenue, and proved it wasn't just his belief by protecting his own privacy buying up all those houses near his. In business & personal life, he stayed a selfish, control freak who destroyed friend, stranger, and foes wherever for ego and esp profit. This pattern of behavior stretches back years.

So, it's rational to default on the belief that... after years of such behavior... his next move will be motivated by selfish gain (ego/control probablg) with potential deception. Also note that character assessment and source integrity ratings are standard practice of experienced journalists, police, and intelligence gathering. Example below in ratings section:

https://en.m.wikipedia.org/wiki/Intelligence_collection_mana...

Also, my brief reading of Charity link suggested it fails instantly if person talking is a con artist or habitual liar. Like Zuckerberg but Frank Abignale of Catch Me if You Can even better example. Or litany of PR people working for companies always getting caught doing devious things with cover stories. The Empirical, evidence-over-time model handles both the good and the bad while the Charity model effectively encourages people to act like sheep in front of hungry, intelligent wolves. So, Im strongly against it being part of the guidelines of any forum.

Now, I do get the concept and still thank you for the link. Ill think on it more in the near future as I can see room for self-improvement. I suggest a lightweight version of it where we try to assume a reasonable/charitable version of a comment by default then reply to that or ask clarification before slamming it. No charitable version if person, claim, or topic has a consistent meaning that's neutral or negagive. Probability applies then. Misinformation that's easily disproven by linked evidence, as I often deal with, would be example. Maybe combine this with "keep it civil, focus on claims, and no personal attacks" a la FreeBSD's Code of Conduct. Might make a nice compromise between charity principle and reality.

Just a few of my thoughts for the team's consideration. Just concerned that guideline could censor comments that need to be there while protecting subtle trolls or unreliable sources from quickly being dealt with. It was a good idea but just goes too far into idealism in that link. Especially for discussions on... the Internet. ;)
The us government is led by the rich.
Personally speaking, I think this is a great idea. Great job!
Yeah I guess, but I think that scenario is way less common than you think it is, only because almost nobody reliably segments networks. Once you're internal, you've usually got everything within a few hops.

Whereas persisting onto an ASA sounds like an actually widely useful capability! The ASAs don't get reimaged during incident response.
I agree paraphrasing is usually better. But with complicated matters you are having trouble understanding, word-for-word repetition can help a lot.

Also, for teaching, a lot of people need to do word-for-word first in order to learn how to really concentrate, then they can switch to paraphrasing.

In fact, I have found that a large portion of the population has a problem listening where their attention wanders away and they miss much of what is said, but they don't realize it and think they have heard it all. When you have them do word-for-word reflecting, they miss a lot of the content, and are shocked to realize their attention has wandered away, and indeed they have probably been doing this all their life, and they suddenly become very focused in their listening. It is quite something when you see this happen.
Trying to bring up gender equality issues, which is a genuine problem in our industry, also has a similar response. There are a variety of 'taboo' subjects that will get you grayed out and gone in no time at all.
Face recognition python libraries
Can anyone recommend any open source face recognition libraries in Python for a machine learning project. I know of OpenCV though it's known more for face detection rather than recognition.
But libinput is a vital part of the new, improved Wayland future, so obviously it must be better. Because of this development of the existing touchpad driver has even been dropped in favour of it.
Inside the Hindenburg
How do companies in countries with six months or a year or two year of parental leave handle it?

At most places I've worked, they would not have been able to let my work go undone for six months or a year or more, so would need to find some other way to get the work done. At the large companies, there might be enough redundancy to be able to spread my work among those already working there. At many, though, it seems they would have to hire somebody.

For senior technical positions, especially if the company has proprietary systems or technology that is not publicly documented, it can take quite a while to get someone new up to speed.
Except that's not the case in other single payer systems ...

The NHS has its flaws (having to wait for non-urgent or non life-threatening issues to be treated, but they are in fact treated, just at a lower priority) but if you present at the hospital with chest pains you'll be sorted out straight away, without having to pay up front - free at the source of treatment, one of the founding tenets of the service.

It also doesn't preclude a private system that works alongside it, which many companies offer to their employees. This allows you to get seen quicker for the non-urgent stuff - if it's life threatening you'll be taken straight to an NHS hospital, but have your follow up care privately.

We pay less of our GDP on healthcare, yet have comparable, if not better, outcomes.

With the current "privatisation" that's occurring, vendors are invited to bid for the work, no compelling, it's there if they want it. If nobody comes forward to provide it, the NHS will do it instead.
google firebase?
Omaha dad finds pot brownies, eats 4 of them, says mean things to cat
Line 5 looks like it's for i18n. To save on typing and reduce clutter typically "_" is used as an alias for the gettext function.
Relax – robots are not coming for your job
SICP is a classic I can highly recommend. It made me aware of just how much the "new, smart" approaches to organizing code that people like to attribute to their favourite programming model (like "OOP is best because classes and inheritance means modularity") are actually rehashing of obvious and general ideas known very well in the past.

I generally like reading on anything Lisp-related, as this family of languages is still pretty much direct heritage of the golden ages.

The stuff done by Alan Kay, et al. over at PARC is also quite insightful.
AirBnB is a rent extractor? That's a tendentious claim; the reason all the 'sharing economy' stuff works is that it's improving capital utilization and damaging cartels. I'd expect that real rent extractors are hotel owners in big cities with limited hotel zoning, who lobby for anti-AirBnB regulation to keep competition low and prices high. Or the politician/business alliances who build the local convention center by forcing a $N/night tax on local hotels.
We've banned this account for repeatedly violating the HN guidelines and detached this comment from https://news.ycombinator.com/item?id=12307725 and marked it off-topic.

We usually refrain from doing that in response to an attack on us (as opposed to on other users), but that loophole isn't arbitrarily large.
It’s not that ridiculous. We had an airship in Athens during the 2004 summer Olympics [1] which was specifically used for surveillance reasons. Of course there were no UAVs back then.

[1] http://www.swissinfo.ch/eng/blimp-plays-big-brother-at-the-o...
I can't resist the jokey version. A man goes to a psychiatrist and says "I have this nameless fear." The psychiatrist says, "Oh, that's no problem, we have names for everything."
>The firewall is a fickle, cantankerous beast that, to me, is really at heart of this matter.

The Great Firewall is only one aspect of the problem. Most companies would we willing to host their service within the firewall and deal with it that way. The problem is that running a service within the firewall requires going through the Chinese bureaucracy that is inherently hostile to foreign companies and internet companies.
Oh wait they are rolling that out? I had thought they were just doing a perfunctory trial run in philly that they then cancelled. Huzzah!
Laptop and phone makers have pretty much zero incentive to protect the batteries they install.

The key to keep LiIon from degrading is 1) never allow it to go 100% full 2) never have it go 100% empty 3) avoid high battery temperatures, cooling if necessary.

Now on 1) and 2), to do that you have to give up battery capacity. If you only ever discharge to 5% and charge to 95% you've just given up on 10% of battery capacity. This makes your laptop look bad on "battery life" benchmarks.

For 3), as batteries make up 80% of the physical space in phones and laptops, that makes it very difficult to cool them actively or otherwise effectively. At the same time manufacturers want to sell fast charging capability to customers, and that's perfectly fine with LiIon, most of them are capable of gulping up much more current than most chargers deliver, only this dramatically increases the heat buildup in the battery. That's fine for a Tesla as it has liquid cooling for individual cells, but phones or laptops have none of that.
Before the w10 fiasco, some of us never stopped noticing the ongoing patents racketeering.
You and I are around the same group, but I've long since abandoned participating in these conversations. Honestly I am in these comments because I had hoped this was the conversation being had. The HN community drove me away long ago.
I hadn't considered that, but I can indeed see the potential huge benefits there. Especially considering that their next iteration is the Airlander 50, with a 50,000kg capacity, which would put it at a fair middle ground of current cargo plane mass capacities.
Right? That's something about Windows that I hate; having to restart for an update.

Microsoft, with it's endless supply of money, is somehow completely incapable of live OS updates?

Hell, Linux has live updates; I don't even have to restart to update my kernel! I would expect Microsoft to somehow take this existing technology, cater it to their system and call it a brand new feature like they did with the resizable command prompt. "Look at this revolutionary thing we're doing in Windows 10!"

Obviously I'm generalizing or assuming that they would be able to do it; I know nothing of how Windows works. It could be impossible without completely rewriting the entire thing. It's just my ultimate pet peeve about Windows.
>> Driving the quickest 4 door sedan ever made: $0

>The Tesla can’t even reach 160km/h, while on the Autobahn the average speed on some stretches is around 180km/h, how is it the "quickest 4 door sedan ever made" when even a fucking VW passat sedan or minivan is faster?

(1) The top speed of Tesla Model S is governed at 255km/h (https://en.wikipedia.org/wiki/Tesla_Model_S) - I'm fairly sure you don't see a lot of minivans doing more than 255km/h.

(2) In typical automotive review usage, "quickest" means acceleration (rather than top speed, which would more typically be referred to as "fastest") and the Tesla certainly qualifies as one of, if not uniquely, the quickest 4-door production sedans ever made.
What is a 'simple vendoring workflow'?
> Yeah I guess, but I think that scenario is way less common than you think it is, only because almost nobody reliably segments networks. Once you're internal, you've usually got everything within a few hops.

Indeed, yes, but entities large enough to afford dedicated teams to run hundreds of pieces of Cisco gear with proper segmentation etc. usually also tend to be those of most interest to any espionage outfit.

Last I heard, ex-employer switched from huge VLAN switches to dedicated, unconnected switches for each network part after Snowden. Given the leak here, I'd say their fear wasn't totally unjustified.
Let me just say, for an article about writing less, this is sure a roundabout way of saying something that could be said in 1/3rd of the length.

No, I don't want to hear you ramble on with the discourse of someone who thinks they are hilarious and likes the sound of their own voice too much. Just get to the point. /rant