skysight-inc/HackerNews huggingface dataset:
This thread seems like the perfect place to plug a side project.

WP Commission (https://wpcommission.com) is a WP plugin which helps influencers maximize affiliate revenue. The plugin makes sure all Amazon.com links are tagged with an affiliate tag - and we even follow, expand, and tag shortened amzn.to links as well.

Additionally, we provide a shortcode which creates a carousel displaying products that have been linked to in prior posts. We've found that showing a pretty carousel can lead to substantial revenue improvements, especially when on the home page of a blog.

WPC charges a token fee to keep the servers running, but anyone doing a few thousand in revenue should see a net profit from the service. At the end of the day, we're publishers who want to help quality content creators monetize so they can support themselves.

We're putting together some case studies about sites who most effectively use the Amazon Associates program. The study is up here: https://medium.com/@sku_67047/how-kinja-earns-so-much-in-com...
>How is it that these bugs always end up invading our privacy, and not the other way round? ("Google/Facebook admits a bug in their system reduced the data they could collect")

Because you and I both know that's not newsworthy and wouldn't make it out from inside the company where it happened?
3 famous people you may not know are engineers
This is probably the most frequently asked question! The data is from here: http://ourairports.com/data/

I had to limit the number of airports displayed for performance reasons. I filtered the airport data so that only those airports with scheduled services and which are denoted "large" or "medium" are included (according to OurAirports), bringing the number down to 2,980.
The free market cannot suitably address the "tragedy of the commons".

If all companies currently follow expensive but environment-friendly processes, a rouge company can undercut them by following a cheaper but environment-harmful process.
This will either force other companies to follow the rogue company, or they go out of business.
080: Improving the Workforce, Programming Myths, Kubernetes, New Books, and More
The Neomonolith: Monolith or Microservices? (2015)
They’ve also refused to release documents linking Russian banking with Assad’s regime.

This is of course in addition to the literal tv deal Assange has signed with Putin, if anyone here is of the belief getting paid by someone could be a conflict of interest.
It's not any less reliable than other TLDs. Any nation that owns a TLD can basically do the same thing.
Applications for Static Crypto Security
Interviewing at an impressive crypto-security company (in stealth) as a sales engineer and interested in hearing HN opinions on the business sectors and use cases for lock-boxing files for teams beyond private git repos. To date, I've been googling for headlines about hacked companies for a 'revenue roadmap' (civic governments, credit card companies, companies performing e-commerce transactions). Thanks in advance.
> Yet, looking beyond the hype, it is hard to identify a specific economic problem which they currently solve.

People seem to forget that cryptocurrencies emerged from a culture of cryptoanarchy, not from economists or governments.

Anarchists generally don't want to help the government solve problems, they view the government as the very problem to solve. (I'm speaking very broadly here.)
While that's probably true, it's not known for certain what the rate of emission was. 20,000 years is only an upper bound. It's possible that the process that led to the CO2 emissions happened over very short timescales (e.g., a comet impact or volcanic activity). Until we know the process, we can't constrain the rate.
What is an open-source cloud development platform? I've read the first 5 paragraphs of the blog post and skimmed through the landing page, I've also clicked on the "38 lines of code" example, and I still don't understand where does this fits. I imagined it was something like Heroku, but I guess I was wrong.

I'll keep trying to understand it, anyway.
How do we prevent people from seeing laws as obstacles, and routing around them? Routing around obstacles - legal or otherwise - seems to be a core pillar of the startup mindset.
This is the real value of microservices, in my mind. It allows you to create services that "do one thing and do it well," including deployment considerations like the degree of autoscaling or load balancing required by some components and not others.

Totally unrelated, it is also why I think "full stack developer" jobs are just business junk and should be totally avoided. Business people wishing for "full stack" employees are like a giant red flag of a business full of dysfunctional complexity mismanagement, without a clear vision of what needs to be solved.

Inside of a software system, if we organized one monolith class or one monolith webservice that was "full stack" in the sense that it had responsibilities cutting across lots of disparate systems or layers of the stack, we would rightly think this is a bad software design, rife with unnecessary complexity from trying to make certain components do too many things. And probably it would be reflected in how hard it is to refactor, extend, or write clean tests for such a system.

I argue that popping up one layer outside of the software system and into the realm of the organization of engineers who design and implement it, we should still think the same way. Different employees should be isolated specialists in certain parts of the system, and should not be expected to have cross-cutting "full stack" job duties, which is really just a way for companies to artificially save money on headcount (artificially, because the lack of clean separation of concerns ends up costing them more money in the end).

This is not a statement that a given engineer should not learn about broad aspects of system engineering. It's always good to diversify your knowledge, have a better picture of the meaning of the work of other teams, or be able to fill in during an emergency or something. Only a statement that an employee's nominal job duties should not include vague bottomless complexity buckets reflected by "cross functional" or "full stack" responsibilities.

