« first day (203 days earlier)      last day (4814 days later) » 

7:00 PM
lol
 
Who wants a nice job "by the beach"? :)
 
Dam, but they work remotely. Unless remotely includes on the beach, in which case absolutely
 
I don't think I've ever seen an Erlang company before
 
3
Q: Death of Meta Tags revoked? Or why is there a beginner-guide tag?

OMG PoniesSaw someone wanted to edit the wiki for the "beginner-guide" tag. Has policy reversed so meta tags are in vogue... again :/ If not, please remove the beginners-guide tag.

 
Darn nofollow tags on the CV links
 
7:10 PM
@DanGrossman Only if they have large picture windows which face it, and the beach happens to be public.
 
That sounds great, though occasionally distracting
SecurityMetrics killed a VPS of mine by starting an unannounced, unpaid-for PCIDSS scan this morning. Their site is broken so I can't even log in to find out why.
 
Why did it kill your server?
 
Something they did spiked an apache process until the VPS ran out of memory and the kernel decided to kill mysql to free some.
 
scratches head
 
nice. So why not fix Apache then? (and by fix, I mean either configure it properly or replace it with a more sane server)
 
7:13 PM
Heh.
I'm not sure what they did that killed it. I can't log in to see the scan report either.
My Apache log is just filled with pages and pages of "Invalid URI" and "Action does not exist" junk, as their scan always produces
 
How's apache running? mpm? worker?
 
Not sure, however it comes out of the box on the RHEL/CENTOS package.
 
vim /etc/httpd/conf/httpd.conf
 
It's on a VPS for good reason, it normally doesn't have to deal with much load.
That doesn't tell ya which one is active, as the default httpd.conf has configurations for both modules
 
right, but here's the thing
 
7:16 PM
<IfModule prefork.c>
StartServers         10
MinSpareServers      5
MaxSpareServers      15
ServerLimit          512
MaxClients           384
MaxRequestsPerChild  1000
</IfModule>

<IfModule worker.c>
StartServers         2
MaxClients         300
MinSpareThreads     25
MaxSpareThreads     75
ThreadsPerChild     25
MaxRequestsPerChild  0
</IfModule>
 
ps aux | grep /usr/sbin/httpd
 
Basically, everything is too high, but it doesn't matter the other 364 days of the year.
 
how many do you see?
 
And more importantly, what's in the 5th column (RES memory)
 
7:18 PM
> apache 8334 0.1 1.6 237196 26332 ? S 17:31 0:07 /usr/sbin/httpd
 
So each is using 26mb...
Now, you have a 512 server limit. 512 * 26mb == 13gb
In worker, you have 12 workers
so 12 * 26mb == 312mb
 
Where's 12 come from?
 
So since you have 16 workers, you're using prefork
12 == MaxClients / Threads Per Child == 300 / 25
 
oh, neat
 
So drop that ServerLimit down to something saner, like 20 (500mb ram / 26mb per child)
 
7:23 PM
Thanks, I will.
 
But if you need to sustain more than 20 connections, you'll need either more ram, or a new httpd server
(On my production box, lighttpd serves around 1500 concurrent connections using 6mb ram)
 
I set it to 40; the VPS has 1.5GB
 
Never question me again! I'm an expert on true and on false!
user image
4
 
But really, the server doesn't have to deal with much. It spends most of its day around 0.1 load.
 
Cool. It's not an exact science (since more goes into it than that). But 200 workers will quickly let you spiral out of control (like you did)...
 
7:25 PM
@balpha how about filenotfound
 
@balpha I wouldn't really brag about that too much if I was you
 
For high concurrency, I'm all about node.js these days :>
 
@balpha quit impersonating poor Benjamin like that!
 
@balpha 80th percentile on . Ouch
 
@Dan: I'm going to have to pit node.js against lighttpd+php-fastcgi to settle this. Right now, in my tests nothing has come close to what PHP can do (python + twisted came close), but I want to test pypy+twisted and node.js as well...
 
7:28 PM
@ircmaxell The thing is, I've come to love writing stateful servers. Rather than creating and tearing down environments on each request, I have a persistent environment that can do things like cache data without a separate memcache or something out there.
 
isn't exciting. 90% in , , , , and . 80% in , , , , and
@DanGrossman: but can you do that in a high request rate environment?
 
I'm doing it at a couple hundred requests per second
The tracking that runs W3Counter's new real-time dashboard is a node.js server
 
Right, but how many users (sessions)
 
