***: nuke^ has joined #arpnetworks
ChanServ sets mode: +o toddf
Thorgrim1 has quit IRC (Read error: 60 (Operation timed out))
Thorgrimr has joined #arpnetworks
heavysixer has joined #arpnetworks
ChanServ sets mode: +o heavysixer
vtoms has joined #arpnetworks
Ta| has quit IRC (Read error: 60 (Operation timed out))
Thorgrimr: Where, oh where has my server gone :(
jeev: who knows
mike-burns: http://bash.org/?5273 - ?
jeev: heh [09:03] <sroute> lost a machine... man, I wouldn't want to have to clean *that* place
sroute: up_the_irons: perhaps we'll see another SSL security advisory soon: http://www.links.org/?p=780
Nothing on FreeBSD advisories as yet. http://www.freebsd.org/security/advisories.html
TLS working group to submit a revised protocol http://www.ietf.org/mail-archive/web/tls/current/msg03948.html
This man-in-the-middle attack vector is brought to you by new Diamond-shaped Shreddies.
***: vtoms has quit IRC ("Leaving.")
jeev: time to hack everyone!
***: ballen is now known as ballen|away
jeev: lets hack 3dnow to make it work on kvm
;)
or kvm to work on 3dnow haha
charter bringing 60 megs to cali
but what's the point if you could only sustain 15megs
;)
***: ballen|away is now known as ballen
jeev: oh apparently burbank/glendale is on docsis 3
ballen: how much are they charging for that
jeev: 140 standalone, 130 bundled
ballen: for 60?
jeev: looks like arpnetworks will be hosted on charter soon! just kidding
yea, pointless. charter barely delivers 10 megs when you sub to 20
i mean sometimes it's fast, most of the times it sucks
ballen: lame
jeev: they seem to have 3-6 month periods where they're decent, then 3-6 months where they suck
ballen: meh... shared bandwidth
I suppose all bandwidth is shared
its just at what level
I see qwest and AT&T are running fiber to the neighborhood, having a DSLAM in each neighborhood, then running short dsl runs to the house
jeev: yea, i have that now
uverse
toddf: cox in oklahoma city does good on what it promises, I pay for 15/1.5 and get every bit of it and more at times, supposedly going up to 50/25 soon, and I believe I'll get most of that too
ballen: ah right
nice
toddf: business class may make a small difference, dunno
jeev: too bad att is pathetic, too pathetic to just wire fiber to people
att wireless is suing verizon for their commercials
haha
the funny thing is the maps they put on the commercials are true.
toddf: too bad cox is pathetic with its fiber, I can get 256k/s fiber with unlimited IP's for $95/mo (multiply by four, gee, we have just shy of the cost of a t1), and 10mbit/mo for $2k/mo .. its truly pathetic given what their cable side is gonna do (but no unlimited ips *sigh*)
jeev: unlimited ips ?
toddf: if the sales person and rumors hold true, my $89/mo for home business and $114/mo for office space business are both gonna get 50/25
jeev: what, ipv6 ? .loo
l
toddf: jeev: unlimited in that as long as I can justify it they keep them coming
jeev: that's always been untrue
toddf: trust me, I can justify a lot with my equipment
jeev: they just say that
they'd be stupid to give a hundred dollar customer something more than a /25 prob
toddf: something tells me their unlimited promises would be greater than 5 I've been given
jeev: even more than one ip!
crazy
***: ballen_ has joined #arpnetworks
ChanServ sets mode: +o ballen_
jeev: ballen
what was that blogging sutff you told me about last time
ballen_: scanty-redis
***: ballen_ has quit IRC (Remote closed the connection)
ballen has quit IRC (Remote closed the connection)
jeev: scanty
sounds nasty
up_the_irons: Thorgrimr: send me your SSH pub key and I'll give you access to our new management console, where you can soft restart, hard restart, boot, serial-over-IP, etc... your VM :)
sroute: interesting SSL stuff
Thorgrimr: up_the_irons: Enroute
up_the_irons: Thorgrimr: tnx
Thorgrimr: you back up now?
Thorgrimr: Yessir, thank you
Trying the portupgrade again... not sure what the heck it did
up_the_irons: toddf: apparently they haven't heard about IPv4 run-out ;)
Thorgrimr: see email for console instructions
cd $offie
Thorgrimr: danke
toddf: up_the_irons: some of them have, just that service offerings today don't reflect that; supposedly client side v6 will come within a year or so, but I will hold my breath till it arrives
jeev: whereis ballen damnit
this scanty or redis thing doesn't work
or shall i see, the ruby thingy
did a make buildkernel on a somewhat utilized fbsd server
got 14 minutes
arp took 18 minutes
mike-burns: If you just want a blog engine and don't care about the underlying technology, Wordpress is the way to go.
jeev: i think that providers need to offer vps's with 200-250 gig raid 1 storage
and it'll be really good
mike-burns, i dunno man i never liked wordpress
i want something secure and nice
whatcha think mike-burns?
i need security mainly, thinking about launching a blog on ahmadinejad.org
mike-burns: I don't know of any secure blogs.
jeev: that makes fun of right wing politics and half the american population for being idiots
bah
mike-burns: Wordpress is the most popular, so there's that.
jeev: yea
anyway, this scanty issue is probably due to my ignorance of ruby
it's giving some errors
toddf: someone want to point out `secure' blog software? I'll host it ;-)
jeev: heh
the most secure one
vi index.html!
toddf: vi indeed is a secure blog
jeev: damnit
maybe i should try putting scanty on linux first
mike-burns: What's the problem?
jeev: probably missing some deps
i'm so glad i nistalled xen on a slack box and installed slack guests ;)
non vt hardware, that's what's so fun
/usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- blankslate (LoadError)
same on freebsd/slack
some stuff below too but still
mike-burns: sudo gem install blankslate
jeev: i tried, maybe i didn't with gem
ERROR: could not find gem blankslate locally or in a repository
mike-burns: sudo gem install JackDanger-blankslate -s http://gems.github.com/
jeev: http://github.com/masover/blankslate
yea
that's not working by the way
i dont know how github or gem install works but maybe it's
masover-blankslate ?
yea, masover worekd
now, missing iconv
mike-burns: cd /usr/ports/converters/ruby-iconv && sudo make install clean
jeev: jeebus, i hate this
mike-burns: Relax, it's fine.
jeev: ruby is cool though, no ?
is that what is to be learned nowadays ?
mike-burns: No idea.
It was pretty hot five years ago. I think Scala or Erlang or something is big today.
jeev: yay, works
five years? damn
mike-burns: Maybe six or seven. Whenever I started in Ruby, it was hot.
jeev: crazy
so its' running but i dunno what to do now
maybe i'm just an idiot, i should really consider reading things
mike-burns: So you have a server running somewhere, I guess?
Maybe port 3000, maybe elsewhere. Probably a config file.
jeev: [2009-11-05 13:01:43] INFO WEBrick::HTTPServer#start: pid=73374 port=4567
ohhhhhhhhhhh
so i just launch that on 80 or something
mike-burns: Yeah but don't use Webrick.
This is a Rails app, I assume?
jeev: yea
mike-burns: If you're using Apache, look into Phusion Passenger. If you're using nginx then you care about things like memory and speed a little too much and should look into Thin.
jeev: na
just nothing really
but webrick is bad ?
mike-burns: WEBrick is the easiest Rails/etc. Web server to get running, since you basically do nothing for it. It's perfect for developing a Rails site on your laptop, but it can't handle too much traffic.
Another easy route is Mongrel. You can just 'sudo gem install mongrel' and script/server will use Mongrel instead of WEBRick.
But you may want mongrel_cluster instead, since that can handle more traffic.
jeev: how much is regular traffic
like a meg or two is too much ?
mike-burns: Two concurrent clients is too much for straight-up WEBRick or Mongrel.
jeev: jeebus
maybe i should plug it into apache
mike-burns: That's not a fault of Mongrel, mind you; Mongrel isn't meant to be a full Web server. It's an application server for handling exactly one client really well.
jeev: gem install passenger;passenger-install-apache2-module
mike-burns: You will need either Apache or nginx.
-: sroute resists talking about Python
mike-burns: Sure, Python is irrelevant to setting up scanty-reddis.
sroute: oh for sure... I'm just interested in web server/app interfaces having been there done that over the years in python land
up_the_irons: my piece: if you're gonna run Rails or Rack apps, use Passenger. It is SO MUCH BETTER than managing Mongrels with nginx / thin / w/e...
it is the way web app deployment *should* be
mike-burns: Yeah.
up_the_irons: I have rails apps and sinatra apps sitting together on the same server, and Passenger serves them without me thinking about it
jeev: hmm brb
up_the_irons: it is a joy
jeev: so i got passenger, set up apache for it
sroute: but ruby hurts my eyes so I'm not likely to dive deep into Mongrel et al. Highest performance interface I've typically seen is either a) mod_proxy or any web server proxy module (which is applicable to Ruby apps and Python) or mod_wsgi (apache, python only); or mod_scgi I find works extremely well and have used it for years (some ruby folks use this too)
jeev: how do i attach it
-: sroute heads off to read and understand Passenger
mike-burns: Passenger is Rack's mod_wsgi.
up_the_irons: i like python, but I can't stand that whitespace is significant; it is just a philosophical thing I don't agree with
you guys ever seen the language "whitespace" ?
mike-burns: I never noticed the syntactic difference between Python and Ruby.
sroute: incidentally, an arpnetworks vm running my framework of choice, returning a fairly simple html page with a couple of trivial db lookups -- I can churn out 900+ req/second
up_the_irons: if not, this is truly a good read: http://compsoc.dur.ac.uk/whitespace/
sroute: not bad.
mike-burns: up_the_irons: That's a SKI-combinator language using space and tab, right?
up_the_irons: mike-burns: yup
sroute: re whitespace, likewise, I can't stand the use of "end" everywhere (ruby) or "{};" (many others
up_the_irons: SO HILARIOUS
sroute: anyway, whatever fits our brains better is what we should use.
up_the_irons: sroute: but given the choice, I'd take "end" or "}" or ")" over whitespace significance. It is simply more explicit. Did you use a space instead of a tab in your Makefile, anyone? ;)
sroute: ah, but I write a lot more code than Makefiles ;)
up_the_irons: just an example, DON'T CHANGE THE SUBJECT ;)
mike-burns: Haskell has whitespace-significance. Luckily they made it such that the language is hard to learn regardless of syntax.
up_the_irons: the one advantage though, that I do like, is: it forces all code to be indented consistently
sroute: configuration files the world over have their own idiosynchracies...
up_the_irons: mike-burns: LOL
sroute: that's one of the main reasons I like Python... reading even bad code is easier, although I try to avoid having to do that.
up_the_irons: yeah
sroute: agreed re Haskell; played a bit with it but... ugh.
mike-burns: I'm a really big Haskell fan.
sroute: part of my dislike for haskell probably stems from how long it takes to build the sucker! (half-kidding0
mike-burns: Ha, ghc is a pain. They sped it up for the latest release.
up_the_irons: i run xmonad, and indeed it took a long time to build haskell
***: vtoms has joined #arpnetworks
sroute: having said that, I have been meaning to force myself to actually learn a new language; from mainframes in the 80's to now I've had to work with a few but stopped in 2003 with Python; time to expand my brain again.
mike-burns: Well I suggest Haskell.
sroute: up_the_irons: indeed I recently wanted to play with xmonad which is why I started playing with haskell briefly. Never got round to messing about with xmonad. I run a slightly hacked version of dwm here, which i quite like
tiling wm's are where it's at for me at least.
mike-burns: is there a decent web framework for Haskell? It might be more interesting for me and keep my attention if I can build a few toy solutions
mike-burns: There is no decent Web framework for Haskell.
sroute: sad.
mike-burns: The most popular is HappStack.
I use Haskell for GUIs and daemons, mostly.
sroute: In python popular != decent necessarily
what gui platform?
mike-burns: GTK
sroute: are there nice bindings? cross platform (win and *nix)?
mike-burns: They're just the standard GTK bindings.
There are also really nice bindings but they're not as well-maintained.
There's some functional-reactive GTK binding (grapefruit-gtk, I think) that looks really hot.
up_the_irons: sroute: yeah, i like xmonad. i was using wmii before that, which i also liked, but xmonad is nicer
sroute: oh I remember wmii too, hung out on their channel for awhile. dwm I prefer as it is simpler and my needs required a minor patch early on; recent versions obliterated the need for that. About the only thing that picked me was having to write a little routine for a decent status bar so I have a python daemon that does that now, using xlib to update the root window name area
mike-burns: is there a "simple" web framework for haskell? wouldn't mind looking at something deliberately slim first, just as an intro. Alternatively I could think of a daemon or two I've been meaning to write, including a policy server for postfix
mike-burns: sroute: There's a Rack-like (WSGI-like) framework called Hack.
http://github.com/nfjinjing/hack
There's also a Haskell Web server named Hyena that you'll see referenced. IT's very minimal but gets the job done.
sroute: thanks, having a look at some code... helpful to see something I deal with every day.
jeev: hrmf
so i've gotta understand this
passenger thing
how do i get this to work!
is it lack of documentation or lack of caring
mike-burns: Lack of caring.
So you gem install it (which you did) and you run the Apache installer (which you did) and you set up a vhost.
What's not working?
jeev: yea
when i point the virtualhost
documentroot and what not, what's supposed to happen? how is it supposed to actually execute, there aren't any php or html files
i mean i have to 'ruby main.rb' for it to listen on it's port
how does passenger happen to start it.. and do it by itself
mike-burns: It runs public/dispatch.rb, approximately.
It was once the case that public/dispatch.rb was the entrance-point to a Rails app; I assume it still is.
But Passenger takes care of that; you just point DocumentRoot at the public/ dir and hit the vhost over HTTP.
jeev: i've only got main.css in public
mike-burns: Ah, this is not a Rails app.
I hadn't looked at scanty-redis until just now.
jeev: :<
mike-burns: Oh this is Sinatra?
jeev: yes
mike-burns: http://www.modrails.com/documentation/Users%20guide.html#_sinatra - there's this.
I've never deployed a Sinatra app.
You need a config.ru in the root of your app with that code in it.
http://vinnyt.org/2009/03/13/deploy-sinatra-app-with-phusion-passengerapacherack/
http://gist.github.com/98297
jeev: hmm
public
works, weird
the config.ru that had come with it was fine
***: vtoms has quit IRC ("Leaving.")
mike-burns: Oh cool.
jeev: i wonder how it works to restart it
tmp remove ? eh
mike-burns: You're supposed to be able to touch tmp/restart.txt and that will restart it.
This worked for me for a bit, then stopped; these days I just restart apache.
jeev: yea
i dont have a tmp
but lets see
worked here
so touch and remove it eh
cool, thanks for your help
i've gotta make this look sexy
mike-burns: Any time.
jeev: when i get some comfortable time, i'll try doing some cool stuff
had you heard about scanty before?
i think earlier you said you hadn't
mike-burns: I hadn't, no.
jeev: ahh
seems simple
cool
it looks good, i img src'd an image, looks very simple
***: heavysixer has quit IRC ()
cablehead has quit IRC ("Leaving.")
dbgi2IAm is now known as dbgi
cablehead has joined #arpnetworks
ChanServ sets mode: +o cablehead
heavysixer has joined #arpnetworks
ChanServ sets mode: +o heavysixer
ballen has joined #arpnetworks
ChanServ sets mode: +o ballen
heavysixer has quit IRC ()
heavysixer has joined #arpnetworks
ChanServ sets mode: +o heavysixer
heavysixer has quit IRC ()
ballen: anyone ever ship a car before?
jeev: my friend has
oversea's
bbl
mhoran: That sounds like fun.
up_the_irons: jeev: you want 200-250 GB RAID 1 storage? (from earlier) And how much you think providers should charge for that?
mhoran: They should pay me for it!
vxp: same
up_the_irons: jeev: when your sinatra stuff is up, let us know
LOL
***: ballen has quit IRC ()
jeev: it is
been up
up_the_irons, im saying like
if people want to save power, save space and stuff
i built kernel in 14 min on a dedi from krypt.com, basic core 2 duo i'd say
people should be willing to pay a little premium for that space
the hard drive space
up_the_irons: jeev: that space would probably cost more, i'm sure
jeev: yea
up_the_irons: jeev: what is your site url?
jeev: even if not raid 1
up_the_irons: the sinatra one
jeev: www.jeev.net
up_the_irons: hehe, nice
jeev: you had one, no ?
up_the_irons: one what?
jeev: running this scanty stuff
up_the_irons: no, i think ballen does
jeev: ahh
anyway
if people wanna go 'green'
they should get a vps like this
with a bigger drive
if that's what they need, you know
save the space
you gonna get 60 meg charter?
up_the_irons: no
i'm not in a charter area
i'm in el-sucko land
vxp: down_the_irons
up_the_irons: lol
jeev: who's el-sucko
earthlink ?
heh
that's the only e i know for isp
up_the_irons: jeev: time warner