« first day (1473 days earlier)      last day (3462 days later) » 

fge
1:00 PM
@Unihedron and then there is this: stackoverflow.com/a/22663410/1093528
Here I learned about what syntax could be used for lambdas
 
Another dumb java question, how can I specify an int to be the length of an array
 
fge
@KalaJ: new int[theIntHere]
@KalaJ you can even do int len = ...; int arr = new Whatever[len];
This will work
 
ok because I tried something like fruits.length but doesn't work
 
I love it, lambdas are awesome
 
fge
@KalaJ and fruits is what?
 
1:05 PM
String[]
 
fge
@KalaJ Fruits.values().length will work if this is what you mean
 
@KalaJ String[].length exists. Just saying.
 
oh I see
I am setting int[] arr = String[].length
 
fge
@Unihedron anyway, that's not the part I'm interested in with indy... grappa is my goal here
@KalaJ and what did you expect from that?
@KalaJ this is illegal syntax to begin with
 
hm yeah
 
1:07 PM
@KalaJ Is that pseudocode or are you serious? ;)
 
lol
I am trying to remember if I need the integer array
 
Perhaps you'll need int[] arr = { fruits.length }. Or int[] arr = new int[fruits.length]
 
fge
@Unihedron in any event, I really recommend that you watch the video I posted the link to
Err
The first statement will create an array with only one element in it
 
The second makes a new array.
 
fge
The first too
But with only one element
 
1:10 PM
@fge It's an hour long, so I'll watch it later. ;)
 
fge
@Unihedron oh no, believe me, you want to spare an hour here
I'm serious
 
But...
I have a programming class tomorrow, I was just wondering how to waste spend my hour and half :(
 
fge
Ahwell, as you wish
But do watch it
 
\o/
 
Thank you Unihedron, it works :D
 
1:11 PM
Great, well done!
I will, sounds like it's going to be sophisticated and enlightening :D
 
I put stub values for the int, now I will try and query from db
 
fge
@Unihedron but I wouldn't miss classes if I were you
 
@fge learn java data types? no thanks :D
Actually, I already have the examination under control, so I mostly spend my time closing questions on Stack Overflow during programming classes.
 
fge
Hmm, well, OK... I can't tell really, since in my "era", CS courses were worth even less
 
:)
Actually, I'll watch it now. ;)
 
fge
1:14 PM
\o/
 
\m/
Cool, inferred variable types :D
Ohhh, improved reference context and underlying runtime runtime representations!!! :D
Ohhh, historical functional interfaces!
I'll shut up now. xD
 
~back
 
@Vogel612 Welcome back!
 
did I ever mention git-merges with conflicts are a PITA?
 
1:29 PM
@Vogel612 You don't say?
 
and then you do this for someone who has no idea what the code actually does...
and put it 8 times in a row for about 50% of the LoC sized chunks in every file you merge...
 
fge
@Vogel612 let me guess; you deal with "all in one go" commits
 
@fge naaaaahh
all in one go every 3 days across all files in the project with different formatting preferences and eclipse versions per developer
and about 0 git-knowledge except.. 3 from 7 people...
including stuff like commiting .metadata
 
fge
@Unihedron let not this distract you from the video :p
 
and xhtml merges, just to mess you up completely
 
1:36 PM
@fge I'm a decent multitasker, but thanks for the concern, I'll focus :D
 
btw, does this look like a bug?
 
fge
@Vogel612 not if there was a merge
 
@fge it's the exact same commit T.T
 
fge
@Vogel612 yeah, but on different branches before the merge is my guess
 
given the fact that I merged something like 7 commits on that day, it's at least... surprising..
 
fge
1:39 PM
@Vogel612 since history is preserved, such duplicates may appear -- a merge will keep all commits from all merged branches
 
we're using singulary history by rebasing in the project..
that may also... help..
 
Hello
 
to mess up the dates in commit that is..
Hello @Joe'sMorgue
 
What's up?
 
fge
@Vogel612 well, looks like a rebase was missed somewhere ;)
 
1:42 PM
maybe... maybe the rebase itself is the cause..
 
