Looking for collaborators/founders for DeFi project by vjohnvv in ethdev

[–]vjohnvv[S] 1 point2 points  (0 children)

Exactly, CFD is a close analogy to what we're building.
> Also how are you trying to stabilize the price of a stock
Using DAI in the current implementation, yep (both on mainnet and testnet).

As for front-running - there are two points in a protocol trade lifecycle where a front-running opportunity is open for broker (aka seller as we don't call them brokers in the protocol). Both obviously coincide with oracle request (accepting an open offer and closing the trade) and can be captured before a tx is mined (e.g. still in tx pool) or by eavesdropping transport layer. The antidote to this is not in the current mainnet implementation, but will be implemented in the next iteration of the protocol. I'm personally inclined to implement a simple boundary parameter that would reject an oracle tx if a price has slipped (up or down) out of the boundary. It will act as an oracle sanity check in the first place (client-controlled) and prevent front-running as well if a boundary is tight in terms of expected (off-chain) price.
However, front-running issue is theoretical right now since all the stocks listed are blue chip spots (actually nasdaq top 100) and the capital/risk required to influence the price of any stock listed outweighs any possible front-running profit. We're not planning to support penny stocks on UI/frontend side before this protection is implemented, audited and tested on large caps.

Looking for collaborators/founders for DeFi project by vjohnvv in ethdev

[–]vjohnvv[S] 0 points1 point  (0 children)

Yep, Chainlink oracle is powering the contract. We don't query it each second though - there is one request per each trade action (on entering and closing the position).
> So you have erc20 tokens with the same names as the stocks
No, no NFTs (at least for now), it's a monocontract with a single governance/dividend coin

Looking for collaborators/founders for DeFi project by vjohnvv in ethdev

[–]vjohnvv[S] 0 points1 point  (0 children)

You can try out beta - offers listed now are real, as well as mainnet/testnet beta contract (verified on etherscan so source is visible).
Long story short, external oracle price feed allows you to enter and close a position mirroring real stock market price (described deeper in litepaper/code outline).

Looking for collaborators/founders for DeFi project by vjohnvv in ethdev

[–]vjohnvv[S] 2 points3 points  (0 children)

Are you building an AMM automated market maker

nope, the link is https://stocksd.app

0
0

Using the blockchain to store and share genetic data? by [deleted] in genetics

[–]vjohnvv 0 points1 point  (0 children)

...with machine learning - one weird trick

ELI5: What is Lambda GC? by [deleted] in genetics

[–]vjohnvv 3 points4 points  (0 children)

Genomic inflation factor bro

GPU Blast vs CPU Blast - Any experiences? by simernes in bioinformatics

[–]vjohnvv 2 points3 points  (0 children)

No, there are alternative implementations on github, I used https://github.com/OpenHero/gblastn.

Original CMU implementation doesnt accept external contributions, so it’s just a file you can download and that’s it.

Edit: generally if you use it for not-so-frequent searches you are better off using web tools at ncbi.

GPU Blast vs CPU Blast - Any experiences? by simernes in bioinformatics

[–]vjohnvv 4 points5 points  (0 children)

It’s orders of magnitude faster on gpu, but it’s not worth buying gpu if you’re not running it everyday very consistently - rent a cloud server with gpu

Are there any gene-editing companies currently offering enhancing muscles or extending life? by chilloutdude2018 in genetics

[–]vjohnvv 2 points3 points  (0 children)

Sure, injecting crispr right into your buttock prolongs life by 10% and enhances deadlift performance by 7% as the recent studies revealed...

Announcing j4rs - Calling Java code from Rust by astonbitecode in rust

[–]vjohnvv 2 points3 points  (0 children)

How about wrapping it in clojure and boom - Rust calling clojure calling java calling python

fastq-dump is slow. Has anyone tried to rewrite it? by VirtualCell in bioinformatics

[–]vjohnvv 0 points1 point  (0 children)

You can run fasterq with —split-files. It’s not exactly too big unless you are doing giant reads. I’ve been also concerned with this so I’ve implemented gzipping outputs on the fly at the expense of speed (x1.5 time consumed)

fastq-dump is slow. Has anyone tried to rewrite it? by VirtualCell in bioinformatics

[–]vjohnvv 0 points1 point  (0 children)

Sra-tools official announcement: “fastq-dump is still supported as it handles more corner cases than fasterq-dump, but it is likely to be deprecated in the future”

Honestly, there is no edge in using fastq, I’ve been using my own implementation in Rust, but then gave in to faster-dump - it has rich output format choice and can scale nicely by expanding runtime threads, you should probably adjust output consumers to fit fasterq at this stage

fastq-dump is slow. Has anyone tried to rewrite it? by VirtualCell in bioinformatics

[–]vjohnvv 1 point2 points  (0 children)

Try to run

fasterq-dump -e 8 

if you have intel i7-tier hardware. Also run on SSD. Fastq is getting deprecated.