skysight-inc/HackerNews huggingface dataset:
I've never understood the argument for system-level firewalls at at all. If a service is listening on a port from the network, presumably that's for a reason and you're going to end up writing a firewall rule for it anyway. If you have complex rules that try to filter out "bad guys" then your firewall is a complex piece of software full of parsers and the like, probably written in C "for performance", and you're exposing it to external packets - that's a bigger attack surface than not having a firewall. If your services are using sockets for local communication, bind to 127.0.0.1 or use a unix domain socket.
Nooooo such things don't happen, its a lie! :D
TIFF was used (probably still is) to store data from gas detectors. It wasn't called TIFF, but it was based on the format plus custom tags to store extra data and image layers. As a format it is super-flexible.
Few weeks ago I had the funny remark from a co-worker saying that among all the stuff we eat, sugar is the most useless one.
After thinking a bit about this, it really makes no sense to keep eating that much sugary stuff...
As with many things, time has a way of changing our perspectives. No, Office formats would not have been competitive on earlier machines if they used a lexer/parser. Office documents weren't really documents in as much that they were memory snapshots. This is why early Office products had such high productivity over other competitive formats. If they were being written by scratch today, the formats would be very different, but then they wouldn't be as feature rich as their predecessors.

One thing overlooked is that the transition to the new DOCX formats (and PPTX, XSLX, etc.) was that they were being written about the same time Windows was working on Longhorn. Longhorn featured WinFS. WinFS would open the XML document formats and save assets like embedded images as their own components in the filesystem and then would reassemble the documents as you moved them from a WinFS store back to a traditional filesystem. The XML formats were in a similar way designed to make that process fast, just as the binary images did for earlier versions of Windows. The XML document formats were designed to integrate with a filesystem which never shipped. Without WinFS, the formats weren't built for third party interoperability, but were designed to make it easy to decompose a document into block components which the Office apps otherwise handled like verbose but compressed binary formats. If WinFS had shipped, the OOXML formats might not seem as convoluted.
I honestly think a sugar tax would be a great move (even if only on soda, the worst culprit).
Exact rational value of a squared cosine between two arbitrary vectors
>Also it was a truck passing across the path of the vehicle

That is exactly the sort of situation self-driving cars are expected to be perfect, or at least superior, to humans at handling. If they're no better than a human driver or even a bit worse when edge-cases occur than what's the point?
The Fritz!box is the only router I recommend to friends. I've run into few problems with them, except persistent issues with the web interface responsiveness. The only real problem is that they are relatively expensive. It's hard to convince people to spend 4x the amount because it's "better".

I think most non-geeks don't realise just how bad their routers are making their web experience.
> Pete Wells only reviews the fancier restaurants

This is not true; in fact, Wells is somewhat famous for reviewing more blue-collar restaurants, in contrast with previous Times critics. For example, here is his review of Guy Fieri's restaurant in Times Square: http://www.nytimes.com/2012/11/14/dining/reviews/restaurant-...
I've been part of at least three organizations that had a running joke of "chat programs suck, I can't believe how stupid their developers are, we could write our own that would be much better". A couple even got as far as writing and using them for a while.

But none of us actually believed it. We all assumed there had to be some good reason that all the chat programs out there were awful - almost an efficient-markets viewpoint. I think Slack's great innovation was the psychological willingness to actually just write a good chat program. (I have no idea how - or if - they figured out the money-making side of things though).
I politely disagree about the package manager, and I think that Ubuntu model is the best of both worlds: PPAs are the best thing ever for any software I want to have cutting edge (community packages), and stable packages are better for the rest.

The documentation is also very good.

The init system has been changing and I don't have an opinion about it, except that it seems systemd took over the world and any alternatives will die.

I can only conclude that we are both fanboys.
Whenever the sugar subject is brought up I can't help but recommend watching That Sugar Film.