fge
Hmmno, a rebase prunes duplicate commits (I think)
Maybe one of these commits is empty?
 
huH?????
there is no duplicate commit..
they#d have different hashes..
it's the very same commit
 
fge
I mean, duplicate wrt changes made
Oh
 
one in the SourceTree, one directly from git log
 
Somebody tell me something good!
 
fge
1:44 PM
Meh, generate a tree
@Joe'sMorgue define "good"
 
ehhmmm... that in the big one is a tree already...
singular history policy ftw..
no complicated thingy running around
 
@Joe'sMorgue I ordered pizza.
 
@Unihedron that's making me jealous...
 
fge
@Joe'sMorgue by my definition, spare an hour of your time and watch the same video @Unihedron is watching: youtube.com/watch?v=C_QbkGU_lqY
 
@fge I already watched it..
 
1:45 PM
@fge I pinned your earlier message, hopefully more other users will be able to see it :D
 
fge
@Vogel612 well, do try and generate a commit tree
 
like git log --tree --decorate?
 
@Unihedron Are you sharing that pizza?
 
fge
@Vogel612 or a GUI program -- since I use Linux I use qgit which is quite nice
 
@Joe'sMorgue Please don't. I haven't eaten any more than biscuits for the three previous nights!
 
1:46 PM
T.T the thing in the background is a GUI program...
I don't understand what you mean by "tree"
 
fge
@Vogel612 "graph" would be a better term
 
coming..
 
fge
@Vogel612 if you have it, gitk
 
you want it onelined??
 
I don't mind fixed font log dumps if need be, but try hastebin for coloring :)
 
1:48 PM
I've only eaten cold pizza for breakfast. Don't know if I'd enjoy warm pizza for breakfast...
 
fge
@Unihedron the video, darn you
Multitasking has a limit :p
 
@fge ~_~
 
fge
@Unihedron by that time you should be aware of the two first candidates for lambda, what were they? ;)
 
that's git console...
 
fge
1:51 PM
@Vogel612 that's not gitk
 
okayyyyyy
 
I hate finishing up large downloads....for the last 10 minutes, there has been 1 second left on the DL
 
@fge gitk also gives Tue 7th
 
fge
@Vogel612 it also gives you a tree representation
 
@fge I know! Hmm... Inner classes and MethodHandle implementations, right?
 
fge
1:53 PM
@Unihedron good ;)
 
... the singular history policy makes the tree look like a pole, you know?
 
fge
@Vogel612 and does it?
 
yes it does...
 
Cool, lazy initialize cache! My favourite tactic!
 
fge
@Vogel612 OK, then is there an actual diff associated with this commit? I guess you could ask this question on SO along with the relevant output of git reflog
 
1:55 PM
staaahp..
I figure this is a bug in SourceTree....
 
or rather, that sourceTree shows a different value from what other tools show..
rather than the authoring time of commit (as the others) it could show something else..
 
fge
@Joe'sMorgue meh, no, I value efficiency :p
 
But, it'd be cool!
 
fge
2:12 PM
@Joe'sMorgue I prefer this kind of "cool" since it's highly efficient: upload.wikimedia.org/wikipedia/commons/8/8a/…
:p
 
@fge FWIW I submitted a bugreport at atlassian's
 
I like, but burns fossel fuels
 
fge
@Vogel612 eh? What does Atlassian have to do with git?
 
@fge the bug is happening in sourceTree
everything in git works wonderfully...
how did you get the Idea I had found a bug in git??
 
fge
2:14 PM
@Joe'sMorgue change the ECU mapping so that it can burn biofuel ;) Not sure it can happen with gasoline engines though
 
the git-native data is consistent...
 
fge
@Vogel612 well, you did mention sourcetree, but I had no idea about SourceTree
 
Burning is never good... :P
 
fge
So, what is it?
 
dat big thing in the background of the first screenshot is sourcetree
 
fge
2:15 PM
@Vogel612 my bad; when there's a terminal output, I never pay attention to anything else out of it
 
