skysight-inc/HackerNews huggingface dataset:
In the developing world, most food waste occurs at the food production stage. Think about cost effective cold storage in places with intermittent access to electricity.

In the developed world, most food waste occurs in the home and at restaurants. Localized food production improves local food supply resiliency and access to fresh, healthy food items. But it might also come at the cost of food security in less developed, less wealthy places.
In these kind of systems, your app users also become database users and effectively each visitor gets their own token to access the database.

You then add rules to limit users so they can only read/write their own data. This works fine for many simpler scenarios and avoids the need for a backend completely, with the potential risk for overuse.

If you need more control and protection then you should have a backend layer to get the data server-side.
Im at a $100k, my wife stays at home with our two school age kids, we live quite comfortably.
The strategies tend to be:

1. shorter lifetimes with no other revocation system. This works well if you go back to a central party which has the actual business logic/state to decide whether to issue a new token

2. token introspection API, possibly with caching to reduce network calls/user latency

3. API-based blacklist with invalidated token identifiers (either JTI or SID)

In the first two approaches you are trying to prevent state from being pushed out to the apps at the edges.

The third approach is what I took with Distributed Token Validity API, which was basically a distributed system (via state replication or fetch + cache) to move the minimal state needed as close to the app as feasible.
As an aside, the CSS on this website somehow makes it so that there are two scrollbars, one being the styled one and one from desktop Safari, and the they don't seem to line up.
For a CFO position of a publicly traded company, 34 years old isn't a kid--it's practically a toddler.

But the bigger issue is that he simply doesn't have the experience that would be expected of a CFO of a publicly traded company, especially one that employs so many non-standard accounting metrics.
Google Play Store Now Open for Progressive Web Apps
I don't think people know that their fob has metal key and the car has a metal lock generally behind the door handle that you can slide in and open normally.
The Genetic Panopticon: Even with DNA in hand, crime lab results are flawed
As usual, don't rely on any Google service to stick around long-term unless it's search, GMail, or Maps.

They'll probably shut down Google Translate any day now...
I wish the FCC would crack down. These devices are in violation of Part 15.
China 2069: Triumph or Travesty?
'A few thousand refugees' is an interesting way of putting it. "From July 2015 to May 2016, more than 1 million people applied for asylum in Europe.": http://www.pewresearch.org/fact-tank/2016/06/15/immigrant-sh...

This is all on top of an already significant immigrant population - in Germany alone there are 19.3 million people with immigrant background: https://www.dw.com/en/german-population-with-immigrant-backg...
There's actually great tools to help you build and organize that library... assuming you pirate everything.

I'm just hoping the movie/TV industry gets the picture soon and goes the way the music industry has with streaming.
Me too. My favorite band has 3 albums that aren't in print any more, and which aren't available anywhere. Like, you can't even get the CD's from Amazon. I've ripped them and put them in my library.

But the freedom of finding NEW stuff, when you have access to (just about) EVERYTHING... THAT has been the real eye-opener for me. I've discovered a lot of acts that I would never have otherwise heard of.
Basically the author is calling Apple to be its clients’ privacy guardian. What if somebody prefers the much touted Apple design and is perfectly fine with his/her data being used and misused by anybody? Apple’s positioning as a “force of good” rather than another tech company hellbent on making profits, kind of encourages these “naive” interpretations of Apple’s marketing positioning. BTW how many units sold does Apple’s privacy stance move per quarter? If I was in Zuckerberg, I would give a free iPhone to those who adhere to the spy program :-)
You mean like painting all of Facebook bad because of a few bad apples?
This is essentially a Reddit-like setup. I do use FB Messenger to talk to friends but aside from that, FB for me is basically Reddit with real names. I don't really make use of the "social" aspect, as I've had the account since 2005 or so and posting on people's walls became passe around 2010 or so.
Insightful and relevant post!
1) I assume the $93k isn't in SV and Seattle

