Java and system32
-
-
Well this thread went to shit.
Here's the first google image result for "well this thread went to shit":
-
Here you have one. I'm not a fanboy, but Java is usually my go to platform for web, desktop or mobile applications. And since it pays the bills, well, I'll keep doing for a while.
And yes, I'm prolific with other programming languages like Python, Perl, JavaScript, C++ and still like the Java ecosystem.
-
...and still like the Java ecosystem.
My biggest problem with java is that I can never figure out which xml file I need to update. This is more a problem with the ecosystem than the language itself.
I swear that when I search for a particular option, most of the results are for slightly different versions that either use a completely different xml file or something else that doesn't work with the particular version I'm using. And the official documentation is vague enough that you almost have to already know the answer to be able to figure out how to do it.
-
And that's why you get to have all the fun of setting up all your xml to get Spring working, while I can just say:
[ImportingConstructor] public SomeClass([ImportMany] List<ImportantClassA> allAs, [Import] ImportantClassB b)
...though I'm uncertain how well known the namespace in question is, even among my kind.
-
Yeah well, I can agree with this, but it depends on the application/library not the ecosystem. Specially Spring was a big mess of XML files and since Java 6 many of them are moving to using annotations.
Now, if we're talking about servers, well, Tomcat, JBoss and most Java AS have lots of configurations in XML, but when you think of it, there aren't really any sane solution out there for configuration files: ini, properties, json. All have their little nuances.
-
Spring is a monster with so many different heads, and yes, the amount of XML was insane but today you can write it all with almost none XML thanks to annotations.
For example, this is all the XML I need today for a full SpringMVC web application.
<security:http auto-config="true" disable-url-rewriting="true" use-expressions="true"> <security:csrf request-matcher-ref="csrfMatcher" /> <security:form-login login-page="/signin" authentication-failure-url="/signin?error=1"/> <security:logout logout-url="/logout" /> <security:remember-me services-ref="rememberMeServices" key="remember-me-key"/> <security:intercept-url pattern="/" access="permitAll" /> <security:intercept-url pattern="/favicon.ico" access="permitAll" /> <security:intercept-url pattern="/resources/**" access="permitAll" /> <security:intercept-url pattern="/signin" access="permitAll" /> <security:intercept-url pattern="/signup" access="permitAll" /> <security:intercept-url pattern="/**" access="isAuthenticated()" /> </security:http> <security:authentication-manager erase-credentials="true" > <security:authentication-provider user-service-ref="userService"> <security:password-encoder ref="passwordEncoder" /> </security:authentication-provider> </security:authentication-manager>
But the thing is, Spring is not Java and of course Java <> XML.
-
Yeah well, I can agree with this, but it depends on the application/library not the ecosystem.
Eh...well, the ecosystem is made up in part by applications/libraries/frameworks.
Specially Spring was a big mess of XML files and since Java 6 many of them are moving to using annotations.
Yep, and the annotations are awesome, relatively speaking.
Now, if we're talking about servers, well, Tomcat, JBoss and most Java AS have lots of configurations in XML, but when you think of it, there aren't really any sane solution out there for configuration files: ini, properties, json. All have their little nuances.
They do. Really, the XML files aren't a problem in and of themselves, but the documentation of them is shit, including in stuff that's Enterprise, where I mostly have experience with JBoss.
-
The only thing worse than having the same stupid debate every fucking week is seeing the same unfunny shitty jokes over and over. Jesus Christ, even Dane Cook comes up with new material sometimes, people.
When he feels motivated enough to steal them, yes.
-
#java and system32
A @chubertdev Story
My computer has system32. It does not have java. Everything Is Awesome™.
-
-
-
@chubertdev - Days Since Last Discourse Bug: 0
-
You know what this thread needs?
-
Welcome to my life! :starts crying:
-
Every thread needs more @Zoidberg
-
And no one could have been happier unless it would have also been Valentine's Day. What? It was? Hooray
-
I had some good points to make here but the thread has drifted a long way from the original topic and is much better for it. Thank you to all contributors, especially @Zoidberg.
-
Zoidberg is afoot!
-
O comeon, we can always goes back on topic, I don't think @Zoidberg will mind.
-
In my experience, boxes are usually empty, or maybe with a little cheese stuck to the top. And one time, pepperoni. What a day that was!
-
"Real topic"? You mean, "TRWTF is Java"? What do you think, @Zoidberg?
-
@Zoidberg has a 60 second cool down on posting, no?
-
The hell with your spoiled baby. I need those shoes.
-
-
Yeah, but did you ever play Jenga? Sometimes you take out one and... [imitates crashing]
-
Yeah, but did you ever play Jenga? Sometimes you take out one and... [imitates crashing]
Hit that one on the head!
-
@Zoidberg, describe PHP
-
Hooray! A happy ending for the rich people.
-
Hooray! A happy ending for the rich people.
<!-- Posted by SockBot 0.14.0 "Elfish Emily" on Thu Nov 13 2014 19:23:24 GMT-0500 (EST)-->
very apt, no?
-
Hooray! A happy ending for the rich people.
And a sad one for the devs that probably lost their hair building their application in it.
I'm kinda interested in what he has to say about Linux, but I think bot abuse went far enough now.
Screw it, let's hear it @Zoidberg!
Edit: Ok, as soon as @Arantor is back, I'm asking for my knight title as "The breaker of bots"
-
reply trunps mention and they only respond to mentions. right @Zoidberg?
-
It's funny because it's poisonous!
-
This bot is epic.
-
I'd be surprised if there's no saner way.
Saner than the Java installer? That's a pretty low bar.
-
I know, right?
-
reply trunps mention and they only respond to mentions. right @Zoidberg?
Oh, right, quoting makes it a reply... Posting on Discourse: because old forums were too simple!
-
@Zoidberg, what do you think of Python?
-
Friends! Help! A @chubertdev tricked me!
-
Ah yes. So that's possible. (I thought PATH was per-user, but it seems PATH is a system wide environment variable, so updating and/or merging PATHs is not an issue.)
Apparently you can use the registry to map executable names to actual path names. For instance, typing
iexplore
in the Start/Run dialog launchesC:\Program Files\Internet Explorer\IEXPLORE.EXE
even though it's not in your PATH.
Filed under: start pbrush.exe
-
Ah yes. So that's possible. (I thought PATH was per-user, but it seems PATH is a system wide environment variable, so updating and/or merging PATHs is not an issue.)
There are per user and system wide settings for PATH in windows.
-
Not by default as far as I can tell. (Also, the GUI to set environment variables is TRWTF.)
-
@Zoidberg, what do you think of Python?
Friends! Help! A @chubertdev tricked me!
ROFL
@chubertdev dun got told!
-
Look, since I know it's impossible to explain anything to anyone on this forum, especially anyone who actually likes Java, I'll just say this:
Isn't that true of all Internet forums?
-
Isn't that true of all Internet forums?
Possibly, but certainly on forums where blakey participates.
-
Not by default as far as I can tell. (Also, the GUI to set environment variables is TRWTF.)
Well, it's there, just that unless you've installed something per-user that uses it, it's not configured.
Pop to cmd.exe and do an echo %path% - Note what it says. Then exit the command prompt, pop over the environment, add a user one named path with a value of c:\test.
Launch a new cmd.exe (Path gets set at launch, you have to close and reopen), echo %path% and the last entry should be c:\test.
The system path is per machine, the user path is per user, and the process path is the system path with the user path appended.
-
Possibly, but certainly on forums where blakey participates.
I'm always amused when I read a post without looking at the byline and I think, "sounds like blakey." Then I look at the byline, and I find I'm right. (Well, actually, it's the "I find I'm right" part that's amusing...)
-
How would you solve the problem?
In a way similar to this, for example: http://manpages.ubuntu.com/manpages/trusty/man1/qtchooser.1.html
Not exactely rocket science....
-
I'm always amused when I read a post without looking at the byline and I think, "sounds like blakey."
Wow, it's so amusing that people who aren't boring idiots have a unique writing style. Stop the presses.
-
Wow, it's so amusing that people who aren't boring idiots have a unique writing style. Stop the presses.
It's not so much the writing style as the intensity of the channelled anger, and the influence that has on the vocabulary, but that's just being picky. But if you read more carefully (rare on the Internet, especially these days), you'll note that it was my reaction that amused me rather than your writing...