this may be funny to you @uni ...
I just recieved an e-mail asking for a regex...
> Exclude special characters in xsd exclusion pattern
 
fge
Meh
 
@fge The thing I showed is only man powered, who probably eats cow, which was shipped to a factory by truck, then to a store through series of trucks..... Maybe yours is cleaner
 
fge
For such complex stuff I'd write a grammar
 
@Vogel612 Tell them not to use regex.
 
2:18 PM
eeh.. the plan seems to be to only exclude [<>'"]
 
fge
@Joe'sMorgue this kind of "what is cleaner" debate can go on and on ;)
 
in RegEx - Regular Expressions, Oct 29 at 3:09, by Unihedron
fools rush to where angels fear to tread
 
fge
@Vogel612 tell them to try and write real grammas -- in java proper: github.com/fge/grappa
 
@fge I am not in a position to tell em they suck overcomplicate things....
 
:P The final factor is where do you draw the line? MOST of the comparisons seem to draw the line for each at different levels. [Prius vs Hummer: Dust to dust drew the line at the existing plant for Hummer, but went all the way to the ground for the Prius]
 
2:20 PM
@Vogel612 So a regex is mandatory?
Yay, the video's finished! I've learned so much! I'm going to watch it again tomorrow in my class!
 
it doesn't even seem to run through java... just some xml-parse-thingie from metro...
 
fge
@Joe'sMorgue you are taking it to the extremes here
@Unihedron nice, wasn't it?
 
@fge Yes, it was like an intelligence bomb.
 
sooo what was the first two options?
 
fge
@Unihedron if you poke around on YouTube for invokedynamic, you'll probably stumble upon a video by the JRuby guy (I forgot his name) who shows examples of programming the indy API
 
2:23 PM
@Vogel612 If a regex is mandatory, I can work on writing you one. I've seen nhahtdh build a regex to validate proper syntax for Java methods, so..
 
naah let them figure out...
 
fge
A regex will never make the cut for all cases
 
... why do you think they are trying to validate some arbitrary large input??
they want a defined exclusion-.-
it seems..
 
@fge Cool, I'll look it up now. I really like compiler theories, programming language implementation and design stuff.
I was really sad when this got closed, too.
 
fge
@Unihedron this is no compiler theory here; it is a practical way of implementing compilers
 
2:25 PM
@fge Yes, so it's even more interesting stuff! :D
I should build a script engine in Java sometime later.
 
fge
@Unihedron I guess there is some mapping between the theory and actual implementation, but my theoretical CS knowledge borders to the unexistent
Even so, I do host a project which can generate POJOs from grammar at runtime with no preprocessing -- meh
 
@fge Oh, I like both. It's like how some people like both statistics and algebra when it comes to calculus, while some people only like statistics field.
 
fge
Had I more fundamental CS knowledge, I may do some things differently
 
Potential for anything. Everything can happen!
 
2:53 PM
Dead chat
 
Empirically, saying "Dead chat" isn't helpful.
 
I disagree
I'm still waiting for the download to finish
 
3:11 PM
 
hi,

I have to URLs from same domain, URI is same for both urls but parameters are different first url get the data in GET method and second one get the data in POST method.
My problem how can i execute the both urls in same session?
 
3:27 PM
@Altmish use... ajax...
 
@Altmish is that anything to do with java?
 
@Joe'sMorgue What?
 
It's a cute pic...
Gem isn't here, can't show her...
 
fge
uh, well, trying to steer the discussion back to pure Java topics...
 
3:42 PM
I think that deer knows Java
 
Hmm, I'm going to love an idea of Lazy Initialization Cache overhauling for a JavaBot feature implementation.
It's called Fishing.
 
fge
1
Q: Jackson 2.2.x: recursive deserialization fails, why?

fgeTo be precise, this is Jackson 2.2.3. The deserialization process is quite complicated, since depending on the type of the JSON value I deserialize, the class changes: the base, abstract class is JsonMergePatch; when the JSON value is anything else than a JSON object, I deserialize to NonObjec...

 
I thinks I know why I can't install Android Studio on my netbook. It seems that the registry is not well...Trying to clean that up. Then I will re-install Java, A.S. and the SDK.
 
fge
@Unihedron since you use Guava, consider using a LoadingCache
 
That exists?
 
3:44 PM
Hi, does anybody have some idea on how to deploy a java project on different environments using ant build script
 
I really should take some time to look over the guava manual, sounds like it has all the cool stuff :)
Hiya @Gem!
 
