« first day (1534 days earlier)      last day (3421 days later) » 

12:37 AM
I don't know if I should laugh or cry right now
I finally solved the issue I've been trying to fix all day...
..But it was such a simple thing I'm retarded for not figuring it out sooner >_>
At least I didn't post that question about it I made XD
 
fge
@Gemtastic it happens quite often, that's nothing worth brooding over
 
@fge Well, I should be more familiar with CSS by now >_>
It's just that I haven't made this kind of designs before. When I was taught this stuff 7 years ago the site designs looked so different, not to mention the teacher taught us even older design-patterns.
But as ashamed as I feel, the feeling of finally fixing it is heaven
 
 
1 hour later…
2:01 AM
Hello. I am learning Jooq but can't get my generated classes. Seems to be an error on log4j configuration. I am supposed to run the Generation tool, but i don't know how to tell it how to look to my log4j file or my log4j.properties...
 
fge
2:20 AM
@lrn2java put it somewhere in your classpath
 
2:55 AM
I found a simple tutorial. I am going for a straight ahead generation only with the 3 jooq essential files and the mysql connector + a jooq.configuration file in the windows command prompt and yet: Error: Could not find or load main class .org.jooq.util.GenerationTool ikaisays.com/2011/11/01/getting-started-with-jooq-a-tutorial @fge thanks for the reply btw jooq seems to be an awesome tool, as soon as i get those generated classes
 
3:39 AM
got it had issues with his OS ":" instead of my windows ";" also needed a whitespace ";. org.jooq.util.GenerationTool" Success!!!!! @fge
 
4:00 AM
also had issues with his file.properties, i just translated everything to file.xml
 
 
1 hour later…
5:07 AM
@fge Lucky you :)
@Vogel612 I would have not said married, but I would have definitely said not in a relationship by the amount of time @fge spends on code :P
 
5:20 AM
Hmmmm...
 
5:56 AM
hi
 
hello
 
I have this string 154 us.dollar I want to get rid of us.dollar what is the method to do that?
I want to ou.print it as 154 only
 
@JavaFan split on \\s+ and print index 0. Or use a regular expression.
 
hi
 
I think my fuction would be there Is there space after the integer it to get rid of it
and the string after the space to be 154 only
hi @square
 
6:08 AM
i want to read pdf text from the pdf file @JavaFan
looking for a example
@JavaFan any help on this
i am new in java
 
I havn't idea about pdf file am so sorry
14
Q: How to read PDF files using java

yohan.jayarathnaI want to read some text data in a pdf using java. Please help me to do this Any help is appreciated

Why don 't see this example
 
7:14 AM
@Gemtastic heya
 
@ItachiUchiha hello ^^
 
progress on website?
 
@ItachiUchiha I've worked A LOT but it doesn't look like it. Dang divs and CSS menus XD
having supper break with pancakes!
 
well it happens, they will fall into place
Pancakes!
 
@ItachiUchiha yep. It's closing in on done though :)
 
7:18 AM
we need the pic for pancakes posted
 
Got nothing to photograph them with >_>
 
what do you need with pancakes?
:P :P
they are self-sufficient
 
I meant that I have no camera
 
you live without a smart phone :S
 
yup
well, I have one but it's too old to function with today's apps
 
7:22 AM
Salute to you
 
they look pretty much like that^
 
I want to find a java developer or android developer job in Europe ,I need your advices
 
fge is european
 
@gem I thought you are european too :P
 
@Gemtastic are your from Europe?
 
7:25 AM
@ItachiUchiha but I'm not good enough to be of use
 
some adivces if you live there
 
@JavaFan If you are an xp'd dev you can look on job site
 
what kind of advice are you looking for?
 
I need small job because I havn't a high university degree
I graduated from aptech institution
 
7:28 AM
What kinda institute is that?
 
Well, I've told you before; as long as you can code you'll get a job in europe
 
Do you stay in Europe?
 
no
 
There is the problem
 
I don't have idea about how to hunt a java developer position in europe
 
7:29 AM
You need to apply for working visa for europe
getting one for UK, just forget about it
look for other countries who are open for providing jobs to people, like netherlands
 
really Netherlands more open than uk?
 
The netherlands, and last I heard, Ireland are recruiting IT people from abroad
 
In UK, you don't get a working visa for more than a year
 
If I know java desktop application and some android skills is that enough
 
Do you have a portfolio?
 
7:31 AM
even for one year but I prefer netherlands
portfolio?
 
A profile
on what you know and what you have done so far
 
in which site?
I have done an android app for sms messages
Are java desktop applications highly desired?
like swing , jdbc....
 
@JavaFan Nope
But they can help
 
Why don't you try using the SE career site?
 
7:35 AM
I want small position these for advanced progammers
 
