DaemonForums  

Go Back   DaemonForums > Miscellaneous > Off-Topic

Off-Topic Everything else.

Reply
 
Thread Tools Display Modes
Old 29th July 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,067
Thanked 198 Times in 156 Posts
Default

Got this from fortune:

Quote:
At first, I just did it on weekends. With a few friends, you know...
We never wanted to hurt anyone. The girls loved it. We'd all sit
around the computer and do a little UNIX. It was just a kick. At
least that's what we thought. Then it got worse.

It got so I'd have to do some UNIX during the weekdays. After a
while, I couldn't even wake up in the morning without having that
crave to go do UNIX. Then it started affecting my job. I would just
have to do it during my break. Maybe a `grep' or two, maybe a little
`more'. I eventually started doing UNIX just to get through the day.
Of course, it screwed up my mind so much that I couldn't even
function as a normal person.

I'm lucky today, I've overcome my UNIX problem. It wasn't easy. If
you're smart, just don't start. Remember, if any weirdo offers you
some UNIX,

Just Say No!
__________________
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 29th July 2011
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

That's exactly my story
Reply With Quote
Old 29th July 2011
Daffy Daffy is offline
Fdisk Soldier
 
Join Date: Jun 2010
Posts: 73
Thanked 0 Times in 0 Posts
Default

I'm putting this on funny, just because.

Emacs has been violating the GPL since 2009
Reply With Quote
Old 29th July 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,067
Thanked 198 Times in 156 Posts
Default

Yeah, I read that. It just proves the GPL is so complicated that adhering by it (even with the best of intentions) is difficult at best.
__________________
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 29th July 2011
Daffy Daffy is offline
Fdisk Soldier
 
Join Date: Jun 2010
Posts: 73
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Carpetsmoker View Post
Yeah, I read that. It just proves the GPL is so complicated that adhering by it (even with the best of intentions) is difficult at best.
In fact so complicated, that even the GPL's founder main and most known contribution was violating it...

When I read news like that, I don't know if I have to laugh or cry for the turn they/we've taken...
Reply With Quote
Old 29th July 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,067
Thanked 198 Times in 156 Posts
Default

As I understood it (from h-online), Stallman already stepped down as EMacs maintainer when the GPL violation took place.
__________________
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 30th July 2011
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 321
Thanked 9 Times in 9 Posts
Default

Quote:
Originally Posted by Daffy View Post
I'm putting this on funny, just because.

Emacs has been violating the GPL since 2009
Man, that just hurts.
__________________
Linux Admin by Profession. OpenBSD user by choice.
Reply With Quote
Old 29th August 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,067
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 29th August 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

Not a ginger yet it seems.
Reply With Quote
Old 2nd September 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,067
Thanked 198 Times in 156 Posts
Default

Haha Yay, I knew there had to be at least one more Dr Who fanatic here

So here's something I found at http://www.bto.eu/

Now, this page is a complete mess, unreadable, and butt-ugly, but this one really tops it:
Code:
PriceInclVAT = PriceExclVAT * (1+(19/100))
bbPrijsOptie = (aa_array[1] * 1) * (1-(20/100))
(Variable names translated from Dutch four your convenience)

They also sell notebooks with a Socket 1377 i7 CPU's, for those not up to snuff on the latest CPU's, they are 130W desktop CPU's.
__________________
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 10th September 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,067
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 10th September 2011
drhowarddrfine drhowarddrfine is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 358
Thanked 9 Times in 8 Posts
Default

UNIX' Russian Roulette:
sudo [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live”
Reply With Quote
Old 10th September 2011
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Smile

Quote:
Originally Posted by drhowarddrfine View Post
UNIX' Russian Roulette:
sudo [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live”
That made my day
Good one...
Reply With Quote
Old 10th September 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,658
Thanked 214 Times in 189 Posts
Default

I think the echo might execute regardless, as it is a built-in shell command.
Reply With Quote
Old 10th September 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

Wouldn't that be a piss poor game of russian roulette? you always win, both rm and echo are executed as a normal user.. not as root.
Reply With Quote
Old 10th September 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,658
Thanked 214 Times in 189 Posts
Default

You're right, BSDfan!

I'm wrong, though, echo is indeed /bin/echo, not built-in.
Reply With Quote
Old 10th September 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 jggimi View Post
You're right, BSDfan!

I'm wrong, though, echo is indeed /bin/echo, not built-in.
It depends on the shell, but usually it's both.

Code:
$ type echo
echo is a shell builtin
$ which echo
/bin/echo
Actually, pdksh's echo accepts [-Een] as options.. /bin/echo only accepts [-n].
Reply With Quote
Old 10th September 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

You know what's really funny? POSIX echo doesn't specify any options at all, so both are technically non-compliant..

Ironically pdksh's posix option makes the built-in echo identical to /bin/echo and accepts only [-n].. which as I mentioned isn't defined by POSIX.
Reply With Quote
Old 10th September 2011
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 556
Thanked 14 Times in 13 Posts
Default

Isn't the syntax

$[ ... ]

for arithmetic expansion a no longer documented bash-ism? I think it's more readable than

$(( ... ))

but maybe it should be avoided if it's deprecated?
Reply With Quote
Old 11th September 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,067
Thanked 198 Times in 156 Posts
Default

$[...] certainly doesn't work in /bin/sh, and what is $RANDOM? Some special bash variable (?) Again, /bin/sh doesn't set this.

So I guess it's not a UNIX roulette, but a bash/Linux roulette.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
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 08:24 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