« first day (1517 days earlier)      last day (3423 days later) » 
00:00 - 14:0014:00 - 00:00

fge
12:05 AM
@Michael there is no uppercase after a colon!
Neither are there after semicolons
 
Uhhh yes there is.
Who's the native English speaker? Yeah, that's what I thought. xD
 
fge
I am no native English speaker but I know there isn't
Or this means 100% of what I have seen on the internet has it wrong
 
Semi-colons? No, you don't capitalize after them.
 
fge
Yes, I know
Neither do you after colons
 
But you do capitalize after colons if the text before the colon acts as a "header" or "title" of sorts. E.g. the "note" paragraphs on the wiki page.
 
fge
12:10 AM
Source, please
 
Now, if I just knew what an "independent clause" was...
> Determine if your colon is being used to separate an independent clause from a list, an appositive, or a quotation. Do not use a capital letter after the colon when it is used to separate the independent clause from a list or an appositive. However, if it is used to separate the independent clause from a quotation, begin the quotation with a capital letter.
I guess I'm wrong. Ugh.
 
Shutting down. See you later.
 
OakBot Online.
 
=javadoc arrays.copyof
 
12:22 AM
@Michael Sorry, I never heard of that class. :(
 
=javadoc arrays#copyof
 
Which one do you mean? (type the number)
1. #copyOf(Object, int)
2. #copyOf(Object, int, Class)
3. #copyOf(byte, int)
4. #copyOf(short, int)
5. #copyOf(int, int)
6. #copyOf(long, int)
7. #copyOf(char, int)
8. #copyOf(float, int)
9. #copyOf(double, int)
10. #copyOf(boolean, int)
 
5
 
@Michael int copyOf(int[] original, int newLength): Copies the specified array, truncating or padding with zeros (if necessary) so the copy has the specified length. For all indices that are valid in both the original array and the copy, the two arrays will contain identical values. For any indices that are valid in the copy but not the original, the copy will contain 0. Such ...
indices will exist if and only if the specified length is greater than that of the original array.
 
fge
Nearly there
Misses the [] in the signatures
 
12:23 AM
I'll get to it eventually.
Not sure where it's failing.
 
OakBot Online.
 
=javadoc arrays#copyof
 
Which one do you mean? (type the number)
1. #copyOf(Object, int)
2. #copyOf(Object, int, Class)
3. #copyOf(byte, int)
4. #copyOf(short, int)
5. #copyOf(int, int)
6. #copyOf(long, int)
7. #copyOf(char, int)
8. #copyOf(float, int)
9. #copyOf(double, int)
10. #copyOf(boolean, int)
Which one do you mean? (type the number)
1. #copyOf(Object[], int)
2. #copyOf(Object[], int, Class)
3. #copyOf(byte[], int)
4. #copyOf(short[], int)
5. #copyOf(int[], int)
6. #copyOf(long[], int)
7. #copyOf(char[], int)
8. #copyOf(float[], int)
9. #copyOf(double[], int)
10. #copyOf(boolean[], int)
 
=shutdown
 
Shutting down. See you later.
OakBot Online.
 
12:33 AM
=javadoc arrays#copyof
 
Which one do you mean? (type the number)
1. #copyOf(Object[], int)
2. #copyOf(Object[], int, Class)
3. #copyOf(byte[], int)
4. #copyOf(short[], int)
5. #copyOf(int[], int)
6. #copyOf(long[], int)
7. #copyOf(char[], int)
8. #copyOf(float[], int)
9. #copyOf(double[], int)
10. #copyOf(boolean[], int)
 
There. Sorry for the spam, all.
And I'm off to dinner.
 
 
1 hour later…
1:44 AM
@Michael It is not different the Java api, though it has a different source zip file that comes with the jdk..
 
 
3 hours later…
5:10 AM
That's weird... Put my computer to hibernate and it randomly woke itself up from it O.o
 
Star me. I need Hats!
 
You get hats from stars?
 
But, the last one is on the 31st O.o
The other one is to star someone else
 
5:42 AM
yeah
I know that :P
your question was
28 mins ago, by Gemtastic
You get hats from stars?
:P :P
 
fge
Moo
 
@ItachiUchiha But that just makes me wonder why someone would want to be starred to get hats:
38 mins ago, by ItachiUchiha
Star me. I need Hats!
Hi @fge
 
\o @fge
@Gemtastic That was just a publicity stunt :P
 
@ItachiUchiha ah :P
 
Don't you have school today?
 
fge
5:51 AM
@ItachiUchiha ready to continue? ;)
 
