HNHacker News
TopNewBestAskShowJobs

tbarbugli

831 karma · joined June 19, 2012

Founder & CTO getstream.io
submissionscomments
tbarbugli··on Templ: A language for writing HTML user interfaces in Go
This is pretty useful https://www.jetbrains.com/help/go/integration-with-go-templa... to improve productivity when working with templates in Go
tbarbugli··on Show HN: WarpBuild – x86-64 and arm GitHub Action runners for 30% faster builds
I suspected that :) Where do you guys host the servers that run Github actions? (startup time is better now but speed is still much worse than Github)
tbarbugli··on Show HN: WarpBuild – x86-64 and arm GitHub Action runners for 30% faster builds
First attempt feedback: onboarding is amazing, I love how easy it is to create a PR with the VM.

- Github actions are faster for us (~30% faster)

- Some of our tests failed while waiting for a dockerized server to be up

- It takes several minutes before all jobs are running (I have a pipeline with 6 parallel jobs, a few started with 2 minutes delay).

tbarbugli··on TÜV vehicle report 2024 – Tesla Model 3, most issues (German)
I wonder how biased TUV is in this report. I guess I will never know because I don't read german. It does sound odd to see Tesla at the top in a market they share with: Skoda, Logan, Citroen, Renault, Seat, Fiat, ...
tbarbugli··on Europe gives Mark Zuckerberg 24 hours to respond about Israel-Hamas conflict
Frustration aside that is not a viable option for a public company like Meta.
tbarbugli··on Jitsi Meet Flutter SDK
we (getstream.io) built an official SDK for Flutter and it was definetely ROI positive
tbarbugli··on Maybe the problem is that Harvard exists
Problems, problems, problems. What about constructive ideas?
tbarbugli··on 6 days to change 1 line of code (2015)
I disagree, you can fork and apply whatever change is blocking you to the OSS project.
tbarbugli··on Debunking Cloudflare’s recent performance tests (2021)
dont use them if you dont like them, it is a free world
tbarbugli··on Why is Swift so slow (timeout) in compiling this code? (2022)
Tangent to this but Swift is slow in surprising ways: json decoding and decoding strings into date objects are insanely slow. Both are common operations for an iOS app (eg client/server app that decodes a json encoded payload) and I have no idea why not solved years ago.

Another surprise is that Apple’s protobuf generator is able to produce iodiomatic Swift, the same is not true for Kotlin :)

tbarbugli··on Ask HN: It's 2023, how do you choose between MySQL and Postgres?
I highly suggest investing time learning psql, autocomplete works great and it has a ton of useful slash commands. \d for instance shows you the list of tables. Awesome tool
tbarbugli··on FDIC Takes over Silicon Valley Bank
Dumb question perhaps: why only SVB crashed? I imagine all banks in US had an influx on money deposited in the same period as SVB
tbarbugli··on Hardware microphone disconnect (2021)
I had the same, switching to Airpods “fixed” this problem. I doubt Apple will ever do something about this, bt audio works fine as long as you use iPhone, Macbook and Apple pods
tbarbugli··on Leonardo da Vinci’s experiments explored gravity as a form of acceleration
isn't indeed easier to measure a rolling object going down from a ramp? measuring water falling from a jar while moving the jar sounds very complicated.
tbarbugli··on How to distort Scrum until it no longer works
I actually cant understand the point the author is trying to make. For instance: what is his stance on retros?
tbarbugli··on System76 Lemur Pro Linux laptop with 14 hours of battery life
After 10 years of Mac I was ready to give up and switch to System76. Then M1 happened, I don't see myself moving from Mac for the next decade.
tbarbugli··on Go generics are not bad
in Go ‘new’ is a function, not a keyword

I think that parent probably refers to the lack of something like this:

x := new MyType

tbarbugli··on Why We Switched from Python to Go (2021)
co-founder and CTO of Stream here. I did not write the article but I was very involved with the decision process.

Your assumption is wrong, we did not pick a different language just for fun or because we wanted to learn something new :)

Python was just not the language we needed for our APIs, we tried hard to make it work but eventually we looked at alternatives that would allow us to keep things simple and performant. End result was better latencies, a much simpler architecture (less async/MQ work) and processes that would eat a fraction of RAM and CPU compared to Python.

tbarbugli··on How much do founders pay themselves? A European data set
I also suspect the dataset is too small to be relevant.

eg. there are no companies that raised an A and have 10+ ARR in EU

tbarbugli··on Fetch API has landed into Node.js
yes, yes, yes.

This was a huge pain for us. We develop an SDK that needs to work on Node, browsers and React Native.

I am super happy to hear about this :)

tbarbugli··on Matrix Multiplication
I would never do it like this if I only had pen and paper but I admit the animation is pretty awesome :)
tbarbugli··on Lithuania evacuates its embassy in China
Do you have a link about the Cholera thing? I am not really informed on the whole Yemen / Saudi
tbarbugli··on Imagor: A fast, Docker-ready image processing server written in Go
Typically Cloudfront would sit in front of this service and either serve the requested resource from cache or forward the request to the origin (Imagor) if missing from cache.
tbarbugli··on Imagor: A fast, Docker-ready image processing server written in Go
It would be great to see a cache layer in front of S3, in my experience fetching the original image from S3 will be slower than the actual resizing (regardless of the library used) and that happens at least once.

So ideally something like:

1. upload to s3

2. manipulate image to a friendly size (ie. 2048x2048)

3. write the image to an LRU cache (ie. memcached)

with steps 2 and 3 on a separate go-routine

Besides that, really cool project :)

tbarbugli··on Log4j RCE Found
Very easy to exploit as well: https://github.com/YfryTchsGD/Log4jAttackSurface
tbarbugli··on Slack is experiencing a service disruption
From their status page

> Less than 1% of users may be experiencing trouble connecting to Slack

This is a good example of how to not communicate uptime issues. It clearly shows that Slack is trying to downplay the problem and do damage control. This is not smart and gets customers upset.

tbarbugli··on How Discord Stores Billions of Messages (2017)
If you can, use Scylla over Cassandra. The performance difference is tremendous in my experience and replacing can be trivial (easier if you start with Scylla on day 0)
tbarbugli··on GoKart: A static analysis tool for securing Go code
Try Core Data with Swift and you will see that happening. Lazy objects (vaults) are mapped from objc into Swift and will happily crash on something like a = b where both are not optional.
tbarbugli··on Reducing CO2 emissions by targeting the world’s hyper-polluting power plants
Germany, Japan and SK are extremely wealthy countries. I am sure they can manage if they really want to.

Germany in particular made the stupid decision of shutting down nuclear plants (Fukushima overreaction) and it is pushing this narrative of being a green energy country… to me it sounds like an easy problem to solve once there is enough political attention.

tbarbugli··on Corona Game: A simulation of how Covid-19 spreads
Rapid tests took long time to reach the market, pandemic was already big when they became available at scale. I also think most people would not agree with getting tested so often (I would not).

Track and trace was introduced and failed in most countries.

← PreviousPage 2 of 12Next →