skysight-inc/HackerNews huggingface dataset:
> In my opinion, my thesis from GopherCon 2014 still holds: services should only log actionable information. That includes serious, panic-level errors that need to be consumed by humans, or structured data that needs to be consumed by machines.

But what if I need some information to debug a problem in the future? I log some related information and when error happens, I can look to the logs and get that information. This might help to debug a problem. Ideally I would like to have a values for all variables at any moment of time. Practically I can't have it, but I can get some values, which, I think, are more important. So later, when I debug a problem, I'll have more information. And if I don't ever need that, no problem, disks are cheap and logs are small (if done properly, there's nothing worse than searching for a needle in a 100GB log file).

For my programs I developed a simple rules. Log everything important with DEBUG level (but it shouldn't be too much, don't log 10MB data for each HTTP request). Log everything that happens in the system at a "higher" level with INFO level (like "add record with text {}"). Log everything unusual with WARN level (like user validation failed). Log every unexpected but recoverable (application can serve other requests) error with ERROR level. Log unrecoverable error with FATAL level and shutdown application. Works fine for me. And TRACE level just for debug, it's usually turned off, so it might produce any amounts of data.
India Blocks Facebook’s Free Basics Over Net Neutrality
You can't use a cryptocurrency on your own. The network effect is strong and it's unlikely that more than a few useful cryptocurrencies will emerge.

There is a reason why negative interest rates exist now. It would be foolish to assume that those reasons go away and won't be implemented into cryptocurrencies in the future if they are used widely.
Never mind the health aspects: should burning incense sticks be allowed in the office? No general answer - if all your cow-orkers love the smell, I guess there's no issue. Otherwise, I see no difference from "should I eat my durian for lunch in the office?" or any other smell-related activities. (I prefer that smelly and noisy activities, such as lunch, private calls or smoke breaks, happen outside the workspace; but that's indeed my preference - YMMV)
thats an in-joke that doesn't really work for the vast majority of people.

...it also shows a juvenile level of humour that isn't appropriate for a group that wants to generate trust in an OS.
I guess when all of the people and businesses start putting money in their mattresses the government will just ban paper money in general. Then there would not be anywhere to hide money.
If you follow the link, the issue isn't iteration, iteration is easy. The issue is the recursive destruction of the tree when the root is destroyed and no subtree is shared.

> The list implementation is simple/nice but it imposes a limit on number of stored elements because of "additional effect" of recursive destruction.
You're thinking of "Creep," which was only negative in that it was copped a little too much of The Hollies for some folks' taste.
- I also regularly have to kill apps and restart them because they don't properly detect internet connectivity. I think this is actually due to people not testing apps against the new Doze functionality, which isn't Google's fault but definitely isn't the greatest user experience.
- The camera software/drivers are really slow and crash regularly.
- I get random spinners on videos that don't go away sometimes.
Pickling, for one.

>>> nt = namedtuple('nt', 'a b')
>>> nt10k = [nt(1, 2) for i in range(10000)]
>>> dict10k = [{'a':1, 'b':2} for i in range(10000)]
>>> timeit pickle.dumps(nt10k)
10 loops, best of 3: 26.3 ms per loop
>>> timeit pickle.dumps(dict10k)
100 loops, best of 3: 2.49 ms per loop
They accomplished a lot!

http://joeduffyblog.com/2015/11/03/blogging-about-midori/
> ... due to illegal immigrant status

Discouraging illegal activities (any illegal activity, not immigration in particular) is a _feature_ of banning cash, not a bug.
But won't they be just as hooked as in markets where Facebook has already penetrated? Seems like the smart play is just getting people on-line, and getting them onto Facebook the same way they always have.

Why wouldn't that work in India?
I thought this was going to be some kind of programming analogy, like pets and cattle.
If you timeout on a significant number of questions, the code you wrote is not a few micro optimizations away from succeeding. The entire point is not to write the easy slow solution that is hundreds of thousands of times slower for large input sizes. This is much easier than getting the best solution, and hence less credit is given. I'm sorry that the instructions were not clear.

I agree with the author on some cases; Frequently, sites like hackerrank have a specific case that causes Java Arrays.sort() to go O(n^2) and time out. Those feel dumb; there are many real life situations where quicksort is fast on average and well worth using.

As for other things that hackerrank doesn't test, I would say you should use hackerrank to screen applicants vs as an end-all-be-all.
Except for cryptocurrency.
Printing software
hosts file is no help when telemetry has hardcoded IPs. Firewall will block that as long as you know those IPs, or switch to drop all and whitelist.
> Then there would not be anywhere to hide money.

Would you miss it?
Interesting!

I must confess, I'm currently trying to get hard data on how our users are using our product and the thought of logging every request had crossed my mind. As an entry point to to finding the right solution and also because our product is hosted on the client's server and rarely under heavy load (we never have more than a dozen users connected at the same time).

