This is Antoine's TypePad Profile.
Join TypePad and start following Antoine's activity
Antoine
Recent Activity
Antoine added a favorite at hello typepad
2 days ago
Playing with Go1.1beta2, it's much faster!
One month ago I wrote some benchmarks for my Go-UrlRouter package. Yesterday Go1.1beta2 has been released, lets see how much faster it is for this particular project. Go1.0.3 go-urlrouter$ go test -bench ".*" PASS BenchmarkNoCompression 50000 43049 ns/op BenchmarkCompression 100000 25114 ns/op BenchmarkRegExpLoop 2000 1090131 ns/op ok github.com/ant0ine/go-urlrouter 7.748s Go1.1beta2 go-urlrouter$ /usr/local/go/bin/go test -bench ".*" PASS BenchmarkNoCompression 100000 27635 ns/op BenchmarkCompression 100000 19632 ns/op BenchmarkRegExpLoop 2000 1001683 ns/op ok github.com/ant0ine/go-urlrouter 7.419s That gives us: BenchmarkNoCompression 36% less time BenchmarkCompression 22% less time BenchmarkRegExpLoop 8% less time The Trie implementation makes a heavy use of "maps" (especially when not compressed). 36%... Continue reading
Posted Apr 8, 2013 at ant0ine's blog
Comment
0
Yes, this is definitely possible. But I'm not sure it should be part of this framework. By providing this helper, you make some assumptions about the shape of the URLs for this resource, and the number of endpoints. This is the beginning of a kind REST schema. This is something nice to have, but I think it belongs to a layer on top of go-json-rest.
Introducing Go-Json-Rest
A quick and easy way to setup a RESTful JSON API in Go A few weeks ago I wrote Go-UrlRouter, here is the next step, Go-Json-Rest, a very small REST framework built around it. First, a few thoughts, kind of design principles for this project. REST is everywhere. The full-featured web frameworks ...
Introducing Go-Json-Rest
A quick and easy way to setup a RESTful JSON API in Go A few weeks ago I wrote Go-UrlRouter, here is the next step, Go-Json-Rest, a very small REST framework built around it. First, a few thoughts, kind of design principles for this project. REST is everywhere. The full-featured web frameworks are moving from the server side to the client side. Django and Catalyst are dinosaurs, and are replaced by Dojo, Ember.js, backbone.js, JQueryMobile, … And these Javascript frameworks are usually talking to the server through a REST API. Same for the native mobile apps, most of them are... Continue reading
Posted Apr 3, 2013 at ant0ine's blog
Comment
2
Antoine added a favorite at abe hassan | blog
Feb 28, 2013
SubToMe Chrome Extension
Subtome.com provides a universal subscribe button for the web. It’s open, it stores the settings on your local HTML5 storage, and it supports any reader. Thanks @julien51 for this service, it's awesome, the web should have had that years ago ! It’s great, but, but, but, It needed a Chrome Extension. Here is my little contribution: Install from the Chrome Store (Source code on Github) Continue reading
Posted Feb 11, 2013 at ant0ine's blog
Comment
0
Better URL Routing ? #golang
When a web server receives a request, it has to figure out what piece of code to run to process this particular request. Any element of the request can be used for this routing, but in practice, most web frameworks use the path part of the URL. Defining expressions like these ones: "/resources/:id" => "some code to do something" "/users/:name/profile" => "some code to do something" ... And these implementations seem to use the same strategy to determine the matching route. They convert the path string of each rule into a regular expression, evaluate the rules in the defined order,... Continue reading
Posted Feb 7, 2013 at ant0ine's blog
Comment
0
Antoine added a favorite at Art de Vivre
Jan 27, 2013
Antoine added a favorite at The Winter Webb
Jan 27, 2013
B2D categories and examples
B2D (Business To Developers) is something trendy these days. It seems that we, developers, form a special group between Consumers (B2C) and Business (B2B). As an exercise, and to get a better picture of this market, I tried to cut that in categories and find examples for each. Service names are just examples, there are a lot more. But what do you think about the categories ? Source code management Version control, collaboration and bug tracking. Github, Bitbucket, Codebase, ... Project management Task management, bug tracking, project management, agile/scrum tools. Jira, PivotalTracker, Trello, Sprintly, ... Testing and Continuous Integration Test... Continue reading
Posted Jan 22, 2013 at ant0ine's blog
Comment
0
Antoine added a favorite at Art de Vivre
Jan 7, 2013
Antoine added a favorite at abe hassan | blog
Dec 26, 2012
Antoine added a favorite at Hey!
Nov 30, 2012
Antoine added a favorite at abe hassan | blog
Oct 31, 2012
Antoine added a favorite at while(1) { fork; }
Oct 1, 2012
I should have taken my telephoto #americascup
Posted Aug 18, 2012 at ant0ine's blog
Comment
0
Boats being prepared for the race next week #americascup
Posted Aug 17, 2012 at ant0ine's blog
Comment
0
Antoine added a favorite at Internet Tubes
Aug 10, 2012
Back in California, ending this long day by a quick walk to say Hi to the Pacific
Posted Jul 26, 2012 at ant0ine's blog
Comment
0
My ride for the next 11 hours
Posted Jul 25, 2012 at ant0ine's blog
Comment
0
Sunset over Copenhagen from Sweden
Posted Jul 24, 2012 at ant0ine's blog
Comment
0
Good morning Copenhaguen !
Posted Jul 22, 2012 at ant0ine's blog
Comment
0
Test Eiffel Tower Fisheye #olloclip
Posted Jul 13, 2012 at ant0ine's blog
Comment
0
Apollo meets Soyuz (1975)
Posted Jul 11, 2012 at ant0ine's blog
Comment
0
French touch in DC
Posted Jul 11, 2012 at ant0ine's blog
Comment
0
More...
Subscribe to Antoine’s Recent Activity


