Open Side Menu Go to the Top

04-16-2014 , 12:06 PM
Quote:
Originally Posted by jmakinmecrzy
yea java only has signed ints, I'm pretty sure.

I think a 4.0 at the CC level is entirely feasible. I have finished all my general ed credits (except calc 2) with a 4.0, so unless calc or C++ proves insanely difficult, I think I can do it.

Certainly not gonna beat myself up if I don't, it was just a goal of mine to transfer with a 4.0
It is definitely possible. I transferred with a 4.0 and still have one until this semester. Started 400 level courses this semester and pretty sure I am going to get 1 or 2 Bs. My Operating Systems professor is extremely difficult. Just retired from IBM, never taught before, and is extremely technical. Theory of Computation is just a legitimately difficult course.
** 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 **
04-16-2014 , 12:15 PM
Quote:
Originally Posted by Burnss
design patterns...for my project i was originally going to do model-view-controller but have ended up with view/controller being in the same class. The logic doesnt halt any of the view and the view doesnt really do that much (its just one poker table).

what kind of design pattern would this be called? :S doubt there is one lol
I've heard view model or MVVM (if you're doing 2 way binding) thrown around if you're talking about just a view and a model with no controller. It doesn't really matter what you call it though.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2014 , 01:10 PM
There is nothing as hard in the programming world as figuring out how to get a movie from your iPad to your Mac then cut a few seconds off the end and beginning. Apple puts me into an instant blind rage every time I have to figure some new **** out like this which should be their bread and butter (Grammy wants to get her Ipad video onto her shiny new Mac and edit it a little). It blows my mind how hard they make some of the simplest things.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2014 , 01:22 PM
Is that hard? I've done that and I'm an incompetent when it comes to things like this. Isn't it just automatically imported into iPhoto/iMovies and from there its like a simple cut or something.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2014 , 02:34 PM
Ok here are the steps gleaned through much googling:
  1. Install google drive or dropbox (need iOS7 for dropbox) on iPad
  2. Upload video to one of those
  3. Download video to Mac (the fact that Nana can't just easily just get her movie of her grandkids onto her mac in one step boggles my mind)
  4. Open video in iMovie
  5. Create *new* iMovie (this is the step I was stuck on for a while)
  6. Copy existing movie into new movie (must copy all of it)
  7. In new movie, trim frames from the beginning and end through some kind of weird select/crop that can only be learned through googling (and even the guy in a video took a few tries to get it right)
  8. Click share button (there is no Save or Save As - had to google this one as well)
  9. Share to filesystem (unless you just wan to go straight to youtube)
  10. Upload to youtube - but note the Movie will appear immediately in finder, but won't be complete until iMovie pops up a window to tell you so - so if you upload to soon Youtube will go through all the motions then fail in the processing step.

And Voila - just like the commercials with the happy multi-ethnic 20-somethings effortlessly creating beautiful art with their mind-meldingly simple-to-use Apple products.

Last edited by suzzer99; 04-16-2014 at 02:41 PM.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2014 , 02:54 PM
Does the ipad not have a free app for simple video editing?

If not, you should make a startup out of it and like usual just send me 50% of your profits for the idea.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2014 , 02:59 PM
Good point. Maybe they do.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2014 , 03:48 PM
Does anyone have some advice for getting started in parallel programming? I've taken the follow up to CS50 for systems programming (CS61 through the extension school), but I'd like to get a bit more experience before taking an HPC class next semester. Can I learn the basics on my macbook air or do I need to buy a GPU computer? Should I start by joining an open source project or going through a book, and any recommendations for either?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2014 , 04:37 PM
Quote:
Originally Posted by alex23
Does anyone have some advice for getting started in parallel programming? I've taken the follow up to CS50 for systems programming (CS61 through the extension school), but I'd like to get a bit more experience before taking an HPC class next semester. Can I learn the basics on my macbook air or do I need to buy a GPU computer? Should I start by joining an open source project or going through a book, and any recommendations for either?
I've been looking into GPU programming lately. It's my understanding that you should be able to access the macbook's GPU, but which platform you can use depends on the card. CUDA is less flexible, but easier to learn, but it requires an NVidia card. My '10 air has an NVidia card, but my late '12 mac mini uses Intel, so I'd have to use OpenCL to access it. Also, some versions of MacOS had a GPU problem, so I went ahead and upgraded the 'mini to Mavericks, possibly my first OS upgrade ever as I tend to be very lazy about that sort of thing.

That said, I'm strongly considering buying a PC + GPU. It's unfortunate I can't just buy a thunderbolt GPU for the mini, or even a USB GPU, but since most people need high throughout for graphics, no one has been quick to market one. I think you can do this by running windows with bootcamp, but I'd just as soon have the extra machine sitting in the corner crunching numbers.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2014 , 04:38 PM
There's the Udacity class
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2014 , 08:06 PM
Quote:
Originally Posted by Allen C
There's the Udacity class
Yeah, I found the platform a bit tricky to debug/test things out in. Did you go through that class? What did you think?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2014 , 08:14 PM
The default iOS video player can crop videos, all you have to do is drag near the ends of the video until you highlight the part you want to keep, then hit the trim button. Also, I don't understand the whole uploading to dropbox/google drive thing, image capture pops up automatically when I plug my phone in and from there I can download videos/images.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2014 , 08:57 PM
On a Mac? If so please describe how you download images from your iPad. iTunes is the only thing that pops up for me.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2014 , 09:59 PM
Quote:
Originally Posted by alex23
Yeah, I found the platform a bit tricky to debug/test things out in. Did you go through that class? What did you think?
No, but I completed 5 other Udacity classes and enjoyed them all a lot. I did the first week of that one but didn't have the time to continue and that post reminded me about it.

You might be right about the platform, all my other classes used the in-browser python, and the browser Cuda seemed about the same, but it might not be as simple to set up an environment on your own computer. I haven't tried.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2014 , 10:03 PM
Quote:
Originally Posted by daveT
Thanks for the answer.

Isn't the architecture and the assembly hand-in-hand? I figure if you can wrap your brain around one architecture, then the next one will be a bit easier. They are mostly derived and reduced from each other.

The assembly book I'm finally getting back to takes plenty of pot-shots at the architecture, but at the same time, from a historical perspective, it may well be the best that can be done in the short history and many iterations of the various formats, but I don't know enough to say one or two on this subject.

Obviously, I don't want to work on BIOS. I don't think I'll ever do serious development on 'dose again, but at the same time, the resources are there, so why the heck not and what can it really hurt anyways to learn about Endian, bits, and registers? FWIW, I use Linux for this stuff anyways.
I certainly agree that if you become adept at one it makes the next one easier. I don't think it hurts not sure if it really helps that much though. I shouldn't discourage your efforts either.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2014 , 10:15 PM
Quote:
Originally Posted by alex23
Does anyone have some advice for getting started in parallel programming? I've taken the follow up to CS50 for systems programming (CS61 through the extension school), but I'd like to get a bit more experience before taking an HPC class next semester. Can I learn the basics on my macbook air or do I need to buy a GPU computer? Should I start by joining an open source project or going through a book, and any recommendations for either?
I'll bite, why would you need a GPU to do parallel programming? It is entirely possible that I am under a misconception on what you mean regarding parallel programming. Here is my conception in a simplified example, take a polynomial x**2 + x*2+1. Computing the value for a given x involves two multiplies and 2 additions. However, by factoring it into (x+1)(x+1) only two additions and one multiply are needed. Computing the individual factors can be done in parallel thus speeding up the computation even more.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-16-2014 , 10:33 PM
Quote:
Originally Posted by adios
I'll bite, why would you need a GPU to do parallel programming? It is entirely possible that I am under a misconception on what you mean regarding parallel programming. Here is my conception in a simplified example, take a polynomial x**2 + x*2+1. Computing the value for a given x involves two multiplies and 2 additions. However, by factoring it into (x+1)(x+1) only two additions and one multiply are needed. Computing the individual factors can be done in parallel thus speeding up the computation even more.
Lol. I don't actually know. I'm aware that one can learn parallel programming on any modern cpu, but I don't have enough expertise to know whether GPU programming is very different or very important for machine learning (what I'm studying).
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-17-2014 , 12:21 AM
Quote:
Originally Posted by adios
I'll bite, why would you need a GPU to do parallel programming? It is entirely possible that I am under a misconception on what you mean regarding parallel programming. Here is my conception in a simplified example, take a polynomial x**2 + x*2+1. Computing the value for a given x involves two multiplies and 2 additions. However, by factoring it into (x+1)(x+1) only two additions and one multiply are needed. Computing the individual factors can be done in parallel thus speeding up the computation even more.
Yeah, but this falls apart once you begin to consider n-sized polynomials. There's some cool algorithms for that though.

