Language:
switch to room list switch to menu My folders
Go to page: First ... 45 46 47 48 [49] 50 51 52 53 ... Last
[#] Wed Jan 13 2010 11:41:12 EST from Ford II @ Uncensored

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

and if you're unlucky, you get one that knows he's in a good spot and he's intolerably obnoxious.

[#] Wed Jan 13 2010 12:29:53 EST from dothebart @ Uncensored

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

http://www.developer.com/java/article.php/3856906/Java-vs-C-The-Performance-Showdown.htm

nice figures.

though he doesn't know the answer to "write once, run everywhere" is "compile once, debug everywhere" which I mostly win with any arguments about people favouring a java interpreter over a compiler.



[#] Wed Jan 13 2010 17:05:46 EST from LoanShark @ Uncensored

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


Nah, Java is more portable than that. Not many cross platform bugs, especially if you avoid Swing and whatnot.

[#] Wed Jan 13 2010 18:08:17 EST from STEVEN @ Uncensored

Subject: Microsoft Office 2010

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

I would like to know what your take is on the new Microsoft Office 2010. I am new to these forums and just picked your name out; so any tips would help. I am very interested in programming but am looking for a mentor, also, Please respond.

Wed Jan 13 2010 05:05:46 PM EST from LoanShark @ Uncensored

Nah, Java is more portable than that. Not many cross platform bugs, especially if you avoid Swing and whatnot.

 



[#] Wed Jan 13 2010 18:50:55 EST from LoanShark @ Uncensored

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


STEVEN, OFFICE IS A GREAT THING IF YOU LIKE MICROSOFT, AND YOU ALSO LIKE YOUR OFFICE. I MYSELF FAIL AT THIS, RATHER EPICALLY. EPICALLY. THAT IS A WORD.

-LoanShark.

[#] Wed Jan 13 2010 20:16:08 EST from fleeb @ Uncensored

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

Tsk, LS.

Steven, what sort of programming do you wish to consider?  You can find people here familiar with almost any language, although I doubt many of us have the time to mentor anyone.  Most of us here learned to program the old-fashioned way; we fucked with the computers until they did what we wanted them to do.

Also, I'm not sure this is the right room to discuss the benefits and drawbacks of MS Office 10 (which, incidentally, I've never tried)... you might try the Microsoft Bashing room.



[#] Wed Jan 13 2010 22:10:31 EST from Ford II @ Uncensored

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

Nah, Java is more portable than that. Not many cross platform bugs,

especially if you avoid Swing and whatnot.

I was on board with java nearly everywhere except for the whole how-do-you-install-the-application problem, but once you get it installed on whatever OS, it runs rather well.


That was until 64 bit builds became popular.
I rather thought that the whole point of java in its non-metal design wouldn't have a single problem with 64 bit implementations, yet, fight I do with the stupid incompatible versions of libraries and other shit.

granted I admit that the problem is my ubuntu distro not having a full build of all the 64 bit stuff it uses, but still, maybe it shouldn't be a problem in the first place.

[#] Thu Jan 14 2010 08:21:08 EST from dothebart @ Uncensored

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

hm, some nice performance figures...

Two of $employers component running in valgrind, and jmeter torturing them.

Cpu Usage:

Component 1: ~50%

Component 2: 20-30%

JMeter: 15-20%

just for sending some shitty http requests. You can also see valgrind as magnify by 50, so without it it would have been:

Component 1: 1%

Component 2: 0.3%

JMeter: 15 - 20%



[#] Thu Jan 14 2010 15:52:33 EST from Ford II @ Uncensored

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

If you think about the bloated nature of software these days and how many layers exist between 'sending some shitty https requets' (which isn't exactly trivial ifyou think about it on a really low level) and malloc, and how every malloc and free hs to be tracked and checked by valgrind, it's not too hard to understand why it's so busy.

[#] Thu Jan 14 2010 23:40:54 EST from IGnatius T Foobar @ Uncensored

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

Nah, Java is more portable than that. Not many cross platform bugs,

especially if you avoid Swing and whatnot.

Are there cross platform bugs with Swing? I figured there'd be more problems with SWT due to the native platform integration.

But it is true that Java really shines as a language for business logic, because it really does "just work" on any server platform for those applications.

[#] Tue Jan 19 2010 14:55:31 EST from LoanShark @ Uncensored

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

Are there cross platform bugs with Swing? I figured there'd be more

problems with SWT due to the native platform integration.

I don't really know. I think there are more opportunities for cross platform bugs in Swing because there's a bigger surface area that needs to be integrated with the host platform, and there's also an absence of standardization in that area. Whereas the basic C open a file, close a file, open a network socket, close a network socket, stuff, is more portable across operating systems.

I was explicitly excluding it because I haven't used Swing much recently. That said, LimeWire works well ;)

[#] Tue Jan 19 2010 14:57:34 EST from LoanShark @ Uncensored

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


JMeter is evil, by the way. If you start sending it some large http responses, it will store them all in memory, and it won't be able to truely measure your applications performance because it will be busy chewing up its own CPU and running out of heap space. I commented this part out because it's really not an essential part of JMeter, and I submitted a bug suggesting that they replace storing the entire response body with storing a crypto hash thereof... but they never did anything about it. Kind of too bad.

[#] Tue Jan 19 2010 16:42:28 EST from Ford II @ Uncensored

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

I was explicitly excluding it because I haven't used Swing much
recently. That said, LimeWire works well ;)

I was going to say azureus works well enough too.
How is limewire going, I thought Iheard they got shut down.

[#] Tue Jan 19 2010 17:13:26 EST from LoanShark @ Uncensored

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


GNUtella would be hard to shut down. It's kind of like playing Cease-And-Desist Whack-A-Mole with the tracking nodes, I think...

[#] Tue Jan 19 2010 19:39:41 EST from dothebart @ Uncensored

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

 

Di Jan 19 2010 14:57:34 EST von LoanShark @ Uncensored

JMeter is evil, by the way. If you start sending it some large http responses, it will store them all in memory, and it won't be able to truely measure your applications performance because it will be busy chewing up its own CPU and running out of heap space. I commented this part out because it's really not an essential part of JMeter, and I submitted a bug suggesting that they replace storing the entire response body with storing a crypto hash thereof... but they never did anything about it. Kind of too bad.

soap? big content? I was testing the authentication framework, so its a bunch of key value pairs, and in some rare cases some kilobytes of content.

it was just one request at a time since I was testing functionality rather than speed. there were about half a dozend requests where regexes revalidated the replies out of several hundrets, I wasn't realy exact to get all of the criterions checked yet.

I would have expected it to use next to zero cpu like some

for i in 1 2 3 4; do echo GET /bla|nc 127.0.0.1 80 >/dev/null ; done

would have.

so, my point is, if you accept valgrind as an x86 interpreter, the jvm is to be ruled an interpreter too. Btw, that tested code is C++ which wasn't profiled in any way yet, and probably does way to much allocing.



[#] Tue Jan 19 2010 21:07:21 EST from Ford II @ Uncensored

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

From what little I've heard, there's little gnutella network left in the gnutella network. They've got so many advanced optimizations (geographic locating and whatnot) that it barely resembles the original protocol.
But I meant the software itself, didn't somebody go after the authors and make them stop?

[#] Thu Jan 21 2010 00:25:32 EST from LoanShark @ Uncensored

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


It is incompatible with the original protocol, yes. Early clients will fail to connect.

[#] Thu Jan 21 2010 00:25:48 EST from LoanShark @ Uncensored

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

But I meant the software itself, didn't somebody go after the
authors and make them stop?

Their website is still up...

[#] Thu Jan 21 2010 14:30:56 EST from Ford II @ Uncensored

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

I had a funny thought last night, haven't quite flushed it out, but it would be a good addition to one of those silly programming languages like whitespace.


java has implemets and extends and interface.
So you can tell if something is an instanceof something else.

Sorta like saying "Object x isa Integer" returns a boolean.


Well wouldn't it be funny to have a 'was' construct.
x was Integera

let me try that again.
x was [a] Integer.

Again, I haven't worked it all out, and I'm not sure exactly what it would do except have no value, but it would be funny.

[#] Thu Jan 21 2010 15:02:21 EST from fleeb @ Uncensored

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


Kind of like Intercal's COME FROM statement.

Go to page: First ... 45 46 47 48 [49] 50 51 52 53 ... Last