« first day (1508 days earlier)      last day (3438 days later) » 

12:00 AM
Guess I am the only man alive
 
fge
@ItachiUchiha yep
@ItachiUchiha just pushed java7-fs-base 0.0.1 on Maven
Will do the same with java7-fs-dropbox soon
 
do you even sleep?
 
fge
12:15 AM
Uhm
Dunno
Don't ask me that :p
 
lolz
ok..i wont.. :-)
i ve jz strted reading a book on "Test Driven Development"
We must write our own tests, because we can't wait 20 times per day for someone else to write a test.
^^ i have xperienced this..
 
fge
@ItachiUchiha a good book that I recommend: "practical unit testing with testng and mockito"
And yes, use TestNG instead of JUnit
 
I am more interested in some book that would compel me to write unit test cases..
I jz don't feel writinh them whenever I am putting together some piece of code
consider yur projects.. its full of testcases..
i know they are useful, still i am not inclined towards them
finally I thut of reading some book that would(in future) make me fall in love with test cases and I cant live without adding them in all my projects :-P
 
fge
12:41 AM
@ItachiUchiha the book I mentioned will have you write test, no worries
 
fge
1:03 AM
Argh, I am soooo frustrated
The more I read about indy, the less I understand
 
indy?
 
fge
@ItachiUchiha invokedynamic
@ItachiUchiha anyway -- java7-fs-dropbox 0.0.1 released
 
gZ!
btw what is the groupId for them?
@fge ?
 
fge
@ItachiUchiha com.github.fge:java7-fs-dropbox:0.0.1
Don't expect miracles apart from a working basic filesystem however :)
Now on to box.com
Not sure how I'll name the project yet
 
fge
1:44 AM
OK, second FileSystem project underway
wonders how much "web storage" he's gonna end up with after he implements all he wants to implement
 
fge
2:31 AM
Ick
I hate undocumented APIs
 
yeah they suck
Look who is saying it. Someone who hasn't documented in ages
 
fge
@ItachiUchiha meh :p
Developing another filesystem ;)
I know I have a lot to do
Attributes are first in the list
But my word are they a pain
 
attributes for?
 
fge
@ItachiUchiha "file" attributes, for some definition of "file"
The problem is with Files.*Attribute*() methods
They take... Strings... as arguments to mention attributes, and you must match them to classes and attributes to retrieve from this class
 
lolz.. the issue that yu jz posted is full of sarcasm..
@fge ahh i see..
one quick question..
what are exactly the so called Util classes in java? why is it that all the methods in them have a static declaration?
 
fge
2:53 AM
@ItachiUchiha what Util classes are you talking about?
 
3:10 AM
In computer programming, a utility class is a class that defines a set of methods that perform common, often re-used functions. Most utility classes define these common methods under static (see Static variable) scope. Examples of utility classes include java.util.Collections [1] which provides several utility methods (such as sorting) on objects that implement a Collection (java.util.Collection [2] ). == Example == == See also == Helper class Utility pattern == External links == Utility Pattern: For a utility class, which does not require instantiation and only has static methods, us...
Basic example of such classes are Collections, Arrays, etc
I will rephrase my question..
Why is it necessary for a Utility Class to have no State (i.e. they are stateless)??
@fge
 
fge
@ItachiUchiha well, what would a state be worth for such a class to start with?
 
@fge Well they are worthless, but doesn't it violate the OOP model?
 
fge
@ItachiUchiha methods of a "utility class" are supposed to be called by anyone, at any moment, in a consistent manner
Well, yes, I guess so -- but such classes have their use nevertheless
OOP is just a paradigm; like every programming paradigm, it fails to apply to every and all situations
 
This is a nice Explanation:

There are times when you can use utility classes to group a number of methods together - an example being the java.util.Collections class which provides a number of utilities that can be used on any Java Collection. These aren't specific to one particular type of Collection, but instead implement algorithms that can be used on any Collection
 