Body, Y U No make sense?
I eat almost nothing: gain 1kg if I have a glass of water. Eat three big meals, lost 1,5kg O.o
 
lolz
 
Good Morrning to all
 
Morning
 
@Gemtastic congratulation u done great work
 
6:02 AM
@AniketDeshmukh On my weight loss?
 
(MY first thought was actually what in Java did I do now?)
I'm not really trying to lose weight though; I want to get in shape.
 
nice thought
 
I can finally get to programming servlets! Yaay!
 
u have idea about spring and hibernate
 
6:06 AM
Yeah, we're learning Spring in school, but first we're learning how everything works without it
 
yes i learn it after collage
 
fge
@Gemtastic no JAX-RS?
 
'Yellow
 
@fge I don't even know what that is
 
:O
 
6:14 AM
Wait, we are learning about RESTful
 
fge
Java Application Extensions for Restful Services
(I think)
In short, it's a modern version of servlets
 
^^^
 
fge
No, Java API extensions
But that's way better than Spring
 
Well, Don't really know what that is compared to what we're learning in school. We're learning to use RESTful, spring, websockets and because we demanded it we're learning to build servlets without spring first, because we just can't take that the explanaition for how spring works is "magic"
 
fge
Well, you can learn it by yourself, it's actually pretty easy
 
6:18 AM
I can't wait to see what we're gonna do today :3
 
fge
There are a lot of tutorials
7
 
Well, we're supposed to be taught that in school
 
Add commitstrip feeds?
 
The tutorials will be what to use to build on the base the teacher is supposed give us
@Unihedro Yes!
 
:D
 
6:20 AM
I'm almost tempted to star the "There are tutorials"
 
Unihedro has made a change to the feeds posted into this room
http://www.commitstrip.com/en/2014/12/11/lets-talk-about-code-shall-we/?utm_source=rss&utm_medium=rss&utm_campaign=lets-talk-about-code-shall-we
CommitStrip - Blog relating the daily life of web agencies developers
Let’s talk about code, shall we?
CommitStrip
1418322260
http://www.commitstrip.com/en/2014/12/12/when-the-front-end-dev-is-on-vacation/?utm_source=rss&utm_medium=rss&utm_campaign=when-the-front-end-dev-is-on-vacation
CommitStrip - Blog relating the daily life of web agencies developers
When the front-end dev is on vacation
CommitStrip
1418406160
http://www.commitstrip.com/en/2014/12/15/when-i-use-a-function-that-i-wrote/?utm_source=rss&utm_medium=rss&utm_campaign=when-i-use-a-function-that-i-wrote
CommitStrip - Blog relating the daily life of web agencies developers
When I use a function that I wrote
CommitStrip
1418667751
http://www.commitstrip.com/en/2014/12/16/code-paranormal/?utm_source=rss&utm_medium=rss&utm_campaign=code-paranormal
CommitStrip - Blog relating the daily life of web agencies developers
Paranormal Code
CommitStrip
1418754751
http://www.commitstrip.com/en/2014/12/17/a-fistful-of-permissions/?utm_source=rss&utm_medium=rss&utm_campaign=a-fistful-of-permissions
CommitStrip - Blog relating the daily life of web agencies developers
A fistful of permissions
CommitStrip
1418839328
 
fge
0
A: Java MalformedURL Exception when constructing a URL object

fgeDon't use URL for that. And don't use File. This is 2014, we have java.nio.file. Use this instead, it will give an immediate, correct result: final URL url = Paths.get(home, "dict").toUri().toURL(); The scheme associated with the default filesystem is always file. Also, why a URL and not a U...

Yay, bashing File some more
3
 
Aww, weird formatting
@fge ... Officially linking to your wiki in every "Why file sucks" answer? :)
 
fge
@Unihedro this is actually the first time I link to it in an answer :p
 
@Unihedro Yes
@Gemtastic You can learn everything on your own! You have already shown it in the past :P
 
6:23 AM
^^
 
@ItachiUchiha Well yeah I can, but having a teacher makes it easier.
 
@uni Why not the pics directly?
 
@Ita See how well it went when you tutored me?
 
@Gemtastic do or do not, there is no "easier".
 
@Gemtastic lolz, you did everything on you own :P
 
6:24 AM
@ItachiUchiha dunno, feeds not very happy
 
@ItachiUchiha No, you gave me the keys I needed to work on my own. ^^
With a teacher you have someone to ask about those small things you get stuck on.
Oh well. Time to scurry off to school~
 
C ya
 
seeya
 
6:37 AM
Good morning, Java!
 
