« first day (28 days earlier)      last day (3211 days later) » 

12:00 AM
ssh-keygen -t rsa -C "email@email.com"
 
so now in current dir you have to have a private and a public keys
do you?
 
id_rsa and id_rsa.pub
 
ls -al
 
kamasha@ubuntu:~/.ssh$ ls -al
total 24
drwx------  2 kamasha kamasha 4096 2010-11-12 23:51 .
drwxr-xr-x 29 kamasha kamasha 4096 2010-11-12 23:20 ..
-rw-------  1 kamasha kamasha  668 2010-11-12 23:51 id_dsa
-rw-r--r--  1 kamasha kamasha  604 2010-11-12 23:51 id_dsa.pub
-rw-------  1 kamasha kamasha 1675 2010-11-12 23:44 id_rsa
-rw-r--r--  1 kamasha kamasha  399 2010-11-12 23:44 id_rsa.pub
 
ls -la ~/.ssh
also - you can point where to create the keys
whoami
?
 
12:02 AM
it says kamasha
 
cat id_rsa
 
...
 
you should have an access to that file
 
why does that work?
 
what "that" ;-)
it works just because you have an access ;-)
 
12:03 AM
Is this some sort on *nix administrators chat?
 
I didnt realise i needed to use cat
 
@dotsid: nope, it is a chat for talking about everything ;-)
 
I tried to access the file directly with ./id_rsa
 
@Raynos: cat is a command to output the file contents
 
I didnt know where else to talk about ssh
 
12:04 AM
also, it is a complete guide at github from start to end
about how to set it up
 
I expected ./id_rsa to do the same. Why does that through permission denied?
@zerkms i did the tutorial wrong and missed the cat command
 
because ./id_rsa is an attempt to run executable
 
well, at least I understand why there is mention of "id_rsa" :)
 
and your id_rsa is not an executable
 
I guess so. Im too used to hand holding. expected it intuitatively show me contents
 
12:06 AM
@Raynos: have you seen this guide?
 
@zerkms doesn't he needed public key instead of private ("id_rsa.pub") for authentication on remote host?
 
@zerkms im reading that. I missed the cat command at the end
Its ok I send the public key to github
@zerkms thanks for the help :)
 
0
Q: POST-ed vars not resetting on localhosted XAMPP

Jeffz[edit] Just a though: could that be due to php version differences? 5.2.1 works anything above does not ... I know ... sounds silly, but this problem - however not "life-n-death", I've got good server for development ... bugs me ... I must say.[end edit] Just a thought Before placing this post I...

@dotsid
0
Q: POST-ed vars not resetting on localhosted XAMPP

Jeffz[edit] Just a though: could that be due to php version differences? 5.2.1 works anything above does not ... I know ... sounds silly, but this problem - however not "life-n-death", I've got good server for development ... bugs me ... I must say.[end edit] Just a thought Before placing this post I...

 
 
2 hours later…
user379888
2:08 AM
Hello,all
 
user379888
Is there a way you can hide your questions from your profile in SO?
 
hello
did you ask an embarrassing question?
 
user379888
Not really,I just like my questions to be a bit private
 
user379888
Not like anyone opens my profile and says "Oh!you asked 102 questions in 3 months"
 
user379888
morning
 
user379888
2:13 AM
@david moreover my fellow students often use the same site,is there a way?
 
user379888
Algorithm?
 
@fahad not that i know of, you could use two accounts if you were very worried
 
user379888
@david Should I ask this question on SO?
 
user379888
Meta
 
user379888
@tina no idea
 
2:19 AM
@fahad heh, that would be the best place for it, although im sure someone in this room can answer
 
user379888
@david thanks,I would be waiting for a notification from this chat room regarding it,else I would ask a question
 
user379888
@tina Karachi
 
user379888
Sorry!
 
user379888
Ask it on SP
 
user379888
SO*
 
2:23 AM
@tina: this room is for everything
 
user379888
@tina This is a general chat room,you get much help here
 
do you need to have some kind of interactive scheme?
i mean, is it required so user can interact with UML by clicking (and getting the more detailed scheme)?
do you need just to write the UML in some software or you're looking for something that can reverse engeneer your code?
then it is strongly depends on what programming language it is
VS 2010 can do so
 
hey, not sure if this is the right place for this, but anyone happen to know where i could ask a question about lex?
 
ask it on SO
@tina what is SP?
 
2:35 AM
mmm, it's not about latex, it's about lex, the scanner generator
 
oleg has a strong mention to highligh everyone in this room )
 
@OlegKuznetsov isn't lex a lexical scanner?
 
but yeah, i think drach is right; i should probably just ask it as a question
it's a stupid question, though :\
 
@drachenstern Oh, damn :( I'm sorry
 
@OlegKuznetsov it's fine, I've been doing this a while ;)
 