fge
Even LISP compilers are written in C after all
But LISP boffins look at C like they would look at a turd on the pavement -- happily ignoring what C does for them
 
3:20 AM
For me, C is the father of High Level Programming
C is silently running, even beneath the most advanced systems/compilers/OS
 
fge
C is everywhere
It runs 100% of everything
Dig deep enough, you'll find C
 
But still, it is being neglected
 
fge
Tell that to the Linux kernel devs -- or any *BSD kernel devs for that matter
 
Kernel Devs will kick my ass :P
 
fge
3:34 AM
OK well, right now I have a problem... I can't even list files on the box.com account
The API requests a folder ID, but how do I even obtain that ID in the first place? :(
 
@ItachiUchiha Hi Itachi. I already figured out the stuff, more or less. Thanks!
 
@MLProgrammer-CiM :)
 
From Zero to full application in less than 8 hours. That's what I call quick & dirty
JavaFX is quite understandable, coming from Android world
all the perks, none of the bullshit
 
Well, I told ya :)
 
and you were right
anyway, thanks again
and off to bed with me
(ps: how is life post-naruto going for you? my wednesdays are so...empty after 15 years)
 
3:46 AM
Same here :(
I feel someone has taken away an important part of my wednesdays :P
 
there's a new season with Bolt coming up next year, if I'm not mistaken
 
Bolt the movie?
 
Boruto -> Bolt
and we'll always have the Jojos, Berserker and Vagabond, those mangas will never end
 
Boruto Uzumaki?
 
3:49 AM
Yeah..
Bleach is there
 
couldn't get past the soul society arc
 
hehe
 
fge
Hmm, manga fans, I see
 
yeah, you must have got an idea by looking at my name :P
 
fge
@ItachiUchiha it rings a bell, however I can't recall where I read about it
That reminds me -- what about my no-op WatchService? :p
 
4:00 AM
have you heard about the anime Naruto?
 
fge
Yeah
Oh, it was there
 
yeah
 
fge
Well, I'm not a fan of that anime
 
You might wanna have a look at this
 
fge
Recently the best I've seen is Ghost In The Shell - Standalone Complex
(both seasons)
 
4:01 AM
Have you seen Fate Stay Night?
 
fge
Music by Yoko Kanno, no less
Yes
 
I like that anime
 
fge
I like it but I prefer Fate/Stay Zero ;)
 
Never heard of it
 
fge
It's a prequel to Fate/Stay Night, though it has been produced after it
Really nice
Excellent storyline, excellent animations
 