2) The general wisdom if you want to get financially well-off is what you describe. Those who'd prefer to risk it all for a shot at being filthy rich do startups.
So i guess 93k + a time machine would be great for most new grads.
Because relational databases are much harder to scale. There are many people working on solving this problem.
http://www.woodworkersjournal.com/repeatable-thin-cuts-on-th...
Are you looking for domain or technology specific project management (PM) information, or referencing best practices for PMs in general? E.g., is https://pm.stackexchange.com/ what you are looking for or more developer and technology-centric planning techniques?
Might not be what you’re looking for but I’ve found the SVPG blog a good resource for reading: https://svpg.com/

Though I think you’re possibly looking for discussions rather than lectures?
That is captured by the word 'more'
Deploy a Highly Available Jenkins Cluster on AWS
These are averages. SF/BOS/SEA/NYC/etc all have higher salaries. It also is a bit vague as to what a "tech worker" is, and these articles tend to include all of IT in that.
For the extra conservative, rotate the nonce when the reset is requested.
Yes, this is what we like about RDS/DynamoDB/CosmosDB. Being able to run low-latency replicas (bonus if they accept writes) is important for distributed apps, but the current multi-region deployment adds too much overhead.
A couple of sites that have been useful to me, in no particular order (not affiliated w/ any):

- productmanagerhq.com
- productschool.com
- mindtheproduct.com
- roadmap.com
- departmentofproduct.com
I agree software patents are pathological, but patents in other fields seem fine. Most South Korean patents are not software anyway.

There is also a question of what is the better metric. Number of patents may not be the best, but it seems adequate to me.
"People get the journalism they deserve."

Do you really feel that that's happening?

You've been given an example of a system that might work in a civilized, modern country called Denmark. Maybe it's worth looking into it rather than repeating your First Amendment / "government is the servant" saw.
CipherSweet: Searchable Encryption Doesn't Have to Be Bitter
“Nothing stretches our thinking about the mind the way an octopus does.”
I assume you live somewhere rural, with low cost of living, and not a suburb of a major metro. Is my assumption accurate? You might even be remote, in which case you've traded higher wages for lower employment mobility (which is a reasonable compromise to make, but not common).
The "honk on lock" thing does seem to be a North American thing. I would always be startled and annoyed when locking my rental car in the US.

I haven't noticed cars anywhere else doing this, but I'm not that well traveled.
I hear you. I even agree, that some parts of this book do, annoyingly, do exactly what you describe. But, on the whole, it's a compelling message from which many people (including myself) stand to learn, and benefit.
This is clearly a primer on SQL and meant for those looking for an introduction. If you're one of those people, then you would also be interested in this deck on the evolution of SQL. https://www.slideshare.net/MarkusWinand/modern-sql
Not sure. I have a hard time spelling any word where I don't have a good grasp on the etymology involved. Also there are some words that I can't spell AND pronounce, but if I have a hard time with one I can do the other (they change places several times before I get used to them). Finally, I almost always spell snake when I really mean to spell snack (including this time, I had to fix it).

Psyke came up on the google search, so I guessed it was good enough even though it looked a bit funny to me. Of the two, warhammer 40k and psychology, my last thought was of warhammer 40k, so I'm guessing that's why I ended up spelling it the way I did.

Psychology, physics, and psychics all give me trouble as well.

(Hard core research into etymology and linguistics are on the list of things to learn. I'm guessing I'll continue to have these sorts of issues until I start making headway.)
I think a given person's interest in building a wall is highly correlated with how much of a threat they see Mexican/Central American immigration. If you've ever used the phrase "caravan", then you probably think it's a severe problem that calls for drastic measures to protect America. If you've ever used the phrase "net-migration", you probably think those immigrants are not a threat, to life or economy, and you think that using violence and fortification against them is racist.

