skysight-inc/HackerNews huggingface dataset:
It is seen as extremely rude. If you are picking up the bill for a party or a date and don't tip, it will shine a very negative light on you. And whoever you are with will probably leave the tip behind in your stead.

EDIT: If it was obvious to everyone that the service was bad, leaving without a tip will be fine.
GNSS Anti-Jamming Antenna Array Discussion
Think of it in terms of the speed of the field relative to the size of the paper - you aren't going to see no-graphene to industrial-graphene in a month, but you might see Johnson's 8% graphene be replaced by Smith's 8.01% graphene.
TChannel: Uber's protocol for service discovery
Is it? I mean, a lot of hard work was put into it. And, it's a step that needs to be taken. And people can work on what they want to work on. But how can a machine beating the best human at a game really be the biggest triumph of 2016?

Whenever I think about this stuff, I have a similar nagging question. E.g. if there are entire classes of problems that we now "know" are solvable, and have an actual benefit to mankind, why didn't they spend time on that rather than a game?
Yea there have been updates to it, I dunno why they included it like that. What I do is use a forked version of Skeleton-Sass and include normalize.css as a dependency, so that npm always pulls down the latest version.

The changes to normalize are listed here (Skeleton includes v3.0.2): https://github.com/necolas/normalize.css/blob/master/CHANGEL...
And the flip side of the coin is it would cause extreme obesity if by some economic miracle carb intake were totally unlimited and trended toward infinity. So it would eventually (on a very long scale) be bred out of economic areas of infinite carb availability. But eventually is far too long and too much human suffering, so temporarily we're very very fat.

As a hypothesis you could create a mathematical model where the faster a country industrializes or otherwise moves beyond bare subsistence and periodic famine, the harder the spike of obesity.

That's not a bad match to existing obesity maps, especially when the obesity map is corrected for country of origin not current geographic location.
Deep Learning in Clojure with Cortex
MachineGames and Tango are owned by ZeniMax[0], the Bethesda parent company. I faintly remember someone (Carmack, maybe?) mentioning that idTech5 would only be licensed to studios within ZeniMax.[1] Of course, anyone can use idTech up to 4, since those are open source, and were licensed out.

[0] https://www.zenimax.com/studios

[1] http://www.gamasutra.com/view/news/29886/id_Tech_5_Rage_Engi...
I'm not sure that cryptographic library functions should have default parameters, at least for parameters that affect security.

The argument (no pun intended) for default parameters would be to provide a reasonable value for library users who do not have the expertise to select the parameter value themselves.

The problem with this is that if someday the expert opinion on what the default value should be changes, then the library is in an unfortunate position.

If they update the library to match the newer expert opinion, it breaks existing code. If they do not update the library, then new applications using it will get the bad default value. Maybe they can leave the default alone, but make the library generate a warning that the default is no longer good and the application should be updated to explicitly pick a better value.

If the library had not supplied a default value, then all users of the library would have to make a choice. The library documentation could suggest what choice is considered best at the time, but make the programmer actually say it in the code. That way, if expert opinion changes, the recommendation can change and at least new users of the library might use the better value.
I prefer the American system, where the tip is optional, to the European system, where they just add it to your bill.
How we saved the Internet in Europe
Unknown things about the Walking Dead season 7
The clause that allows pointing one past the last element of an array is the same clause that explicitly forbids the latter (keeping in mind that E1[E2] is identical to ( * ((E1)+(E2)))).

N1256 6.5.6p8

When an expression that has integer type is added to or subtracted from a pointer, the result has the type of the pointer operand. If the pointer operand points to an element of an array object, and the array is large enough, the result points to an element offset from the original element such that the difference of the subscripts of the resulting and original array elements equals the integer expression. In other words, if the expression P points to the i-th element of an array object, the expressions (P)+N (equivalently, N+(P)) and (P)-N (where N has the value n) point to, respectively, the i+n-th and i-n-th elements of the array object, provided they exist. Moreover, if the expression P points to the last element of an array object, the expression (P)+1 points one past the last element of the array object, and if the expression Q points one past the last element of an array object, the expression (Q)-1 points to the last element of the array object. If both the pointer operand and the result point to elements of the same array object, or one past the last element of the array object, the evaluation shall not produce an overflow; otherwise, the behavior is undefined. If the result points one past the last element of the array object, it shall not be used as the operand of a unary * operator that is evaluated.

The last sentence right there forbids what we're doing here.

6.5.3.2p3 allows dereference with address-of (&a[1]):

The unary & operator yields the address of its operand. If the operand has type ''type'', the result has type ''pointer to type''. If the operand is the result of a unary * operator, neither that operator nor the & operator is evaluated and the result is as if both were omitted, except that the constraints on the operators still apply and the result is not an lvalue. Similarly, if the operand is the result of a [] operator, neither the & operator nor the unary * that is implied by the [] is evaluated and the result is as if the & operator were removed and the [] operator were changed to a + operator. Otherwise, the result is a pointer to the object or function designated by its operand.

