« first day (139 days earlier)      last day (4829 days later) » 

12:58 AM
 
1:11 AM
That doesn't look right...
It shows up as a proper link for me
 
I didn't think so
@ajmitch yeah - it only happens in one part of the site
 
1:25 AM
@JorgeCastro nice to read about you being an ubuntu developer on LWN :)
lwn.net/Articles/427883 for those LWN subscribers (part of ubuntu membership)
 
2:17 AM
No, it's displaying fine for me.
 
muahaha
 
...and that is a...?
NASA's replacement for the Space Shuttle?
 
yes to replace the Space shuttles
they should hire me...
actually it was my after school project, model rocket :-D
 
Oh, cool.
 
now all i have to do is stop at the nuclear waste dump tomorrow and pick up some uranium :-D
 
3:00 AM
@JorgeCastro is fast on editing today, questions barely have time to show up before they're edited :)
 
going to bed now!
 
heh, night
 
3:28 AM
good morning!
 
3:59 AM
@TheX: No, plutonium... much more radioactive :)
 
@GeorgeEdison ever sense I said that I keep waiting for homeland security to knock on my door
 
...oh?
 
4:16 AM
the whole nuclear weapon thing @GeorgeEdison
 
 
1 hour later…
5:37 AM
You have nuclear weapons?!?!
^---- Centrifuge for uranium enrichment.
P.S. Please use it for peaceful purposes.
Thank you. That is all.
 
lmao!
 
 
6 hours later…
11:59 AM
5
Q: Removing folder named ~

Kaustubh PThis is the output of ls -l ls -l total 53484 drwxr-xr-x 3 root root 4096 2011-02-10 05:59 ~ -rw-r--r-- 1 root root 54313810 2011-02-13 05:09 jobs.jar -rw-r--r-- 1 root root 384035 2011-02-15 05:33 jobsLog.out I cant do rm -rf ~ because that will remove my home directory. What should ...

hehe, i actually did that rm -rf ~ once... it only ran for a split second before the ctrl+c, but home was already toast
 
I wonder what's wrong with my answer on this one
 
looks right to me :-)
 
Maybe it's because I edited it straight away, so for a while it looked like i was a minute behind Ward
 
12:16 PM
@htorque you know about algorithms, right?
 
a bit :-)
 
So, I've been trying to serialise a binary search tree onto an array, and the Length of the array is - in a worst case - 2^n
I'm doing something wrong, aren't I?
my left and right nodes are 2*n+1 and 2*n+2
 
oooh, wait... that data structures thingy is years back :P
yeah, left right 2n+1 2n+2 is good
hm, shouldn't the array be of length... well, n?
 
not if the tree isn't balanced
so, I'm adding 0..15, and the 15 ends up at index 65534 (2^n-1)
 
what are you storing in the array? the (sorted) nodes?
 
12:23 PM
it's hanging all the way to the left
this is how I store:
I'm looking at the root node, if it's Null, I make it the value, else, if the value is <= the root nodes value, I go to the left (2n+1) of the current node and make that the root node (and right if it's >), repeat until the value is stored somewhere
 
n = number of parent node, right?
not size of the tree
so left child of node 1 is 2*1+1=3, right child is 2*1+2=4, aso.
 
right, n is the current index pointer
 
ah, now i got your problem... cold caffeine turkey is no fun!
 
so, this is my worst case, all of the entries end up on the right of the node last visited
 
make it an avl tree then :P
 
12:35 PM
I will, but I'd like to be sure that this is a problem with binary trees and not a catastrophic mistake on my part (:
 
oh no, that's how inserting into bin trees work - except, i don't think two nodes with the same value are allowed (you used <= above)
 
yeah, that's just to keep the implementation simple for now
I wouldn't bother, normally. But I only learned the recursive algorithms at Uni, and I'd like to do everything iteratively, so I'm going through all of the data structures once again
well thanks a lot, quite helpful :)
 
no not really helpful :P all those easy stuff is gone from my memory - i only know where to look if i'd really need it one day :D
worst case array size should be... 2^depth-1 (so 2^(n-1)-1)
insert 1, 2, 3, you'd have 7 nodes in a full bin tree, 2^2-1
 
It's a bit frustrating. I've implemented one kind of tree that's pretty much perfect. Insertion, deletion and search is O(log n), and space is O(n), but it's still thousands of times slower than just sorting a python list at every step :P
 
:D
 
