[02:32] *** nuke has quit IRC (Nick collision from services.) [02:32] *** nuke^ has joined #arpnetworks [02:37] *** visinin has quit IRC ("sleep") [04:09] ballen|away: i'd ask you to convert, like, /26 into 255.255.255.192 [04:09] ballen|away: and vice versa [05:24] *** heavysixer has joined #arpnetworks [05:31] *** heavysixer has quit IRC () [05:43] *** Chand` has joined #Arpnetworks [05:44] !request [05:55] hehe [05:55] Chand`: welcome to #arpnetworks [05:58] tq [05:59] like where do I get a free vps here? [06:00] *** heavysixer has joined #arpnetworks [06:00] ? [06:01] Chand`: there are no free vps' here [06:02] *** nuke^ is now known as nuke [06:02] you mean [06:03] ? [06:04] up_the_irons : ?you mean [06:05] *** heavysixer has quit IRC () [06:05] up_the_irons : you mean? [06:05] Chand`: i don't understand [06:07] I'm sorry because I'm from Indonesia so it is not too fluent in English [06:09] :-) [06:09] that's alright [06:11] whether there's a shell or a vps for free?? [06:12] Chand`: there is no VPS for free [06:12] or free shells [06:12] if the shell? [06:14] ? [06:15] no shells [06:15] ;-9 [06:15] ;-( [06:16] if you can help me to get a free shell? [06:16] please [06:17] Chand`: http://www.red-pill.eu/freeunix.shtml [06:20] [06:20] if you have a shell? [06:22] bed time for me [06:22] cd $rest [06:28] *** vtoms has joined #arpnetworks [06:32] up_the_irons: going to bed just as I'm starting again LOL [06:32] Somehow managed not to work half the night. This "sleeping" thing is kinda cool. [06:33] Might try it again sometime... [06:54] *** nuke has quit IRC (Nick collision from services.) [06:56] *** nuke^ has joined #arpnetworks [07:28] *** Chand` has quit IRC (Read error: 54 (Connection reset by peer)) [07:39] *** visinin has joined #arpnetworks [08:32] *** BeBoo_ has joined #arpnetworks [09:19] *** sroute has quit IRC (Read error: 104 (Connection reset by peer)) [09:19] *** sroute has joined #arpnetworks [09:35] *** dbgi has quit IRC (Read error: 60 (Operation timed out)) [09:42] so who here has a freebs vps [09:44] *** heavysixer has joined #arpnetworks [09:45] *** dbgi has joined #arpnetworks [10:29] *** ballen|away is now known as ballen [10:31] jeev: Me, ballen, mike-burns, others, I'm sure. [10:32] do you build packges [10:32] like apache or pkg_add -r ? [10:33] I just use the ports. [10:33] so you build from it [10:33] is it slow [10:33] ;/ [10:33] Nope. [10:33] It's about as fast as my normal dev machine. [10:34] cool [10:34] I also don't install a lot of software on my servers. [10:35] 46 ports installed in total, and I'd guess a majority of that is autotools-related. [10:36] ok cool [10:40] jeev: Same here. [10:40] Never really had a problem with ports. [10:40] It's great to be able to keep up to date so easily. [10:41] I recently tried portmaster and it feels nicer than portupgrade. [10:49] you guys use portsnap [10:50] jeev - I have a FreeBSD "vps" with Arp too. Very pleased with it. I also run my own machines elsewhere on the planet but will be using more virtual machines in the future. [10:50] portsnap && portmaster are my tools of choice at present. [10:50] Haven't tried portsnap, but it sure looks useful. [10:51] easy-peasy [10:51] also portupgrade [10:51] sudo portsnap fetch && sudo portsnap extract - first go around [10:51] which is a port in its self [10:51] from then on sudo portsnap fetch && sudo portsnap update [10:51] Very fast. [10:52] yea man i have a ton of servers, i just wanted a vps [10:52] First extract will take a while of course but from then on its slick. [10:52] This replaces cvsup? [10:53] jeev - for all intents and purposes the vps will look like a real server - you can even rebuild and install your own kernel [10:53] mike-burns: yup [10:54] mike-burns: as far as I can tell there are no downsides to using portsnap over cvsup - probably cvsup for ports will one day be deprecated. Or should be. [10:54] Cool, I'll try it next time I upgrade. [10:55] how funny [10:55] a clients server ram just failed [10:55] I'm running an update on one machine right now... just started. I'll tell you when it is done [10:55] i just started using svn on a test server for 7-stable [10:55] Done. [10:56] $ sudo portsnap fetch && sudo portsnap update [10:56] Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. [10:56] Fetching snapshot tag from portsnap1.FreeBSD.org... done. [10:56] Fetching snapshot metadata... done. [10:56] Updating from Sun Sep 27 13:13:53 PDT 2009 to Wed Sep 30 08:50:51 PDT 2009.... [10:56] --snip-- extracts a bunch of new files. [10:58] like I said, the first extract will take a while, as would an "update" if you do one say six months from now. But it is far faster than cvsup for most users and certainly is so for frequent users. [11:04] portsnap is great, as is freebsd-update [11:04] (Written by the same guy!) [11:05] Makes sense. [11:06] I wish the ports system had a config management system similar to that of mergemaster. [11:06] I don't like having to figure out that on my own. [11:06] Granted, /usr/ports/UPDATING usually helps, but still. [11:06] Which ports give you issues? [11:07] Dovecot changes its options every point release. It's obnoxious. [11:07] Oh, that's harsh. [11:07] There are always little things that break when the defaults change. I want to know that. [11:07] sroute, you know you can do portsnap fetch update ? [11:07] instead of 2 commands [11:07] I wish something were automated for PostgreSQL upgrades, along that line too. [11:08] ... not have to recovery a week later when I realize my mail server has been down because Dovecot hasn't started. [11:08] BeBoo_: Yeah, the combined command is nice. [11:08] There's alsoa cron command that doesn't actually do the merge to be safe, but I'd like to implement that someday to e-mail me weekly with pkg_version -v -l \< or something similar. [11:08] mike-burns: Debian has some stuff, but, yeah. [11:09] *** ballen has quit IRC () [11:10] you guys use suphp ? [11:10] Never heard of it. [11:10] its like suexec, for php [11:10] Huh! [11:11] BeBoo_: thanks. an old habit which will change now... [11:11] jeev: i believe i have in the past [11:11] I use lighttpd, so my config is a bit different. [11:11] cool [11:11] yea i use lighttpd for a cust [11:11] sroute: does the same thing but saves some typing. =] [11:11] funny thing is his server got hacked with lighttpd cause of a script [11:11] :( [11:11] no, the sites on apache got owned, not lighttpd [11:11] i dunno why, they were all in one fodler [11:12] i suggested we move each site to a new username [11:12] Interesting. [11:12] we have yet to do so though [11:12] it's best to segregate * [11:12] * sroute thinks it is best to rm php* [11:12] We're in the process of moving our apps off to separate VMs, since our Wordpress install just got owned. [11:12] :o [11:12] seriously [11:12] sroute: Agreed. [11:12] Too bad we just deployed a huge Joomla installation. [11:13] Whoops! [11:13] jeev: can always jail each site if you wanted to go that far [11:14] I think I will have to break down and write a minimalist webmail app so that I can actually remove PHP from one of our boxes. At least I have the one app - squirrelmail - running via PHP in a jail [11:14] Hm. Maybe I'll look into suphp for our wordpress install. [11:14] i've gotta get more into it and see what's going on [11:14] what do you use to jail [11:14] This jail is by hand; I have used ezjail as well too and like it when I am doling out large numbers of them. [11:15] ahh [11:15] I don't suppose anyone has a decent webmail app, non PHP, preferably in Python, they have experience with and like? [11:15] nope, i use horde [11:15] Hm. That'd be nice. [11:16] sroute: http://bobomail.sourceforge.net/ [11:16] Am seriously thinking of firing up a project. I have some experience writing mail apps but not sure I want to dive that deep. [11:16] cat believeskewed [11:16] [11:11am] fatalnix: [11:16] woops [11:16] cant believe i clicked on the localhost link [11:17] bobomail really needs some UI help. :) [11:17] BeBoo_: I believe I've run across that link before... quite ancient - dates back to Python 1.x days and that was a LONG time ago. [11:17] ah. i just googled =\ [11:17] # Apache 1.3.11, Apache 1.3.12 [11:18] # Mozilla M15/ Netscape Navigator 4.7 [11:18] "Bobo" is a term that Zope used to be referred to as. [11:18] Yeah, this uses Zope, it seems. [11:18] Looks dead. :( [11:19] There just isn't anything for Python that seems active; a couple of times a year I check out the state of affairs. [11:19] http://posterity.edgewall.org/ is one... but also seems inactive. Just not as old as bobomail [11:20] I'd like the UI of Roundcube (without the OS X style, but the AJAX and general layout is nice) written ins omething other than PHP. [11:21] Then I'd just need to find a replacement for Mediawiki (probably not going to happen) and phpBB (yuck). [11:21] http://divmod.org/trac/wiki/DivmodQuotient is another, seems stalled. Not quite sure what those folks are up to these days. [11:22] Someone started a project on Google Code last year http://code.google.com/p/webpymail/ [11:22] But no updates since January. [11:24] *** Thorgrimr has quit IRC (anthony.freenode.net irc.freenode.net) [11:24] *** toddf has quit IRC (anthony.freenode.net irc.freenode.net) [11:24] *** timburke has quit IRC (anthony.freenode.net irc.freenode.net) [11:24] Hm. Why is my lighttpd serving up an expired certificate. :( [11:24] I guess OpenWebMail (perl) might be an option. http://www.openwebmail.org/ [11:25] Or I stick with sqmail in a jail, where all PHP apps belong. squirrel mail probably isn't that bad off although there have been the odd security issues with it, as there are with most all software regardless of language [11:42] *** Thorgrimr has joined #arpnetworks [11:42] *** timburke has joined #arpnetworks [11:42] *** toddf has joined #arpnetworks [11:59] wow, i got some scrollback to read, don't i [11:59] while the cat is away... [12:01] lol [12:04] sroute: i also tried to "sleeping" thing last night, but woke up at like 4AM and had to get on the laptop [12:05] "sleep" ? what is that? [12:05] It's something that doesn't work right when you mix FreeBSD and KVM. [12:05] * mike-burns is pleased with that pun [12:08] as i'm reading the scrollback about portsnap and cvsup, let me say i wish they deprecated CVS entirely and just used git; git is so much faster than any alternative out there, by a mile; anyone who has used it knows what i mean [12:10] git is the fastest I've tried, but there has been a crazy amount of improvements to darcs over the past month. [12:10] git is cool but was pissing me off [12:10] i had messed up the kvm branch of git and wanted to redownload everything [12:10] it kept saying already up to date, do you know what to do in that situation ? [12:11] git reset --hard ? [12:11] BeBoo_: "sleep" is something they used to make a while ago; it got discontinued due to lack of sales [12:12] jeev: why not just re-clone? [12:12] i didn't know what to do [12:12] i rm'd it [12:12] if you want to really "start over" [12:12] what to do would depend on how you "messed up the [branch]" [12:12] no universal solution [12:13] I've suggested before: I'd love if there was a 'git undo' command, that I could keep typing until I got to the initial checkin. [12:13] It'd just magically undo whatever I just did, and if it gets to the point where I cloned it then it'd undo what the prior person did. [12:14] That's my dream. [12:14] i saw some alias for 'undo' i think, not sure if it worked well [12:15] mike-burns: there's some nice tidbits here sometimes: http://www.gitready.com/ [12:15] Hah. gitready worked next to me for six months. [12:15] worked? [12:15] He's a CS students at RIT. [12:15] ah , haha [12:15] nice [12:15] He had an internship at my company. [12:16] Any git problem I had, he fixed. It was great. [12:16] LOL [12:16] office time [12:16] cd $office [12:17] No such file or directory [13:31] lo [13:42] *** ballen has joined #arpnetworks [13:46] *** BeBoo_ has quit IRC ("Leaving") [14:16] *** ballen has quit IRC (Read error: 113 (No route to host)) [14:24] *** vtoms has quit IRC ("Leaving.") [15:07] *** visinin has quit IRC ("leaving") [16:13] *** ballen has joined #arpnetworks [16:14] ping [17:22] *** timburke has left "Leaving" [17:22] *** timburke has joined #arpnetworks [17:26] *** nuke` has quit IRC ("gone.") [17:26] *** nuke` has joined #arpnetworks [17:50] python [17:50] wrong window. [17:50] indeed [17:51] for x in range(100000000): print("oops") [17:52] (0..100000000).each { print "oops" } [17:52] dam man [17:52] qemu is going slowwwwwwwww, without kvm [17:52] ruby is so much better :-) [17:52] install ;D [17:52] prints = puts though [17:53] ballen - whatever fits our brains is better [17:53] thankfully PHP isn't among the choices for you and me LOL [17:53] yea I agree, its just fun to argue [17:53] yea PHP is lame [17:53] i'm too old for language wars myself [17:53] but it can be fun... once in a while [17:54] ever do fuzzy logic searches ? [17:54] not as a matter of course... why? [17:54] just trying to figure out a way to do it that doesn't involve multiple calls to the db [17:55] searching for a name [17:55] the db has First Last in a field [17:55] ah; for that I've had to rely on search engine technology in my past. [17:55] yea [17:55] Used to do a bunch of work with Fulcrum, OpenText [17:56] document and content management systems, workflow, imaging - that was my area of expertise. [17:56] ah right on [17:58] meh screw fuzzy logic [17:58] not worth the crap ton of extra queries [17:59] or storing an extra index [18:00] Postgres has (or had, been a while since I looked) a "soundex" library [18:01] Might be worth looking around for something similar for your db of choice. [18:01] yea not using a relation db for this project [18:01] Ah. [18:01] likly I have the speed to do the queries [18:01] of the various permutation of the search [18:01] but it seems like an ugly way of doing it [18:02] I guess I could ensure everything is downcased [18:02] for the search [18:02] that would eleminate some issues [18:02] Not looked at soundex algorithms of late but is one approach. Of course non-English names complicate matters greatly. [18:03] hmm yea very true [18:03] http://unirec.blogspot.com/2007/12/live-fuzzy-search-using-n-grams-in.html [18:03] there n-grams approach [19:02] *** getchar has joined #arpnetworks [19:02] getchar! [19:02] how very C of you [19:02] what now [19:05] ballen: just for fun I built a quicky Levenshtein distance calculator; a brute force run through a list of 200,000 words takes quite a while to return this for the search value "Mike": [19:05] >>> def closest(key, iterable, top=5): [19:05] *** up_the_irons is now known as fgetc [19:05] ... result = [] [19:05] ... for i, value in enumerate(iterable): [19:05] ... result.append(i, value, levenshtein(key, value)) [19:05] getchar: sup [19:05] ... return sorted(result, key=lambda x: x[2])[:top] [19:05] *** fgetc is now known as up_the_irons [19:06] * sroute wonders if I've stumbled into #Remedial_C_for_insomniacs [19:06] hah [19:07] sroute, whats the levenshtein method look like [19:07] gonna grab some dinner [19:07] here's an implementation: http://hetland.org/coding/python/levenshtein.py [19:07] thx [19:07] precalculating ngram style like the better approach for a big word corpus [19:08] but for a smallish body... lev might be just fine. 10 seconds for 200,000 words on my slow dev machine [19:08] yea trade off being using up more storage [19:08] in which my db runs in memory [19:08] anyway, fun to think about this stuff again. I actually need a fuzzy match solution. [19:08] so storage is a premium [19:08] my db is a python object db, not a SQL back end [19:09] thanks for the suggestions [19:09] see, Python and Ruby folks DO get along LOL [19:09] hah [19:09] indeed [19:10] * sroute looks for a PHP maven to stun with a Taser [19:10] lmao [19:10] hmm I'm guessing I could iterate though name index [19:10] see how it does [19:11] mostly (partly?) kidding. [19:15] c u folks later... dinner calls. [19:15] l8r [19:15] prolly could use RubyInline to write the method in ruby [19:15] in C [19:16] up_the_irons [19:16] qemu is so nasty without kvm [19:19] jeev: it's a software emulator, so sure it's nasty ;) [19:19] nasty. [19:19] xen is SO much faster [19:21] xen is not a software emulator [19:21] you're comparing apples and oranges on that one [19:21] i gotta leave the office now, talk to u guys later [19:22] k bye [19:24] *** heavysixer has quit IRC () [19:33] ahh [19:33] what's the difference then between xen and qemu [19:34] Xen is paravirtulizaed, Qemu/KVM is full-vert [19:35] what if it's not KVM [19:35] just Qemu vs Xen [19:37] same diff just not running in the kernel [19:37] or rather not using Intel VT or AMD-V CPU extentions [19:42] hmm [19:42] the qemu box is crawwwwwwwwwwling on a slackware install [19:42] but xen, debian was fast [19:42] i know it's not necessarily debian that's fast [19:42] but i think it's just qemu that is crawwwwwwwwwwwwling [19:43] xen is inertially faster than Qemu, but requires a modified ghost OS kernel [20:05] *** dj_goku_ has joined #arpnetworks [20:31] *** dbgi2IAm has joined #arpnetworks [20:31] *** dbgi has quit IRC (Read error: 104 (Connection reset by peer)) [20:32] ballen... turns out the fastest way to get fuzzy matching in Python is to look at the docs. difflib module fills the bill... [20:32] heh how about in Ruby? [20:32] *** dbgi2IAm is now known as dbgi [20:33] Here's an example - lets get 17,000 words or so in a list [20:33] >>> W = [w.strip() for w in open('/usr/share/dict/words') if len(w) < 7 and len(w) > 3] [20:33] >>> len(W) [20:33] 16920 [20:33] >>> difflib.get_close_matches('Mike', W) [20:33] ['Mike', 'Mikey', 'sike'] [20:33] >>> difflib.get_close_matches('Fred', W) [20:33] ['Fred', 'red', 'roed'] [20:33] >>> difflib.get_close_matches('naancy', W) [20:33] ['nancy', 'nanny', 'nacry'] [20:33] >>> difflib.get_close_matches('heelga', W) [20:33] ['heel', 'wheel', 'shela'] [20:33] >>> difflib.get_close_matches('sheilla', W) [20:33] ['shill', 'shell', 'shela'] [20:33] >>> difflib.get_close_matches('Bobbty', W) [20:33] ['Bobby', 'sobby', 'pobby'] [20:33] Not bad. Pretty fast too. [20:33] nice, any idea on big o complexity of it? [20:34] * sroute chalks this up as learn something new today. [20:35] difflib module I see is 2000 lines long. Let me have a quick read [20:35] feck [20:35] 2k lines [20:36] get_close_matches however is not very long at all. [20:36] However it does depend on a SequenceMatcher class which is somewhat lengthy. [20:37] http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/293796 [20:39] nice thanks [20:39] likely it won't work with Ruby 1.9 [20:39] but will try [20:40] meh. apparently it is October somewhere on the planet already. [20:40] ew [20:40] I don't want snow [20:40] mailing list reminders have an undesirable side effect of reminding me how fast time passes [20:41] snow? isn't everyone located in Monaco like me? [20:41] heh, nope [20:41] lol it was 33 degrees (C) in Calgary last week while I was there; back in Vancouver it was 6 or 7 C this morning. [20:42] 50F here [20:42] Not looking forward to snow either although I think the 2010 Winter Olympic organizers in this city are sure hoping it does before Feb. [20:43] likely [20:45] i wish i could code [20:48] me too ;) [20:49] more seriously... if you want it, just dive in. [20:49] http://diveintopython.org/ [20:50] Or in Ruby (I don't know anything about this site) http://rubylearning.com/ [20:50] cul8tr [20:51] heh [20:51] CSS can be annoying [20:58] *** up_the_irons has quit IRC (Read error: 60 (Operation timed out)) [20:59] *** mhoran has quit IRC (Read error: 54 (Connection reset by peer)) [20:59] *** mhoran has joined #arpnetworks [20:59] *** up_the_irons has joined #arpnetworks [20:59] *** ChanServ sets mode: +o up_the_irons [22:19] *** nuke^ is now known as nuke [22:31] damn [22:31] slack has been isntalling through qemu without kvm for 4 hours, still going [22:32] me thinks you should use something else [22:48] yea qemu bows [22:48] blows [22:48] didnt you suggest vmware [22:48] yes [22:48] it will work well without kvm ? [22:48] this is for a server with no kvm [22:49] xen spanks qemu without kvm [22:49] like a literal kvm? [22:49] or the software [22:49] vmx or whatever amd's capability [22:49] you iknow, the cpu capability [22:49] that makes your vm run sexy [22:49] you know what kvm is ? [22:50] oh, yes you must have virtuization extensions for ESXi [22:50] www.linux-kvm.org [22:50] oh [22:50] yes I know what KVM [22:50] damn [22:50] is [22:50] so im stuck with xen ;) [22:50] my kvm capable server is doing well [22:50] can grab a trial of regualar ESX [22:50] which will run [22:50] which is easier [22:50] virtualbox or esx [22:50] not easier but [22:50] less of a hassle [22:52] why the hell am I tired its only 1:52 [22:52] heh [22:52] im tired too and it's only 1052 [22:52] getting pissed at my head [22:53] I can usually stay up till 4-5 no prob when working on a fun project [22:53] last fun project i had was vagina [22:59] ballen: You could use Hubris and write the method in Haskell, for Ruby. (Instead of using RubyInline.) (Responding to something way in the backlog.) [23:00] whats Hubris [23:00] It's a Haskell-to-Ruby marshaller. [23:00] ah [23:00] It's so you can write fast code for Ruby without writing C. [23:01] yea I'm putting that task on the back burner for now [23:01] doing more UI and app logic for now [23:02] The thrill and excitement of CSS and JS. [23:02] no JS [23:03] Smart. [23:03] JS is tricky to test. [23:03] specifically trying to not use any JS in this site [23:03] adds to much overhead [23:03] even its just a third file to download and just a few k [23:03] still another request [23:04] and JS is just about the most lame ass thing to deal with ever [23:04] Haha. I like JS, but I hate the DOM. And the browsers. [23:04] yea [23:10] love how ruby has all these inline ways of writting in other langs [23:11] Ha yeah, to attempt to make up for defeciencies in the Ruby language. [23:11] yep [23:11] if ya can't beat em, join em [23:12] I'm impressed with how long the whole Ruby thing has lasted. [23:12] "the whole Ruby thing" hah [23:12] RubyConf sold out in like 8 hours this year. On a Friday night. [23:13] yea, lots of people love Ruby, myself included [23:13] I just use it for my day job, that's all. [23:14] it'll prolly be easier to use RubyInline as then I don't have to install a Haskell compiler [23:14] Hah, and learn Haskell. [23:14] since GCC will be installed everywhere this site will [23:14] meh, not worried about learning anything [23:14] eazy enough to find samples [23:14] easy* even [23:15] I think Hubris requires jhc, which is harder to install than ghc. Good idea to just use gcc. [23:15] yea [23:17] Anyway I gotta sleep. [23:17] alright later man [23:26] *** dbgi has quit IRC (Read error: 104 (Connection reset by peer)) [23:26] *** dbgi has joined #arpnetworks [23:56] pretty interesting: http://www.internetnews.com/dev-news/article.php/3835746 [23:57] "FreeBSD 8 Getting New Routing Architecture" [23:59] will u offer freebsd 8 when it comes out?