skysight-inc/HackerNews huggingface dataset:
It depends on the use-case.

* Public data API (no notion of user account, e.g. weathers API, newspapers API, GitHub public events, Reddit /r/popular, etc): use an API key. The developers must create an account on your website to create their API key; each API call is accompanied by the API key in the query string (?key=...)

* Self-used API for AJAX (notion of user account, e.g. all the AJAX calls behind the scenes when you use Gmail): use the same user cookie as for the rest of the website. The API is like any other resource on the website except it returns JSON/XML/whatever instead of HTML.

* Internal API for micro-services: API key shared by both ends of the service. There can be a notion of user accounts, but it's a business notion and the user is an argument like any other. If possible, your micro-services shouldn't actually be accessible on the public Internet.

* API with the notion of user accounts intended for third-parties (e.g. Reddit mobile app where the users can authorize the app to use their Reddit account on their behalf): OAuth2
How much does nepali expenses in cell phone? read more
> Modern agriculture is a highly skilled job done with millions of dollars of capital equipment. Unskilled laborers are more hindrance than help, and will be sent off to the "back 40" to indulge in mindless busywork.

I think the point being made in the original post is that modern agriculture has a lot of problems and this is a way to address some of those. Producing local foods in a sustainable way requires more labor and a more distributed structure, with many more individuals involved directly in the process. Market gardeners around the world produce high quality foods without millions of dollars of equipment. Anyone can be taught enough to be highly useful in this role.
JUnit4, JUnit5, and Spock: A Comparison
>The Japanese did not beg.

Consultant32452 said:

"if I were a citizen of Japan I would be embarrassed that the money was not just gifted as part of a foreign aid program."

And my reply is, no, Japanese citizens would not be at all embarrassed about this. Japanese, culturally, do not give hand outs. Giving out money to beggars is not only something they don't do, but something they don't approve of others doing. It's the moral equivalent to feeding the stray cats in the neighborhood. You aren't helping the cats. You are making the cats dependent on handouts and attracting more of them.

Likewise, the Japanese do not expect handouts either. Japanese do not beg. They are too proud to do it, and they know they will be shamed if they were to try anyway.

I am pointing out to Consultant32452 that if he expects the Japanese to be embarrassed about their lack of giving to Nigeria in this case, he is mistaken. Quite the opposite. What Nigeria has done would be considered shameful shirking in Japan.
How does it solve traffic/congestion issue? Because they drive in a way that is more efficient than human-driven cars?

I envision many years or decades where having both self-driving and human-driven cars on the road at the same time is going to be a nightmare for everyone...

Also humans regularly drive slightly over the speed limit (at the flow of traffic). I wonder if self-driving cars would be programmed to drive exactly at the speed limit, which means they'd actually be slower.
This is related in time and U.S. Political scene: the documentary "Best of Enemies" which centers around ABC's coverage of the U.S. Presidential party conventions hosted by William F. Buckley and Gore Vidal. It also analyzes their histories and it analyzes the rise of identity politics in the U.S. And this identity politics / these debates perhaps showcase the ideological fracturing of the U.S.

> http://www.magpictures.com/bestofenemies/
I do care deeply about the team and each individual, some of them are my friends. Ultimately, in order for all of us to have a job, the company needs to succeed. But I agree with the nuance. Thanks for the feedback.
We seem to be talking about quite different things - in the context of discussion about monolith vs microservice architectures, the expected (at least to me) context is deployment of in-house applications within an enterprise.

This means that even on Linux distro's the packages generally are not managed by apt-get or yum. This means that "shared libraries" don't necessarily mean Linux/C shared libraries, but are likely to be packages of Java/PHP/C#/whatever code that are re-used by multiple applications. This means that, for starters, you need to choose when and how you'll push this update to many different machines each running different applications. This means that "automatically restarting all affected daemons" isn't trivial - some of these services may have state (e.g. a deployment that also includes a change to a database), for some of them the downtime matters, you likely don't want to stop&restart all of the instances doing the same thing at once but rather do a rolling deployment. This means that some of the instances that need to be updated are out of your control/administration - you need to send the package to some other organization so that they can re-deploy it. Etc, etc.

