Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chrismoos
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
AjaxTask - Rails plugin for managing background tasks
(chrismoos.com)
2 points
by
chrismoos
17y ago
|
0 comments
32.
▲
by
chrismoos
17y ago
They are rather low...I figured that would be good on a limited memory configuration (maybe not :( ). query_cache_limit = 1M query_cache_size = 16M key_buffer = 16M max_allowed_packet = 16M thread_stack = 192K thread_cache_size
33.
▲
by
chrismoos
17y ago
Honestly, the first thing I did was add indexes. On device_id, user_id, and date_added. I'm using Linode and I kept getting these I/O notifications...and the site would load extremely slow at times. After looking at the log of my Rails app,
34.
▲
by
chrismoos
17y ago
ActiveRecord... The SQL was pretty simple I believe..select * from location where device_id = ? order by date_added desc limit 6...something like that. Edit: Also, I don't know how much it matters, but MySQL probably only has ~256mb memory
35.
▲
by
chrismoos
17y ago
I had indexes on id, user_id, device_id, and date_added, but maybe I was doing something else wrong. I'm not a database expert :(
36.
▲
MySQL and partitioning tables with millions of rows
(chrismoos.com)
11 points
by
chrismoos
17y ago
|
21 comments
37.
▲
by
chrismoos
17y ago
I started learning it about 6 months ago, and was in Hungary from July - September. The language immersion helped me a lot....no one speaks English in Magyarorszag :).
38.
▲
by
chrismoos
17y ago
Hungarian is pretty difficult for me as a native English speaker. Spanish/French aren't bad.
39.
▲
by
chrismoos
17y ago
I didn't say you needed EJB's. I just said that it was a J2EE pattern which I attempted to follow. Servlets/JSP/SpringMVC aren't too bad... And I'm sorry if I'm part of the constant bashing, it wasn't intentional, just using Java recently m
40.
▲
by
chrismoos
17y ago
I really never do manual memory management anymore, unless I'm doing a performance sensitive project in which I feel like I want to be really close to the metal. I'm usually programming in Python/Ruby/Erlang...GC!
41.
▲
by
chrismoos
17y ago
Manual memory management, in most circumstances, is a waste of time. I really don't enjoy it, but it did teach me that a resource like memory, is finite. I think in today's world, most people that learn programming in college, don't really
42.
▲
Why I didn’t like Java 5 years ago, and why I don’t like it now
(chrismoos.com)
3 points
by
chrismoos
17y ago
|
6 comments
43.
▲
Libactor, enjoying the actor model in C
(chrismoos.com)
2 points
by
chrismoos
17y ago
|
0 comments
44.
▲
FreeSWITCH Caller ID Spoofing (with Python)
(chrismoos.com)
1 points
by
chrismoos
17y ago
|
0 comments
45.
▲
Building an erlang chat server with comet, Part 3
(chrismoos.com)
1 points
by
chrismoos
17y ago
|
0 comments
46.
▲
by
chrismoos
17y ago
I use Asterisk, managed via FreePBX. It works pretty well if you don't have that many users. I use a SIP trunking service with a DID. Siphon (SIP client) for my iPhone, Telephone on OS X, and also forwarding to my normal cell. I've heard re
47.
▲
by
chrismoos
17y ago
demo up here: http://chat.tech9computers.com
48.
▲
Building an Erlang chat server with Comet – Part 2 (w/ source)
(chrismoos.com)
3 points
by
chrismoos
17y ago
|
1 comments
49.
▲
Building an Erlang chat server with Comet - Part 1
(chrismoos.com)
10 points
by
chrismoos
17y ago
|
1 comments
50.
▲
by
chrismoos
17y ago
Just set limit now to 256.
51.
▲
by
chrismoos
17y ago
Yeah, people are having fun trying to crash it. Had a unicode problem earlier (with mochijson).
52.
▲
by
chrismoos
17y ago
yeah, mochijson:encode and unicode, fixing that :)
53.
▲
by
chrismoos
17y ago
It's not very full featured, but I just wanted to see how well it works with more people in it. Any errors? Let me know.
54.
▲
Anyone want to help test my Ajax chat (Erlang)?
(chat.tech9computers.com)
20 points
by
chrismoos
17y ago
|
10 comments