around 10k
 
Really? and you don't run into memory issues with the state?
 
7:32 PM
The stuff I'm caching is global, except one string per user, which is nothing memory wise
 
will need to really look into mongodb + node.js as a replacement for lighttpd+php+memcached+mysql
 
Things like a list of users allowed to talk to the server for example
 
Is node public facing (port 80)? or are you proxying to it?
 
I have it open directly on 80 and 443 right now
 
hrm. I really need to do some more research on this...
 
7:34 PM
Non-buggy SSL support was added just a few weeks ago
 
Well, I have no need for SSL into node... All my traffic is http only...
But I'd love to do some reliable long-polling...
 
uhhh
 
Hi! :)
oy – interjection (used to express dismay, pain, annoyance, grief, etc.)
 
7:44 PM
Why do I get a smug sense of satisfaction by being able to use the phrase go beat the user with a wrench in a SO answer, and still get the answer upvoted (ok, out of context quote, but it's still fun to say)
 
I should've just copied the httpd.conf for that VPS from my w3counter.com instances
I removed all the modules I'm not using and tweaked the configs there, and those processes are <10mb each, even though they also load a bunch of geoip crap
 
Very nice
 
10mb still sucks, why's apache so big
 
I'm surprised apache isn't autoconfigured to limit itself to available memory by default. The default is to allow a spiral-of-death... Sad really
@Dan: because it's a worker style. Each request is handled in a single thread/process. And it's a kitchen-sink approach (toss it in unless there's good reason not to)...
 
I guess the PHP processes are using most of that memory too
APC says there's 9.9MB of cached opcode :x
> Request Rate (hits, misses) 200.60 cache requests/second
 
7:49 PM
On my production box, PHP instance uses about 2.5 mb per process and 60mb shared (per fastcgi root)
Xcache: hits: 13,105,079 misses: 1,123, clogs:164 (over the last 21 days)...
 
7.2/second? :)
 
yeah, haven't had any traffic... Only 1 million requests...
whoops, that's only for 1 node
 
200/second was only one node too ;)
 
total: hits: 25,581,878
(which isn't much better, but when you consider no traffic, it's not bad)
next high traffic event, I'll bounce the server first to get some real numbers...
 
This week I'll find out if anyone's written good non-blocking GD and mod_geoip libraries for node
tested with node-ancient, who knows how well it works
 
7:56 PM
I do use gd, but I can kill that if necessary
 
I'm really only using GD to write text onto existing images, I could replace that easily enough, now that you mention it...
node has good <canvas> stuff
 
Oh really? You're talking me into it more and more...
 
Okay:
Which userscript is doing this?
 
Or is it a bug in SO?
@RebeccaChernoff - Know anything about this?
 
8:00 PM
Bug in SO
I just saw it now
 
I made a change earlier to update the times on the stars
 
I saw that once, after getting disconnected from the internet then reconnecting
 
but it looks fine to me -- anyone reproing without any userscripts?
 
@balpha They mentioned it over in Gaming, but then it went away.
 
I can disable userscripts to test
 
8:02 PM
also, @Moshe, -1 for soulless circles
 
@balpha I've got a method to my circles now.
 
do you. :)
 
New layer, draw a rounded rectangle on each area to be selected, select the rectangles, contract the selection, delete the selection, layer style and then save.
0
Q: NaNd ago in chat stars list?

MosheI've been seeing this strange behavior on the starred list in the Tavern. It could be because, well, it's The Tavern, but... Here's a screenshot:

 
still soulless
no freehand
 
status-norepro-and-unnecessary
 
8:05 PM
@Dan: some scary stuff in there... Some stuff that proves the writers had no clue what they were talking about: github.com/kriszyp/pintura/blob/master/lib/jsgi/csrf.js
 
..wait for it...
better?
 
@Moshe Write a hidden message in the circles...
 
@ircmaxell There already is one:
> If you spend so much time on freehand circles, they turn into carpel-tunnelhand circles. Now go away.
 
Cola?
 
:D
 
8:07 PM
lol
 
@balpha - It took a short while, but it's back, sans userscripts.
 
it only runs every two minutes
 
@balpha - Well it's there. I updated my question for you:
2
Q: NaNd ago in chat stars list?

MosheI've been seeing this strange behavior on the starred list in the Tavern. It could be because, well, it's The Tavern, but... Confirmed in Safari 5 for Mac OS X 10.6.6 Snow Leopard. Tested both with and without userscripts enabled. The problem seems to go away when the page is refreshed or ...