But, as I said, companies don't want to recruit people from other countries (unless they are exceptionally talented) coz it is a overhead for the company
 
good link @Gemtastic
what I need for the next level
 
@ItachiUchiha Why would it be that?
It doesn't cost anything extra in sweden to import workers
 
@Gemtastic coz company has to spend on your VISA, carrying you to the location etc etc
@Gemtastic It does
 
@ItachiUchiha No, they don't have to do that. They have to let the government handing out the visa know that they are offering the person a job if the worker is gonna get a VISA, but they don't really have to do anything. In some countries they may have to make sure the worker's visa is valid though
Then, there are companies that does pay for your ticket and get you somewhere to live
 
7:41 AM
@Gemtastic That is only if the person already has the working visa for the particular country
 
But it's not a requirement, at least not in the EU
 
from which country you are?
@gem
 
@ItachiUchiha The VISA application fee is only required to be paid by the worker
@JavaFan Sweden
 
Okay can I find position there if I have some java experience
 
In the EU the companies technically don't have to do anything but make sure they pay the correct taxes. The taxes are the same regardless if the employee is native or foreign
 
7:43 AM
@Gemtastic May be you are right, but it is not easy to land yourself with a job offer for a foreign country
 
@ItachiUchiha Agreed. Contacts are everything.
 
So I have to find contacts?
 
Though some countries are more open to receive foreign work-force than others
@JavaFan It helps. You can apply for ads on websites too.
 
like what?
 
@Gemtastic Yes, for example US and UK have very restricted rules!
 
7:45 AM
@ItachiUchiha UK is a bureaucratic hell :P
 
in Netherlands can I find if I have contact there?
 
@Gemtastic haha, yeah it is
Have you heard about the new student visa changes?
 
@JavaFan If you're good at coding, probably
@ItachiUchiha In the UK? No, I don't keep up with UK details
 
You need to return back to your country immediately after finishing your course.
 
yes am good in coding at least
 
7:47 AM
No searching for jobs
 
what contacts can help in netherlands
 
@ItachiUchiha Well, it's not exactly uncommon for countries to require that you travel abroad before you apply for a new visa
 
@Gemtastic But, in most countries you have a buffer time to search for jobs
 
I know a contact what I have to require from him?
 
@JavaFan A contact is a person you know who somehow has a connection to the job you want. It could be anyone working at a company that creates java code in your case. If you know the receptionist, he/she may know when they are recruiting and can help you apply.
 
7:50 AM
@Gemtastic I want to star this message :P
 
thank you for explanation
 
@ItachiUchiha I don't think sweden does and I think that's more rare than common. Here, it's easy to get a live-in lover's VISA, but to apply for it, the non swede has to go back to its home country and apply from there, and can not travel here while the VISA application is being processed
 
There is a Live-In lovers VISA? o_O
 
now I am hopeful I try with one person that I know in netherlands
 
@ItachiUchiha Yep. If you are a couple and you want to live together in sweden you can apply for a live-in lover's visa
 
7:54 AM
@Gemtastic I am amazed :D
 
Of course, the VISA expires as soon as your relationship does
 
I need to look for some girl in your country
 
@Gemtastic Is your country easier or more open to find a java\android job?
 
@gem any single friends(girls) ? :P
 
@ItachiUchiha from which country you are?
 
7:55 AM
Nov 21 '14 at 20:43, by ItachiUchiha
I am from the Hidden Leaf Village :)
 
@JavaFan Easier than what? It's fairly easy to get a programming job here, but you have to learn Swedish and you have to learn it well. Swedes are very prejudice against poor language
@ItachiUchiha I only have one friend and he's gay... But if you're willing to go that way (and you're good looking) the live-in lover's VISA doesn't discriminate against gays ;P
 
ha ha ha
 
@Gemtastic I already said I am straight :P
 
@ItachiUchiha Well, I'm a terrible resource for hooking you up. XD
 
if you are straight you have to marry directly
 
7:58 AM
@Gemtastic This is sad news :P
@JavaFan :S
 
:S
?
 
@JavaFan Swedes don't really like that kind of fast relationships.
Living together is fine though
 
@JavaFan nor do I :P
 
It's common in sweden for couples to live together but never marry
Some get engaged, but never hold the wedding.
Me and my better half are never gonna marry, unless we absolutely have to.
 
okay
the biggest problem for me is the language
 
8:00 AM
Yeah
 
For most european countries language is the major barrier
 
You can get around just fine on english in sweden, but to get a job, you need to speak swedish, especially if you aren't white. Racism has increased lately :/
 
So also I will search for English speaker java job position
 
Most companies advertizing abroad are fine with english speakers
 
you are helping me so much @Gemtastic
you are an employee or student @Gemtastic
?
 
8:03 AM
@JavaFan Student
 
thank you very much
 
No one thanked me :(
:'(
 
@ItachiUchiha Aww
 
thank you also @ItachiUchiha
 
thanks Ita
 
8:05 AM
:)
:')
 
You help me a lot so I always have a reason to thank you ^^
 
really @ItachiUchiha helps us in our java problems
 
Thank you so much everyone! :)
 
