| |
| |
| |
|
Page: 1 2
Comments:
<0> I'm optimizing some Java code and I wanted to know if the compiler concatinated two static string when they're right next to one another like : String str = "string1" + "string2"; <1> which one is static? <0> sorry, I meant final <1> should be valid <1> skr1p7k1d: you better do some experiment <0> I could. It's not a huge optimization so I'd rather not try to figure it out w/ TPTP <2> Is there a way to create a database from java? <2> not just select from a table, but actually creating a database executing a query? <3> yep - depends on the database server thou <2> I am using MySQL 5.0 <2> I tried my query like String qry="CREATE DATABASE base"; <2> then I execute it, using ResultSet, but it throws an exception that I cannot create <2> (my user has the right privileges) <3> hrm. I do the same with postgresql, but I have to connect the master database first. hrm <2> hhhm, <2> well, I want to run it on a different computer, however, my main problem is not being able to move the database
<2> :P <2> and if for example, I want to execute a command from mysql, for example source, is there a way to do it?? <2> I can't find anything about that on my searches :( <4> hi <4> has anyone programmed a schemagraph before? <5> mrnings <5> noen som kan hjelpe med et litt festlig sprsml her.. <5> "What steps occur in the JVM and the operating system in order to ensure thread safety?" <6> If I have a string "aaa bbb ccc", Wich is the best way to convert it to Array... like {"aaa","bbb","ccc"}? <6> h <5> run a stringtokenizer and shove each token in the array <6> Ok, thanks... let me try it.. see you <5> np <6> Very good... thanks see you <7> who knows jdbc? <8> morning <1> what's jdbc? <6> Again... How convert Object[] to String[]? <6> I got it: String[] array = (String[])list.toArray(new String[list.size()]); <7> any one here know metadata? <1> cast <1> (string) object <9> hi <9> a quick question, is ++<Integer> or <Integer>++ atomic (hence, thread safe)? <9> in 1.5, that is. <3> 'lo LLyric <10> Gidday <3> how goes? <10> talios: ssdd <3> ? <10> Same **** Different Day <3> righty :) <10> I just got back from NZ. Went on a vintage rally for the weekend, down south. While I was away, they held the first open-home for my house. And we got an offer! <10> We counter-offered, and they took it. SOLD! Settlement in a week or two. <3> w00t! <3> Nice. how much? <10> We got NZ$368k <3> enough to cover the new place? <10> Nowhere near <10> I didn't have a lot of equity in it. Once I pay the mortgage, and what I owe my folks, only about NZ$100k left. <10> The new place is gonna cost about A$600k <3> youch! must be a nice place :) <10> Land is pretty expensive here. <1> LLyric: what's NZ look like? <3> dark currently :) <10> The land is $265k, and the base price for the house is about $250k, but by the time we add a few (quite reasonable) extras, more like $300k <10> javaq_: very small from here <10> javaq_: I'm currently in Australia <3> javaq_: I've plenty of various nz photos on my flickr if you want to look. <1> talios: your flicker pls <3> http://www.flickr.com/photos/talios <10> talios: unfortunately the nzd->aud exchange rate ****s right now :( http://finance.yahoo.com/currency/convert?amt=1&from=NZD&to=AUD&submit=Convert <1> my mom been to NZ twice <1> and she reckon NZ is very beautiful <1> the scenery <10> It is <11> ah, looks like you have some coffee culture over there. <11> talios: seeing these picture...have you slimmed down a good bit?
<3> http://www.flickr.com/photos/talios/sets/1651226 <- scenic shots of Hawkes Bay where I grew up <3> Clackwell: down then up then down then up :( Sadly lately more up than down. Need to kick myself in the arse and get back onto it. <3> mmm coffee <10> gotta go, dinner <11> talios: how did you do it, the usual delusional, short term dietary appraoch or a real long term change in the diet? <3> Clackwell: for the original 25kg lost (which I've sadly gained back almost 17 or so of that) was weight watchers. mostly a change in basic diet, more walking/bike riding. <3> Loosing my drivers licence helped ALOT with making me use the bus/train and walking more. <11> talios: i see. a neighbor is having herself a new weight watchers group. she seems pretty succesful, its her first group. <11> talios: ha, what for, speeding? <3> the train started costing too much tho :( too much stopping at Starbucks after getting to town really early :) <11> don't tell my booze... <11> my=me <11> talios: over what period did you loose the 25 kg? <7> has anyone used the function getTableName() before? <3> Clackwell: coming off the motorway a bit fast 2-3 times in short succession (shortly after moving to a flat that required me to use the motorway for the first time in ages) <11> weewoo: there is such a method in j2se? <7> jdbc <7> metadata <3> Clackwell: mmmm, that would have been around 1.5-8 years or so? I kinda hit a plateau and it stopped steady for ages <3> its been 2 years since I'd lost 25, I was aiming for 30kg lost by my 30th birthday, missing that hit me psychalogically (sp?) and point me on the slow trend of putting weight back on <11> weewoo: i have not used it yet. why? <7> i get an error that doesnt help fix it <11> talios: are you smoking? a friend stopped that, the excuse being to pay off the new car with the money saved in part, but boy, he developed quite a pot belly. <3> no smoking no. <7> im really stuck <11> weewoo: if you get an error it may be fastest to simply state it, possibly in a pastebin site. <11> this taking tiny steps here and there approach without ever p***ing on the information that you do have seems inefficient. <11> weewoo: ? <7> http://rafb.net/paste/results/iR10vv49.html <7> this is my code <7> String getTableName(int column) <7> thats from the API <7> how getTableName is supposed to work... <12> which ads? Just general site ads? <11> deano: see www.plus.de for example, a food chain in germany. they place their ****ing annoying, sound playing ads on popular sites. <12> ah <13> Clackwell: adblock and filterset.g here <12> I use adblock <13> marvelously effective <12> aye me too jottinger <12> very effective with the auto-updating filterset etc <11> i had adblock installed, just never configured or used it. i removed it to try to un**** ff, as it tries to use quicktime for flash movies (despite having configured quicktime's browser mime settings properly). <12> will be adding that new one though <11> i ended up disabling the qt ff plugin(s) by renaming them <sigh>. <12> yep tis very useful, ta Clackwell. <14> hi: how can i print a string to console as UTF-16 encoded ? like R&B R&B ? <11> commandoe: http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html#getBytes(java.lang.String) ? <15> Heyhey, if I wanted to learn java development on pdas, where would you suggest I start? Most googled java-pda hits seem pretty old... <16> I'd start with the Java tutorial so that you gain a basic understanding of Java. <16> http://java.sun.com/docs/books/tutorial/. After that look further into j2me, the Java website makes an ideal starting place. <15> I have that; it is more of a details on which seem to be viable pdas and details on the difference for that platform programming actually <16> hmm, j2me is renamed to ME so well ;) <15> pda selection is prolly the more uncertain thing. <16> ZeekLumpkins: Its usually not something to worry about. After all; you're using Java, not pda specific issues. If it supports Java your program is likely to work. <15> True, but I was hoping something that would help focusing on the intermediate wireless nature of PDAs (and maybe even a review site for which ones support java/do it well) <15> but will check the java site to see if they have up to date articles <17> salam <17> how i can get COMPUTERNAME ? <16> by asking its owner :P <17> :) <17> any idea ? <11> Xgamerz: your question seems to imply "value of environment variable on windows". <11> if so, find out how to access operating system environment variables from java. <17> i find it :) <17> salam <17> thks <18> i'm baffled by this, im trying to use Math.pow(1.0,2.0); but i get 'cannot resolve symbol' and java.lang.Math is imported.. i'm new to java, any clues? <19> hi zeeneo <18> hey <11> zeeneo: you are using static imports?
Return to
#java or Go to some related
logs:
privat pinays jahxi #MissKitten alecsuta mafialove sillypoker gui
#london #MissKitten Nadezhda, Craigslist
HRS diski
|
|