HNHacker News
TopNewBestAskShowJobs

asadawadia

179 karma · joined May 14, 2020

https://linktr.ee/asad.awadia

curl https://aawadia.dev/

submissionscomments
asadawadia··on Self hosted Docker registry with auto image push on push to main
Only 500MB of storage [same as DigitalOcean's free repo] - which isn't enough
asadawadia··on Self hosted Docker registry with auto image push on push to main
Thank you :)
asadawadia··on Show HN: I finished v5 of a JVM framework I've spent spent half a decade making
For anyone who wants to get started with this stack you can do `git clone https://gitlab.com/asad-awadia/kotlin-server-app.git` to get a full maven project with javalin, sqlite with ktorm and jdbi everything setup
asadawadia··on Raft Is So Fetch: The Raft Consensus Algorithm Explained Through Mean Girls
love it
asadawadia··on The PlanetScale serverless driver for JavaScript
do people want a SQL DB over HTTP?
asadawadia··on The PlanetScale serverless driver for JavaScript
is it because you couldn't find a DB that you could talk to over http[s]?
asadawadia··on Learning a new language, or how I gained familiarity with Go
Mentoring and helping is not predatory
asadawadia··on Learning a new language, or how I gained familiarity with Go
>understand terms?

What do you mean understand terms?

If you need help with programming check out the link in my profile and we can set some time up - it will be more beneficial than buying a book

asadawadia··on Supabase-JS v2
are you a frontend dev?
asadawadia··on Why use Paxos instead of Raft?
Safekeeper to page servers take some time

what happens when the compute server issues a read for something that has made it to the WAL servers but not the page servers?

asadawadia··on Why use Paxos instead of Raft?
if storage and compute are separated - how is storage mounted on to the compute? Generally you can attach a volume only to one server at a time
asadawadia··on Supabase Series B
what exactly is the value proposition upon which you can raise millions?
asadawadia··on Ask HN: Google Search down?
the guy forgot to press shift on the last 1 lol
asadawadia··on The Slotted Counter Pattern
the fundamental problem with counters is that it does a read-modify-write cycle which is quite harsh on the DB - a better approach is to take advantage that counters are cumulative and we can keep the delta events only and 'merge' them on reads

or just buffer the counters in redis and then flush them out

I have a counters API that does precisely this

Docs are here: cmd+f: 'Counters API now live'

https://blog.aawadia.dev/api/

asadawadia··on Ask HN: What are some cool but obscure data structures you know about?
Yeah, saves you from thundering herd problems

https://github.com/ben-manes/caffeine cache does something similar by caching the future that gets returned on look-ups if the value is still being computed

asadawadia··on MongoDB 6 Released
>Fits well in a lot of use cases.

Can you share the use cases? Why Mongo works better than Postgres?

asadawadia··on websocat: Command-line client for WebSocket like netcat or curl
Awesome!

Readers can try out this against my websocket chat server at:

  wss://wschat.aawadia.dev/chat/<roomName>/<nickName>
HN room at `wss://wschat.aawadia.dev/chat/hackernews/pg`
asadawadia··on Ask HN: Your admittedly useless side projects?
this is actually not bad
asadawadia··on Incremental Builds for Haskell with Bazel
everything
asadawadia··on Ask HN: Web frameworks – which less popular frameworks are you using and why?
Kotlin: Javalin

Backend app boiler plate [dependencies] already setup for anyone wanting to build backends in kotlin

git clone https://gitlab.com/asad-awadia/kotlin-server-app.git

asadawadia··on Ask HN: Is the stock market's growth largely anything more than inflation?
+1
asadawadia··on Overthinking can be our superpower if we use it well
For chronic over thinkers - writing out your thoughts will help relieve the heaviness in your head
asadawadia··on I spent two years launching tiny projects
git clone git@gitlab.com:asad-awadia/kotlin-server-app.git

Deploy to a VPS on DO or Linode

asadawadia··on DigitalOcean: New $4 Droplet and updated pricing
yeah this one was really bad
asadawadia··on Andy Jassy's $214M salary is 'excessive' and should be vetoed – advisory firms
Apart from the fact that business insider is basically buzzfeed - of course now they think salaries are too high since growth has slowed down
asadawadia··on I won free load testing
why
asadawadia··on Actor system for the JVM developed by Electronic Arts
actor model has nothing to do with promises
asadawadia··on YDB – An open-source Distributed SQL Database
Which consensus algorithm? I don't see raft in the codebase
asadawadia··on We lost 54k GitHub stars
>GitHub, by design, seeks to be as much of a social network

This is so true - not sure why it isn't getting talked about more - they even have a feed now [which is getting better every few days]

asadawadia··on The Joy of Small Projects
how do you limit bad actors? How do you do rate limit per user?
← PreviousPage 2 of 4Next →