Good morning, Oleg! Welcome back to the room of Java!
 
Greetings
 
Hiya!
Since I forgot to bring my headphones to school, time for... 40 minutes of chess \ _ /
 
Ugh... I hate my job. Like, c'mon! Couldn't these stupid tests (and stupid outdated JVM) not to crash for a single <censored> week?! sigh
 
@OlegKuznetsov :O
 
6:47 AM
I'm frustrated, sorry :(
 
I feel so sorry for you.
 
user4202350
7:19 AM
Goood Morning
 
same too u @ShaU
 
Morning!
 
Morning @ShaU @Aniket @Oleg!
 
anyone have idea regarding spring
 
user4202350
@Unihedro Hey how u
 
7:28 AM
@ShaU good
 
Back to school
 
fge
7:51 AM
@Unihedro you know what? Google APIs do suck
 
Oh, yes!
 
fge
Guava is a gem, Guice is nice, but their web Java client...
It's even easier to get an Oracle RDBMS up and running than that
(well, OK, I do know Oracle pretty well)
 
And now we're back to NetBeans instead of the Spring tool suite :P
 
8:06 AM
@fge You don't say?
@Gemtastic Why no proper IDE?
 
@Unihedro Because NetBeans is free! And it's what we've worked with so far
 
... "free"...
 
What do you mean by that?
Well, it's working as it should at least
 
Here have a hamburger.
 
I'm not sure I get that reference
 
8:19 AM
Most of the schools recommend NetBeans. Do not why? :S
 
Because they're schools, duh. :P
 
@Unihedro Delicious meal
 
nom nom
 
nom?
 
@Unihedro NetBeans is a nice IDE!
 
8:22 AM
munch munch
@OlegKuznetsov NetBeans is the worst IDE (for Java atleast)
 
@ItachiUchiha s/NetBeans/Eclipse/g
 
@i
@ItachiUchiha which is better than netbeans?
 
I'm tempted to write my notes of class as Java code
 
Netbeans < Eclipse < IntelliJ
 
@ItachiUchiha Hell, no!
I'd swap Eclipse with NetBeans
 
8:25 AM
Never!
 
JDeveloper > Eclipse [too!]
 
XMLFile web.xml = new Other...(search(xml).select(StandardDeploymentDescriptor));
Guess what that does? ;P
 
