HNHacker News
TopNewBestAskShowJobs

dreampeppers99

2,474 karma · joined September 17, 2011

submissionscomments
dreampeppers99··on A Walk with LuaJIT
Lua and Nginx are fantastic. Did you know it's possible to add behavior/code lua for openrest dynamically? https://github.com/leandromoreira/lua-resty-dynacode?tab=rea...
dreampeppers99··on Go Donut: Convert Live Streaming to WebRTC
that is the idea behind https://github.com/flavioribeiro/donut-video but it needs to be updated
dreampeppers99··on Deep-Dive into the Internals of TCP Connection Establishment Process
Thanks for sharing, I also like how the queues are tweakable from the Linux perspective https://github.com/leandromoreira/linux-network-performance-...
dreampeppers99··on We glued together content moderation to stop soccer pirates
thanks for sharing
dreampeppers99··on Writing a Mini-CDN to Learn Nginx/Prometheus/Grafana/Lua
<3
dreampeppers99··on Writing a Mini-CDN to Learn Nginx/Prometheus/Grafana/Lua
my pleasure
dreampeppers99··on Using Nginx and Lua and Redis to Build an Edge Computing Platform
it's a great way to learn a little bit of lua within nginx
dreampeppers99··on Good Code Design from Linux
I struggled a lot with the title for this post =/ (I crossed like 6 titles) but I also wanted something to call attention (not from lead/principal/kernel devs expectations) to the value of good code design, again naming is hard =)
dreampeppers99··on Good Code Design from Linux
Yes, I'm and I do agree with you with some of your arguments. The lack of details might be a problem for you but it can transform the post easier for someone fresh.

It's always hard to know whether you're going too deep or too shallow, what are the target people?! I'm afraid, in this case, I didn't put as many details as I planned because every time I read it, it started to become be too difficult for newcomers and my idea was to show to anyone this idea of "we should try to do good code design despite the language since it works for many giant projects such as Linux"

I appreciate the time you took to read it and for the issues pointed: clarity and cover more thins, I'll pay more attention to the future posts and I'm open to suggestions, thanks. Maybe I miss the balance and I should put more details/examples into it.

dreampeppers99··on Good Code Design from Linux
yes, maybe for you it's clear but perhaps for many other developers, it's not! I don't think he claimed something new, just that you can promote abstractions and use them regardless of the language.

we often, as developers, see something as useful or not only from our point of view, which is fair since you're reading and you want to learn more, but we can't forget that there are many developers out there being formed/mentored that might benefit from this kind of post.

dreampeppers99··on How to build a distributed throttling system with Nginx, Lua, and Redis
The OP solution requires a single tcp rtt. https://github.com/leandromoreira/nginx-lua-redis-rate-measu...
dreampeppers99··on Uber Scam in Brazil – Drivers Have ‘Challenges’ Ending Trips
I live in Brazil and I use Uber for years this never happened to me.
dreampeppers99··on A hands-on introduction to video technology: image, video, codec and more
I'm so sorry, I didn't mean to make it wrong, I tried really hard to put all the references in a list https://github.com/leandromoreira/digital_video_introduction... !

I'll fix these attributions but also feel free to point me more or even PR.

dreampeppers99··on Globo.com’s live video platform for the 2014 FIFA World Cup
thanks for sharing
dreampeppers99··on A Nintendo DS's emulators fork provides almost HD graphics
The original thread can be found at http://www.neogaf.com/forum/showthread.php?t=798812 and you can download this emulator at http://shikaver01.webcrow.jp/
dreampeppers99··on FIFA 2014 World Cup live stream architecture
I disagree (maybe with a little context you will do understand):

  * We were only allowed to broadcast to Brazil.

  * We already have all the servers and needed bandwidth, why would you pay when you already have all the servers?
dreampeppers99··on FIFA 2014 World Cup live stream architecture
+ iOS devices won't play RTMP.
dreampeppers99··on FIFA 2014 World Cup live stream architecture
Please keep in mind that FIFA14 was one event, we still broadcast many other events and channels simultaneously ( private and public).

About why chose HLS over RTMP, in our experiments HLS showed to be easier to scale than RTMP (maybe because the latter is stateful + the current players don't have an optimized adaptive bitrate algorithm + it's easier to scale http over rtmp)

dreampeppers99··on FIFA 2014 World Cup live stream architecture
We only implemented the dashboard (getting data from all kinds of source) on monitoring side, we relied on: logtash, graphite, elasticsearch...

The architecture up from what was described is almost purely to provide caching capabilities, aka bunch of edge servers caching content to final users.

dreampeppers99··on FIFA 2014 World Cup live stream architecture
If I'm not wrong, we start to access that around 1y but I think we really spent 7-10m on it.

You can send metrics from Cassandra to graphite http://www.datastax.com/dev/blog/pluggable-metrics-reporting...

Since the streaming is similar to HTTP page flow, it's not that hard.

Ex: http://blazemeter.com/blog/how-load-test-http-live-media-str...

dreampeppers99··on FIFA 2014 World Cup live stream architecture
Yes, for sure. :) Probably, there will be some changes but we're going to discovery some of them ongoing.
dreampeppers99··on FIFA 2014 World Cup live stream architecture
* We initially picked EMS because of its API, but we're moving to nginx-rtmp.

* We used 20G ethernet, we could get 19G from each machine.

* All the content is hosted by us.

dreampeppers99··on First 3DS Emulator (Citra) to Run Zelda OOT
Although now playable yet. Github project for interested ppl https://github.com/citra-emu/citra
dreampeppers99··on Show HN: BemTV – Hybrid CDN/P2P Architecture for HLS Broadcasts
Twitch.tv should use it too!
dreampeppers99··on It seems that Nintendo 3DS was really hacked
I just posted the 'news' because, now the source are the guys into the 3DS scene.
dreampeppers99··on It seems that Nintendo 3DS was really hacked
If you want to get more context follow http://gbatemp.net/threads/ozmodchips-posts-we-hacked-it-ima... or http://forums.ngemu.com/showthread.php?t=154198
dreampeppers99··on How can I do redundancy for LoadBalancer level?
Thanks
dreampeppers99··on PCSX2 1.0 released
yes, there is!
dreampeppers99··on PCSX2 1.0 released
Basically you just need to install (the "full isntaller" install the main plugin) and put your bios on bios folder and then you make an ISO of you own copy and that's it! Go to menu File Run ISO, done!

For sure, you can experiment changing video .... and so on!

dreampeppers99··on PCSX2 1.0 released
I think it is not that long! It relies mainly on cpu power (even though gpu counts as well)! Maybe the new multicore devices will be able to play it with low fps