I keep hearing about this internet thing. Maybe some day I will try it.

Why Java is still a popular programming language? Companies are

stuck and can't move it to C#/NET?
Permalink WildRiver 
May 18th, 2017 9:12pm
Well, it's been around since '94, it's free (FREE!), and you don't have to buy in to Microsoft's Property.

Don't forget, WannaCry attacked Windows, not Linux.

That's why a lot of people are buying into Linux, too.
Permalink SaveTheHubble 
May 18th, 2017 9:15pm
Your hash doesn't compute! Go to your mom's basement and rub one out! lol. Leave this conversation for adults, mini-wannabe cool like real WildRiver!
Permalink WildRiver 
May 18th, 2017 9:31pm
I've written some programs in java that are standalone executables which work in Windows across multiple versions, MacOS across multiple versions, and every distribution of Linux, and look and work the same in all of them.

What other language does this?
Permalink Pestular Croaker 
May 18th, 2017 9:54pm
Perl.  Only the GUI part and objects are more difficult than Java.

'Netbeans' is a nice GUI development for Java too.  And again, all free.
Permalink SaveTheHubble 
May 18th, 2017 10:10pm
You are building standalone executables in perl that run on all platforms? Really?
Permalink Pestular Croaker 
May 18th, 2017 11:06pm
I'm talking about full GUI and file applications that have an icon on your desktop and you double click on it.

You are producing that in Perl Hubble, and it works on Mac, Linux and Windows, all releases?
Permalink Pestular Croaker 
May 18th, 2017 11:06pm
Maybe he used PerlGUI.
Permalink WildRiver 
May 18th, 2017 11:10pm
Perl is very crazy hacking stuff. Someone claimed it is very good for text processing.
Permalink WildRiver 
May 18th, 2017 11:11pm
Who does text processing using perl? Just use Regex.
Permalink WildRiver 
May 18th, 2017 11:11pm
Lol
Permalink Yoda 
May 19th, 2017 12:48am
I've always been reluctant to learn Java I think because I still remember the days when it was brutally slow. That's completely unfair these days but the stupid prejudice sticks with me even today.
Permalink Home Despot 
May 19th, 2017 1:01am
This runs pretty fast.

public class TestLoop
{
public void doStuff()
{
long temp = 0;
long count = 0;


for (count = 1; count <= 10000000000l; count++)
{
//System.out.println(count);
temp = count + temp;
}
System.out.println("Finished");
}

public static void main(String[] args)
{
TestLoop myTestLoop = new TestLoop();
myTestLoop.doStuff();
}

}
Permalink Student programmer 
May 19th, 2017 1:50am
Obligatory XKCD reference:

  https://xkcd.com/1171/
Permalink XKCD Bot 
May 19th, 2017 2:26am
"I've written some programs in java that are standalone executables which work in Windows across multiple versions, MacOS across multiple versions, and every distribution of Linux, and look and work the same in all of them."


s/and look/and look like shit/
Permalink Yoda 
May 19th, 2017 4:40am
Java UI generally looks complete shit, many years ago I worked with VB3 and even that was better.
Permalink Sangamon 
May 19th, 2017 4:52am
> https://xkcd.com/1171/

...is a riff on jwz:

I know, I'll use regex to solve this problem
Now you have two problems
Permalink , Cup 
May 19th, 2017 5:06am
Maybe I got used to Java UI but it seems OK to me. Take Trader Workstation from Interactive Brokers, wtf is wrong with it: https://www.interactivebrokers.com/images/2015/tws_mosaic.png ?
Permalink Io 
May 19th, 2017 6:32am
Both TWS and my software run exactly the same on both Windows and Linux. IntelliJ is the best IDE I've worked with, better than even Visual Studio. The code is exactly the same, building it with the IDE or Maven, again, flawless.

And running speed is not an issue, at least for my use cases, which do include processing several millions of distinct option quotes per day.

I've got no crashes although I'm often getting exceptions (including NullPointer) in the logs: if you handle your exception, then current item would be lost but it doesn't bring down the rest of 999,999.

And I've got step-trough-debugging in the production system, an invaluable tool compared to just analyzing logs.
Permalink Io 
May 19th, 2017 6:38am
Io, You think that's a nice UI?!

1) none of the UI is out-of-the-box Java
2) the fonts are shit
3) the colours are shit
4) there's no consistency in the controls
Permalink Sangamon 
May 19th, 2017 6:42am
Problem is what I'm coding is not the Enterprise Web Java that all the Indian shops are hiring devs in the tens of thousands, I fucking loathe Spring and alikes.

And it's neither the down-to-metal tweak and rewrite the JVM implementation that the HFT elitists are asking for.

It's core Java allright plus a significant degree of complexity by tying together realtime APIs, databases, backends and frontends.

But in interviews I'm asked either Web crap or JVM + kernel hacking which I both don't know and do not care for. And in the plain programming shops, I'm asked to optimize whiteboard tricky algos, while in reality I spend two weeks just trying to get a single line of logging get to compile and deploy on a machine where I can test it.
Permalink Io 
May 19th, 2017 6:45am
"while in reality I spend two weeks just trying to get a single line of logging get to compile and deploy on a machine where I can test it"