2:35 AM
yeah, totally fine :)
 
@Faisal just ask the question, no matter how dumb, but look at the suggested alternatives too
 
@drachenstern I'm still asleep :(
 
mmm, that's a good idea. by the way, i have to say that this chat feature is too cool :) last time i was on SO it was still in closed beta
oh, i have a better question. the 'enter' key on my keyboard is too big...it takes up the place where the backslash key is supposed to be, and the backslash key has been relegated to the lefthand side of the backspace key, making the backspace key annoyingly small.
to whom do i send hate mail?
 
the vendor of your laptop
@tina start over from the top please
 
sadly, it is but a wired keyboard. it does say 'acer' on it, though...perhaps that's who made it.
 
2:41 AM
@Faisal or at least they designed it that way
 
@drachenstern: "a comma separated list of words in ... of performance". which word can I put for the ... in meaning of "for the better performance"?
 
even if they did not make it
 
i bet it is some handy word for such cases but cannot remember it
 
"a comma separated list of words in [for the better of] performance"?
 
yup
"in case of performance" is not the what i want
 
2:42 AM
@tina why would you read the call stack of a program?
 
but i definitely remember there is an appropriate 1 word
 
um, "in the interests of better performance"?
 
yes, that would be good
 
interests.... good catch, but I remember it is another more sexy word exists
 
@zerkms I need a little more context to give you a better choice
@tina but why a call stack?
is this for class?
are you trying to reverse engineer an existing program?
 
2:44 AM
the context is a discussion of tags cloud storage. And I proposed a guy to use separated table for tags, but in [case of] performance he would store also comma separated list of tags for each entity,
 
the best way @tina is to create a program then to study the program that you created
do not start with a program you do not understand
that is NOT how you learn how to reverse engineer
 
Neo
since there is no one in the php room... I am gonna this here. index.php?user=%1$s&type=%2$s&media_id=%3$s how do I add the 3 variables from an array I remember there was syntax for this
 
I would say in the interests of
 
drach: i believe she's trying to automatically generate uml diagrams from existing code
 
@Neo: http_build_query() ?
 
2:46 AM
@tina I can't tell you a program that will help you with UML if you haven't found one already that you like
 
it's not really "reverse engineering"
 
@Faisal I believe so
but the call stack?
 
oh, didn't see that part, heh
 
@drachenstern there are several types of UML, some of them describe the workflow
@tina: the main SO practice is to answer fast, not the answer in details (or correctly) [irony)
 
@tina I asked you to start from the beginning. I am still going to give commentary so I know how to help you focus the answers
 
2:48 AM
@zerkms nah.
 
@zerkms just bear with this
I think she'll get there
 
Neo
@zerkms .. no so I have a variable $foo="index.php?user=%1$s&type=%2$s&media_id=%3$s"; /*in this example its a url but it can be anything...*/ $vars=array(0=>12,1='username',2=31415);
 
hello @rchern, get bored?
 
hm?
 
@Neo: i offer you to split this string with parse_str() and after compose it again with http_build_query()
or
just create array of %1 => val1, %2 => val2 and use str_replace
 
Neo
2:51 AM
@zerkms yeah but I thought there was a built-in function for that I remeber I userd to write my sql queries like Insert into table (blah,blah) values (%1, '%2',...)
 
@Neo: it is a specific implementations for PDO/mysqli
 
@tina I am trying
hold on for just one moment
 
there is no general function for any string
 
I will post something long
 
Neo
oh ok, then I'll use str_replace, do you know the name of that function anyway?
METHOD?
 
2:54 AM
pdo::prepare
+ few related methods that passes the actual data
 
Neo
thanks alot zerkms
 
@tina what is 2d system?
 
Neo
hey btw I just remembered who you are
 
@tina, What, please, is 2d system
 
@Neo: who am I?
 
2:55 AM
so does it draw to the screen or only in maths?
 
Neo
Россия
 
lol ))
 
Neo
lol, yeah we were discussing mysql optimization a while aho
ago
 
@Neo please speak English in the general chat rooms. If you wish to speak other languages, kindly create another room and label it as so.
 
@drachenstern: argh, don't be so boring )
 
2:57 AM
@zerkms argh don't have secrets in public
;)
 
))
 
hey do we know if @david got his VM working?
@tina continue
 
the country name can be treated as a secret in very rare cases imho )
 
what is one class of extetn
do you mean extension?
thank you
 
@drachenstern david did get his vm working, 2 instances of ubuntu server, one for mongodb and one for node.js, both accessible from my local network, haven't forwarded the ports on the router yet
 
2:59 AM
woot
how's that ubu server working for you?
for specifying what extetn meant
 