fge
@Unihedron sure does; I use it extensively in json-schema-validator
 
If only @Gemtastic was here...
 
hiey @uni
 
fge
3:44 PM
Limited as to cache policy though, since a policy affects all entries
 
@user2821894 to make it simple... don't..
 
ant is a PITA..
hi @Gemtastic
 
is that me coding?
 
Do you own a hat like that?
 
@Joe'sMorgue why would I?
 
If you think that's you coding, you'd have to have a hat like that...
 
no I don't
 
Then, it's not you.
How are you today?
 
fge
Well, that picture is certainly me at the moment trying to make sense out of all things indy
 
3:46 PM
what's up with that image then?
 
3 hours ago, by Unihedron
New reference link for pre-built boilerplate lessons: Pounding A Nail: Old Shoe or Glass Bottle?
 
I thought the pic was cute. Figured you'd like it.
That's it
 
lol
 
Not a kid person :P
 
That moment when you share a picture and your friend / another person doesn't like it. :P
 
3:48 PM
:(
I was always told "It's the thought that counts"
 
sorry, but it could be the cutest baby in the universe, I still wouldn't get it
:(
 
@Gemtastic the cutest baby in the universe is alway your own...
 
I tried
 
and before that.. they all seem so...
 
Next time I'll share a pic of naked code!
 
3:50 PM
meh!
 
fge
@Unihedron switching subjects, have you had time to peek into #freenode's javabot ~javadoc command?
 
@Vogel612 true for the ones who get one
 
@Gemtastic not that I'd know...
 
Oooh code
2
 
ain't it cute code??
~you see me, now .. you don't
 
3:51 PM
@fge Ohh, I've seen part of the framework of the Freenode bot, I haven't read anything about their javadocs command though. I'm going to find that now!
 
fge
@Unihedron you can always join the channel (requires that you /register though) and ask cheeser (that's him) about how he does it
 
today at school the teacher started by showing us the plagarised codes people had tried to pass the course with
:')
 
fge
Personally I haven't studied the code that much
 
Lol @Gem, must be a funfair for the students outside the wall of shame :)
 
My first computer class, somebody got some of my code and passed it off as theirs. The teacher saw my coding style all over it!
 
3:53 PM
6 out of 35 people tried to plagarise, two of them copied the exact same thing
 
lolz..
 
My last teacher told me to plagarise.
 
how do you find plagiarists for the always same exercise though??
 
Sigh.
 
And one guy called the teacher and demanded that he proved tha it was plagirized. The code was a top google search result, and he showed us the code, made a while back by a chinese guy
 
fge
3:55 PM
Hey, people... If you worry about stuff like that, how do you plan to improve yourselves?
Get over it and just code
 
@Gemtastic o_o
@fge ^_^
 
I just think it's funny
The remaining 3 people managed to copy code that wouldn't even have passed them anyway
 
Lol, really?!
I wrote my own ascii art library, with a 3D acceleration engine, almost built an anti-alias engine but didn't get to, my teacher was impressed
 
Yes XD
 
But then he was like, meh, uni made it
kind of expectable
 
3:57 PM
Aww :/
 
I did get full marks though ;)
has the entire term of the class under control -_-
 
@Unihedron that's what matters though ;)
 
fge
Uhwell, I can give honorary full marks to things you can achieve based on my code, mind :p
But that won't get you anywhere in real life except on your resume ;)
 
I would love to get a job, been worrying about it for two years :)
 
fge
(except that most recruiters wouldn't even understand what you have achieved in the first place)
 
3:59 PM
I almost even rebuilt PCRE in Java just for fun!
 

« first day (1473 days earlier)      last day (3462 days later) »