@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4



Comments:

<0> ERICwithanH: The SSCCE - Short, Self Contained, Correct (Compilable), Example: http://www.physci.org/codes/sscce.jsp (mirror: http://javafaq.mine.nu/lookup?364)
<1>
<2> on the other hand...what started out as a factoids functionality in 60 lines got bloated to over 120 lines just by adding an "alias" functionality. who knows what write access, whitelists, blacklists, etc. will have it end up with.
<3> urk.. a four hour training system on a source controll system I absolutley hate with a p***ion
<3> someone needs to p*** a law forbidding CA from selling software
<2> wlfshmn: not svn?
<3> ccc/HArvest
<3> Clackwell: The tooling at this company is retarded and selected by a monkey with concentration problems
<2> wlfshmn: sounds like allergy to "standard" revision control systems.
<4> indeed.
<4> someone could actually grok it.
<2> wlfshmn: are they able to provide a sane argument of why one would want that instead of the more common, open tools?
<3> The general concensus is that noone -actually- wants that system, but it and it's concepts have over the years been integrated into our own release system, so changing is a huge project, and our consultants are too stupid to fetch updates from a new system
<3> most projects use cvs or svn on their own until they have to start tracking bugs, then the code needs to go into harvest so it links up nicely with the inhouse bugtracking
<2> wlfshmn: ah, alright. we had given bug tracking system integration some thought, but couldn't come up with something that seemed reliable and simple.
<2> we will probably be looking into something like bugtrac or whatsitcalled



<5> http://www.eugeneciurana.com/pastebin/pastebin.php?show=2143 <- that works and all, but when it's ran and more than two percentages are given in the range of a letter grade, the percentages calculate wrong. does anyone know the reason why?
<2> we already have on successful open system running, otrs. that's fun stuff. hopefully bugtrac or something similar will provide a similar boost.
<3> I don't think any of this infrastructure is likely to change as longas I'm employed at this place (whcih really needs to become a shorter rather than longer period of time)
<2> ERICwithanH: "calculate wrong" meaning? do you know that floating point arithmetic in computers is unprecise?
<6> Yay
<6> my first program is finished!
<6> =)
<5> say a "91" and a "99" is input, it will find the correct average, but if I were to put in 91, 94, and 97, it would come back with something completely wrong -- like 66% or so.
<2> ERICwithanH: probably related: http://java.sun.com/tutorial/java/nutsandbolts/operators.html
<7> thank god raki
<6> hahaha :)
<7> maybe we'll get some peach now :P
<6> well second actually
<6> im afraid so Deano
<7> erm *peace
<7> quite a typo from me there
<6> now i have to create a bunch of newbie programs
<6> that i can access during my exam
<6> so i can copy paste more
<2> ERICwithanH: hm, strike that
<6> can u make all files into an exe or something?
<2> wtf, they removed the type related information on the operators page in the tutorial. why are they mutilating the tutorial? ;|
<7> http://javafaq.mine.nu/lookup?100
<8> raki - Why would you want to... other than making it one monster exe instead of one small jar and a VM there's not really much advantage and plenty of disadvantages.
<6> well can u?
<6> oh..
<6> just to get it all into one file
<7> look at that link.
<2> raki: zip
<6> :)
<6> ay..
<6> i will
<7> And start using google a bit more
<6> i use google like crazyu
<8> And give up cross platform... give up the advantages of shipping small code updates once they already have the JRE... most solutions also involve giving up one or more of javas features (dynamic cl*** loading, cl*** unloading).
<6> point taken already =)
<8> Delivering a desktop app requires more thinking about though as you don't want customers going through any pain (installation issues, configuration confusion) just to run your app. Reading up on Webstart might help there.
<6> Anyways
<6> thanks for putting up with me these days
<6> youve been very helpful and im most grateful :)
<6> if anyone wanna look at the monster ive created feel free to ask X))
<6> ill take that as a no ;P
<6> noes :(
<6> one more thing to do..
<6> need to figure out how to select a cell
<2> ERICwithanH: i don't understand the task. i don't understand what "average percentage" means.
<6> Clackwell can u help me with that final issue ?=)
<2> raki: no clue how to do that. i would have to google for the answer.
<6> Clackwell
<6> http://rafb.net/p/ZEkP7C29.html
<6> i think i should use that..
<6> but im not quite sure how..
<2> raki: http://www.google.com/search?hl=en&q=select+cell+jtable&btnG=Google+Search
<2> raki: given the google results, why did you ask your question on irc channels?
<6> because i use TableSorter
<6> i thought that made it different?
<2> raki: no idea what tablesorter is nor why it should be related. avoid that kind of thinking until you have verified that the standard approaches outlined by google and co. do not work?
<6> ok..
<6> that rafb thingie was a method inside TableSorter btw..
<2> one link at the result points out to make the selection on the EDT, too.
<2> !edt