@balpha - What code did you change?
Excuse me, but it seems that the code that refreshes after a star is different from what is run every two minutes. When I star, the times refresh properly.
 
yes
 
(redacted - I'm a fool sometimes, but I know how to admit it.)
 
8:12 PM
sighs
 
@TimStone - What is it now?
 
lol
 
Nothing, nothing.
 
@Moshe sure, just tell me real quick how to call a server side c# function from clientside javascript
without ajax; that's the whole point of doing it on the client
 
Ah, no idea. Heh, whoops.
 
I'm going to keep my nose out of this, please keep me posted on my meta question.
 
I see gist oneboxes have been made less extreme
 
@Moshe reproing in FF
looks like chrome is smarter than the rest of the browsers in parsing dates
I'll disable that code for now and check tomorrow
 
Herding cats, I tell you...
 
8:24 PM
@GeorgeMarian you should see the teachers lounge atm, talking of herding cats .. having a boatload of programmers in one room ... sheesh ;)
 
@drachenstern That's precisely what I'm talking about.
 
meeeooww
 
Every time they announce a new community such and such hire, I think "aww, did I miss out on an opportunity..."
 
(oh yes, bold and italic together works now)
 
Then I wonder how much more hair I'd lose. ;)
 
8:26 PM
@balpha Yeah, ISO 8601 gets absolutely no love in the Date constructor. You're likely better off storing the timestamp somehow.
 
good opportunity to start using data- attributes
 
Aye. :) I think that the date parsing gets better in FF4/IE9, but...heh
 
@balpha meaning like jQuery .data()?
 
@drachenstern no, we use that already
 
8:33 PM
but that doesn't work if the server is sending pure HTML
 
@balpha What? No stars for a whole day?
 
no, just the regular time updating
if you refresh, it will behave like always
 
@balpha I don't see stars now.
Ah
ok
better
 
if you use chrome, the times on the stars will get updated
 
@drachenstern - I'm still looking for that zip code thingy.
@balpha Chrome Supremacist, eew. :P
 
8:36 PM
@TimStone wait what? how is sending custom attributes a bad thing already? Or is there an api for extracting "data" elements for something?
 
@drachenstern It's invalid markup.
 
@TimStone why is that? doesn't that only matter if it's STRICT HTML? XHTML should allow it as valid markup
 
@TimStone that every browser since the stone age silently accepts :)
 
Yeah, it's more of a perfectionist thing than anything else. ;)
 
oh, ok
 
8:38 PM
@drachenstern It's only valid XHTML if you're using a custom namespace.
 
Heh, these zip codes are in a zip file.
 
using XHTML with custom name spaces is like saying "Hey officer, I made up a few laws, here's the book, please check them and arrest me if I broke any"
4
 
But yeah, there's an API for it as well, so it makes everything a bit more standardized. Otherwise it doesn't do much else that you couldn't technically do before.
 
@Moshe know anything about what?
 
The real solution of course is just for people to switch to Chrome.
 
8:40 PM
@Moshe Beware! Those are not postal zip-codes!
 
@RebeccaChernoff nm, you were just the natural one to blame first
 
@ircmaxell Where do I get postal code data from?
 
