« first day (1557 days earlier)      last day (3385 days later) » 

2:31 AM
@fge how many books have you read :O
 
3:22 AM
guys . i need help to reverse the results
import java.util.Arrays;
import java.util.LinkedList;
import java.util.NoSuchElementException;

public class HelloWorld {
LinkedList<String> strings;
HelloWorld(String... strings) {
this.strings = new LinkedList<String>(Arrays.asList(strings));
}

public void execute() {
reversePrint(strings);
}

private void reversePrint(LinkedList<String> list) {
String string = null;
try {
// i want the code here to reverse the results
reversePrint(list);
System.out.println(string);
} catch (NoSuchElementException e) {
 
Hey @richardj could you be more clear about your requirements?
 
i want to reverse my results into null, three, two, one, zero
and i want to reverse it in the reversePrint method .. as you can see I added "//i want the code here to reverse the results" .. i need help
I am new about java and still learning more.
 
List<String> test = new ArrayList<String>();
test.add("one");
test.add("two");
test.add("three");

Collections.reverse(test);
System.out.println(""+test);
use Collections.reverse
 
do i need to import another package?
 
yes
 
 
2 hours later…
5:58 AM
Heya All xD
 
Heya
 
user4202350
6:48 AM
Hey YA
 
7:29 AM
Cubicle, sweet cubicle...
 
8:07 AM
Classroom, sweet classroom.
 
8:20 AM
Anyone here?
 
Hello :)
I keep expecting my classes to be more advanced than they really are
 
fge
Moo
 
Define more advanced
Moo
Can you tell me, Moo's meaning ?
 
I thought this course was about building databases as in coding them from scratch, what we're doing is putting data into the databases. And the rest of the course is unit testing (yay I'll get to understand what fge loves to do) and writing good code
Annnd commence the "nothing is working" and at least 10 min on fixing it
 
8:31 AM
What I meant is, Moo is something like to greet someone with this sense, "Hey! Have a great day."
 
It's his way of saying "I'm here"
 
fge
@Gemtastic try h2 at home
No need to install a "full fledged" rdbms to begin with
 
@fge to me h2 means a header 2 tag <h2>
 
@fge I don't even know what that means. Atm we're trying to get my classmate's database in netbeans to run >_>
 
fge
8:34 AM
@Gemtastic h2 is this
 
I dont see anything relevant
 
@Gemtastic lolz
@Gemtastic Java Derby DB?
 
We will be using the JDB for starters
And commence the bull explanations that are necessary for stupid people >_>
He's explaining what a column is
 
fge
Hehe, ask him what "relation" means in RDBMS :p Or no, don't
 
@Gemtastic are you in a classroom right now?
 
fge
8:37 AM
I'm sure he'll get it wrong
 
@fge what about primary and foreign keys <3
 
@CristianMatthiasAmbæk yep
@fge He's right actually
 
@fge FaceDesk :P
 
@fge Will You tell me ?
 
fge
@Gemtastic and what did he say?
(and no, this has nothing to do with primary/foreign keys)
 
8:44 AM
@fge It was me who misunderstood your intentions, soo nvm.
 
@fge I know because we got to them after that
 
@Gemtastic SQLite?
 
@OlegKuznetsov No, JDB
 
JDB -> Derby
 
We had this exact lesson in the last course, except he didn't explain as much in the other lesson, now it's back to the level of "never seen a database before, no clue on what they are" level
 
8:56 AM
Super Cool
 
JDB is what comes along with glassfish
 
yeah JDB -> Java DB -> Java Database -> Derby
 
Hmm Well, I've never heard about Derby :P
 
9:12 AM
Why has 9gag started using .mp4 and .webm instead of .gif :'(
 
It's not instead, they offer more alternatives than only .gif
They also have gifs
 
There are no more GIFs
 
Yes there are
I was watching one just yesterday
 
Yes, the GIFs are actually now placed as short videos
you will never know whether you are watching a video or a gif
 
Yes you will
right-click it. Movies have "copy video location"
 
9:27 AM
I am in the GIF section and I haven't find anyone not saying "copy video location" when right clicked :P
 
You're right, this must have been changed since yesterday O.o
That's when I last linked a gif to my SO
 
I never got using the SO, it means something terrible in other languages.
 
sorry, what?
 
SO (Significant other). I never understood why its still being used instead of something else like... I dont know gf / bf. Since SO means lets just say less than pleasant things in other languages.
 
9:42 AM
^^ has Shau changed his name?
 
I like it because it's gender neutral
 
SO -> StackOverflow
 
SO could be my SO ;P
 
10:25 AM
@Gemtastic be glad it isn't
SO has some really dark sides to it
 
As do most people
Though isn't it SE that has some really dark sides to it?
I can't believe he's drawing this shit on the whiteboard. We've joined two tables and now he's drawing it up so we can understand what we're looking at >_>
 
Not everyone is as bright as you are :)
The prof needs to concentrate on everyone :)
 
so unfortunate, yet so true
 
This is just dumb
I'm not that smart and my classmates aren't this stupid
 
^^ You can't be a voice for every1
 
10:32 AM
Their sighs and goofing off on other sites tells it to me
Oh well... I suppose I'm tired and a little bit grumpy >_> I feel like I'm wasting time I could use coding. Or sleeping so that I can code better when I wake up >_>
 
@Gemtastic ignore the lecture and code anyways...
that's what I did in school..
when the teacher started talking about "Object Oriented Design"
 
I can't focus on coding with all the people around me. Although I'm almost so tired I can actually zone out everything
And just put my hands on autocode
 
haha
 
Though it kinda works bad to autocode when a) I haven thought out the project and b) when I encounter a bug
I have no idea how I'm gonna manage the afternoon :')
 
Eat and take a nap
 
10:43 AM
Can't nap in school
I think I might as well go home >_>
 
hi
 
hello
 
@mateen welcome to Java Room!
 
i want to know what are the different types of request and response in ofbiz can any one suggest me ?
Thanks @ItachiUchiha
 
Never used ofbiz
 
10:50 AM
man i m so stucked up with ofbiz anywayz gotta google about it.
 
user4202350
Was Facebook hacked today?
 
@ShaU y u ask?
 
11:12 AM
man why are people so crazy about facebook ?
 
I don't use it anymore
 
user4202350
I don't use it anymore
 
11:41 AM
look like you got a delicious question there, but a quick question how come system perform a lock can show a sample example ?
 
okay let's try that again
wat?
 
what to try ?
 
I don't even understand what you're askin
and I already had my morning dose of caffeine
 
there is a question above asked by @ShaU i want to see the practical implementation of it
 
ohh that...
read the answers to come ;)
it's actually a nicely researched question.
I doubt there's something like a practical implementation, though
 
11:51 AM
i am not able to understand his question what good will i have if i read the answers. Poor me
 
hmm... if you don't even understand the questions or answers... how would you understand the code for it?
 
that's why i did asked for a practical example so that i may understand what is it about
 
that's about as easy as it gets...
well to be clear, this is about not letting someone do what they want with a reservation
 
hmmm.... errr.....
okay can please explain once more
they have a reservation and someone is giving load on their website by adding form submission in an endless for loop is that it ?
 
the point is not the load
the point is, that a reservation blocks all other accesses to that reservation for the next 10 minutes
so if you reserve all "things", for 10 minutes the whole company is out of business
and you can repeat that every 10 minutes
now guess how easy it would be to make a company go bankrupt by doing that
 
12:02 PM
that make things much clear thanks for the explanation @Vogel612. A quick question why is the system blocking after reservation is there something wrong in the database model or anyother reason ?
 
that's the intended purpose of the reservation
"I want this, give me 10 minutes I'll grab the cash"
 
oh!!! man you have good analytical skills
thanks for explanation
and in the questions they are something about "bot" what is it ? does bot means user ?
 
bot as in "robot"
usually a program.
 
oh!!! thanks again
 