The exception in this clause clearly does not apply to (&arr)[1] because the operand of & is not a result of the * (or []) operator.
> ISIS didn't manage any real structural damage to the dam.

This makes it sound like they were intentionally trying to destroy the damn, were they?

I'm not an expert but it seems like it should be easy for a military group controlling a damn to blow it up if they wanted to. Though the article mentions that it was built to be resistant against air strikes, so maybe not?
Nice looking site and packaging. I am teaching myself analog electronics design, and something to help me achieve that objective quicker would be nice. I am doing it as a hobby and don't want to spend a lot either!

I think the price of $50 or $60 for a random kit is a too expensive[1]. A better model for the product, in my opinion is a magazine + bag of parts and materials $20-$30 monthly or bi-monthly seems fair. The parts and materials could be used to build circuits and conduct experiments that help you better understand the theory.

[1]As a reference point, for probably $20, you could get yourself a TI launchpad (or similar) and a bunch of parts that would allow you to build a TON of fun and interesting circuits.
Few suggestions to improve Twitter
> If a belief I hold is wrong, then I don't know it, I merely believe it.

This is true whether the belief you hold is right or wrong.
you know because they let you access and replay the recordings from their app.
No, the problem is the lack of a standard encoder function to go with the standard decoder function. It's not "everyone thinks they can", it's "everyone has to".

The problem is also YAGNI and validation-thru-testing, instead of up-front design. The "ad-hoc" and "text" parts aren't what's important, it's the whole approach of not doing any more than the bare minimum of up-front work. Which seems to historically give overall better results, even if it does come with interesting bugs that need fixing later.
> If they update the library to match the newer expert opinion, it breaks existing code. If they do not update the library, then new applications using it will get the bad default value.

This is true for lower-level cryptography libraries like OpenSSL or Libsodium. This isn't true, however, for the sort of higher-level libraries I recommend developers use.

See https://github.com/defuse/php-encryption which implements version tagging in its ciphertext output.

If Taylor Hornby has to publish a version 3 that uses, say, NORX instead of AES-256-CTR+HMAC-SHA256, the first 4 bytes will identify the version of the library that was used to encrypt the original message. Backwards compatibility is transparent to the end user. (Headers are covered by the HMAC.)
The raw speech would still be very useful as training data for new and improved models
Too boring for the ordinary consumer, yes. Too boring for an investment banker weighing what price to purchase the stock at in an IPO, no.

Depending on how they do the accounting for this it could be huge gains to the top line, something much needed to validate a $60bn valuation in the public markets.
I think the thing they are hoping for is accidental invocations, I've had instances in the past where something on the TV has 'awoken' the echo, even without saying 'Alexa'
Exactly. While they can't fix the old functions without potentially breaking software that relied on the old behavior, they can introduce a new set of process-launching functions that do the right thing: handle arguments exactly as written, no splitting, no quoting, no metacharacter interpretation.

Then, for new OSes, write a compatibility layer to implement the old functions on top of the new ones, and for old OSes, write a compatibility library to implement the new functions by quoting and passing to the old ones.

Mark the old functions as "deprecated, do not use in new code", and point to the new ones.
Is it logical to give in? No, especially not if you're a capable government.

Is it illogical that someone would react that way though? Not at all. Here is the logic: "Someone killed people in my country. I like people in my country. I happen to be a leader for my country. I'm responsible for their protection. I should prevent more people dying. Why are they dying? People are killing them. How do I make them stop? Give them what they want? What is it they want (now listening to them)?" etc.

This is why there is a "we will not negotiate with terrorists" rule. If not for that rule I think it'd work pretty well.
For one thing they have no idea if you have a legitimate complaint, are someone who has such high standards that it's not worth catering to, or simply a cheap bastard. They care strongly about the former, will shake their head at the middle and will dislike you if it were the latter.

If you actually speak up they'll have a better idea.
I dont really know what to say from this without risking being downvoted. But, this coming from a Microsoft blog is a little... awkward. DOS heritage + really bad shell implementations, well.. I avoid the hell out of using command line on any Windows. Luckily there is mintty.
Not for at least a decade, more in larger cities.
This has been covered ad infinitum by HN flamewars and is eternally off-topic. Please see https://news.ycombinator.com/item?id=13261688 and the links there.

We detached this subthread from https://news.ycombinator.com/item?id=13260599 and marked it off-topic.
Frankly that title would be worse -- you're directly editorializing with the "could interfere with hunger." You don't know that this guy's problem was overeating, you're just assuming.
I've heard though that, until the war at least, Iraq had a fairly top-notch science and engineering corps.

