skysight-inc/HackerNews huggingface dataset:
The fact that you can eat a lot of salt, with out instant harm , always makes people think twice on reports like this . Same is true with sugar reports and fat as well . So what is this a vegan conspiracy to make us all go veg ! Unlikely , but consumers should Recognize that consumption not in moderation will lead to unwelcomed results . Try This rule as an example , many people like olive oil , many people say eating lots of olive oil is good for you . No one equates this as drinking a pint of olive oil as a good idea , nor eating 1/7 of that a day for a week . The bigger issue with this study is how pervasive doctored food has become . Yesterday Bloomberg news had a story how Parmesan and other grated hard Italian cheeses have become regularly doctored with wood pulp as a filler . Once wools pulp tastes like well , wood , one would expect salt to be added t this product to cover the wood content . A similar analogy can be made with regards to olive oils . Many providers filter and treat lower quality oil to make it appear as a higher quality product . It's not as bad as Chinese "Gutter Oil" but the fact that we have food health studies with out super strict food quality enforcement, in my humble opinion leads the biased reports or studies with flawed data .
Be careful not to overlook the basics of your brand's digital strategy
Jeb Bush's digital team forgot to renew jebbush.com. Guess who bought it?
Using encrypted software would make you a probable terrorist
Look the difference https://lut.im/RCbxJiKqPR/Vsz5iYdI0EYaYRfE.png
> Is the actual headline

Funny, HN mods tend to correct headlines when it's not the same as the actual link's, but in this case they keep leaving it on like that. Is there any reason for the double-standards?
Have you seen a pilot go to the bathroom? On us flights the flight attendants set up a barricade using a drink cart before the pilot comes out so you can't even get close to the bathroom without a major commotion.
I just don't understand the motivation for the cli. Isn't it much easier to just clone the mern boilerplate repo, rather than npm installing some cli, then running a command. If there are no options, what's the point? Admittedly, I might be missing something.
(100+ Answers) What is a unique job that you've only seen in your country?
Its weird. Public transportation to many airports in the US is surprisingly inconvenient. This isn't true for some airports but true for many.

Not everyone lives in a town with an airport so many people have to travel 100 miles or more to the nearest airport which may not be possible to do via public transportation if you live in the countryside.
Apple Fights Order to Unlock iPhone
Bernie’s Army of Coders
Oil is now so cheap even pirates aren’t stealing it any more
No, sorry - it's very much commercial code (it's our startup). Though it's 90% unicorns and dragons :-)

Edit http://www.countfire.com
Managing the Demands of an E-shop: Web Design and Development
In college, I was a state security guard.

In three years, the were two instances of two different security guards whom forgot they were carrying guns when they went to the airport. It happens so much.
CUNY Schools to Lure Foreign Entrepreneurs with New Visa Program
It was (it is?) a common practice to smuggle gas from Venezuela to Brazil, where the prices are relatively high.

[http://www.nytimes.com/2006/12/07/world/americas/07brazil.ht...] - old article (2006), but the disparity, at least before this annoucement, persisted.
>Don't lash out at people you clearly don't understand.

You're the one who doesn't understand.

The article says 83% of the guns found by TSA were loaded.

So perhaps we can concluded that the kind of person to absent-mindedly carry a gun in their carry on are the kind of people who also don't handle guns safely?
Just in case they are random.
Agree. In the U.S. OSHA has already mandated this. Employees do not have to prove their gender.
Company towns used to be quite popular back in the day, maybe Google should take a stab at bringing them back.
Optimize yourself until exhaustion. (tired eyes)

I would also like to frame this issue as a symptom of neoliberal capitalism, where mechanisms of the global markert are internalized as one's own needs and wills: investing in a better future, without ever ending up there, being creative and flexible nonstop for economical reasons.

I think it's important to deal with one's own anxieties and stresssymptoms also by sharing the knowledge and experiences.

But above that I also wonder, what we all together are keeping up, by asking of ourself and our collueges to exploit ourself (in academia, in start-ups, in traditional corporate environments,...)
This.
I rent a small apartment near downtown. If I bought property, it would most likely be in the same area, but not a small apartment.
Windows 7 Loader by DAZ v2.2.2 Final Version 2016 Download
Reading about how his original motivations were purely pecuniary, he was keen to sell his company as quickly as possible and his ambition was to go back to essay-writing and hobbyist programming, I can't help thinking young PG probably wouldn't get accepted into YC these days...
* Google Express provides delivery only
* Partner retailers provide "warehousing"
and order picking.
* 3 USD per delivery fee for memebers
* 5 USD per delivery fee for non-members
* 35 USD minimum order
* San Francisco and Los Angeles only, for now.
Emotional titles grate me this not so much. I hate the You will be Amazed when ...

I think I highly prefer to read "Scientist can't decide" because that means there is an interesting story/data to look at normally. I also find it a lot more honest then saying "Scientist" when there is equal amount of doubt in an article.
Truecaller’s new SDK lets third-party apps verify phone numbers to onboard
Just got a bill for $1100! Thank god it's a mistake.
I predict the government will go after Apples billions of overseas dollars for leverage.
Yep. even when I pass by a big supermarket (it is on my way home near the tube station), bulky items and lots of items are difficult when travelling on foot & crowded bus.
> Look around you. Every single item you see was given to you by "capitalism".

If (god forbid) you or a loved one gets sick in America, "capitalism" will also take away everything you own to pay medical bills. If you were born in a poorer neighborhood in America, "capitalism" will give you a terrible education, push you into a terrible job market, and do everything it can to keep you from becoming one of the owners of capital. If you want to get an education but you're parents can't pay, you graduate tens of thousands of dollars in debt. If you get old and you dont have a lot of savings, "capitalism" will put you into a shitty retirement home while your kids are too busy working their asses off to visit you.

I'm not even trying to propose an alternative model here, in fact I think the kind of admiration for the vikings that the article pushes is misplaced. I just think that personifying "capitalism" and using the loaded language of "taking responsibility for your life" are pretty irrelevant and counterproductive in the 21st century.
> Elasticsearch is Java, and the logstash tarball includes it and kibana from memory,

Not really. It's just logstash, along with some plugins (and what the heck are
Maven bindings doing there?).