This dysfunction is also often described with the "wear many hats" bullshit, where the same person who is expected to design a performant machine learning backend system is also expected to create a responsive single page website and write any CRUD implementation, ecommerce shop logic, auth logic, etc. etc., all while also functioning as a devops engineer and a data pipelines engineer because "wear many hats."

It's the same mistake that Single Responsibility Principle is meant to guard against, just at the level of programming teams of people instead of programming components of a software system.
Networking.

Everyone is interviewing, no one hiring due to current fashion. If you don't have contacts inside a company, there's perhaps a 1% chance of getting hired.

The only other way in is to have "nerves of steel" and get lucky in the interview, where the random coding exercise is one you have recently practiced. They will attribute these two factors to you being a good hire, a connection that is tenuous at best.
> You're mentioning things like organized crime reporting, which are not emergencies.

I may have been unclear but I said crime "taking place", implying crime in progress. I think any serious crime in progress (theft, assault, murder, etc.) deserves urgent attention, regardless of it being undertaken by mafia or gangs or amateurs or professionals.
It's unfortunate how quickly this got flagged.
How Do You Fix the Bus? We Asked the Drivers
The role tech allies can play to reduce economic barriers
e.g. http://boeing.mediaroom.com/2015-03-18-Boeing-747-8-Intercon...
You need to look harder. Path of Exile and Grim Dawn are absolutely spiritual successors to Diablo.
so they’re equal, it’s just that one is more equal than the other?
The art of metaprogramming
You will find the pattern, such as it is, explained at http://ourairports.com/about.html#credits .
Sexual harassment isn’t just about sex
I wouldn't risk it anymore. One time I received an ever so slightly cracked DVD from Netflix. Desperate to watch the show without waiting for a better copy to be mailed, I stuck it in the computer anyways. Ended up shattering and taking my DVD drive with it!
No, I don't see how you think it's opposite. Macedonia is a name for a large area. FYROM/Northern Macedonia is being used to name a country that takes up only part of this area. Similarly, the Americas are two continents, and USA is being used to name a country that takes up only part of this area. Neither the USA nor FYROM are granted any claim to the rest of their nominal superset.
Let's say 911 there got staffed up and got resources to handle the call volume. Would this actually translate to better emergency services response? One assumes they're also all busy, all the time, no?
Thankfully, you're not the first person to think of this, so there are also many ways to buy fake engagement.
Go kit: A toolkit for Golang microservices
> Portfolio optimization. Crypto currencies are probably not perfectly correlated to other assets. So it stabilizes the portfolio to add some crypto.

Considering cryptocurrencies have only come to prominence during a bull market and unusual macroeconomic conditions I don't think you can conclude this. I would bet they're strongly correlated with the stock market. And because of lack of liquidity are likely to crash harder than other, more liquid assets.
More specifically, this is an implementation of Enhanced 911, Phase 2. Support for Phase 2 will be required in the US next year.

911 service has gone through a few different capability upgrades.

Basic 911: You communicate the nature of the emergency and it's location by voice.

Enhanced 911: The call center receives your landline phone number and looks up your address from a database.

E911 Phase 1: The call center receives the mobile phone number and the location of the cell tower taking the call.

E911 Phase 2: The call center receives the mobile phone number and the phone's location.

http://www.marioncoks.net/Departments/EmergencyCommunication...

Apple is simply implementing the new standard here.
The one big problem I don't see talked about as much for some reason is ocean acidification. Given more of the surface of the planet is covered in ocean than in land, and the influence the oceans have on everything, it's pretty hard not to get worried about it. One consequence that is already happening (partly due to ocean acidification, and partly due to water getting warmer) is coral reef die-offs/bleaching.
Only if the expected return is enough to make it optimal.
Yeah I'm pretty sure that whilst the 'mid' points on Delauny triangulation would be correctly scalped the edges of the Voronoi diagram would be wrong?
Prime Video is just a teaser for Amazon Video. I can't let my kids use it because they'll either buy or complain about not being able to buy the non-free stuff.

It's a mess for that reason alone.
I was a beta user and it is very good indeed.
Since CO2 is an essential nutrient for the kingdom of plants, the rise in CO2 level has caused land-based vegetation to increase 14% globally over 30 years, and phytoplankton to increase tenfold in the North Atlantic over 50 years.
>Diablo 3 is actually pretty good now if you want a successor.

Diablo 3 is in no way a spiritual successor to D1 and 2. Yes, it's much better than it was at release, but it is still very much a streamlined, mass market friendly ARPG. Modern Diablo gameplay consists of leveling (1-2 hours), finishing your season journey (another 2-3 hours, maybe), getting your free super-powerful six piece handed to you, and then grinding paragon levels and filling in a couple of gear spots here and there.

