Help Logs Database

Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Ircnet  |  Dalnet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

<Drad> you are most knowledgable
<KimmoA> I was just up and helped some lady with her box. She couldn't go to the "counter" part of some Web shops. I was scratching my head, wondering WTF was going on. Eventually, after seeing how the sites don't even work in Opera (may them burn in hell), I realized that that stupid Norton Firewall bull**** was actually doing it. Now it's turned off and they won't be getting any annoying warnings that do no good whatsoever.
<WhatAHam> her 'box' heh
<KimmoA> :S :)
<WhatAHam> man i need a gf.. my mind's in the gutter
<KimmoA> Why would anyone run a "firewall" on a personal computer? It's beyond me.
<jamesd-> Nothing worse than embarr***ing popups when you're helping a lady with her box.
<WhatAHam> to avoid virii?
<KimmoA> jamesd-: Not pop-ups... Norton "warnings".
<KimmoA> WhatAHam: That's called an anti-virus program :)
<jamesd-> I think we're talking at cross-purposes.
<KimmoA> And I don't even use anti-virus software anymore, because I don't know of one that doesn't slow my box down by default.
<KimmoA> I want to manually check only.
<jamesd-> And *that* is why we will continue to have so many computer security problems.
<KimmoA> Um... no.
<OlaRune> KimmoA: NOD32?
<KimmoA> I'm not an idiot. I don't get malware.
<KimmoA> OlaRune: Never heard of :S
<OlaRune> it's great ;)
<KimmoA> How do anti-virus programs work? Do they check for patterns or hashes? Or both? Surely they can't keep track of exact files (plus it would ****)?
<jamesd-> Kimmo: many heuristics, signatures, more than I don't know about I'm sure.
<KimmoA> Hmm...
<KimmoA> 'Cause they do scan your HDD incredibly fast if you think of it.
<KimmoA> Not like I wanna use an anti-virus software like that.
<KimmoA> I want to check seperate files manually.
<KimmoA> Like when I get them from an "unsecure source".
<KimmoA> And I definitely don't want a stupid "engine" in the background checking all files I "touch".
<Kniht> doesn't need to do that, only check files you execute and files matching certain types (msoffice macro viruses)
<KimmoA> Well... even AVG Anti-Virus is too bloated to me.
<KimmoA> But then again, the AV company needs to be rather big and commercial so that I know that they are serious and up-to-date.
<KimmoA> TV time.
<jamesd-> Megz: interesting... I'll find it... http://www.jamesd.demon.co.uk/personal/resume-jad-20050717.pdf (seems that Google doesn't index my truly pathetic top page, must add some CSS and then change that.)
<|Phreak|> I usually use avg and adaware on other people's computers
<WhiteWolf> is there a way to get the instance name of an object?
<WhiteWolf> mmm, ignore that
<WhiteWolf> thoughts lead to the dark side
<KimmoA> That ****ing "next-gen smiley" banner is all over the Web. I bet that spyware POS company give you a lot of cash for a referral.
<KimmoA> s/referral/lead/
<KimmoA> s/smiley/smileys/
<KimmoA> And that "funky cursor" one too.
<m4l|> anybody know where to find unpaid internships in comp sci? i've tried google but cant find anything
<|Phreak|> ask your professors
<KimmoA> w0t r profezzor b dat teh old man w/ teh beard lol
<Finland> greetings
<JameBond> is there a way to get (not intercept) the WMsgs for the RAS.ModemLights in the system tray? to know when user chose to disconnect...?
<daxxar> ZorbaTHut, hahahaha, did you see htis one? http://loserz.scribblekid.org/index.php?id=389
<ZorbaTHut> I've read 'em all, but yeah, that one's awesome :)
<SantaBJ> http://rafb.net/paste/results/YqmVhE85.html
<Alipha> santaBJ: what about it?
<SantaBJ> getting to that
<SantaBJ> lol
<Alipha> lines 32-39 can be more simply written if the while condition is: while(in >> value >> newvalue)
<Alipha> also, that loop will end if value or newvalue was unable to be extracted (ie, there is non-numeric text)
<SantaBJ> there won't be
<clamm> Can niggas learn to code in c++ ?
<SantaBJ> convertfile will contain two integers
<SantaBJ> representing ASCII characters
<Alipha> yay
<jamesd-> clamm: care to clarify your question for us thinking-impaired people?
<clamm> jamesd-: I aint talking to an OP
<jamesd-> Fair enough.
<Genia4> huh?
<Genia4> curious fella
<SantaBJ> I want to modify the contents of inputfile using those values - the first value can be for example 45 (A), the second 97 (a), this would mean that all instances of "A" in inputfile will be changed to "a" in the output result.txt
<SantaBJ> I'm (obviously) a C++ noob
<Genia4> oh, so you wanna make a whole file lowercase?
<SantaBJ> no
<Genia4> then repeat question
<SantaBJ> say inputfile has the string ABCD
<Genia4> right
<SantaBJ> and convertfile says 45 97
<Genia4> understood
<Genia4> 3 files
<Alipha> SantaBJ: what exactly is line 56 suppose to do?
<SantaBJ> that should make result.txt say
<Genia4> input, convert, output
<SantaBJ> aBCD
<Drad> in regard to a question I asked earlier
<Alipha> n/m
<Genia4> can convert file have more than one possible conversion?
<Drad> #define printfPB(a,...) printf(PSTR(a),__VA_ARGS__)
<Drad> this works fine
<Drad> except when there's only 1 arg
<Drad> i.e.
<SantaBJ> Genia4: yes, it's supposed to be ASCII numeric values
<Drad> printfPB("blah"); throws an error
<SantaBJ> any two valid ASCII numeric values should work
<Drad> but printfPB("blah",arg); works
<Genia4> how are they sepearted? a space?
<SantaBJ> yes
<Drad> any ideas?
<Alipha> SantaBJ: this program will very easily invoke undefined behavior of char is signed and you're working with extended characters
<Genia4> Alipha: I ***ume he does ascii only
<SantaBJ> I do
<Genia4> do you know how to read inputfile into an std::string?
<Genia4> and how to write a new file out?
<SantaBJ> I think I do
<SantaBJ> I posted what code I have already
<Genia4> show me
<SantaBJ> http://rafb.net/paste/results/YqmVhE85.html
<Drad> jamesd- ?
<Genia4> valid code!!!!!
<Genia4> SantaBJ++ :)
<Alipha> SantaBJ: I don't see any problem with thata code. what's the problem?
<SantaBJ> it won't output to result.txt
<SantaBJ> =/
<WhatAHam> n
<jamesd-> Drad: I'm not sure if you can do anything about that.
<noam_> calc !eof
<Alipha> noam_: the use of eof, while not optimal, does work here.
<noam_> i can't watch it. it makes me tear.
<Drad> oh
<Genia4> noam_: no calc access?
<Genia4> calc !eof
<noam_> nope
<SantaBJ> text[i]= convtable[(int)text[i]]; <- I think it should say -> text[i]= (char)convtable[(int)text[i]];
<SantaBJ> messed around with it some earlier and forgot to change it back
<SantaBJ> but even with that it won't write to result.txt
<SantaBJ> gah...I hate getting stuck and not knowing why -_-
<jamesd-> Drad: but it might be possible; I've never really used __VA_ARGS__, only implemented it.
<Genia4> ok, let's see
<Alipha> SantaBJ: have you walked through this with a debugger to see that the while loop is being executed and stuff?
<Genia4> I have a simpler way
<Genia4> output something simple to the file right after the loop
<Genia4> to see if it works
<Genia4> when you see that it works, we'll check why the loop is not working
<Drad> aha!
<Drad> maybe this
<Drad> the ##
<Drad> I will try it
<WhiteWolf> Alipha: A=cl***, c = constant, A*c, c*A.. overloading operator*... I want both multiplicative statements to be the same... do I have to declre operator* to accept the parameters both ways?
<Alipha> WhiteWolf: yes, you have two operator*
<jamesd-> Drad: um, ## is for token pasting... I don't recall it being changed for varargs.
<Drad> yes that worked
<Genia4> WhiteWolf: the A*c can be declared as a cl*** member
<Genia4> the other has to be global
<Drad> oh
<Drad> well it compiled this time
<WhiteWolf> that seems inefficient
<Alipha> Genia4: preferably, have both global imo
<SantaBJ> it works, I know cos I tried it before
<jamesd-> Drad: Hmmmmmn.... I'll have to look into that.
<Genia4> Alipha: same here, yeah
<Alipha> WhiteWolf: have one operator* call the other


Return to c++
or
Go to some related logs:

warez site:ws

Copyright © 2005 www.irclogs.ws. All rights reserved. » disclaimer » contact