Digital Lifestyle
Cloudscout
– December 16, 2007 02:54PM
"Digital hubs." iPod and its successors. (iPhone?) Convergence. How ridiculous will DRM get? Yep, put it all together and it just might make for a successful thread.
John Willoughby
– March 05, 2009 07:56AM
Homo Sapiens Sedentarius
No, basic would look like this:
10 PRINT "Hello, world"
20 END
johnny k
– March 05, 2009 10:24AM
DDT:
A) Thank god they switched. Python is better in so many ways, starting with ease of use. Great for quick and dirty prototyping, so good for school stuff. It feels more like a living language, with simple solutions to common problems. Putting Python on S60 is the greatest thing that Nokia/Symbian has done lately.
B) Congrats! I School looks like it will be a lot of fun, judging by the coursework and faculty. (Kimiko Ryokai is an alumni of here, never got to see a demo of her awesome-looking I/O Brush.)
Sorry for the lateness, I've had my head underwater lately. We should talk offline.
Alan Lehman
– March 05, 2009 12:15PM
Just don't get your tabs and your spaces mixed up. MIMS or Ph.D.?
ddt
– March 05, 2009 12:44PM
MIMS -- that'd give me _nine_ letters after my name. boo yah.
tabs? spaces?
johnny, there was an open house for her tactile interface class. think you would have liked it. sadly, the throw-a-ball-at-the-wall battleship game was a little undercooked, as was the recording etch-a-sketch. but she has a big fan base, it seems. i'll have to ask her about media lab times.
ddt
Mokers
(Moderator)
– March 05, 2009 01:28PM
Formerly Remy Martin
My apartment is always an open house for tactile interface lessons.
ddt
– March 05, 2009 01:33PM
does that involve the gooey?
ddt
Alan Lehman
– March 05, 2009 02:37PM
DDT the short version is the python is a white space aware language. By indenting the lines you set the nesting level. Tabs are treated as 8 spaces regardless of how many spaces the tab stop actually appears to indent (typically 4). So if you're mixing tabs and spaces while you're indenting, you may end up with code that looks correct visually but is actually improperly nested. This many manifest itself in a variety of entertaining ways when it comes time to execute the code.
Here is the
long version of the answer.
9 letters. Sadly my pay grade has gone down every time I've added letters. Supply and demand I guess.
Edited 1 time(s). Last edit at 03/05/2009 02:40PM by Alan Lehman.
ddt
– March 05, 2009 03:40PM
don't tell me that (the pay grade thing)! maybe it has something to do w/ specialization? fortunately for me, this has zero to do with the last 15 years of work and education.
thanks for the heads-up on tabs and spaces. what do you use to work with python? is it all done in a compiler or like html, where you use a word processor, bbedit, etc.? suppose i'll learn this soon enough, but what i mean is any recommendations?
though that does sound like how i used to take notes in college.
ddt
Alan Lehman
– March 05, 2009 05:48PM
I don't work with python yet. I actually expect to work with java next. When I use perl I use BBEdit Lite (which I think is only found in PPC binaries) almost exclusively unless I'm on a remote host then I use **gasp** pico or nano (some old timer is rolling in his grave--now let's see who restarts the vi, vim, emacs religious wars again). I imagine on an intel Mac I'd use the newer free Text Wrangler or the professional BBEdit. I expect that when I get around to python it will be exactly the same setup.
I tried to like SubEthaEdit (and it is nice and feature rich) but they were features that I didn't really need. The Bare Bones find and replace always brings me back to programs in the BBEdit lineage.
In general there are no compilers in perl or python. I think the term is run time interpreter. Whatever. Just remember to make the .py script file into an executable with "chmod +x yourpythonscript.py" before you try and run it.
ddt
– March 05, 2009 05:59PM
thanks, my guru.
what happens if you don't run that chmod? epic fail? the world ends? no one really knows?
ddt
Alan Lehman
– March 05, 2009 06:40PM
You get a "Permission denied." error because you're trying to execute something that's not executable. chmod is the "change mode" command. In the case of chmod +x yourpythonscript.py you're setting the executable flag (thats the x) to positive aka yes for yourpythonscript.py. In other words you're taking a normal text file and converting it to something that the unix subsystem now treats as an executable.
Of course yourpythonscript.py has to be made executable before you can execute the script within it. Otherwise the unix subsystem won't allow it to be run. It's a security thing.
ddt
– March 05, 2009 07:11PM
ah, the +x is very unix-y.
still sounds a lot better than the file, link, compile, cartwheel, execute of c++.
ddt
Ron Burns
– March 06, 2009 01:18AM
"We look to Scotland for all our ideas of civilisation." Voltaire
What are these "religious wars" of which you speak? A few feeble mutterings from the unenlightened at most...
C-x C-c
El Jeffe
– March 06, 2009 06:28AM
What a journey.
So, what's the Mac(compatible) way to burn high def disks?
I've got some HD 1080 source that I've done a regular DVD with. But I'd like to save it in higher def.
Is blu-ray on the Mac still too nascent?
Alan Lehman
– March 06, 2009 06:38AM
Quote
Ron Burns
What are these "religious wars" of which you speak? A few feeble mutterings from the unenlightened at most...
Ahh Ron, it's too early in the morning to be making fun of me like that. Wait till later after I've had a few to drink. Then my mutterings will be truly feeble.
Quote
Ron Burns
C-x C-c
Heh. First shot fired.
Dr Phred
(Moderator)
– March 06, 2009 07:20AM
-Swine Flu free since...cough, cough...
Quote
El Jeffe
So, what's the Mac(compatible) way to burn high def disks?
I've got some HD 1080 source that I've done a regular DVD with. But I'd like to save it in higher def.
Is blu-ray on the Mac still too nascent?
depends on what you are trying to do. A DVD will hold HD content. If you are trying to make a playable blu-ray, you need toast 10 with optional Blu-ray support and an external blu-ray burner. Lacie and other companies make them.
It's the playing back of a blu-ray disk that's tough on a mac.
tliet
– March 06, 2009 11:45AM
Is it not possible to convert the source into an h.264 file with Handbrake?
El Jeffe
– March 06, 2009 12:11PM
What a journey.
It might very well be h.264 already. It was shot on a Canon avchd hg20. I'd just like to keep it in a video format/medium (like DVD) that is the highest resolution, but playable in a stb.
I'd rather not leave it on a hard drive in the long run.
rino
– March 06, 2009 05:53PM
In America, the only respectable form of socialism is socialism for the rich.
The new handbrake does accept source files from lots of places...
Edited 1 time(s). Last edit at 03/06/2009 05:53PM by rino.
tliet
– March 06, 2009 06:08PM
The funny thing is, the hard drive may be the most viable medium in the long run. DVD-Rs is organic matter that decays, after a few years it's unreadable. I've had a few discs go bad on me already and I'm glad the source material is on miniDV tape. With flash media so cheap now, I'm thinking of moving stuff to flash sticks for really long term storage, although SanDisk has
something interesting that's hard to get pricing for, so it will probably very expensive.