Better HN
topnewbestaskshowjobs
Log inSign up

madrafi

297 karma · joined Dec 29, 2016 (9y ago) · 77 submissions

Account owner passed away on March 2019
Submissions

comment 5y ago · link · parent

You can find aggregate liquidation data for Bitcoin futures and perpetual swaps in bybt.com

comment 5y ago · link · parent

2013 called it wants its comments back..

comment 6y ago · link · parent

well because quant trading isn't about import xgboost, you need a sustainable infra to handle api failovers, bad data... not even going to mention risk management which is 50% of what quant trading is about. the data provided is anonymized but would probably be a mix of laggard measurements (moving averages, rsi...) and maybe some flow data... quant trading isn't really about finding "secret stuff" most profitable strats you can deploy can be based on stat-arb, basis trading or even just delta-neutral funding farming and such

4.

A Field Guide to ZkSNARKs II: Arithmetization and Quadratic Arihmetic Programs(write.as ↗)

2 points · by madrafi · 6y ago · discuss

5.

DHH: Hey's Monolith Stack RoR and TurboLink and MySQL and Elastic and Redis(twitter.com ↗)

7 points · by madrafi · 6y ago · 3 comments

6.

So You Want to Build an End-to-End Encrypted Web App(zfnd.org ↗)

167 points · by madrafi · 6y ago · 37 comments

comment 6y ago · link · parent

1.I usually try to write about things that both interest me and wish I have found when I started learning about subject X, the process is mostly doing a lot of reading and working out the ideas for example the most recent thing I published was a primer series about zkProofs.I did about 7 months of studying (largely sparse about ~1400 hours). I then start by writing multiple drafts, updating as I go, I have terrible writing skills but I try to accomodate as I go. I also tend to use pen and paper to develop any math that I need to explain.

2. I started following the advice of Andrew Trask, blogged about HE when I was studying the topic first, then a few posts about Deep Learning.I wouldn't stick a difficulty level to it,to be fair writing largely depends on the person,I think, for me it was hard because I was in a hurry to post and get feedback and trying to take my time so as not to do stupid things.

3. Motivation isn't something I feel like I can control but when doing the writing, not the research, I try to do it every morning.

4. The thing I struggle most with is mental illness (Inattentive ADHD, Depression, Anxiety) hardest part is time management and overcoming the fear of humiliation, my fix for the first was to make the writing week a routine, first thing after breakfast I spend a few hours writing and editing the latter I just faced it and published (great insofar).

Although I am not proud of my writing it gives me a tangible evaluation of what I learned in the past X weeks/months, like an exam. I also write things I don't publish such as sort essays, diaries or ramblings these I just put in notebooks.

A few more thoughts, I would say that getting your blogging process setup ready before you even start thinking about subjects helps along the way.This saves time later, I jumped between a few platforms but now I publish on write.as because it has markdown + latex without all the hassle.

I'd also recommend not to think of it as a duty but a creative adventure, something you do when you feel like. I tend to only write about niche topics or things I've been learning and related to tech (for example I've never blogged about physics or mathematics even though I keep studying both subjects).

Best of luck in your endeavors !

- Edit (some posts I've written) :

- https://radicalrafi.github.io/posts/more-homomorphic-encrypt...

- https://radicalrafi.github.io/posts/homomorphic-encryption/

- https://radicalrafi.github.io/posts/secret-sharing/

- https://write.as/knowledgeprover/zero-knowledge-proof-system...

comment 6y ago · link · parent

I meant to skip over PCPs because it would need a separate posts and make the whole longer, I also avoided explicitly mentioning PCPs or SNARKs constructions from PCPs[1] for the same reason. Yes, concluding about the transparency vs proof-size trade-off is a mistake of my part. Thanks for taking the time ! will push an update on that bit soon.

[1]: https://eprint.iacr.org/2012/718.pdf

comment 6y ago · link · parent

Author here, I did gloss over PCPs certainly, and agree that SNARKs also use PCPs and I might have made the terrible conclusion about proof sizes. Will push an update soon ! thanks for taking the time.

10.

A Field Guide to zkSNARKs Part I: A Primer on Computation(write.as ↗)

65 points · by madrafi · 6y ago · 6 comments

comment 6y ago · link · parent

I recently took time to dive into compilers and programming languages by reading Thorsten Bell's excellent books, and this is what came out !

12.

Show HN: I wrote a VM and Compiler for a small language in Go(github.com ↗)

37 points · by madrafi · 6y ago · 2 comments

13.

Show HN: A Test Driven Demo of ZkSTARKs in Golang(github.com ↗)

1 points · by madrafi · 6y ago · discuss

comment 6y ago · link · parent

This was quite a treat !

comment 6y ago · link · parent

Last year a group of companies and institutions created a working standard. https://homomorphicencryption.org/standard/

comment 6y ago · link · parent

Not really ! Activation functions are usually non-linear. What happens is we turn our numbers into their counterparts in another group (abstract group) and work there (at a high-level).

comment 7y ago · link · parent

Would like to point that the work done by the curve25519 team is solid, Henry is also behind the ristretto RFC. The reason Facebook used the BFT algorithm is for pure regulatory purposes (they needed a Blockchain therefore a solid consensus algorithm with failure tolerance). The cryptographic constructions used are quite solid unlike OP claims.

comment 7y ago · link · parent

imagine arguing PGP security with tptacek

comment 7y ago · link · parent

I use the same exact method.

comment 7y ago · link · parent

ADHD isn't just overdiagnosed, it's both https://slatestarcodex.com/2014/09/17/joint-over-and-underdi...

21.

Zerocoin Exploited in the Wild on ZCoin Chain(zcoin.io ↗)

3 points · by madrafi · 7y ago · discuss

comment 7y ago · link · parent

Africa and the Middle East are 10-sigmas.

comment 7y ago · link · parent

This touches close to home :')

24.

The Programmers(actuallyachraf.github.io ↗)

2 points · by madrafi · 7y ago · discuss

comment 7y ago · link · parent

I thought Visa sponsorship was the issue for third-world countries,I and many of my friends (local code meetup) share the same story ; apply to 150+ companies and not a single response. We are white from North-Africa. I stopped applying abroad because these kind of "diversity" policies scare me because they're mostly ethnic based I believe it should be idea based otherwise you end up with a group that all think alike.

comment 7y ago · link · parent

- Startup invents chat widget - Chrome extension to block widget I love the internet

comment 7y ago · link · parent

Just follow MIT Open Courseware for curriculum as for how to learn either the lectures or textbooks, lectures are good for initial understanding but then you'll need a textbook to go over the definitions,theorems and very important EXERCICES . you might want to take it easy don't try to put everything in some sort of timeline like (I am going to do all undergraduate in 1 year) that's really stupid as may be advertised on the internet. Your real goal ,as you're taking this endeavor ,is to understand it by making it your own, get a feel for it.I cannot describe it but you'll know . Best of luck in your quests .

comment 7y ago · link · parent

Finally someone got that pun lol
123