Trailer: https://www.youtube.com/watch?v=6uaWekLrilY
See previous HN discussion from a couple of days ago: https://news.ycombinator.com/item?id=12480733
The best part is the fq_codel support :-)
Well, there's people writing code in other languages.

I know in Japan and Germany it's still kinda common for larger companies to build codebases in local languages.

Which in turn can lead to these issues.
Oh my God, I remember that term. I used to do all my web browsing in Cyberdog. Working in OpenDoc I got used to nothing having splash screens, and it was like a glimpse of a future that never happened…
Overwriting executable machine code in memory is a rare case (only JITs need it, only for emitting code). Some CPUs do wire the memory write operation to the instruction cache to make sure the instruction cache knows some code changed, but ARM chose a simpler design where the instruction cache assumes the code never changes in memory and if this assumption is wrong, the programmer has to use a special instruction to tell the instruction cache to throw something out of cache. The cache clearing instruction throws out either 64 bytes aligned to multiple of 64 or 128 bytes aligned to multiple of 128, depending on the core.
Having heard of various crazy class action lawsuits I wonder if someone can sue them for trying (and succeeding) to mislead the public on the health problems due to sugar consumption?
Probably, yes, IMO sugar needs to be regulated and taxed like alcohol.
I hope this revelation does not only have consequences for the parties involved, but that the systemic problems in science and its relation with industry are addressed. For example, there is no or little incentive right now for researchers to reproduce/validate existing results; even if those results are highly cited. Also, the article speaks of "influential journals", but the source of a publication should not matter in the end.
A short guide to mentoring
Makes you wonder how many other studies are bought and paid for, such as the recent studies highlighting the evils of allowing cash (or at least high denomination notes) in our society.

For example, from this Guardian article:
http://www.theguardian.com/commentisfree/2016/feb/15/crime-t...

> Calls for the eradication of cash have been bolstered by evidence that high-value notes play a major role in crime, terrorism and tax evasion. In a study for the Harvard Business School last week, former bank boss Peter Sands called for global elimination of the high-value note.
What makes this better than https://duckduckgo.com ?
The lawsuits against Big Tobacco are a good template.
>Idiomatic Java/J2EE circa 1998-2008 was total crap (the programming style, not the language)

I think part of the aim of Go was to make this style impossible, by e.g. removing inheritance, which plays a key role in most crappy Java code.
At least that kind of thing doesn't happen today. Take this study that says eating lots of pasta doesn't make you fat. Oh wait. (Note the two funding sources in the right-hand column)

http://www.eurekalert.org/pub_releases/2016-07/inmn-pin06301...
It's written in pascal. Neat.

However, it's not very good. If I search for "banana" I get information about a sex shop rather than about bananas.
Once one mall started every single mall in the area followed the policy. It is not uncommon- I just did some random googling for examples

http://dfw.cbslocal.com/2012/05/09/teens-must-be-with-parent...

http://www.wdrb.com/story/30856303/6-things-you-should-know-...

http://www.panamacity-mall.com/security/

http://www.mallatstonecrest.com/pip

http://www.chicagotribune.com/business/ct-ford-city-youth-es...

It's not that expensive, I imagine you are only paying the mall cop around minium wage.

We didn't have any movie theaters that weren't at the mall.
Well I didn't expect that. Other than increase my technical knowledge it helped me know more about malware and how some of them works to better protect myself. Why not you too ?
Your negativity and lack of arguments is alarming, I hope you are not like that with everyone, that's unpleasant.
I run the DSP plugin company airwindows.com and have continued to support PPC machines, though I don't think it extends back to OS 9. Recently added Mac and PC VST (I'm told the backward compatibility on Windows tends to reach back farther: from my experiences in XCode I can believe it).

I'm understandably very curious whether there even is any DAW that can use the PPC Mac VST support I've been including in the new plugins :)
A wall easily scaled by clicking "web" under the link, and clicking the first search engine result.
Also, it suffers badly from Darlings: this is when an author discovers a Cool Thing, and is determined to use it whereever possible.