Ita-sensei :D
 
haha :)
 
 
1 hour later…
9:38 AM
any one have used itext jar
i am reading text from the pdf using itext , now i want to find the number of occurrence of word
any one have any idea
 
I have no idea what you're asking for.
 
are you getting my point
?
mean my issue
 
@square Nope.
 
its ok
 
 
2 hours later…
11:17 AM
Heya
 
fge
11:29 AM
Moo
 
@fge Behh, I'm a sheep
 
12:27 PM
Hello everyone :)
 
hello
 
fge
Aah, code cleanup
The problem is that when you have a lot of this to do, you don't know where to start
 
You have to write code. No library method will do this for you, because toString() generates a String that represents a state. It is not guaranteed that the String fully represents the object, only the state, therefore you cannot reconstruct an object from String, unless you parse it by yourself. As for how to, you have to write code. Voted to close as too broad. — Unihedro 54 mins ago
Haven't you heard? Stack Overflow is the crowdsource code authoring service.
 
fge
@Unihedro which means what exactly?
 
Your question falls into a category called "gimmetehcodez" and is universally frowned upon across the internet. -1 — TecBrat 56 secs ago
Write code. — Unihedro just now
And what is your question? Are you looking for someone to build your website? — Unihedro 19 secs ago
Meh.
 
1:18 PM
Hi
 
I have a jsoup small problem can you help me plz
<div class =”class”>
<a id=”aid” href=../../../F455y6456452”><im id =”imgid” src=http://............/1_5.jpg></a></div>
How to System.out.print both a and img src absolute url
 
Why on Earth are smart quotes being used instead of regular normal quotes in the HTML fragment?
 
I don't understand u
 
fge
@JavaFan <-- those; they are not legal in HTML
You should use "
 
1:31 PM
  <div class="prodimg">
   <a id="eXtraContentPlaceHolder_BestNewGrid1_DataList1_ProductHyperLink_2" href="../Mobiles/Smartphones/Fly-Blade-IQ4516-16-GB-White-4266062"><img id="eXtraContentPlaceHolder_BestNewGrid1_DataList1_ProductImage_2" border="0" onerror="this.src=&quot;/Style/Default/images/noprod.jpg&quot;;" src="http://cdn.extrastores.com/ImagesSections/product/191/9970395_L_1_2.jpg" alt="Prod" height="146" width="129"></a>
  </div>
I want to System.out.print both a absolute href and img src
for(Element n:tds.select("div.prodimg a"))
{}
This code print only a
 
I am working on a Java app which accesses data from WhatsApp without using the API. Does anyone know if this is illegal or if I need some sort of permission from WhatsApp for doing this?
 
Great app @RahulKhosla
 
@RahulKhosla Does that really have to do with Java?
It depends on if the data by WhatsApp is licensed or copyrighted. When in doubt, contact your lawyer. If you don't have one, contact theirs.
 
Thanks, I should have been more clear. The "data" is really just the messages between users.
The app copies these messages and stores them externally
 
2:19 PM
@RahulKhosla sounds like... spying / phishing ...
 
A while ago I just found the old Minecraft directories... The way I versioned the save files really sucks
bin
bin_t
bin_s
bin1
bin2
bin26453971
bins
saves
saves_t
saves2
saves3
 
ouch..
 
2:37 PM
In jsoup how to select two attribute in a div class
 
wat?
formulate what you want and usually the answer is clear...
but... two attribute in a div class is ... impossible
 
 <div class="prodimg">
   <a id="eXtraContentPlaceHolder_BestNewGrid1_DataList1_ProductHyperLink_2" href="../Mobiles/Smartphones/Fly-Blade-IQ4516-16-GB-White-4266062"><img id="eXtraContentPlaceHolder_BestNewGrid1_DataList1_ProductImage_2" border="0" onerror="this.src=&quot;/Style/Default/images/noprod.jpg&quot;;" src="http://cdn.extrastores.com/ImagesSections/product/191/9970395_L_1_2.jpg" alt="Prod" height="146" width="129"></a>
  </div>
 
yea that's some html, cool..
 
I want to extract a href and img src
 
then get the element and access the attributes separately!
 
2:41 PM
It's impossible to get both of them in one line
 
T.T
why would you want that?????
 
@JavaFan Then don't get them in one line.
 
you're jumping through inexistent loops and make it harder than it should be...
 
because later I will enter them in a database table simultaneously
 
@JavaFan That's not justification, it's your XY Problem.
 
