Live data from Hacker News

Getting Started with Django

gettingstartedwithdjango.com

41–50 of 75 posts

Re: Getting Started with Django

#41
post #22

Kenneth, sorry if this has been asked, but how often will you be releasing videos ? Monthly ? Also thank you for making series ;)

The plan is to do 1-2 per month, ideally about 1 every 2 weeks. I have to do them in my (and my editor's) off time, so some months that may slip.

Any chance you can add a subscribe by email form so we can be notified when you release new videos?

Re: Getting Started with Django

#43

Earlier quoted context omitted.

"3. Make it work for Windows, OSX, and Linux if you can." This is the reason the VM was introduced. So that no matter what OS the user is running, they can follow along without having to go search for ways to get all this setup and running. The setup is very minimal thanks to Chef and Vagrant. Kenneth is trying to teach best practices and tools to use. He also explained in the beginning of the video that you should b…

I feel like that reasoning should be outlined in the tutorial. As a newbie, it seems like a pain to get django running if I have to set up a VM just to do it, and the author provides little explanation. Coming from rails, its weird to me that he seems to emphasize their 'gem install' equivalent over their bundler equivalent. Otherwise, a great tutorial.

That's because there isn't really a good "bundler equivalent" that I know of. That was one of the more frustrating parts of Python work for me. Virtualenv is kind of a hybrid between gem and bundler, and it works, but it's nowhere near as elegant.

Re: Getting Started with Django

#44

Is there a way to save HN stories, aside from commenting on them? I don't want to leave a pointless comment just so I can find it later (I didn't want to leave this one.).

Your browser should have a bookmark function...

I was not at my own personal computer.

Re: Getting Started with Django

#46
post #25

I like where this series is headed, I will certainly be following it. A few suggestions on how to improve the consumption of these videos. 1) Break down the video into smaller bite sized chunks to provide for natural breaks. Unlike movies where it's more a passive viewing experience, educational videos, especially ones where you're expected to follow along, require a lot more mental engagement. This makes it difficul…

>Break down the video into smaller bite sized chunks to provide for natural breaks.

I agree with this. Find a natural stopping point if you can or just make the videos smaller regardless. ~15 min is OK IMHO.

Re: Getting Started with Django

#47
post #41

Earlier quoted context omitted.

The plan is to do 1-2 per month, ideally about 1 every 2 weeks. I have to do them in my (and my editor's) off time, so some months that may slip.

Any chance you can add a subscribe by email form so we can be notified when you release new videos?

I thought I had one. I'll add it this evening.

Re: Getting Started with Django

#48
This is awesome, thanks for posting this.

I'm having trouble getting the VM going and I have a pretty vanilla set up so I'm worried the requirements might need some more detail such as version numbers.

I'm running Ubuntu 12.04 LTS on an i3-2350M and all BIOS settings for virtualization are enabled.

I installed Vagrant 1.0.6 and VirtualBox 4.2.6.

Vagrant gives the following error:

[default] The guest additions on this VM do not match the install version of VirtualBox! This may cause things such as forwarded ports, shared folders, and more to not work properly. If any of those things fail on this machine, please update the guest additions and repackage the box.

And running directly from the VirtualBox GUI gives an error:

Failed to open a session for the virtual machine gswd_1358906798.

VT-x features locked or unavailable in MSR. (VERR_VMX_MSR_LOCKED_OR_DISABLED).

My hardware is 6 months old, would you expect people with 4 year old hardware to run this without trouble?

Any ideas would be appreciated.

Re: Getting Started with Django

#49
post #48

This is awesome, thanks for posting this. I'm having trouble getting the VM going and I have a pretty vanilla set up so I'm worried the requirements might need some more detail such as version numbers. I'm running Ubuntu 12.04 LTS on an i3-2350M and all BIOS settings for virtualization are enabled. I installed Vagrant 1.0.6 and VirtualBox 4.2.6. Vagrant gives the following error: [default] The guest additions on this…

I'm running VirtualBox 4.2.4 but I would think, since it creates the VM when you `vagrant up`, that it wouldn't matter what version of VB you were running. So that's odd.

The Vagrant version I have is 1.0.5, just for completeness sake.

I just downloaded the zip file again to check, and there's nothing in there (at least that I can find) that mentions a version of VirtualBox. You're also the first person to mention a problem like this (one other person had a problem after running the VM with getting packages from Google).

You could try downgrading, or, since you're on a sane OS, just running everything sans VM. You'll need to install Git and PostgreSQL yourself, though.

Let me know if anything changes, please. I'll ask around and let you know if I find anything out.

Thanks, and sorry for your problems.

Re: Getting Started with Django

#50
post #48

This is awesome, thanks for posting this. I'm having trouble getting the VM going and I have a pretty vanilla set up so I'm worried the requirements might need some more detail such as version numbers. I'm running Ubuntu 12.04 LTS on an i3-2350M and all BIOS settings for virtualization are enabled. I installed Vagrant 1.0.6 and VirtualBox 4.2.6. Vagrant gives the following error: [default] The guest additions on this…

I'm running VirtualBox 4.2.4 but I would think, since it creates the VM when you `vagrant up`, that it wouldn't matter what version of VB you were running. So that's odd. The Vagrant version I have is 1.0.5, just for completeness sake. I just downloaded the zip file again to check, and there's nothing in there (at least that I can find) that mentions a version of VirtualBox. You're also the first person to mention a…

Looks like my problems were completely my fault. On my ThinkPad the virtualization setting is in the BIOS under Security and it was not set correctly. There were some other settings under CPU that I initially thought were the right ones. I'm sorry to waste your time.
Post reply on HN