4:04 AM
Prequel, wow! I will have a look at it.
When I get my internet back at home :(
Fuck Broadband services
 
fge
But GITS-SC is in a class of its own
 
I have not seen this either..
 
fge
I wouldn't have imagined that they would successfully build on the legendary film, but they actually did it
 
Two animes noted in my to-watch list
 
fge
The music certainly helps, it rocks
(note: two seasons)
 
4:06 AM
Noted
 
fge
Another one, in another genre entirely: Baccano!
(means "bullsh*t", or close to, in Italian)
In another genre again: El Cazador de la Bruja (the witch hunter)
All of them Japanese, I wonder why :p
 
Well Japan is the birth place of animes
 
fge
And another one: Seirei no Moribito (Guardian of the Sacred Spirit)
 
Though, I watched Fate Stay Night with English Audio and it totally rocked
 
fge
Eh, I always watch animes subtitled
 
4:09 AM
I can't wait to get back my internet..
@fge so do I
 
fge
I take it you know Cowboy Bebop, right?
 
yup, I know
 
fge
(well, who doesn't)
 
Its an old, but a classic anime
 
fge
The music composer for this anime is Yoko Kanno, precisely
Still the best music score for an anime I've ever heard
digs through brains to recall other good anime titles
Ah yes
Gosick
Very good one
 
4:20 AM
noted
 
fge
Opening theme of the first season of GITS-SAC
A better version...
 
Youtube is blocked :(
 
4:46 AM
why?
 
coz firewall doesn't permit it
 
:/
I just reinstalled my computer >_>
Well, kinda still re-installing it
Takes forever to get all the games running...
And programs...
 
games?
 
The ones I program myself ;D
Nah, I said games instead of programs
My programs are kinda like my games; bored? Make new avatar in photoshop.
 
hehe
I feel people who know how to use photoshop can never get bored
 
5:11 AM
There are so many features and ways to use them you never really stop learning (unless you yourself don't wanna learn :P
 
 
2 hours later…
7:30 AM
Hiya
@ItachiUchiha That's not very true. Once you know it, it's over & boring.
 
8:06 AM
@Mr.777 There are so much to know, it will practically never get over
+ you can use various combination to give new effects
 
Yep, so see my comment ;) That's why I said, once you know
 
see my comment for various combinations :)
 
yep i saw it now
So, how are you @Ita?
 
I am good
 
What do you do in your free time?
I mean after office?
 
8:10 AM
Depends..
 
8:35 AM
Morning
@fge your taste in anime seems superior
 
Morning @Vog
 
hey can i apologize for being pretty wasted last night
btw I got eclipse installed and just installed blackberry jre
studied the syntax for a while, I really like how it lets you change the string format, I like it condensed reminds me of a calculus equation
lkj
lj
my user name is stuck in here
 
8:56 AM
@Ste what is it?
You don't need to apologize but to behave in the future :)
 
@Mr.777 he already left the room...
maybe he's watching, but eh...
 
Doesn't matter, he will get notified of the message to him ;)
 
hey
I think i need to reload my browser i'm trying to update my username
 
nope...
 
do i need to change my real first name
 
9:01 AM
caching ftw..
it just takes some time..
 
hold on brb
 
@Vog what's ftw?
 
for the win.
in this case meant sarcastically...
 
f the world
 
yawns
 
9:10 AM
I want to learn live synthesis
 
wat?
you mean living off water and sunlight??
 
for 12 hour shifts
sunglasses are required
it's like working on motherboard while lil jon is playing to make him sound like god
what could you do to a computer chip to get low frequency distortion ;)
with high output
anyways where's a good place to get started on some basic projects in java
 
maybe inside an IDE of your choice?
 
eclipse just has a hello world application
 
Don't chat, just jump in your IDE and code already!!
Are you asking for project ideas or library templates?
 
9:23 AM
well so i'm basically going to google my face off
 
hmm.. yea
just like everyone else ;)
~JavaBot at your service
 
what's the worst thing i could screw up
anything i should avoid
 
bad code
 
i have blackberry jde now
jre*
 
(Contrary to popular belief, )I don't care.
 
9:26 AM
hmm that would be the first one, probably...
 
ok
how could i code an electronic lock
don't answer me i'm googling
 
write code
 
I think there could be some fun in this...
 
Empty vessel makes noise
2
 
do you guys order like special computer parts
 
9:28 AM
anything starting with "how could I" leads to a response from the bot
 
or like special chips to build projects for?
 
how could I not know that, Vog?
 
no Idea ;)
 
@StephenJosephBerger We build software. Don't use Java for single-purpose hardware.
(Unless you're retarded.)
 
9:30 AM
@Unihedro but I think that should be some different Bot-Class to handle this..
 
anyways how are you coming along with JCE?
 
How about I work on JCE again and you work on the evaluate java code command?
 
you mean the quotes issue??
 
9:32 AM
@Mr.777 status-completed
 
Thanks @Uni any suggestions on improving the answer?
 
@Unihedro unclear???
 
all it's basically left is to salvage fge's code, look into that code gen library and mimic the same, then use the compiler properly
I've been doing that, and was going to continue working on JCE after finishing that :P
 
hmm fge's code where?
 
9:41 AM
net.rim.device.api.ui.Manager
 
aaand javascript magic!
 
so that's a script?
why is it structured like a URL
 
Such Javascript magic... much wow
Name this future SE Chat client I'm going to build with JCE and a bit of code for a GUI? @Vog
 
Oh you know, we'd all probably go insane without it.
Junior?
oh no wait that's...
hmm...
Senior?
T.T
I am not good with naming things...
 
XD
Oh my, that's awesome... Senior and Junior...
 
9:50 AM
if it's deprecated you can't use it? or it just means it's old and possibly problematic with new code
 
whats a good null byte
 
:P
 
10:07 AM
how do i get better faster, reading a lot or typing random codes
or just pick and choose things I want to put in an application
net.rim.blackberry.api.options Description oh yea
 
I hate to point it out, but you'll never get better. Read good code. One seldom improves when they only have themselves to learn from.
 
@Unihedro @Uni be nice please :)
 
@Mr.777 he is...
 
Thanks for double ping..
 
Striking out the text won't make it disappear, I know we all are annoyed but let's not be like him
And sorry for double ping though :D
 
10:16 AM
@Uni did that really ping double?
 
u know what i wanna make..
 
sense?
 
an application that is universal to all mobile devices, where you basically just stick ur phones out hit a button and exchange numbers
 
rofl
 
10:17 AM
but what's even more romantic, is morse code via screen flashing
 
Sounds great!
Go code it!
 
which they have but they're not universal yet
 
jQuery is to coding JS as Guava is to coding Java.
 
how old are you
 
@Vog can a MethodHandle be used to invoke a private method?
 
10:21 AM
are you all in college or something working on a project
 
> Apart from the checking of type descriptors, a method handle's capability to call its underlying method is unrestricted. If a method handle is formed on a non-public method by a class that has access to that method, the resulting handle can be used in any place by any caller who receives a reference to it.
taken from the class-level javadocs ;)
 
:joy:
 
why did you say i'm using bad code
blackberries were issued to the fbi until last year, they were given an option to use the iPhone 5
 
@GettingNifty Seriously stop bothering & discuss only the details related to the problems you are facing in your work.
 
It's cool to see you guys having monologues
 
10:29 AM
And... Javascript magic
 
hey
 
If I have double values representing percentages, how can I turn them in to int? Say I have Double d 0.90 and I rather want it to be 90
 
Math.round(100 * x) ?
 
where x is the double?
 
10:40 AM
(int) 100 * x
free rounding
 
meh... not really, but it should be fine.
 
and that will also work if the percentage is 94 ?
 
yes. Math.round returns double so it needs the casting
 
Casting it imprecisely rounds though.
 
just casting to int will truncate the part after the comma
 
10:40 AM
Which is good for most cases.
 
Not really rounding with the cast alone. That's flooring
 
Oh.
 
Thanks guys !
 
Meh, rounding == flooring in my logic..
 
But good enough often
 
10:41 AM
rounding == Ceiling (also)
 
what should be 3.5 floor & ceil?
 
mmm, ceil() rounds always upwards, unlike round()
 
0.9454022988505747 gets rounded to 95, which I guess is okay :-)
 
yes it is
@miniHessel nic dp ;)
 
@kiheru well that's what It should do, right?
 
10:43 AM
dp ? :P
 
round(3.5) => 4; ceil(3.5) => 4; floor(3.5) => 3; ceil(3.1) => 4
 
3.01.ceil() -> 4
 
Ceil = round up, floor = round down, round = round (to next int)
 
stackoverflow.com/questions/27376511/… Any help will be appreciated
I could try to write a component for this by myself, but I don't know how much time it would consume :(
 
How do I get a MethodHandle of an instance method?..
Um... Random thought, I have to lookup() it in the same object instance?
I have no idea what I'm doing...
 

« first day (1508 days earlier)      last day (3438 days later) »