HNHacker News
TopNewBestAskShowJobs

simonz05

490 karma · joined October 19, 2010

Website: simonklee.dk E-mail: hello@simonklee.dk
submissionscomments
simonz05··on Elastic acquires Opbeat (application performance monitoring company)
Hi Thomas, fellow Copenhagen developer here. I understand how you are transitioning the product to Elastic APM. I'm simply curious of the motives. Why would you want to do that instead of building your own product at your own company? Wasn't Opbeat profitable, yet?
simonz05··on Elastic acquires Opbeat (application performance monitoring company)
It would be interesting to get the Opbeat's founders perspective on why they'd sell and close a product they've been working on since 2012. Just to soon do it again, but this time for someone else's company.
simonz05··on Elastic acquires application performance monitoring company Opbeat
I guess this is a better URL: https://www.elastic.co/blog/welcome-opbeat-to-the-elastic-fa...

It would be interesting to get the Opbeat's founders perspective on why they'd sell and close a product they've been working on since 2012. Just to soon do it again, but this time for someone else's company.

simonz05··on Mid-stack inlining in the Go compiler
But then the compiler gets faster once you compile it with these new improvements. Is that accounted for in the issue?
simonz05··on Norway: 37% of new vehicles sold in January were electric
Tesla only sold 2 vehicles in Denmark in 2016, dropping from 2800 sold in 2015. This was after the Danish government added the regular registration tax to electric vehicles.

That supports the commentators point of view.

https://translate.google.com/translate?hl=en&sl=da&tl=en&u=h...

simonz05··on How a Car Engine Works
http://blogs.adobe.com/creativecloud/animagraffs-education-a...
simonz05··on Crude Falls Below $30 a Barrel for the First Time in 12 Years
If the future outlook for oil prices are lower than what they sell at today — it makes sense to produce as much as you can today.
simonz05··on Google, Microsoft, Qualcomm and Baidu Announce Joint Investment in CloudFlare
We use their 200$/month option. Happy with that.
simonz05··on Porting Flask to Go – Jinja2 to Pongo2
That is not really the same as server rendered templates.
simonz05··on Why NASA Switched from Unity to Blend4Web
Didn't formulate myself very well. It's the Unity WebGL export using WebSockets for the network component.
simonz05··on Why NASA Switched from Unity to Blend4Web
We have a product which used to run on Unity Webplayer. After the Chrome NPAPI deprecation we lost about 50% of our users. WebGL wasn't done and still isn't really working. Our experience is the same as described in the article. Memory usage and multi million lines of compressed JavaScript will cause most of our users computers to freeze or lag out. Any user with less than 4 GB and on Chrome will have a pretty bad experience. FireFox is far ahead here and runs much better.

Edit: Direct to one of our games using WebGL and websockets. http://www.kogama.com/games/play/68818/?webgl=1&da=0

simonz05··on Why NASA Switched from Unity to Blend4Web
WebSockets work for Unity WebGL. Not sure if there is an official implementation, but we use it in a multi-player game. We specifically run Photon Game Server with WebGL and WebSockets.
simonz05··on Golang data structures
I think you are wrong in thinking he is protecting the `triggered` variable with the lock. He's using a Mutex to synchronize access on the entire struct.

snippet from https://github.com/Workiva/go-datastructures/blob/master/fut...

    f.lock.Lock()
    f.triggered = true
    f.item = item
    f.err = err
    f.lock.Unlock()
    f.wg.Done()
simonz05··on A Taste of Rust
>> It runs about five times slower than the equivalent program > I'd be interested in hearing more about how these were benchmarked. On my machine, they both run in roughly the same time, with a degree of variance that makes them roughly equivalent. Some runs, the iterator version is faster. It's common to forget to turn on optimizations, which _seriously_ impact Rust's runtimes, LLVM can do wonders here. Generally speaking, if iterators are slower than a loop, that's a bug.

In my novice benchmark I found similar results as OP.

  running 6 tests
  test for_range_100   ... bench:        89 ns/iter (+/- 2)
  test for_range_1000  ... bench:       929 ns/iter (+/- 98)
  test for_range_10000 ... bench:      8815 ns/iter (+/- 414)
  test for_while_100   ... bench:        36 ns/iter (+/- 3)
  test for_while_1000  ... bench:       294 ns/iter (+/- 27)
  test for_while_10000 ... bench:      2768 ns/iter (+/- 268)

  test result: ok. 0 passed; 0 failed; 0 ignored; 6 measured