12:42 PM
I'm still waiting for the DHL guy to deliver "the C programming language" (:
 
hehe, DHL... good luck
wasn't there something like a heap tree?
 
theres a Heap
 
A binary heap is a heap data structure created using a binary tree. It can be seen as a binary tree with two additional constraints: *The shape property: the tree is a complete binary tree; that is, all levels of the tree, except possibly the last one (deepest) are fully filled, and, if the last level of the tree is not complete, the nodes of that level are filled from left to right. *The heap property: each node is greater than or equal to each of its children according to some comparison predicate which is fixed for the entire data structure. "Greater than or equal to" means accordi...
damn... if i had more time i'd look through my lecture notes - that stuff was quite interesting. so many ways to screw up implementations. :D
 
That's basically what I'm doing, except a binary heap can be implemented in as a reasonably sized array, so that looks like the solution to the problem of "implementing a binary search tree as an array is stupid" (:
the difference is that you "heapify" at every insertion, rather than always having all the nodes at the "correct" position. But what's the use if you can just use pointers to the left and right node, stored in a nested hash table, like i did yesterday. sounds much nicer
 
maybe we'll soon see the "palazzo tree" :P
 
12:53 PM
hello hello
 
ha! :)
hello @Octavian
 
@OctavianDamiean hi
 
I'm not really sure why you'd ever use a Heap yet. My perspective was finding "n largest", which a normal BST can do in O(log n)
 
hai!
 
hello @KaustubhP :)
 
1:02 PM
yo yo yo @StefanoPalazzo my man!
ssup homie?
lol, enough gangsta for a day!
 
hehe
election ends in seven hours!
 
yup! i am excited to see the results!
 
me too (:
 
yay, i crossed 1500 rep :D
 
1:07 PM
thanks. well, about the wish-list tag. Its just a tag, that can be browsed.
by people who are co-incidentally developers of the same app
 
I think it will encourage wishlist questions
I just made an argument for now, I'm looking forward to being proved wrong when someone else joins into the conversation
I also feared, by the way, that we should then, by the same token, have a "bug" tag
looks like [bug] is currently used for questions about the concept of a bug, and bug management and tracking, rather than specific bugs
 
hmm. well, some insight is certainly appreciated.
 
telling people that their question/problem is about a known bug tends to not get lotta rep points/accepts :D
 
I was kind of hoping someone would add a similar answer to mine, except beginning with "yes", so we can make them CW and vote on it, see if there's a clear consensus
(not that the votes decide upon the issue, but to get a feeling as to what people think about it)
 
@htorque and here i thought it was all about helping each other :P
 
1:15 PM
it is, it just isn't very motivating to get no comments to "yeah, it's a bug" like answers. :P
election ends in 6 hours - time to re-evaluate my choices :>
 
2:02 PM
hey gang
 
hi @thex
 
@StefanoPalazzo how are you?
 
very good, thanks for asking :)
yourself?
 
hi @TheX
:))
 
brb
back @StefanoPalazzo I am good, @KaustubhP hello
 
2:20 PM
where's @MarcoCeppi when you need him :P ?
 
@MarcoCeppi was eaten by aliens....
 
@TheX poor aliens.
 
I know right...
 
@KaustubhP I'm here.
 
@MarcoCeppi hi! thank god u are here! you mentioned once u work with centos, right?
 
2:28 PM
Yes I do
 
well, its debian vs centOs all over again :/
is it safe to assume, that centOs is more locked up (ie safe) than debian?
 
Yes, and no.
Stock installs of both CentOS and Debian are about the same with Security - except I think SELinux is enabled on CentOS which I usually have to disable.
 
it is probably more stable, as debian tends to be on the cutting edge
 
@TheX That is about the most incorrect statement you can make about Debian.
 
@MarcoCeppi??
 
2:31 PM
Debian is not cutting edge
 
then what am I thinking of?
 
@TheX Ubuntu?
 
@TheX that's a lie i expect from every candidate, so it doesn't count :P
 
@MarcoCeppi no.. .isn't there a distro that uses a rolling update system... that always has the latest and greatest softwares?
 
@KaustubhP There are no distros that are "more secure" than another. Every distro of Linux I've used requires security configurations to be made to satisfy every job I've done
 
2:33 PM
@TheX Arch Linux is like that, fedora is pretty cutting edge as well, but they have regular releases
 
@TheX It's certainly not Debian. Doesn't Gentoo do that?
 
@htorque I promise that the canidates will do the best they can to fulfill their obligations
maybe it is fedora I am thinking off
 
