Open Side Menu Go to the Top

06-19-2014 , 10:42 PM
Tonight I went to implement this little thing that had been on my todo list for the last 2 months and then I looked and apparently I did it 2 months ago and forgot

I'm not sure whether or not to be happy about that
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
06-19-2014 , 11:14 PM
Quote:
Originally Posted by Greeksquared
I am leaning towards going to Zipfian's 12 week program myself as I think the environment will be magnitudes better than learning on my own. Zipfian is also starting a similar 6 week data fellowship geared towards data engineers.
That seems pretty cool. I'd probably go for the 12-week, but to be around those teachers would be amazing no matter how much time you spend.

Quote:
Muttiah is obviously a friggin' beast but aren't you also? Are you thinking about going?
Your poker bot could crush my bot cold.

I have a lot of reputation for things I never did and its not from my fingers.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-20-2014 , 03:56 AM
So in the real world, are Android apps designed in Java and converted to Android or are they built in Android?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-20-2014 , 04:34 AM
Quote:
Originally Posted by yeotaJMU
So in the real world, are Android apps designed in Java and converted to Android or are they built in Android?
Not really sure what you're asking. Android apps are written in the Java language. The Android platform provides an SDK that can be accessed from these Java apps. The app is compiled and then run on the Dalvik VM on Android devices, although this will soon be replaced by a new VM. Java on Android does not support the traditional Java GUI components. There are Android replacements for most of these things.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-20-2014 , 09:12 AM
Quote:
Originally Posted by yeotaJMU
So in the real world, are Android apps designed in Java and converted to Android or are they built in Android?
Android

I would read the content at this link. Please feel free to ask more questions that you may have as a lot of people on this forum can answer them.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-20-2014 , 10:24 AM
Quote:
Originally Posted by gaming_mouse
possibly stupid question, but have you tried youtube? it seems like they would provide an api, though i've never used it myself.
I realistically should probably just use this. I was hoping to use something else, but it's probably fine. They do have a javascript API and it's probably what I'll end up using for V1 of my site.

On another note, embed.ly is a pretty slick service.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-20-2014 , 11:44 AM
Quote:
Originally Posted by Nchabazam
I realistically should probably just use this. I was hoping to use something else, but it's probably fine. They do have a javascript API and it's probably what I'll end up using for V1 of my site.

On another note, embed.ly is a pretty slick service.
if you're looking to for a higher rent feel with the video player itself, you should check out the youtube chromeless options:

https://developers.google.com/youtub...omeless_player

i used this a couple years ago and can make the player look much more minimalist and slick than the standard one. that said, if i had to do it again today i'd just say **** it and use the standard one because everyone is used to it and no one cares it's kind of jank, so it doesn't matter unless you're specifically building a high end, arty looking website where details like that are super important to the brand.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-20-2014 , 02:52 PM
Quote:
Originally Posted by maxtower
Not really sure what you're asking. Android apps are written in the Java language. The Android platform provides an SDK that can be accessed from these Java apps. The app is compiled and then run on the Dalvik VM on Android devices, although this will soon be replaced by a new VM. Java on Android does not support the traditional Java GUI components. There are Android replacements for most of these things.
Yes I should have clarified... Android uses JAVA for like, operations code, but the design of the UI especially is very different.

From what I have read, there are ways to design an entire program in JAVA, and then convert it straight to be compatible with Android.

The question would be then - do people write programs in JAVA and then convert? Or are they familiar with the Android syntax and building from scratch in the Android interface.

Quote:
Originally Posted by adios
Android

I would read the content at this link. Please feel free to ask more questions that you may have as a lot of people on this forum can answer them.
Thanks for the link - I am stepping out for a bit but will read it this evening!





I am also asking because I am starting to develop my own app to get familiar with the Android language. Some of you might recognize my username as the guy who was asking about an associates degree, so I'm trying to expand into Android as I think that can give me an edge in finding jobs.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-20-2014 , 04:30 PM
I think you are getting a little confused. From what I understand, you write in java but it conforms to the android framework. There is no such thing as an android language
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-20-2014 , 05:11 PM
Quote:
Originally Posted by Barrin6
I think you are getting a little confused. From what I understand, you write in java but it conforms to the android framework. There is no such thing as an android language
Unless I'm misunderstanding there are definitely a lot of different syntaxes used, particularly for the UI. But it's very possible I'm wrong. I just did the Google dev tutorial for "My First App"
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-20-2014 , 05:19 PM
Quote:
Originally Posted by yeotaJMU
So in the real world, are Android apps designed in Java and converted to Android or are they built in Android?
Just install the Android SDK for Eclipse (you also want an Android device to test if possible, the emulator was dirt slow when I tried it). It has a "GUI builder". Code is usually Java (+a bunch of XML). There are non-Java options like Apache Cordova/PhoneGap but I'd guess >80% (prob. >90) is built using Java.