From what I understand from reading a lot of stuff (including Sebastian Junger's book War), the barriers were needed because of regular and persistent attacks with bombs and gunfire, and I haven't heard even the most alarmist pro-wall person claim that level of violence from illegal immigrants.

99% Invisible just released an episode about the tunnels used in smuggling drugs from Mexico into the US - https://99percentinvisible.org/episode/the-tunnel/. Basically, the tunnels cost $1-2M or more but paid off in a matter of weeks. Getting past concrete barriers in Iraq may have been strategically valuable but didn't have a business model.

I would imagine that climbing the barriers puts you in a very undefended position for at least a couple minutes.
I still haven't seen a great reason to go NoSQL over, say, Postgres. I'll think about a good application but then realize that it'll be a PITA to do something slightly different than what I first imagined.

What are good reasons to use NoSQL over SQL?
Ornithopters have a long history[1] - but I meant "aircraft" at the scale of passenger jets.

1. https://en.wikipedia.org/wiki/Ornithopter
> The US tax code has gotten more progressive over time, not less

your math is way off because your're mixing nominal, ordinal, interval and ratio[1]

e.g. ten people in econony
9 poorest make $100/year
1 richest makes $200/year

poor tax rate: 5%
rich tax rate: 20%

rich pay 42% of taxes 40 / (40 + 45)

now, lower tax rates on the rich and at the same time his income explodes (what's actually happened since early 1980's)

1 richest person makes $1000/yr
rich man tax rate 15%
rich pay 76% of all taxes (150 / (150 + 45)), which is much higher than before (your progressive argument)

but you claim that tax rates have become more progressive, when in fact and in example above they have become more regressive.

[1] https://www.mymarketresearchmethods.com/types-of-data-nomina...
Health Department Warns South Asian NYers About Lead Risks in Spices and Powders
It's effective in Iraq just like it would be effective here: great for reducing blast radius, building serpentines leading up to vehicle checkpoints, and -- more pertinent to this discussion -- increasing the time it takes to breach a barrier.

Just like any security system, from asymmetric encryption to a steel military weapons vault, you can't make something perfectly secure. You can only make it difficult and time-consuming to breach the target. https://www.internationalvault.com/images/standards/class-a-...

The concrete barriers in Iraq can be and have been breached. https://www.csmonitor.com/World/Middle-East/2016/0430/Pro-Sa...

And that's the crux of the issue: a militarized Green Zone has forces ready and able to respond when a breach attempt is detected, whereas remote New Mexico desert does not. The timescale of an unlawful entry event is a total mismatch for the amount of delay this particular security measure will introduce in an immigration context -- it's like using single-pass DES for strategic intel against an adversary with a botnet.
Looks like Musk found the fall guy.
I'm not sold on the hypothesis that Europe and Asia were way ahead technologically, because honestly (mostly Europeans) did all they could to eliminate any culture indigenous cultures in the Americans and Africa, ignored them and devalued them completely. And definitely didn't make any attempts to understand or document what was going on before they got there. So likely lots of informaiton got lost along the way.

Yes, proximity helps with cross pollination - but there are hundreds of distinct ethnic groups in the Americans and Africa that also traveling, cross-pollinated and shared. History decided to group them together and call these all one big group.
most comments are thoughts and opinions and only few provide new critique. The OP comment here, though presented in an obnoxious way, is new critique because no one else has discussed the civil liberty bias deployed by agents. Though the OP presents this in an offensive way, which is maybe breaking a different rule than just "new critique"
How to Hunt on Sysmon Data
By "working under" do you mean having an engineer report directly to a product manager, where the PM is responsible for the engineer's career growth, compensation, reviews, etc?

As a former engineer turned product manager, I would not advocate such a reporting structure. A PM wouldn't be the best person to help manage an engineer's career growth and everything else. I think it's perfectly fine to be on the same cross-functional team though.
This is a huge red flag, in my opinion. A CFO is legally responsible for compliance to exchange regulations, SEC, etc. Reporting is based on judgement, regarding the interpretation of very complex rules.

I would have liked to see someone with external experience that has a frame of reference as to how other companies do things, in a high-pressure, regulated environment; a la Ruth Porat.

Musk is a big personality, with a my way or the highway attitude. Ultimately, I'd feel more comfortable with someone who could unequivocally walk away, and in doing so, would send a huge signal that something doesn't smell right.

In my experience, someone who grew up drinking the coolaide won't have the experience / ability to pull the company back from disaster. Think about all the folks at Uber. It's sad, but you need experienced and ethical leadership, that has an obligation beyond just to the CEO, in Legal / Compliance and Accounting. Especially given the wild ride at Tesla, this is more important now than ever.
If you do not have a server side session store, only option is to use a nonce of some sort though.
Depends what you mean by non-technical. I've worked with product managers who didn't have an engineering background, and thst worked fine as long as they were able to understand the trade offs that we presented to them. I've also worked with product managers who just couldn't grasp any sort of technical nuance. That did not work out well.

I notice you phrase it as "work under", and I wonder if that is part of the issue you've had. Where I've worked, while it was true that the PM was guiding the direction of our work, they weren't our boss- they were simply a part of a team with a different role (in the same way that QA often takes direction from engineers, but they don't work for them). If the relationship you had with your PM was "one way" in this sense, then I can see why you wouldn't like it...
Ask HN: I started a publishing company. What technical books are missing?
My name is Dave and I'm starting a publishing business. I've decided to narrow my focus on what I know...software engineering. I don't have a website yet, but I'm compiling a list topics/categories/books that I think are missing in the market but I'd like to hear from you if there's a book that you'd like to see.

