33 karma · joined Sep 14, 2020 (6y ago) · 9 submissions
comment 1mo ago · link · parent
Something like 30% of PRs in our company are merged like this. It's a huge velocity win when you don't have to wait around for a review.
comment 1mo ago · link · parent
I think a useful perspective is "How does engineering management control software quality?" You will know the answers to this question: testing practices, design documents, SLAs, release management. You will know this because you almost certainly have to comply with some of these as a SWE. All of those practices exist because code produced by humans is not perfectly reliable and thus there need to be checks and risk reduction steps to manage the software that is shipped.
The way I view agents is that all of us have become engineering managers now. So those tools are now your tools. You set up the practices and frameworks and make the agents use them. If you set them up right you can be very confident in what the agents wrote without ever reading it.
Now you're not going to go from nothing to "Hey I ship code I've never read" overnight. It takes work. You have to set up your project carefully so that the agents can’t make mistakes. But all you have to do is be systematic about it. Every time the agents do something stupid or they ship a bug, you think, "How do I put something in place to prevent this entire class of bugs from happening again?" As you iterate this process, you will continuously be ruling out entire classes of bugs and eventually you'll be able to trust the agents.
Example: I had a bug, or a class of bugs, where agents would write a database migration and it would be wrong. It would get rolled out and the database would be broken. I fixed this by putting in a migration testing framework where there was data written in an old schema, then the migrations would run on that data. Then you could write tests on the expected result at any point after any migrations. Then, I put in place a rule: if you write a database migration you have to write a migration test. That fixed the problem. I have never had a migration failure since.
So this is not some magical process. It's going to take you hard work to set up your system with all of this infrastructure to make the agents maximally productive. But as you iteratively improve your system, you can reach a place where you can have agents ship code without reading it. It's not just about making the system work but it's also about building your trust in the system that you have. I routinely ship code without reading it now and I think I've shipped about two bugs in the past two months (and I’ve written ~500k LOC in that time). And one of those bugs was very explicitly my fault for telling the agents they could violate one of the frameworks in place (oops).
comment 2y ago · link · parent
Douro Labs is building Pyth Network, an open source blockchain oracle delivering high frequency and low latency market data. Our goal is to disrupt the opaque and pricey financial data ecosystem by constructing an open network that incentivizes contributions from data owners. Contributors to the Pyth Network include some major exchanges and trading firms, such as Jane Street, CBOE and Two Sigma.
We have multiple roles open:
1. Senior / Staff Software Engineer -- Develop backend services in Rust, work on smart contracts in various languages, develop and optimize a distributed blockchain.
2. Staff Frontend Engineer -- Take frontend concepts through from design through implementation. Build beautiful data visualizations and web3 applications.
3. Senior Business Intelligence Analyst -- Collect and analyze product metrics to understand usage and growth.
4. Developer Relations Manager -- Work with developers building on Pyth Network to develop solutions and identify product gaps. Iterate on product features, documentation, and anything else required to produce a seamless experience for our users.
Email me (the CTO) directly at { jayant at dourolabs dot xyz }
comment 4y ago · link · parent
Pyth Network is an oracle that publishes financial data on-chain for use in DeFi applications. We currently publish real-time prices for cryptocurrencies, FX, and equities on several different blockchains. We are the biggest oracle in the Solana ecosystem, where we secure >$2B of value and power a variety of borrow/lending, derivatives, and other DeFi protocols.
We have two goals at Pyth Network. First, we want to accelerate the growth of the DeFi ecosystem. We believe DeFi is the future of finance, and we are working together with the broader developer community to build a fairer and simpler financial system. Oracles are a critical component of most DeFi applications — they’re the only way for on-chain applications to get input from the outside world. Our goal is to create the most accurate and reliable price feeds, then unleash the creativity of external developers to build valuable applications on top.
Second, we want to make financial market data broadly accessible to the public. Today, most financial data is gated behind paywalls that keep out most potential participants. The data that is free is low resolution, e.g., daily open/close prices. We think this is unfair. Our price feeds are freely accessible to the public, and anyone is free to save the data for later analysis. In fact, we think our historical US equity prices are the highest-resolution, free data set, with price updates every 400 ms.
Our unique competitive advantage is our network of market data providers. Our network includes over 50 of the biggest exchanges, traders, and market makers in both the crypto and traditional finance worlds. These data providers have agreed to publish their proprietary data on-chain, which allows Pyth Network to build the fastest and most reliable price feeds. It also allows us to access financial data that is not freely-available from other sources, such as real-time US equity prices.
We offer competitive salaries, benefits, and employees may be eligible for token allocations as part of our incentive program.
See our greenhouse for all available roles and to submit an application https://boards.greenhouse.io/pythnetwork
comment 4y ago · link · parent
Distributed consensus is the problem of getting a bunch of computers to agree on some state when some of the computers can behave maliciously. In the case of cryptocurrency, the state is a log of transactions, which when replayed tells you who owns what. There are well-known algorithms for distributed consensus, such as Paxos and Raft, that are used in real-world applications, e.g., the Chubby lockservice.
Distributed consensus algorithms can be proven to reach consensus as long as at most a fixed percentage (e.g., 1/3) of the computers are behaving maliciously. This assumption is fine for applications like Chubby, where Google is running all 5 of the computers participating in the consensus, and no one can add additional computers. However, this assumption breaks down in the case of cryptocurrency, where anyone can spin up computers to participate. In fact, an adversary can effectively spin up an infinite number of computers. This form of attack is known as a sybil attack.
Proof-of-work and proof-of-stake add sybil-resistance to distributed consensus algorithms by requiring the adversary to commit a scarce resource in order to participate in the consensus process. In the case of proof-of-work, the scarce resource is computing power. For proof-of-stake, the resource is the currency secured by the system itself. This may seem a bit circular, but it's fine. In order to attack the system, the adversary would have to purchase or borrow a bunch of the currency on the open market, which has an economic cost. Proof-of-work permits the same attack, where the adversary buys or rents computing power instead.
From this perspective, the bitcoin consensus algorithm is in fact the odd one. Most distributed consensus algorithms (like Paxos and Raft) rely on some kind of voting system.
comment 5y ago · link · parent
That said, you can get pretty far with probabilistic programming in any language with decent monad support [2]. I did most of my probabilistic programming work in Scala. (You lose the ability to do really fancy inference if you go the monad route, as you can't analyze the program structure, but a lot of the time, this is fine.)
comment 5y ago · link · parent
comment 5y ago · link · parent
Also, no one will loan you their tether if you tell them you're going to break the peg and give them back a worthless token.
(I actually had a kraken short on for a while in ~2018 but gave up because it's just too expensive.)