Sure, a good build system should just re-run the linker after the library change and be done with it - that solves the packaging part. Deployment often is much trickier; some organizations have a good, robust deployment process but many (most?) don't.
Clarity is a framework that comes with components ect.. Sketch is a design tool to easily create a styleguide for devs in that organization to follow.
I love this quote.

'claimed that we only ever really love 10 albums, and we spend the rest of our listening lives seeking facsimiles of those 10, pursuing the initial rush, so to speak'

I too did the calculation from article about how much music I had amassed and could never listen to all of it. Good stuff.
I created one yesterday when this announcement was made. I had to upload my compiled binary, not source.
Separately: client certificate authentication is apparently great for "Internet of Things" (buzzword alert!) device authentication, so some of the rough edges may be worn off as things move forward.
Thanks.
That's helpful.

My app, if you care to take a look now:

https://ixberg.com/#/invite/2018-hn-1

(anyone reading this can try this as well)
Am I missing something? I'd be interested in trying this out but I'm not going to make the plunge for a $39 Ux tool if I can't try it out. Is this just a demonstration of idea or a real product?
> How about necessary and meaningful jobs, like taking care of the elderly who do need help in their household, or building accommodations for and helping the homeless?

I would prefer that families provide these services (and, therefore, the state focus on the formation of strong families). The market is too brutal for most of this work and the state, in addition to general incompetence, lacks the moral authority to do so, especially when hard decisions must be made (e.g. when homelessness is driven by mental illness.)

Pay a stable, living wage to build strong families, allowing one person to stay at home and provide for the domestic economy in a sphere they have natural authority in.
That's what "side projects" are for. Go and experiment as much as you want. Then after you've succeeded, make a presentation to technical management showing what you've learned.
Fairly certain that's his wife. He's made a couple mentions of her as "the young and lovely" Mary Alyce and I vaguely recall once that he specifically discussed shooting the photo for that banner and mentioned her.
DNA Testing Botched My Family's Heritage
I really hope the people who are looking for intercontinental missles have some training.
To me this kind of thinking from management is, frankly, negligent. If you're working on a simple e-commerce site I suppose it's excusable, because in the end, the customer is going to pay the cost of poor design in lost business and that is their decision. For safety critical systems it is absolutely inexcusable, and the manager responsible should face criminal liability. No one should die because some middle manager was cutting corners to hit his quarterly targets.
Here’s How Amazon’s Alexa Hooks You
I also get very angry at Google trying to stop me from making advanced queries. Even if I only chain a couple of Google's very limited operators together it shows me captchas and after a while the captchas do not stop. I keep solving them and it just wants more.

Lately I've also been noticing that the behaviour of some google search operators are broken. " something " "otherthing" is not considered as an AND " something " OR "otherthing" is not considered as an OR. Google shows me the results it wants. I recently tried to research FreeBSD and Meltdown (I tried many times: "FreeBSD" "Meltdown", "FreeBSD" AND "Meltdown" etc.) and almost no result involved the terms both FreeBSD and Meltdown. The interesting thing was, Google did not say there was no results matching my criteria, it kept showing me popular IT news, linux news etc. It was extremely frustrating.

The only operators that work are site, date and filetype. The logical operators do not work reliably or do not work at all.

If you're searching for something popular google finds it best, but if your search patterns are deviant google ignores you and even thinks you're a bot and refuses to service you.
> BGP is a ridiculous system of complete trust just like many older protocols.

This sounds related:

