DaemonForums  

Go Back   DaemonForums > Miscellaneous > Off-Topic

Off-Topic Everything else.

Reply
 
Thread Tools Display Modes
Old 14th March 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Quote:
Originally Posted by Carpetsmoker View Post
Been doing some reading on the Japanese nuclear reactor situation, and the reactor core is manufactured by Toshiba ...
Yes, the same Toshiba that makes cheapass crappy laptops.

Not sure if this is funny or scary ... Or a mixture of both ... :-/
I wonder if they'll be issuing a nuclear power plant recall..
Reply With Quote
Old 14th March 2011
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 616
Thanked 9 Times in 9 Posts
Default

I respect both of the previous posters and I suspect they do not consider the disaster in Japan as "funny stuff". I request that one of the moderators move the previous 2 posts to another thread.

Last edited by vermaden; 14th March 2011 at 11:56 AM. Reason: Your request has been rejected.
Reply With Quote
Old 14th March 2011
roddierod's Avatar
roddierod roddierod is offline
Real Name: Rod Person
VPN Cryptographer
 
Join Date: Apr 2008
Location: Pittsburgh, Pa
Posts: 381
Thanked 13 Times in 13 Posts
Default

I always found Toshiba laptop to be better than most, especially Dell.
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick
Reply With Quote
Old 14th March 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,080
Thanked 198 Times in 156 Posts
Default

^ Actually, for a while they made very good laptops. More or less from the Pentium I through III period.
I actually ran FreeBSD on a PI era Toshiba Satellite until FreeBSD 6 releases ... Even the battery lasted for 30-45 minutes!

New laptops however (Newer meaning Pentium M-ish and everything after that) are not so great ... To be fair, this isn't just Toshiba but laptop manufacturers in general ...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.

Last edited by Carpetsmoker; 14th March 2011 at 05:32 PM.
Reply With Quote
Old 14th March 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Indeed, I have some of their older 486-class laptops.. and they still run today, not only that, but you got a complete memory map layout in the documentation.

As for the Japan thing, I never meant any offence, just trying to follow C.S's lead and add a little levity to the situation.
Reply With Quote
Old 14th March 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,080
Thanked 198 Times in 156 Posts
Default

I ordered one. I still feel alone Does not work as advertised

__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 14th March 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

I don't know, she does look heavenly.. always using pretty girls to market items, even religion.
Reply With Quote
Old 14th March 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,080
Thanked 198 Times in 156 Posts
Default

Been a slow night at work, so here are a few of the best out of a couple of dozen of pages @ 9gag. Selected especially for you





__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 14th March 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,080
Thanked 198 Times in 156 Posts
Default

__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 14th March 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,080
Thanked 198 Times in 156 Posts
Default

__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 14th March 2011
classicmanpro's Avatar
classicmanpro classicmanpro is offline
Real Name: Turea Alexandru Teodor
Fdisk Soldier
 
Join Date: Oct 2010
Location: Romania (SE Europe)
Posts: 49
Thanked 1 Time in 1 Post
Post

One of the great things about UNIX-like systems is the "health care program" offered to its users so ... How many of you have visited the "emacs psychiatrist" lately? ... I, for instance, spoke with it h{im,er} a couple of years ago.
__________________
A daemon in need is a daemon indeed.
Reply With Quote
Old 14th March 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,080
Thanked 198 Times in 156 Posts
Default

__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 14th March 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,080
Thanked 198 Times in 156 Posts
Default

__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 17th March 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,080
Thanked 198 Times in 156 Posts
Default

Code:
$configuratie_id = $_GET["configuratie_id"];
$queryC = "SELECT * FROM configuratie WHERE configuratie_id = $configuratie_id";
Some people should just be forbidden by law to do any programming.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 17th March 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,080
Thanked 198 Times in 156 Posts
Default

I just read further in the code, and there's ....

Code:
"DELETE FROM debiteur_configuraties WHERE configuratie_id=$configuratie_id"
There $configuratie_id the same variable as above.

So call this script with "?configuratie_id=%" and you just deleted all of our customers configuration setups stored in our database.

SQL injection was never easier.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 17th March 2011
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

You really don't want to know some of the crap I've seen over the years.

That reminds me of when a friend of mine noticed the website he was shopping on put the price that way, so he just convienantly made the item cost $0.01 at check out :-)
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Old 18th March 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,080
Thanked 198 Times in 156 Posts
Default

New record for most number of characters on a single line: 582 characters.

Quote:
echo "<input type=\"text\" value=\"".$arrayWaarde[1]."\" maxlength=\"3\" name=\"".$Ieigenschap_id."[]\" style='width:25px' onkeyup=\"if ((this.value.length == 3 && getKey(event) != 8) || getKey(event) == 110) { this.value = this.value.replace('.',''); document.getElementsByName('".$Ieigenschap_id."[]')[2].focus(); }\" onkeydown=\"if ((getKey(event) == 8 && this.value.length == 0)) { document.getElementsByName('".$Ieigenschap_id."[]')[0].focus(); document.getElementsByName('".$Ieigenschap_id."[]')[0].value = document.getElementsByName('".$Ieigenschap_id."[]')[0].value; }\">";
That's PHP, HTML, CSS, and Javascript.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 18th March 2011
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

I think I've seen lines up to700-900 char, but I can't remember whether it was C or HTML :-/. The sad thing is I can read that slop perfectly (unwrapped), and I've scarcely touched PHP in almost 3 years lol
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Old 21st March 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,080
Thanked 198 Times in 156 Posts
Default

Well, it's not difficult as such ... The "formatting" is just ... not the best possible ...

Now, PHP has plenty of drawbacks, but to be fair there are some good parts to it. In the end, it's of course the programmer at fault.

In a way, we should all be thankful to PHP. You see, it's a bit like Jupiter.

Those who have some familiarity with astronomy, will known that Jupiter is by far the largest and most massive planet in the solar system. As a result, it has a very strong gravitational pull.
The gravitation pull is so strong, that it pulls in many comets and other objects flying through the solar system, meaning they won't trouble those little carbon-based self-replicating automatons on that pale blue dot.

In a similar fashion, PHP seems to have a large gravitational pull for programmers. Especially those with a low gravitational pull of their own are quickly pulled in.
This of course means they won't trouble all the other programmers so much.
PHP is the sinkhole of programming languages
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 21st March 2011
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

Sounds great, except we don't use Jupiter directly as much as we use PHP powered websites that may or may not have been written by a total and complete moron, that just so happened to gravitate toward it; hehe.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Check this out (funny contest). fbsduser Off-Topic 6 4th March 2009 10:48 PM
Funny network behaviour :) PatrickBaer General software and network 5 9th October 2008 09:47 AM
Funny things in /usr/share/misc ivanatora FreeBSD General 4 10th August 2008 02:13 PM


All times are GMT. The time now is 06:38 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick