Show me a practical[1] example of OO being more reusable
I'm not sure about more reusable, but I just used it for PHP email (because PHP doesn't have very good email support, but I digress) this way:
Email.php
\--- EmailWithAttachment.php
where EmailWithAttachment inherited from Email.php and just overrode the Email object when necessary. Works great.
Re:from the oxymoron dept...
on
Effective C#
·
· Score: 1
but I've seen more and more schools replacing VB/Java courses with C# lately
Well, at least at my school (state school in Colorado) the reason the Java courses are starting to be replaced is because M$ is "suggesting" that the business school teach C# instead of Java. And Microsoft is giving the school money as well as "free" software for the students.
I couldn't agree more. One of the main reason I enjoy using my Mac is that it looks nice (and yes, I do a lot of Unix hacking as well).
I've consistently found that I try programs that were written for Windows (or even Mac only programs), but I keep coming back to truly user-friendly programs (i.e. I still use Fetch instead of Fugu because Fetch just works better interface-wise).
So why doesn't OS X Server sell more? The dealbreaker is always the fact that it doesn't have something like Exchange. I've been screaming for Apple to make an Exchange killer for years. They've got most of the pieces already: iCal, Mail, Address Book... all that needs to be done is to tie them together into a single app, and on the server end add group calendaring and maybe a new mail protocol similar in function to MAPI (IME, using IMAP as an Exchange client in MS Entourage SUCKS, so I think Apple needs to go one better with their imagined product).
Agreed. Although I think they may be working on it in the background. Because I've found it quite interesting that PHP iCalendar (http://phpicalendar.net/) has gone offline voluntarily until further notice. Not a huge deal, but...
Actually, it sounds like they are on an Exchange sserver, which probably explains why both a) they couldn't get to past email and b) they couldn't get to their calendars as they are all stored on the server
Actually, I believe that may be the way it is supposed to work. From what I've seen when I was setting up the VPN server for 10.3 Server, you need to specify on the server that the VPN client should only use your tunnel for certain subnets.
More: Using a very simple user interface, you can define locations. Sitting at your desk, you tell your laptop to refer to that location as "work." Any file created within a 100-yard radius of that location will be returned in a search for "work." On your couch you define a location called "home." Sitting at the coffee shop you define a location called "Starbucks." And so on.
Is that 100-yard radius predefined or specifiable by the end-user? Because that feature would be very cool.
9) A WinXP BSOD is either bad drivers or massive spyware infestation, that one doesn't work anymore either.
Actually, I work for the tech department for a large university campus and I can say without hesitation that bad drivers may cause a BSOD, but spyware won't ever do it.
What will cause the BSOD on a regular basis is Windows nuking the HKLM registry key. Which causes the computer to bomb out on boot (and you can't get to safe mode either).
What OS corrupts its centralized database on its own and is still used by a majority of the world?:-(
Because leaving ports open that have been found to be seriously insecure is just asking for trouble. I work at a large college for the IT department and we still have people come in without their XP firewall turned on (which first came with SP1).
Which is why we still have people get nailed by new worms on a regular basis.:-/
Yes, but up until SP2 for XP came out, no one knew it was there. Every person I dealt with (and I deal with tons for my job) had no clue that there were these things out there from Microsoft called updates that you could run on your computer to keep it secure.
By contract, on a Mac, the very first time you connect to the Internet, the Software Update application runs and then BOUNCES UP AND DOWN at the bottom of their screen until they pay attention to it and click on it. At which point, it explains that there are updates from Apple that should be installed.
Now you tell me which one you think works better. I already know through hard experience (i.e. removing countless viruses for people).
Ok, granted. But don't you think Apple redid their entire Mail setup to make it work faster (e.g. better). How fast can you write a function to extract any data from an Entourage database?
I've seen them get as large as 2 GB (at which point Entourage corrupts the database, but you didn't really need that mail did you?) so it is hard to imagine you could write an efficient function that would find what you are looking for quickly.
Does Entourage have a good search function already? I can't remember.
Spotlight will index and search Word, Excel and PowerPoint documents, but unfortunately it will not work with Microsoft's email and information manager, Entourage.
Which makes total sense when you think about it. All Microsoft email apps use a large Database file to store email (think mbox but proprietary). All Microsoft email applications on the Mac have used that type of format (going back to Outlook Express 4 at least).
Do you really think Microsoft would totally re-engineer their current database storage format to be compatible with Tiger and Spotlight? Yeah, me neither.
On the other hand, having the PST Import tool will be a huge leap forward as then it is possible to migrate users more easily to the Mac (and the new Mac Mini):-)
Agreed. I was just reading up on the XmlHttpRequest stuff that is used in Google Sense on Apple's site here and was trying to get Safari to read a remote iTunes feed on the Internet. It wouldn't work. Turns out that further down that linked article under Security Issues, they specifically address this problem.
They say that you can't link outside of your domain and you CAN'T read files off the user's hard drive (you can using Internet Explorer on Windows, although it will prompt you first).
Guess which one was designed insecurely? Why, Apple developers have even gone to the trouble of diagnosing potential Microsoft vulnerabilities and then made sure they don't have them on the Mac.
I'd like to see Apple get a larger market share, if only to see./ers try to explain why Macs still aren't getting hacked.:-)
Our campus record stands at 3000. I don't know how the damn thing was still booting.
Amateurs! Our campus record is 4806 (using Ad-Aware 6.0 back in August). And yes, the computer was barely functional. I just can't believe people let their computer get that bad. <shakes head>
One of the trends that we've seen is the fact that spyware/adware/malware is unfortunately becoming more stable and able to interact with each other
But it isn't just that. I work for a large public school (i.e. greater than 25,000 students, teachers, etc.) and the spyware is getting MUCH more insidious.
For example, yesterday I removed a piece of spyware that runs in safe mode. Yes, read that again, in safe mode. The only way to get rid of it successfully was to boot up using a boot cd we have called ERD Toolkit and removing the spyware by hand. You have to clean out system32 pretty throughly and then also remove all the registry keys you just removed in safe mode as they have been added back.
When spyware starts using rootkit techniques like that (I think they are using a modified version of HackDefender) it is almost time to hang up your hat.:-/ From what I've seen, it looks like the rootkit hides a process that reinstalls any spyware that you try and remove. So you have to get rid of the rootkit, then the process and then finally the spyware.
And a more "business" looking Aqua. It's too bubbly looking and cutesy.
You do know that you can turn on the Graphite appearance, don't you? Apple Menu -> System Preferences - > Appearance -> change the appearance drop-down from Blue to Graphite.
Now, I'm definitely not a Microsoft fan (see my sig), but does it strike anyone else as a little scary that it took 2 months to get this fixed properly? I mean isn't that one of the main benefits of open source is that it gets fixed faster?
Yeah, that is where I got to. The client gives me a bunch of errors (with the server running fine) and then dies. Too bad, I was hoping to be able to play it straight-away.:-)
Use Dreamhost. They work really well
I just tried it. You have to run this command after changing your host file:
lookupd -flushcache
and then you can ping configuration.apple.com and have the new IP address reflected. This is on 10.4.6
Which stands for David A. Schroeder (look him up in Wisconsin directory)
Show me a practical[1] example of OO being more reusable
I'm not sure about more reusable, but I just used it for PHP email (because PHP doesn't have very good email support, but I digress) this way:
Email.php
\--- EmailWithAttachment.php
where EmailWithAttachment inherited from Email.php and just overrode the Email object when necessary. Works great.
but I've seen more and more schools replacing VB/Java courses with C# lately
Well, at least at my school (state school in Colorado) the reason the Java courses are starting to be replaced is because M$ is "suggesting" that the business school teach C# instead of Java. And Microsoft is giving the school money as well as "free" software for the students.
I couldn't agree more. One of the main reason I enjoy using my Mac is that it looks nice (and yes, I do a lot of Unix hacking as well).
I've consistently found that I try programs that were written for Windows (or even Mac only programs), but I keep coming back to truly user-friendly programs (i.e. I still use Fetch instead of Fugu because Fetch just works better interface-wise).
So why doesn't OS X Server sell more? The dealbreaker is always the fact that it doesn't have something like Exchange. I've been screaming for Apple to make an Exchange killer for years. They've got most of the pieces already: iCal, Mail, Address Book... all that needs to be done is to tie them together into a single app, and on the server end add group calendaring and maybe a new mail protocol similar in function to MAPI (IME, using IMAP as an Exchange client in MS Entourage SUCKS, so I think Apple needs to go one better with their imagined product).
...
Agreed. Although I think they may be working on it in the background. Because I've found it quite interesting that PHP iCalendar (http://phpicalendar.net/) has gone offline voluntarily until further notice. Not a huge deal, but
Actually, it sounds like they are on an Exchange sserver, which probably explains why both a) they couldn't get to past email and b) they couldn't get to their calendars as they are all stored on the server
"You like your Macintosh better than me, ... don't you Dave?"
:-)
Awesome ad
I believe Automator is simply a GUI front end to Applescript
No, it isn't. Automator can run any code snippet you want it to which allows programers to setup just about any type of action they want.
More info here
Actually, I believe that may be the way it is supposed to work. From what I've seen when I was setting up the VPN server for 10.3 Server, you need to specify on the server that the VPN client should only use your tunnel for certain subnets.
Which PPTP VPN server are you using?
More: Using a very simple user interface, you can define locations. Sitting at your desk, you tell your laptop to refer to that location as "work." Any file created within a 100-yard radius of that location will be returned in a search for "work." On your couch you define a location called "home." Sitting at the coffee shop you define a location called "Starbucks." And so on.
Is that 100-yard radius predefined or specifiable by the end-user? Because that feature would be very cool.
9) A WinXP BSOD is either bad drivers or massive spyware infestation, that one doesn't work anymore either.
:-(
Actually, I work for the tech department for a large university campus and I can say without hesitation that bad drivers may cause a BSOD, but spyware won't ever do it.
What will cause the BSOD on a regular basis is Windows nuking the HKLM registry key. Which causes the computer to bomb out on boot (and you can't get to safe mode either).
What OS corrupts its centralized database on its own and is still used by a majority of the world?
Because leaving ports open that have been found to be seriously insecure is just asking for trouble. I work at a large college for the IT department and we still have people come in without their XP firewall turned on (which first came with SP1).
:-/
Which is why we still have people get nailed by new worms on a regular basis.
There is also Windows-D (go to Desktop, quite useful), Windows-E (open up Explorer) and Windows-L (Lock screen, XP only).
:-)
And yes, there is no way I would use a Windows laptop.
Yes, but up until SP2 for XP came out, no one knew it was there. Every person I dealt with (and I deal with tons for my job) had no clue that there were these things out there from Microsoft called updates that you could run on your computer to keep it secure.
By contract, on a Mac, the very first time you connect to the Internet, the Software Update application runs and then BOUNCES UP AND DOWN at the bottom of their screen until they pay attention to it and click on it. At which point, it explains that there are updates from Apple that should be installed.
Now you tell me which one you think works better. I already know through hard experience (i.e. removing countless viruses for people).
Ok, granted. But don't you think Apple redid their entire Mail setup to make it work faster (e.g. better). How fast can you write a function to extract any data from an Entourage database?
I've seen them get as large as 2 GB (at which point Entourage corrupts the database, but you didn't really need that mail did you?) so it is hard to imagine you could write an efficient function that would find what you are looking for quickly.
Does Entourage have a good search function already? I can't remember.
Spotlight will index and search Word, Excel and PowerPoint documents, but unfortunately it will not work with Microsoft's email and information manager, Entourage.
:-)
Which makes total sense when you think about it. All Microsoft email apps use a large Database file to store email (think mbox but proprietary). All Microsoft email applications on the Mac have used that type of format (going back to Outlook Express 4 at least).
Do you really think Microsoft would totally re-engineer their current database storage format to be compatible with Tiger and Spotlight? Yeah, me neither.
On the other hand, having the PST Import tool will be a huge leap forward as then it is possible to migrate users more easily to the Mac (and the new Mac Mini)
Agreed. I was just reading up on the XmlHttpRequest stuff that is used in Google Sense on Apple's site here and was trying to get Safari to read a remote iTunes feed on the Internet. It wouldn't work. Turns out that further down that linked article under Security Issues, they specifically address this problem.
./ers try to explain why Macs still aren't getting hacked. :-)
They say that you can't link outside of your domain and you CAN'T read files off the user's hard drive (you can using Internet Explorer on Windows, although it will prompt you first).
Guess which one was designed insecurely? Why, Apple developers have even gone to the trouble of diagnosing potential Microsoft vulnerabilities and then made sure they don't have them on the Mac.
I'd like to see Apple get a larger market share, if only to see
Our campus record stands at 3000. I don't know how the damn thing was still booting.
Amateurs! Our campus record is 4806 (using Ad-Aware 6.0 back in August). And yes, the computer was barely functional. I just can't believe people let their computer get that bad. <shakes head>
Were do you work?
One of the trends that we've seen is the fact that spyware/adware/malware is unfortunately becoming more stable and able to interact with each other
:-/ From what I've seen, it looks like the rootkit hides a process that reinstalls any spyware that you try and remove. So you have to get rid of the rootkit, then the process and then finally the spyware.
But it isn't just that. I work for a large public school (i.e. greater than 25,000 students, teachers, etc.) and the spyware is getting MUCH more insidious.
For example, yesterday I removed a piece of spyware that runs in safe mode. Yes, read that again, in safe mode. The only way to get rid of it successfully was to boot up using a boot cd we have called ERD Toolkit and removing the spyware by hand. You have to clean out system32 pretty throughly and then also remove all the registry keys you just removed in safe mode as they have been added back.
When spyware starts using rootkit techniques like that (I think they are using a modified version of HackDefender) it is almost time to hang up your hat.
I was altered to the problem
:-)
Surely you mean alerted?
And a more "business" looking Aqua. It's too bubbly looking and cutesy.
:-)
You do know that you can turn on the Graphite appearance, don't you? Apple Menu -> System Preferences - > Appearance -> change the appearance drop-down from Blue to Graphite.
All of a sudden, it doesn't look so cutesy.
Now, I'm definitely not a Microsoft fan (see my sig), but does it strike anyone else as a little scary that it took 2 months to get this fixed properly? I mean isn't that one of the main benefits of open source is that it gets fixed faster?
Yeah, that is where I got to. The client gives me a bunch of errors (with the server running fine) and then dies. Too bad, I was hoping to be able to play it straight-away. :-)