skysight-inc/HackerNews huggingface dataset:
It goes a bit further than that though.

Vietnam, the Philippines, Malaysia and Taiwan have all been running reclamation projects for some time in the very same disputed areas. The US now decides, since China has started doing so, that China should stop ???

Why, on EARTH, did we not get out in front of this problem and put the smack down on Vietnam, the Philippines, and Taiwan when they initially started down this road ???

It just makes our foreign policy look overtly transparent to third parties. I mean, the average EU citizen or South American probably looks at that and says... "Are you shitting me ???"
Try telling that to this guy:

https://www.youtube.com/watch?v=gjVDqfUhXOY
What Haskell taught me about writing Swift
I still hear lots of people of all sort say "google it", young and old alike. I do see a bit more variety than recently, though, in terms of people using Yahoo and Bing.

As a side note, out of curiosity, are you a native English speaker? Your use of question marks seems a bit bizarre.
Awesome Soda Life Hacks You Should Know
Yes, there is so much money in it that it's very likely there are bots with an AI trained on real human behavior samples, making it hard to distinguish from real clicks.
Relevant http://bash.org/?5273
Nah, it's not too difficult to understand why it's a problem now. Did you read the article?

"China claims almost the whole of the South China Sea, resulting in overlapping claims with its neighbours."
There *Was* an Effective Vaccine Against Lyme Disease
I suspect that the average EU citizen or South American would say as long as it's NIMBY, why should I care.
Just to add some context, here are the tests which I didn't write, but would in Python/Flask usually:

- Proper behaviour if I don't pass a parameter. Not needed, because it's an explicit `Option<>` which I have to handle.

- Is results list constructed properly / what's the None-vs-empty behaviour. Not needed, `Vec<>` is verified at type level and None is not possible.

- What happens if various database functions don't find a result. Not needed, because type signatures force either a returned `Entity` (if it's not there, it's an implementation bug: panic + 500), or `Option<Entity>` which again needs to be explicitly handled.

But these are only unit tests. If it was a critical app, I'd still write functional / logic tests to make sure the right data goes all the way to the database and back in known scenarios. Types can't guarantee that.

One kind of tests I'm tempted to write is for templates rendering properly, because handlebars-iron takes parameters as Json - all type guarantees go out of the window there. But it may be the same amount of effort to migrate to some type-safe templating like Maud.
It's an interesting debate, and the position I find convincing is that Say's law usually holds... except (rarely) when it does not, such as in the recent financial crisis. Believing that it always holds automatically is a fallacy of Classical economics.

It's interesting that Jean-Baptiste Say himself was willing to learn from history.

http://delong.typepad.com/sdj/2010/07/after-the-british-fina...
Docker Advanced Networking
This article is about errors in a set of population priors used in software. That could affect the outcome of tests, but it also might not. However, given that the FBI was recently caught having faked an entire field of forensic science (hair analysis), there is little reason to extend them the benefit of doubt.

The important question is: are these crime labs routinely processing control samples, and if so, are they misclassifying any of the control samples?
I was pointing out that if you can consider sizeof a function, you can consider return one too.
I first learned that sizeof was an operator when I was confused about how it dealt with arrays compared to functions. After I learned it was an operator and not a function things made sense and were (relatively) consistent again. Several commentators here have given other examples where you will be completely thrown off if you believe that '"sizeof()" really is a function.'

The problem with "lies to children" is that they can pile up to the point where people end up becoming completely confused about what's actually happening. As the internal inconsistencies mount, the "simple" lie starts to become a lot more complex than the "complicated" truth.
> I hear folks say that, but don't encounter it in the wild. Maybe once in 20 years so far.

It was the cause of the "goto fail" SSL bug that affected both of Apple's operating systems last year: https://nakedsecurity.sophos.com/2014/02/24/anatomy-of-a-got...

So I'd say it's rare, but it happens. And when it happens, the effects can be pretty big.
I doubt that. Loops are way more intuitive than recursion.

