« first day (1553 days earlier)      last day (3612 days later) » 

18:00
Do you at least know how to use a computer, @Smrita? :p
From Yaml >> You don't know how to use a computer <----- Harsh!
:P
fge
fge
YAML sucks
I think uni is grumpy from all the lack of sleep :P
Dec 2 '14 at 16:17, by Unihedron
jquery sucks
@fge HTML sucks. HTML5 is underused.
18:02
12 hours ago, by ItachiUchiha
and Uni starts again :P
<!DOCTYPE html> <- was that really that hard
hint: no
@Gemtastic Good point. Seeing which, I'll sleep now! :D
You know what sucks? When people make a thing out of coding their own library, then make tutorials where half the code consists of their library, a library with no API or DL information.
@Unihedro Night :)
@Gemtastic Yeah.
@fge hey great congratulations on your new release :)
Which is why Sam and I wrote are trying to put together the unofficial stack exchange chat & libraries documentation.
18:04
In my opinion, that's not tutorials, that's "look at how cool my libraries are"
@Unihedro Nice :D
failing because php sucks
Geez, high score today, I ranted about over a dozen things
@Unihedro you should teach me how to use computer someday ;)
Then go to bed! ;)
I dont think any langauge or tool sucks really they all have their own pros and cons and a lot matters on how comfortable one is with using them
@Smrita My definition of how bad / good X is, is based on the scale of how frequently X can be used in an optimal and most-preferred fashion.
For example, full type qualifiers like java.util.Scanner sucks because you will always often get better with import java.util.Scanner;.
18:08
okay
My keyboard really sucks.
The space bar isn't behaving.
haha
fge
fge
<-- needs to document grappa rules and grammars
<-- needs to finish ongoing projects
fge
fge
Yes, that too
18:09
hey fge what does it really do?
grappa is cool a name
fge
fge
(but my projects never end, in fact)
GRAmmar PArsers
how did you come up with it?
fge
fge
@Smrita it's a package allowing you to write grammars for arbitrary character inputs entirely in Java
No preprocessing phase, unlike Antlr or JavaCC
Or lex, bison, yacc etc
100% pure Java
@fge is it your own personal project?
okay cool
:)
fge
fge
18:10
@Smrita for instance, this is a complete grammar for JSON: gist.github.com/fge/a3bcb7e0c41133324f1f
Mmmm Bison
now I'm hungry for buffalo meat
fge
fge
@Smrita I forked it from parboiled which is now unmaintained
And I already vastly improved upon it
In particular with that debugger
Today I have to get my ass to the store >_>
fge
fge
But not only
Not looking forward to it >_>
fge
fge
18:11
The core is now MUCH cleaner
<------ Successfully integrated Spring Security + JDBC Authentication using Hibernate
Feels like Dancing
@ItachiUchiha 👍
Fev
Fev
hi everyone... and the captain @Unihedro
@Kylar unicode box of doom
Hehe
"I 👍 Unicode!"
Fev
Fev
^lol
^lets fry it
nooooooooooo
fge
fge
@Smrita ^^^ parser debugging which proves my grammar works :p
@ItachiUchiha That kinda looks like some animation off of 1998 Microsoft publisher :')
@Gemtastic Suites my mood :D
18:18
No arguing there. You deserve to dance!
@Kylar Something for you ;)
@fge hey i dont know much about java parsers
@fge all the best :)
@fge for you
@gem for you
@fge and congratulations on generating that json :)
<<<<<<<<<<<< Back to code :)
18:21
@ItachiUchiha just now? :(
Uni: back to bed!
Too much dancing.
2
k :P
@Kylar DanceOverflow
@Gemtastic This one's for @uni :P
fge
fge
18:22
@Smrita it's nothing else than the official JSON Schema of draft v4 (which I authored)
@ItachiUchiha because he's a danbcing baby like "I'm not going to bed mom! You can't make me!"?
;P
fge
fge
@ItachiUchiha btw I "solved" that label text not updating problem
@fge are you in uni or are you working?
@Gemtastic lol yeah :P
@fge how? I never got time to check it on ubuntu
Actually I forgot :P
fge
fge
@Smrita none of them; actively looking for a job, and a serious proposition (answer next week)
@ItachiUchiha I'm not surprised :p
How I solved it? Well, it solved itself when I have implemented loading the trace file in the background...
(ie, in another thread)
18:27
@fge Ahh, so the label was getting updated, it was just taking time, coz you were loading data in the JavaFX App thread
in JavaScript, Feb 19 '13 at 16:12, by John Resig
bad uses of JavaScript existed long before jQuery ever came out - jQuery being popular doesn't stop bad devs from existing, the only thing that stops bad devs is good education, which is why I've written two books and am working at Khan Academy
@fge proposition as in?
And we were blaming JavaFX dev team for their inefficient work for Linux :P
fge
fge
@Smrita Java dev
@Unihedro we have someone working at codeacademy on SO neat
But really... Y U NO Sleep?!
18:30
@Gemtastic Skeet works in Google, an active answerer works at Yahoo, and you were surprised about codeacademy devs
@Gemtastic idk I keep getting pinged
I didn't know that either
http://www.commitstrip.com/en/2015/01/23/everyday-types-of-coders/
CommitStrip - Blog relating the daily life of web agencies developers
Everyday types of coders
CommitStrip
1422037762
2
@Unihedro lolz :P
I need to make you that app
which app?
an app which helps uni to rant less?
18:31
an app that filters what pings alerts his phone
@Everyone which one among these defines you ??? commitstrip.com/wp-content/uploads/2015/01/…
@ItachiUchiha the purist
and the multitasker
I often chat with the Pham devs while checking emails while coding.
<<< Multitasker
And our devs actually do hang out that often and multitask as well, so.
@fge must be R&D addict :P
^^ what do you think @uni ? :P
18:33
ooohhhh
I'm a multitasker too
@ItachiUchiha Oh? How?
fge seems like a R&D addict :P
@Gemtastic Oh? How?
fge
fge
@Gemtastic Pretty much so
I love experimenting
18:36
There's a reason I want three screens for all the things I do XD
I'm interested in hearing how intensely people multitask. I've known a friend who keeps over fifty browser tabs constantly, while always doing other stuff.
fge
fge
But I also hate unfinished jobs, so I ended up having a lot of projects...
@Unihedro I do a lot of this and that while I am work. I have this huge project, while i was running sonar on it, I used to leave to get coffee and while I was back, it is not completed :P So I check mails and browse 9gag :P
@Unihedro well, you can't code, while sonar builds :P
And I have just one machine
18:37
@ItachiUchiha My code is COMPILING
I know how that feels, I've been hired full time before
Compiling takes a jiffy
I'm running our unit test suite... 22 minutes and counting.
^^ @uni this is what I am talking about :P
Excuses:
My code is compiling.
Tests are running.
They just are, dammit!
It's uploading.
CI is rebooting.
It's scripted.
It's borked, hotfixing.
2
18:41
"It's borked, hotfixing." <--- my entire project
:(
You're guaranteed to be stuck somewhere in there, depending on the scale of the project you work on.
And the type of work, too.
Well, in my case it's more of a:
18:49
@Gemtastic I work at Apple, isn't that cool too? Not as cool as Skeet, apparently... :/
^^ me in the past
@Kylar I don't think Gem knows you work for Apple, either. :p
Pffft
I bet if I had taken that Netflix job he'd have known.
I work for apple, not at :P
s/he/s$0/
@Unihedro haha
same here uni :)
18:52
@Kylar I didn't know that either. Apple does Java?
@gem yes it does :P
@Gemtastic true
<<<<<< Java DEV
@Gemtastic iCloud does java.
largest java server implementation on earth
Welcome to Earth, where the largest Java server implementation on Earth exists.
... Wait, what?
18:54
Well, Google has that datacenter on Mars...
:(
We're only about 7% as large as that one.
datacenter on Mars? :O
@Kylar Interesting
~interesting
Our Spaceship will be done soon, so we can rejoin our alien overlords.
18:56
Apple's new campus
UNTIL LIFTOFF
@Kylar Wait, wasn't that pic back in 2011?
Has the campus even improved since?
fge
fge
@Gemtastic need some ergonomics help
Yeah.
My friend has an office across the street, we go there and look every now and then
fge
fge
(if you don't mind)
The campus seems to be some alien space invader
Troll Laugh
Meh, I code while lying on bed.
:3
so comfy
me too :P
but then you get backaches :(
well stand up once every hour
I have a desk that can move to standing position.
18:59
:O
Here, I'll take a picture of my "office"
sitting too much is bad anyway
~tries to sleep
Or maybe I won't
:/
19:31
Fitting JS into this project is hard :/
fge
fge
0
Q: Is there a shorter way to write this FXML extract?

fgeThe layout is as such: What is of interest is the upper part of the window; it is a GridPane filled with labels and I have added padding, but... Well, the problem is obvious: <GridPane gridLinesVisible="false"> <padding> <Insets top="5.0" botto...

I'm gonna have to pull some bull with removing the CSS animation and turn it into JS >_>
@fge Why not adding VGap and HGap to the gridpane?
fge
fge
@ItachiUchiha and what does that do?
Adds gap between the gridpane's children
Hgap -> Horizontal Gap
VGap -> Vertical gapping/The height of the vertical gaps between rows.
fge
fge
19:41
@ItachiUchiha that was it! Make that an answer
Already done :P
fge
fge
Yes, seen that :p
Gee, I suck bad at GUIs
But the names are very unintuitive :/
Why didn't they call that horizontalCellPadding and verticalCellPadding? :/
Hgap and Vgap are universal in Javafx
I suck at JavaScript >_>
use jQuery
19:49
Well, I am
/*<![CDATA[*/


var productname = 'ABC tavla';
$( document ).ready(function() {
document.getElementById('productname').addEventListener("click", function(e){
console.log("bought 1")
});
});

/*]]>*/
</script>
That returns null ^
document.getElementById('productname').addEventListener("click", function(e){
console.log("bought 1")
^^ why this?
jQuery has a shortcut to fetch items by ID
$(#id)
Because I'm mixing what I know
grr.. ok
Wait, where did that semicolon go?
$( document ).ready(function() {
$(#productname).on("click", function(e){
console.log("bought 1");
});
It that the jQuery version?
$( "#productname" ).click(function() {
         alert( "Handler for .click() called." );
});
Try this
19:55
When I write jQuery in the document, do I have to enclose the script inside of the jQuery import?
enclose script of what?
I'm stupid nvm
You have to write the script in the body of the HTML document if you want thymeleaf to interact with it
@Gemtastic Is that true? I never knew that?
I don't think that should be the case
It may be that you can only use vanilla JS with thymeleaf
I get illegal character on this row: $(#productname).click(function(e){
That is not the case
20:01
with and without the e
coz you are missing the quotes around productname
aaah
Hm... nothing's happening when I click it though
do you have an alert() in it?
Wait... I want the var productname to be the substitute for the name of the ID
It looks like this now:
you are just printing it to the console
20:06
                                var productname = /*[[${product.name}]]*/ 'Sebastian';
                                $(document).ready(function(){
                                    $("#productname").click(function(e){
                                        console.log(productname);
                                    });
                                });
I am looking at the console
which console?
How else do you think I know what errors it generates? :P
browser console?
The browser one
I have both open though
console.log(productname); <<<<<< what is productname here?
20:07
var productname = /*[[${product.name}]]*/ 'Sebastian';
I'll give you the whole scoop
                            <div class="productItems" th:each="product : ${products}">
                                <a href="#" th:id="${product.id}"><img src="" th:src="@{${product.img}}" class="box"/></a><br/>
				<strong th:text="${product.name}">Produktnamn</strong><br/>
                                <div class="description" th:text="${product.description}">Beskrivning</div>
                                <em th:text="${product.price}+' kr'">Pris</em><br/>
                                <div id="buybutton" th:id="buybutton" th:text="#{cart.buy}">Buy</div>
Wait, I think I see the problem
nope
user3465288
20:33
Well? Is a conversation going to start itself?
user3465288
How about Swing Vs JavaFX?
fge
fge
@KingKreeper17 I have started JavaFX a few days ago and have taken a liking to its FXML format
Swing does not have it... But honestly I believe FXML does accelerate GUI development
user3465288
I like Swing because it is more simple to use. (In my opinion.)
fge
fge
With the only constraint that you have to deal with IOException when loading
Well, I have never used Swing so I cannot tell
user3465288
You can easily create your own component by making your class implement Component.
user3465288
20:43
Umm... How about favorite library?
fge
fge
Mine :p
And after that --> Guava
user3465288
Lol. My favorite library is the one I made.
user3465288
I haven't published it (yet).
user3465288
I guess other then that I really haven't use many others I like (Or can remember for that matter).
user3465288
How about favorite program you have made?
fge
fge
20:49
That's quite vague
user3465288
*edit
fge
fge
Hmm, if not talking libraries then it'd be the one I'm currently making
Since it is the ONLY project of mine which is not a library
user3465288
What is it?
user3465288
Considering I don't know what grappa is, I don't think I can comment on it.
fge
fge
20:55
It's a library allowing to write grammars entirely in Java
No preprocessing, no DSL
Pure Java
gist.github.com/fge/ab7304cda52eb45d74dc <-- this, for instance, parses JSON
user3465288
Cool.
Though you don't use any database so it is of least use to you :P
21:23
It's still interesting
user3465288
21:39
Can anyone give me a challenge for me to make something in Java?
user3465288
Please note I am only a beginner.
user3465288
Not a very beginner though.
fge
fge
@KingKreeper17 uh, I have plenty
user3465288
Ok.
fge
fge
@KingKreeper17 implement .toString() threshold on largetext
And I made this project based on an SO question, heh
But it turns out to be pretty useful
user3465288
21:48
When I hear/see anything like "implement .toString()", I think of two things:
@Override
public String toString() {
...
}
, and:
something.toString();
user3465288
Which of these two things do you mean?
fge
fge
.toString() is already there
Now, the problem is the threshold
Have you read the README of the project?
user3465288
Oh.
user3465288
That's alot of characters.
fge
fge
Yep...
user3465288
21:53
Is it possible for you to send me this is as a jar file?
fge
fge
Hence the need for a threshod
Can't you git clone?
user3465288
I don't know what that is.
fge
fge
Uh, you should learn git
This is the defacto version control system nowadays, and not without reason
user3465288
I should start publishing stuff on github...
Not knowing how to use git when you program is like not having wheels on a car
user3465288
22:02
#Beginner
user3465288
lol
fge
fge
@Gemtastic that's a little exaggerated :p
But yeah, git knowledge today is very important
22:24
Hmmm
fge
fge
23:14
<-- does stupid bugs
23:27
I can't even get my JS to run :/

« first day (1553 days earlier)      last day (3612 days later) »