HNHacker News
TopNewBestAskShowJobs

hungnv

-2 karma · joined May 11, 2012

tiny techie.
submissionscomments
hungnv··on Show HN: Depot – fast, remote Docker container builds
Since arm native support, any chance it also support building IOS application by a wrapped docker container on aws?
hungnv··on Fuite: a tool for finding memory leaks in web apps
I jump into this project implementation and it supports login page by using some config. You should give it a try
hungnv··on How We Improved Reliability of our WebSocket Connections
This is practical implementation when working with websocket. When server got an error or timeout waiting for client pong, it closes the connection, at the same time client send “health check” message without receive reponse (whatever message value of your choise) it closes the connection and reconnect.
hungnv··on Having SARS-CoV-2 once confers much greater immunity than a vaccine
Great point, the research should also investigate more about this case, since its get published it will create more negative effect to people who dont believe in vaccine but believe in themselves they will never die because of Covid
hungnv··on Searching the web for under $1000/month
> Come to think of it, I searched and didn't find a "distributed disk cache with optional replication" that can be used in front of S3 or whatever dataset. You can use nginx/varnish as a reverse-proxy but it doesn't have "distributed". There is Alluxio, but it's single-master.

If you think more about this, it will be like distributed key value store with support both disk and memory access. You can write one using some opensource Raft libraries, or a possible candidate is Tikv from PingCap

hungnv··on Zig in 30 Minutes
I wish all language as same syntax, no matter whats its implementation, no matter it has cool feature or not. So new comer will get use to it faster.

Why its not int64, int32, unsigned_int32, vec, function for all language, but inventors have to change these to u64, i64, fn...etc?

hungnv··on An Open Letter to Members of the W3C Advisory Committee
at first I guess it'd be great, finally eff found a solution that any companies can implement their own security layer that's compliant with new standard and EME, but it's not. Even if W3C accepted this open letter and changed, there would be nothing changed at all.
hungnv··on Show HN: Nginx module which enable HLS adaptive bitrate and more
hello,

Because video encoding is very expensive job, so the idea is to split things into small chunk and encode chunks instead of video file itself.

I can see we can archive smooth streaming and seeking went well in our production (with caching enabled).

It would be great if people can give it a try :).

Thanks!

hungnv··on Ask HN: Should I use K&R to learn C?
Most people - who know C or any programming language do not ask for a book to read, just pick one, read it carefully, do something based on it, make mistakes, learn from them. Time went by, write a book!
hungnv··on A complete rewrite of wiki as a single page application
it took me seconds to load the new wiki (the welcome page), slow by design?
hungnv··on OpenRoss – fast, scalable, on-demand image resizer
I had worked for a social network, and our system provides a function to let user upload their photo then transform it to some fixed size of original one. We did have pre-transformed and on-demand too. Pre-transformed for the image that's most viewed by user, like new feed's photo (720x720), large photo (1024x768), and the origin one (if user's screen is detected as big screen), we have to resize it asap. Other sizes, like thumbnail, we do on-demand transform using nginx resize filter plugins, and caching using varnish and/or traffic server. That system have been working well until this time. I would say on-demand transformation is good idea, since you don't have to store resized-image that's never viewed by any user, so you save your storage. But that idea must be implemented well, very well if you're going to serve million users.