ElasticSearch is another 29MB compressed, which is fine for a database-like
thing, and Kibana 4.x takes 30MB compressed (150MB uncompressed, of which not
the biggest part is Node.js copy).
No. Flash memory is encrypted with a key that is derived not only from the PIN but also an ID that is fused into the device when it is manufactured. If we exclude the possibility of a backdoor there is no way to retrieve this ID expect from the silicon itself.

Encryption keys are stored unencrypted in RAM, but only as long as the device is active.
RAM loses it's content quickly when it is not refreshed every few micro seconds.
Moreover the RAM in the iPhone is a package on package design which makes it hard to connect to it.
Cool, bit of googling and found 'FIDO U2F Security Key' (USB) for £5 I expect those will turn up in our local supermarkets pretty soon.

Someone should give these hardware keys a better name. E.g. your "Privacy Lock" or something similar. Much easier to explain than a "FIDO U2F" ... whatever those letters all jumbled together mean.
Because science is an academic pursuit designed to create and test generalizable hypotheses and add to our collective knowledge, while the people in the article are trying to figure out how to optimize the act of underpaying someone to go grab some cans off a supermarket shelf and bring them to me.

They're not scientists, they're engineers perhaps, or business analysts.
There's+Distance+Between+Us,+Great
Not typing 'encode' or 'decode' when dealing with strings. I know it sounds stupid, but it's really distracting compared to everything else in python that just flows easily.
Front end Design
The issues list has a bunch of breaking changes they've put off to Go2. It won't come soon, but probably at some point they will produce a Go2, if only to fix a few small annoyances and things they got wrong in the stdlib which would otherwise break the Go1 pledge. Of course, that doesn't mean Go2 will introduce lots of huge changes to the language, I doubt very much it would, but it probably will happen sometime.

https://github.com/golang/go/issues?q=is%3Aopen+is%3Aissue+l...

As another datapoint, here are the answers of the team to a question on what they dislike about Go1. These are mostly breaking changes which would require a Go2. I don't think anyone is hostile to it long-term, they're just not in a hurry. There is a huge value to developers in not having churn in an ecosystem and breaking changes, I and many others really value that and am pleased they take this approach.

https://www.reddit.com/r/golang/comments/46bd5h/ama_we_are_t...

So I think you've misinterpreted the above statement, it was probably an off hand remark in response to proposals for Go1 which would have radically altered the language (I can find no ref to it on the web, 0 results for that phrase).
Hollywood hospital pays ransom to hackers
Essential Tools for Building SPAs with AngularJS
Does google feel that they have to compete with Amazon as a "rival stack" ?

They're both integrating things from cloud computing to autonomous vehicles, and now to to parcel delivery.
Thanks for acknowledging that being white inevitably changed the outcome ;)
I think the comparison isn't great (I believe the Cuban regime would kidnap people and bring them back if they had the capability to), but there's a lot of history that happens to cause status quos, and the status quo is hard to change. But I think you know that....

For what its worth, if you talk to a random person, there's a very pro-Cuba and anti-China attitude. I'd say the US gov't position difference is more an indicator of Chinese power than anything else.
Linux has remap_file_pages to create non-linear address space mappings. You can do the magic ring buffer dance with a single anon mmap + a single call to remap.

