@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10



Comments:

<0> permission denied to cat /proc/cpuinfo
<1> So it seems the local user isn't in the group owning /proc.
<0> nope, proc is owned by root and group adm
<2> as they should be
<1> I have no idea how your distribution works, so I can tell if a normal user is supposed to be in that group.
<1> Then try: chmod 555 /proc
<0> I just installed it last night, so i'm guessing it did it right... let me try the other user account
<0> same... ok, chmoding
<1> (it's root/root here on Gentoo and on Debian)
<0> now it works
<0> [well the cat]
<0> and uname works
<1> The uname should work, too, then.
<1> This probably didn't fix the other problems, though.
<0> nope
<1> you could try to run the configure script manually under strace and try to find out which operation fails.



<0> i'm guessing the default output is in a place that i can't access...
<0> how would I do that?
<1> strace -s 500 -f ./configure 2>&1 | grep EACCES
<1> (in that debug directory)
<0> i found the problem
<0> I don't have permission for g++ itself!
<2> lol
<1> That would explain the message "The C++ compiler can't create executables" very well.
<0> followed 4 symlinks.... g++-4.0.1 is -rwxr-x--- so should I 755 it?
<0> wait, no, not 755... bah, what is r-x?
<3> read, execute
<1> or put the local user into the group owning g++.
<1> 755 would be right.
<1> Adding the user to the g++-enabled group would make more sense, likely.
<0> ok, time to add him to group
<4> what did you do? secure your system by doing chmod -R o-rwx / ?
<0> lol
<1> You don't only need rights for g++ but also for a large bunch of other tools.
<0> Asmodee` - i installed mandriva
<3> one has to wonder why g++ enabled isn't "world"
<4> and it's this screwed up by default?
<1> vawjrwrk: indeed.
<0> Asmodee` - apparently
<0> luckily gcc and g++ and such are in a group of their own 'ctools'
<4> it's probably much easier to just install a different distro than work this out
<3> can't have them reg'lar users messin' w/ the compiler
<1> vawjrwrk: perhaps, that strange distribution discovered the security-by-obscurity strategy.
<3> actually, I'm wondering why you need r, shouldn't x suffice?
<1> You don't need r unless it's a script.
<5> hmm... on a web server that supports directory listing, is there a way to request the raw directory list, without the web server decorating the page in html ?
<3> huh?
<6> That's up to the server.
<6> Of course, you knew that, which is why you asked the question the way you did...
<2> rdragon: open it using ftp :P
<6> ...which means I was no help at all.
<5> hmm
<0> still permission denied... bah!
<6> If a server provided a way to do that by default, it would be a humongous security hole.
<6> Directory listing itself is a hole.
<1> tonsofpcs: the local user will have logout and login after you changed the group. The changes aren't effective for processes already running.
<0> _m_ yea, doing that now ;)
<6> Meaning, the server must reserve the right to redact certain information.
<5> Solamente yeah I guess you're right
<1> Who says there is a directory to list?
<5> I do
<6> That, too.
<5> but yeah, alrighty thanks ;)
<6> Some of my paths are blah.com/foo.aspx/bar/baz, where heaven only knows what bar and baz are.
<1> In web applications I tend to use directories instead of silly &foo=bar parameters.
<6> Exactly.
<7> so you need string.h for std::string, or iostream?
<0> foo bar baz quux quuux quuuux quuuuux quuuuuuuuuuuuuuuuuuuuuuuux
<6> Well, path-like strings.
<1> SB_: <string>, of course.
<6> Not necessarily real directories.
<6> But I hate query parameters.
<7> _m_, haha thanks :)
<0> yay! thanks m :)
<0> now to go to cl*** and complain that system("cls") doesn't work ;) [yes, I decided to install linux on my notebook just to do this to a teacher ;)]
<1> O M G
<0> while i'm at it, anyone know of a good c++ helpdoc (*like* msdn, only usable and nix based) ?



