« first day (193 days earlier)      last day (5068 days later) » 

21:00
@ajmitch I didn't look at it, there is also an example place in python somewhere, which I used as a base, but it's full of tabs, lines that are too long, general unpythonicness
I've been planning to offer my help with it for weeks :\
@StefanoPalazzo What is the ID of that question?
@GeorgeEdison by "should not return" I mean as the first result
@GeorgeEdison 6339
I found it using the built-in askubuntu search, which doesn't pass the test :P
It fails on the second one.
...but that's because it's not filtering out 'to' I think.
@Jacob: So which platform would work best...?
21:05
you'll find you have to come up with some serious magic to make "how do I" equal to "how to", without explicitly defining it somewhere
I spend most of the day doing that
@GeorgeEdison umm first question is does it need to be Load balnced?
@Jacob Mine doesn't. It'll run fine the way it is.
It's already designed to avoid deadlocks between different socket connections.
...so really the only other thing I could do is multithread it.
...which is unnecessary right now.
@GeorgeEdison Ok than windows still, though I have 2 processors on that box :)
@Jacob I don't need it either
@Jacob do you have a free choice of windows or linux?
@StefanoPalazzo I have both boxes
21:09
I could multithread it if need be.
@GeorgeEdison I mean the processor is 3.06 GHZ, is that all you'll need?
@Jacob I vote linux :-)
Me too... but I'm flexible.
The advantage with Linux (Ubuntu in particular) is APT.
That makes it easy to package it and update it.
how many apps am I hosting here?
It appears like 2?
21:11
From my point of view, forking in windows is quite a bit worse
And I do some of that :-)
In other words, Windows != POSIX :)
@Jacob maybe, how much ram does the box have?
@StefanoPalazzo currently 4GB
That's plenty.
If ram is tight, it might be good to let @George go ahead with his program
21:14
I can increase it, but I'm low on funds
Mine uses about 40MB :P
@GeorgeEdison how much do you use?
@StefanoPalazzo I have 3 servers though
@GeorgeEdison oi nice (:
That's specifically for the AU data dump.
21:15
it sounds like four gigabytes will be sufficient, I'm using at most one gigabyte, including a big least-recently-used cache
It basically uses (bytes for question titles + word size) * questions.
I'll make sure to put lots of →arrows← in my question so it uses a bit more ;-P
@StefanoPalazzo How will this run under high load?
@Jacob load makes no difference, the memory is allocated once and forever, and it's not touched again afterwards
as for performance, I have no idea (:
Same here.
21:20
@StefanoPalazzo hmm, I think I found teh flaw
No disk I/O after it loads.
CPU is the biggest factor here
@Jacob sysadmin question: How do you test such things?
simulating say 1000 requests to particular urls in one minute
something like that
@StefanoPalazzo you hook it up and load it until something cool happens
21:23
heh
I only have 18 days left :-)
@StefanoPalazzo huh until?
@Jacob that's when ubuntu 11.04 ships
Are we trying to get it up and running on that day?
@StefanoPalazzo oh? than you run it now, I run some neat apps to simulate load
@GeorgeEdison well, the Lens works rather well even without a server, this should be more of a long term project I s'pose
21:25
and we see what it can take
that'd be super, how do we do that?
@StefanoPalazzo it makes http calls right?
So if it's possible... could we please have some sort of FTP access or something?
That way we can keep it up to date.
@Jacob it responds to http requests rather
but in future, it will get some stuff via http
@StefanoPalazzo whoops :( thats what I meant
I can setup Apache bench mark to hammer it
21:28
right :-)
Yeah... although mine just responds to TCP requests on port 12345 :)
But I can make it HTTP-compliant and change the port if necessary.
I should say, I don't implement the HTTP spec properly
not even 1.0
@StefanoPalazzo Well
then you give it to users to beta test
or
ono, it works very well indeed
Just full disclosure :)
you write a small app to load it with random requests
21:31
Does mine need to implement HTTP?
yeah I can do that, then give it to a few people to run for an hour or so
see what happens
@GeorgeEdison no
infact
I prefer you don't
@GeorgeEdison Qt doesn't have an embedded web-server does it?
so I don't have to use a IP just for your app
as I have a limited number
@StefanoPalazzo Not natively... but don't forget that I wrote JetHTTP :)
@Jacob Why is that?
Why do you need a separate IP address to run an HTTP server?
21:33
@GeorgeEdison unless you don't mind running on a nonstandard port?
@Jacob That's fine.
ok
That's kind of what I had in mind actually.
What port would work well?
yeah any port will do (or ports)
I had an idea.
Maybe my app should listen on two consecutive ports (like 9015 and 9016, for example).
...and respond to HTTP requests on one and raw requests on the other.
21:36
If you can write a small, like 10 line function in python, php, ruby, java, that takes care of abstracting it, I guess every app developer is going to be happy
I only use http because I had the server handy, it makes no difference to the speed of it (in my case)
Except HTTP adds some data to the request.
right, that's just measured performance, not sure what difference the amount of data makes
Normally it would be trivial.
But with so many requests, I wonder if it will make a difference.
@Jacob: So what platform am I targetting?
(So I know how to begin packaging it.)
@GeorgeEdison Sorry, but I'd like it to run on Windoze please
:)
@Jacob Okay.
I'll have to switch to Vista then.
I'll be back here in about 5 minutes or so.
21:42
has never compiled, or even run, python on windows
never mind python 3000
k I need to be off in a few minutes
I'll see you around @Jacob?
@StefanoPalazzo Later!
good good :) bye @Jacon, @GeorgeEdison
I'm back now.
Vista sure is slow :P
At least I have a handy little second screen here.
Hang on... my mouse batteries died.
Ah, there we go.
@Jacob: So I'm bringing up Qt Creator now.
22:00
@GeorgeEdison Awesome
It's running... so far so good.
Awesomer
22:17
Seems to work alright.
cool
Are we ready to try it out?
Sure
I'm in the process of uploading a ZIP file to my hosting account.
@GeorgeEdison ok
22:24
I'll give you the link once it's done.
A good one!
0
Q: Ubuntu 10.04 to 11.04

