greptilian logo

IRC log for #friendlyjava, 2017-11-19

##friendlyjava on freenode

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
06:36 df0_ joined ##friendlyjava
09:23 aditsu hmm, for code generation there's also CodeModel - https://javaee.github.io/jaxb-codemodel/ (apparently used by JAXB) - but there's not much documentation for it, except some blog posts by various people
09:27 aditsu there are various other projects too
10:04 xBADDA555 joined ##friendlyjava
11:25 xBADDA555 joined ##friendlyjava
12:57 kirua joined ##friendlyjava
13:20 pdurbin Why are you wanting to generate code again? What problem are you trying to solve?
13:21 aditsu pdurbin: write a library for OpenDocument files (especially spreadsheets)
13:21 aditsu I think it's better to generate code to model the schema instead of doing it by hand
13:23 aditsu I think javapoet is fine (with a couple small modifications)
13:23 pdurbin Are OpenDocument files popular? Is it a popular file format?
13:24 aditsu generally.. not too popular I guess, but they're very popular with me :)
13:24 pdurbin I'm looking at https://en.wikipedia.org/wiki/OpenDocument
13:25 aditsu there is a "Response" section
13:25 aditsu and Adoption
13:26 aditsu NATO with its 26 members uses ODF as a mandatory standard for all members.
13:27 aditsu UK government too
13:27 pdurbin But why spreadsheets and not CSV files and code?
13:29 aditsu because I write things in spreadsheets, using LibreOffice
13:32 pdurbin Ok, I use Google Spreadsheets. But just to store data, generally. I don't use a lot of formulas.
13:32 aditsu also sometimes I get spreadsheets with data that I need to process (although they're always in excel format)
13:33 aditsu I use (simple) formulas, and formatting
13:33 pdurbin sure
13:34 aditsu oh, I also need to generate spreadsheets (but again, in excel format)
13:38 aditsu but I want my spreadsheet library to support OpenDocument too (and for that purpose, I want to write a library for OpenDocument, as I don't like the existing ones)
13:42 aditsu I also use Google Sheets, but only when I want to share info with others or want to access them on my phone too
13:42 aditsu my library could support Google Sheets too :)
13:43 aditsu but I haven't really looked into it yet
14:22 pdurbin I don't have Excel installed on the iMac we just bought. It comes with something called "Numbers" that doesn't export to OpenDocument format. It exports to PDF, Excel, CSV, and "Numbers '09". I just feel like this OpenDocument format isn't very popular.
14:23 pdurbin And yet I agree that spreadsheets are useful, generally.
14:23 aditsu I couldn't care less about apple products
14:23 aditsu anyway, you should install LibreOffice
14:25 aditsu I also agree, OpenDocument isn't popular enough, because of microsoft's historical dominance
14:25 pdurbin I'm trying not to junk up this new iMac with too many programs. I did install Firefox, Chrome, and a little app to make our scanner work.
14:25 pdurbin In a moment of weakness I installed the Twitter app. :)
14:26 aditsu (but I think it should be)
14:32 pdurbin I guess you could say my strategy has been to avoid all spreadsheet formats and simply using the lowest common denominator, CSV or TSV.
14:33 aditsu if you can live with the lowest common features, I guess that's fine :p
14:37 pdurbin I'm typing from a text-based IRC client I opened after ssh'ing into a server. I'm fine with the lowest common denominator. :)
14:38 aditsu yikes
14:40 aditsu I wonder what's the point in getting a mac then.. sounds like a raspberry pi would do just fine
14:44 pdurbin It's the family computer. It's in the kitchen. Our 6th grader does homework on it.
14:46 aditsu so your kid has greater needs than you :)
14:46 aditsu I think the Raspberry Pi was actually made mainly for educational purposes..
14:48 pdurbin I was showing the kids how to make some simple formulas in Google Spreadsheets the other day. I do want them to know how to use spreadsheet programs.
14:49 aditsu so much for lowest common denominator :p
14:50 pdurbin I don't see a need to teach them about OpenDocument formats. I can just explain CSV and TSV some day for compatibility.
14:51 aditsu but do you see a need to teach them about ms office formats (old and new)?
14:52 pdurbin It looks like Google Spreadsheets can export to OpenDocument format (.ods). I've never exported to this format before.
14:52 aditsu sure it can
14:53 pdurbin I'm not sure if we'll install Word, Excel, and PowerPoint on this iMac or not. The 6th grader is required by the school to use Google Docs and Google Spreadsheets and Google Slides.
14:56 aditsu it's a new world, eh? :)
14:57 pdurbin a cloudy world
14:57 pdurbin It sort of makes sense. I can't imagine requiring all parents to purchase Word, Excel, and PowerPoint.
14:58 aditsu that's why everybody should use LibreOffice :) and ideally OpenDocument formats, although LO can also handle the ms formats
15:00 pdurbin Well, the kids collaborate on docs and slides. It's nice that they don't have to email files around. They don't even have email.
15:01 aditsu doesn't the Google account come with Gmail?
15:03 pdurbin Sure, but email isn't enabled. And who wants to email slides back and forth with collaborators? It's better to have it centralized. Emailing around OpenDocument format or any format would be a worse user experience.
15:03 aditsu sure, I was just asking about email in general
15:06 aditsu as for documents, I have privacy and reliability concerns about this "cloud" stuff (I hate the term), but I agree it's very convenient when those concerns don't apply
15:09 pdurbin These are just slides kids made about rainforests or whatever.
15:10 pdurbin It might be nice to encourage kids to download their work at the end in a non-proprietary format.
15:15 pdurbin I don't love the word "cloud" either but the game has changed.
15:21 pdurbin Huh. ".odg and .fodg for graphics". From the Wikipedia page. I wonder what that's about.
15:21 aditsu I'm not sure what are those ".f*" formats, as for odg, it's for diagrams and stuff
15:24 aditsu vector graphics editor
15:24 aditsu /format
15:25 aditsu it doesn't have a direct counterpart in ms office
15:29 pdurbin ok, thanks
15:32 aditsu oh, maybe it corresponds to Visio, see https://en.wikipedia.org/wiki/Comparison_of_office_suites#Main_components
15:33 pdurbin Oh, Visio. Makes sense.
15:34 aditsu apparently only a viewer is included in ms office, you have to buy it separately
15:36 pdurbin Yeah, I finished reading the Wikipedia page and support seems to be somewhat spotty. It does seem like these formats are used fairly widely but just not in the country I happen to live in (the US).
15:37 pdurbin I appreciate being able to open Excel files from Linux using LibreOffice Calc.
15:38 aditsu you guys don't even use the metric system, so I don't expect much :p
15:39 pdurbin "My car gets 40 rods to the hogshead and that's the way I likes it!"
15:52 aditsu https://www.youtube.com/watch?v=07vdtBMG4Kg
16:10 pdurbin heh
19:46 kirua joined ##friendlyjava
21:06 kirua hi
21:06 kirua i'm looking to schematize xsd (and wsdl) with an app, to have a nice diagram i can put in a document, do you know a (free) app that does that well ?
21:07 aditsu how can you schematize a schema?
21:09 kirua indeed its the wrong word but i think you got xhzt i merzn
21:10 aditsu maybe I got xhzt you merzn, or maybe I didn't :p
21:11 aditsu anyway, I'm not aware of a tool to make a diagram from a schema
21:11 aditsu but you can search for one
21:12 aditsu kirua: does this help? https://stackoverflow.com/questions/2486758/how-to-visualize-an-xml-schema
21:13 kirua yes it does ! thx :)
21:41 aditsu hmm.. is a choice in a choice the same as the flattened choice, or am I losing my mind?
21:42 aditsu http://relaxng.org/tutorial-20011203.html#IDA5EYR
22:29 aditsu so anyway, I got 826 classes now, with no errors :) not finished, but getting closer..
22:34 aditsu a bunch of them are redundant though..

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

##friendlyjava on freenode