It in no significant way resembles the Diablo of old. If you want a true sequel try PoE or Grim Dawn.
A few people asked me about my experiences with Rust after I mentioned seeing significant performance improvements.

I wrote a blog post about it and open sourced both the Java and Rust code.
I'm just at a loss. This is literally what taxes are for.

If you want to argue that Apple et al should have to pay for their use of, e.g., GPS, I could understand that. (Not agree, but understand.) GPS has enabled high-value features to be built into Apple's products. On the other hand, Amber alert and 911 service support are literally mandated by the government. Apple cannot choose to not include them. (Though in this case, they could choose to not support RapidSOS, at least until it's mandated as well.)

Edit: And yes, it seems entirely fair that taxes could go up to enable additional government services.
You could use Blendle.

blendle.com
Those are definitely good points. I'm curious about the part at the end: "An attacker with ro access to the socket can still create another container..." How is that possible with readonly socket access?
Understanding c.h, a.[ch] and A.S was not too difficult, I can share my notes with you if you are interested.

I am still working in b.c itself. I have started from the entry point and try to make sense of it following different simple examples, with help from an opcodes table and other references. It is a very interesting exercise, and I think I have already found some bug, but it is not an easy task. I am not sure I will ever totally decipher it.

I would like to make public what I have so far and ask for help, but since this code does not have a public license, I would not feel comfortable doing that. My plan is to try to get as far as possible (I have only been working on it for a couple of weeks so far), and ask for permission to make it public from Whitney, though I am not sure what to expect.
> You could still call the magic method itself

Only if you have the first argument available. As a silly example, we might want to do the following (in analogy to the built-in `sum` function):

product = lambda vals: reduce(operators.__mult__, vals, 1)

We can't use a bound `__mult__` method for situations like this.

More generally, looking up methods from particular objects forces our code to be "first order", i.e. we have to explicitly deal with intermediate results which don't appear in higher-order programming. For the `product` case we could do:

def product(vals):
result = 1
for val in vals:
result *= val
return result

3/5 of these lines deal with `result`, which doesn't appear at all in the `reduce` version. The same thing happens with stuff like composition too, e.g. the `x` in `lambda x: foo(bar(x))` when we could just `compose(foo, bar)`.

When code is bound up in methods, we're often forced to expose these intermediate values, in order to call their methods. Of course, we can abstract over such boilerplate too, with functions like `lambda o, m: o.__getattribute__(m)`, etc. but at that point we're fighting against the language.

PS: Yes, I know Guido doesn't like `reduce` and moved it out into `functools` for Python 3.
Which system should be redesigned from scratch?
Hi, I'm also an engineer at Civil. I would describe it more as staking access, it's a way to ensure that all those who play have skin in the game. I don't believe that bias is something you either have or don't or that bad outcomes always come from bad intentions. Bias is endemic of the system itself and I don't believe through any effort you could remove it. We are working hard to ensure that those who initially own CVL have the best intentions, but intentions are not a perfect guard against bad outcomes. The purpose of using TCR and tieing votes to a token is to align the rules of the system to the behaviors we hope to promote. Token holders participate in an economically incentivized game where they are rewarded for predicting whether the rest of the community will find the listing to be inside the guidelines of the civil constitution. While these ideas are not entirely new, they have not been well tested in this application. I'm sure that there will be aspects of the system that will need refinement as we learn more, but my hope is that, despite the system's shortcomings, it will represent a dramatic improvement over the status quo. There can be no question that this is a difficult problem to solve, and likely one that has no perfect solution. I like our solution because it does not intentionally privilege the opinion of the "blue-chip" institutions over new or small operations as many other companies in the space are doing.

-- Walker Flynn
Why are there so many downvotes? There is a journal article linked that questions the common wisdom that failing to complete a prescribed antibiotic course contributes to antibiotic resistance that everyone replying is parroting.
The iraq war had majority support because the intel community lied to the country and told them if we didn't go fight that millions would die from "weapons of mass destruction". In reality it was because Sadam had started selling oil in Euros instead of dollars
Why is this content being blocked in the U.S.?
>"This work is being released to the Public Domain. No assets of Diablo are being provided. You must own a copy of Diablo and have access to the assets beforehand in order to use this software."
In SOQL you can do it with a nested SELECT, but it's not as intuitive as your standard outer join in SQL:

https://developer.salesforce.com/page/A_Deeper_look_at_SOQL_...
I don't think the question was "what is Macedonia" but more like "please explain why this matters to you".
Tools and Craft: Andy Hertzfeld
There are many minor variations. Another common one is the variation where you you pick an insurance plan before your illness, and the insurer later decides on the details on behalf of all of its insured individuals. And... but they're all minor variations.
As much as people like to hate Java's checked exceptions, this is one thing I feel they really help with. They force you to think about the failure cases at least enough to either declare that you percolate them up, or handle them.