In other words, it is easier to think of something as a series of repeating steps then it is to think of something as a self referential entity.
I've dabbled with rust, but did quite a bit of stuff in haskell.

A lot of unit testing is verifying failure modes. What happens if they pass in null? What happens if they ask for a value i don't know about? stuff like that. Haskell (and rust) give you a lot more control over what a function is willing to accept at compile time.

You could spend your time writing a test to ensure null is handled gracefully. With rust, you have a bit more power, and you can simply ensure the function can't be called with null. It's more general than just null checking, but that's the flavor of what happens.
Isn't this a tad presumptuous? Google is a large company - there are likely as many engineers working on ads spam as search quality.
That isn't a zero character name. It's just the TLD itself acting as a website. It's a 1 label domain rather than the usual 2-3 labels.
Dell IoT gateways
Agreed 100%.

I am curious what people think a fair sentence would be, given the sheer amount of drugs sold on SR. Selling over a pound of weed here in NYC will cost you 15 years, which for most people would be about 1/6th of their life.

Also, I am interested with the number of people saying he didn't actually do anything that wrong. I wonder if they are saying the same thing petty drug offenders. Maybe people do but they don't vocalize it, but I think if we saw this kind of empathy for all non-violent drug dealers, things would look very different here in the US.
???

The thing is ...

ALL of the claims overlap with the claims of neighbors. That's the entire problem.

The claims of Vietnam overlap with the claims of Malaysia. The claims of the Philippines overlap with Taiwanese claims. (In fact, Taiwan's official position is that the entirety of the South China Sea falls under their sovereignty.)

The fact is... this is a mess that we should have either refused to wade into... or been unmistakeably strict in enforcing our view. This is no place for waffling.
I quite enjoy his style, but i understand it's not for the newer "easily triggered" generations
I've never seen (in code I've worked on)

if (condition)
Foo(x);
Bar(x);

But I have seen

if(condition1)
if(condition2)
if(condition3 && condition4)
Foo();

This upset the old ARM compiler I was working on and it decided to skip some of the conditions. I fixed the bug, related to this code, by adding braces:

if(condition1)
{
if(condition2)
{
if(condition3 && condition4)
{
Foo();
}
}
}

So this is why I always put braces to define scope. Although, in general, both of these types of bugs are uncommon.

Honestly, the more pervasive problem that comes up is the eventual addition of new code adds noise to diffs. Like if I have a condition with a single statement

if (condition)
Foo(x);

And I add something to it, I have to add braces and it pollutes the diff with stuff that isn't really related to what I'm changing.

if (condition)
{
Foo(x);
Bar();
}
There isn't a separate ping protocol. Echo packets are part of the Internet Control Message Protocol (ICMP). ICMP echo packets are used by both ping and traceroute.

In some sense, traceroute does often give you some location information.

However, if you're talking about GPS or other geolocation information, even now if a machine supports IPv4 and/or IPv6 and isn't a phone, it likely doesn't know any geolocation information about itself. No provision for geolocation information was provided in the ICMP echo or echo response packets.
it was Republic of China claimed them first, back when most ASEAN countries didn't exist
Quite a few good tips here. Transcript and code samples too!
Indeed. The author and the article lost what little credibility that existed at that point.
This is one of the big problems with these things being handled as "administrative" processes instead of criminal.

You don't have the right to an attorney. You don't have the right to know the charges against you. You don't have the right to face the accused.

This is rule 12 from Alinsky's Rules for Radicals:

"Pick the target, freeze it, personalize it, and polarize it." - Cut off the support network and isolate the target from sympathy. Go after people and not institutions; people hurt faster than institutions.
Building new land where none previously exists seems like the absolute least harmful way of obtaining resources - the only bad part being that it's in a part of the ocean subject to disputed ownership.