@david: are you feeling now like a linux guru? ;-)
 
and for spelling it correctly
I'm having trouble converting this sentence to something I understand thats system boundry from where user can interactnow in this packages
 
@david: btw, why do you need 2 separated instance?
 
@tina I do not
 
@zerkms ahahahell no, i tried to install kate to edit some text, it downloaded all this stuff, but it needed a desktop environment so it wouldnt run :(
and i couldnt get node to recognise openssl either ><
 
3:02 AM
@tina, one moment
 
@david: to edit text mcedit (the editor from mc) or nano is good enough for you, imho
 
@zerkms 2 instances because i can, and it keeps them nicely separate
 
I need a moment before you continue
 
yeah i ended up using nano
 
@david I do like nano more than vim or emacs ...
 
3:04 AM
once i figure out how to access shared folders over the network i'll probably just edit the files from the host windows 7 OS because it's what i'm comfortable with
 
are you using samba?
 
i have no idea what that is ^^; :D
so probably not
 
@david time to google that and SMB
Server Message Block
it's how MSWin communicates over the network
@tina can you paste me about 5 to 10 lines of callstack for example?
I would like to make sure that I understand what you mean call stack. I need to understand.
so I ask you to please show me some of it
maybe a screenshot picture?
 
It is funny to "ask" a question about UML w/o screenshot or/and code...
 
@OlegKuznetsov exactly
@tina until I know that we are discussing the same things I cannot
I must see something to make sure we use the same words
I do not need all of your code, I do not even need most of it, just a few lines
thank you please
@tina this is not a callstack
this is a pseudocode
do you have the callstack?
 
3:10 AM
hey guys, quick question - anybody know of a good network monitoring tool?
 
can you please share me a few lines of the pseudocode?
@Gallen what are the requirements?
@tina I'm not asking what you know about the code
I'm asking what the callstack looks like. I am asking to SEE the callstack
 
@drachenstern i'm trying to figure out where the bottleneck in my network is, we're lagging on black ops ocasionally and i suspect its a pc on my network
 
@Gallen what you need is not network monitoring software but a better knowledge of what is happening
@tina because I think you use a word in a way that I do not use the word
If I say I'm going to eat a dog, do you think the animal with four legs?
@Gallen if this is at home, how many computers are there?
What version of Windows?
What speed of DSL?
 
@drachenstern 5 pcs, 3 xboxes, 25mbps connection, windows visa/7
 
@tina not true
@Gallen where is the slowdown? xbox or pc?
 
3:14 AM
on the xboxes
 
@tina then I will hold down the UML discussion too
 
all at the same time
 
@Gallen then there's not much to be done, when does the slowdown occur? at about 4-6pm at the house?
 
@drachenstern and it's not an xbox live issue, since it is happening to us in seperate games, and to nobody else on the server.
@drachenstern random, throughout the day
 
@Gallen can you pin it to specific BANDS of time during the day?
 
3:15 AM
@drachenstern lasts for 15-20 minutes at a time, games are unplayable
 
@tina ok, but I'm not making it, so I don't need to discuss it. You may tho.
@Gallen that's indicative of a network problem upstream, not something at the house
 
@drachenstern i've swapped the router out, turned off all but ONE pc, and I have a stubborn roommate who wont let me touch it.
 
@tina please, ask it directly on SO, with full of details, because from my POV it looks like "writing competition"
 
can you get on youtube and watch a video when it does that?
 
@drachenstern should i try a trace when its happening then? to see where the fault is?
 
3:16 AM
@gallen does he have any sort of torrent software running? usually that's why a person won't turn off a pc
that could do it
@Gallen trace what exactly?
 
games just waste your time!!
;-)
 
what are you going to trace?
the cable?
 
@drachenstern no, the dns servers to see where the bottleneck is
 
@Gallen so you control your dns servers? what are you going to do, run tracert? that won't have any benefit
the problem is outside of your network
 
tracert was it
 
3:17 AM
or it's the pc that you can't touch
 
ah
but if i can prove to my roommates its outside of the network then they'll stop blaming me
 
what he probably wants is a router that gives reports on what is going through it
 
yes. But it means removing the one computer from the network.
 
and buddy insists on keeping his computer on because he 'knows' theres nothing wrong with is and hes not downloading.
 
@david but that doesn't matter
@Gallen then tell him that he should do you the courtesy you've done him and turn it off for a stretch, since you've turned off yours
 
3:19 AM
sure it does, if the graph has a mad spike from one IP address just as the games become unplayable you at least know where it's coming from
 
@david he's not going to know how to gauge the metrics off such a system
 
i wouldnt?
 