I've been writing a lot of Kotlin recently, and Kotlin doesn't have checked exceptions. This has led me to start migrating away from exceptions entirely because without checked exceptions it gets too hard to track what can fail, and how. I've been switching to an approach like the author's of using an `Either` (actually `Validated` from arrow-kt -- a special purpose `Either`) to have failures in my return values. I just have to be careful when calling library code to immediately translate exceptions into return values, but the entire stack in my own code has no exceptions (aside from unrecoverable errors).
Now it's even better, and even more addicting...
Exactly. Thinking that the UK without the EU is going to do any better is either naive or willingly ignorant.

With people like May at the helm the UK is already well on its way to a special episode of Black Mirror.
This seems legally questionable given that all of the source files have a copyright notice from Blizzard indicating distribution without written permission is prohibited.
Show HN: Clean your email lists right in your browser
> If you're in the US

This is a quite rare use case, talking worldwide scale.

> If the federal government is insolvent your cryptocurrency will be useless because you won't have reliable Internet access

There is an option you missed - when a bank is insolvent and the government doesn't care.

> people will revert to cash or tangible assets if the federal government fails

Why not get abroad and spend there dark ages, caching out your X-coins?

> what institution is going to make a holder of cryptocurrency 'whole' again if something goes wrong with their wallet or the block-chain itself?

Valid point. But sometimes these risks are smaller comparing to unavoidable perspective of being robbed by government which is trying to escape default.
I find your comment ironic because, in fact, 'Spain' ('Hispania') has historically referred to the entire peninsula.
Surprising but not surprising that this is getting so much hate on HN... So many people acting like public 911 municipal services should be expected to "out-compete" Apple, treating this like just another biz dev case study, like "Well, then why doesn't _the useless government_ upgrade their 911 to be as good as _Apple_ then, huh??
https://www.backblaze.com/blog/open-source-data-storage-serv... ; it's what I use to keep anything in cold storage that can't immediately go into the Internet Archive or that they're unable to dark after I upload.
The device flashes lights when it is recording and says it doesn't know how to answer the question when it gets input it doesn't understand, so the alternative hypothesis that it was spyware doesn't make any sense. The first hypothesis that it was bad testing is the only one that makes sense, but it was corrected before release, so the rest of your analysis of that hypothesis does not apply.
The parent context asked what code could have 40 cores spinning, I picked the first example I could think of. You said it wasn't a spinlock, it was. Sure there is a followup lock that sleeps for the empty-queue case, but that doesn't relate to OP's question

You can find similar behaviour in the filesystem APIs, anything touching the VM (mmap_sem IIRC is also a spinlock), pretty much any OS API where threads are all banging at the same shared resource that isn't expected to require a long wait. struct file also contains a spinlock, but doesn't look like it's used in normal operation
The domain is for EU residents, what's strange about that?

May I suggest you complain about .edu domains being just for US higher education instead, and no other institutes in the entire world?
Just because someone says what they are doing is legal doesn't mean it is. IANAL so I don't know but the source files have Blizzard's copyright warning in them
That's really interesting. Do you think it could be related to the effect of map projection biases? Is that a thing dates far enough back to affect settlement decisions?
Hello, I made/maintain this list and am happy to accept PRs!

If GitHub is blocked in your workplace, you can view the list here: https://ide.ceriously.com
A lot of the early video game cheat codes were really just testing interfaces -- turn on god mode so you could quickly get to that part of the map that was tweaked in the latest build, etc.

There was clearly nothing honest in this scandal, but I'm sure a Bosch engineer can make an honest case that many of these flags are testing and debugging modes that need to be present to fully integrate the product into the engineering and QA pipeline. I've certainly shipped product that has some hidden modes and features used just for my testing and healthcheck infrastructure.
From a quick look the NHS alone appears to employ slightly more health professionals than there are long-term unemployed in the UK, so perhaps the economy is massively misaligned... and perhaps it isn't.
> In Washington, an army of cranes has transformed the city in recent years, smoothing out all that was real and organic into a town of mausoleums for the Trump crowd to revel in.

I'm struggling to understand what Trump supporters would have to do with city construction, considering the vast majority of US cities are very left-leaning.
I mean the shortest and simplest explanation is that the lower-earning people who made these cities interesting in the first place are getting priced out of their homes. The only people who can afford to live in New York, San Francisco, etc. are white collar workers, who's other big feature is also white.

I get the supply and demand laws but there comes a point where we have to decide of continuous and infinite growth at the cost of literally every other metric of importance to a city is worth burning it down for.
AMD's stock price is soaring
Holy crap I forgot about that game
In a world of digital nomads, we will all be made homeless
That's objectively false. To say nothing happened to them ignores those that were arrested even during peaceful protests and I would like to see some citations on that claim of people violating other people's civil rights.