« first day (1583 days earlier)      last day (3582 days later) » 
00:00 - 14:0014:00 - 00:00

14:02
hi is there some jade expert here ????
fge
fge
No, it doesn't quite work
Says "input is not from a terminal"
Drat
I guess there is no choice but to go through Piped*Streams
@MohammedHousseynTaleb, If you have a question, please just ask it. Don't look for topic experts. Don't ask to ask. Don't PM! Don't ask if people are awake, or in the mood to help. Just ask the question straight out. To disable this message use ~welcome=false.
Good morning, Java!
@Unihedro PM? Since when does Stackoverflow have PMs?
And are you a bot now? xD
@Michael I don't know. Maybe I should had written "don't ping" instead. That was copied from an IRC bot message.
fge
fge
14:13
@SecondRikudo unfortunately, it appears that it's pretty much impossible
The above is the best I could come up with
I'm going to test with Java 7 and redirectIO() to see whether it does any better than that
=about
:(
fge
fge
@SecondRikudo .inheritIO() works
@fge Hmm?
What do I call this on?
Hi there @BranislavLazic.
fge
fge
14:19
@SecondRikudo it's a method which appeared in 1.7 on ProcessBuilder
But it has hooks in native code
@fge Figures :P
fge
fge
Therefore not reproducible in Java 6- :/
@Michael Morning!
fge
fge
The best I could come up with is a vim window but which says that "stdout is not on a terminal"
Sorry...
(but at least it doesn't hang)
@fge Thanks for trying
Now I'll either get to use Java 8 on this project, or discard this feature altogether :D
14:21
Anyone using Scala?
@Unihedro Little late, huh? xD
Looks like OakBot got a "ConnectTimeoutException" this time.
Gotta catch that now.
@Branislav Lazic, If you have a question, please just ask it. Don't look for topic experts. Don't ask to ask. Don't PM! Don't ask if people are awake, or in the mood to help. Just ask the question straight out. To disable this message use ~welcome=false.
fge
fge
@BranislavLazic not me
I don't understand all the craze about Scala to be honest
14:23
@BranislavLazic I'm not, sorry. But I've played around with it before.
Eh, Scala sucks.
It's not called "chat" for not reason @Unihedro :D
*no reason
@BranislavLazic What do you think this reason is?
It's kind of "survey" question..
OakBot Online.
14:26
@fge Me neither.. I feel some Scala hype happening recently...
@fge looking at Runtime class now...
Although it doesn't look promising
Sometimes, when people ask general questions like that, they want to ask a specific question within that category.
Ok, then. Since I just wrote a long response to a survey, you can have one too.
fge
fge
@SecondRikudo my advice would be to, uh, drop the feature, really :p
Had you used Java 7+ it'd have been a cinch
how to load application context in classpath in web.xml?
fge
fge
14:27
But with Java 6-...
@JavaTechnical uh? It's the role of the app server to load the context, not yours
no, not like that. I am trying to include it into the <context-param> but, I am gettig IOException that the stream is not found.
Any good JavaFX programmers here?
@JohnPulple Only evil ones.
@John Pulple, If you have a question, please just ask it. Don't look for topic experts. Don't ask to ask. Don't PM! Don't ask if people are awake, or in the mood to help. Just ask the question straight out. To disable this message use ~welcome=false.
@SecondRikudo Are they the ones who accept souls in payment? Then I'm ready to sell my soul for this awful problem
Is it fine to link to your unanswered questions on stackoverflow here in the chat?
14:43
Yes, that's fine @John.
No, I am not "using" Scala. I am a Java developer with a passionate interest in inanimate objects, such as code that doesn't execute in different ways whenever I call them, or simply, a game of chess, which I am enjoying right now in addition to chatting in a chat room. While I am a Java developer and occasionally joke about how Java sucks and Scala rules, and that I know Scala, I have never found a true need of Scala. I occasionally do Scala. That time is not now. Therefore, I am not "using" Scala.
@Unihedro O_O
@Unihedro Okay...
You know what I need? A blog. To rant on. :P
14:45
@Unihedro Is this a cry for help?
Yes! xD
No, it's my response to "Anyone using Scala?" question.
I occasionally compose unnecessarily long responses. See this: hastebin.com/raw/aqafomojek
fge
fge
<-- is happy with Java and C
@Unihedro Have you ever heard of a...paragraph? xD
14:47
in Teenage Programmers Chatroom, 28 mins ago, by Unihedro
Oh, it trimmed the new lines.
in Teenage Programmers Chatroom, 37 mins ago, by Unihedro
Seven paragraphs, still no hit char cap. We must go deeper!!
I was writing in paragraphs. The paragraphs are gone, unfortunately. I replaced the license header myself.
Yeah, you really need a blog.
"decision making under high temperature" ?
Hmm hmm.
14:51
Probably meant to be pressure.
@Unihedro Thanks for the reply
fge
fge
^^^ somehow reminds of Cowboy Bebop
As in "oh boy, it's really hot in this room" or "he's about to kill me!"
Yeah, pressure is a better word.
Also, have you ever heard of a "run-on sentence". :P
> For example, take this fragment: "A massive whale with bulletproof skin, whose home base is in an overgrown forest, wants to have more psychic abilities. Supported by scientists, the massive whale appears to have one weakness - fear of spiders. Interestingly enough, the massive whale doesn't understand English." This is a compelling plot. It encourages the player to learn more about the whale, as well as to take advantage of that it is bulletproof.
> A game design may then force the player to remember that the whale is bulletproof in a future scenario, and therefore they will remember to shield behind the whale.
Very unique example, lol
Isn't that an awesome horror game plot?
Yes, I made it up, and reading that again I feel my potential to return to indie game development. Kongregate and free games like that.
Maybe in an alternate universe.
fge
fge
14:57
@Unihedro instead of ranting, go code HTTP/2, damnit
I'm trying to set up Gradle.
I know nothing about how Gradle works yet, lol.
Oh wow! IntelliJ supports hypertyping mode.
My stars this is awesome!
fge
fge
youtube.com/watch?v=mdXT2m7oMgs <-- meh, the sax player somehow reminds me of Stefano Di Battista; in fact, I do believe that he did play this song already, only not with the synth
15:27
Anyone have the link to the canoq post that \d is faster than [0-9] in java?
I would like to know if it's possible to send a text file to a REST web service, and if yes how should I do that ?
(I'm a beginner in web services and java)
@NewCoder You would send an HTTP request that contains the content of the text file.
Or, use the SFTP protocol.
It's probably more efficient for you to look up and use a library that does this.
15:39
So, in the back end, the file content is interpreted as a String object ?
Huh?
fge
fge
@NewCoder you are mixing oranges, apples and beetles; do you actually know how HTTP works and the different requests (GET, POST etc)?
@NewCoder In the back end, the file content can be interpreted however you want.
@fge a little bit I just started learning
15:41
@NewCoder You really should read-up on HTTP if you are going to be working with a RESTful webservice.
@NewCoder Do you know how a computer works?
@Uni Do you?
actually what I want to do, is to send a text file to a web service, then the web service will read the file transform it to send back a json object, that will be consumed by a jquery script
@Michael Yes. I handcrafted a microserver for distributed processing, as well as deal with simple systems configuration. :|
I also used to keep all kinds of stuff working to keep Embercraft online.
@NewCoder ummm
@Unihedro ?
fge
fge
15:49
Like a comment says, Yoko Kanno is inhumanely good at what she does
16:18
looking for help on a java program issue
ask away,.
don't expect a satisfactory answer, though
im working a transistor program, that contains logic gates, however when i throw a runtime exception for short circuit it seems to throw it all the time.
all the time??
yeah
however when i dont throw the exception, the program runs perfectly fine with correct outputs
if(p.isClosed() && n.isClosed() || p.isOpen() && n.isOpen()){
throw new RuntimeException("Short Circuit");
}
thats the exception^
The && and || operators are effected by order of operations.
16:30
it doesnt matter which goes first
That "if" statement could be evaluating to the opposite of what you intended it to.
still throws an exception which is sad
fge
fge
Yup, you had better use parens here
if ((p.isClosed() && n.isClosed()) || (p.isOpen() && n.isOpen())) ...
yep still does throw an exception everytime
fge
fge
If this still does not work then you have a problem in either .isClosed(), .isOpen(), or both
Also, why two methods where one is obviously the opposite of the other?
16:33
they are complementary
thats why idk why it throws the exception
fge
fge
Yes, which means that if one is false the other has to be true, right?
So, just keep one method
And simplify the test: if (p.isOpen() ^ n.isOpen()) ...
Input N_Type P_Type NOT()
0 : OPEN CLOSED 1
1 : CLOSED OPEN 0
it just keeps throwing
its been annoying me for the past day
it throws right before it is going to execute the NAND method
public static BinaryDigit NAND(BinaryDigit a, BinaryDigit b)
{
return NOT(BinaryDigit.bitValue(a.intValue() * b.intValue()));
}
dude im not having trouble with operators lol
I always forget whether && comes before || or vice versa.
Oh ok.
16:38
who has alot of experience in java?
that wouldnt mind teamviewing
16:50
TeamViewer sucks.
stopp distracting me
how am i distracting u
@Sephireth TeamViewing.. why?
so someone can help me solve the issue by viewing the java program
and why would someone do it?
17:06
dude just forget it
fge
fge
@Sephireth it is not by acting the way you do that you'll incite people to help, you know
user924016
Hey =] Can anyone recommend me a book on Java that is good for beginners to Java but that are not new to OOP or programming in general? I just skimmed my way through head first and it was mostly useless .. pointless repetition ... generally I am looking to first learn Java for desktop, preferly with unit testing and later on Android
user924016
Hmm .. I tried to say "new to Java, but familiar with OOP and programming ... "
user1804599
17:24
What languages do you know already?
some..
user924016
@райтфолд c#, php, js, bits of c, haskell and etc
java, vba/asp-classic, some c#, python, js and bits of scala, c and c++
user1804599
@RonniSkansing Java is mostly just C# with some important features removed.
user1804599
You probably don't need a book.
17:32
@райтфолд that's... an oversimplification
user1804599
Right, it has added checked exceptions and non-static inner classes.
fge
fge
Again, that's oversimplified
Java and C# are different
user924016
yea, maybe I need a reference book.. I dunno =/
user924016
I feel like I can write up code in Java, check the online api refence for whatever I need.. but I often start out when I begin a new lang by reading a few books
user924016
I just do not need to have stuff like like exceptions, objects/classes, overloaded methods and etc explained... maybe I just need to write moar code
fge
fge
17:38
@RonniSkansing for exceptions I wouldn't be so sure; Java is unique in this regard since unlike pretty much all other languages it has the notion of checked vs unchecked exceptions
user924016
yea, I will search that up, sounds fun
18:09
some people familiar with hibernate here? :O
18:25
shoot
 
1 hour later…
19:36
@FelixLahmer somewhat..
fge
fge
20:22
@FelixLahmer use jooq instead :p
20:54
hi
Hi.
 
1 hour later…
22:23
sigh
fge
fge
22:40
@Gemtastic what's going on?
Just life I suppose... Unemployment in this country sucks... And my better half really needs a job :/
We're in a situation where we're soon gonna have to sell the car to afford living...
And we just got a scham offer from a company that want to abuse the government grants for unemployed people, making the government pay for the labor in full, while the wage the "employee" gets practically no wage at all.
So... sigh
fge
fge
23:02
Sorry, I cannot really find anything to say
Yeah, well, I'm sorry to dump it on you
There's not much I can do to help him more than I am; we're both sending out his resume to places hoping for something. At this point, even earning 4 euros/day would be smashing
00:00 - 14:0014:00 - 00:00

« first day (1583 days earlier)      last day (3582 days later) »