https://security.stackexchange.com/q/56069/15648
Sure, they were pro-active about it, but let's face it: It was going to happen anyhow. This just accelerated things.
Just keeps getting better and better for Apple!
Wouldn't the Tor browser solve most of these issues?
When deleting a repository in Gitlab, you are required to type the name of the repository in a field. This forces you to change the response based on the particular action.
I don't believe that you have to be rich for that. But I get your point. It is not my case unfortunately, but I believe that some can be doing just that.
> many many tons of particulate matter every day

Let's do the math.

Guidelines state that the limit on PM2.5 particulates is approximately 10 micrograms per cubic meter for an annual average. Xian, where the tower was installed, is currently (http://aqicn.org/city/xian/) under 231 ug/m^3 of pollution. The tower is supposed to process 10 million cubic meters of air per day.

10^7 m^3 x 231 x 10^-6 g/m^3 x 10^-3 g/kg x 0.15 = 231 x 0.15 x 10^-2 =>

0.34 kg of particulate contamination removed per day. Not many tons. But someone check my math, please - that seems impossibly low, unless combustion is cleaner and generates lower quantities of PM2.5 particulates than I'm imagining. I did assume that it only removes PM2.5 contaminants, ignoring larger dust particles and PM10 pollution.

Let's also check the amount of air it should be processing. It's about 100 meters tall, and intended to cover 10 square kilometers. We'll conservatively assume that this volume represents the total quantity of air it needs to process. Ihe volume is:

10 km^2 x 10^3 m/km x 10^3 m/km x 10 ^ 2 m = 10^8 m^3

or 100 million cubic meters, so it's intended to process one tenth of that volume per day.

The math still seems low. Micrograms per cubic meter are hard to intuit.
A lot of people that do have a lot of experience with design treat design decisions as subjective and arbitrary. Design is often taught as an arts subject, with woefully little science content. The rise of UX as a distinct discipline reflects this lack of scientific thinking in the mainstream design community.
Simple fix: Seperate links into 2 color coded sections, TEST and ACTIVE

Put each set of links into seperate divs, with different background colors or striped backgrounds. As is, these different links are mixed up together making them accident prone. Undoubtedly a mini development boondoggle will result over this incident, in the meantime the above fix is easy and satisifies the real requirement.

Already suggested here: https://news.ycombinator.com/item?id=16158252
The only reason to ever publicise stuff like that is to smear someone. Its low and it undermines any legitimate claim. I'm sure a defense would point out the vexacious nature of those publications.
> The “profit at all costs” mantra comes from the (sometimes false) idea that shareholders care only about profits

Shareholders are detached from negative externalities of their investments unless they pay a financial price. We certainly can't count on shareholders to rein in a company like Equifax, no matter how much harm their investments might cause. There will always be plenty of investors who care only about profit.
> With client certificates you install certificate once and (given enough support from web developers) forget about passwords "forever".

The problem is that this isn't really true: it's more like this:

1. You go through a tedious and convoluted process to get
the certificate, which requires using a largely-ignored browser feature which is now deprecated: (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ke...). Even when it was implemented, the UI is not great – e.g. https://www.instantssl.com will fail if you fill out the form too quickly before the browser has finished generating a key.

2. Wait for the email to arrive and follow the retrieval process to get the certificate. Then follow the clunky UI to install it. You'll be told that it's really important to back it up but e.g. Firefox won't give you any instructions about where to even start to do that.

3. You then need a non-trivial amount of work to export the private key and certificate and install it on all of your devices, which is another process where the UX was apparently never considered seriously at any point over the last 20 years.

5. Every time you visit a site or send an email, you now have to select which key you want to use.

6. Every year, repeat the process starting at step 1.

Don't get me wrong, I'd love for this to be available and am still somewhat amazed that after however many years nobody has made a serious effort to improve the experience. It'd be really nice to have a LetsEncrypt-style effort to remove the warts from this process so it's approachable for normal people without a heavy support pool.

This is another area where I wish Mozilla hadn't prematurely killed Persona as it'd be really nice if there was a service which would allow you to associate different client certificates with a single user identity so private keys never needed to leave the device, and register things like tokens. A U2F-style focus on the user-experience would be really nice: once a year when you try to login it redirects you to a page which says “Enter your password and tap the token if you want to keep using it" and refreshes the certificate with no other ceremony.
The use of Windows XP is a nice touch.
I am not an expert, but you should not hire colorblind people to operate a nuclear warning system.
In my opinion the new approach should be: Let websites deliver content and let the user’s website reader interpret the markup / content description and style the page according to the user’s preferences. Websites shouldn’t be able to style and script themselves any longer.

The website should load more content when the user scrolled to the bottom? Let the website reader retrieve the content itself. The website wants to know the dimensions of the viewport to load the appropriately sized image or change the layout? Tough luck, this is none of the website’s business! Let the user’s website reader handle this.
Using Google's Protocol Buffers with Java
We live in only one possible future.
Because the modern American economy with its tenuousness and inequality is already pretty close to feudalism? Without structurally changing anything, you’re just compounding this problem.

You can get yourself thrown in prison and have guaranteed housing, healthcare, and a job. That option doesn’t make the dynamics of power in the system any less feudal.
This is an interesting concept, but I'm not seeing anything that couldn't already be done with a properly set up website and server logging.

Things like "@supports (-webkit-appearance:none)" doesn't give you chrome detection. It gives you webkit detection, which is a rather large subset of the whole. Plus some of the other browsers started supporting webkit prefixes.
Ganv Ki Special Makar Sankranti Ft. Sonu Singh Tanwar
Unlimited LTE through T-Mo, including unlimited talk and text, is $70 including taxes. The closest DNA plan seems to be 35 euros ($43): https://www.dna.fi/documents/753910/853456/DNA_Liittymahinna.... But median household income in the U.S. is 50% higher than in Finland. Adjusted for that,[1] the U.S. price is about $47.

[1] Cell service isn't like an iPhone, where it's made in China wherever you buy it. U.S. cellular providers pay U.S. rents for tower sites and U.S. salaries for the skilled labor to install and maintain them.
My “getting paid for the work” story
honestly, I don't care if you use your own tracking solution on your own domain, as long as it's not passing the data to a third-party.

I get that some of that data is genuinely useful in determining what parts of an app are popular and what is not. Even though I don't like being tracked for dumb shit like ads, it does have valid uses.
I've used Google App Engine + Cloud TaskQueues to build pretty solid pipelines.
Why the Second Fastest Growing SaaS Company Is Running Weekly Webinars
Yes...it's like the Damore lawsuit...designed for maximal embarrassment with goal of quick settlement.
Maybe DRM etc should only be legal in combination with code escrow.
I guess that will be up to each user to decide. I don't have any never-been-done before features planned, but I do think I'm putting them together in a stand-out way that provides just a pleasant note-taking experience. simple/fast/effective/expansive without being bloated, waiting for syncing (this will be a "hybrid app"), or annoying in all the ways i find other apps to be.
I don't remember Yahoo or AOL dying in the bubble. (They died later)
"Stateless" refers to the app, not to its datastores, because that would be nonsensical.

JWT is also poorly specified (no protocol under any circumstances should use negotiation, it does not support revocation, and it has been hammered home by the best security folks I know that public key cryptography is what you do when you don't have any other choice) and dangerous to use. Avoid it. Do the simplest thing that can possibly work. That's a session token. If, in the far and unlikely future, you are so successful that a single database call is so harmful, then you have the money to hire someone who doesn't have to Ask HN this question.
Hopefully the UI for actually launching the nukes is at least a little better...
Crossing the berm to visit relatives on either side is considered a crime by the Moroccan authorities – the Moroccans consider even crossing via Mauritania or Algeria to be illegal. So, overall the wall was definitely designed to limit movement of the Saharawis and make sure that those pushed out of Moroccan Western Sahara stay out.
Thank you for the link (I'm French too), but my bank (BNP) is not on the list :'(
Most implementations that I've seen, including Google's, just put the linked URL in the query params of the redirect endpoint URL.

'/redirect?url=...'
Blockchains: How to Steal Millions in 2^64 Operations
So you're digging 55% of a hole. In order to subsidize someone's hobby.
This silent coffee grinder will save your ears and break your caffeine habit
[live] First Falcon Heavy test-firing this week
Well certainly maintained.
This guy "Sentdex" on Youtube actually built a self-driving "car" in GTA V. It's actually a pretty interesting series. He has a website (here: https://pythonprogramming.net/)
Emulators are legal (emulators that don't themselves violate copyright law to function). Pirating software is not. It's really that simple. And right now emulator authors aren't legally responsible for how their users use their software so long as the authors keep their noses clean.
It's basically just the same problem as with the predatory pricing strategy called "dumping". You price your product below your cost to produce it to make your competition go out of business, then you can raise prices to exploit your monopoly position.

In kind food aid is essentially unintentional predatory pricing.
Sounds good and I really like the design choices regarding file management and sync, but honestly I don't see any advantage over just using plain Vim(which is already tuned to my preferences).
Paired with a few plugins it offers all the same features except image preview, and I don't really need that.
Long time ago, in a galaxy far far away I was on a receiving end of this because of one of the customers that we had. We went through an extensive training, including direct meetings with people from USAO. The bottom line of those instructions was :

* there are too many entities that may think they can get this information

* you are to ignore them all, execute a physical intrusion protocol (lock every and make everything inaccessible ) and notify your contact at USAO.

* our legal signed off on it.

We have executed intrusion protocol four times during my time there. In one case it involved a dick waving contest between state police and state court and USAO, USMS and federal court.

The bottom line, learned in trenches, is that if you are a reasonably big fish, you classify all search warrants as intrusions and deal with them as you deal with other physical intrusions. Documents/data will be turned over in an orderly fashion by your legal.
Even if we accept your figures (personally I find them dubious), the cost of paying UBI to everybody will outweigh the cost of paying for JG for the minority actively seeking work unless more than 1 in 5 are actively seeking.
> Having awkward conversations, about missing a deadline, a particular behaviour, or some other thing, has created a psychological burden in me. In some cases it actually keeps me awake at night, thinking about some displeasing situation, which of course has ramifications in my overall performance later.

The best solution I've found for this is to start reading books related to managing teams, having difficult discussions, etc.

Once I did this, I found these kinds of discussions to be more of an intellectual exercise, opportunity for experimentation, etc. I.e., it gave me a level of personal detachment that made the discussions much easier, and hopefully more productive.
I once got contracted to integrate with a large government web app that was created with some sort of legacy SPA generator. The app was written in .NET and the js on the page would render the views from specs it would get over XHR from the .NET app. It positioned everything on the page absolutely and everything was styled with inline styles. The people who manage it were quoting outrageous numbers to do the simplest style changes because it was so hard to work in. Very few improvements ever got made because the money was just not there in the budget to pay these ridiculous quotes.
Justin Frankel comes to mind. Though REAPER might be profitable, not sure.
What happens if your brakes get too hot with a conventional truck? It's not like this isn't a problem with a conventional vehicle.
Developer Tool to track your work automatically  So Sweet :)
Then maybe we should raise the estate tax to 100% to make sure everybody get's these irreplaceable benefits regardless of who their parents are. We're depriving those poor Walden's knowledge of an honest days work.
Perhaps they'll have different terms & condition, depending on your IP/bank number.
My intuition is that this is how the human brain works, but I think we'd be missing out on a big opportunity if we limit computers to this. A continuous solution to a discrete problem may hugely under-perform the truly optimized discrete solution.
Abstruse Goose – Prime Starfighter
Facebook ads income targeting doesn't work
Cryptocurrencies Crashing on January 16