2:54 PM
@Vogel612 I can get them by two loop but if I could get it by one loop it's much better
 
@JavaFan No it's not, it will make it worse.
 
looping is the wrong way to go about it
 
You don't need a loop, to begin with.
 
So what is the right way
 
Element link = page.get("div.prodimg a");
Element image = page.get("div.prodimg img");
String absoluteHref = link.attr("href");
String absoluteSrc = image.attr("src");
or however you'd do this in jsoup..
use proper selectors, will ya?
 
2:56 PM
the proper selectors can you possibly give me the code
@Vogel612
I have a question about Maven
 
Hello Guys :)
 
Hello
 
3:15 PM
Is this new room created ? for Java People
 
Good morning, Java!
 
fge
Good morning milord
@Michael I have resumed work on grappa, therefore reattacking the grammar for ezvcard
And btw the next version will be Java 7
 
Next version of what?
 
fge
grappa
 
Ah, nice
 
3:24 PM
Morning
 
fge
My hope is that if you find the grammar good enough you'll include it as a dependency and use it ;)
 
Morning, @Uni
 
fge
4:11 PM
Aaah, that is sooo nice to code clean stuff
snore
 
Dead chat.
 
Yes, the chat is quiet.
 
4:30 PM
Hi, I have to store 6 string values in an Android device's storage, I was thinking using a csv file as the storage format. Any thoughts?
Also are their any good resources to do this?
 
@BrianJ What about a .properties file?
 
@Michael that looks promising, are there any advantages to using this over a csv file?
 
CSV files are better for tabular data.
.properties files are better for storing application configuration data.
 
4:45 PM
@Michael the data needs to be imported into an excel sheet so that's out of the question, I'm sure I could use properties in one of my other projects though :)
*:)
Does anyone know why the following code doesn't load the captured image into the imageView? The image is stored in the gallery succesfully and I'm scaling down the image before its loaded to the view..I'm starting to think it may be my device as the same code was loading images in without fail up until this morning..hastebin.com/ugawifadek.coffee
 
Hey all
hey @fge
 
fge
5:02 PM
Hey @ZouZou
 
@fge I found a similar project on git about throwing lambdas. if you are interested to see it: github.com/JeffreyFalgout/ThrowingStream
github*
same spirit I would say
 
fge
@ZouZou interesting, I'll have a look
Huh, it's quite different
 
Well initially it was your goal to be able to call functions that throws checked exceptions without explicitely provide a try/catch inside the lamdba itself
 
fge
Yes, and I've succeeded in this
Except that the design leaves a little to be desired to be honest
But I can chain, which this package cannot
Ahwell
 
 
1 hour later…
6:34 PM
Shutting down. See you later.
OakBot Online.
OakBot Online.
 
 
2 hours later…
9:07 PM
SILENCE
 
hi
 
heyo!
 
aww
broke my silence
 
I want to download tomcat to work it with java web start so what type of tomcat I need? base or x86?
I getted a direct link now this version downloading tomcat-7.0.34-preconfigured.zip
Heyo
I getted a direct link now this version downloading tomcat-7.0.34-preconfigured.zip
 
RTFM!
 
9:24 PM
what is easier to deploy java applications with gradle or with java web start?
Heyo
 
9:39 PM
hi everyone
 
hi
 
anyone have experience with adding external jars to an Android project?
 
You work with eclipse?
 
I've added a jar as an external jar and ticked it in "order and export" but I'm still getting a class not found exception..
adt bundle
 
it should works there is something wrong
 
9:46 PM
It's not loaded in runtime
Add the class files, not the jar
Assuming use of Eclipse
 
@Unihedro it only gives me a jar file to download from the site, How can I add the class file? not too familiar with this process.
 
10:05 PM
morning
 
Morning
 
Afternoon!
 
... Hey.
 
i am tinkering with Jooq. I am tinkering with Jooq querys. Any idea if i should create my DSLContext and destroy inside each of my functions?
 
strange one, am I missing a step here in adding the jar file? stackoverflow.com/questions/27770584/…
 
10:11 PM
I don't find any close or destroy function on my DSLContext though
 
how or from where to change tomcat port number?
because it's already in use
 
okey i am going for that approach closing the connection also closes (or breaks) the DSLContext. so I am going for that creating and destroying my context with each method
 
Is anyone know how to change tomcat port
 
Google did
And now I do since I read the tut XD
 
10:36 PM
@Gemtastic Thank you I have changed it
 
10:48 PM
Hey anyone have any experience with coding decision trees, I'm implementing one and could do with some advice :)
 
11:43 PM
@BrianJ If you have finished making one but just want some input on how to make the code better, there's a site for that: codereview.stackexchange.com
 

« first day (1534 days earlier)      last day (3421 days later) »