I'd speculate that this might be due to Baathist secularism and militarism, as well as the areas legacy of being arguably the intellectual center of the Muslim world.
You'd need to consult a labor lawyer to be sure but that is probably a labor law violation unless the front of house staff was being paid the regular minimum wage and not the credited wage.

https://www.dol.gov/whd/regs/compliance/whdfs15.pdf
Oh, come on. 10 minutes? BS. If you're shuffling behind a walker, dragging unwheeled luggage, and have to stop and take a dump in the men's room, maybe that's 10 at most. Any able adult can walk that stretch in Madison's tiny little femto-airport in a couple of minutes. It's not even a long frisbee toss.

(I had to live there for six years and got to know those dozen horrible bus-station-ish gates all too well.)
Technically you can go rent a uhaul without CDL. There is a hole in the regulation that could allow people to drive smaller trucks without CDL.
You are mostly restricted from towing a certain gross amount weight, which may make the mathematics not work.
Environment variable affect all instances; command-line arguments affect only one program instance. Set your defaults with environment variables (or a config file), then override them as needed with command-line flags.
Why do I need to log in to read the article?
Yahoo’s Data Breaches Unlikely to Derail Verizon Deal
You can reduce some linked list operations (including multi-element ones) to a single CAS, which is often good enough.
> I think people also use it for a sort of "I posted it to arXiv first, therefore I solved it first" kind of thing, which imo can be misleading at times

True, but I don't see that fights over precedence are unique to ArXiv either, or even made worse by it, no? I mean, at least now there is an unambiguous date-stamped public place to cite in this kind of fight. And those fights provide a built-in incentive to put stuff up there, which is good for all of us.

Basically: who cares about spitballs as long as the papers end up on ArXiv? Seems like a cost worth paying to me.
Tesla, Panasonic to Begin Solar Panel Production in New York
https://www.dol.gov/whd/regs/compliance/whdfs15.pdf

A labor lawyer could answer better, but if the restaurants are paying the credited wage and not the full one that is probably a labor law violation (which are rampant in restaurants).
> Just an FYI, but if a tipped employee does not meet the minimum wage, the employer must make up the difference.

In most cases, they'll also be fired quickly if they don't, so they'll overreport tips to "make" the minimum wage even if they don't actually receive enough.

Whether or not tipping should exist, if it does, it shouldn't substitute for the minimum wage, it should be entirely on top of it.
That's about Windows, but many uses of system() that involve non-static strings also probably get quoting wrong.

Of course, avoiding the shell is the best way to avoid the problem. Sometimes, you can't avoid the shell.

My preferred shell quoting method, for unix, is to wrap each parameter in single quotes. Then only single quotes inside a parameter are a problem. They can be replaced with '"'"'

Probably a lot of things use double quotes and perhaps try to escape $ and ' and " but miss details to do with \ and perhaps other characters that some shells treat specially.

Another way is to pass the filename in the environment: system("rm -rf \"$DIR\"")
I'm trying to find the exact situation but basically if you have something like:

PROPS="-Dprop1=foo bar -Dprop2=bar foo"

java $PROPS SomeClass.class

You can try to escape with backslashes and what not but it becomes fairly hard if not impossible to expand multiple parameters correctly as a single variable. I believe one solution is to use arrays and another is just not use arguments and instead rely on other configuration mechanisms (env variables, files, etc).

You see this often rear its ugly head with daemon scripts.
> I worked in finance sales for about 3 years. Bonuses are fun

I think this should be obligatory link in all bonus related discussions:

https://www.youtube.com/watch?v=u6XAPnuFjJc
I'm American. I've traveled enough and I've even lived outside of the US for a time. I have no idea how you can come to this conclusion, I've never had noticeably bad service outside the US and certainly nothing like "play[ing] telephone from one side of the room to the other." The only difference I notice is there's disturbingly fake niceness in the US and they rush you out after you're done eating. I guess if you are looking for someone to pretend to be your friend you'd get that. Personally, I'm just looking for a meal with my dining companions.
These guys https://www.clearme.com/ ? Seems weird to me, and quite expensive for what they offer...
> computational costs alone of doing NLP

The speech recognition part could run on a Pentium 133 in the nineties (Nuance software, Dragon naturally speaking), the Echo device has probably a more powerful CPU than that.

The NLP part could run on the device as well, it's mainly a storage problem, you need dozens of GB, at least 32GB sdcard.

Ideally only the search phrases would be sent to Google/Amazon/etc. That's also how Bill Gates vision was described in his 1995 book The Road Ahead. A personal agent in a wallet PC would surf the information super highway for you. ...well we are "almost" there but with a different solution.
> Founder of Pex [pex.com], a video analytics & rights management platform able to find and track online video content anywhere.

src: doh's HN profile.
This could also be a possible explanation for this: http://www.livescience.com/10277-obesity-rise-animals.html