Compare that to the invasion of countries in the Middle East or the overthrowing of democratically-elected governments. The US doesn't exactly have the moral high ground here.
http://ftp.arl.army.mil/~mike/ping.html
Thanks! (how'd you do that?)
Typically you can login to the router and see machines attached, and kick/ban MAC addresses.
It is the interesting question of our times isn't it? I did the calculation for Blekko at one time and a couple of million paid subscribers could have floated the base search engine. It is hard to find people to subscribe to things on the internet though unless they are MMO games :-)
The Story of the Ping Program (2001)
Doctors in the Netherlands WILL NOT treat you unless you come in kicking and screaming whereas in the capital of Poland you will die in the waiting room waiting 12 hours to be seen by the ONE ER doctor on staff. You WILL DIE waiting for an ambulance because there are so few available and the onboard crew doesn't have any real sense of urgency. There are not even enough seats in the emergency hall for incoming patients so I had an IV drip while sitting on the floor next to the OR where a guy died inside while I was there. I ended up paying 80 dollars for the whole ordeal including a chest X-ray and I have no insurance over there. So yes it was cheap as hell but the treatment is extremely ghetto.

Free healthcare SEEMS good on paper. It is GARBAGE in reality. For example most sensible people in Poland pay an annual retainer fee for a private doctor network just for the PRIVILEGE of being able to see a doctor in that network if they need to. I am utterly terrified of going back to any hospital in Poland. God help the poor souls in all of the poorer countries. Those guys will make sure your heart keeps beating and lungs inflating but that's about it.

Stay in America and pay the price or go to Europe and die.
you have to wonder if there is some magnetism in people which draws them to polarizing topics (both to build polarizing arguments, and to engage in them). Maybe it's as simple as we are highly competitive, and in the absence of competition, we create rifts just so we can establish who is greater?
I would not call Ken White far right (or right) at all. He is very sane and strong defender of the first amendment.

Of course the fight of the (self perceived) marginalized groups to try and dismantle the first is more than ironic and amusing.
That's my general feeling as well. Coming from Scala transition into "dabbling" with Rust was actually quite smooth. I try to stick to functional style where possible, exhaustive pattern matching, everything wrapped in Result/Option, etc - eliminates the need of unit testing in many cases.
Part of the SDLC!
> My gut reaction here is that the burden of proof should be higher (ie an actual conviction) and that the sentencing in question was highly inappropriate from a social standpoint

This is exactly what I am saying.

I think we're vehemently agreeing.
Please stop reposting this story.
The US has engaged in half a dozen wars in the last two decades. It has incited military coups in South America for the last century. It claims the Northwest Passage through Canada is an international strait.

Big powers will try to exert dominance over smaller countries, both for the material gain, and to show their power. China is much less aggressive than the US, and yet gets much more attention.
No, it's like seeing a door ajar, then calling the company to tell them that they forgot to close and lock their door. It takes a pretty dumb company to get mad about that.
I also enjoyed (as an adult) Papa Married a Mormon which is John Fitzgerald's (Great Brain author) semi-autobiographical first novel.
Second panaplex display (homemade)
You're confusing science with mathematics. There are no theorems in science, it's all experimental. We have certainty on a few basic principles or models and make inferences based on those models.

I'm not going to defend sociology specifically because I don't know the field or it's state, but in every science (e.g. chemistry), you make a model for some restricted case to fit some data and you make assumptions on the scope of the model. Otherwise you couldn't say pretty much anything about anything: "We tested that proton and that one has a mass of X units. We can't say anything about this proton, thogh." -- the evidence piles up that the model has widespread vality. In the same sense, we can make assumptions on the scope of models. Of course, I imagine we have no hope for the time being of uniting the basic physical laws to that of sociology, simply because we don't have the power to understand the human brain just yet. I don't think refraining from modelling behavior is useful, and it will probably even help us better model the brain and generalize it's behavior towards "better" intelligence (AI).
South China Sea economic rights has been a rumbling 'outstanding issue' in international politics for decades, this isn't particularly a new or significant shift in the geopolitical landscape. All the players are pushing at the boundaries of what they can get away with and the only constraint on that is the occasional international diplomatic objection.
Previous company I was at had a small server setup to run a few automated tasks every morning. It must have been running for at least 10 years before a new employee asked where it was physically located.

They eventually found it covered in dust in a small utility closest. None of the fans were working either (other than the CPU/PSU) yet it still chugged along doing its job.
This is painful to read. It leads to a statement like the following.

"The foremost scientific authority claims that the Earth is flat. There is no need to be critical of this scientific finding. All opposing viewpoints must be shunned, and proponents of those contrarian ideas ridiculed and ruined."
Actually easier than this, a bit of spyware that looks at your searching/clicking habits over a very long period and then sends that to a big mixer which then replays the same search/click with the same timing and mouse motion. I remember seeing a World of Warcraft automation script being demonstrated and thinking that it was probably used to abuse ad networks.
* Poorly educated
This is a dispute in which only the direct stakeholders (countries whose territorial waters adjoin this area) or international institutions such as the United Nations should get involved. That the US thinks it has the right to barge in is actually the most worrying aspect of this whole situation.
>The chart below comes from data published today by realtor.com

An unbiased source for this article I'm sure.
3D Mapping and Navigation Using Octrees on a Quadrotor
Why Hasn’t Google Released a ‘Bootstrap’ for Material Design?
It could be to do with a bigger push in the Spratlys too, that lands a long way from China and accepting them being there seems really close to accepting their claimed maritime border.
For the confused:
https://www.youtube.com/watch?v=Ug4fRXGyIak
That cat-v article ignores some important reasons (not all of which still hold) for using dynamic linking. In fact it starts with a misunderstanding:

> All the purported benefits of dynamic linking (aka., ‘shared libraries’, which is a misnomer as static linking also shares libraries) are myths while it creates great (and often ignored) problems.

The "shared" in in "shared libraries" doesn't mean two programs use the same instruction sequences, it means that the code is mapped into physical memory once and multiple process share that page (perhaps mapping it into different part of their own virtual address space.

The sharing the cast-v author is talking about is de minimis. e.g. every compiled c program on your machine includes the same implementation of _start that sets things up and calls main() but we don't call that "shared". Likewise all the internal intrinsics (architecture-specific implementations of things like memmove()) -- they are all statically compiled into the binary.

Shared libraries were designed to solve several problems, some of which still exist:
- reduce the size of programs (less relevant since disks and RAM are big)
- reduce ram footprint / reduce paging (arguably less relevant but basically still really important)
- be able to update all programs with common features.

It's the last that is still crucial and which causes so many problems. When, say, there's a security problem in Webkit, an updated version of the webkit code can be installed, immediately (well, upon restart) providing that fix to all programs that used Webkit. Otherwise the end user / in house deployer would need to recompile every program that used Webkit (even if they could figure out what those were) and redeploy them all.

There are in fact plenty of special case reasons to use static linking, but most of the arguments against dynamic linking don't stand up to scrutiny. They are more expressions of legitimate frustration.
Ladyada Interview with Horowitz, Co-Author of “The Art of Electronics” [video]
> If you don't have time to research the subject yourself, I'd always advise taking the side of the scientist.

If you don't have time to research the subject yourself, it means you don't care about the answer anyway. So why should you take any side? Why not just accept that you don't know?
>Unfortunately the rules are complex, prone to certain errors, and I can't rely on everyone I ever work with understanding all of those rules.

Are they really complex? This recently released version 4.0.0 of the JavaScript Standard Style [1] suggests to never start a line with "(" or "[". This rule looks even simpler than the rules of operator precedence.

[1] https://github.com/feross/standard

Update: Now I learned about the JavaScript Semi-Standard Style [2] which accually enforces semi-colons. Quite hilarious.

[2] https://github.com/Flet/semistandard
The issue (as I understand it) was transferring balance from one card to another. So two rows need updating, one with an increment, the other with a decrement.
The practical difference between client, server, and serviceworker render
No, dynamic linking isn't "harmful."
Just looked at the sample on the playground section of the website. No hyphenation, no ligatures, and overall the output looks ugly (compared to TeX). What is the advantage over simply creating an appropriate LaTeX/ConTeXt document in the background and serving that?
Do astronomers perform experiments?

This is the example used in methodological discussions of economics. I don't know if astronomers do actually perform experiments on some limited scale, but it seems that classicaly they relied on "luck" to test predictions e. g. testing general relativity through observations of eclipses. In social sciences, there is a somewhat similar thing called "natural experiment", which is the main test for the validity of predictions. In both cases, the researcher takes a more passive role in testing his predictions.

This can be dauting to researchers, but overall it's for the best. There are indeed experiments in economics, specially in game theory. But the majority of possible experiments would cross the boundary of what is morally acceptable, and well into morally abhorrent e. g. randomly restricting a sample's access to education to estimate it's effects on wages.
This looks really well done. Any chance that it could emulate the functionality of wkhtmltopdf in the browser (a.k.a. CSS styling, structure from HTML)?
Its astounding that anybody here would defend this guy. Are Hacker News readers left leaning in general, or just is it just a handful of loud anarchists?
Agreed on the LaTeX front. The best part is that it's native and cross-platform on the backend, but there also exist libraries to render client-side in JS, though I can't say I've used any of them.
Interesting side-effect, windows doesn't support TLD-only addresses.

.monash used to also have the same property (if I am not mistaken), until they realized this fact, I imagine.
> Another oddity of C that amuses me is the do/while loop without braces: [...]
> Even though do/while is a keyword bracketing pair in C, it still only lets you use a single statement (because nested whiles).

Ah, but don't forget you can still use the comma operator, so get several statements in before the semicolon:

int i = 4;
do
printf("hey"), printf("Jude.\n");
while (--i > 0);
Of course there are, the question though is how "forgotten" and what is a server. There are web sites out there running on servers where they haven't been changed or updated in years. Presumably they are forgotten in one sense or another.
I'm surprised that a comment that started with "I'm no economist" and proceeds to claim a great many things without sources did so well on Hacker News. I wonder how well a comment like "I'm no computer scientist, but why can't we have consistency, availability AND partition tolerance" would have done.
I'm currently in the same situation as you - Python dev learning Go. If you're familiar with Hearthstone, I'm currently working on a server for it, involves protobufs. If you think that's cool, let me know (contact through my website on my profile)
Oh, but Paypal has been doing this to a whole lot of people for a very long time. There's plenty of horror stories of this kind.

In fact, he should've known that they are really, really biased against crowdfunding, pre-paying for events and processing lots of payments for non-physical goods.

The reasons technically make sense, but in reality, they should be able to do that without issues - it's not the early 00's, after all.

But it's like Paypal wants to be a "small payments" processor, instead of holding large amounts of money for other people. Maybe there are legal reasons for this...
Why Twitter's Growth Problem Is an Actual Problem
Even these days, getting people to pay for video games is hard.
How does it compare to

Mozilla's PDF.js https://mozilla.github.io/pdf.js/

or

Parallax's jsPDF https://parall.ax/products/jspdf
CERN – Symbolism DECODED, the TAU CROSS and ANCIENT HISTORY
I think it's cool stuff and very easy to use. The maps look awesome... UP!
Sure but those guarantees mostly help the user deal with problems when your application gets really complex... issues beginners don't really think about.
You mean a 'transformative' disruptive synergistic cloud experience offer?
I registered as "doyouthinkimfuckingstupid@mailinator.com".
The tiddlylisp implementation is interesting. Seeing a Lisp compiler in my usual language (Python) is helpful. If nothing else, I'm really glad I read the article since I'm giving Lisp another try (via Land of Lisp, http://landoflisp.com/) after a 9 month hiatus.
I just saw the pilot yesterday, and aside from having a really cool storyline, the tech/lingo is surprisingly accurate. I don't want to hype it too much based off 1 episode, but the whole show feels very Dexter-esque.