oh no, wrong action - can i un-edit a chat post? :(
 
@MarcoCeppi to sum up my problem, I have a master db-server, that can be connected from the outside. the slave-db-server cant be, even though I have opened the firewalls. both can connect to each other, using the Private IPs. gues which is which?
 
that was odd...
@htorque I don't think so
 
2:35 PM
@KaustubhP Based on your conversation prior CentOS is slave Ubuntu is Master?
 
ok, then let's do it the other way round :P
"Election closes in 5 hours." - any last minute pre-election promises? :-)
@TheX :P
 
@MarcoCeppi no, debian is the master.
(good memory) :D
 
@KaustubhP Ah, yes this is Debian v CentOS
 
@htorque no, the candidates don't make promises for we all know promises are lies when it comes to politics and running for public office
 
i just turned of SELinux, lets see where that tux us.
 
2:37 PM
I love the idea of SEL hate the current implementation
 
@TheX sure, but i want cake - err, lies. :P
 
the cake is a lie...
actually it wasn't there was a cake, you just couldn't have it...
 
isn't SEL the "pain-to-configure" security model?
 
@MarcoCeppi nope, dont work.
 
supposed to be better than AppArmor?
 
2:39 PM
@htorque it's the pain alright
 
are any of you rich?
 
@KaustubhP How is your network configured?
@TheX Yes, and the answer to your next question: No. :P
 
lol
 
Disclaimer: I'm not really rich
 
i just wanted to know if you wanted to donate a new computer to my desk....
 
2:40 PM
> ...answer to your next question: No.
 
lol
 
I guess I will have to continue to use that ipad then...
 
@MarcoCeppi well, its on the amazon cloud. 3 servers. one: master, debian. two: slave, centOS. three: beanstalk, centOS/
 
money is overrated... unless you want to buy something. :D
 
2:42 PM
@KaustubhP If it makes you feel any better it took me 3 weeks to perfect our current CentOS 5 image. And to be honest in the last 3 weeks our Ubuntu Server population has gone from 5% of the infrastructure to 22%
We're making a shift away from RHEL
@KaustubhP Ah, didn't realize you were on the cloud - that adds a level of complexity to things
 
yeah, the virtualization :/
 
Why not just use the Amazon RDS?
Scaling, slaving, backups - all taken care of you by Amazon
 
@MarcoCeppi RDS is mysql, we use mongodb.
 
Ah, I just assumed you were using MySQL
 
thats ok :)
 
2:46 PM
Do you have APF or anything like that running on the machine? What about the IPTables are the ports for MongoDB not opened?
 
Yes, i have the ports opened up too. I can connect to the master server, that is in the same security group as the slave.
 
Can you SSH into the slave directly?
 
yup, ssh works.
and opening ports for a security group opens the ports for all the machines in the group, so the ports arent a problem.
ive been racking my brain all afternoon, and now evening. but cant pinpoint the exact problem.
 
I'm not sure how MongoDB works - so sorry about that part - but if you can SSH into the the machine, and you've opened the MongoDB ports, the last thing I can think is a configuration issue on MongoDB - I know a lot of services need to "bind to an IP" if that's the case make sure it's listening for the right public IP
 
.yeah, you can specify ports for mongodb, if not, it uses the default port of 27017. that is open, and i can connect to the master, similar to mysql -h <IP>
its the slave thats being a pia for me.
i can connect to the slave :P
sorry, for the typo!
 
2:56 PM
hey, what's up with youtube? no youtube login without a linked google account?
 
I think the problem either lies with slave MongoDB configuration or something weird on the CentOS server
Not to be an ass - why not just use a Debian image for the slave?
 
well, no more youtube then - any alternatives?
 
it would be cool if you could install ubuntu on the ipad :D
 
I guess we will have to. I want to get to the bottom of it, deadlines dont permit me to. Cant juggle work, home, life :'(
 
why no youtube?
 
2:59 PM
@htorque You know Google owns Youtube, right?
 
yes
 
So...just like all Google Services - you need a Google Account :)
 
vimeo is probably the most popular @htorque
video sharing service next to youtube
 