oh wonderful (;
 
@Moshe: you need to purchase them from the post office.
Those are close, they match up in most cases. But there are enough where they don't that I wouldn't trust it
Some are off by several hundred miles IIRC...
 
You don't have to buy them from the post office, you could buy them from some resellers
 
8:42 PM
I want my users to enter a zip code and then their city and state are entered automatically.
 
it's one of the things they use to monetize their system
 
You could try using google to match ones that haven't been matched before and storing them in a db :p
 
@drachenstern Well, Perhaps Google APIs is the answer here actually.
Google has that data.
 
8:43 PM
ya
 
I'm basically wondering, as a moderator that represents the community now instead of just a user, should I do anything about the mentioning of activity that is probably marginally illegal but I would've just ignored as 'not my business' as a passerby?
 
I was hoping to not need to spend on this or use external APIs, but this sounds cool.
 
I love when people say "you're right, and that answer is blindingly simple. I should have already thought of that."
 
@drachenstern Classic @drachenstern. Classic.
 
@badp: I guess it depends if the mentioning has any impact on it...
 
8:45 PM
"It depends", "It depends", I guess I'm not going to get an answer out of you :)
 
@badp Who are you possibly mentioning it to?
 
meaning: I'm trying to learn how to do this to hack google in a comment <- eih. But I need to regain access to my server since my client refused to pay me <- different
both are technically illegal, but one's a more moral judgement call about discussing then the other...
 
1. "I just got HL3 from BitTorrent"
2. "I just got HL3 from BitTorrent and here's the torrent link"
3. "I just put HL3 on BitTorrent"
 
@badp I would say that you have a moral obligation to do something about it, but not a legal one.
 
@badp I think @RebeccaChernoff should go through the official channels to get you an authoritive response. :P
 
8:47 PM
I'd kill all 3 personally. They don't have relevance to discussion... So there's no need for it
 
(None of the 3 is exactly what happened)
 
@ircmaxell but in reference to #3, there is a legal ramification that is worse than for #'s 1,2
 
@ircmaxell Can't say that in general
 
Actually #2 is the most dangerous for the site, in light of all of the lawsuits recently.
 
 15:47:11 : Dan Grossman: Hello. I have an HTC Evo 4G. If I purchase the "Sprint Mobile Hotspot" addon for my plan now, how long should I expect before I can turn on this feature on my phone?

 15:48:08 : Frannie K.: May I know that when you have purchased the $29.99 hot spot for the phone?
 
8:48 PM
@drachenstern: from a legal perspective, sure. But from the perspective of a moderator, I don't think there's a big difference between the 3 (except for the explicit link)
 
@ircmaxell which is what I said. He has a moral obligation but not a legal one.
 
 15:49:13 : Frannie K.: I am sorry .
 
@DanGrossman ...Heh
 
@DanGrossman wow, read much? zomg
 
@Dan: ha ha. I get mobile hot-spot for $0.00 per month...
 
8:49 PM
@ircmaxell Rooted your phone?
 
I should suggest next time you call them :p
 
@drachenstern: fair enough...
@Dan: nope. Right from the provider...
 
How?
 
Nexus S. It's a core Android feature that the carriers disable. But since the Nexus isn't controlled by Tmob, they couldn't disable it...
 
@drachenstern - Which Google API do i want to use? There are a bunch of APIs...
 
8:51 PM
@ircmaxell I don't know... I have the same hotspot feature on the same OS, the app runs fine, it's just that sprint kicks off your data connection entirely if you try to use it without subscribing.
it's enforced from the tower not from the phone
 
@Moshe hell if I know. There are some geolocating apis, but fwiw you could just screenscrape the google results for the first entry on a zip code
 
@drachenstern Interesting.
 
also keep in mind, there are some zip codes that overlap towns, so you can't be 100% accurate with that.
 
@Dan: really? Even with a rooted device they kick off your connection?
 
I don't have it rooted so I don't know. That's what happens when I do it with my non-rooted phone
I can turn on tethering and hotspot if I'm connected to wifi
Only if I have them turned on, and use 3G or 4G, my data connection is dropped entirely and I get a notification about a data failure
 
8:53 PM
eh?
 
@Dan: it's their software in the phone. It wouldn't be from the tower since how can they know if the phone isn't sending any info (it acts like a NAT based router)...
 
I can tether with PDANet without being dropped, but there's no non-root wifi tethering app I know of that works
 
@drachenstern Oh, I think I'm on the trolley now.
 
Woo Hoo, just got my first upvote in (2 actually)
 
@ircmaxell Nice.
 
8:56 PM
@DanGrossman That should tell you that it's not the tower doing it right there... Unless the core wifi tethering app sends a message, but I don't think so based upon my usage)
 
Herding cats...
 
@MarcGravell Not sure what you mean, but I seem to be able to log in just fine with the "ghetto option" you mentioned.
 
@PopularDemand (You sometimes get an error message that informs you that your login information is too old.)
 
@Popular - i.e. what did it say? anything?
 
@TimStone That seems to have only happened to me when Chromium was restoring the session.
 
8:58 PM
@TimStone "Too old"?! Why, you kids wouldn't have chat to play with these days if I hadn't stormed Sword Beach in war two....
 
@ircmaxell I'm slowly approaching silver; have never coded java. I guess some things truly are universal
 
@GeorgeMarian herding cats....
 
Ah, so much fun. :)
 
@MarcGravell Yeah, that makes more sense now that Tim mentioned that message. No, it was just a generic could-not-log-in as far as I remember.
 
I keep reminding myself of that every time I consider applying for that job.
 
8:59 PM
Heh :P
 
no rampant ageism here ;)
 

« first day (203 days earlier)      last day (4814 days later) »