3,849 karma · joined Sep 12, 2013 (13y ago) · 1,555 submissions
comment 4y ago · link · parent
I only worked with one computer scientist in an ST role during my two years at USDS. He was an ACM Fellow and had a PhD from MIT, so it's not something anyone should expect to get just because they had "senior" in their title at a FAANG.
Contractors don't have the same statutory caps on how much an individual role can pay, but salaries are part of contract bids, and a bid can be rejected if an individual salary is too high.
comment 4y ago · link · parent
One thing to keep in mind if you're interested in joining: the Digital Corps is for early career technologists, so if you have much experience in tech, you might want to apply to USDS (https://www.usds.gov) or 18F (https://18f.gsa.gov) instead.
comment 4y ago · link · parent
comment 4y ago · link · parent
It's important to remember that Brazil covers a lot of ground, and many internal tools at Amazon are external to Brazil but rely on it and the way it organizes resources. So I (or others on the internet) may incorrectly call something Brazil if it's part of the larger Brazil ecosystem.
Let's start with a repository and build outwards:
You have some code (let's say it's a Java library) that does something cool. To compile it, you add a Brazil file to the repository root. This file specifies what Brazil packages your code depends on, how it should be built, and what kind of artifact it will produce. Once that file is there, you can run "brazil-build" to produce a Brazil package (which is just a jar with some metadata).
You want to use this library in a web service, so you check out both repositories in a single workspace. Every workspace has a source versionset where it fetches dependencies, but if the code repository for a package is checked out locally, "brazil-build" will build and use the local version instead. You make some changes to the library and web service, then test how they work together by running the web service from within the workspace folder. This ensures that it is using your local modifications to the library repository before those changes have been merged.
Once you're satisfied with the change, you open a PR with a brazil-integrated tool that can show changes to multiple repositories as an atomic change (a "change set"). The CI system for this tool uses a Brazil workspace to make sure your update code packages build together and that all tests pass.
If the PR is approved and you merge to main, there is probably a pipeline watching your repository for changes that proactively rebuilds one or more version sets based on the merged change set. Any package in the version set that depends on your library will be rebuilt using the changes from your change set. So while a versionset is implemented as a list of packages at specific versions, it's best to think of a versionset as more or less equivalent to a monorepo containing all packages on that list, since changes that cross package lines can be built into a versionset in an atomic unit. (This is very helpful if you need to push out a breaking change.) A package can exist in multiple versionsets, which is of course impossible with monorepos.
comment 4y ago · link · parent
Monorepos let you make that assessment within a certain scope, as does Amazon's internal build system. It's not a feature you want exercised regularly, but it sure is helpful when you need it.
comment 4y ago · link · parent
Locally, you can use an Amazon-internal tool to check out multiple repos and make changes to all of them. The tooling calls this a "workspace," but it feels very much like working in a monorepo since building and testing can happen at the workspace level.
> How do I know that me changing my backend app’s API doesn’t break any other project in the company potentially calling it?
In terms of change management, Amazon dependency graphs are managed as "version sets." Changes have to be built into a given version set, and that build will also rebuild any package in the version set that consumes the repository whose changes are being built in. (Usually, repositories are configured to build into one of the owning team's version sets on each commit to the primary branch.)
comment 4y ago · link · parent
Since leaving Amazon, I've mostly worked with monorepos and wouldn't go back to multirepos without Brazil-style tooling.
comment 4y ago · link · parent
Definitely cheaper than API gateways for even a moderate amount of traffic, but API gateway costs scale down to zero for unused or rarely used endpoints.
comment 4y ago · link · parent
On the plus side, they're pretty cheap.
comment 4y ago · link · parent
comment 4y ago · link · parent
The thoughtless comments basically express the idea that no one should be in any military, whereas thoughtful questions acknowledge that not everyone has the same red lines.
comment 4y ago · link · parent
In the US, for example, part time opportunities are either in the reserves or the national guard, with the former having a foreign focus and the latter having a domestic focus. Plenty of guardsmen ended up doing tours in Iraq, but more recently, guardsmen helped staff overwhelmed medical facilities during the height of the pandemic.
comment 4y ago · link · parent
Column oriented stores are extremely efficient for aggregate queries, but they make writes and single-row reads more expensive and are thus not suitable for every workload. There's an excellent overview in Martin Kleppmann's Designing Data Intensive Applications.
comment 4y ago · link · parent
Keep in mind this in the context of an account holder asking the bank to authenticate themselves on a phone call using data only the bank and the account holder should know. sha256(card number) was an example of something that is obviously inappropriate, and I don't think sha256(card number + salt) is any different qualitatively.
comment 4y ago · link · parent
Questions like "is the sum even?" trade a lower opportunity for information leakage for a greater opportunity for a random guess to be correct.
comment 4y ago · link · parent
comment 4y ago · link · parent
Summing the last four digits could unintentionally leak information (what if those digits are all zeros?), so the challenge question should be carefully chosen by the bank, not just whatever the account holder comes up with.
comment 4y ago · link · parent
Depending on how the system is designed, such a refund may not be possible. I'm guessing that an offline-enabled ecash system would not support revoking and reissuing currency units, so you might be SOL.
> What would the recourse be if thieves just broke into your house and made you transfer everything over from your main account?
I want to say that this is no different than if you kept cash, gold, art, jewelry, etc., in your house, but ecash would be uniquely easy to conceal and smuggle across borders, so ecash would be a more attractive target for thieves than even an equivalent amount of gold. I'd love to see a deeper discussion by the lawmakers sponsoring the bill because I suspect there is no great answer to your question.
comment 4y ago · link · parent
My understanding from the article is that the TPM would be used to prevent theft, and counterfeiting would be prevented by something like RSA blind signatures (e.g., http://www.hit.bme.hu/~buttyan/courses/BMEVIHIM219/2009/Chau...)
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
> An E-Cash device is any piece of secured hardware issued and/or authorised by the government for the purpose of receiving, holding, and transferring e-cash balances.
> In contrast to ledger-based systems (including those that use a blockchain and/or distributed-ledger rather than a centralized ledge), which prevent double-spending by verifying unspent balances against a common record of all previous transactions, e-cash devices verify funds locally via a dedicated or trusted computing environment located on the device itself.
> This allows it to facilitate both offline and genuine peer-to-peer transactions without generating transactional data or requiring the approval of third party intermediaries or network validator nodes.
comment 4y ago · link · parent
I don't see how this is different from physical cash wrt civil forfeiture or court-ordered seizure.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent