« first day (1516 days earlier)      last day (3425 days later) » 
01:00 - 16:0016:00 - 00:00

4:00 PM
also quick other question
for example i'm using counter which starts from one is there any built in java function to check if it's odd or even number?
for example 1,3,5,7,9
and 2,4,6,8
or should i use n+1/2
 
int n;
boolean isOdd  = n & 1 == 1; // odd
boolean isEven = n & 1 == 0; // even
 
fge
@charen just check the result of n%2
 
thinks to self, does @charen even code? What's with the attitude?
 
sorry if it sounded like that attitude
 
:20514153 Negative numbers? Then use % 2.
But... Eh, no, it won't go wrong. :P
almost fooled me..

Another not so well known bithack!

Jul 23 at 15:04, 30 minutes total – 42 messages, 3 users, 2 stars

Bookmarked Nov 16 at 17:25 by Unihedro

^ read @fge @charen
:O I was talking with the author of Codelet! I never realized!
OMG!
ASDFgHjKlKYJUTYRErTWRYryjRYHettdhfhryhirjetdpgijteonetoijhgwe111111AZXC
 
fge
4:06 PM
Yeah, it's aliteralmind
 
thanks guys, n%2 seems to do the trick
 
fge
Did I tell you that I was the one to suggest the name codelet to him? ;)
 
RGHAETUGEGUAEHTGEtbzdghuietdhgtdzuhthETYwteewRGBWEt35635ntwgr35ywr53yh53rg35grvS‌​AAZXVdgr
 
4:25 PM
Home ♥
 
finally we're learning stuff~
I now know how to setup and run a tomcat server
 
:approves:
^ this is how I feel when people talk to me about servers and deploying stuff
 
I even know how to run a little servlet~
 
lolz
that was epic @uni
 
4:31 PM
@ItachiUchiha and totally relevant; commitstrip references are amazing
 
yeah they are ;)
@Gemtastic congratz you are now into J2EE :)
 
^^ Congrats @Gem!
 
@ItachiUchiha not J2EE yet
but getting there
 
@Gemtastic You're heading the path though.
 
@Unihedro Yep and I love it when we get down and dirt with the real code, not the spring magic bullshit. Which is probably really useful, but I want the down heavy basics before I use the simplify tools
 
4:34 PM
@Gemtastic :approves:
 
/ me too
 
What we did today I've wanted to know since I was 16
 
and what was it?
 
That's kind of funny because I'm 16, and I never put the J2EE knowledge of mine to use.
AAAAH!!!
 
@ItachiUchiha How to run a server on my computer
 
4:36 PM
I accidentally dropped my laptop while holding it... Thank god that it fell on the soft part of the blanket and survived
@Gemtastic ... oh, really
 
Really dodged a bullet htere @Uni
@Unihedro Well, a tomcat server
 
Well, I wouldn't be too sad if it died since it runs on Windows, but good to have it still alive
 
For local testing
 
/ and the bullet hits me
 
@Gemtastic Great!
@ItachiUchiha Role playing again? :P
 
4:37 PM
Well I am my own powers to save myself, don't forget my Sharingan
 
Now, I hope the next class is how you make it run the homepage design
 
Fine... (teleports home with the /home command; Frantically reaches the basement to grab a rifle and a sniper rifle and heads back to the ducts above the Java room)
 
@gem do you have a webpage ready? Lets run it now :P
 
@ItachiUchiha Actually, I do
 
Great! open the tomcat directory -> webapps. What do you find there?
 
4:39 PM
You need a servlet software to run JSP websites, right?
 
This is a screenshot of the website I built:
 
I would have our room website coded in JSP for the challenge, but meh I don't want to install more than a web server on the cloud.
 
@Unihedro Servlet s/w? :S
 
@Gemtastic A++
 
12-17 19:33:19.564: E/Fail 2(25904): java.lang.NullPointerException: lock == null
 
4:40 PM
@ItachiUchiha we put a little servlet in there, but all it does is print a <h1> tag
 
Can someone read this logcat please
 
@Lana 12-17 19:33:19.564: E/Fail 2(25904): java.lang.NullPointerException: lock == null
 
Or teach me how to read it :D
 
@Lana you have a NullPointerException. Something that can't be null is null
 
Does is mention on which line ?
 
4:42 PM
and by the looks of it, that thing is called lock
 
@Lana twelfth dash seventeen, nineteen at thirty three at nineteen point five six eight, where Ee slash Fail two parens twenty five thousand nine hundred and four of Java dot Lang dot Null Pointer Exception colon Lock equals comparator null.
 
I have no variable with this name
 
