Better HN
topnewbestaskshowjobs
Log inSign up

cgbystrom

1,424 karma · joined Apr 26, 2009 (17y ago) · 105 submissions

[ my public key: https://keybase.io/cgbystrom; my proof: https://keybase.io/cgbystrom/sigs/4pm_EUhW9VrHxq8BrtPnWEe2kN_u-s_qOxaCmFOY4kk ]
Submissions

1.

Advantages and Disadvantages of a Monorepo (case study at Google) [pdf](storage.googleapis.com ↗)

3 points · by cgbystrom · 8y ago · discuss

2.

PyCharm 4 is out(jetbrains.com ↗)

10 points · by cgbystrom · 12y ago · 2 comments

3.

Introducing React Elements(facebook.github.io ↗)

6 points · by cgbystrom · 12y ago · discuss

4.

Noke: The World's First Bluetooth Padlock(kickstarter.com ↗)

2 points · by cgbystrom · 12y ago · 1 comment

comment 12y ago · link · parent

With our team, we also found shared folders performance to be too low. Our Python framework/app is very read-heavy and stat() a lot of files (the Python module loading system isn't your friend)

We ended up using the synchronization feature in PyCharm to continually rsync files from native FS into the VirtualBox instance. Huge perf improvement but a little more cumbersome for the developers. But so far it has been working good, PyCharm's sync feature does what it is supposed to.

6.

TeamCity 8 released(jetbrains.com ↗)

1 points · by cgbystrom · 13y ago · discuss

7.

TARDIS in pure CSS (from Doctor Who)(csstardis.co.uk ↗)

8 points · by cgbystrom · 13y ago · 3 comments

8.

Valve unveils 'Steam Box' with Xi3, codenamed 'Piston'(digitalspy.co.uk ↗)

2 points · by cgbystrom · 13y ago · discuss

comment 13y ago · link · parent

There's also Locust, a Python powered load testing tool similar to this. It's focused on simulating user behavior rather than hitting specific URLs. This allows for much more true-to-life testing.

We used it to load test Battlelog (the online service for Battlefield 3) and successfully simulated over 2 million concurrent users hitting the service using EC2. See http://locust.io for more info. (Disclaimer: I'm one of the authors)

10.

Glances - an easy CLI overview of your system (CPU, mem, I/O)(nicolargo.github.com ↗)

250 points · by cgbystrom · 14y ago · 57 comments

comment 14y ago · link · parent

Totally agree about having smaller and more contained apps.

I used https://github.com/cgbystrom/jersey-netty for a one-off project wiring Jersey together with Netty. But it's not async :)

comment 14y ago · link · parent

Without need to discuss security implementations - no.

comment 14y ago · link · parent

Protocol handlers are a pretty shitty way of interfacing with desktop apps. There's no two-way communication and no error handling. Lots of potential screw-ups and incompatibility issues will/can happen. Sure, they don't require a browser plugin but that's about the only advantage.

comment 14y ago · link · parent

I would strongly advise not to base your push mechanism solely on Web Sockets. Despite advances modern browsers are making with Web Sockets support, the current compatibility is not there yet.

For starters, IE has no support, though that is starting to change with IE10. But the biggest issue is with personal firewalls / corporate proxies. These are unfortunately quite horrible at handling Web Sockets. Many popular firewalls such as avast! and Bitdefender can’t handle the WS protocol and completely blocks traffic despite browser support and it being valid HTTP. The socket.io guys did some extensive research on what firewalls are causing these issues. I don’t think their list is exhaustive but it features most major personal firewalls out there. Have a look at https://github.com/LearnBoost/socket.io/wiki/Socket.IO-and-f... , it's no reading of joy.

I’ve deployed quite large installations of Beaconpush (a push server incidentally based on Netty as well). First going from Web Sockets with fallback, over to pure WS and we’re looking at going back to using fallbacks once again due to these incompatibility issues. This time we are looking at using SockJS instead of rolling our own (to be fair, there were no open-source libs doing this when we started). I’ve ported SockJS to Netty (https://github.com/cgbystrom/sockjs-netty) and it’s working although I wouldn’t say it is production ready.

I urge you to have a look at SockJS and socket.io. Personally I prefer SockJS since it aims at emulating the Web Socket interface and nothing more as compared to socket.io (which adds a pub/sub layer). Also, it does not rely on a Flash fallback (which is another story). The socket.io guys are however working on engine.io, which will split the transport fallback mechanisms of socket.io to a separate library. That's a good idea, but it still uses Flash and IMHO a more complex "transport upgrade".

15.

Vagrant Usage Patterns(speakerdeck.com ↗)

1 points · by cgbystrom · 14y ago · discuss

16.

Varnish author criticizing HTTP/2.0 proposals(lists.w3.org ↗)

277 points · by cgbystrom · 14y ago · 136 comments

17.

Microsoft’s Downfall: Inside the Executive E-mails and Cannibalistic Culture(vanityfair.com ↗)

2 points · by cgbystrom · 14y ago · discuss

18.

Countandra - open-source clone of Twitter's Rainbird(countandra.org ↗)

2 points · by cgbystrom · 14y ago · discuss

19.

XRTML - a markup language for defining real-time updates(xrtml.org ↗)

8 points · by cgbystrom · 14y ago · 3 comments

20.

Twitter adds SPDY support to Netty(netty.io ↗)

121 points · by cgbystrom · 14y ago · 18 comments

comment 14y ago · link · parent

Redis should get an an HTTP API. Would enable you to implement something like this purely in the browser. UIs are really useful from a sys admin point of view. I can also imagine adoption increasing if Redis supported a UI out-of-the-box.

comment 14y ago · link · parent

The authors of Kotlin has explicitly said that fast compilation is a key feature.

23.

Web-based editor for Kotlin, JetBrains' new JVM language(kotlin-demo.jetbrains.com ↗)

24 points · by cgbystrom · 14y ago · 18 comments

24.

Practical Garbage Collection - Part 1: Introduction(worldmodscode.wordpress.com ↗)

181 points · by cgbystrom · 14y ago · 38 comments

comment 15y ago · link · parent

A couple of the components used are actually already open-source:

https://github.com/esnme/ultrajson - Super-fast JSON serializer.

https://github.com/esnme/locust - Scalable load testing tool capable of simulating millions of users.

https://github.com/esnme/amysql - 100% async/event driven MySQL driver.

https://github.com/hjlarsson/gevent-memcache - memcached driver for gevent.

comment 15y ago · link · parent

Planet Framework is designed from the ground up to be real-time and scalable, but it also uses a lot of existing open-source projects.

For Planet Framework customers, we offer "partner source". Meaning, that customers will get full access to source code and also submit their own patches.

comment 15y ago · link · parent

The reason behind "yet another template language" is that we compile down to both Python and JavaScript. Allowing us to render templates both on the server-side and client-side. Sharing templates between these two gets very important when you develop real-time web sites.

(I'm one of the developers behind Planet Framework)

comment 15y ago · link · parent

Yes, we do.

29.

Hotcode - syncing changes between server and browser during web dev(github.com ↗)

2 points · by cgbystrom · 15y ago · discuss

30.

Battlefield 3 uses Gravatar(blog.gravatar.com ↗)

2 points · by cgbystrom · 15y ago · discuss

1234