Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jasonmoo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
jasonmoo
14y ago
Yes! I don't think the memoization that you used in yours will work with the Varnish module format, but I think you had a good speedup even without that. For now we're just releasing the code.
62.
▲
by
jasonmoo
14y ago
This is the fully-functional, fast Varnish URL query string param sorter that won our coding competetion. I wrote about my entry a couple weeks ago: http://blog.jasonmooberry.com/2012/09/what-i-learned-from-my... This one beat mine by ab
63.
▲
Boltsort - The winner of Vimeo's C code challenge
(github.com)
5 points
by
jasonmoo
14y ago
|
3 comments
64.
▲
by
jasonmoo
14y ago
Go is a young language with a growing community that should only get better as more minds come to it. For me it's very accessible for rapidly developing heavy-lifting tools, in particular networking tools. It's not the only language but it
65.
▲
by
jasonmoo
14y ago
There's a slick demo of this running at: http://ec2-67-202-26-167.compute-1.amazonaws.com
66.
▲
Vimeo Tailgate - a simple way to watch your logs
(github.com)
19 points
by
jasonmoo
14y ago
|
5 comments
67.
▲
by
jasonmoo
14y ago
Wow Sam great to see the traction you've been getting on this. Congrats.
68.
▲
by
jasonmoo
14y ago
Thanks!
69.
▲
by
jasonmoo
14y ago
Interesting find.
70.
▲
by
jasonmoo
14y ago
I think this is a valid point. I usually try to rely on the optimizations that are already done for me. I think in this case the strcmp function may be doing some extra work based on locale/collation that I don't need to consider in my co
71.
▲
by
jasonmoo
14y ago
Hey thanks for the suggestions. One thing that I found is that testing both strings for null actually performs faster because you may have parameters of different lengths and bailing on the null character of the shortest is ideal. And act
72.
▲
by
jasonmoo
14y ago
Thanks. I haven't seen it anywhere else, but can't really be sure I came up with it. Just seemed like a good optimization.
73.
▲
by
jasonmoo
14y ago
Awesome code review. Thank you.
74.
▲
by
jasonmoo
14y ago
I had this same experience. Literally giggled a little bit on the subway when it hit me.
75.
▲
by
jasonmoo
14y ago
Varnish has actually been a great tool for us. The 3rd party url-sort plugin that we tried was not. Had a memory leak that caused the server to crash periodically. Once the url-sort module that we're building as part of this code challen
76.
▲
by
jasonmoo
14y ago
Thanks guys. This is great info. I messed around with different types for the length value in the struct. Figured something like this was involved.
77.
▲
What I learned from my first C coding challenge
(blog.jasonmooberry.com)
136 points
by
jasonmoo
14y ago
|
83 comments
78.
▲
Dropbox integration arrives at Vimeo
(vimeo.com)
3 points
by
jasonmoo
14y ago
|
0 comments
79.
▲
by
jasonmoo
14y ago
I think it's pretty trivial to change the htaccess rewrite rule into an nginx/lighttpd rule.
80.
▲
by
jasonmoo
14y ago
There are benefits to keeping your routing in your app. Using different route sets based on environment variables, specifically migrating from one version of an api to another is not possible or easy with a purely htaccess router. But I ag
81.
▲
by
jasonmoo
14y ago
Wow fantastic code review! I'm a minor contributor on this project and those changes sound great.
82.
▲
by
jasonmoo
14y ago
Most frameworks hide including views by way of extract() and output buffering. There's no real benefit to doing that on a small app. And no benefit on an api.
83.
▲
by
jasonmoo
14y ago
Not sure how adding some input filtering and tests would make this an unmaintainable mess..? The code is actually pretty tight and is optimized for empowering a developer rather than inflating the bumpers of your bowling lane.
84.
▲
by
jasonmoo
14y ago
Yeah me too. It's been a great tool for me as well.
85.
▲
by
jasonmoo
14y ago
The toro mascot on the main site is pretty cool. http://toroweb.org/
86.
▲
Toro - a php micro-router with great examples
(github.com)
34 points
by
jasonmoo
14y ago
|
54 comments
87.
▲
Botanicus Interacticus: Interactive Plant Technology
(disneyresearch.com)
1 points
by
jasonmoo
14y ago
|
0 comments
88.
▲
Jsmn, a minimalistic JSON parser in C
(zserge.bitbucket.org)
89 points
by
jasonmoo
14y ago
|
35 comments
89.
▲
by
jasonmoo
14y ago
Oh I like this. I was messing with a similar tactic appending a textNode to an HTML element but this is much more elegant.
90.
▲
by
jasonmoo
14y ago
I like it. Here's a slightly more stable version. But still not crazy about using eval on arbitrary code. O.O function render(tpl,data){ return tpl.replace(/{([^\}]+)}/g,function(_, key) { try { return eval
More ›