Language:
switch to room list switch to menu My folders
Go to page: First ... 8 9 10 11 [12] 13 14 15 16 ... Last
[#] Wed Nov 12 2008 15:52:24 EST from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

I just got bit by the generics thing.
I'm trying to make a comparator for an arraylist filled with my own class.
I tried being nice and playing ball but I get a warning from the call to collections.sort.
It must be pretty bad because the only suggestion eclipse comes up with is to add suppresswarnings. :-)

I assume the comparator interface is genericised, and I should be able to implement it for my type, but no go.

[#] Wed Nov 12 2008 15:54:37 EST from dothebart @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

cute ;)

[#] Tue Nov 18 2008 07:56:24 EST from dothebart @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

[#] Tue Nov 18 2008 10:19:26 EST from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Heh. Gates and Jobs are appropriately absent from the list of top 10 greatest geeks of all time. Torvalds is in the top spot.

[#] Tue Nov 18 2008 19:54:41 EST from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Please.
The biggest geeks in the world are so geeky and introverted that nobody would ever know them.
That article is a popularity contest.
Remember laslow? Now HE was a bigger geek than anybody on that list.
Lazlo, apparently I spelled it wrong.

[#] Wed Nov 19 2008 09:05:28 EST from fleeb @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]


Yeah, I'd argue that the Tron guy is possibly a bigger geek than any of those people.

[#] Wed Nov 19 2008 21:38:31 EST from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

C++ is to C as Lung Cancer is to Lung.

just read that on stackoverflow.

[#] Thu Nov 20 2008 07:55:18 EST from dothebart @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

http://labs.adobe.com/technologies/alchemy/

oh, adobeeeee has a "virtual machine" now too. Interpreter just doesn't cut it anymore these days.



[#] Thu Nov 20 2008 09:24:18 EST from Bryon Roche @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Even better is when that 'secure' virtual machine has a 'non-exploitable' integer overflow that's used to create an exploit that runs on IE and Firefox, and on windows and linux.

 



[#] Thu Nov 20 2008 10:39:25 EST from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Computer science people have been referring to bytecode interpreters as "virtual machines" for decades.

[#] Thu Nov 20 2008 12:01:31 EST from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

well, they are, in a sense, vmware is really the same thing, but they bytecode they interpret happens to be the same as the code native to the machine.

[#] Thu Nov 20 2008 12:13:15 EST from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Not really. Virtual machines inside VMware are running natively on the hardware.
VMware is merely time slicing them and pulling a couple of other hacks to keep them separated. It is definitely *not* emulating x86 on top of an x86.
(There are other programs which do this -- Bochs for example.)

[#] Thu Nov 20 2008 12:13:52 EST from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

I was under the impression that vmware did emulate, which is why xen was supposed to be faster.

[#] Thu Nov 20 2008 12:22:03 EST from IGnatius T Foobar @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Xen requires a CPU with hardware virtualization support in order to run unmodified operating systems. VMware can support hardware virtualization when it's available, or it can virtualize using its traditional set of software hacks.

Xen on hardware VT versus VMware without it ... yeah, Xen would win. On a direct comparison, though, nobody outperforms VMware.

[#] Thu Nov 20 2008 12:34:14 EST from LoanShark @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]


There is a difference between interpreter and virtual machine. Virtual machines go back at least to UCSD Pascal and implement a set of machine instructions similar to a physical machine, with either a stack or a set of virtual registers. Interpreters may use different techniques, such as tokenization. (E.g., in Apople ][ BASIC, each and every statement in the BASIC language had its own byte token.)


It's only since the advent of Java and similar technilogies that the use of pseudo-compilation has become so popular that it's become synonymous with an "interpreter."

[#] Thu Nov 20 2008 12:36:05 EST from LoanShark @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]


Well, VMWare ESX is probably the correct c omparison - doubtless VMware Workstation is slower than Xen.

[#] Thu Nov 20 2008 14:30:23 EST from Ford II @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]

Then I guess I should get me some ESX.
I gathered my assumptions from the effects I saw on my cpu from doing different things in vmware workstation, I just assumed it was emulating, but the processor is so damn fast it just didn't matter anymore.

[#] Thu Nov 20 2008 14:40:49 EST from dothebart @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]


Do Nov 20 2008 12:22:03 EST von IGnatius T Foobar@uncnsrd

Xen requires a CPU with hardware virtualization support in order to run unmodified operating systems. VMware can support hardware virtualization when it's available, or it can virtualize using its traditional set of software hacks.

Xen on hardware VT versus VMware without it ... yeah, Xen would win. On a direct comparison, though, nobody outperforms VMware.

You're joking, right? Virtualbox easily outperforms vmware if you're intending to use it on the desktop.

And if you just want to run some windows apps win4lin is faster by magitude, as it replaces the windows FS/NET/GUI layer by direct adaptations to the linux host.

Plus I collected the experience that if you're starting heavy disk I/O the vmware clearly looses.



[#] Thu Nov 20 2008 15:02:18 EST from LoanShark @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]


wow, cool, looks like i'm going to have to check out virtualbox. is there any drawback to the open source edition?

[#] Thu Nov 20 2008 15:07:22 EST from LoanShark @ Uncensored

[Reply] [ReplyQuoted] [Headers] [Print]


crap, there's probably a drawback related to driver signing on 64-bit Vista. Grr.

Go to page: First ... 8 9 10 11 [12] 13 14 15 16 ... Last