Sir Arthur Quiller-Couch meant something else when he said "Murder your darlings" in a lecture -- later published in 1914 as "On Style" [0], the final chapter of his book, "On the Art of Writing".

He states that style is not about "extraneous Ornament" and gives an example. And at the end of that paragraph he goes on to say:

...and if you here require a practical rule of me, I will present you with this: ‘Whenever you feel an impulse to perpetrate a piece of exceptionally fine writing, obey it—whole-heartedly—and delete it before sending your manuscript to press. Murder your darlings.’

In the c2 wiki entry for "Kill your darlings" [1], the point is made that this can apply to programmers too:

In software design, when you find yourself feeling particularly proud of a neat little bit of design or code, stop and ask yourself how someone who didn't give birth to it will regard it. If it turns out to be overwrought or too slick for the need, you should probably kill your darling and replace it with an ordinary solution that others can actually use, and not just marvel at.

(Also, the word "glitter" is used a bit later there to describe the stuff that a writer should get rid of, which is wonderful, since it evokes the (relevant!) saying, "all that glitters is not gold" -- and because the point is made that glitter can be distracting to the reader, who is not as maternally invested in it as the writer.)

The c2 wiki page also mentions Samuel Johnson's related phrase: "Read over your compositions, and wherever you meet with a passage which you think is particularly fine, strike it out."

[0] http://www.bartleby.com/190/12.html

[1] http://c2.com/cgi/wiki?KillYourDarlings
airhelp is one of many services which deal with compensation claims which are mandated e.g. by EU regulation and take a good cut of the payout for trying to make a really cumbersome process less bad. the customer experience of claiming compensation is in my opinion much worse than a fully automated payout and the whole process a real pain for both customers and airlines.
As much as I agree with your post in general, what reason is there for the €500 note apart from stuffing as much value into a briefcase as possible?
Pro Video Factory – Professional Video Library in 4K, 6K and UP
Most Danish voters oppose government plans to cut the top rate of income tax
Not saying that it's better but one of the main selling-points of DeuSu seems to be that it's fully open source and independent search index. Duckduckgo, if I remember correctly, is not 100% open source and get their search index from Yahoo (or maybe Bing, not sure)
What if it was the contrary? What if it was fat (beyond trans fat) that was taxed and regulated based on BS studies?
Pro Video Factory is a stock footage platform where you can buy premium quality clips in HD, 4K, 6K and UP.

As artists ourselves, we understand that delivering quality content requires enormous amounts of time, energy and financial investment for any creative who wants to stay true to its vision. Born out of respect for the creative process, our platform aims to help every creator invest more time and energy in telling the story, while letting us do the hard work.

Dedicated professionals

We don't settle for half-measures when it comes to quality. Every member of our team strives for excellence in delivering users top-notch content.

We are the sole creators

By eliminating all third parties we created a platform where the user can buy straight from the source, allowing us to provide better deals and supporting artists to focus on the creative process and not on the business game

Fresh videos daily

20 000+ new files added monthly.
With ever-growing collections we set out to become the biggest professional video library on the market with tons of fresh footage added on a daily basis.

Footage from all over the world

Our teams are on a perpetual quest around the Globe to capture a variety of moments and places.Their aim is to create more than stock footage, the goal is to create sources of inspiration for artists of all kind.

4K, 6K and UP

In order to provide highly customizable videos we use only cutting-edge technology. We are always on a chase in finding the latest equipment that can unveil a new level of realism.

Curated content

All footage is professionally filmed and carefully picked. We control and review each video for an enjoyable journey through our library.

If you have any feedback or questions i would be glad really glad to listen it. :D
I have invites too if someone is interested.
That is known for decades, and this is only the tip of the iceberg. It's the same strategy as used by the tobacco industry and GM (Monsanto).

Most obesity researchers are paid by the soda industry. e.g. http://www.alternet.org/food/soda-scandal-journalists-fail-r...