Jared ReyesI have a Dell Vostro V130 Laptop that runs Ubuntu 10.04 and I was wondering how can I upgrade to 11.04? Can you walk me through the steps please?? Thank you for your help

If it's okay with you, I can set up another DNS A record for this app.
Ok
What IP should I point it to?
umm 96.248.216.60
22:33
K. The domain is 'audata.quickmediasolutions.com'
@GeorgeEdison ok
@Josh that was fast
@Jacob I was summoned here...
@Josh Hey.
Hey @GeorgeEdison, how goes?
is @Jacob treating you well? :-)
@Josh Yup. Just fine.
22:35
I've been far too busy with moving to do much with hosting, so I'm glad he was able to take care of that!
@Jacob So what's this app I was summoned here to see? audata.quickmediasolutions.com?
Hey
wrong IP
stick with .59 please
but
Okay.
I fixed it now.
Its command line right, can you add a readkey so the prompt doesn't disappear?
...a readkey?
Yeah, so the prompt doesn't disappear until I hit a key, I like that so I know the app is running
22:48
Hmmm.... I'm not sure I quite understand yet :)
You want it to wait for input?
@GeorgeEdison Nevermind then
I'd like to implement whatever-it-is... I just don't know what it is.
@GeorgeEdison yeah, your waiting for input then :)
oh
what port needs to be open?
12345
But I can gladly change that.
If that port works, would it be possible to get the port above it opened too?
(12346?)
that works
22:52
I'm planning to have the server listen on the second port too - it'll respond to HTTP requests.
@GeorgeEdison ok
set
I'd test but I'm not on ubuntu sorry
Hmmm...
> "Connecting To 96.248.216.59...Could not open connection to the host, on port 12345: Connect failed"
I got that from telnet.
@GeorgeEdison hmm
I just started it
It looks like it crashes at start
I never see it in task manager
Hmmm.
Oh silly me!!!
I just remembered...
...it needs to be started with 'posts.xml' as an argument.
Sorry. My fault.
23:11
@GeorgeEdison hmm
example then?
hehe
audataserver posts.xml
Like that?
jiust -posts.xml/
Just posts.xml
"C:\Documents and Settings\Administrator\Desktop\audata\audataserver.exe" -posts.xml
Well, it doesn't need the dash.
23:15
AWEEEYEAH
It's... working!
Thank you!
Np
how are you testing?
Well, Chrome accepts raw data it seems.
So I'm just doing http://96.248.216.59:12345/
...and it gives an empty response.
(Which is what it's supposed to do.)
I'm trying to think of a way I can update this without bothering you every time...
Unlike Linux, I don't think Windows lets you update a file that's running.
@GeorgeEdison nope
So I'd need a way to stop the server, copy the new exec, and start it again.
23:20
Batch script
Hmmm... that sounds good.
I could set up my hosting account to have the newest version of the exec.
How would I run the script though?
I'd set it to run every week or so?
Well
TBH
Maybe every couple days at first?
I'll setup you an account
on my server '
Really? Well, thanks.
23:30
NP
I get to in a few though
kinda busy at this second
Me too :)

« first day (193 days earlier)      last day (5068 days later) »