Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by wilsontc

  1. That's a very good point. The function is a quick and dirty thing home users (such as myself) would probably find useful - such a function has no place on a production server! Of course, if a malicious user had access to the system, I would be a bit more worried about them doing more serious things that create symlinks in /tmp. I do this for larger stuff, but find it convenient to have some of these smaller things in my shell rc. For example, the mail backup function references a perl script (imapsync) which lives in such a place (~/opt/local/bin/) as I rarely have root access to machines outside of my personal ones. Once again, for production servers, you are absolutely right: pick a more appropriate location. These functions are a lot harder to call from Cron for example than something in /usr/local/bin.
  2. wilsontc

    So I'm using Linux...

    Well, I must be quite deluded! Your point encapsulates exactly what I find thrilling about Unix - the people who know how to use it effectively are few and far between compared to people who are familiar with the Windows platform. This creates great commercial opportunities for those who are able to use it in a production environment. As a platform, I sincerely hope free Unix finds a nice niche of 10-20% market share. Big enough to require thought regarding compatibility with other platforms by vendors, yet small enough so that skilled employees can still command a premium salary compared to positions working with more common technologies.
  3. wilsontc

    Which IDE Do You Use And Why?

    I've just started with .NET MVC, so VS2010. But normally I'm either coding Ruby, in which case I will use vim on Linux or gvim on Windows, or writing Powershell scripts, in which case I use the free Powershell ISE. My workplace has Primalscripter licenses, so eventually I'll give that a go, but I like the simplicity of the free Powershell ISE.
  4. Yes, but everyone makes mistakes :) Additionally, there are the share permissions to consider.
  5. You want the following on the directory that the DB is in: chown scott:bookers /path/to/your/database/dir chmod 770 /path/to/your/database/dir This makes the directory writeable to yourself and the bookers group. Yourself and Brad will both need to be in the Bookers group too. Then, make the file read write for admins, read only for everyone else (such as bookers): chown scott:admins /path/to/your/database.mdb chmod 775 /path/to/your/database.mdb IF it's still not working, the share level permissions might not be configured correctly.
  6. wilsontc

    Free alternative to QuickBooks Point of Sale Software?

    I see what you did there!
  7. wilsontc

    I has an animal companion

    Kittens are great :) Just remember though, "dogs have masters, cats have slaves"
  8. wilsontc

    Planning hobby projects

    I use bugnetproject (google it) for bug tracking/issue management and SVN for revision control, though you could easily use git for revision control. SVN ties in nicely with bugnet, such that whenever I checkin a comment is added to the particular ticket I'm working on, which includes the SVN revision number. I checked out BugNET, and it looks good. However, I think that given it is just myself, I won't bother with it at the moment. I'll keep it in mind as a future consideration if I decide to expand the scope of this project though. Thanks for the explanation. Now, you've used a few programming terms here, so excuse my ignorance, but you seem to be suggesting that your overall object model should be developed without the data storage layer in mind. Why? Is this to separate the model from logic, like how the MVC pattern tries to uncouple logic and presentation? Your model is your logic. In any data aware app, how the data is stored is usually irrelevant to how to solve the problem the programme is being developed to solved. The goal is to encapsulate your 'business logic' in domain classes that model properties and behaviour. Like you've hinted at, it's about separation of concerns. Using a rich domain model (as opposed to an anaemic domain model) and the repository pattern, for example, you can seperate domain logic from persistence logic and also allow for persistence ignorance. That is you won't be tightly coupled to a particular database technology (ie Oracle, Sql Server, File System, Cloud, and so on). All these things form the M part of MVC (Model View Controller), but its the same decoupling idea :) In reality, as a novice programmer, you'll end up with a View Controller, with your Controllers containing a whole bunch of procedular code (Transaction Script) with massive repetition and have yourself what we domain modellers like to call a 'big ball of mud'. Controller will handle application logic and database persistence. I'll do my best to avoid the "big ball of mud". Usually, whenever I've done Rails stuff my model files have been fairly large, the controllers thin, and the views dumb. I'm going to try to stick to that. Yep, use and love tests from Rails. Not so much as not sure how TDD works, more that it seems like a bit more involved than the "code first, test later" approach I imagine many hobbyists take (myself included). Once I get the basic project running, I might switch to TDD for new features though. The idea sounds a lot more sane than "data up" from a future maintainability perspective. *edit* quote tag confusion!
  9. wilsontc

    Planning hobby projects

    Hello, I'm a system administrator, who likes to dabble with code. I'm definitely not a programmer, but I'm not a complete luddite either. Whenever I've done a small project, I haven't really done very much planning around it. I might jot down some ideas and what I want to achieve, but I don't do diagrams, flow charts or anything that I imagine you would probably find from a real programmer. I'm sure there is a mix of professional programmers, and hobbyists such as myself here, so I thought I might ask, how much planning, preparation and the like do you do for your own individual projects? What strategies do you use to ensure your project doesn't hit a dead end? Do you have any tools to help with this, or just a pen and paper? I mostly dabble in Ruby, and if I want graphical output I've typically used Ruby on Rails. However, for this particular project, I'm using the Microsoft .NET MVC 2 framework. Once I've taken some notes of what the app should do, and how it should work, I was planning to start the implementation with the data, and work up. This is a "bottom-up" approach right? Do you find this works out better than a top-down approach for hobby projects? Please share you experiences and thoughts :)
  10. wilsontc

    AMD CEO "resigns"

    Speaking of which - why haven't they? Massive debt is not conducive to R&D spending :)
  11. wilsontc

    Planning hobby projects

    This is a very good point, and something I haven't really considered too much. I think partly because I'm not a professional developer, I'm not up to speed with the best ways to handle this part of the life cycle. Thanks for bringing this up SledgY, I might do some research :) MVC 2 is what is out at the moment, but after looking at some Razor code, I'm very, very interested in MVC 3 :) Thankfully 3.0 should be out sometime this month, so the timing fits nicely. Speaking of which, being a dabbler, Vim, zsh and xterms were my tools, but having run through some MVC tutorials with VS2010 Pro, I'm starting to see what all the fuss is about. My workplace is a MS partner, so now I can play with all the latest toys, I think this was also another reason I tended to neglect the Microsoft ecosystem, being that I couldn't get hold of much. Bug tracking...hmm. Is there something suitable for hobbyists that is easy to get up and running with? That's something I really like about git, it's simple to install and a quick read of the man page (especially the examples) is enough to get off the ground. Otherwise I suppose I will just use Tomboy or One Note to keep track of things, which is more or less what I'm doing currently. Thanks for the explanation. Now, you've used a few programming terms here, so excuse my ignorance, but you seem to be suggesting that your overall object model should be developed without the data storage layer in mind. Why? Is this to separate the model from logic, like how the MVC pattern tries to uncouple logic and presentation? That sounds very interesting. It also sounds a little overwhelming! Yep, use and love tests from Rails.
  12. You're welcome! If you feel this would be useful for you, I'm happy to help you out with modifying it for your ISP (if you're in a country which has quotas like Australia!) Well, I totally disagree with you there, I think aliases are very, very useful, and should not be overlooked. Perhaps you don't use the command line very often? In addition to the usual suspects: alias mv='mv -v' alias ll='ls -l' alias la='ls -la' I also have an alias for connecting to my router on it's serial interface: alias router='sudo cu -s 9600 -l /dev/ttyS0' Aliases can also be used to prevent silly typo's: alias cd..='cd ..'
  13. wilsontc


    Do they still throttle torrents?
  14. wilsontc


    Yes, I had no idea he was in that film, and I nearly fell off my chair when I saw him as the General!!! I kept waiting for his soldiers to say "hey Angel!"..!
  15. wilsontc


    He's also been in Sex and the City. When I first saw him in Season 1 of Dexter, I thought "wow, that's a departure"! It's funny how one begins to associate actors with the characters they play. Type-casting on an individual level I suppose.
  16. wilsontc


    Ok, I'm calling it: * Lumen kills the first victim that Jordan and the crew raped * Dexter kills Jordan * Liddy kills Lumen (in a life or death struggle) * Dexter frames Liddy for the murders of the Lumen, the other girls + Jordan and the rapists / torturers * The season ends with a cliff hanger of Quinn about to find out about Dexter * The Nanny doesn't become a major character * Deb is none the wiser
  17. wilsontc


    Group policy preferences is what you're after :) The only requirement is a 2008 domain controller, the domain functional level does not matter - as long as it is 2000 native or higher (pretty sure you can't add a 2008 DC to a 2000-mixed domain). You need to run adprep and gpprep to be able to add a 2008 DC to a 2000 or 2003 domain - rtfm!
  18. wilsontc

    Public Key Authentication

    Was gunna say this as well. You can also do ssh -v to give you verbose output which might help, adding more v's adds more verbosity. Yes, try using the verbose flag. It will tell you which authentication method it is trying to use, and why it is failing.
  19. Do you have permission to use cron? You may need to be in a group, or allowed in /etc/cron.allow or some such file.
  20. I'm pretty confident in thinking that DFS would be replicating the ACLs correctly, I imagine you've set the permissions on the roots to be different. The only thing I could suggest would be comparing the NTFS and Share permissions on both roots, and check for differences.
  21. Is the user running Office 2010? Sometimes this opens files in read only mode, but there should be a button up the top called "Edit" which will swap it to read write. Otherwise, double check both NTFS and sharing permissions.
  22. This is one rack the finance minister could approve...
  23. wilsontc

    glibc finally free.

  24. wilsontc

    Warning with Office 2010 64bit

    The 64 bit version of Office was released for developers so they can prepare their addon's for future products.
  25. wilsontc

    Windows Server Code Name "Aurora"

    What do Aurora users do for email? Hosted Exchange?