most bots are harmless (site scapers like google bot)
but you can also make bots with malicious intent
something like exactly that which is represented in the question
 
12:08 PM
and in the answer the other guy mentioned by making simple ajax call using POST the problem can be avoided how come?
 
simple bots just mindlessly look for a link and request that
but if there's no link in the HTML, you have a first threshold for bots to pass
the actual request when clicking the "link" is done by javascript
 
man! great thanks alot you explained me the question and answer completely in future even i ll avoid using <a> when there is a serious operation on the server
and one more question for Mr.@Vogel612
do you know ofbiz ?
 
nope
 
kay :(
 
didn't even hear of it until you showed up with it earlier
 
12:17 PM
its a framework for developing ecommerce websites
it got lot of functionalities like AOP of spring, hibernate kind of funtionality
but the bad news is there is no good tutorial to learn this framework
I would suggest this framework only to use when we want to develop an ecommerce type of website otherwise don't even look at it
 
good. framework blacklisted then
 
don't say that. I will loose my interest to study on it
 
lol...
 
why did you say that framework is blacklisted
 
haven't they got something like... documentation??
I don't intend to develop ecommerce in foreseeable future
 
12:22 PM
yes that's the only thing they got
 
well learn from the documentation then...
if it's good, you should be able to ;)
 
but you know, i cant get sample examples from the documentation
 
12:48 PM
16 messages moved to Trash
 
facepalm
 
Worst introduction for an email ever:
1 message moved to Trash
 
1:23 PM
lol...
 
what is technology used to develope jira ?
is it ofbiz ? how can we know weather its true or false?
it seems ofbiz entity engine is used in jira development
https://developer.atlassian.com/display/JIRADEV/JIRA+Architectural+Overview
 
 
1 hour later…
2:43 PM
Morning, @Michael!
 
Good morning, Java!
Morning @Uni!
@Unihedro Mature thoughts? This is a guy that wears a crab for a hat. xD
 
> I definitely think that you are gifted and your talent should not be wasted.
den y u waste my time doing this silly project?!
meh.
 
You've got job security, @Uni, you don't have to worry about that.
 
:p
Yeah, it's from my school project tutor.
 
Though, I wouldn't recommend quitting school and starting your own company. :P
 
2:50 PM
:P
 
Ah, nice.
 
I should secure a refreshing CV first.
in Tavern on the Meta on Meta Stack Exchange Chat, 7 mins ago, by Unihedro
when you reply to a message too fast:
 
Haha
As they say, there's no rush. You have your whole life ahead of you.
 
Eh, probably. :)
 
For someone like you, I think the hard part will not be finding a job, but finding a job that you really like.
 
2:56 PM
Meh, I don't really dislike not-challenging positions, as long as I don't have to do stupid stuff like maintain "tech stuff".
 
Uhh, isn't that what programming is? xD
 
xD
 
There was a smart guy that used to frequent this room. He was a really good programmer, but he felt nostalgic for his old job at McDonald's. He really liked the hustle and bustle of the job.
 
3:13 PM
OakBot v0.0.2 by Michael | source code | built: About a week ago. | started up: About a week ago.
 
=about
Good.
I think this is the longest OakBot has been running for. xD
 
lol aws :D
 
I recently added some better error handling, so that seems to be helping.
I still need to figure out why querying certain Javadoc classes takes forever.
For example:
=javadoc ImmutableList
Waiting... xD
 
@Michael com.google.common.collect.ImmutableList: A high-performance, immutable, random-access List implementation. Does not permit null elements. (1/4)
 
I'm willing to bet that it's parsing the entire Guava API.
=javadoc ImmutableList
 
3:27 PM
@Michael com.google.common.collect.ImmutableList: A high-performance, immutable, random-access List implementation. Does not permit null elements. (1/4)
 
=javadoc ImmutableSet
 
@Michael com.google.common.collect.ImmutableSet: A high-performance, immutable Set with reliable, user-specified iteration order. Does not permit null elements. (1/6)
 
