« first day (367 days earlier)      last day (4803 days later) » 

23:13
3
Q: In what way is ::operator new[]() different than ::operator new()?

MartinI need to construct an array of objects from a previously allocated block of memory. However, I cannot understand in what way ::operator new[]() is different from ::operator new() from the user point of view when allocating that block, since both require the size of the block. In the following ex...

> Stack Overflow requires external JavaScript from another domain, which is blocked or failed to load.
@LucDanton oh, you have been hijacked?
I've just noticed the banner and generally don't have a clue.
i wonder how they do that, by the way. i visited an "erotic" page and suddenly all tabs started showing ungood german pr0n. using latest version of firefox.
Seems like the whole of stackexchange is affected.
i can understand to some degree when earlier tabs are visits to pages from same company (or page-producer, whatever it's called). then the tabs can cooperate, so to speak. but how to hijack some unrelated browser tab from your page's code?
XSS or something?
ok, i read up on that. it seems that XSS is just a generic name for doing that?
I'm not an expert, but that's my understanding.
NoScript helps against that.
Even when you allow a page to run scripts, it can detect some attempts at shady stuff. It shows a warning about any possible XSS attempt it actively blocked, and you can allow it if you know it's a false positive.
23:37
Ugh I need help guys..any of you linux experts?
I can't copy files into the usr directory
I know my way around the consoles.
and the terminal is giving me bullshit errors
Regular users don't have write access to /usr.
I should be a root user
Why are you trying to write on /usr?
23:38
@LucDanton NoScript pops up that warning for me too once every few days, but when I reload the page it goes away, never figured out what was going on
@RMartinhoFernandes Eclipse is in there and I need to copy some stuff into it
In my case I restarted the browser.
did that fix it?
I am administrator yet I can't do anything :S
Well at least there's not that banner and the site is fully useable.
23:39
@Praetorian I think he is referring to a red banner. It's not from NoScript, it's the StackOverflow way of saying that loading some JavaScript from outside the stackoverflow.com domain failed.
and it isn't a NoScript warning, it's a warning from the SO page, but it's caused by having NoScript installed
@LewsTherin Are you sure you need to do that?
Definitely
@Praetorian I've seen it without NoScript.
@LewsTherin Are you really sure?
@RMartinhoFernandes Hmm, that;s good, so it must be an SO bug then
23:40
@RMartinhoFernandes Ha ha yeah that's how I got it to work on windows. the manual said so
Seriously, messing in /usr by hand is not like something you should od willy-nilly.
I also don't have NoScript.
@Praetorian Could just be a browser or connection hiccup.
@LewsTherin There's no /usr on Windows. Don't do on one OS as you do on another OS.
No how I got the program working was by copying certain stuff to eclipse
23:41
You got what program working?
that's what I meant unfortunately the software installed in usr directory
@RMartinhoFernandes I suppose it could be, but I've only seen that on SO
@RMartinhoFernandes A plugin of eclipse
@Praetorian Most sites are not as smart :)
The common SO pages carries a small amount of JavaScript for that kind of maintenance stuff.
The su command, also referred to as super user as early as 1974, has also been called "substitute user", "spoof user" or "set user" because it allows changing the account associated with the current terminal (window). The default account is the root account, unless otherwise stated by later additions to the code. In practice, the most likely reason to use it is enabling the administrator to switch from working in their non-root account, to the root account. Another reason for an admin to use it pertains to the hyphen parameter (argument). Usage When run from a command line, as is ...
23:43
@LewsTherin I'm sure you can install that on your home folder.
The install manager did it
will try again
there is no way to change directory of installation
that I know of :(
What's the output of $ echo $ECLIPSE_HOME?
nothing blank
^ very slim person
What kind of errors were you getting when you tried to copy the files to /usr by the way?
$ ls ~/.eclipse?
23:50
org.eclipse.platform_3.7.0_155965261
that's the output of the command
Hah! That's where you can install the plugin to.
it says omitting first directory
Can't you install it from the IDE, though?
but where is it located?
23:51
I thought of that, couldn't find it
There should be a plugins folder somewhere.
How did you install Eclipse exactly? Or not so exactly?
~/ gives me a directory /home/lews/ is a directory
but I can't find lews anywhere
@LucDanton Using the software center
What do you mean? ~ is your home directory.
Which is probably /home/lews, unless you use some other username, or customized it.
but I can't find lews that's the problem :(
23:53
Just type $ cd and you will be at ~.
If there is no .eclipse then it's fine to create it (well assuming Eclipse does use that directory for user preferences and such, I don't know myself).
I'd be surprised if there isn't one though.
@LucDanton It normally uses it, and he said $ ls ~/.eclipse listed a folder.
Well then install the plugin to ~/.eclipse/plugins or wherever it needs to be and there you go then.
@RMartinhoFernandes It says it is a directory but I can't find .eclipse now
$ cd ~/.eclipse/org.eclipse.platform_3.7.0_155965261/plugins
23:55
i will try ls -a
You need the -a because the name of the directory starts with a dot.
You can navigate across several directories all at once.
You don't need to move one at a time.
I finally found it
@RMartinhoFernandes it was under configurations you were right
now to try and copy it
but the file is in a Downloads folder so do I do ../../ and all that crap?
A Downloads folder under your home folder?
~/Downloads should do it.
Make sure you unpack it or whatever is necessary (I have no idea, I always installed that crap through the GUI).
so I should do cp ~/Downloads..

« first day (367 days earlier)      last day (4803 days later) »