Or would you actually want me reading this aloud? I'll record, you might dislike my voice / accent though.
 
@gem still interested in running the webpage on the server?
 
@ItachiUchiha Yes!
 
4:45 PM
read=understand the text
 
what do you find in the webapps folder?
 
@ItachiUchiha web.xml
and a class folder with my little servlet class in it
 
@Lana Let me get this clear; Why are online resources insufficient in helping you diagnose the problem? Have you read the manual? Do you even have a manual?
211
Q: What is a Null Pointer Exception, and how do I fix it?

ZiggyWhat are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them? What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?

 
@Unihedro I searched it how to read the logcat and I found just how to write it log...etc
 
@Gemtastic Not the WEB-INF folder
but the webapps in tomcat
 
4:47 PM
0
Q: What's this logcat log means?

androniennnI'm facing a FC when i try to access to a listview containing all my saved datas(in a file), here is the logcat: 03-20 22:43:33.686: ERROR/AndroidRuntime(5315): FATAL EXCEPTION: main 03-20 22:43:33.686: ERROR/AndroidRuntime(5315): java.lang.NullPointerException 03-20 22:43:33.686: ERROR/AndroidR...

 
@Unihedro I think (s)he wants to know how to find what row the NP happened at
 
0
Q: LogCat entry meaning

androidThis is in my LogCat and i don't know what it means. Can somebody understand this. Thank you! 12-26 17:51:04.141: W/dalvikvm(9109): threadid=1: thread exiting with uncaught exception (group=0x40af6300) 12-26 17:51:04.151: E/AndroidRuntime(9109): FATAL EXCEPTION: main 12-26 17:51:04.151: E/Androi...

2
Q: how to find null pointer exception with logcat

Mike DemersI'm trying to build a small app that takes a data file in external storage and emails it. I keep getting 'null pointer exceptions' right away in logcat and then my app dies. I can't seem to locate my exception and I am wondering if there is a way to determine the line of code that is causing this...

 
@uni lmgtfy
 
@ItachiUchiha Oh, derp. I'm a bit tired after today sorry XD I have docs, examples, host-manager, manager and ROOT
 
@Gemtastic You assumed?
 
4:48 PM
I AM ROOT!
 
yup, now just copy your html file and place it inside ROOT
 
@Unihedro No, based on this:
7 mins ago, by Lana
Does is mention on which line ?
@ItachiUchiha ooh
 