Some topics I've come up with so far:

* Project based books. By the end of the book you will have built a complete application. Things like simple databases, operating systems, compilers/interpreters, shells, build your own framework, blockchain.

* Career focused books. Making the jump from junior to senior engineer, soft skills, navigating office politics, etc.

* Remote working - pros/cons of remote working, how to make the transition, etc

My plan is to identify compelling writers and programmers who specialize in these areas and work with them to publish books on these topics. I'd love to get any feedback on other topics you'd like to read about.

Thanks!
Plan 9 was a middle step for Inferno, the OS HNers keep forgetting about.

Dynamic linking is everywhere on Inferno, implemented by the same Rob Pike of that email thread.

Also many seem unaware that Go supports dynamic linking for a couple of versions already. The only thing missing is building plugin libraries on Windows.
This is true. It comes down to two things I think that go hand in hand

1. Do they have enough persistance to learn and then tackle problems
2. Do they even care?

Most people just aren't wired that way and it's nice enough if you find someone who's even willing to listen to you talk about technical things
There are some slight enhancement that could be made, but would require gathering some additional info about your users:

Start collecting IP addresses that the user has typically connected through. It's not OK to block that user from doing a password reset on an account with a new IP, but you could at least do some more internal alerts and secondary human checks (even if after the fact). Do all the other things in the article, but this would save some people.

Another one would be to record in session storage or cookie storage, some randomly generated key, that is permanently recorded on the server. If a browser with any of those keys come back and initiates the forgot password script, again, you can lower the weapons a little after they get in.
I typically have a good time working with non-technical PM's. I typically have a bad time working under non-technical PM's.
Presumably that amount is for living in normal places. Even in Austin TX, which has become relatively expensive, I lived quite comfortably on an entry-level salary of $65k in 2015.
Is tolerance also a factor? My daily average nicotine dose is likely above LD50.
Hi EZ-E - completely understand the concern. Cloud Firestore's architecture is very different and engineered to be an extremely highly available system backed by a 5 nines SLA. It has no scheduled downtime either.
Yes, I work with senior talent all the time.

Musk is precisely the bad kind of senior talent--imperious, oblivious, and completely unwilling to listen to advice from others even when he's been shown to be wrong.