I'm now going to look into instrumentation...
On the revenue side, Facebook doesn't monetize these users (yet), and it's a virtual monopoly in almost every market it's in. On the cost side, one bit costs pretty much the same as any other to serve.
The question is whether his letters were given more weight than any other letter from the citizenry. My understanding is that whilst my fathers letters were responded to with form letters from aides, the princes were responded to with form letters from aides AND the prime minister was informed that a letter was received.

Truly sickening abuse of power.
Maybe you're thinking about this discussion? https://trac.webkit.org/wiki/b3Discussion2015
There are studies around showing that even a few minutes walk can increase creativity. So it is actually possible that smokers that are going out to smoke are actually more creative that their sitting counterparts.

Here for example : http://well.blogs.nytimes.com/2014/04/30/want-to-be-more-cre...
but there are likely more serious link around.
At the risk of sounding naive, isn't "dangerous for your health" implied by "extreme"? The human body seems to be evolutionary geared towards moderate intensity with regular frequency more than anything else.
Based on your comments, I don't think you understand cryptocurrencies very well. Who would get the money from negative interest rates? Miners?

If miners are so powerful that they can change the protocol rules, why they wouldn't just raise the block reward? ( increase inflation/monetary expansion)
Not that it's my prediction, but evolution can also work by all humans dying due to the destruction of their environment and then something else evolving of whatever creatures survived. Human extinction is not different from dinosaur extinction; I believe that we'd rather avoid it for selfish reasons, regardless of the fact that it's just one paths of evolution among many. Certainly it being an evolutionary path not unlike others does not make it tempting.

"Evolution" is whatever is happening - survival of the survivors. If humans kill a certain number of badgers and the number of hedgehogs rises plus a bunch of other hard to predict things happens, it's "evolution" as much as humans having killed larger predators and done nothing about badgers and whatever happened next. An alien observer might comment that the number of badgers went down due to humans, or instead that the number of hedgehogs went down due to badgers. The only real question is whether you think more harm than good is done by reducing the number of badgers, and it ought to be answered on specific grounds.
Oh well, so much for that.
How is that different from regular currency? It is quite hard to implement laws that effectively enable negative interest rates. You can see that in, well, this discussion.

What really happens is that power is shifted away from regular people (who can at least assert some influence on those making the changes) to those holding capital.
msys uses pacman? Is there another msys than the one at mingw.org[0] ?
I believe you but I just can't find any reference to pacman there.

[0] http://www.mingw.org/wiki/msys
I am looking at options for building custom electric guitars. This is just for a hobby, so no mass production at the end.

Can anyone with experience in doing this tell me if it is feasible to get CNCed products made as one offs?

It seems likely that this step is part of a longer and highly involved process resulting in mass production, which wouldn't be appropriate for me.

Can anyone offer experience/tips for getting this kind of CNC work done as a one off. I live in Germany.

Thanks in advance.
Yes, there's absolutely no reason to believe pigs suffer less than dogs. In fact, they have similar cognitive levels. So we need to do some mental gymnastics to justify how we treat them.

This behavior is labeled "moral schizophrenia" by some.

We say that we recognize that animals are sentient and therefore deserve moral consideration and freedom from unnecessary suffering, but we often behave toward them as insentient things and treat them in ways that are diametrically opposed to any moral consideration of their interests. Unless we label them as pets, of course. Then they are automatically included in our circle of compassion.

For a deeper look at the psychology behind this, I recommend this great TED talk: https://youtu.be/o0VrZPBskpg
I'm pretty sure you edited the /s in there after my comment, but your comment makes even less sense with the added sarcasm.

What's the case you are making here? Before I understood it as you defending the young males all fleeing the country because it's safer and all.
Yes, of course. If you are a company, you know your rep.
Wireless telecom will never be a free marked as long as the is a limited amount of spectrum auctioned off.
However you try to categorize, most corporations treat all three interchangeably. Most non-technical people see no difference between the three.

Differences start to show when you analyze how corporations treat their people. Most corporations will only use one term to describe all their actively programming IT staff which usually will reflect how corporation thinks of their role.
> ADD: Looking at the other comments, this is useful also as a platform to create languages, sort of a universal IL, yes?

Not to my knowledge, it's solely an optimisation and codegen backend for webkit's FTL JIT (and possibly some other JIT sections in the future)
Cyber criminals are getting smarter
The idea is that just as you're supposed to want to lend... you might also choose to stockpile cash. Both strategies potentially mitigate the negative interest. In tho regime, banks pay the central banks less in the future for money they take on loan now. The common sense assumption is that this means money will be worth more in the future. Therefore you may want to invest in cash. At a point, this makes cash like gold traditionally and hence stockpiling aka fort Knox. But that's why you can go negative...you just cant go negative enough such that folks start stockpiling. Iraw expensive to stockpile
It would. But why not cheat if you can get away with it?
Sounds like it was written by someone who lacks good infrastructure to collect and search logs.

