« first day (1615 days earlier)      last day (3329 days later) » 
03:00 - 18:0018:00 - 23:00

6:00 PM
@JavaFan then why using regex, simply search for the string "id=" to ',' and parse the result
 
okay I will try @fge
 
fge
@niceman that won't work in the general case
This is a valid path in a URI: /id=1/id=2
 
@fge yes but he said only the number changes
 
fge
Which is why I suggested to use the URI class and extract the query string
No, you didn't read well
This is a valid URI: http://foo.bar/id=1/id=2?id=oopsIWantedThisOne
Therefore just looking for "id = some number" won't work
But Java has the tool for you to split a URI into its components, and this tool is called URI
 
@fge well you're right then, but I think "\\id=(\\d+)" will match two things in the last case
 
fge
6:03 PM
(quite fitting, if you ask me)
Oh, come on
It will match two, none of which is what you want
 
while it must say "invalid url"
 
fge
No, sorry
http://foo.bar/id=1/id=2?id=3 is a valid URI
Go read RFC 3986
 
@fge yes I know but for JavaFan, it may not be suitable
 
fge
And for the love of all that's good, please use the URI class
Full point
 
I mean he may want to only extract one id and make two ids wrong(for him not on web)
 
fge
6:06 PM
Just search for "javadoc java.net.URI" and read
 
@fge okay
thank you
 
fge
So, you're on this front, eh?
 
well I don't usually use web in java nor in a language except web programming languages like php
 
fge
This is valid: https://foo.bar?id=1&id=2
PHP is not a programming language, it's a wart over the programming language world
 
6:21 PM
hmm
 
@fge
 
hey, anyone worked with the JFuzzyLogic API? I'm running the jar from CMD and specifying the correct file, but it loads a completely different file called tipper.fcl..any ideas?
0
Q: Fuzzy logic jar loading the incorrect fuzzy logic file

Brian JI'm trying to run an fcl file from CMD but when I use the below command, it loads the incorrect fcl file "tipper.fcl". Although the file I specified was "rules.fcl" java -jar jFuzzyLogic.jar rules.fcl Anyone have any idea why the wrong fcl file is being oaded with this command? The web site...

 
@fge java.net.URI u= new java.net.URI("window.open('http://saudisale.com/arPrivatePage.aspx?id=21871638',‌​'_blank','channelmode =1,scrollbars=1,status=0,titlebar=0,toolbar=0,resizable=1')");
it gives Exception
 
fge
Of course it will
Do you actually believe that window.open(whatever) is a valid URI?
 
No but the problem requires that
 
6:30 PM
@fge any idea on that question? its a strange one, the wrong fcl file gets loaded for some reason
 
fge
@BrianJ sorry, I don't know this API
 
(to input the string full)
 
cool I should figure out, but in general why could a command load an incorrect file?
when you specify a different one
 
Or I have to use String to get rid off window.open()
 
fge
@JavaFan yeah, right; what you have as input is basically a JavaScript function, you realize that, don't you?
 
6:33 PM
posted on March 26, 2015 by Nick Griffith

Ah, the age old nerd adage: “There are 10 (correctly pronounced ‘two’) types of people in this world, those who understand binary and those who do not.”  So, besides knowing that [crayon-551450ffd61a1749861809-i/]  is the binary representation of the decimal number [crayon-551450ffd61af444581510-i/] , how well do you know binary?  And do you put this knowledge to use in

 
but I want to know why you have advised me with java.net.URI ?
There are Two types.......... hmmmmmmmmm
@fge Why you have advised me with java.net.URI
 
Hey guys, i'm doing a little test for a job interview and came here for a better solution. So i have a list of objects, called employees, who have two variables - salary and name. I need to order them in descending order.
According to salaries. I know i could turn it into two separate lists, take highest element positsion and then take the name from same positsion but is there a "cleaner" weay?
way*
For example i could create two lists - salaries and names, take the highest salary, take the name from same positsion, put into String, remove the elements, repeat until lists are empty.
But is there a cleaner solution?
 
fge
6:48 PM
@JavaFan because you didn't tell the full story at first
Meh, nevermind
 
@fge
now I know why
because if I use string http would not take palce at the same index always
 
user3208640
Hello everyone
 
hello
 
fge
Eh?
Now you lost me completely
Nevermind
 