Maybe that's your problem?
Permalink Yoda 
May 19th, 2017 6:47am
>> Io, You think that's a nice UI?!

Well, show me different. On a side note: http://www.rooshv.com/the-bolivia-effect
Permalink Io 
May 19th, 2017 6:48am
>> Maybe that's your problem?

Meh, that's Corporation.
Permalink Io 
May 19th, 2017 6:48am
"Java UI generally looks complete shit, many years ago I worked with VB3 and even that was better."

That's exactly my point.  VB3 was "even better".  So why can't you even buy VB3 anymore?  Why can't you buy VB6 for that matter?

Because you were locked into the Microsoft ecosystem, and they "moved on".  NOW you gotta buy VB.Net -- and even then, who knows what is the "flavor of the year" -- 2008, 2010, 2012, etc.

Meanwhile, someone using Java -- well, they have the same issue, Java 1.4, 1.5, 1.6, 1.7, now 1.8, soon 1.9.  But at least it's free.
Permalink SaveTheHubble 
May 19th, 2017 8:09am
It isn't popular any more, official today.

https://10clouds.com/blog/kotlin-android/
Permalink Trog 
May 19th, 2017 10:26am
Java UI doesn't ever look or work exactly like native.

So fucking what?

Your program took 10x as long to develop and runs on one platform.

While you were fucking around with it, I captured the market.

Fucking designers man.
Permalink Pestular Croaker 
May 19th, 2017 11:01am
Fuck Kotlin.
Permalink Io 
May 19th, 2017 12:05pm
And Google, but that's self-understood.
Permalink Io 
May 19th, 2017 12:05pm
"NOW you gotta buy VB.Net"

For fuck's sake Hubble, VB.NET is FIFTEEN YEARS OLD.. it's three times older now than the classic VB it replaced. We're not in the year 2002 anymore...
Permalink Bluebeard 
May 19th, 2017 3:33pm
https://msdn.microsoft.com/en-us/magazine/dn890368.aspx

Jesus Christ, motherfucker, VB.Net 2014 was JUST fucking released January 2015 -- and probably there's yet another release coming to pour down your fucking throat in the near fucking future.

How fucking stupid are you, to spread abuse toward someone trying to make a fucking calm statement of fact, but oh, no, you've got to curse and call them an idiot and ask how stupid they can be.

Well, how stupid are you, motherfucker, ignoring the last four or five releases of VB.Net so you can abuse another human being for being ignorant?  Fuck you and the horse you came in on for being an abusive, motherfucking asshole willing to abuse people for the fun of it.
Permalink SaveTheHubble 
May 19th, 2017 4:37pm
Pestular mentioned VB fucking THREE, requiring Windows 3.11 to run, and you ignored that? 

I find it's better not to start off cursing at people, because sometimes they get fucking tired of it and it's fucking EASY to hurl it back at assholes like you -- but I don't find it really advances the conversation.

You speak to your wife with that level of contempt?  And does that really work for you?
Permalink SaveTheHubble 
May 19th, 2017 4:41pm
LOL Hubble, calm down. It's only VB. My point is, MS did one pivot from classic VB to VB.Net and it happened a loooong time ago. Any language goes through "versions", Java too.
Permalink Bluebeard 
May 19th, 2017 4:58pm
>Companies are stuck and can't move it to C#/NET?

They could migrate to something else but why should they?

Many of the associated tools are free and you can pick and choose among those that are not free. Also, lots of people claim to have experience using Java (e.g. students and inexpensive foreigners).
Permalink One Programmer's Opinion 
May 19th, 2017 6:35pm
> Jesus Christ, motherfucker, -- JUST fucking released -- and  there's another release coming to pour down your fucking throat in the fucking future.

> How fucking stupid are you, to spread abuse toward someone trying to make a fucking calm statement of fact, but oh, no, you've got to curse and call them an idiot and ask how stupid they can be.

> Well, how stupid are you, motherfucker, -- so you can abuse another human being for being ignorant?  Fuck you and the horse you came in on for being an abusive, motherfucking asshole willing to abuse people for the fun of it.


WOW. THIS IS TOP KEK. I ❤ ❤ ❤ NEW HUBBLE. KEEP IT UP BUDDY!
Permalink Pestular Croaker 
May 19th, 2017 8:23pm
> Pestular mentioned VB fucking THREE

VEE BEE THREE is da BOMB.

Seriously guys, get off your bullshit. VB is an incredibly well designed language. It's far better than that C++ shit and that's an absolute verifiable fact.
Permalink Pestular Croaker 
May 19th, 2017 8:24pm
Sadly, it's dead, Jim.  Along with WFW 3.11.

Pretty sure, anyway.
Permalink SaveTheHubble 
May 19th, 2017 8:56pm
> WOW

I had to check the hash against earlier ones :)
Permalink , Cup 
May 19th, 2017 10:37pm
Awesome Hubble rant!
Permalink Bluebeard 
May 19th, 2017 11:58pm
Was that really Hubble?!
Permalink Io 
May 20th, 2017 7:07am
It was a tough Friday.

I'm much better now.
Permalink SaveTheHubble 
May 21st, 2017 3:09pm