E.g. it is very useful to collect all user actions and other major actions. So later when user face some problem and sends support a message you know what was going on. You can send user a message that his issue was fixed instead of asking the user for a reproduction steps.

The aggregate numbers poorly tell you a story what has happened to this particular user and at scale there are bugs that just some ppl will hit.

You can process logs and produce the metrics out of them, but you can't do the opposite. Saying logs are just human readable actionable errors seems backwards to me.
Uber has huge revenue. They have failed to generate a single cent of profit though.
This isn't good news for Word2Vec and gloVe approaches to word representation.
ReactOS has made great progress. The last time I tested it I wondered if it could ever be useful. Now it provides an instant desktop with XP compatiblity, variable desktop sizes and flawless network access.

In my opinion XP was the best Windows ever. I think there are many people with legacy PCs who think the same, and who would love to have a XP alternative with real sustainability, even more due to Microsoft's attempt to lock every Win7 user into the privacy-less Win10 ecosystem.

The ReactOS team should consider to make a business of it. There are so many options. Company support, driver development, 3D, better OSX/Linux cooperation, Docker-like applications w/o desktop etc. They could provide a whole new ecosystem around Windows while retaining independency from MS.
For those who are wondering before reading - article looks at the issue of what is considered a "highly likely" indication in an alien planet's atmosphere that would indicate life. Oxygen used to be considered that, but other processes have been found that can lead to significant O2 without life.
So - I wonder how Facebook will respond to their market penetration and lock-in effort being declared illegal, as granting access to one set of sites for free and not allowing access to others surely falls under this legislation.

I expect that they'll continue business as usual, and will drag out the battle until they have a captive and indoctrinated audience (after all, they control the content, so you can be sure folks won't be reading about this, but they will be reading about how internet.org gives you freedom and is great and wonderful) who will push the government in favour of banning non-discriminatory pricing.
HackerRank is a great place for training, and is very good for interview. Imho it's better than using a google doc. Anyway they organize a lot of contests, and saying "Beware of HackerRank" is not correct, it should rather be "I participated one time on HackerRank and I didn't like it".
I don't think it will be ever very easy for goverments to ban owning physical, valuable things. If they don't issue their own paper currency, someone else will.

I think this fantasy some people have of banning paper currencies pretty well points just out that the people who propose the banning, have no idea how the world works.
Uh, as in ‘common a few decades ago’.
For new IP addresses, you can write a script to monitor your auth.log file.
I definitely like the old site more. The new design feels like yet another generic "me too" startup-ish marketing site, of which I think there are far too many today. To me, the large fonts, animations, and images are like the visual equivalent of screaming --- it certainly catches attention, but quickly tires the viewer. The old site feels far more sedate and pleasant.

I wonder if I'm getting old, or if attention spans are getting shorter, because the new site is quite optimised for the latter.

Similar thoughts I had for a different free software project's site redesign: https://news.ycombinator.com/item?id=10512772
That's why these countries are delaying applications to filter real refugees from airheads like this guy. He couldn't manage to get education or job in his country, in his culture, in his language and with his race while dreaming to get everything in a different country!
This? https://news.ycombinator.com/item?id=10654681
Videogames that made your childhood
I think NPR is correct since freestyle means any stroke. Do you really think he's just going to do front crawl for 5-6 months, 8 hours a day? I'm sure he'll do some breaststroke and backstroke as well.
Very nice! I also liked "documenting America". Photo's about American life between 1935 and 1944.

http://www.loc.gov/pictures/collection/fsa/documentingameric...
Yeah, but in practice CEC has been iffy on most TVs i've owned, and i've never seen a TV that can startup in less than 10 seconds.

Plus AFAIK CEC can't turn back off the TV, so after the first use it's just on forever until you manually turn it off.
Create RESTful APIs quickly in Node with Swagger and BlueOakJS
They will offer all of the web in free package, throttled to 100bytes/second. Because current legislation was solely about pricing.
How do we focus instead on changes required for a better internet?

