Time |
S |
Nick |
Message |
06:50 |
|
|
mr_lou joined ##friendlyjava |
07:27 |
|
|
df0_ joined ##friendlyjava |
07:27 |
|
|
xBADDA555 joined ##friendlyjava |
10:43 |
|
|
mr_lou joined ##friendlyjava |
11:39 |
|
aditsu |
so I'm kinda disappointed with ODF toolkit, I might write my own library instead (and open-source it) |
11:40 |
|
aditsu |
I actually started coding something about that in ~2009-2012, but didn't get very far |
11:41 |
|
aditsu |
well, unless I find something better |
12:08 |
|
aditsu |
is there an efficient way to add a given number of nulls to an ArrayList? |
12:11 |
|
aditsu |
addAll (presumably with nCopies) does toArray and arraycopy; ensureCapacity and add in a loop increments the modcount a lot of times.. |
12:15 |
|
aditsu |
I guess I'll do the latter |
12:43 |
|
pdurbin |
So far I've had the luxury of not having to worry much about efficiency. I just trust that toArray or whatever is fast enough until I hear about performance problems. |
12:47 |
|
aditsu |
yeah I was probably overthinking it |
12:48 |
|
pdurbin |
I guess I'd measure it first. |
12:48 |
|
pdurbin |
Make sure it's a problem. |
12:49 |
|
aditsu |
I chose the 2nd way because it doesn't create extra objects, should be fine |
12:52 |
|
pdurbin |
cool |
13:02 |
|
pdurbin |
aditsu: did you open source the thing from 2009-2012? |
13:03 |
|
aditsu |
nope, it's barely usable.. also, I have 2 different projects that I should combine |
13:07 |
|
pdurbin |
I like how how open source useful stuff. I just throw stuff over the wall whether it's useful to anyone or not. :) |
13:08 |
|
aditsu |
I'm actually working on a library that provides a common API for spreadsheets and table-like things.. the odf thing is for the OpenDocument spreadsheet part (ods files) |
13:10 |
|
pdurbin |
Hmm, interesting. I'm finding myself making a lot of spreadsheets these days. |
13:12 |
|
aditsu |
also, when that's done, I will build a depeche provider for that, so that you can query any sheet or table; I previously built integrations for POI and csv files, but I'd like something more robust and generic |
13:12 |
|
pdurbin |
I'm still not quite sure where I'm going with https://github.com/pdurbin/feedcritic but the main value it has for me is helping me keep my spreadsheet of podcasts organized. This: http://wiki.greptilian.com/podcasts/podcasts.tsv |
13:13 |
|
pdurbin |
aditsu: I assume you'd support tsv as wel. Usually you get that almost for free when you support csv. |
13:14 |
|
aditsu |
sure, I'm using OpenCSV which has lots of options |
14:04 |
|
pdurbin |
cool |
20:42 |
|
|
mr_lou joined ##friendlyjava |
20:56 |
|
|
kirua joined ##friendlyjava |
23:08 |
|
|
xBADDA555 joined ##friendlyjava |