<0> Clackwell: No entry found.
<2> <1>
<2> gotta bring javabot up to speed one of these days.
<2> <javabot> Event Dispatch Thread, the thread that drives the swing gui. See http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html for a tutorial on Swing and threads, and note http://java.sun.com/developer/JDCTechTips/2005/tt0727.html#1
<6> ah well, i got it working i think..
<6> thanks once again
<6> and sorry for being annoying..
<6> ****s that the row gets highlighted aswell, but thats something i can live with..
<2> at some point people won't even give you google links anymore but ignore you completely. ;)
<6> heh i know :/
<9> hi, how do i make a JTextField non-stretching?
<9> (like JLabel)
<2> mathieu: read up on layout managers?
<2> layout is http://java.sun.com/docs/books/tutorial/uiswing/layout/index.html. If the layout managers that come with the jdk dont satisfy you, have a look at FormLayout, TableLayout, PercentLayout or HTMLLayout (ask me about each of those to learn more). Book chapter at http://javafaq.mine.nu/lookup?290
<9> I have a boxlayout with a few elements. There's a JTextField that mustn't stretch
<6> i have no idea really
<6> set minsize and maxsize to same value ?=)
<9> raki: is that a component attribute?
<2> !apidocs mathieu
<0> mathieu: The API documentation for the Java standard libraries ( download at http://java.sun.com/docs/ ) lists ALL cl***es (see link "All Cl***es") and ALL methods (see link "Index"): http://java.sun.com/j2se/1.5.0/docs/api/overview-summary.html
<6> components of JComponent have minsize and maxsize
<6> all i know
<9> Clackwell: i know about the docs.
<9> i'm using them, but it's not easy to find what to do for some specific behavior
<6> Dimension d = new Dimension(int h, int w); JTextField j = new JTextfield(); j.setMinimumSize(d); j.setMaximumSize(d);
<6> that might work..
<6> but then u cant use pack(); ofc..
<6> or, thats what i think atleast..
<6> mathieu did u try it out?
<2> mathieu: the api docs are for "does cl*** xyz have that method/attribute?", "does a cl*** in the standard lib have that method?" type of questions.
<10> hey Clackwell, how goes it?
<2> MbGone: well, i guess. :)
<2> am at work though, pfht
<7> I didn't want to push my new found level 100
<7> thanks for that though, I haven't shown my gratitude as of yet
<10> Clackwell - yea i know the feeling, i am at work myself
<10> writing a stupid HLD document :P
<2> what is that?
<10> High level design
<10> basically the design of a component, what is it in charge of, how its going to do it, whats its interaction with the other components, what the flow is going to be
<10> and all those kind of craps :P
<10> i hate writing documents
<3> MbGone: don't we all. there seems to be three lines of documentation and spec to write for each line of code.
<10> yea i know :( it ****s
<2> MbGone: sounds like the important stuff that we are missing in too many cases.
<10> Clackwell - yea its very important, usually alot of problems are found during that phase
<4> documentation is good.
<4> overdocumenting ****s tho.
<10> naturally (especially if you are the one stuck on doing them :))
<10> Clackwell - i am "pretty sure" that its been more than 1 hour since you placed this ban :)
<2> 20 minutes, according to the ban list :)
<6> Clackwell i was wrong earlier.. the issue wasnt resolved X(
<10> oh, wasnt talking about this ban specificlyy because i have seen that 1 hour thing for atleast a month :)
<10> raki - what issue?
<6> TableSorter moves around the rows when it sorts
<6> so when i use table.setSelected();
<6> it selects the same cell as before
<6> (obviously)
<6> but i can resolve it i guess so no worries..
<6> hmm no i cant.. bah
<6> thats the problem =)
<10> tbh, i really dont understand your problem
<6> MbGone TableSorter
<6> doesnt sort by changing the info.. it justs swaps the rows around
<6> so row 4 might be displayed at row 1 for instance
<6> i was using JTable table; table.setSelected(); method earlier
<6> but then it doesnt work when sorting
<6> because the selection then is fixed, and the sorting makes the info go around =)
<6> was it more clear this time MbGone?
<6> i need this resolved before i can allow myself to go to sleep :/
<6> and im closing up on 24h now :/
<6> TableSorter.modelIndex() ... you p*** it the table's row number, and it returns the row number of the model that you wrapped with TableSorter


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #java
or
Go to some related logs:

#linuxhelp
#linuxhelp
What does a Sinophobic Russian fear ?
intelgirl london
#AllNiteCafe
Epidermal cells, palisade cells, and veins are parts of a ________.?
12WHAT COUNTRY CALLS ITSELF SUOMI?
ubuntu xdivx
#london
screen ttyn permission denied



Home  |  disclaimer  |  contact  |  submit quotes