Never used JDeveloper (so I can't comment)
 
@OlegKuznetsov Netbeans does not qualify as an actual IDE.
It's true, I proved it with Mathematical Induction. I also ruled out IE as a proper browser the other day.
Therefore:
	<!--[if IE]>
		<p>This site does not support Microsoft Internet Explorer due to its lack of compatibility with web specifications.</p><p>Please use a proper browser such as <a href="//chrome.google.com/">Chrome</a> to view this site.</p>
	<![endif]-->
	<!--[if !IE]> -->
 
@Unihedro define "IDE" then :P
 
8:28 AM
I work with jsoup library ,so I have to extract a table from an web page , so what the loop that can let me to extract all data of the table,I tried this for (Element table : doc.select("table")) but it returns the table header data only !
 
@Unihedro What is that code?
 
@Gemtastic html that blocks the user from visiting if they use IE.
 
@Unihedro Didn't know you could do that with those <!--- []> tags
 
Yes... It looks like a comment being wrapped in <!-- -->, but it's actually a browser directive.
 
Document document;
document = Jsoup.parse(htmlFile, null);
List<Element> mainTable = document.select(condition);
 
8:32 AM
The [if (flag)] ... [endif] does the dirty work, it's all alchemy put together by w3c, and I would like to thank the gods that they did that.
 
@JavaFan Ah, that's what you did
 
the whole code?
 
@JavaFan String condition = "td:not([style*=border: 1px])"; (as an example)
 
@OlegKuznetsov not a htmlfile I connect my code with a website
 
oh
@JavaFan try to change "table" with "tr"/"td"/"th"
 
8:36 AM
@Unihedro I'm also glad they did. Huzzah!
 
that was my trial
	for (Element table : doc.select("table"))
					{

				for (Element row : table.select("tr")) {
					HashMap<String, String> map = new HashMap<String, String>();

					Elements tds = row.select("td");

					Elements imgSrc = row.select("img[src]");

					String imgSrcStr = imgSrc.attr("src");


					map.put("rank", tds.text());

					arraylist.add(map);
					System.out.println(arraylist.get(0));
				}
@OlegKuznetsov Do I need for other loops for td and tr?
 
fge
@JavaFan please use a pastebin
 
I am sorry
 
fge
dpaste.org, for instance
DOn't paste large amounts of code here
 
8:44 AM
@JavaFan Do you have multiple tables?
 
yes
 
@gem this is how you do it :P
 
@OlegKuznetsov Could you correct me please?
 
@ItachiUchiha That doesn't really show me much
:P
 
9:09 AM
@JavaFan No ideas yet, sorry :(
 
@OlegKuznetsov no problem
 
Christmas comes early this year. This is so much fun ^^
I just have to fill in the blanks for how I apply this to existing code, as we are doing now, the servlet generates new code on a new page...
 
Fill in the blanks
 
There, I fixed it
:D
 
user4202350
@Unihedro u small kid ..r u m/f?
 
:P lol lol lol
 
fge
~aolbonics
 
@ShaU a5 4 Hats fob&i=u (Using closest Wolfram|Alpha interpretation: r u m/f, try again with a list or multiplication instead)
@fge Should I just add its feeds here so you won't have to report on every update?
 
fge
@Unihedro as you wish -- not sure how to configure the feeds though
 
9:38 AM
It's a Room Owner perk to make sure no one adds hourly pornographics or something ridiculous like that.
 
@Sam Aren't you a bot?
:P
 
Sam
Yep.
 
Ticker or message? If it's a high volume feed (aka happens more than once a day usually), we recommend tickers. Currently, the featured questions tagged java ant not maven appears as a ticker.
 
Unihedro has made a change to the feeds posted into this room
 
^ done
Hia @Sam! What brought you here? :P
 
Sam
9:41 AM
Heya. Meh, nothing.
Just looking around.
 
Oh.
 
10:06 AM
Chat-hoppin eh?
 
Sam
Kinda sorta.
 
I do that too when I get bored
I wanna go on, not be stuck >_<
Classmates, get your stuff together!
Standard question in this class: "Who can get this to work?"
And the teacher threw back at me when I said it works for me: "It always works for you!"
 
Sam
lol
 
user4202350
@Unihedro hey mann
 
@ShaU you sound like you're drunk when you talk to Uni
 
10:13 AM
@Gemtastic "... most of the time."
 
Maannnn Uni, I love you soooo muuuch maannn
2
@Unihedro In this class I only had one derp
 
user4202350
@Gemtastic iiiiiiii aaaaaaaaaa
 
Everyone but one or two derps at every step XD
 
user4202350
Hi my name was sssssssssssssssssssssssssssssssssss
 
@ShaU Are you alright?
 
10:20 AM
recommend timeout
 
fge
OK, so, will the feed work?
 
user4202350
No
 
@fge Yes, when there is an activity on the specific page, you get a ticker notification.
 
user4202350
integral (m r u)/f du = (m r u^2)/(2 f)+constant
 
fge
Hmwell, I didn't see it, and I just updated the page
 
10:28 AM
hello 2 all Java People
Good Evn to all....
 
user4202350
Thanks .....Good Morining to u
 
@ShaU
do u have knowledge in hibernate
?
i am working in .net mvc 4
how many days it will take to be comfortable with hibernate
 
@Cool One.
 
fge
Or use jooq
 
@Cool Probably yearsss
 
10:34 AM
Centuries!
 
i was working in java 5 months back , that was in core java and advanced java
 
fge
jooq: the only Java SQL API (apart from JDBC) which understands that in an ORM, the R matters more than the O
 
Define "advanced".
 
fge
(OK, there's also MyBatis)
 
JDBC sucks. They really should deprecate it so developers start using JOOQ.
 
fge
10:37 AM
@Unihedro tsk tsk :p JOOQ uses JDBC
(not really a choice)
 
10:58 AM
And now on to some MySQL after lunch ♥
 
Now, LUNCH!
 
11:20 AM
Guava has a thread leak?! No way!
LOL
 
fge
11:59 AM
eyes @Unihedro
stackoverflow.com/a/17588398/1093528 <-- another thing which sucks: Timer!
 
Timers suck! Use schedulers!
 
fge
I've just opened this; I've already have the guy add entry loaders to it, and when it uses a ScheduledExecutorService I'll ditch LoadingCache
Variable entry expiry ftw
 
Puuuh
Sooo delicious~
is fat
 
Sandwich cake?
 
No, salladbar :P
with shrimps, grapes, watermelon and other nommy stuff~~
 
fge
@Unihedro grrr, that's rather childish
(seriously)
 
:P
Support my feature request to one-box github tickets among other stuffs!
33
Q: One-box repositories, issue tickets and such on GitHub in the chat

UnihedroGitHub links are posted in chat quite frequently, but the support of the appearance is somewhat poor: <html><head><link rel="stylesheet" href="http://cdn-chat.sstatic.net/chat/css/chat.stackoverflow.com.css"></head><body><div id="transcript"><div class="monologue user-2246344"><div class="si...

 
whee! Now we're gonna do MySQL
 
fge
@Gemtastic really, now; why not PostgreSQL?
 
12:15 PM
@fge or at least SQLite...
 
MySQL is deprecated
 
fge
@Unihedro SQLite has a native component
Rather go with h2
 
Anything but MySQL, really. SQLite is beyond mediocre, I do agree that h2 and PostgreSQL would be better, note that I used "at least".
 
12:26 PM
@fge Because we're only starting to look at it. Databases patterns and structure is the next course
 
fge
Well, sure, but you could at least use an RDBMS which is not broken :p
 
We're mostly just gonna learn to use it for whatever we are gonna do with the servlets
 
@Gemtastic Servlets are already over? :S
That was fast
 
We began with them yesterday and we kept on working on it now
But it's not over
We're just going through all the steps for when you don't use a framework
And we're gonna use thyme instead of JSP!
 
How is RDBMS a part of Servlet :(
I don't like syllabus which teaches students everything at once
Guess, its more like
Come to us and learn everything in 30 days
 
12:37 PM
Not really O.o
We're just loosely getting into it
So that we'll understand what we're doing when we use Spring
 
But students learn nothing, since they don't have time to practice and actually get to know how things really work
before students start to have grasp of things, they move to next topic
 
I need a faster computer...
 
@ItachiUchiha We have all the holidays to practice
 
@Joe'sMorgue Faster than what you just received a few days ago?
 
12:48 PM
Yes...
 
@fge I like the Important note section ;)
 
fge
@ItachiUchiha let me guess: U+1F4A9? :p
 
@Joe'sMorgue Or build a specific-purpose computer, and use it for that specific purpose.
My computer is a slow most of the time, but when I use it for coding and compiling stuff, it runs like a demon.
 
@fge Is representing path using String literals a good idea?
path is "/foo/bar" and other is "baz"
 
@Unihedro How do you customize it so?
 
12:58 PM
@Mr.777 You divide the usage
 
@Mr.777 I made a list of the parts I want my computer and send it to a builder.
So... There you have it.
 
@Unihedro Ehhh, lot of technical stuff @ITa
 
Prebuilts suck.
 
@Unihedro Can I please know the exact process or reading from somewhere if there is any?
 
fge
@ItachiUchiha good question
 
12:59 PM
I want a dual CPU machine, but AMD is against that with these chips...
 
User.getByName("fge").unignore(User.getByName("Unihedro"));
 
if(User.getByName("Unihedro").states("**sucks")) {
      User.getByName("fge").unignore(User.getByName("Unihedro"));
}
 
How would I look for messages that ping'd me?
 
@fge what do you mean by "self" path name components?
 
fge
@ItachiUchiha the dot
 
1:04 PM
@Joe'sMorgue They have an @-mention in red.
 
fge
@Unihedro I disagree strongly with one of his/her statements -- checked exceptions are very successful
 
@Unihedro PHP and JS have a nice list :P
@fge is ".." also a "self" path name component?
 
fge
@ItachiUchiha no, it's a parent
 
1:10 PM
dont we always use parent before a file path
as in "../foo/bar"
I have never seen someone using "/foo/bar/../baa"
I mean why will someone use that path, when one can directly use "/foo/baa"
 
fge
Go figure
Note, as I say below, that resolution does not perform normalization
So if you resolve ../baz against /foo/bar, you get /foo/bar/../baz
You need to normalize it
 
Yeah, I get that part, but why would someone use such a stupid path :P
 
fge
Well, why do people still use PHP? :p
Anyway -- that's how it works ;)
 
Yeah, the wikia has some insights!
Can I edit the page?
 
fge
Text updated
 
1:15 PM
I want to fix some indentations and some space here and there :P
toRealPath() is really cool stuff
 
fge
You can edit it now
@ItachiUchiha note that it throws IOException however
 
@fge when?
 
fge
For instance, a filesystem loop
Or the target does not exist
 
1:30 PM
 
Looks about right...
I cannot sit in those proper positions for long periods. I have a pillow next to my desk for when I want to put my feet up, usually they end up on the entertainment center...
 
1:43 PM
 
1:57 PM
^ iOS sucks.
 
00:00 - 14:0014:00 - 00:00

« first day (1517 days earlier)      last day (3423 days later) »