| Time |
S |
Nick |
Message |
| 02:50 |
|
SoniEx2 |
so how does this look: https://github.com/SoniEx2/NewEnderMoney/blob/1.7.2/java/com/github/soniex2/endermoney/trading/tileentity/TileEntityCreativeItemTrader.java#L64 |
| 02:50 |
|
SoniEx2 |
the old code looped thru the inv setting everything to null, then looped again setting everything back |
| 02:51 |
|
SoniEx2 |
I didn't really test this code tho... hmm... |
| 02:51 |
|
tjsnell |
way too long of a method :) |
| 02:51 |
|
SoniEx2 |
tjsnell, true |
| 02:51 |
|
SoniEx2 |
but faster than the old code |
| 02:51 |
|
tjsnell |
we flag over 25 lines |
| 02:54 |
|
SoniEx2 |
uhh huh I somehow got a NPE that's not supposed to happen O_o |
| 02:54 |
|
SoniEx2 |
uhh wait nvm derp |
| 03:09 |
|
SoniEx2 |
fixed it |
| 03:09 |
|
SoniEx2 |
and a few other crashes/bugs |
| 03:09 |
|
SoniEx2 |
I should test before committing :/ |
| 03:13 |
|
SoniEx2 |
tjsnell, anyway I can't really make that method smaller... |
| 03:15 |
|
tjsnell |
sure you can |
| 03:15 |
|
tjsnell |
I don't have time or I would |
| 03:16 |
|
tjsnell |
that method goes way over cyclomatic complexity rules for most projects I've been on |
| 03:16 |
|
tjsnell |
maybe tomorrow I'll take a look |
| 03:18 |
|
SoniEx2 |
uhh does it really matter? |
| 03:18 |
|
SoniEx2 |
it's not exactly bad code |
| 03:19 |
|
tjsnell |
it does :) |
| 03:19 |
|
tjsnell |
read Clean Code |
| 03:19 |
|
SoniEx2 |
well I do have a few // STUFF // STUFF END stuff |
| 03:20 |
|
pdurbin |
javaeebot: lucky clean code book |
| 03:20 |
|
javaeebot |
pdurbin: http://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882 |
| 03:20 |
|
SoniEx2 |
also I'm trying to get fast code not good-looking code |
| 03:20 |
|
pdurbin |
right. Uncle Bob. I heard good things about this book |
| 03:20 |
|
tjsnell |
those are not mutually exclusive goals |
| 03:22 |
|
SoniEx2 |
well there isn't a better way to do what I'm doing |
| 03:23 |
|
tjsnell |
I bet there is :) |
| 03:24 |
|
SoniEx2 |
not really |
| 03:28 |
|
SoniEx2 |
there are a few things I can do here and there but I can't make it any faster without writing a whole Map class to map ItemStacks to Integers or something (which's not something I wanna mess with) |
| 03:29 |
|
SoniEx2 |
and even then it wouldn't change the output code |
| 03:29 |
|
SoniEx2 |
and I'm not sure if it would make the method any shorter... |
| 03:32 |
|
SoniEx2 |
there isn't much I can do to make this better-looking without making it slower than throwing exceptions |
| 03:36 |
|
SoniEx2 |
anyway I g2g good night |
| 03:37 |
|
tjsnell |
g'night |
| 03:37 |
|
SoniEx2 |
tjsnell, also it has to be Java 6 compatible, if you care... |
| 06:02 |
|
|
ramsrib joined ##javaee |
| 07:14 |
|
|
neuro_sys joined ##javaee |
| 07:39 |
|
neuro_sys |
good monday morning |
| 07:47 |
|
|
fabioportieri joined ##javaee |
| 08:28 |
|
neuro_sys |
fabioportieri: o/ |
| 08:28 |
|
neuro_sys |
how was the weekend |
| 08:28 |
|
fabioportieri |
neuro_sys: o/ |
| 08:28 |
|
fabioportieri |
neuro_sys: not bad, not bad :> |
| 08:29 |
|
fabioportieri |
pretty relaxing stuff |
| 08:29 |
|
|
neuro_sys joined ##javaee |
| 08:41 |
|
fabioportieri |
Guest29114: pretty relaxing.. unfortunaly though the next weekend i have some stuff to do.. :/ |
| 08:41 |
|
fabioportieri |
like attend to a bachelor party :| |
| 08:49 |
|
|
neuro_sys joined ##javaee |
| 09:07 |
|
|
sajjadg joined ##javaee |
| 09:40 |
|
|
liecno joined ##javaee |
| 09:58 |
|
|
sajjadg joined ##javaee |
| 10:03 |
|
|
cem__ joined ##javaee |
| 10:04 |
|
cem__ |
hi |
| 10:04 |
|
cem__ |
@Id in hibernate how to specify the strategy |
| 10:04 |
|
cem__ |
like sequence_identity |
| 10:10 |
|
acuzio |
Strategy annotation if i remember correctly - there is an annotation for it |
| 11:00 |
|
fabioportieri |
does this link works to you http://www.apache.org/dist/db/derby/db-derby-10.10.1.1/db-derby-10.10.1.1-bin.zip |
| 11:01 |
|
|
neuro_sys joined ##javaee |
| 11:15 |
|
acuzio |
fabioportieri: yes |
| 11:16 |
|
fabioportieri |
thanks.. having proxy issues.. |
| 11:16 |
|
acuzio |
the zip file might be the issue |
| 11:16 |
|
|
drspockbr joined ##javaee |
| 11:16 |
|
acuzio |
some proxies do that - (its dumb but it happens) |
| 11:16 |
|
fabioportieri |
i'm downloading another thing.. it's stuck on a weird scanning-for-virus screen |
| 11:17 |
|
fabioportieri |
friggin banks |
| 11:18 |
|
acuzio |
You are in a bank /. |
| 11:18 |
|
acuzio |
You are in a bank ? |
| 11:18 |
|
fabioportieri |
yes indeed |
| 11:20 |
|
acuzio |
Italian bank |
| 11:20 |
|
acuzio |
? |
| 11:21 |
|
fabioportieri |
yep i'm currently on banca d'italia |
| 11:21 |
|
acuzio |
You guys are our customer |
| 11:22 |
|
fabioportieri |
oh that's cool |
| 11:22 |
|
acuzio |
You are not in the Sales/Trading side are you / |
| 11:22 |
|
acuzio |
? |
| 11:22 |
|
fabioportieri |
nope |
| 11:22 |
|
acuzio |
Ok - |
| 11:22 |
|
fabioportieri |
and i work for another agency i'm not directly associated with banca d'italia |
| 11:23 |
|
acuzio |
ah ok - i see ., |
| 11:23 |
|
fabioportieri |
it's not so bad here, if only i could download stuff.. |
| 11:26 |
|
Guest76330 |
can't tunnel your way out through some encrypted proxy? |
| 11:26 |
|
|
neuro_sy1 joined ##javaee |
| 11:29 |
|
acuzio |
ssh-proxy |
| 11:29 |
|
fabioportieri |
i managed to download postgres, good enough for me |
| 11:30 |
|
fabioportieri |
i want to setup a little project to learn about jpa/hibernate |
| 11:30 |
|
fabioportieri |
while i'm taskless |
| 11:32 |
|
neuro_sy1 |
yeah take a look at ssh tunneling |
| 11:35 |
|
fabioportieri |
mm will do |
| 11:36 |
|
fabioportieri |
i remembered i don't have admin rights neither :< |
| 11:37 |
|
acuzio |
Generally interested : How are you installing stuff without Admin rights ? I am assuming you are on Windoes |
| 11:37 |
|
acuzio |
windows |
| 11:40 |
|
|
CJ_ joined ##javaee |
| 11:42 |
|
fabioportieri |
acuzio: i'm supposed to not know the admin pass..but i do.. however till now i didn't install anything other than ibm/permitted stuff |
| 11:44 |
|
fabioportieri |
oh right i installed notepad++ without being admin tho |
| 11:48 |
|
cem__ |
i want to do 1 day prj on hibernate +spring + jsf |
| 11:48 |
|
cem__ |
simple prj |
| 11:48 |
|
cem__ |
no idea for now |
| 11:52 |
|
fabioportieri |
do it one step at a time, read tutorials for a basic setup |
| 12:07 |
|
cem__ |
k ill learn hibernate whole of this week :/ |
| 12:08 |
|
fabioportieri |
surial show today |
| 12:09 |
|
cem__ |
http://www.todayssurvival.com/ ? |
| 12:18 |
|
fabioportieri |
? |
| 12:19 |
|
|
neuro_sys joined ##javaee |
| 12:45 |
|
fabioportieri |
fuck bank workstation.. i'm gonna operate on my laptop :p |
| 13:05 |
|
|
Naros joined ##javaee |
| 13:06 |
|
|
Naros left ##javaee |
| 13:23 |
|
|
sajjadg joined ##javaee |
| 13:43 |
|
|
fabioportieri joined ##javaee |
| 14:10 |
|
|
sajjadg joined ##javaee |
| 14:32 |
|
|
sajjadg joined ##javaee |
| 15:05 |
|
|
TxRx127 joined ##javaee |
| 15:05 |
|
|
TxRx127 left ##javaee |
| 15:20 |
|
|
sajjadg joined ##javaee |
| 16:09 |
|
|
jieryn joined ##javaee |
| 16:09 |
|
|
jieryn joined ##javaee |
| 16:32 |
|
|
acuzio left ##javaee |
| 16:32 |
|
|
acuzio joined ##javaee |
| 18:01 |
|
|
neuro_sys joined ##javaee |
| 18:01 |
|
|
neuro_sys joined ##javaee |
| 18:25 |
|
|
aspire joined ##javaee |
| 18:46 |
|
|
SoniEx2 joined ##javaee |
| 18:54 |
|
|
sfisque joined ##javaee |
| 19:15 |
|
|
sajjadg joined ##javaee |
| 20:23 |
|
pdurbin |
man I'm getting good at dropping my database. with all these schema changes |
| 20:32 |
|
|
sajjadg joined ##javaee |
| 20:48 |
|
|
whartung joined ##javaee |
| 21:22 |
|
|
sajjadg joined ##javaee |
| 21:54 |
|
|
sajjadg joined ##javaee |
| 22:02 |
|
|
AlexCzar joined ##javaee |
| 23:16 |
|
aspire |
pdurbin so im dropping my im |
| 23:17 |
|
aspire |
im going to make an email thing instead |
| 23:17 |
|
aspire |
im so unsure about what i want to do its unbelievable |
| 23:17 |
|
aspire |
something that im really interested in is bytecode manipulation but i just cant think of practical uses for it |
| 23:18 |
|
whartung |
Go reimplment AOP for java |
| 23:26 |
|
sfisque |
if you're that interested in bytecode, how about a good GLR compiler compiler for java |
| 23:30 |
|
whartung |
GLR? |
| 23:39 |
|
sfisque |
general left recursion |
| 23:39 |
|
sfisque |
vs LALR or |
| 23:39 |
|
sfisque |
LL(k) for short |
| 23:40 |
|
sfisque |
LR(k) for right recursion |
| 23:41 |
|
sfisque |
LL and LR constructs have issues with natural language, but GLRs can provide grammars that can handle some natural language issues |
| 23:42 |
|
sfisque |
at least, that's the theoretical stance |