« first day (1427 days earlier)      last day (3500 days later) » 
00:00 - 12:0012:00 - 23:00

12:32 AM
hello
anyone faimiliar with RenderSnake library?
0
Q: How to apply css to my html table using RenderSnake library?

user2809564I am trying to use Render Snake HTML library to programatically generate HTML for me. I am trying to make HTML table by using Render Snake as shown below - PoolName TotalSyncCount TotalAsyncCount SyncNinetyFivePercentile AsyncNinetyFivePercentile Hello 100 100 ...

 
 
1 hour later…
1:46 AM
well I am not
 
2:07 AM
wow
 
 
2 hours later…
4:15 AM
hi guys...
how can i get user facebook feeds with out sending access token?
means without login the application
 
5:08 AM
Why do you think it's possible, @konda?
 
I need to develop on application to get facebook user feeds
with out login to the facebook
 
6:05 AM
And...
57 mins ago, by Unihedron
Why do you think it's possible, @konda?
 
 
3 hours later…
9:09 AM
hello everyone
 
@HArdik Hi there
 
you know about swing ?
 
I'm working with javaFX but I'm a noob!
 
9:27 AM
Hallo people
 
heya @HamZa and @Sabಠ_ಠ
:)
 
Heya @Unihedron :)
I'm learning JUnit testing but I can't get it to work -_-
.
this is in my class and I want to test it now in another Junit test class
I want to test that getName returns the value of setName. How do I do that?
 
Ugh, code dump again.
 
ouch sry
 
One second, I'm going to have to switch on Eclipse.
 
9:29 AM
:P
okay
I managed to make the Test class in eclipse
but I'm not sure how the testing works.
 
9:41 AM
@uni ;-;
 
You know, it's only been ten minutes, and I'm still coding this.
 
coding what/ :O
 
@Sabಠ_ಠ @Unihedron hallo
 
Hallo @HamZa
:)
 
Hopefully this works. I haven't tested it yet. I expect you to understand how to resolve compile errors by now. :) gist.github.com/Vincentyification/6c137bccf528c4b989b5
 
9:45 AM
@HamZa heya
 
Argh, tabs are stupid, going to run it through a regex, ignore the terrible indentation for a sec.
 
@Unihedron true !
 
@ItachiUchiha yo
 
My browser is crying with the load of the tabs :P
 
ItachiUchiha is our javafx enthusiast here ^^ :)
 
9:47 AM
It's too complex :O
Can you explain how it works?
And I think you should remove it from gist before I get a 0 for plagiarism :O
 
The meat is at testGetAndSet()
 
@Sabಠ_ಠ Think of "setUp" as "let's go", "tearDown" as "we're done", and "testXXXXX" as "test this".
 
The access tricks are only needed if you want to test things that you would not otherwise be able to access
 
Also the gist is private and not protected by a license, so you're free to reuse it
@kiheru His code is here pastebin.com/kk0Kj5BV, the constructor is protected.
 
as long as it's not in google its okay by me :#
 
9:49 AM
it's no longer there
 
The thing is expected to output OK if the test works
 
Usually it's simpler to place tests in the same package as the code (they don't need to be in the same place physically - just mirror the directory layout in your test dir)
 
@kiheru That is correct.
Though I suppose one wouldn't worry about the performance of a test, so.
 
it is in the same package in my case
I tried to make it in eclipse
here is what I got
 
works for everything that's not private. (and tasting private methods could be arguably too tied to implementation details)
 
9:51 AM
Then change the reflection stuff to inst = new Type(); simply.
 
    a test that getName returns the value set using setName
    a test that if all marks are 0, the final mark is 0
    a test that if all marks are 100, the final mark is 100
    a test that the final mark is correctly calculated for all marks being between 0 and 100
 
@Sabಠ_ಠ Who taught you writing tests that way? xD
 
@Unihedron eclipse made it for me xD
Why do we need Jtest unit anyways>
I'm sure my code works and if I want to test it, I could just make if statements in my code?
 
@Unihedron oh I will try to figure it out for another couple of hours otherwise I will bug him later on :D
 
@HamZa you can ask your question here..
 
9:54 AM
1 min ago, by HamZa
@Unihedron oh I will try to figure it out for another couple of hours otherwise I will bug him later on :D
 