The best outline is the latest "Sugar" documentary http://thatsugarfilm.com/film/synopsis/ who started to get the word out and of course Yudkin's book. http://www.telegraph.co.uk/lifestyle/wellbeing/diet/10634081...

The UNICEF is trying for years to warn against excessive sugar consumption. But only their latest report speaks out: https://www.unicef-irc.org/publications/pdf/IWP_2016_13.pdf
The Soda industry with the help of politicians did effectively destroy all sugar warnings and turn the carb problem into a fitness and fat issue.
Some context : I was learning about rational trigonometry[1] and wanted to know if it can be used in computer graphics. I thought about John Carmack inventing his own square root function[2] because vector normalization is often needed and it requires evaluating a square root. Usually this happens while computing specular reflection.

I looked at Phong's reflection model[3] and saw that the specular part requires a power of the cosine. The exponent is called "shininess".

I wondered if it's possible to compute this power of a cosine without having to normalize vectors.

Turns out it's possible, as long as shininess is an even integer.

1. https://en.wikipedia.org/wiki/Rational_trigonometry

2. https://en.wikipedia.org/wiki/Fast_inverse_square_root

3. https://en.wikipedia.org/wiki/Phong_reflection_model
My router stops working about once a day, but only if Apple products are connected (not sure yet if iPhone or macbook (they often come in pairs), but it's consistent across 4 flatmates).
Slump in sales might just mean that people who wanted to buy the device have bought it already and other people are not interested enough to buy it. There are many explanations to it, blaming phone VR is one of less probable ones I think.
Oversimplified to the point of absurdity. The original Google was based on Pagerank [1], which came out of the postgrad research of Larry and Sergey.

They also had to build a crawler, systems to calculate pagerank on relatively huge graphs, and the search engine.

That is years of decidedly non-trival hard work, both academic and engineering - pretty much the opposite of the 'snowball' the author claims it to be.

1. https://en.wikipedia.org/wiki/PageRank
Strange, Wikipedia article is not on the first page and don't blame me for searching something non German thing :)

https://deusu.org/query?q=berlin
Interesting I found Finder the worst part of moving to macs I have now moved back to a windows 8 machine (for full fat Excel and better access to VM's).

Even windows 3.1's file explorer was more usfull
Sugar is not useless at all. It's a very powerful and cheap drug, far more effective than cocaine. Just don't overdo it.
Alternative general purpose search engines are an exciting idea.

It seems a lot like we're about the time when yahoo was dominant and searching was sort of awful. When you searched, what ranked highest was market-driven sorts of stuff.

Right now, for topics normal people search for - not techies -all you get are content farm sites with js-popups asking for your email address. Try searching for anything health related, for example. We've regressed.

My own half-solution is to look only for sites that are discussions - reddit, hn, etc. It could be better. A search engine that favored non-marketing content could really steal some thunder.

This doesn't look like that, but maybe its a start?
I'm curious--why?

What, really, is the point?
Astronomers witness a star collapsing into a black hole for the first time
It's pretty obvious that Google et al. do a lot of "custom" filtering like prioritising Wikipedia, removing porn from "obviously non-porn" searches etc. (That "Berlin" search gives porn as the 8th result.)
If it's not good, the it doesn't matter if it's OSS or not.
To prevent diabetes (and other sugar related health effects)? MSG is regulated in Aus, why not sugar?
Spin up N threads with single core affinities where N = total cores.

If anything, the OS should have an API to tell you this info in advance.
Iraq v Chiraq: How Chicago violence feels like a war
They need to filter porn out of their search results (even for common queries like "hat", there's only porn) and perhaps be more resilient to SEO techniques since it looks like there's lot of spam on top results. Queries with common words such as "cat" return almost only irrelevant results.

I'd really like to see that kind of project working as a good alternative to Google, but as it is it's not really usable.
Is there any specific reason why consumer grade router companies (like D-Link) drop their own OS entirely and shift to a open-source alternative? That should bring down development costs somewhat I'm guessing and force them to make different boards compatible.

Not a hardware guy, but I've looked at D-Link firmware code in the past, and it is just utterly shoddy. Just making the hardware and making sure it is compatible with some router-os should be simpler. (Essentially what happens in the mobile/laptop industry with android/windows).
At a previous job I was asked to debug a large (inefficient) cronjob that was suddenly taking 24+ hours instead of the usual ~8 hours. (We had just migrated infrastructures but noticed this days later)

Being relatively new to that particular codebase I look at it and see nothing that stands out to me... after an unfruitful day and not wanting to get too deep in to the code without necessity I fired up a profiler. Logging (syslog) statements were taking HUGE swathes of time. Neither me nor the person supervising me could believe that was it so we put it on the back burner.

The next day I take another look at the log statements, fire up a python shell and find the logging statements on that server are returning instantly 4/5 times. Every 5th (or so) time it would block for 5 seconds or more. Given the cronjob writes thousands of log statements in the course of action, this became a cause of concern.

Didn't manage to look in to it deeply enough (I guess DNS caching plus crappy DNS) but the quick workaround was to toss the syslog server's address in to the hosts file, the cronjob ran 'smoothly' after that.
Yes indeed it did. I used to use this - really really useful. Does it still do this?
Because you are afraid that you will either lose a significant amount of your life's savings (Cyprus) or you will no longer have unrestricted access to your account (Greece).
Raise on Developer Mistake
Side note: Feedly is a great modern reader.

http://feedly.com/
Chrome's V8 JavaScript engine gets a tuneup
Actually, a machine never accuses you of being the responsible of that error. It usually says "there's an error in the line..." but never addresses it towards the programmer even though they know that they are the responsible ones of that mistake.

And in fact, that is one of the techniques of conflict management between partners, addressing the problem instead of finding the responsible of it.
Folks who do not trust banks/governments may want to do cash transactions. Even if it seems highly unusual to pay for a car/vacation/house in cash this is not a reason to outlaw it.

Second, with inflation, what seems to be a high sum today may not seem so 15 years down the road.

Third, many suspect that after outlawing largest bills we will go to prohibiting largest remaining, etc.
Building a Deep Learning (Dream) Machine
> Just don't overdo it.

And that's where the issue lies. Most processed foods are extremely rich in sugar and we've gotten used to their taste.
>If you invite someone to an expensive restaurant that's just had a bad review, your invitation must mean either cluelessness or defiance.

How about you like the restaurant or you have recommendations from people whose tastes you share that like it? If I like a restaurant I really don't care what the newspaper or Yelp says. It's not so much defiance as disagreement.

(Sure, if "the reviews" are bad for a restaurant, a movie, etc. the betting money is that it is, in fact, not that great barring other data to the contrary.)
Someone just lost 324k payment records, complete with CVVs
Yeah 500€ notes are pretty useless. Most shops here in Finland don't accept 200€ or 500€ notes at all.

Basically any time I've had to use 200€ or 500€ notes they have basically gone quite directly from bank -> my wallet/envelope -> give some guy (buying an used car for example). The same operation could have been done easily with 50€ or 100€ notes. 500€ notes just makes it easier use/harder to spot usage of large amounts of cash. If you are doing it legally you aren't loosing anything by using 20, 50 or 100€ notes.
You can add a feature that offers investments in DAO's
Absolutely, but when you enter that room for an interview, there may be a bias already built up against you. Somehow you made it through the door, but now you have to overcome the skeptics, maybe a team member who refuses to believe anyone without a formal degree could possibly have the proper foundation for “real work”. You can’t be just good, you have to be outstanding. Even if you shine in the interview, you may still have to make it through an upper manager who did not bother to interview you. Twice I’ve been rejected because the upper management didn’t want anything to do with me, even though the technical team was excited. I was never told exactly why, but I suspected the lack of formal education (what else?). In one case I was offered the position about a month later but already had another job.