I would think it would be much better to learn about concurrency before parallel computing. Topics like what the Actor Model is and the short-coming and what functional programming is and how it tries (and fails) to solve the large short-coming of the Actor Model isn't just ivory tower topics anymore. Not only that, you won't sound like an idiot because you use concurrent programming and parallel programming interchangeably.

SICP gives an amazing meta study of this topic... in 1985.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-17-2014 , 06:31 AM
File uploads in one page apps (particularly with the way rails handles file uploads) are a massive pain in the ass.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-17-2014 , 06:49 AM
Handling file uploads is like one of the worst parts of making websites
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-17-2014 , 10:04 AM
Quote:
Originally Posted by Nchabazam
File uploads in one page apps (particularly with the way rails handles file uploads) are a massive pain in the ass.
Quote:
Originally Posted by Gullanian
Handling file uploads is like one of the worst parts of making websites
i've not used it myself, but this site has gotten a lot of press and might be worth checking out:

https://www.inkfilepicker.com/
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-17-2014 , 10:13 AM
Quote:
Originally Posted by gaming_mouse
i've not used it myself, but this site has gotten a lot of press and might be worth checking out:

https://www.inkfilepicker.com/
If there's one thing I've learned, it's that I don't google enough for 3rd party solutions. This is pretty slick.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-17-2014 , 11:58 AM
I have no idea what I'm doing, but I found it no trouble to get file uploads working with the Dojo JavaScript library in my single-page Dojo app. Admittedly I have the luxury of not caring about "other browser" support, but I think it should take care of that anyhow. I used PHP for the backend, don't know Ruby.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-17-2014 , 12:14 PM
I can't imagine paying for a file upload as a service unless I had really specific needs.

What's wrong with using something like https://github.com/blueimp/jQuery-File-Upload?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-17-2014 , 02:20 PM
Quote:
Originally Posted by alex23
Lol. I don't actually know. I'm aware that one can learn parallel programming on any modern cpu, but I don't have enough expertise to know whether GPU programming is very different or very important for machine learning (what I'm studying).
I took the Udacity CUDA programming class when it first ran and recommend it. It's challenging and time-consuming, but worth taking if you are curious about GPU programming.

As far as applicability to machine learning, Andrew Ng's team used several GPUs to train a huge neural net that ended up recognizing cats on YouTube videos. Found the article:
http://www.wired.com/2013/06/andrew_ng/

adios - The motivation for GPU vs CPU parallel programming is that a modern GPU has 1000+ cores, while CPUs have 4-8.
** 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