2 mins ago, by ItachiUchiha
@HamZa you can ask your question here..
 
@Sabಠ_ಠ Why would you want to pollute the code with debugging stuff? Tests really become valuable once you have a large enough program that maintenance is an issue. Having good tests really helps when you want to refactor the code or add features. Then you can make changes without accidentally breaking things that used to work
 
@Sabಠ_ಠ ^^^ That, and when you become a real programmer and get to the productivity software and build platforms, some build platforms specifically allocate tests as build status.
 
@Unihedron I tend to try stuff on my own :)
 
AKA 14 tests completed out of 15, build failure.
 
9:57 AM
Aha
 
no-repro (see op's own answer)
 
But I still don't understand how to use the JUnit :S
I need to test these cases
 
@Sabಠ_ಠ Write a class, right click in eclipse -> Run As ... JUnit test
 
Also as a hint: there's a difference between a good test, and just a test. You'll want to test the obscure corner cases that do not necessarily appear often when testing the code manually. Null, empty strings, indexes that are wrong by one, negative values where you'd normally expect positive...
 
it has colorfun gui
 
9:58 AM
a test that getName returns the value set using setName
a test that if all marks are 0, the final mark is 0
a test that if all marks are 100, the final mark is 100
a test that the final mark is correctly calculated for all marks being between 0 and 100
@Kiheru that's boundary testing right?
 
I don't know if it has a formal name
 
@Sabಠ_ಠ I don't like those terms the text books try to give to them. By the time you learn all of them, you'll realize they're all "good tests" anyway.
 
Cool !
 
Smooth :O
Bookmarked
I need to finish that test unit in 4 hours
crap
 
10:06 AM
you have ample time
 
But how does the class know this is what it's testing?
because all the other codes are in the other class and there is no new object in my test clsas
 
Take a look at the code unihedron posted. The test has an inst field, which is an instance of the tested class.
(you can simply use new, instead of the reflection trick)
you can also create object instances inside the test methods (that is usually what I do)
 
21 mins ago, by Unihedron
Then change the reflection stuff to inst = new Type(); simply.
Hey, I did mention it after he stated he would be using the same package. ;)
 
Yes :-) I know I just repeated the same thing. It was easier that way that trying to find the comment where you did that
 
I have a browser plugin that lets me search by regex, so I searched for "\w+ = new [A-Z]\w+".
 
10:14 AM
Lemme look at Uni's code, read about Junit a lot and then try it
If I can't get it to work I'll be back
 
I like JUnit because it has "Uni" in it.
 
but for now I'll go get lunch so hangry :D
 
Hi hungry I'm tired.
 
UniThedron
:/
:O
Unit Hedron
Uni The Dron
 
Ha?
I will open the window and let you jump out of it.
 
10:15 AM
Go change your name now. add a T
I'm brilliant
brb hunger mode on
 
Since nothing is being discussed, feel free to shed some light if anyone has experience on this topic:
1
Q: PCRE / Extended regex library in Java?

UnihedronI'm in need of PCRE functionality for my regular expressions in Java. I've been unable to find such a library. What is an extended library (Hopefully including more of the PCRE constructs and extends of vanilla java.util.Pattern capabilities)?

 
Seems to have been asked a few times before, but no such library has been found. Maybe you'll need to wrap libpcre
 
Someone needs to code one then. :/
 
Could be. Quite a bit of work
 
 
1 hour later…
11:31 AM
@Karl Welcome :)
 
11:41 AM
@ItachiUchiha Hello :)
 
11:53 AM
I didn't do it!
Oh…Hi! @ItachiUchiha
 
@Karl @ItachiUchiha hi
 
Greetings Maven
 
Hello world
 
@Karl hi mate
 
Haha
 
11:55 AM
How is everybody?
 
all alive :)
HOWS ur health
@Karl
 
Is it possible to pause/unpause ScheduledFuture task ?
Without canceling & re-creating the instance
 
@ItachiUchiha Hi, I believe you're good with JavaFX, so I have a question for you
Do you noticed that the mouse drag performance is a bit slow?
 
00:00 - 12:0012:00 - 23:00

« first day (1427 days earlier)      last day (3500 days later) »