https://gist.github.com/simonz05/afd76c549d6c8afb8081
simonz05··on The day I was DoSed by Google
We have a medium sized website with lots of user generated content. Think Google has indexed ~2m unique pages and they crawl ~420K every day. This costs us about 1,5GB/day in traffic. Dedicated servers with volume traffic option usually brings you a long way in terms of cost if you have this type of traffic pattern. For your case a cheap E3-1220 at €49 from leaseweb would bring you a long way.
simonz05··on Server Migration with Zero Downtime
If it was a website with heavy traffic mysqldump would possibly take hours to complete and lock your tables for so long it affects requests. Even xtrabackup isn't suitable to run on a master node and it's common to have a dedicated slave for backup purpose.
simonz05··on Amazon’s Twitch Acquisition Is Official
Is twitch using Amazon for streaming video content? I wasn't aware that it was cost efficient to deliver "free" video streams using AWS.
simonz05··on Amazon’s Twitch Acquisition Is Official
Why? Whats the difference?
simonz05··on Font Awesome 4.1 released
fontello.com - pick and choose the icons you need. Includes the font awesome set.
simonz05··on Monthly revenue breakdown of PlentyOfFish's early days
For a gaming site we run CPC is not close CA$0.5, more like CA$0.08. I'm also curious as to how this has developed for Plenty of Fish since 2006.
simonz05··on Nginx 1.6.0 stable released
Have not used NGINX cache, but are a heavy user of Varnish + NGINX. Varnish is really good at caching and together with NGINX it makes a solid solution. NGINX cache seems (from skimming the docs) simple and it might be enough for your requirements, with Varnish you know it can do a whole lot and more. As always, it depends.
simonz05··on MariaDB 10.0 Beta launched
Recently upgraded from MySQL 5.1 -> MariaDB 5.5 with no issues what so ever. We have ~90 tables where the largest table has 40,000,000 entries.

I configured the new database servers as slaves of the old ones. This enabled me to verify things in production and do a safe upgrade. Promoting the MariaDB slaves to master was the only required action in terms of switching over. No code changes were required in our application code.

simonz05··on Google Checkout Closing Down on Nov. 20th
PayPal was bootstrapped by giving people free money to sign up.
simonz05··on Nginx image processing server with OpenResty and Lua
Sent an email as well.
simonz05··on Taste Test: Puppet, Chef, Salt, Ansible
Thanks for the tips. Watched the videos and found them helpful.
simonz05··on Taste Test: Puppet, Chef, Salt, Ansible
I use shell scripts for deploying and configuring new servers. Hope to move to CM soon. Bought your book so I can get a feel for the different choices.
simonz05··on Systemd is not portable and what this means for our ports
I recently switched from Arch Linux to Debian mainly due to the hard systemd requirement. I hope the Debian transition will be better than what Arch Linux did.
simonz05··on Nginx just became the most used web server among the top 1000 websites
Never heard about G-wan before, but from a quick read-through it is not quiet standard. It seems like somewhat unusual design, but interesting. From the g-wan website:

G-WAN is an all-in-one solution because communicating with other servers (FastCGI, SCGI, etc.) takes time (enlarging latency), and wastes CPU and RAM resources when the network can be avoided. Also, supporting many programming languages lets G-WAN serve most needs instead of having to use slower backend servers and fontend caches. Remember that our goal here is to use the ultimate low-latency and resource-saving solution. This is why G-WAN is a:

-Web server -App. server -Cache server -Key-Value store server -Reverse-proxy and elastic load-balancer server

simonz05··on Frameworks Round 6
Just want to say thanks for doing these tests. I think this is the first time we have such a thorough overview of the basic performance of web frameworks.
simonz05··on Refactoring GitHub's Design
oh well, I think it is common to clone quiet a few repositories per user. I know its one of the most frequent things I use github for at least. Copy url, git clone url to local.
← PreviousPage 2 of 3Next →