The senior talent that's spent the last 3 years leaving Tesla? They've got documented success at other companies within their respective niches. With Finance, especially, you want someone with experience and knowledge because Finance is quite literally the heart of your company. The CFOs and other CxOs that have left Tesla have done good jobs at other companies, so the fact that so many of them are leaving Tesla, especially within such a short window and without replacement positions lined up, is good evidence that Tesla's books are in bad shape. No CFO of a publicly traded company leaves the job voluntarily if everything's fine.
I have half an idea for a children's book that I may one day write called "Teach your parents to code" targeted at a child and a parent where neither of them can code. The idea is that you put the child in the driver's seat making them motivated to help their parents. At the same time, they have to learn the concepts in order to explain them. In explaining the concepts to an adult they not only self review what they have learned, but the adult can also review and catch misconceptions.
> for close-in defense of tanks against massed assaulting infantry attack

Do modern tanks frequently face massed infantry charges?

(I know, I'm being way too literal, I was just amused by the image of a bunch of guys with Lee-Enfield rifles and pot helmets surging out of a trench to assault an Abrams.)
Define "meaningful".

You seem to have a really big chicken-and-egg problem here... you want morality to be universal. The problem is, "ethics", "morality", and "values" are all human constructs. We created them, we define them, we discuss them ad nauseum. They are as varied as we are. I don't think that makes them "meaningless".
You can make a Faraday cage out of a lot of stuff but I doubt you could get much in the way of power out of it. Granted you can't get much out of this either but it's measurable.
FWIW, I discourage the use of Webhooks (mentioned in the article) because they aren't reliable. An application cannot easily detect if a logic or network issue has caused it to stop recognizing invalid tokens.
Good catch!

Discussion from back then: https://news.ycombinator.com/item?id=4280440
Cite needed?

Wallace, Willian Ross; "The Hand that Rocks the Cradle is the Hand that Rules the World."
http://www.potw.org/archive/potw391.html
Various groups at the ICC have been documentating videos from the conflict for potential use in trials.
I'll talk to our Developer Relations team in Colorado to follow up!
You’re saying it’s not even one of the reasons?
Thanks, yes, this.
Rel to your 2nd quote, an explanation might be found in the "experiencing self" vs "remembering self", which IIRC Kahneman mentions in the intro to "Thinking Fast, Thinking Slow."
This is an unsubstantiated claim.

Certainly, there have been a fair amount, but not for lack of effort on the OS developers' parts.

It can always be better, and cutting edge, modern OS designs are superior, but it's not like the foundations of NT/Darwin are completely rotten.
You can do a lot with a circular saw. It takes a little more imagination for some cuts but they're perfectly safe and doable. If you either buy a track saw or make your own track you can make repeatable, long, skinny cuts pretty well. Now you're not cutting coves or the like on a circular saw though.
Overlooked: the apathy required to become techno-mercenaries started with the agents convincing themselves that spying on nationals was different than foreign nationals while working in the NSA. To resist this apathy cyber intelligence agents working for any government/corporation should deploy a moral compass that assumes they are working for the UAE.

This also begs for international conventions. New international conventions would provide a psychological back-stop against the infosec industry's unchecked nationalism. When an agent asks themselves "is what I am doing okay" international convention and law would give them an alternative to compare with other than the militarist default of "yes".
> Maybe not, but is that even the job of a CFO?

The board has to hold itself to account, and that means members of the board have to hold each other to account.
Neon sign transformers are routinely the cause of such interference as well:

https://www.schneier.com/blog/archives/2016/08/unintentional...
By non-technical do you mean someone who has neither previously been a developer nor have a CS/Eng degree? I've worked with both and have found the lack of an engineering background is not determinant in my opinion of the PM. For the non-technical PMs with whom I've worked, the more important factors are willingness to listen when I explain the impracticality of a proposed change/feature and their own willingness to dive deep into understanding the problem domain and customer pain points.
From what I've read so far they give you both: a VM that simulates qbits for local development, but then you can schedule a real run a physical quantum device (that's the cloud side).