Me?
 
user3208640
6:54 PM
Dears, I have a question, I'll appreciate if someone answer me
 
user3208640
I have never participated in any open source project, I'm new in it and recently created a github account
 
user3208640
I have professional work experience but not participated in any open source
 
user3208640
I'm interested too much in Java and my knowledge on it is not bad
 
user3208640
I want to participate in some github or codeplex projects
 
user3208640
can
 
user3208640
6:58 PM
someone
 
user3208640
please guide me alittle, or do some have an open source project that I can participate in it?
 
@Farhęg JSOUP
 
I'd say: pick a project that you use, or would like to use. Otherwise it's hard to keep up enough interest
 
user3208640
@JavaFan, well, how can I do participate in it? on github?
 
user3208640
I'm new with git
 
user3208640
7:06 PM
@kiheru, you are right, but it would be much better to participate in a more known project
 
why does it matter if it's known or not?
Start small; go by what you think is interesting. But begin by reading some git tutorials
In my opinion, git is easy to learn
at least the basic stuff
 
user3208640
Yes, I'm sure it's easy
 
user3208640
but
 
user3208640
I think it would be a little better if I'm not the only participant in the project
 
user3208640
I mean project by only one developer
 
user3208640
7:13 PM
is less interesting than the one by more.
 
Hi does anyone know javafx, scrollpane ??
 
@user43968 what seems to be your problem?
Also, in the future; just ask your question, don't ask for competence. We can only know if we can help you when we get your actual question
 
http://www.commitstrip.com/en/2015/03/26/are-you-still-a-coder/
CommitStrip - Blog relating the daily life of web agencies developers
Are you still a coder?
CommitStrip
1427396958
 
HI, I have objectA in a Vbox, and objectB in a stackpane beside the vbox. I link A and B with cubiccurve and binding like this Cubiccurve.endy.bind(objectA.getlayoutY()) Now i put vbox in a scrollpane put objectAlyout doesn't change
so when i scroll the link doesn't update its position how can I achieve this simply?
 
could you post your code in a pastie?
 
7:22 PM
sorry I can't now but it's simple i set the endy of the curve and then i bind it to the y coordinate of the object but the problem is that when i scroll the y propertiy of the object a doesnt change
it's only two lines of code
 
remark: the scroll works correctly only the layouty property of objectA doesn't change when i scroll
 
@Farhęg It would be great if you make solutions for JavaScript with JSOUP
 
@Gemtastic any idea ;)
 
Hi, • The application sends web services a request containing the media attachments.
• The media attachments are written to a file share.
• A thread running in web services wakes up every 10 minutes to scan the media file share.
• The data read from the file share is attached to an email and is sent to a mailbox that is monitored.
• The person monitoring the mailbox then manually associates the media attachments to a file.
This approach is causing the media attachments to fail as the thread dies.
Is there any other approach of doing this instead of using the thread? Any suggestions?
 
7:35 PM
Evening
 
@user43968 Not without more code, sorry
@SecondRikudo Evening :)
 
@Gemtastic you said the icon and title are up, git pull comes back empty
 
wut?
 
Ah, my bad.
I keep forgetting I have two remotes (your original and my fork)
git pull by default goes to origin, which is my fork.
 
7:45 PM
stage.getIcons().add()? lol
When can there be more than one icon?
 
I dunno XD
 
In any case
I'm going to start that project now (ended up not doing it yesterday)
@Gemtastic @ItachiUchiha @fge Would you be interested in seeing a stream of my starting an iojs project?
 
@SecondRikudo I'd be interested in having it on my second monitor, but I can't promise I can sit and observe it like a model student
 
fge
@SecondRikudo iojs?
 
@fge The newer version of node js
Want me to set it up then?
 
I'll be watching, I'll be waiting in the shadows~
 
fge
Sorry, I don't have the time :( If this is recorded I'll keep the link
 
HI, Do you know how I can track coordinate of object Inside a vbox Inside a Scrollpane in javafx8 ???
I need to bind position of object outside the scrollpane with object Inside the vbox ??
 
8:32 PM
@Gemtastic can you hear me?
 
I wasn't wearing the headphones :X
 
 
2 hours later…
10:49 PM
noms food
 
03:00 - 18:0018:00 - 23:00

« first day (1615 days earlier)      last day (3329 days later) »