@david wait, they have that sort of monitoring that it can tell what's saturating the bandwidth in graphical form on a standard home router?
@Gallen if it's only going to show bits transmitted and it's not going to give you a breakdown of ports and QoS then you can't use it to gauge the metrics
@Gallen it wasn't a personal dig
you must have port, QoS, soure and destination, and size and frequency of packets
 
i don't know if they do, i know you can download different firmware for routers though
 
haha i was gonna say, im a+ certified wtf :P
 
 
@david that's my point, I haven't heard of any of the tomato or DDWRT that do that. SuperUser or ServerFault should be able to point at one of those tho
I didn't know they had built that into tomato. I am impressed and stand corrected
Perhaps that will help troubleshoot, but only if it lets you do a breakdown by source
 
I wasn't looking to spend too much time on this, I was just hoping there was something like a packet sniffer that would tell me where the most bandwidth was being used on my network
ill just cut him off at the router, he wont even know
 
@Gallen if you had a "dumb hub" you could
 
i have an ubuntu box not in use
 
but switches don't rebroadcast all traffic back to the network (part of the speed boost they provide) so you can only see the traffic between you and the server normally
 
3:23 AM
oh, and we got a mac
i forgot to mention that
 
@gallen that software goes on a router
 
i am an osx noob, what kind of security risks does it pose? should i look into that?
 
listen, if all the computers are off and only the xboxs are on, then you can garauntee the problem is from outside the network.
nah, not really
 
i'll give it a shot
 
@tina I have tried to recompose your thoughts in a logical and coherent fashion. Please read this and see if it is correct?

Hello everyone and good morning. I have a question regarding UML. I am reading a project and I need to generate the design for it. I have completed my class diagram, in the form of packages.

Now let us suppose that I have a package for 2D system. That system demonstrates boundaries for where the user can interact. In this package there are three more packages that have a relation between them. Should I make use cases of the 2d system or its internal packages?
I am making my project design by reading the call stack of my project. I have the complete project, but I need to analyse it and make a project design. I have almost completed my class diagram, showing the various packages. (in response to my question "why the use of the call stack") I need to use the call stack because Ihave to make the sequence and activity diagram, to study them. This allows me to know which functions are calling to which other functions.

The package allows the user to query 2d operations to discern mathematical results. I have not started to add visualization code to t
Now, I was working on that the whole time you were posting and saying I wasn't listening, but when I asked you to provide clarifying information, you gave me a hard time. I advise you to use those two posts to start a SO question for help
 
3:29 AM
he rewrote it for you in a way he found to be clearer
 
I mean you should finish writing this as a question on stack overflow so you can get more help
I was already writing it before
where is the question link?
nevermind, I'll find it
0
Q: activity diagram of a use case

tinai have a use case.. and now i am trying to make an activity diagram on this use case.. use case: intersect ..user use this for two points let say A and B . now i have a function "isMBRIntersect" and here my controls goes and inside this function, a function called i-e move to MBR().. now ther...

-1
Q: project design of c++ program

tinai am not understanding call stack.. i have to make a design of my project. ' i can make class diagram but i am not getting how to handle strut and union. and how i make activity diagram.. actually whats activity diagram. and sequence diagram.. i have forgotten he concept about this. if i will ...

0
Q: need help in 9 intersection model..

tinaanybody know about 9-intersection model,.. i have to apply it with point,line and polygon suing c++. anybody can help me....

 
@tina im not familiar with activity diagrams, do you mean sequence diagram?
 
@tina you are not making yourself very clear in your questions
 
man i wish i knew about that site in school
@tina no need to get hostile, Tina - drac is helping you the best he can, it's hard with the language barrier.
 
Additionally, when I ask you for details you evade me and tell me you wont give me what I ask
That is not fair to me
 
3:36 AM
@drachenstern: just never mind )
 
@zerkms I think so
I'm deleting my working set of notes on this
so I think I'm gonna go read some code, I'll be lurking
 
@drachenstern: i've noticed that I often just write something to answer and just delete it being even not-sent ;-)
 
@tina were you looking at how to draw the uml diagram? or do you already know how to draw it and are just looking for the correct steps
 
@drachenstern Wow, thanks for the link!
 
Omg!!!! it is sooooooo nice websequencediagrams.com
 
3:41 AM
@OlegKuznetsov yep, found about that while I was in database class
so nice
 
@zerkms indeed
 
so star it ;)
 
@drachenstern {{done}} :P
 
do you get rep for starred chat messages?
 
nope
 
3:44 AM
@tina i'll read over your question and respond if I can
 
 
13 hours later…
5:03 PM
that stuff work?
noone is here seemly
:(
 
5:19 PM
@speeder people are rarely here
 
5:44 PM
Noticed
 
 
3 hours later…
9:07 PM
^_^
 
 
2 hours later…
10:42 PM
>_<
 

« first day (28 days earlier)      last day (3211 days later) »