|
Mr SuperAwesome posted:ive been sperging the gently caress out on git lately its amazing once you get into the spergery ugh gently caress this sort of web page layout so much
|
# ? Mar 10, 2014 14:17 |
|
|
# ? Jun 13, 2024 06:48 |
|
Bloody posted:ugh gently caress this sort of web page layout so much
|
# ? Mar 10, 2014 19:19 |
|
Bloody posted:ugh gently caress this sort of web page layout so much why?? it works gr8 on phone and tablet and it works you know it's totally not that bad on desktop
|
# ? Mar 10, 2014 19:30 |
|
pretty sure i didnt get a job because i said 'i dont think that using the same layout for mobile and desktop or even just using a collapsible layout is really the best solution in all cases'
|
# ? Mar 10, 2014 19:31 |
|
USSMICHELLEBACHMAN posted:pretty sure i didnt get a job because i said 'i dont think that using the same layout for mobile and desktop or even just using a collapsible layout is really the best solution in all cases' way off topic, but who's the guy in ur avatar?
|
# ? Mar 10, 2014 19:37 |
|
Doc Block posted:way off topic, but who's the guy in ur avatar? http://www.vanityfair.com/culture/my-phone/2013/03/dave-morin-path-facebook-apple
|
# ? Mar 10, 2014 19:38 |
|
ah yes, the "my phone has no ringtone, that way i'm always on the offensive" douche bag.
|
# ? Mar 10, 2014 19:44 |
|
what's the best way to read XML in java dom4j seems a lil dated
|
# ? Mar 10, 2014 21:12 |
|
isnt there builtin support
|
# ? Mar 10, 2014 21:13 |
|
you're going about it the wrong way. you convert your java to javascript and then use json
|
# ? Mar 10, 2014 21:15 |
|
Bloody posted:isnt there builtin support there's jaxb but that seems to be for serializing java objects in particular, not reading arbitrary xml
|
# ? Mar 10, 2014 21:17 |
|
yeah I generally use jaxb but jaxp is probably what u want. theres a couple different parsing models so u can read up and pick the one u want.
|
# ? Mar 10, 2014 21:33 |
|
fff, missed jaxp completely in the mess of 2005-era google results. ty
|
# ? Mar 10, 2014 21:36 |
|
if u have a schema jaxb is totally the way to go and even if you don't if you have an example of a complete document u could build an xsd from it and then use jaxb. the laziest way is to just use the XPath class I would think.
|
# ? Mar 10, 2014 21:53 |
|
hey shags if i wrote a java thing i wanted served on my vps what is the most lightweight, painless way for me to do that
|
# ? Mar 10, 2014 22:19 |
|
applets.
|
# ? Mar 10, 2014 22:31 |
|
coffeetable posted:what's the best way to read XML in java if u just need to do something real simple or have cpu/ram constraints then sax or possibly stax. the jaxp dom api really sucks dick though, like NodeLists don't even implement Iterable
|
# ? Mar 10, 2014 22:32 |
|
USSMICHELLEBACHMAN posted:pretty sure i didnt get a job because i said 'i dont think that using the same layout for mobile and desktop or even just using a collapsible layout is really the best solution in all cases' congratulations you know something about adaptive design. adaptive > responsive. sorry the interviewer didn't know that.
|
# ? Mar 11, 2014 03:18 |
|
horse mans posted:hey shags if i wrote a java thing i wanted served on my vps what is the most lightweight, painless way for me to do that idk of any vps hosts so I cant really help u there, but if its a war you can just throw it up in tomcat or maybe jetty.
|
# ? Mar 11, 2014 03:38 |
|
i use runit for jars. actually on my centos vps the tomcat instance is under runit also
|
# ? Mar 11, 2014 03:43 |
|
Shaggar posted:if u have a schema jaxb is totally the way to go and even if you don't if you have an example of a complete document u could build an xsd from it and then use jaxb. found a schema, built a model, discovered jaxb owns.
|
# ? Mar 11, 2014 10:13 |
|
i don't understand cross compilation. if i'm trying to build something targeting armv6 or w/e shouldn't it work if i'm running make on the actual device itself w/all the source, why do i need to get this tool chain poo poo
|
# ? Mar 11, 2014 14:43 |
|
uncurable mlady posted:i don't understand cross compilation. if i'm trying to build something targeting armv6 or w/e shouldn't it work if i'm running make on the actual device itself w/all the source, why do i need to get this tool chain poo poo compiling a program on a mobile device would be pretty slow
|
# ? Mar 11, 2014 14:46 |
|
coffeetable posted:compiling a program on a mobile device would be pretty slow what if you made a mobile-device vm and gave it a ridiculous amount of power and resources?
|
# ? Mar 11, 2014 14:46 |
|
coffeetable posted:found a schema, built a model, discovered jaxb owns. ya. if the schema isn't updated often u can just use xjc once to build the model, but if you need to rebuild it often u can use either cxf-xjc-plugin or cxf-codegen-plugin to have maven create the model classes during the generate sources phase (or w/e phase u want really). I usually keep it in a separate project from the final client/model project. both plugins are wrappers around xjc that just makes it easier to generate than using the command line like a joker.
|
# ? Mar 11, 2014 15:00 |
|
coffeetable posted:compiling a program on a mobile device would be pretty slow pretty much this. my thesis targeted arm and i compiled it on the device once and looool it took a good day and it wasnt even very complex. lotta embedded platforms probably can't compile for themselves at all, either.
|
# ? Mar 11, 2014 15:17 |
|
Bloody posted:pretty much this. my thesis targeted arm and i compiled it on the device once and looool it took a good day and it wasnt even very complex. lotta embedded platforms probably can't compile for themselves at all, either. my general feeling is that it can't compile for itself for some dumb reason.
|
# ? Mar 11, 2014 16:57 |
|
Bloody posted:pretty much this. my thesis targeted arm and i compiled it on the device once and looool it took a good day and it wasnt even very complex. lotta embedded platforms probably can't compile for themselves at all, either. exactly right, tons of stuff doesn't run an underlying os so its impossible to compile on the hardware
|
# ? Mar 11, 2014 16:57 |
|
what if the device is running a lunix tho
|
# ? Mar 11, 2014 16:59 |
|
then ya you can install gcc or whatever and compile locally but lol don't
|
# ? Mar 11, 2014 17:01 |
|
i can not figure out all this android stuff, idk if its the java build process or the android infrastructure or ??? but drat I'm floundering old dog new tricks etc
|
# ? Mar 11, 2014 23:42 |
|
fritz posted:i can not figure out all this android stuff, idk if its the java build process or the android infrastructure or ??? but drat I'm floundering are you the guy that I was just talking to on fb about this? complaining about java's enums
|
# ? Mar 12, 2014 00:01 |
|
AlsoD posted:are you the guy that I was just talking to on fb about this? complaining about java's enums not me, i got no beef w/ anybody's enums
|
# ? Mar 12, 2014 00:55 |
|
if you look long enough enum kinda looks like anus
|
# ? Mar 12, 2014 03:58 |
|
if you look long enough anything looks like anus.
|
# ? Mar 12, 2014 04:14 |
|
prefect posted:what if you made a mobile-device vm and gave it a ridiculous amount of power and resources? the fast android VMs run an x86 version of android
|
# ? Mar 12, 2014 04:28 |
|
i think android was the only of the phone os's that tried to do arm emulation. ios always did just compile and run an x86 version afaik, wp always ran x86 version of the os in hyperv but, cross-compilation is only something that matters if your dev tools suck (e.g. you try to manage a cross-compiling setup by hand with random gcc binaries tossed together)
|
# ? Mar 12, 2014 12:31 |
|
i discovered that java has non-short-circuiting boolean AND and OR. I've never seen them used. gonna use every chance i get
|
# ? Mar 12, 2014 20:43 |
|
why would you want that? i love abusing short-circuit AND/OR
|
# ? Mar 12, 2014 20:59 |
|
|
# ? Jun 13, 2024 06:48 |
|
my code is loaded w/ if(thing!=null && thing.<the real test goes here>)
|
# ? Mar 12, 2014 21:01 |