up_the_irons: how does one make a "fake" Cisco switch anyway? I've always wondered....
-: ballen shrugs
ballen: with a soldiering iron?
ever see these: http://www.newegg.com/Product/Product.aspx?Item=N82E16833150065&cm_re=Cisco_48-_-33-150-065-_-Product
up_the_irons: ballen: never seen 'em
ballen: ahh FYI anything labeled smalled business from Cisco is Linksys
http://www.cisco.com/cisco/web/solutions/small_business/products/routers_switches/index.html?POSITION=LINK&COUNTRY_SITE=us&CAMPAIGN=SMB+Samba&CREATIVE=ESCAPE+HATCH&TIS=__0240_&REFERRING_SITE=CISCO.COM+SWITCHES
if you want, my best friend works at Cisco, I'll ask him if those switches are any good
up_the_irons: ballen: cool
ballen: likely they are crap
up_the_irons: haha
***: ConquerorX has joined #arpnetworks
ballen: so back to my problem of indexes and such
on post creation
I could populate a set that exists for each friend which the id of the new post
obviously this is crap load of sets
and creating a new post will slow down as number of friends increase
i suddenly have new found respect for Facebook, et. al
they use mysql as a last stop, with crap loads of memcache in front of it though
up_the_irons: ballen: have you looked at cassandra?
ballen: yea
up_the_irons: it's pretty wicked fast
ballen: indeed, and distributed where Redis is not
Although you can make redis distributed by some app side code
up_the_irons: yeah
ballen: its written in java though
and I have somewhat of a religious issue of putting JDK on FreeBSD
up_the_irons: yeah, unfortunately, all the distributed + key/value + mapreduce + ball of wax, things are Java
ballen: yea
up_the_irons: this will change
ballen: damn people running linux
up_the_irons: would be nice to at least see a python implementation at some point, then maybe C
ballen: python would be to slow
C would be good
hence Redis
up_the_irons: surely not slower than java!
you blasphemer
ballen: hah, Java is fast
faster than Ruby and Python
which I consider about equal
well at least Python 3 & Ruby 1.9
up_the_irons: don't make me bust out "/usr/bin/time -v java hello.class"
ballen: Python is way faster than Ruby, just do "/usr/bin/time -v hello.py" compared to hello.rb. about 10 times faster after the initial run (when it compiles to the .pyc)
ballen: http://shootout.alioth.debian.org/u32/benchmark.php?test=all&lang=python3&lang2=java&box=1
http://shootout.alioth.debian.org/u32/benchmark.php?test=all&lang=python3&lang2=yarv&box=1
always a fun website
up_the_irons: I don't think they ran the bytecode version...
really is quite a bit faster than ruby
Lua is pretty damn fast for an interpreted language
can't go wrong with C though...
fast, fast and fast
ballen: yep
Scala is interesting
as well as Clean
Clean was designed for math though
which most of those tests are
up_the_irons: ah
ballen: Yea Lua would be good to learn one of these days
up_the_irons: i "learned" enough of it to write some cool imapfilter scripts
it has a nice structure
ballen: http://www.keplerproject.org web framework for Lua
I really don't think the language is the barrier in most cases though, its often the database
oh nice, Ohm does its sorting inside of Redis
sort in C > Ruby
up_the_irons: ah nice
ballen: so I've settled on using a set for each user that maintains an index of friends posts
pretty sure its most the scalable option
up_the_irons: "I see scripts to rebuild / verify "indexes" in your future"
;)
ballen: yea yea yea
it shouldn't be needed
only if there is a crash while its doing cleanup before a delete of a post
and then all I'd have to is crawl through each user's set and validate the story still exists
also I love that the sinatra app is currently only 11MB in RAM so far
feck have to deal with when new friends are added
up_the_irons: cool
ballen: woot it works
minus the add/remove friend thing
up_the_irons: nice
ballen: quite quick too, of course its doing like two friends
up_the_irons: haha
ballen: not quite testing at scale
I can see why Twitter has gone through so much growing pains
especially if you just hacked together a solution
up_the_irons: yup
***: ConquerorX has quit IRC ()
ballen is now known as ballen|away
heavysixer has joined #arpnetworks
mike-burns: Erlang and Haskell are also fast, if you're looking to write a fast server quickly.
Just sayin'.
jester1: The problem with Twitter wasn't Ruby, it was Ruby on Rails.
mhoran: There really isn't a problem with Twitter. Any language wouldn't have scaled as they wanted. The site saw massive growth, and any framework would have had to be modified to cope with that load.
***: vtoms has joined #arpnetworks
nuke^: morning
mike-burns: Yeah, the problem with Twitter was the DB and the infrastructure.
***: ballen|away is now known as ballen
ballen is now known as ballen|away
ballen|away is now known as ballen
visinin has joined #arpnetworks
mike-burns: http://www.gtk-apps.org/CONTENT/content-pre2/111075-2.png - OTOH, LaTeX preview sounds kinda nice.
(Referencing an old conversation in here.)
mhoran: Oh, that's pretty.
ballen: do you have to generate the preview or is it automagical
mike-burns: http://code.google.com/p/gummi/ - not sure, couldn't really figure it out from here.
ballen: ah
oh well
***: ballen is now known as ballen|away
up_the_irons: mike-burns: neat lookin
mike-burns: I'm not giving up vim any time soon (nor writing papers), but it's certainly pretty.
up_the_irons: yep
***: ballen|away is now known as ballen
ballen is now known as ballen|away
ballen|away is now known as ballen
ballen has quit IRC ("Leaving...")
Nat_UB has quit IRC (Read error: 145 (Connection timed out))
vtoms has quit IRC ("Leaving.")
vtoms has joined #arpnetworks
Nat_UB has joined #arpnetworks
visinin has quit IRC ("out")
nuke^: hi up_the_irons
anyone there? :p
up_the_irons: nuke^: hey
nuke^: yo
:)
im having a problem, only the ip ending in *.66 seems to get me eggs on irc, all the others i get this
Couldn't listen on port '35678' on the given address. Please make sure 'my-ip' is set correctly, or try a different port.
tried all, changing ports nothing
up_the_irons: nuke^: what's your full IP address
nuke^: 206.125.169.66/70
up_the_irons: nuke^: you don't have the other IPs assigned to your eth0
nuke^: assign 'em, and it'll work
nuke^: i think i messed up
it should be eth0:0 ip1 eth0:1 ip2 right?
up_the_irons: nuke^: they all can be on eth0. "sudo ip address add x.x.x.x dev eth0"
nuke^: the eth0:1, eth0:2, etc... is an old method
nuke^: oops i did ifconfig eth0
up_the_irons: nuke^: should be alive again
nuke^: ty
up_the_irons: nuke^: next time you do that, hit the VNC console. or, in fact, you should probably be doing those changes from VNC until you know how to do it right ;)
nuke^: vnc console its new for me i never used it on my others vps, i believe they dont use this metho
up_the_irons: nuke^: yeah, they probably don't. a serial-over-IP method is coming soon too
nuke^: i had another question, or better help, i looked that i have ipv6 on the vps, i never use it or anything, any way u cold tell me or point me somewhere i could read/learn anything how to use it over irc
up_the_irons: nuke^: it's pretty similar to IPv4, you just have a lot more addresses. I also pre-configure VMs with IPv6 support, so all you need to do, really, is connect to an IRC server's IPv6 address, like: bitchx irc.ipv6.freenode.net
nuke^: and if i want it to resolve to something, the ipv6 address?
up_the_irons: nuke^: not sure what you're asking
Thorgrimr: reverses, I'd guess
nuke^: cant ipv6 rdns to something
yah
up_the_irons: nuke^: http://support.arpnetworks.com/faqs/main/reverse-dns
nuke^: same thing applies for IPv6
nuke^: ty :)
sry about all the question, new thing for me
up_the_irons: np
nuke^: for what i read, i can use for example freedns.afraid nameserver since i have an account there, to control the ipv6 subnet
***: heavysixer has quit IRC (anthony.freenode.net irc.freenode.net)
jester1 has quit IRC (anthony.freenode.net irc.freenode.net)
Qsource has quit IRC (anthony.freenode.net irc.freenode.net)
cablehead has quit IRC (anthony.freenode.net irc.freenode.net)
up_the_irons has quit IRC (anthony.freenode.net irc.freenode.net)
Nat_UB has quit IRC (anthony.freenode.net irc.freenode.net)
nuke^ is now known as nuke
up_the_irons has joined #arpnetworks
Nat_UB has joined #arpnetworks
heavysixer has joined #arpnetworks
jester1 has joined #arpnetworks
Qsource has joined #arpnetworks
cablehead has joined #arpnetworks
irc.freenode.net sets mode: +o up_the_irons
nuke has quit IRC (Killed by ballard.freenode.net (Nick collision))
up_the_irons: freenode death
Thorgrimr: Kilt him dead
***: Thorgrimr has quit IRC (Read error: 60 (Operation timed out))
Thorgrimr has joined #arpnetworks
Thorgrimr: Well, damn... I went on a ride too
***: nuke^ has joined #arpnetworks
nuke^: ergh split
did u saw my last line about freedns
up_the_irons: nuke^: nope
nuke^: for what i read, i can use for example freedns.afraid nameserver since i have an account there, to control the ipv6 subnet
up_the_irons: nuke^: neato
nuke^: give me a couple name servers, and i'll set the delegation
nuke^: neato?
thats yes?
lol
up_the_irons: neat, but better
nuke^: hehe
ok
ns1.afraid.org ns2 ns3 and ns4
my IPv4 endpoint, my side of the ipv6 tunnel woudl be my ipv4 on the vps right?
up_the_irons: nuke^: you're not tunneled, so that would not apply
look for "native IPv6" somewhere
-: up_the_irons is signing up to afraid.org for see how it works
***: ballen has joined #arpnetworks
nuke^: ok
hm hey ask to create a tunnel
it was what i was doing
on hurricane electric
doing/did
up_the_irons: yeah
nuke^: the ipv6 would be like 2607:f2f8:3100::/48 -> 2607:f2f8:3100::1 or 2607:f2f8:3100::2 right?
not 1 i see now
***: heavysixer has quit IRC ()
ballen is now known as ballen|away
up_the_irons: nuke^: click "Add reverse IPv6 subnet", then input "2607:f2f8:3100::/48"
nuke^: did
then added 2607:f2f8:3100::2 to nuke.nuke.nuke for testing
is this correct?
up_the_irons: nuke^: looks right
nuke^: /dns 2607:f2f8:3100::2 doesnt resolve to nothing. hm
***: ballen|away is now known as ballen
up_the_irons: nuke^: i think they take a little time to update
garry@ice:~ $ host 2607:f2f8:3100::2
2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.3.8.f.2.f.7.0.6.2.ip6.arpa domain name pointer nuke.nuke.nuke.
nuke^: dig +trace -x <ip> is your best friend, when doing DNS stuff
nuke^: hehe cool
http://cker.in/~nuke/tunneldetail.jpg
was gonna say to check if everything was cool here
but i guess it is
up_the_irons: nuke^: i'm not sure how the tunnel settings come into play, since your VPS has native IPv6
nuke^: its working so all good, hehe
ty u :)
up_the_irons: nuke^: cool :)
***: ballen is now known as ballen|away
nukeAFK has joined #arpnetworks
up_the_irons: nuke^: now you're talkin
nukeAFK: ^^ :)
nuke^: hehe
***: vtoms has quit IRC ("Leaving.")
Rick has joined #arpnetworks
ballen|away is now known as ballen
Rick: how long does it usually take for a new vps to be set up and made available?
ballen: up_the_irons is the one that sets them up
if hes around not a long time, usually does it later in the day
Rick: ah
***: ballen is now known as ballen|away
ballen|away is now known as ballen
ballen_ has joined #arpnetworks
ballen_ is now known as ballen|away
visinin has joined #arpnetworks
ballen has quit IRC (Read error: 110 (Connection timed out))
ballen|away is now known as ballen
ballen has quit IRC ("Leaving...")
ballen has joined #arpnetworks
visinin has quit IRC ("sleep")