<0> [plus the fact that I was suffering withdrawl from n*x at school ;)]
<1> Hopefully, you teacher will tell you to do system("clear") :P
<2> man
<0> _m_ - I haven't been to this cl*** yet, Hopefully she will tell me that the clear screen function is butched syntax and really shouldn't be used unless absolutely necessary ;)
<0> but she told me I could use any compiler I want, so I'm thinking next week I bring my pc running UAE and try compiling on Amiga ;)
<3> correct, I won't use any programs that clear the screen
<1> Well, a good teacher would tell you that C++ doesn't have any idea of screens, terminals, keyboards, mice, colours etc.
<3> tonsofpcs you have a functioning Amiga? wish I still had mine
<8> whilst good to point out platform specific foibles, it's a bad idea to antagonise your lecturer
<0> http://www.old-computers.com/club/collectors/ordis.asp?c=4698 << that's maybe 1/3 of them, I'm not allowed to put x86s on there unless they played some role in history or are unique
<0> ^^ those are all here ;)
<0> I have four functioning Amigas.
<1> bad memory in an Apple //c? How did you manage to get that?
<1> Hah, I have a PC-1500, too
<1> (or even a 1500A, IIRC)
<0> _m_ - no clue, but that's my guess as to what's wrong, the display memory that is, there's points on the screen on boot that show as @, and ewhen anything is written there, they change to chr(asc(@)+asc(character that should be there_)
<0> _m_ - any clue how to get the plotters to work with the PC-1500/A?
<1> Could be a malfunctioning character ROM, too.
<0> _m_ - I thought of that, but wouldn't that cause the error in different places, not the same spots every time?
<1> The Basic installed on the PC1500 has instructions for that.
<0> _m_ - yea, I tried following the manual and the plotter yelled at me and shut off.
<1> wow
<1> Sounds like broken hardware.
<0> [it still works, it just doesn't like to do much]
<0> i got the one of them to draw a line once....
<0> But I think the portable plotter has got to be one of the coolest inventions ever.
<1> Do you have any working ball point pens for the plotter?
<1> Mine likely are completely dry.
<0> yea, have two brand new packs, and if I need more, sharp US corporate HQ is down the highway ;)
<1> (they're ~20 years old, I guess)
<1> Wow, they're still being produced?
<0> maybe, idk
<1> That'd be royally amazing.
<0> the packages I have say 1991 and 1993 iirc
<0> I'm sure some corporation somewhere makes compatable pens
<1> Ah, so they're likely dry, too :(
<0> well when i got it to paint a line, i dipped the one in a stamp pad ;)
<1> heh
<0> but I can't get it to move really, i'm still not sure how i got it to do the line
<0> I also have two pencils for it, so I guess those still work
<1> There are pencils, too? I never heard of them before.
<0> I think they were 3rd party
<0> or they were from the TRS-80 Portable (AKA Sharp PC-1500B)
<3> is that the one that basically you put on a piece of paper and it just draws on it?
<0> vawjrwrk - kinda... It's a pen plotter, it moves the paper vertically and the pens horizontally and up/down, but it prints on receipt paper!
<6> Receipt paper?
<1> 52mm wide.
<0> lol
<1> It's not plotter paper. It's normal POS paper.
<0> Solamente - would make a nice logo back in the days of dot-matrix or typewriter-style receipt printers ;)
<3> I think the coolest I ever saw (and now would be even coolel because you could make it wireless) you just put on a piece of A4, A5, A200 or whatever and it found the edges of the paper via photocells, then would roll around and draw
<1> hah, fun.
<3> you just needed a flat surface and a way to keep the wires from getting tangled up
<3> it would give a whole new meaning to "turtle graphics"
<1> there was some Rotate command which made the plotter write vertically or upside down.
<6> Plotters do rule. I used to make the org charts when I was a secretary, back in the day.
<6> And the occasional flow chart.
<3> well, these days those 1 metre wide roll fed printers will do a better job than the old plotters
<6> And they also make better scrap paper to bring home for the kids to draw on.
<3> but they sure were cool to watch
<0> http://pocket.free.fr/html/sharp/ce-150_e.html
<0> vawjrwrk - the HP standard plotters (forget the model #) would do that
<6> I knew I should have picked up another share of Google this morning. I'd have already covered commission.
<3> tonsofpcs do what?
<0> vawjrwrk - find paper edges and then move the paper around
<6> Heh... you can tell the age of a web page by the background.
<0> vawjrwrk - there was a guy on freenode that had a little web controlled robot that moved around, and I was gonna make a logo implementation for it, but he has it offline for the next 3 months
<0> Solamente - see, it's a receipt Plotter (4-pen)
<1> And it made an insane noise.
<0> _m_ - yea, that's what mine does, but then it just shuts ;) and all plotters that i've used are noisy
<1> (ball point pens, not felt markers)
<0> vawjrwrk - if i ever find another http://www.tonsofpcs.com/portable3/ , I want to shove an A3000 into it ;)


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






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

#javascript
#linuxhelp
#london
#linux
#javascript
#chatzone
#linux
ThA_AngE
c-function Iexplore
#gentoo



Home  |  disclaimer  |  contact  |  submit quotes