Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ClifReeder
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
ClifReeder
12y ago
More often than not, the slowness end users experience is problems in the front end - not the database. Think uncompressed assets, cache misses, or unused javascript and stylesheets. It's very likely most pages in your application are
32.
▲
Inside the Batista Class
(theawl.com)
3 points
by
ClifReeder
13y ago
|
0 comments
33.
▲
Redis 2.8.5 is out
(groups.google.com)
6 points
by
ClifReeder
13y ago
|
0 comments
34.
▲
by
ClifReeder
13y ago
Seconding this. I've been doing something similar using OpenResty[0] and Redis. Handles millions of page views a day on a pretty low end server without breaking a sweat. Documentation on OpenResty is kinda tricky to wade through, but m
35.
▲
by
ClifReeder
13y ago
Welp, I had no idea about the int64 business. Probing on this, but it does seem like it changes things quiet a bit. UPDATE: After updating go from 1.0.2 to 1.1, this matches my results - it now takes about 2 minutes, 47 seconds to run throu
36.
▲
by
ClifReeder
13y ago
Hey everyone, thanks for all the input on this. As I mentioned in the post, programming competitions aren't my forte, and I have a lot to learn in that arena. All the feedback on how this should have been done more efficiently is great. In
37.
▲
by
ClifReeder
13y ago
To clarify, the Go program (which took under a second to run) was doing the same processing as the full Ruby program that took 50 minutes to run.
38.
▲
by
ClifReeder
13y ago
This is a good point that I didn't consider. Running the 'just iterate over the range version' of this code with jruby: [master] clifff@fair_and_square: ruby -v jruby 1.7.3 (1.9.3p385) 2013-02-21 dac429b on Java HotSpot(TM) 64-Bit
39.
▲
by
ClifReeder
13y ago
Performance isn't a judging criteria, other than you need to be able to provide the proper output from a given input within a certain number of minutes. For this problem, it had to be within eight minutes.
40.
▲
Ruby is too slow for programming competitions
(blog.clifreeder.com)
274 points
by
ClifReeder
13y ago
|
236 comments
41.
▲
You are boring
(yourmonkeycalled.com)
2 points
by
ClifReeder
14y ago
|
0 comments
42.
▲
by
ClifReeder
14y ago
Seems to be not redirecting anymore, but it definitely was for a while.
43.
▲
Side project: Albums of 2012
(blog.clifreeder.com)
1 points
by
ClifReeder
14y ago
|
0 comments
44.
▲
by
ClifReeder
14y ago
I believe if you do Post.find on a nonexistent id, a ActiveRecord::RecordNotFound exception is thrown, but this doesn't happen with the dynamically generated finders like find_by_id. Given this difference, it's possible you want to handle a
45.
▲
Living without the internet: how do you look at porn?
(theverge.com)
3 points
by
ClifReeder
14y ago
|
0 comments
46.
▲
Airbnb JavaScript Style Guide
(github.com)
27 points
by
ClifReeder
14y ago
|
3 comments
47.
▲
by
ClifReeder
14y ago
FYI, I bought my copy through the Chrome store because I've had so many negative experiences with PayPal. If it's preferable people buy through you, maybe doing something like Stripe would make sense?
48.
▲
by
ClifReeder
14y ago
Certainly fits in line with the 1% rule http://en.wikipedia.org/wiki/1%25_rule_(Internet_culture)
49.
▲
by
ClifReeder
14y ago
This is really useful, especially since I've been working on various responsive projects lately. Thanks!
50.
▲
by
ClifReeder
14y ago
Blog spam - the source article is here http://www.theverge.com/2012/9/5/3294545/nokias-pureview-ads...
51.
▲
What I learned from Stripe CTF 2.0
(blog.clifreeder.com)
2 points
by
ClifReeder
14y ago
|
0 comments
52.
▲
by
ClifReeder
14y ago
I never knew this kind of behavior had a name. Very interesting.
53.
▲
Singularity - A responsive, micro CSS framework
(singularity.gs)
1 points
by
ClifReeder
14y ago
|
0 comments
54.
▲
Leaving Janus for Vim
(blog.clifreeder.com)
2 points
by
ClifReeder
14y ago
|
0 comments
55.
▲
Building an S3 powered liveblog platform
(product.voxmedia.com)
13 points
by
ClifReeder
14y ago
|
1 comments
56.
▲
WWDC 2012 Live Blog
(live.theverge.com)
7 points
by
ClifReeder
14y ago
|
0 comments
57.
▲
Facebook App Center launches
(theverge.com)
3 points
by
ClifReeder
14y ago
|
0 comments
58.
▲
A Look At Chorus, Vox Media's Next-Generation Publishing Platform
(techcrunch.com)
3 points
by
ClifReeder
14y ago
|
0 comments
59.
▲
by
ClifReeder
14y ago
I've also been using this on production for about eight months with no issues. Mutli-file upload works great too. Best part is all the callbacks options that are available: https://github.com/blueimp/jQuery-File-Upload/wiki/Options
60.
▲
SXSWi 2012 Retrospective
(blog.clifreeder.com)
1 points
by
ClifReeder
15y ago
|
0 comments
More ›