The internet was originally designed (imagined?) to route around bad actors, congestion, censorship. If it no longer does that (and there's some truth to say it never has) then we've failed to build in the necessary incentives for that to happen.
This XKCD is a likening of the very established notion of a honeynet with an acquarium. If you want to set one up there are good open source tools available, but you will want to be quite careful to comprehend what you are doing. See https://en.wikipedia.org/wiki/Honeypot_%28computing%29
Creating a Loosely-Coupled WordPress Network with Ansible and DigitalOcean
I (mis)read the title the first time: Bare Back Bones end ... I thought I was in an alternate reality for a second ...
> x + y is syntactic sugar for x.__add__(y)

It's more complicated than that. If __add__ fails it falls back to __radd__:

>>> class Spam(object):
... def __radd__(self, first):
... return str(first) + "radd"
...
>>> 5+Spam()
'5radd'
>>> Spam()+5
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for +: 'Spam' and 'int'

I skimmed the paper to see if it caught this nuance, but don't think it did. ("The desugaring follows a strategy similar to that of Python, by applying the _plusmethod of the left subexpression to the right subexpression")

(The "." is another level of sugar, as "a.__add__" is equivalent to "getattr(a, '__add__')". And "a" is sugar for 'a', as single quotes were in Python before double quotes.)

> Syntactic sugar is when you define a piece of syntax in a language in terms of the rest of the language.

I believe that definition is incomplete. Is the "for" loop in C syntactic sugar for a while() loop?

for (x=0; x<n; x++) { ... }

is equivalent to

x=0;
while (x<n) {
...
x++;
}

or is the "while" loop syntactic sugar for a for loop?

while (condition) {
...
}

is equivalent to:

for(;condition;) {
}

Given the 'goto', both are sugar for an if/goto plus automatic goto target label generator, so I'll repose the question in a C-without-goto variant language.
they control the content, so you can be sure folks won't be reading about this

Unless they just go to https://www.facebook.com/netneutralityin/
The article said 3 pages, with a total of around 15 options.
Holy fuck that scrolljacking, people pls, stop doing this!
>no ISPs are implementing slow/fast lanes

How do we know that? And even if they aren't, they will start doing it.

This was a great chance to disallow all of that crap but instead TRAI has been tempted to regulate voice apps, a task that they are simply incapable of performing effectively anyway.
I decide what kind of global currency I use, and how it is stored. But in the same way trading in and out of bitcoin costs money, so does FX.

Until large numbers of retailers accept bitcoin directly it's just a different currency with a less stable exchange rate, lower liquidity and a higher potential for low tech users to get their money nicked.
I have found tracing to be very useful when troubleshooting problems. Tracing (or session-based logging) lets you activate detailed logging for specific customers. The system I worked on processed SMS messages for mobiles. There you could enable tracing on a specific mobile phone number, and whenever that subscriber sent an SMS, you got more detailed logs for everything affecting that SMS. Really a great tool. I've described it in more detail here: http://henrikwarne.com/2014/01/21/session-based-logging/
As recently as 2010 Aerotek paid their recruiters exclusively on a percentage of spread.
For CC details to be stored the attacker needs to modify files though. Other payment gateways just process CC details locally, it is not stored. So either the attacker modifies files to store CC details - or the attacker gets access to log files (but CC details do not belong there either off course).
Your inflation point is something I had not considered.

The cost of negative interest is likely less regressive than than the existing system of inflation.

It will be interesting to see how this untested financial environment will settle to equilibrium, and what our world will look like as a consequence (like you mention, more VAT? Or fewer taxes as borrowing grows cheaper?).
Hi! Vicmarcal from ReactOS here.
Which issues are you having navigating with the new ReactOS site? I'm using Ipad, and while there is too many work to be done in the responsive area(some bootstrap fixes mainly), I see it working in my Ipad. :)
Lucid Dreaming
"The nice thing about it being so rare is that it's really cheap!" Not to be picky, but it has everything to do with there being no demand for that meat. In Poland, we have a very small population of native Bison, which is under extreme protection - but nevertheless, sometimes they have to be killed to protect the herd or for some other reasons. When they are, the meat goes for thousands of euros on the international market because it's such a rarity.
I personally don't see much sense for cryptocurrencies to replace credit card or some other payment methods. Instead bitcoin can become the enabler of international trade, and maybe base for other innovations.

In the same sense as linux never became popular desktop OS, but it has gained new market share from elsewhere.
Awesome, just wish the viewer was better. Like being able to click on the right or left hand side of the photo you are viewing to go to the next one would be a real treat. #Lazy
Facebook in others markets isn't paying for the Internet connections of their clients.
Iceland still uses horses for meat. The restaurant that provides the food at my workplace usually incorporates it into the menu every other week or so.

Really horses are much more suited to our climate/landscape than other animals, so it makes sense.
For some reason I just assumed that car remotes use two way communication; it never occurred to me that in 2016 car remotes would still be so fundamentally insecure. This is awful.

As for the "remediation" part at the bottom of the post, the only way to really secure the remote will be to use two way communication. Key requests random number from car -> car sends random number to key -> key signs random number and sends it back to the car.

This would still leave it vulnerable to forwarding attacks, but at least it wouldn't be possible to unlock the car without pressing the button on the remote.
Not the right argument. All resources are limited, and the free market deals better with those other resources.

Anyway I'm happy that India resisted this lobby. We should take note for our own system.
You are undermining the popular narrative with your facts and what-not.