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