Hacker Newsnew | past | comments | ask | show | jobs | submit | more pythonaut_16's commentslogin

All (graphical) user interfaces are a lie. The only real question is whether they're lying to benefit the user or not.


I think this is the wrong mindset.

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.


That's probably a better way to phrase it.


I looked at Dokku and Flynn for personal (single host) projects and find both to be too complicated for my needs. I generally prefer deploying Docker containers over Heroku buildpacks.

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.


Kinda a cool idea in a Stargate-y, Ancient Astronauts kinda way.

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)


I appreciate that your conclusion was that the starting position helps determine the strategy necessary for success, rather than your starting position already determining your ability to succeed.

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.


And the flaw with your perspective is that if we all followed this advice, we might have a few highly polished bullet proof C libraries to use, but we'd still be stuck writing C and following all of its paradigms.


That's the interesting part. We're better off because of some but not all new languages having been invented.


Sure, but you have to have the bad attempts to learn things that don't work or we won't end up with the good ones. We fall into a local maximum instead of exploring farther and potentially going higher. Every dead end is another bit of the map explored when it comes to creating expressive languages.

Now, is there an argument we'd be better off doing that exploration in a space designed to make DSLs easier than in building entirely new languages? That I dunno but it is worth considering.


I'm not so sure it's that clear. (I'm not a lawyer)

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"?


Neither am I a lawyer, but the key part is if you're (a) doing this as a regular security precaution or (b) doing it specifically to evade customs. If it's the latter, it's probably illegal. If it's being done for legal reasons, it's legal.

Something I've noticed those of us who work with computers having difficult with when it comes to the law is the way intent changes the legality of an action. Wiring money to person X is generally legal, unless done so for the purpose of acquiring illegal contraband. At that point, both the illegal acquisition and the wire become illegal.


Neither am I a lawyer, but the key part is if you're (a) doing this as a regular security precaution or (b) doing it specifically to evade customs. If it's the latter, it's probably illegal. If it's being done for legal reasons, it's legal.

Twice now you've expressed this belief. Please share some primary sources that inform your beliefs.


> The good drone operators didn't get control over the bad ones

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.


The early drone operators and builders had the opportunity to propose and install mechanisms to manage drones properly.

Instead, they spent their political capital fighting regulations instead of making good ones that the FAA could simply adopt wholesale.

Because of that, the FAA stepped in and now everybody gets to deal with the fallout.


I hadn't heard about Amazon using Stripe before.

Here's an article from 2017 talking about it: https://www.geekwire.com/2017/amazon-quietly-starts-using-st...


Amazing. I wonder why? Amazon must have insane deals with the credit cards. This must be to access some tech that amazon doesn’t want to replicate for some small slice of its business - maybe on the fraud side.


I bet Amazon is only using Stripe for a small slice of their payments to cover gaps in their own payments stack. I'm sure it's worth it for them to be able to take payments at a higher rate than not be able to take payments at all. That's just a back-end optimization they can handle later.

I don't know what slice that is, but there's plenty of reasons you might go with a more expensive provider. Maybe they support some piece of technology you don't (like Apple or Google pay in browsers), or can process for a card type you can't (like one of the country-specific debit card schemes like EFTPOS in AU or Interac in CA), or just are set up to process payments in some country that Amazon doesn't have infrastructure set up yet. A quick google shows Amazon launched in India and Japan in 2017, so maybe one of those markets had some quirk they didn't want to bother supporting on their own until payment volumes got up.

It looks like Amazon and Stripe both launched in India in 2017, https://stripe.com/blog/india-private-beta


I would imagine that they have an integration with dozens of providers. It makes sense to spread it out so your business cannot be bullied by any single third party dependency and you can pit them against each other to get favorable terms across the board.


When you are as big as Amazon, there's a lot of money left on the table if you're running payments through a third party.


Not necessarily. You can likely bring your own processor and the deal you negotiated with them.


I agree that it's a buzzword,

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?


Most of the security bonuses feel anemic when it's still humans entering data into a system to track food vs. how cryptocurrencies use blockchains to track transactions.

But now you've also raised the technical requirements and are betting the security on non-technical farmers and farm staff. Even if they have technical chops since farm equipment is more complex these days, they likely don't have security chops.

There's already 'country-of-origin' scams in international shipping, so it's not a far stretch to apply the same concept to farming supply chains. Throw a disposable proxy farm in front of your real farms and change the origin. When it's human-entered information, blockchain doesn't prevent someone being dishonest from the beginning, and it lures people into a false sense of security because of IBM's advertising.

I guess limiting fraud to the beginning of the supply chain is a step in the right direction though. I don't think blockchain solves chain-of-custody well though.


I think there are two key points to making such a system work:

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]


> security and trust lie in the database and how it’s authenticated

And it’s any different on a private blockchain?


So a git repo with signed commits ?


Basically yeah. You probably aren't gonna be adding rebasing functionality to your supply chain git repo.

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: