1,567 karma · joined Nov 23, 2016 (10y ago) · 686 submissions
comment 8y ago · link · parent
Also Traefik makes a nice load balancer for this uage
comment 8y ago · link · parent
Any invoice would be expected to be signed using a physical security key. The University or a trusted third party would have a list of vendor keys, signed by the university's master key.
Any request to change account details or for payments would require a new signed invoice. Then any user receiving such an email could easily see if the invoice had been signed by a person who can cryptographically prove they have a key that is trusted to be in the vendor's possession.
comment 8y ago · link · parent
If I was designing a command line app I'd probably choose Go, if I was designing a web service I'd probably choose Elixir/Erlang. Of course those can easily flip; there are classes of command line apps where I might choose Elixir/Erlang and there are classes of web services where I might choose Go.
I can't speak to Clojure though.
comment 8y ago · link · parent
A better one would be: "Hire good developers. You can invest in teaching them whatever technology your company uses and/or built."
Otherwise you end up with companies that hire good developers who don't know the tech stack and expect them to be 110% productive in one week with no investment from the company in training them. Then, even if the developer can keep up with demands they end up writing sub par code due to unfamiliarity with the tech stack.
comment 8y ago · link · parent
I ended up just running a single Digital Ocean droplet with Traefik as a loadbalancer/entry point, and then running each of my projects with docker-compose. (And building each project with Docker)
With Traefik I can set up reverse proxying for each project just by adding a few labels to its docker containers, and Traefik manages LetsEncrypt for me.
comment 8y ago · link · parent
It could easily be the origin of a story of the first interstellar star-ship from Earth traveling across the cosmos, only to reach a planet already inhabited by a human civilisation. (This would presume that knowledge of the traveler world was lost at some point)
comment 8y ago · link · parent
A lot of comments in these kinds of threads just assume a kind of fatalism that success is determined purely by change and the circumstances of your birth.
comment 8y ago · link · parent
If you can lawfully download a phone image over the internet while in the country and you can lawfully enter the country with no or limited digital information on your person then I don't see how backing up your phone in a different country (where New Zealand has no jurisdiction) and legally downloading the backup in New Zealand is evading customs.
Another (presumably) legal scenarios would include backing up all of your data, carrying no phone into the country, and then purchasing one while there. Is that "evading customs"?
comment 8y ago · link · parent
What does this even mean? I buy a drone and now I'm responsible to go hunt down every idiot with a drone and tell him to knock it off? I'm sure that would be very effective. Definitely much more effective than the FAA regulations already in place that these people choose to ignore.
comment 8y ago · link · parent
Here's an article from 2017 talking about it: https://www.geekwire.com/2017/amazon-quietly-starts-using-st...
comment 8y ago · link · parent
But again, that's why I mentioned a blockchain in the true sense, as a chain of blocks containing a hash of previous blocks, because git is a blockchain by that definition.
comment 8y ago · link · parent
1. Packaging it in such a way that it's easy to use for non-technical users.
2. There still has to be a mechanism for establishing trust in the public keys registered in such a system.
For one I'd imagine that farmers are doing some amount of work to go from raw "lettuce in the ground" to "one unit of shipment". Once it's a unit of shipment it could have an ID/Bar/QRcode generated that is then scanned with a handheld scanner that has its own keypair. The scanners keypair would be registered with the farm and so the farm would either explicitly sign off on the package or implicitly have signed that scanners pair as trusted by the farm. So a farmer and farmstaff wouldn't need any technical know how beyond operating a scanner. Depending on the farm adding such a granular tracking system may or may not be easy to implement.
For two, I can see two options. Walmart could verify every step of the chain themselves and register/receive the public key for each step in the chain. (So a farm would register with Walmart as a verified producer, a shipping company would register, etc). Or each step of the change could make a binary decision to trust the step before it and apply pressure down chain to resolve issues, since theoretically each step could fabricate the entire chain before passing it off. In this scenario, Walmart would go to the shipping company and say "E. Coli was detected in Shipment X. We no longer want to be sourced produce from Producer Y. The shipping company then takes this into account when sourcing produce, or else Walmart discontinues business with them.
I think the big benefit is by having an associated public key, you can verify the claimed identity of any agent in the chain and build trust in that agent over time. You could keep popping up disposable proxy farms, but Walmart/Shipping provider/X doesn't have any reason to trust your proxy farm's shipments; you have to establish trust either directly with a buyer of your produce, or establish trust over time as a commodity provider. As you build trust you can probably get better prices.
I'm by no means a blockchain advocate or a supply chain manager of any kind, just doing a thought experiment of how blockchains might be effectively applied in such a scenario. There very well might be better solutions, but I think at the very least a blockchain presents an interesting or novel solution.
Just thinking through, you could also create a sort of "doubly linked list" and include who custody was given to as part of each block, so a farmer is signing a claim of who they gave their produce to. {Farm A produced unit of Lettuce X, Given to Shipper B, <no previous>}[Farm A signed]
comment 8y ago · link · parent
but at least intuitively, a signed blockchain (in the true sense that each block contains a hash of the previous block) does seem to confer some additional security over a plain database.
A plain database would give you a log of events and who logged them, but security and trust resides in the database and how it's authenticated. Anyone with sufficient permissions could modify the database.
A signed block chain would give you a log of events where each party in the chain signs the new block (which includes a hash of the previous block) using their private key. The block can then be verified using each entities public key. To modify this system you would need to be able to breach the trust of the private keys.
{Lettuce from Farm A on date, <>}[Signed by farm A] => {Received lettuce on date, <Farm A block>}[Signed by shipping agent] => {Received lettuce on data, <Shipping agent block>}[Signed by Walmart store], etc
In theory then, Walmart would have a registry of the public keys of each agent in the chain, and upon receiving produce could verify the events of the whole block?
comment 8y ago · link · parent
Google Maps UI has a feature to display your set home address, once you turn off tracking or whatever it no longer has access to that home address in its UI so the default state is to ask you to set one.
If that's the case then the real problem would be that the address data is siloed off somewhere in your Google account under maps and isn't accessible to be changed/cleared from your general account settings.
comment 8y ago · link · parent
I do think bidding to post and rate-limiting is an interesting solution but it seems like there needs to be some kind of scaling mechanism.
comment 8y ago · link · parent
IIRC their original hardware plan was based around commodity hardware and getting the most performance per dollar since they built the crawler to be distributed pretty early on.
Point being, consumer grade hardware has come a long way since then, and if you're doing something cutting edge like DL it's not outlandish to expect that rolling your own might be worthwhile and totally justified.
comment 8y ago · link · parent
WebRTC and some of the more mercurial APIs might be a challenge though.