i don't want yet another account, and i also don't want to log out every time i was logged in to youtube, so my searches at google aren't linked to the account... oh dear
@TheX yeah, i will definitely check it out (as it's the only alternative i know :D)
 
@htorque actually there are thousands of them, a simple google search will reveal that :-P
 
3:03 PM
ok, but how many are any good?
google is a damn datenkrake ("data octopus"?)
 
I don't know the only two I have experience with is vimeo and youtube
the stuff on vimeo seems more polished then what is on youtybe.
 
as long as it plays the clips without tons of ads like those "thousands of free video sites" i'm fine with it :)
Welcome to Vimeo! You have just joined the best site in the Universe to upload and share all the types of videos you create.
now that's what i call self-confidence :D
 
@htorque i haven't seen a single add yet...
I mean in the videos...
before I should say
 
gong "Election closes in 4 hours."
 
I had voted in the first 3 hours.
that should give ou hints to whom I voted for.
and no, I havent changed my votes after that :)
 
3:13 PM
i've shuffled my initial three picks a couple of times (the priorities I mean), but now they are like when voting started :)
 
i voted within the first hour....
Bill Clinton got my first vote
 
@TheX you sure you voted at the right place?
 
uh... I think so...
no write ins?
 
remeber, he did not have relations with that woman.
 
haha Coke has killed thisamericanlife.org
@KaustubhP I wouldn't admit to having relations with that women either...
 
3:26 PM
whew, waiting 30 minutes before the clip goes online is boooooo!
 
@TheX its all in the head ;;)
 
@htorque they have better compression then youtube
@htorque what is the video anyways?
 
nothing special. from time to time i upload some ubuntu clips.
 
oh...
 
`@MarcoCeppi I can now connect to the slave. Had to ddo with SELinux, atleast thats what I am thinking.
 
3:33 PM
@KaustubhP Did you restart after you changed the SEL settings?
 
yeah, thats what took me so long. The instance was dangling in a stopping state for like 2o mins.
@MarcoCeppi thanks a lot, for the insights!
 
@KaustubhP You're welcome. When it doubt it's probably SEL :P
 
lol, i am learning that :)
gotta google that.
oops, sorry :P
 
Oli
Anybody know when the results of the election are due? Are they instant (after voting ends) or is there a delay?
 
3:49 PM
@Oli six month delay, to allow time for recounts and any lawsuits that may evolve out of them :-P
 
@TheX :D
 
@Oli You should be able to tally them with OpenSVG immediately - but the announcement comes after a few hours
 
Oli
I dare say there'll be a few people doing that in here
 
I'm going to assume I didn't make it, until someone here tells me (:
to prepare myself for failure
:P
 
Oli
@StefanoPalazzo Probably a healthier way of looking at it. I'm surprisingly nervous for something that is (in the scale of things) fairly insignificant
 
3:52 PM
I have prepared myself for failure too... but I think I have a reasonable guess as to why I am not going to be elected...
 
I hope I win, I have m fingers crossed.
 
It's the most important thing in the world, today at least (:
 
throws powder into a flame and chants mantras ॐ
 
I'm also hoping very much that my second and third choice win
 
From the other Moderators, RE: Election tally
> It depends on how fast your users are. The moment the election ends, the votes can be read by people to parse, but the actual system doesn't update until a couple hours
 
Oli
3:55 PM
Well if Marco isn't re-elected, god help whoever has to fill his shoes. I think we'd have to petition SO Inc to have him re-added immediately.
 
@Oli that would take away from the democratic process...
if the community doesn't want @MarcoCeppi to be a moderator then they won't vote for him... or more people will vote for other candidates...
 
Oli
Democracy is overrated.
 
If I'm not re-elected I'm still not going anywhere. I'll be around to help the new moderators settle into their roles
 
tell the egyptians that
 
Oli
@TheX Not saying it's not worth it, just that it doesn't always make the best decisions.
 
3:58 PM
I would be much more annoyed to not make it if a computer had decided it, at least with people I can tell myself they're just wrong :P
 
then the community will learn from their mistakes
 
Oli
7
Q: Removing folder named ~

Kaustubh PThis is the output of ls -l ls -l total 53484 drwxr-xr-x 3 root root 4096 2011-02-10 05:59 ~ -rw-r--r-- 1 root root 54313810 2011-02-13 05:09 jobs.jar -rw-r--r-- 1 root root 384035 2011-02-15 05:33 jobsLog.out I cant do rm -rf ~ because that will remove my home directory. What should ...

 
just like we learned from our mistake of putting Obama in the hot seat
 
Oli
That thread is getting a silly number of votes today. Odd.
 
@Oli you're answer on that is pretty great
 

« first day (139 days earlier)      last day (4829 days later) »