On recent kernels the fast implementation of remap_file_pages has been removed because keeping non linear mapping from regressing was too much of a burden; instead a slow emulation has been added. The emulation should still be faster than doing the mmap dance by hand.
I was excited and hopeful to try the ELK stack a while back, but, like all the other comments here, have decided it was too unreliable and brittle.

I have an open issue on Logstash, spent a fair amount of time detailing it, but have gotten no feedback. And then I realized there's 600+ open issues!
https://github.com/elastic/logstash/issues/4389

I'm considering using Syslog-ng and would love to hear if anyone has comments on that. Based on other comments here, will be checking out Riemann and Fluentd as well.
https://syslog-ng.org/
Thanks to javax Most things could be switched out easily
How Sony's Net Yaroze Kickstarted Indie Console Development (2012)
Paying a 30 year note off in 15 years is only marginally more expensive than having the 15 year note to begin with, with the added benefit that if something should happen to your cash flow you have a much lower minimum payment you can fall back to.

Using bankrate.com's advertised rates and mortgage calculators for my zip code and $300k mortgage (which is very nice with some land in my area since with 20% down that is about a $375k house):

- 30 year fixed rate (lowest): 3.500%
- 30 year fixed payment: $1,347/mo
- 30 year fixed total interest paid: $184,968.26

- 15 year fixed rate (lowest): 2.750%
- 15 year fixed payment: $2,036/mo
- 15 year fixed total interest paid: $ 66,455.68

If you make the 15 year payment on the 30 year note you will pay the loan of 14 years early and save $92,302.71 in interest. If you make double payments based on the 30 year note you will pay the loan off in just over 11 years and pay less interest than on the 15 year note with minimum payments.
Using brute force (i.e. "immense computing capabilities") for properly sized keys is unlikely to ever be practical with classical computers. With quantum computers, many currently deployed key lengths that would be impractical to brute force with classical computers would become vulnerable to attack, but nobody is currently known to have quantum computers of sufficient power. See Wikipedia for basic details[1].

IMO, an intelligence agency would be more likely to invest in other methods (algorithm implementation weaknesses, software bugs, insider access, etc), due to the higher liklihood of sucess.

That said, it's interesting to note that the NSA is moving towards "post-quantum" cryptography[2], under the assumption that suitably powerful quantum computers will be, or have been, built. Whether the NSA already has such suitably powerful quantum computers is anybodys guess.

[1] https://en.wikipedia.org/wiki/Key_size#Brute_force_attack
[2] https://www.nsa.gov/ia/programs/suiteb_cryptography/
So I was interested in finding out more about Beats. From the product page I click 'View More' beside 'Beats Overview & Demo Video'... and get taken to a registration form with all fields mandatory... eh... no... forget it then.

What the hell has happened to Elastic?!
Here's what I (as a relatively poorly informed AU citizen who's 'travelled a bit') don't understand about the reaction to this news.

It's clearly not the ideal end-game state. But, it seems to be a marked improvement on the previous (half-century-long) situation. And in order to get from current to ideal, there'll be some intermediary stuff. In tech this is a common and well understood progression - ideally it's short, well managed, not-too-painful, etc. But basically unavoidable.

So why is this announcement being judged in terms of 'This isn't perfect'?
Agreed. This is a terrible graphic. I have no idea what's going on for any data point except the few on the edges.
How I improved the user experience of a dialplan interface
The majority of crime is not government invented. The majority of prisoners in prison are not there for any of the crimes you list: http://felonvoting.procon.org/view.resource.php?resourceID=0...

Besides that, the crime rate has been falling during a period coincident with aggressive policing, more incarceration, and more legal measures (RICO) to fight organized crime. While people have alternative theories for that decrease (e.g. banning leaded gasoline), aggressive policing cannot be ruled out as a reason for the decrease in crime.

Finally, tape recordings and wire taps are the backbone of investigations of sophisticated crime. It's disingenuous to pretend that pervasive encrypted communications doesn't dramatically change the landscape law enforcement is dealing with.

I happen to think the privacy benefits of encryption outweigh the cost to law enforcement, but I think it's ridiculous to pretend like there isn't real crime out there or that encryption doesn't make it harder to fight it.
The article was posted in the middle of the night, US time. I imagine most people with any mod powers are asleep, and in any case it's hardly a wildly inappropriate submission title.
How to Teach Children Organization Skills
Footnotes are not very explicit, nobody reads the small print.
Where polyfill came from / on coining the term
Saudi Police to learn anti-magic tactics
They have a couple of outputs from *beats though, not only ElasticSearch. Besides ElasticSearch there are outputs to console, file, Logstash and a deprecated Redis output.
Startup accelerators in Europe – a complete overview
Was about to post the same. It's hard to continue reading the article when the basic premise is so obviously flawed.
Nvidia  stuns investors with record earnings
Dog becomes star pupil at primary school after he learnt how to read
I drive to London Heathrow airport because I hate hauling heavy cases on the Tube and long stay parking works out cheaper than the return journey by minicab.
I don't have a gun but I would be pretty inconvenienced if I had to go all the way back to my car from the security line (it's about 15 mins each way on the airport shuttle bus) so I'd be motivated to review my luggage before locking my car.
Then you're doing it wrong. Sorry but that's definitely better solved in Python3 than in 2. Always decode/encode when opening a file/stream/whatever and only use unicode internally.
> I struggle to find a compelling reason to use Python at all

