I'm a long time Windows programmer, and I know what the difference is between a process, thread, and fiber. Can you explain what a fork is and why exactly it is different from a thread? If a thread throws an exception or crashes in Windows, it is simply killed off without causing the application to crash. Basically a thread occupies the same memory space as the creating thread, and a process gets a whole new memory space. How does "fork" differ from that model?
I spent a full week trying to get Kerberos to work with my AD forest. I ran into one thing after another. In no particular order...
Choose the right distro. Mandrake is really for a desktop, RedHat costs as much as Windows, so does SuSe. Gentoo? Long compile times - yuck. How about Debian? Which install can be run over NFS? Guess we'll stick with RedHat
RedHat Enterprise Linux 3 comes with an old version of Kerberos installed that is incompatible with AD
RedHat also puts Kerberos files in non-standard directories making them *very* difficult to locate and remove all of them, then replace them with an updated set
To create a Kerberos ticket from the Windows side, you have to add a few DNS entries for the ktpass.exe utility to locate your AD controller, even if you're running on the same box
Those magical DNS fixes that you put in for ktpass to work break your Mac OS X client authentication to your AD, so the next day you have 25 calls from people who can't log in to their new macs
You can't easily test Kerberos authentication besides a principal logon
If your kerberos authentication isn't set up properly, PAM could lock you out of your linux box forcing you to boot from a recovery CD to edit the system-auth config
HP blades don't have a CD-ROM drive, so booting from a recovery CD isn't an option
PXE booting an HP blade to Linux requires a couple of options set in DHCP that need to be added to the Microsoft DHCP options list manually
Oh yea, Microsoft doesn't provide a TFTP server, so you either have to use a working linux box (isn't that how we got in this mess?) or a third-party TFTP windows server (thanks Ph. Jounin!)
Figure out why your database server (running on your new linux box) is burning up 97% I/O wait time when your drive array is not busy
Apply a patch to the RedHat kernel to disable some flag in some low-level scsi driver (!) and recompile to fix the I/O Wait issue
I'm not saying that linux isn't ready for the enterprise environment. It's just that my first year or so of working with it have been less than painless. Windows has it's share of problems, but for the most part it works well.
I run a corporate AD forest that covers 3 countries. We have 3 primary AD controllers at the corporate office and a local AD controller at each major branch office. I've started integrating Linux into the mix, with an Oracle server, Mail server, DNS server, and a few application servers.
The hardest part has been getting Kerberos to properly authenticate with the AD tree. Basically, strip an off-the-shelf copy of Linux of anything related to Kerberos, then install a fresh copy of it from MIT. Once you've got that working, go pick up a copy of pam_krb5 and plug that into the PAM system. From then on out, all the linux services can authenticate with the AD tree through Kerberos.
If you want to share files, then you'll need to go the Samba route, but you don't have to start there. Plenty of Linux services (Courier IMAP, QMail, Bind, etc) work just fine on an AD forest without Samba.
I'm not sure if I'd trust my entire enterprise to Linux just yet. The time involved in figuring out which of the 5,000 configuration files I need to update to add a user isn't worth the ~$15 per user license of Windows. A single Windows 2003 server license plus users is very reasonable. It's the cost of 10+ server licenses that will kill you. Run a Windows AD controller and use Linux for the services on your network.
I couldn't agree more. What we need is a new law similar to aggravated battery, but for stupid people. We can call it aggravated stupidity! You can get a citation for just being stupid - driving stupid, getting hurt doing stupid things, acting stupid, etc. The fines would start low and get progressively higher the more stupid you are until you are either broke or learn.
I should run for congress. Then I'd have the money to pay my tickets:)
7. This is related to 6, but don't forget that web connections are very short lived compared to what the original designers of TCP were thinking about. As a result, you're going to run into cases where you run out of epheral ports (netstat -an will show a ton of ports in TIME_WAIT) even though your machine is idle. This is why HTTP Multiplexing is important -- you don't want a lot of connection churn. Yes, you can tweak your OS settings so that TIME_WAIT expires quickly, but that isn't going to help your overall performance. (TCP connection setup/teardown is a huge burden on a HTTP request that may only span a few packets...)
Set up one server with 16 IP addresses and have Apache listen on all of them. Your inbound connection capabilities go up 16 fold if your server can handle the load. This gets around ports still in time_wait since you have 16x the number of IP's accepting inbound connections.
First, I want you to read parts 2 and 3 of the "almost Kerry" interview.
Now read the transcript of the Bush interview. I didn't agree with all of his points, but he at least has a vision about what he wants to do and some clear defined lines about what he will and will not do.
I agree that Iraq is a sore spot. I wish we hadn't gone in there in the first place. But to make that the *only* point in the election (for a US person at least) is rediculous. There are health care issues, border issues, crime issues, and a host of other problems we need solutions to, not just a vague promise of a better tomorrow. After Clinton fucked an intern, and I saw this picture, I really do believe that America needs to do what we need to do because obviously a democrat can't help the world opinion of us.
51% of this country wasn't wrong. I Kerry had made it into office, there's no telling how bad he would have fucked everything up. He never defined ANY of his views on how he would handle current and future situations. He just said that Bush was an idiot and his way was the Right Way. I voted for Bush because at least he has a plan. It might not be the best plan and I may not agree with all of it, but it's better than electing snipe.
Re:Purdue Univ IST Program Entrance Exam
on
IT Literacy Test
·
· Score: 1
Using any handheld calculator with an "x^y" key...
Take the number of divisions coming from a base vertex of the triangle and raise it to the power of the number of divisions coming from the opposite vertex. In the case given, 3 divisons to the power of 3 divisons = 27.
I tell people who ask me how to tell the real sites from the fakes sites to put in "dickfer" for the user name and "topeewith" for the password. If it logs in, they know it's fake and are free to fill in a proper name and address that the spammer may freely use.
Oracle has nested table support (i.e. a small table inside a cell in another table) as well as array/collection support. No problem.
I'd still use separate tables. It keeps things 100% compatible with every database tool, report writer, web scripting engine, and development tool available. In a corporate setting where you may want to do something different in 5 years, keeping things simple is paramount.
You can search any type of file supported by the text engine. That includes PDF/DOC/HTML/XML/etc. Your network users store data onto the "oracle" share and can hit a web page search to find it.
To be honest, I don't really have enough information about either profession to say that one makes more ill-informed decisions than the other. I merely notice a trend of overdiagnosis in the kids I've met from "specalists" in the field. They may be psychiatrists, psychologists, or family doctors - I really don't know.
You bring up a valid point, though. There are various ways to get a license to dispense some pretty invasive medication. I would guess that the more training a medical practitioner goes through, the more thorough his/her diagnosis would be.
"That AD/HD is overdiagnosed should not detract from the fact that it is simultaneously underdiagnosed."
I agree with this, and I empathize. I'm nearly the same way - if I'm doing something I'm interested in, I can stay at it for hours. If I'm not interested in it, I simply can't stay focused. I may have AD/HD, though I've never been to someone who could diagnose me.
That being said, EVERYTHING I hear from the media says that ADD is what kids have when they won't behave. That's ENTIRELY not true. Kids that can't behave have no fucking discipline. Parents in this day and age are either too slothful or so apathetic they just don't care any more if their child succeeds.
Go to the store and watch the kids pull crap off shelves, then just drop it on the floor. What do their parents do? Leave it and say "don't do that". Parenting requires ACTION and INVOLVEMENT. I tell my 3-year old to pick up after herself. She does it happily since it doesn't take any extra effort on her part, and I'm in a better mood because of it.
My wife and I looked all over for a good baby-sitter for our child so my wife could go back to work. What did we find? Houses full of mean and tempermental kids that watched TV all day. TV is not a baby-sitter. Sitting down with your kids to watch Blue's Clues, Shrek, or Ice Age is one thing. Putting them in front of the TV for 8 hours a day is completely different. I grew up on TV, as I'm sure many of/.ers did, but come on people.
There is a SERIOUS lack of respect today. Kids have absolutely -zero- respect for laws, property, and people. The Golden Rule is all but forgotten. You absolutely cannot have well-behaving kids without their respect. Any parent who cannot practice what he/she preaches doesn't deserve their childrens' respect, and those are the kids that NEED to respect someone more than anything else.
What does all this rant mean? That AD/HD is way way way over diagnosed by psychiatrists who can't tell the difference between a disease and parents who just don't fucking care any more. Believe me when I understand that there is a real disorder, but it's a rare case when it's been diagnosed proplerly. All the kids I've seen diagnosed with AD/HD (neighbor is a child custody attourney, so we get to see our fair share) can sit down and play video games or watch TV for HOURS on end, yet can't put their dirty clothes in a hamper.
"You want a litmus test to see if your child has ADHD? Fine. Put them in an empty room with a PlayStation 2 and if they can sit for more than a couple of hours playing games, they DO NOT have ADHD."
Win-R = Run Prompt (95% of my needs for that key) Win-D = Show the desktop (4% of my needs) Win-E = Explore (1% of my needs) Win-Break (hah!) = Device Manager (once or twice a year)
I completely agree with you. I bought my X31 (2672RHU) a couple of months ago to replace an aging Dell C810. This laptop is simply incredible.
The keyboard has full-size keys with plenty of travel, so you know when you've pressed a key. The whole thing is built like a brick shithouse. It doesn't creak like my Dell did when you pick it up. When the screen is closed, you don't feel like you're going to break the screen off by carrying it like a notebook. The way the screen latches to the frame, it all gets very solid.
Battery life is a stellar 4 hours on the standard battery. I've got an extra battery (the extended life one) on the way which *adds* another 5 hours of life.
I was going to complain about the lack of a Windows key, but you can remap other keys (I use the right alt key) to the same function.
About the only thing I missed was a serial port. It has an integrated serial port but you have to use the dock to get the damn connector. Since I work on Cisco stuff, a console cable is a must. Instead of carrying around the dock all the time, I use a USB serial port ($35) instead, and it works great.
At 1.6GHz, wireless a/b/g and bluetooth, a gig and a half of RAM, and ultra-lightweight, I cannot recommend this enough. Simply the finest laptop on the market.
Ah - thanks for the explanation. That's definitely not something easily reproducible on Windows.
I'm a long time Windows programmer, and I know what the difference is between a process, thread, and fiber. Can you explain what a fork is and why exactly it is different from a thread? If a thread throws an exception or crashes in Windows, it is simply killed off without causing the application to crash. Basically a thread occupies the same memory space as the creating thread, and a process gets a whole new memory space. How does "fork" differ from that model?
It is qmail, not QMail.
Oh, the humanity!
I'm not saying that linux isn't ready for the enterprise environment. It's just that my first year or so of working with it have been less than painless. Windows has it's share of problems, but for the most part it works well.
...instead of "go use Samba you fucktard".
I run a corporate AD forest that covers 3 countries. We have 3 primary AD controllers at the corporate office and a local AD controller at each major branch office. I've started integrating Linux into the mix, with an Oracle server, Mail server, DNS server, and a few application servers.
The hardest part has been getting Kerberos to properly authenticate with the AD tree. Basically, strip an off-the-shelf copy of Linux of anything related to Kerberos, then install a fresh copy of it from MIT. Once you've got that working, go pick up a copy of pam_krb5 and plug that into the PAM system. From then on out, all the linux services can authenticate with the AD tree through Kerberos.
If you want to share files, then you'll need to go the Samba route, but you don't have to start there. Plenty of Linux services (Courier IMAP, QMail, Bind, etc) work just fine on an AD forest without Samba.
I'm not sure if I'd trust my entire enterprise to Linux just yet. The time involved in figuring out which of the 5,000 configuration files I need to update to add a user isn't worth the ~$15 per user license of Windows. A single Windows 2003 server license plus users is very reasonable. It's the cost of 10+ server licenses that will kill you. Run a Windows AD controller and use Linux for the services on your network.
You didn't decouple your Heisenberg compensator. It's much easier after that.
I couldn't agree more. What we need is a new law similar to aggravated battery, but for stupid people. We can call it aggravated stupidity! You can get a citation for just being stupid - driving stupid, getting hurt doing stupid things, acting stupid, etc. The fines would start low and get progressively higher the more stupid you are until you are either broke or learn.
:)
I should run for congress. Then I'd have the money to pay my tickets
Fey work gweaf an I can feel ftuff I nefer fought I could!
7. This is related to 6, but don't forget that web connections are very short lived compared to what the original designers of TCP were thinking about. As a result, you're going to run into cases where you run out of epheral ports (netstat -an will show a ton of ports in TIME_WAIT) even though your machine is idle. This is why HTTP Multiplexing is important -- you don't want a lot of connection churn. Yes, you can tweak your OS settings so that TIME_WAIT expires quickly, but that isn't going to help your overall performance. (TCP connection setup/teardown is a huge burden on a HTTP request that may only span a few packets...)
Set up one server with 16 IP addresses and have Apache listen on all of them. Your inbound connection capabilities go up 16 fold if your server can handle the load. This gets around ports still in time_wait since you have 16x the number of IP's accepting inbound connections.
First, I want you to read parts 2 and 3 of the "almost Kerry" interview.
Now read the transcript of the Bush interview. I didn't agree with all of his points, but he at least has a vision about what he wants to do and some clear defined lines about what he will and will not do.
I agree that Iraq is a sore spot. I wish we hadn't gone in there in the first place. But to make that the *only* point in the election (for a US person at least) is rediculous. There are health care issues, border issues, crime issues, and a host of other problems we need solutions to, not just a vague promise of a better tomorrow. After Clinton fucked an intern, and I saw this picture, I really do believe that America needs to do what we need to do because obviously a democrat can't help the world opinion of us.
Eric
Oh well, 51% cannot be wrong. Or can they ? ;)
51% of this country wasn't wrong. I Kerry had made it into office, there's no telling how bad he would have fucked everything up. He never defined ANY of his views on how he would handle current and future situations. He just said that Bush was an idiot and his way was the Right Way. I voted for Bush because at least he has a plan. It might not be the best plan and I may not agree with all of it, but it's better than electing snipe.
Say hi to Tim Le for me. :)
Using any handheld calculator with an "x^y" key...
Take the number of divisions coming from a base vertex of the triangle and raise it to the power of the number of divisions coming from the opposite vertex. In the case given, 3 divisons to the power of 3 divisons = 27.
I tell people who ask me how to tell the real sites from the fakes sites to put in "dickfer" for the user name and "topeewith" for the password. If it logs in, they know it's fake and are free to fill in a proper name and address that the spammer may freely use.
There's an old slashdot story about something similar as well.
Oracle has nested table support (i.e. a small table inside a cell in another table) as well as array/collection support. No problem.
I'd still use separate tables. It keeps things 100% compatible with every database tool, report writer, web scripting engine, and development tool available. In a corporate setting where you may want to do something different in 5 years, keeping things simple is paramount.
but what do i know, i'm just a model [ftv.com].
:)
Will you marry me?
"No, I have no idea how to disable AutoRun on a device that has never been plugged in before."
Just hold down the shift key. You can also change the NoDriveTypeAutoRun registry key to permanently disable this functionality.
Just confront an intruder once and there's one less intruder in the world.
No, I'm not kidding.
Crawl back into your hole, troll.
You can search any type of file supported by the text engine. That includes PDF/DOC/HTML/XML/etc. Your network users store data onto the "oracle" share and can hit a web page search to find it.
"Are you sure you mean psychiatrists?"
To be honest, I don't really have enough information about either profession to say that one makes more ill-informed decisions than the other. I merely notice a trend of overdiagnosis in the kids I've met from "specalists" in the field. They may be psychiatrists, psychologists, or family doctors - I really don't know.
You bring up a valid point, though. There are various ways to get a license to dispense some pretty invasive medication. I would guess that the more training a medical practitioner goes through, the more thorough his/her diagnosis would be.
"That AD/HD is overdiagnosed should not detract from the fact that it is simultaneously underdiagnosed."
/.ers did, but come on people.
I agree with this, and I empathize. I'm nearly the same way - if I'm doing something I'm interested in, I can stay at it for hours. If I'm not interested in it, I simply can't stay focused. I may have AD/HD, though I've never been to someone who could diagnose me.
That being said, EVERYTHING I hear from the media says that ADD is what kids have when they won't behave. That's ENTIRELY not true. Kids that can't behave have no fucking discipline. Parents in this day and age are either too slothful or so apathetic they just don't care any more if their child succeeds.
Go to the store and watch the kids pull crap off shelves, then just drop it on the floor. What do their parents do? Leave it and say "don't do that". Parenting requires ACTION and INVOLVEMENT. I tell my 3-year old to pick up after herself. She does it happily since it doesn't take any extra effort on her part, and I'm in a better mood because of it.
My wife and I looked all over for a good baby-sitter for our child so my wife could go back to work. What did we find? Houses full of mean and tempermental kids that watched TV all day. TV is not a baby-sitter. Sitting down with your kids to watch Blue's Clues, Shrek, or Ice Age is one thing. Putting them in front of the TV for 8 hours a day is completely different. I grew up on TV, as I'm sure many of
There is a SERIOUS lack of respect today. Kids have absolutely -zero- respect for laws, property, and people. The Golden Rule is all but forgotten. You absolutely cannot have well-behaving kids without their respect. Any parent who cannot practice what he/she preaches doesn't deserve their childrens' respect, and those are the kids that NEED to respect someone more than anything else.
What does all this rant mean? That AD/HD is way way way over diagnosed by psychiatrists who can't tell the difference between a disease and parents who just don't fucking care any more. Believe me when I understand that there is a real disorder, but it's a rare case when it's been diagnosed proplerly. All the kids I've seen diagnosed with AD/HD (neighbor is a child custody attourney, so we get to see our fair share) can sit down and play video games or watch TV for HOURS on end, yet can't put their dirty clothes in a hamper.
I reserve the right to call Bullshit.
Speaking of ADHD. I heard on the radio:
"You want a litmus test to see if your child has ADHD? Fine. Put them in an empty room with a PlayStation 2 and if they can sit for more than a couple of hours playing games, they DO NOT have ADHD."
Win-R = Run Prompt (95% of my needs for that key)
Win-D = Show the desktop (4% of my needs)
Win-E = Explore (1% of my needs)
Win-Break (hah!) = Device Manager (once or twice a year)
I completely agree with you. I bought my X31 (2672RHU) a couple of months ago to replace an aging Dell C810. This laptop is simply incredible.
The keyboard has full-size keys with plenty of travel, so you know when you've pressed a key. The whole thing is built like a brick shithouse. It doesn't creak like my Dell did when you pick it up. When the screen is closed, you don't feel like you're going to break the screen off by carrying it like a notebook. The way the screen latches to the frame, it all gets very solid.
Battery life is a stellar 4 hours on the standard battery. I've got an extra battery (the extended life one) on the way which *adds* another 5 hours of life.
I was going to complain about the lack of a Windows key, but you can remap other keys (I use the right alt key) to the same function.
About the only thing I missed was a serial port. It has an integrated serial port but you have to use the dock to get the damn connector. Since I work on Cisco stuff, a console cable is a must. Instead of carrying around the dock all the time, I use a USB serial port ($35) instead, and it works great.
At 1.6GHz, wireless a/b/g and bluetooth, a gig and a half of RAM, and ultra-lightweight, I cannot recommend this enough. Simply the finest laptop on the market.