Android uses a slightly different VM (Dalvik) than vanilla Java but essentially you write Java and won't notice a difference, you can use library stuff etc. What looked different was probably all the XML which is used for a lot of stuff.
You develop in Eclipse on your desktop/laptop and then send it to your device and the app runs on it
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-20-2014 , 10:34 PM
Ah yes it's the xml that's different
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-20-2014 , 11:18 PM
Anyone know of a web site that lets you draw a curve and then gives you the points that make up that curve? My google foo is failing me.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-22-2014 , 05:10 PM
How do you make DELETE and PUT restful methods in HTTP? Obv HTML5 forms fail to support them because that would make too much sense.

edit: I'm making a todo list app in node because yeah what do I know and I don't know what URI to have the todo's delete button form action point to. I can't use "(todo)/delete" as there could be multiple same todos. Is that even restful? I could use the number of the list of course but again doesn't seem very resty.

Last edited by Grue; 06-22-2014 at 05:18 PM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-22-2014 , 05:26 PM
Quote:
Originally Posted by Grue
How do you make DELETE and PUT restful methods in HTTP? Obv HTML5 forms fail to support them because that would make too much sense.

edit: I'm making a todo list app in node because yeah what do I know and I don't know what URI to have the todo's delete button form action point to. I can't use "(todo)/delete" as there could be multiple same todos. Is that even restful? I could use the number of the list of course but again doesn't seem very resty.
Options seem to be: submit your form using ajax, or add a hidden form field to specify the request type, and handle it server side, either with middleware before your framework handles the requests, or in your framework itself (most have built in mechanisms for this, i believe)
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-22-2014 , 05:49 PM
Those options suck. Lol backend =/

I'm not using a framework (just node http & fs) and writing my own middleware because why not start from the bottom (and not bothering with client side JS yet). This experience has been.. illuminating to say the least.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-22-2014 , 07:16 PM
it does suck, but that's web dev. i searched around a bit and those seems to be the accepted options given the lack of browser support.

a third option is to consider the http spec as a hallway monitor nerd nitpicker ("hey guys, if your *changing* a resource it should be PUT, not POST. c'mon, you guys!") and just yank his cap down over his eyes, "lol" like everyone else, and use POST for everything.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-22-2014 , 09:31 PM
I've started playing around a bit with making javascript games. Is there a go to sprite creation tool?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-22-2014 , 10:52 PM
Quote:
Originally Posted by Grue
Those options suck. Lol backend =/

I'm not using a framework (just node http & fs) and writing my own middleware because why not start from the bottom (and not bothering with client side JS yet). This experience has been.. illuminating to say the least.
It'll make you a better man... and **** no, I'll never build a website again. Just use WordPress and pretend the world is full of roses.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-23-2014 , 12:05 AM
Quote:
Originally Posted by daveT
and **** no, I'll never build a website again. Just use WordPress and pretend the world is full of roses.
i just died a little, dave.

from enthusiastic lisp devotee, excited C student, and follow-the-turtles-all-the-way-down auto-didact to defeated word-press shill.


Spoiler:
i guess you're finally a real developer
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-23-2014 , 02:19 AM
Quote:
Originally Posted by gaming_mouse
i just died a little, dave.

from enthusiastic lisp devotee, excited C student, and follow-the-turtles-all-the-way-down auto-didact to defeated word-press shill.


Spoiler:
i guess you're finally a real developer
You just made me smile and cry.

I sort of see it as a Shoe-style epiphany. We all like to believe that the bleeding- edgers are the smart ones, but that is mere illusion. The guys who figured out how to secure a site and make the entire experience of building a site a happy experience are the smart ones.

Don't take it as a bad sign. I'd rather not build a site and learn about other things. I expect to find even more crazy.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-23-2014 , 02:43 AM
One cannot appreciate Wordpress et al fully until one has attempted to implement similar from scratch, imo.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-23-2014 , 06:10 AM
Anyone know a service that will use AJAX to forward HTTP Posts and Gets to your local machine? Trying to test out payment processors, can't seem to get my machine to be publically available (I think network admin in building has blocked some ports or something).
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-23-2014 , 08:47 AM
Quote:
Originally Posted by e i pi
I've started playing around a bit with making javascript games. Is there a go to sprite creation tool?
Tiled/tmx is great for tile based maps and sprites. Dunno what languages it supports but there are bindings to use it with pygame.

http://www.mapeditor.org/
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
06-23-2014 , 09:53 AM
Quote:
Originally Posted by _dave_
One cannot appreciate Wordpress et al fully until one has attempted to implement similar from scratch, imo.
It's been a long time since I used wordpress, and it was only surface use, but my memory of it, and every similar "platform" i've ever used, is of spending hours fighting the framework to do some simple thing that would take 2 minutes in code I'd written myself.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

      
m