3:51 PM
~JavaBot at your service
**about
@Vogel612 I am JavaBot, maintained by Uni, Vogel, and a few others. You can find me on github.com/Vincentyification/JavaBot
**javadoc ImmutableSet
 
waiting...
 
sec.
**javadoc:ImmutableSet
@Vogel612 com.google.common.collect.ImmutableSet: A high-performance, immutable Set with reliable, user-specified iteration order. Does not permit null elements. (1/6)
there you go
 
that took a lot of time
 
well the first one was wrong syntax
and we're not on websockets yet.
this means only every few seconds we're checking for new messages
 
**javadoc:ArrayList
 
3:53 PM
@ItachiUchiha java.util.ArrayList: Resizable-array implementation of the List interface. Implements all optional list operations, and permits all elements, including null. In addition to implementing the List interface, this class provides methods to manipulate the size of the array that is used internally to store the list. (This class is roughly equivalent to Vector, except that it
and thus there's a lag sometimes
is unsynchronized.) (1/9)
ya. um... could you tone down a bit?
reload the page
try again.
 
T.T
 
Even though you're fine for me at least
Because I like trolls ;)
 
fge
ASM is hard
Darnit
 
A_l
I have text with \n and \r I want to print this String and see this chars. I dont wont to print this chars as enter... their is a way to do this without replace all the \n in this String?
 
4:07 PM
where?
 
*javadoc:String#replaceAll(,*)
**javadoc:String#replaceAll
@Vogel612 String replaceAll(String regex, String replacement): Replaces each substring of this string that matches the given regular expression with the given replacement. (1/3)
 
fge
Uhm
 
@A_l ^^
 
fge
Rather String.replace() here
And then there's also this:
=javadoc CharEscaper
 
@fge com.google.common.escape.CharEscaper: An object that converts literal text into a format safe for inclusion in a particular context (such as an XML document). Typically (but not always), the inverse process of "unescaping" the text is performed automatically by the relevant parser. (1/4)
 
4:09 PM
now it's getting strance..
2
on a related note... why do we have a null command now..
in Sandbox, 4 mins ago, by Vogel612
> Supported commands:
- javadoc:
- eval: GroovyScript evaluation
- help:
- null:
- test:
- unsummon:
- shutdown:
- about:
- summon:
- load:
- listCommands:
 
4:40 PM
how to make a text box as readonly in java
 
Swing? or Javafx?
 
in html
 
> how to make a text box as readonly in java
 
sorry for that<input type="text" name="add" >
 
<input type="text" name="add" disabled> try this out
 
4:44 PM
Dear friends
I am using WildFly 8.2.0 . I create new maven project: gist.github.com/donhuvy/008c5276492e2fa12bca
 
Dear Dovy!
 
Where I put web directory? What web directory named?
 
create a maven webapp project
you will have a directory named webapp under src/main/
 
thanks @ItachiUchiha
it is working
 
wc :)
 
4:47 PM
I do this: imgur.com/JOAryOh
Thank @ItachiUchiha
I will try this right now
 
@dovy Incorrect
this is how it should look
 
Image not found???
 
5:09 PM
I can't do this. It is overhead
:(
I do this:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<warSourceDirectory>web</warSourceDirectory>
</configuration>
</plugin>
</plugins>
</build>
 
loooool that looks like you really should reconsider what overhead is..
 
Today I also try ASP.NET and Windows Form
I come back to JavaEE
I afraid property Microsoft's technologies
JavaEE is hard
 
5:51 PM
**shutdown
 
JavaEE is cool
 
6:28 PM
http://www.commitstrip.com/en/2015/01/27/true-story-properly-reporting-a-bug/
CommitStrip - Blog relating the daily life of web agencies developers
True story: properly reporting a bug
CommitStrip
1422383248
 
 
3 hours later…
9:24 PM
dead chat?
 
fge
No, active people :p
 
Active elsewhere you mean :P
 
 
1 hour later…
10:55 PM
goooooooooooooooooooooooodmorning java chat
 
11:51 PM
morning
 

« first day (1557 days earlier)      last day (3385 days later) »