>Allison first stumbled across evidence of overweight animals while looking at data on marmosets from the Wisconsin National Primate Research Center. The average weight of the monkeys had gone up over the decades, he noticed, and there seemed to be no plausible explanation. Allison queried primate center researcher Joseph Kemnitz as to what the cause might be: Were the marmosets from a different supplier? Had they been bred to be larger? The answers were "no" and "no."

>But the monkeys' diets had been changed over the years, a switch that was well-documented by the lab. So Allison tried running the numbers again, this time controlling for the diet change.

>"It only made the results stronger," he said. With the diet change, the animals should have lost weight, if anything.
> It's a pity most compare it to Lightroom

I don't think I can agree that it's a pity. Lightroom is the standard for photographers right now for pretty much everything but fashion photography (Capture One) and perhaps architecture photography (DXO Optics Pro). Everything, including the competitors you mentioned, is compared to Lightroom.

I think these applications (including DarkTable) need to be compared to Lightroom because the point at which they're competitive with Lightroom is the point at which they become seriously viable to many photographers (the kind that don't necessarily hang out on HN).
I'm absolutely amazed that Windows doesn't offer a process spawning API that takes an array of strings as arguments[0], if only because that's exactly how a C program expects them anyway.

[0]: https://linux.die.net/man/3/exec
Yeah, the conclusion I reached after making a GPS-based NTP server is that having my clock accurate to a few nanoseconds didn't really matter for anything.

My watch is a minute behind my computer right now. Doesn't matter.
Here you go, https://www.reddit.com/r/PHP/
Works via wine although some disks stopped working in recent years with the software at all that is not with wine
I appreciate a list of ML learning resources, but does anything about this strike you as strange?

Over 9000 github stars and 1,260 forks for a repo started on 9th October????
A bit hard to understand your exact scenario here (basically the same shell lexing problem...), but I think this is what you're looking for.

I left an example of an argument with a space in there (the last one).

PROPS=("-Dprop1=foo" "bar" "-Dprop2=bar foo")
java "${PROPS[@]}" SomeClass.class

(The quotes around `${PROPS[@]}` is important.) Do note, there is an unfortunate edge case here if PROPS is empty, you'll get a false `""` arg passed to java in that case. There's a less pleasant syntax that avoids that issue but I don't recall it off-hand.

(edit: Please read the replies to my post, I didn't think about the fact that this syntax is bash specific. Thanks to those who pointed it out)
Dear Wired: 2016 was not the year encryption won
Does link-building work as an SEO tactic in cicra 2016?
I'm quite new to the SEO world, right now I'm just a humble blogger and freelancer who writes about programming and tech stuff. Until now, I've used only "content is the king" approach and I always strive to write good content through my blog posts.

I've never tried this other side of the coin, which lots of SEO experts call "link-building" approach. I'm new to SEO and some articles[1] I've read seem to suggest that Google has done something like "destroyed the link farms" of many a people. Whatever that means, does it really mean that this link building approach is never going to work now onwards, and we just solely have to focus on the content approach?

More importantly, as a small time blogger, do you think the link building approach will help me get noticed and bring some decent web traffic to my site? What all can I do to accomplish that?

Links:
[1] http://inbound.org/post/view/confessions-of-a-google-spammer
Requiring error-free latex is almost certainly a reasonable proxy for real curation effort.
Am I the only one who still uses xxx.lanl.gov ?
This is extremely unproductive and has nothing whatsoever to do with the article.
I don't see how the problems you're listing have anything to do with text formats; you have these kind of issues with any "informally-specified" format.
> But you clearly cannot eat at a deficit and gain weight.

This is just question-begging. The proposed mechanism is that the virus alters what a deficit is.
Sure. The base system is quite minimal an runs from a squashfs read only image. Total size is ~40mb. The squashfs file is stored on the first partition (FAT formatted) which is not mounted rw during normal operation (only while updating the system which happens rarely). The second partition is the data partition. It stores images, videos, the Lua code and other files that are required to actually show content on the screen. This partition is mounted rw.

info-beamer hosted always stores those files using content based addressing. So every file that enters the system gets hashed and is then addressed by that hash both on the website itself as well as on the devices. On the website this might look like this: https://cdn.infobeamer.com/dynimg/blob/image-c40ba24410fb9ca..., on the device they end up on /space/cache/<hash>. This is great for all kind of reasons: Cache invalidation and offline verification. For the website, all files can be cached indefinitely as the url changes once the content changes. On the device each file required for a visualization must only be downloaded once, as it's trivial to see if the same file was already downloaded earlier by just comparing filenames. So fonts that might be shared by visualizations are only downloaded once. Also the device can trivially verify that all files are still correct by hashing all cached files and comparing the result with the filename. If it matches, the file is correct. If it doesn't, something is wrong and a new sync is started to repair the problem.

Works pretty well. Does that help?