like this: (what's already there);(new directory to add)
 
and start your tomcat
 
4:51 PM
in Tavern on the Meta on Meta Stack Exchange Chat, 4 hours ago, by Mooseman is eating pizza
This guy is the Hero of Stack Overflow.
 
@ItachiUchiha GASP
:D
 
done?
 
lolz :P
 
How do I do if I want more than one site?
 
4:53 PM
@Unihedro Thanks a lot, must of the links have a solutions on people code without explaining what it is Tid and Pid. I want to know how can some people know the error line from the logcat
 
did it run on localhost:8080 ?
 
@ItachiUchiha That's why I made all the happy things! :D
 
@Gemtastic then you don't simply use PATH, it's an ugly hack.
@Lana ?
 
@Unihedro go on?
 
@Gemtastic Create a folder, for example ../webapps/GemWebsite and paste all your webpages inside it
 
4:55 PM
cd {your directory the file is in}
// start tomcat
 
@Unihedro that won't work :P
 
@ItachiUchiha Meh.
works with JBoss, not tomcat
 
* I mean most of (typing error)
 
@Gemtastic then you can see your all webpages at localhost:8080/GemWebsite/..
 
@Lana experience
 
4:57 PM
@ItachiUchiha Yaay
 
and time, when you deal with the errors over and over again and search for solutions over and over again, you have to get somewhere
 
@Ita Yaay or anything hurrah-ish means it works
 
pretty much true for everything, not just reading errors, people who google / search online a lot gets better at it
 
@Unihedro experience :P
@Gemtastic got it :P
 
and consider this as an advice from a friend, don't use Google, it sucks!
duckduckgo.com << best search engine
 
4:58 PM
Now I can actually start experimenting with the servelt and the site!
 
2 days ago, by Unihedro
Unihedron - Casually bashing Google, Apple products, Windows, Pastebin, Wired mouses, cheap OCR devices, spaghetti code, AdBlock, Time zones, bullet trains, civilizations, and online tutorials since 2013
 
@Unihedro really ? I always use google
 
@Gemtastic You haven't written a servlet yet :P
 
@ItachiUchiha Yes I have
 
these are just some static pages running on a server
 
4:59 PM
@Lana most people do as well, until they realize how much Google hides from them not to offer; you'd be seeing scrappers on top results, not the insightful articles
 
@ItachiUchiha The beginning of one. That's what we did in class
 
@gem I must have missed some conversation :P
 
Because they track and dominate your queries and gives fake numbers.
So, use duckduckgo.
 
@ItachiUchiha Yeah you kinda got into it after I had said that to Uni
 
1 min ago, by Unihedro
http://duckduckgo.com << best search engine
 
4:59 PM
DuckDuckGo
and the duck goes away
 
DuckDuckGo
The duck, coming soon to a(n)? {insert location genre} near you
 
@Unihedro This is the first time I heard of it . Thanks bro
 
@Lana I'm not your bro. But you're welcome.
 
Yo bro
 
lol we just say bro to anybody
 
5:03 PM
Anybody? Even to teenagers who keeps the internet alive? :P
Ehh... k. :P
 
More often to them @uni
 
Two most (ab)used word on the Internet:
1. "Awesome"
2. "Bro"
 
posted on December 17, 2014 by Artist

So today we had a little meeting in class about the dismay a lot of us in the class have had with our new teacher. It was decided that we would get down an dirty with the code and start from the very beginning with how to run a tomcat server, setting up CATALINA_HOME and making a little servlet which we placed on the server. And thanks to the lovely peeps in Java on SO I now know how to put th

 
Aweeeeeee...wait for it....some
 
@Unihedro That's another new information , will back to work now
 
5:05 PM
@Lana Enjoy your work, good luck!
 
Tomcat, eh?
 
I saved my attack on jQuery, so you can bash tomcat if you want.
2
~moving on
 
5:21 PM
BREAKING NEWS!!! Breaking news!
 
MySQL is deprecated!
3
dont use mysql! its deprecated — Matt Holbrook-Bull yesterday
 
what?
lolz
 
@Unihedro Meh. MariaDB is a nice drop-in replacement
 
5:52 PM
@Unihedro Pfft
@OlegKuznetsov Yep, tomcat
For now
 
Is someone knows a good practice how to catch 2 fingers swipe in android?
 
I suggest you ask that in an Android room
There might happen to be an android developer here, but this chat isn't generally an android chat
 
Yaay
 
fge
6:36 PM
Updated again!
 
I should probably start coding on the webshop I'm gonna have as a final project in this course
I'm gonna make one for my mom's shop
So it's actually gonna be in use
 
yay!
 
UGH
My god!
 
I like projects which actually go live
 
Mom really got ripped off on her current site!
 
6:40 PM
and why is that?
 
It's horrible!
 
Can we visit it?
 
It's in swedish though
 
Hey does anybody here know much about Android? Specifically running the package manager?
 
I dunno, do we?
If you had asked us about JavaSE, EE, FX, jsp, servlets or swing we would know about it ;)
 
6:43 PM
@gem It is mostly a static site, except the Kontakta oss part. It will be a piece of cake for you ;)

Android

Sometimes we even talk about Android. Please read the rules (r...
 
@ItachiUchiha I'm gonna make something a lot nicer, and I think I'm gonna make it easy to exchange the theme on depending on the seasons and holidays
 
Yay!
I like it already ;)
 
Hehe
And of course, I'll have to make a mobile version!
I haven't ever built a site that depends on the screen resolution so that will be a fun new thing to do
Though it might not be what I thought it was
 
Well you can learn about resolution free(I forgot what it's actually called as) design's so that the same website can be seen on a mobile device as well.
 
Fev
6:57 PM
hi itachi..
 
@Fev heya
 
anyone worked with the robot class before?
or macros in general?
 
doesn't look like it
 
 
2 hours later…
9:19 PM
Hi, can some one please help me with this? stackoverflow.com/questions/27535041/…
 
 
1 hour later…
10:48 PM
@Unihedro It means you are viewing the first out of three pages.
@ItachiUchiha JavaFX is separate from the normal Java API.
 
11:01 PM
Shutting down. See you later.
OakBot Online.
 
=javadoc label
 
Which one do you mean?
* ezvcard.property.Label
* javafx.scene.control.Label
* java.awt.Label
 
lol
 
fge
@Michael no :p
 
=ezvcard.property.Label
 
11:07 PM
@Unihedro I don't know that command. o_O
 
=ezvcard Label
 
@Unihedro I don't know that command. o_O
 
@Michael ^^^
 
@Unihedro Query by library?
 
Nice
 
me likes
 
@fge Tweaked.
 
fge
@Michael ?
 
Just some minor formatting/wording changes.
 
01:00 - 16:0016:00 - 00:00

« first day (1516 days earlier)      last day (3425 days later) »