My issue is I always see Python as the Second Best choice for what I am doing. There is always a better tool for the job. The one thing going for Python is that it is such a generalist BUT when doing work I prefer the Right Tool for the Job approach. I seriously can't think of a job that Python does best.
Even though understandable this does not explain the rising numbers. We do not know whether they are normalised or simply due to the fact that more people have guns, but it could be a trend. Also, the whole point of airport security is to find weapons, so it is also reasonable to think that people would be more cautious about accidentally bringing a gun rather than a shampoo bottle (which you can actually bring if it is small enough).
How is a 30 year loan on what is usually the largest purchase of one's life a government intervention? Plenty of banks offer these loans with no backing, support, or encouragement from the government.

And what do prepayment penalties have to do with anything? As a consumer I will absolutely not sign any loan that comes with a prepayment penalty. It would be idiotic to.
Sounds like you are shooting yourself in the foot. Your code may work with ASCII but will immediately break in non-naïve cases.
Nah. Reputation is hard to build, but eeeeasy to destroy; saying "trust us that you can trust us again" doesn't magically revert it to previous version (at least a suspicion remains of "...until we have another Wonderful Idea at an indeterminate point in the future").
This didn't directly answer my question, but it implies that you just periodically update all of your dependencies to the latest versions and pray your tests pass with minimal changes required.

Yes?
give me a break, what a joke. typical gun-grabbing economist article. turns out in all the states they are harping on, a gun is considered a tool and not some black, metal object of death, like they want you to think.

and if i want to take a gun with me on a trip (where i'm legally licensed to carry, which is most states), i can already do that by checking it, like the majority of LAW ABIDING citizens do.

if there was actual INTENT to "smuggle" a gun on a plane, with which to do harm, then there's a news story here, but there isn't. it's liberal, gun grabbing, troll bait and an attack on legal firearms owners. move on.

</rant>
What are you using generated code with lots of types for out of interest? I haven't felt the need as yet but would like to try it out.

Re handlers, you really don't have to use the http handler. I use one which accepts a context, and returns an error (for rendering), which simplifies the boilerplate somewhat as errors are rendered by the router. I'd look into using your own interfaces before generating standard http handlers.

The other thing to bear in mind is that if you try to make things all implicit rather than explicit in order to avoid repetition, it's very easy to be unaware of what's happening behind the scenes (auto-auth, or auto-render as in rails), and get stuck when you want to do something off the beaten path. I rather like Go's more verbose but very explicit style. It's a trade-off.

Auth, CSRF, parameter parsing should definitely be in a separate pkg you're using, not repeated each time IMO, so there should be minimal boilerplate for those.

Using text template is a really nice way to generate http handlers if you typically set up resources in a similar way, so I'd definitely recommend trying that out. I haven't looked into go generate as that came out after I started this approach.

The approach I take is to generate actions with all the normal code in them as scaffold (for CRUD actions) - so for each one auth, then setup, then business logic, then render, and then edit those as necessary, as often as an app grows each action diverges from the standard (say it doesn't do auth, or processes parameters differently etc). This is easy, explicit, and very clear when returning to code after 6 months at the cost of some verbosity.
Don't get too excited about Riemann. It's a stream processing engine, not
data transport. It has its uses, but not for shipping logs.

syslog-ng and its competitor, rsyslog, are fine, but they are concentrated
around logs specifically. Fluentd (and logstash) can be used to transport
other data, too, like monitoring or inventory.
For anyone hesitant because they're worried they will need to support 2.x installations at some point, there is 3to2[1]. You can write for 3.5 only, and then back port only if you need to.

1. https://pypi.python.org/pypi/3to2/1.1.1
I can't believe one of the founders was doing this alongside grad school and PG was like yeah you know, you have a lot of spare time there.

And here I got so much work with full time studying that I can barely finish reading a single book alongside. How can people say university is enjoyable, fun, lots of spare time? For me it's just endless hard work and barely any breaks inbetween.
Well I use the Yubikey, thats a fun name, but not descriptive. Basic U2F sticks will probably be between 7$ and 50$ depending on feature set.