dealnews.com (originally just deal-mac.com) is still alive and kicking. We are still doing what we did in 1997. We still have the same owners. (I was employee #3, the owners were #1 and #2). We did not burn through crap loads of other people's money. We did not hire a huge rock band for our company parties. We did not do any of those things that the failures (and sure, some of the success) did. Good business decisions for the win.
Wow, so 7 out of 9 geeks use a geeky thing. Did you ask how many run Linux? I bet it was all nine. That must mean that Linux will be taking over all computing any day now.
I have nothing but good experiences with Dell's Linux support. Granted, I have not asked them Linux questions. I have usually had a hardware problem. However, they have not choked on the fact that we run Gentoo. Their people seemed knowledgable about Linux in general. You could also tell they are not drones cause they answer the phone "Hello" not with some scripted speech.
I wonder how many of their orders don't include an OS? When we order our servers from them, we don't get an OS. We then install Gentoo when we get them.
No ISPs forced to use SPEWS: if they do, then it's the ISPs servers the spam's clogging up, and their choice to block based on any criteria they want to.
There is a problem with this mindset. You assume that every sysadmin that uses an anti-spam tool reads every comment about how the list/lists are created. What happens in reality is more like this:
to: some list from: naive sys admin subject: help me stop spam
Does anyone know of a good way to stop spam on my servers. My boss is mad.
--------
to: naive sys admin from: ohter sys admin subject: Re: help me stop spam
I use SPEWS. It works great.
--------
to: ohter sys admin from: naive sys admin subject: Re: help me stop spam
Wow! that stopped tons of spam. Thanks.
I see that all the time on mailing lists. The people have no idea what they are blocking. They are depending on the list suppliers to be responsible.
FWIW, I am currently being blocked by one of these type lists for similar reasons. An internet marketing company has 3 ips in the C-Class in which we have 64 ips. SPEWS has blocked the entire C-Class. Sucks cause for all I know the marketing company has legitimate addresses. You know, dumb people that put there email address places and don't read find print. They deserve the spam, IMO.
it seems the corporations want to all make one product that does everything. PDA/Phone, game console/DVR/DVD and now that phone/GB. I have a Clie and a Phone. I would never want to hold my clie up to my ear. Why can't these big wigs in marketing just realize people want individual products that do their job well.
The only exception I make to this is when products have to interact. Things like the DirecTivo for example. In that case, it makes life easier as you don't have to interface two components.
Another example is performance. Sites like yahoo and amazon do things such as decoupling database access from page views, instead generating static pages or almost complete static pages and serving those; or they cache html output agressively; They have huge server farms and they rather take a performance hit instead of paying enterprise wide licenses. etc., etc.
In other words, they're trying to solve a much different problem than what most of us are solving.
When I read this, I get the message that these companies would rather throw money at a problem than figure out a way to make things work. That has always bugged the crap out of me. I am firm believer in making things work right. I have done work for people, where they were considering moving to some convoluted multi-server setup when all they needed was someone to recompile Apache/PHP/Mysql with the stuff they NEED and add some keys to a table. Rather than just look into it, they wanted to throw money at it and make the problem go away.
The part where ASP.NET shines is the separation of presentation from code. In a properly coded ASP.NET page, almost no server side code is present in the aspx page, and all of the work is done in a "code behind" area.
"almost"? Wouldn't it be teh goal to make it none? In a properly coded PHP page, you can do whatever you want. I don't know what "server side code" and "aspx page" mean, but if you are talking about separating business logic and stuff, that has been around long before ASP.Net. I was doing that with VB in 1997. You can do it with PHP and things like Java or even COM too if you like.
OO is a great paradigm for other things, but it falls short when trying to use it for web development.
I totally agree with that. Coming from VB 6 and before to PHP was really easy in the OO arena. There was a term that MS sold to all the VB folks. Coding With Objects. This is different from OOP. You use a procedural(sp?) shell/wrapper/whatever to access objects that encapsulate data/business logic/whatever. This is awesome in PHP. The stuff that needs protecting or needs to be behind the curtain, can be. The other stuff is easy to do and can be done quickly.
PHP is not a true object-oriented programming environment.
Thank God.
On top of that, the PHP language is not strongly typed, and you don't even need to declare variables.
Thank God!
PHP has no structured exception handling.
Hmmm, I went from C/VB to PHP, so maybe I just never see the need. IMHO, if you have an error, the page needs to halt and someone should be notified.
Objects in PHP are language values. When performing operations like variable assignment and passing the object as a parameter to a function, the whole object is copied. That's a bad thing.
Not sure if you actually use PHP or not. FWIW, the feature list is more fair than I expected. There were some areas where MS was wrong. I like the areas where the PHP feature was one 6 word sentence and the MS feature said the exact same thing, but it takes 4 a paragraph. The funniest things were the examples. I especially liked the comment example. I can't believe that PHP takes that many lines to have a comment! Oh, wait...// this is a comment
They forgot that one. Darn. I also liked the use of the while: endwhile; syntax to make PHP look bad. Oh, well, what should I have expected. I have likely been guilty of the same thing when digging on our resident Perl groupy at the office.
See, but a bank's web site could run on PHP. They just don't need to balance your checking account with it. I mean, doesn't the enterprise need a good web site building language just like everyone else? Do they have some great language for writing dynamic HTML that I don't know about.
We, therefore, should also make cars so that blind people can drive without worry in normal traffic.
Here in Alabama, banks were forced to install brail ATMs in there DRIVE THRU ATMs because there was a law or court case or something that said ALL ATMs had to be brail. True story.
I mean, my friends and family, who can see, have me do little crap like this for them because it blows their mind. "something is wrong with this website. these words come up and there are all these lines through it. I figured I would just wait for you to come by".
Its not about getting more stuff in the car. It is about making the stuff that is in there run more efficiently. Its physics man. The key thing about that converter you mention is that the power is not very clean. It has spikes and dips because it is the size of a book. You should have read the article before posting.
And PLEASE, use PHP objects. Someday PHP will be a "good" programming language with good OO features, get used to what it has now.
I hope you are not implying to use objects for the sake of using objects. I use objects where they are needed. But in a language that is not bound to them, they are not needed all the time. I remember someone wanted to have a String class be part of PEAR. Why on earth do you need a string class in a language with such great string functions? I have seen object overkill and it is not a pretty thing.
Where do I use them? When I need to keep stuff "behind the curtain". We have a class to display large tabular data that we use. It is the right choice as we just call $report->addrow("data", "data"...); and the class keeps up with it all in vars for us and there is no mess.
So, use them where they are appropriate, is my advice.
Trends? Hmmmm. That is tough to say. Everyone has their own way of doing things. It is quite common amongst the available PHP applications out there (Phorum, phpBB, PHPNuke, etc.) to have a common.php type of file and/or a config.php file.
I can't really point you to any URLs as I don't really know any. I can tell you what we do at dealnews.com. That may not be what you want, but it is all I have to offer.
We have a library or as we call it codelib of about 300 different files. Some are classes, some are function based. When we create a new site, we create functions to access the data layer for that sites data. Then, when designing the GUI, we can simply call those functions which return us arrays. This makes working with the data easier as you don't have to worry each time what query to use and such.
You can take this a step farther as we have done with Phorum (and others, see Smarty) and separate the output layer as well. Phorum uses a 3 layer design. The database interaction is contained in one file (big file). All connections and things that need knowledge about data access are in that file. the functions in that file return arrays where data needs to be returned. The core, as we call it, calls those functions to get the data. It then does whatever it needs to them (formatting of text, URL creation of links, etc) and creates another array for the last layer to use. The output or template layer then uses the arrays to generate an HTML page. You would probably want to just use Smarty for this. It is powerful and generic. We wrote our own as Smarty was just starting when we started Phorum 5 and we need some stuff just for us.
If you want examples, you can check out the Phorum 5 code at http://phorum.org/. I really tend to develop most of my own stuff so I don't look at other's code much, sorry.
When I signed up for my cable modem about a month ago at my new house, I was offered three tiers. 384kbps / 768kbps / 1.5Mbps. All both ways. I went with the lowest because of a package deal with digital cable (non-movie channels, $74.99 for both). There is another package now that bundles the "big" bandwidth with all movie channels for $99.99. I was going to switch, but It seems after an issue with my cable modem, they reset me to the 1.5Mbps package. So, I am happy now.
First, add the dealnews.com (a news site, not a reseller) box to your slashdot. Watch it for two weeks swooping up some stuff for really cheap. then get everything else from newegg, accept your ram, get that from somebody listed on dealram.com (a ram listing).
My personal reccomendation is:
AMD CPU Gigabyte MB (333) DDR RAM (ECC) IBM 120GXP (several sizes) drive. Don't get sucked into the ATA-133 myth. nVidia Ti4?00 video card Enlight cases are the best under $60. There are some even nicer cases but you will pay for them. Fill in the rest as you see fit.
dealnews.com (originally just deal-mac.com) is still alive and kicking. We are still doing what we did in 1997. We still have the same owners. (I was employee #3, the owners were #1 and #2). We did not burn through crap loads of other people's money. We did not hire a huge rock band for our company parties. We did not do any of those things that the failures (and sure, some of the success) did. Good business decisions for the win.
Wow, so 7 out of 9 geeks use a geeky thing. Did you ask how many run Linux? I bet it was all nine. That must mean that Linux will be taking over all computing any day now.
I can't talk, I use a Logitech Marble Mouse.
I have nothing but good experiences with Dell's Linux support. Granted, I have not asked them Linux questions. I have usually had a hardware problem. However, they have not choked on the fact that we run Gentoo. Their people seemed knowledgable about Linux in general. You could also tell they are not drones cause they answer the phone "Hello" not with some scripted speech.
I wonder how many of their orders don't include an OS? When we order our servers from them, we don't get an OS. We then install Gentoo when we get them.
Brian.
dealnews.com
FYI, #24 on the list, dealnews.com can be added as a Slashdot sidebar item.
</shameless plug>
No ISPs forced to use SPEWS: if they do, then it's the ISPs servers the spam's clogging up, and their choice to block based on any criteria they want to.
There is a problem with this mindset. You assume that every sysadmin that uses an anti-spam tool reads every comment about how the list/lists are created. What happens in reality is more like this:
to: some list
from: naive sys admin
subject: help me stop spam
Does anyone know of a good way to stop spam on my servers. My boss is mad.
--------
to: naive sys admin
from: ohter sys admin
subject: Re: help me stop spam
I use SPEWS. It works great.
--------
to: ohter sys admin
from: naive sys admin
subject: Re: help me stop spam
Wow! that stopped tons of spam. Thanks.
I see that all the time on mailing lists. The people have no idea what they are blocking. They are depending on the list suppliers to be responsible.
FWIW, I am currently being blocked by one of these type lists for similar reasons. An internet marketing company has 3 ips in the C-Class in which we have 64 ips. SPEWS has blocked the entire C-Class. Sucks cause for all I know the marketing company has legitimate addresses. You know, dumb people that put there email address places and don't read find print. They deserve the spam, IMO.
It's great because they become wonderful advocates for Xbox.
How un-Redmond of them to admit in the statement that their interest is in making these people Xbox buyers.
it seems the corporations want to all make one product that does everything. PDA/Phone, game console/DVR/DVD and now that phone/GB. I have a Clie and a Phone. I would never want to hold my clie up to my ear. Why can't these big wigs in marketing just realize people want individual products that do their job well.
The only exception I make to this is when products have to interact. Things like the DirecTivo for example. In that case, it makes life easier as you don't have to interface two components.
Another example is performance. Sites like yahoo and amazon do things such as decoupling database access from page views, instead generating static pages or almost complete static pages and serving those; or they cache html output agressively; They have huge server farms and they rather take a performance hit instead of paying enterprise wide licenses. etc., etc.
In other words, they're trying to solve a much different problem than what most of us are solving.
When I read this, I get the message that these companies would rather throw money at a problem than figure out a way to make things work. That has always bugged the crap out of me. I am firm believer in making things work right. I have done work for people, where they were considering moving to some convoluted multi-server setup when all they needed was someone to recompile Apache/PHP/Mysql with the stuff they NEED and add some keys to a table. Rather than just look into it, they wanted to throw money at it and make the problem go away.
The part where ASP.NET shines is the separation of presentation from code. In a properly coded ASP.NET page, almost no server side code is present in the aspx page, and all of the work is done in a "code behind" area.
"almost"? Wouldn't it be teh goal to make it none? In a properly coded PHP page, you can do whatever you want. I don't know what "server side code" and "aspx page" mean, but if you are talking about separating business logic and stuff, that has been around long before ASP.Net. I was doing that with VB in 1997. You can do it with PHP and things like Java or even COM too if you like.
OO is a great paradigm for other things, but it falls short when trying to use it for web development.
I totally agree with that. Coming from VB 6 and before to PHP was really easy in the OO arena. There was a term that MS sold to all the VB folks. Coding With Objects. This is different from OOP. You use a procedural(sp?) shell/wrapper/whatever to access objects that encapsulate data/business logic/whatever. This is awesome in PHP. The stuff that needs protecting or needs to be behind the curtain, can be. The other stuff is easy to do and can be done quickly.
PHP is not a true object-oriented programming environment.
Thank God.
On top of that, the PHP language is not strongly typed, and you don't even need to declare variables.
Thank God!
PHP has no structured exception handling.
Hmmm, I went from C/VB to PHP, so maybe I just never see the need. IMHO, if you have an error, the page needs to halt and someone should be notified.
Objects in PHP are language values. When performing operations like variable assignment and passing the object as a parameter to a function, the whole object is copied. That's a bad thing.
See &.
Not sure if you actually use PHP or not. FWIW, the feature list is more fair than I expected. There were some areas where MS was wrong. I like the areas where the PHP feature was one 6 word sentence and the MS feature said the exact same thing, but it takes 4 a paragraph. The funniest things were the examples. I especially liked the comment example. I can't believe that PHP takes that many lines to have a comment! Oh, wait... // this is a comment
They forgot that one. Darn. I also liked the use of the while: endwhile; syntax to make PHP look bad. Oh, well, what should I have expected. I have likely been guilty of the same thing when digging on our resident Perl groupy at the office.
> No, I wouldn't want a bank running on PHP
See, but a bank's web site could run on PHP. They just don't need to balance your checking account with it. I mean, doesn't the enterprise need a good web site building language just like everyone else? Do they have some great language for writing dynamic HTML that I don't know about.
> Also, if anyone knows of any projects
/
> (with source available) written in PHP
> that are designed well, I would be
> interested to hear of them.
http://dev.phorum.org/cvsweb/cvsweb.cgi/phorum5
We, therefore, should also make cars so that blind people can drive without worry in normal traffic.
Here in Alabama, banks were forced to install brail ATMs in there DRIVE THRU ATMs because there was a law or court case or something that said ALL ATMs had to be brail. True story.
I mean, my friends and family, who can see, have me do little crap like this for them because it blows their mind. "something is wrong with this website. these words come up and there are all these lines through it. I figured I would just wait for you to come by".
Its not about getting more stuff in the car. It is about making the stuff that is in there run more efficiently. Its physics man. The key thing about that converter you mention is that the power is not very clean. It has spikes and dips because it is the size of a book. You should have read the article before posting.
I agree. We ran into that with Phorum. Caused us some bad press where files divulged info we did not want divulged.
And PLEASE, use PHP objects. Someday PHP will be a "good" programming language with good OO features, get used to what it has now.
I hope you are not implying to use objects for the sake of using objects. I use objects where they are needed. But in a language that is not bound to them, they are not needed all the time. I remember someone wanted to have a String class be part of PEAR. Why on earth do you need a string class in a language with such great string functions? I have seen object overkill and it is not a pretty thing.
Where do I use them? When I need to keep stuff "behind the curtain". We have a class to display large tabular data that we use. It is the right choice as we just call $report->addrow("data", "data"...); and the class keeps up with it all in vars for us and there is no mess.
So, use them where they are appropriate, is my advice.
Brian.
Phorum.org
Trends? Hmmmm. That is tough to say. Everyone has their own way of doing things. It is quite common amongst the available PHP applications out there (Phorum, phpBB, PHPNuke, etc.) to have a common.php type of file and/or a config.php file.
I can't really point you to any URLs as I don't really know any. I can tell you what we do at dealnews.com. That may not be what you want, but it is all I have to offer.
We have a library or as we call it codelib of about 300 different files. Some are classes, some are function based. When we create a new site, we create functions to access the data layer for that sites data. Then, when designing the GUI, we can simply call those functions which return us arrays. This makes working with the data easier as you don't have to worry each time what query to use and such.
You can take this a step farther as we have done with Phorum (and others, see Smarty) and separate the output layer as well. Phorum uses a 3 layer design. The database interaction is contained in one file (big file). All connections and things that need knowledge about data access are in that file. the functions in that file return arrays where data needs to be returned. The core, as we call it, calls those functions to get the data. It then does whatever it needs to them (formatting of text, URL creation of links, etc) and creates another array for the last layer to use. The output or template layer then uses the arrays to generate an HTML page. You would probably want to just use Smarty for this. It is powerful and generic. We wrote our own as Smarty was just starting when we started Phorum 5 and we need some stuff just for us.
If you want examples, you can check out the Phorum 5 code at http://phorum.org/. I really tend to develop most of my own stuff so I don't look at other's code much, sorry.
excess in nForce chipsets that we built in anticipation of higher demand of Athlon-based PCs..
Never mind that the nForce was hype that never really beat out older motherboards.
When I signed up for my cable modem about a month ago at my new house, I was offered three tiers. 384kbps / 768kbps / 1.5Mbps. All both ways. I went with the lowest because of a package deal with digital cable (non-movie channels, $74.99 for both). There is another package now that bundles the "big" bandwidth with all movie channels for $99.99. I was going to switch, but It seems after an issue with my cable modem, they reset me to the 1.5Mbps package. So, I am happy now.
First, add the dealnews.com (a news site, not a reseller) box to your slashdot. Watch it for two weeks swooping up some stuff for really cheap. then get everything else from newegg, accept your ram, get that from somebody listed on dealram.com (a ram listing).
My personal reccomendation is:
AMD CPU
Gigabyte MB (333)
DDR RAM (ECC)
IBM 120GXP (several sizes) drive. Don't get sucked into the ATA-133 myth.
nVidia Ti4?00 video card
Enlight cases are the best under $60. There are some even nicer cases but you will pay for them. Fill in the rest as you see fit.