Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

I typed "rm /tmp/ *"

Name: Anonymous 2012-08-28 5:32

And the Unix filth did it. Without moving files to trash can. And there is no way to get anything back, because WORSE IS BETTER and the the shitty Unix unlinks everything even when filesystem has enough free space. Why? Why Unix cant die and be replaced with a good OS?

Name: Anonymous 2012-08-28 5:43

>>3
you just did something
Nope. I didnt invented Unix.


Why there is no way to bury Unix,Linux and C/C++? The world will become so much better without them. Killing Unix is like extermination all the Jewish parasites or finding a cure for cancer - it will a major success for humanity.

Name: Anonymous 2012-08-28 5:47

>>4
You deserved it.
I doubt any user deserves a system that shoots him in the foot.

Name: Anonymous 2012-08-28 6:00

It's funny because since I first linked Xah Lee on here, some /prog/riders keep bashing UNIX and Worse is Better. But yeah, UNIX is shit and GNU and Windows are only barely less evil.

Name: Anonymous 2012-08-28 6:02

>>6
no responsibility for own actions

Name: Anonymous 2012-08-28 6:07

>>8
I never acted to develop or support Unix in any way. I always criticized it.

Name: Anonymous 2012-08-28 6:09

>>7
The problem with flame posts such as yours is that they don't actually try to say anything interesting but usually reflect their own ineptitude. The message that I read goes along these lines:
I have a problem and I am too inept to express why this problem is worth your time. Instead I'll just be vague, you're smart enough to know what the problem is.

Name: Anonymous 2012-08-28 6:09

>>7
Well, Windows too has unlink function and it will delete immediately, because it was written by the same worse-is-better faggots, who hate users and want everyone to suffer.

Name: Anonymous 2012-08-28 6:09

>>6

if you don't want to shoot yourself in the foot, then don't kill weeds using a shot gun. Use weed spray instead. But if by chance a wolf surprises you, you may have trouble fending it off with weed spray.


#!/bin/sh

TRASH=~/.trash
TIME_STATE_FORMAT=%s
TIME_STAMP=`date +$TIME_STATE_FORMAT`

while [ -n "$1" ]; do
  # todo, test for ability to move file, $1, and emit error message if unable.
  mv $1 $TRASH/$1.$TIME_STAMP
  shift
done

Name: Anonymous 2012-08-28 6:17

>>9
That's a red herring to the point which is: you are complaining that the system actually followed your command.

Name: Anonymous 2012-08-28 6:22

type command
computer does as requested
WHYYYYYY, I HATE THIS!!!!!

Name: Anonymous 2012-08-28 6:27

>>12
oh shit, this'll do something unexpected if you give it ..

Name: Anonymous 2012-08-28 6:39

>>12
The problem is that you rewrite `rm` with a safe version only when you already shot yourself. I.e. your foot is already lost.

>>14
Nope. Computer does what Unix designers requested it to do. While user requests everything to be done in a correct and safe way.

Alas Unix just doesn't know terms "correct" and "safe". Even things as simple as function rand() will shot your in the foot (see http://www.azillionmonkeys.com/qed/random.html)

Name: Anonymous 2012-08-28 6:45

>>16
The user is at fault for misusing the tools. Don't blame the hammer when you're using it to screw in a screw.

Name: Anonymous 2012-08-28 7:20

>>17
Unix isnt a tool, Unix is a pile of shit. Using Unix for anything is like hammering a nail with a sack of dog shit.

Name: Anonymous 2012-08-28 7:25

>>18
type command
computer does as requested
WHYYYYYY, I HATE THIS!!!!!
2012
ISHYGDDT

Name: Anonymous 2012-08-28 9:42

>>16
The problem is that you rewrite `rm` with a safe version only when you already shot yourself. I.e. your foot is already lost.
I added an alias for rm into a command that moves stuff to /tmp/trash when I learnt about it and before I deleted anything important, both feet are still present.

Name: Anonymous 2012-08-28 11:12

http://m.simson.net/ugh.pdf
Unix is a computer virus with a user interface.
Unix is a toy OS, created to run a game in a few KB memory. It was a gimped single-user Multics. Any real OS moves the deleted files to a temporary area or has a way to restore deleted files. Even MS-DOS has better file recovery (UNDELETE). Windows NT has good parts, from VMS, and bad parts, from Unix.

Name: Anonymous 2012-08-28 11:38

Fuck off back to /g/, >>1-san.

>>19
You too.

Name: Anonymous 2012-08-28 12:44

Trash can
HAHAHAHHAHAHAHAHAHAHAHHAHAHAHAHAHAHAbackto/g/please

Name: Anonymous 2012-08-28 12:51

Hey guys, I stabbed myself in the hand with a knife and it actually pierced through my hand. Therefore, I'm smart and whoever invented knives are stupid.

Name: Anonymous 2012-08-28 13:01

Any real OS moves the deleted files to a temporary area or has a way to restore deleted files.
Yeah, wasting several terabytes of disk space with stuff that I wanted to delete is a sensible thing to do.

Name: Anonymous 2012-08-28 14:56

>>25
There's also a way to permanently delete (purge) files. Only a shitty file system (sync; sync; sync) uses the first available space to store files.

Name: Anonymous 2012-08-28 15:06

Can you believe that there's no real OS that saves memory from RAM that was free'd by program, rather than putting it into a trash can for me to examine before, finally, being deleted to the OS trash can to undergo final examinations and then deleted if deemed necessary?

Name: Anonymous 2012-08-28 15:21

>>27
I like you, you can stay.

Name: Anonymous 2012-08-28 16:39

Don't play with daddy's tools if you don't know how to use them. Stick with you Microsoft toys, kid.

Name: Anonymous 2012-08-28 16:44

>>25
Modern flash storage devices will benefit from the circular first deleted - first overwritten scheme. Because there is a limited number of times one can write on a flash.

Name: Anonymous 2012-08-28 16:47

>>30
And, BTW, keeping alive filenames for deleted files will also extend SSD's live. So basically Unix killed my files and raped my SSD with needless writes.

Name: Anonymous 2012-08-28 16:48

>>30,31
I don't know how unlink works.

Name: Anonymous 2012-08-28 16:52

>>31
So basically Unix killed my files and raped my SSD with needless writes.
The other day I put gas in my car so I can drive it. Then I began driving and my car started burning the gas. Whoever invented cars was an idiot. The gas should just stay in the tank so you can drive forever.

Name: Anonymous 2012-08-28 16:55

>>33
Same thing with hard drives. The OS should never write to the hard drive, because the number of writes are limited. That's why I don't eat food, because there's only a limited number of bites I can take before the food is gone. Eating food is a waste.

Name: Anonymous 2012-08-28 16:58

>>32
Like everything in the Unix World, unlink() works in the worst possible way.

As a rule of thumb: never ever invoke `rm` directly. Especially in your home directory.

Name: Anonymous 2012-08-28 16:59

>>33
That is why U.S. lost cart market with their enormous tanks, while Japanese won.

Name: Anonymous 2012-08-28 17:01

>>36
car market
self fix.

Name: Anonymous 2012-08-28 17:06

>>35
You're an idiot. I can rm -rf ~ and I'll be in perfect shape because I have backups. In fact, my home directory is synced across my Thinkpad, my EEEPC, my Mac, my headless in the garage, and partially to my EC2 server/seedbox and my account on my school's network.

Some of us actually know how to use our tools, kid. Go back to /g/ and show everybody your OMG customized Windows desktop.

Name: Anonymous 2012-08-28 17:15

>>38
Yep! When dealing with Unix you ought to do backups. A lot of backups.

Name: Anonymous 2012-08-28 17:20

>>39
Yes, because as you observed, hard drives fail after a finite number of writes. So what's your excused for not backing up? You think that AVD malware that keeps popping up and promising to protect you is going to shelter your from the harsh reality of hardware failures just like your mommy and daddy do from the ``real world''?

You really are an idiot.

Name: Anonymous 2012-08-28 17:20

UNIX™ can't into Unicode or sane user interfaces

Name: Anonymous 2012-08-28 17:23

>>41
Define ``sane''. Windows 8 or LoseThos?

Name: Anonymous 2012-08-28 17:23

Hey guys, I threw my hard drive into a fire and now I can't retrieve my files.
Whoever invented hard drives is an idiot.

Name: Anonymous 2012-08-28 17:24

Name: Anonymous 2012-08-28 17:25

>>40
SSD's shouldnt fail that quickly, because they have no moving parts. So any failure will indicate a breach of manufacturing process.

Name: Anonymous 2012-08-28 17:27

>>43
The NSA can. Shoulda used thermite.

Name: Anonymous 2012-08-28 17:29

>>38,40
Agreed. UNIX™ is better because it wastes more time and makes me feel like a true UNIX hacker.

  .
 ..:

Suck it, Win$hit faggots! Im better than U!

Name: Anonymous 2012-08-28 17:37

>>47
How does *nix ``waste time''?

It's ironic considering the only time I ever use Windows is to help my roommates troubleshoot their performance problems. Not to mention the constant BSoD that was preventing my landlord from checking his email for three days.

Windows sure is a timesaver !

Name: Anonymous 2012-08-28 17:46

Dear All
Today I accidentaly removed my home directory which contains no. of other directories having my work done in last 3 years.
I used the command rm -rf * .
I am really confused as to what to do.
I looked for the problem in the google got some links pertaining to my problem, but got no solution.

Name: Anonymous 2012-08-28 17:50

zsh prompts me whenever I do rm *. It's pretty annoying, but I hardly ever do rm * because then I'd be left with a useless empty directory I need to get rid of.

Name: Anonymous 2012-08-28 17:52

>>50
Exactly! "rm *" is completely useless, yet Unix still allows it, just so you can you yourself in the foot.

Name: Anonymous 2012-08-28 17:56

>>51
It's not completely useless. If you're poking around in a cache directory and decide you want to empty it, rm * is exactly what you want.

Name: Anonymous 2012-08-28 18:01

>>52
poking around in a cache directory...
Yet another design flaw! System should clean its caches itself, when it needs space. I.e. if your webserver has a big log file and storage device is out of space, webserver should wrap log around. But no, a Unix webserver will just crash, damaging the log file in most cases and leaving database inconsistent.

Name: Anonymous 2012-08-28 18:04

Name: Anonymous 2012-08-28 18:04

>>51
Yes, Unix ``allows'' me to do what I want. Terrible ! I'd much rather use an OS that tells me ``no, you are no allowed to delete these files because you're probably just a mouthbreathing faggot who doesn't know what the fuck you're doing, like >>1-san ! How about a nice game of solitaire?''

Name: Anonymous 2012-08-28 18:06

>>53
Yet another design flaw! System should clean its caches itself, when it needs space.
Says the faggot who deleted his home directory trying to clear /tmp, which is managed by the system.

Retards these days.

Name: Anonymous 2012-08-28 18:09

>>54
http://en.wikipedia.org/wiki/Flash_memory#Memory_wear
Exactly why OS shouldnt delete files, when it doesnt need to.

Name: Anonymous 2012-08-28 18:11

>>55
http://en.wikipedia.org/wiki/Three_Laws_of_Robotics
1. A robot may not injure a human being or, through inaction, allow a human being to come to harm.
2. A robot must obey the orders given to it by human beings, except where such orders would conflict with the First Law.
3. A robot must protect its own existence as long as such protection does not conflict with the First or Second Laws.

they are in the order of importance.

Name: Anonymous 2012-08-28 18:12

>>53
It doesn't have to be a system cache. Programs have their own caches. It might be a program that you're working on (this is a programming board after all). If I'm working on a program and I change the schema of the cache files, I have to clear the old cache files by hand.

Name: Anonymous 2012-08-28 18:15

>>59
It might be a program that you're working on
The program shouldnt reinvent the wheel and just use system's cache API, the same way it uses unlink(), instead of writing directly to HDD, as many older programs did.

Name: Anonymous 2012-08-28 18:16

>>57
Deleting a file removes the reference to that file.

Moving a file changes the reference to the file.

Please explain how latter is more efficient than the former.

Name: Anonymous 2012-08-28 18:20

>>61
Deleting a file removes the reference to that file.
Yep. Unix does this just so you wont be able to get your file back.

Moving a file changes the reference to the file.
Unix does this just so your storage device wears faster.

Please explain how latter is more efficient than the former.
http://en.wikipedia.org/wiki/Persistent_data_structure#Confluently_persistent

Name: Anonymous 2012-08-28 18:22

>>62
...

Please explain how (you think) Windows moved and deletes files.

This should be good.

Name: Anonymous 2012-08-28 18:31

>>63
Windows is a shitty Unix clone.

Name: Anonymous 2012-08-28 18:37

>>64
Name one actively developed and widely used operating system other than Unix that isn't a Unix clone.

Name: Anonymous 2012-08-28 18:43

>>65
That is the problem. I'm forced to eat this crap.

Name: Anonymous 2012-08-28 18:54

>>66
Why not write your own operating system? That way you wouldn't have to use a Unix clone, and we wouldn't have to put up with your whining about operating systems that actually do what you tell them to.

Name: Anonymous 2012-08-28 19:07

>>67
1. I wont find investors.
2. If I find investors, they will be Jewish and I dont want to deal with the Jews.
3. I dont want to spend my whole life, designing an OS. I have more fun stuff to do.

Name: Anonymous 2012-08-28 19:11

investors
You're doing it wrong.

Name: Anonymous 2012-08-28 19:25

>>68
You do not need investors.

Name: Anonymous 2012-08-28 19:29

>>68
Then eat you crap! tdavis

Name: Anonymous 2012-08-28 19:30

>>29,55
Typical Unixer responses. In the hands of a genius, even a toy like Unix can be useful. Most users aren't geniuses. Most Unixers aren't geniuses either (some just think they are). Unix is full of buffer overflows and gotchas because it was not designed to be used. It was designed to be played with. It's like building a car that falls apart on purpose to attract mechanics. Unix is for people who think it's better to fix other people's bugs in the OS than to work on their own projects, who think it's more fun to edit header files so they can get graphics drivers to work with their kernel than to play an actual game.

Name: Anonymous 2012-08-28 19:36

*THE* classic Unix horror story
http://www.lug.wsu.edu/node/414
If these guys used VMS on their VAX instead of Unix, they wouldn't have had this problem.

Name: Anonymous 2012-08-28 19:37

>>2-73
YHBT

Fuck you, >>1-san.

Name: Anonymous 2012-08-28 20:01

>>73
If they used VMS instead of Unix, they wouldn't have had any files to delete.

Name: Anonymous 2012-08-28 20:13

http://en.wikipedia.org/wiki/ISAM
http://h71000.www7.hp.com/doc/731final/documentation/pdf/ovms_731_rms.pdf
Do you know what else real OSes have that Unix doesn't? Indexed files.
A fast hash table or B-Tree as part of the filesystem, accessible by all programs. Some versions let you run SQL queries against the filesystem. Who needs to use text files as databases when you have an OS that makes handling binary files just as easy?

Name: Anonymous 2012-08-28 20:14

dubs GET!

Name: Anonymous 2012-08-28 20:16

>>70
Any serious commercial project needs investors, because it needs a ton of experts in different fields.

Name: Anonymous 2012-08-28 20:29

>>72
Typical Windowser response. Unix is just a toy. The entire internet and the web and the whole entire infrastructure that depends on Unix is just a really big toy. The billions of dollars that flow through Silicon Valley is just play money. All those high paying jobs that require Unix skills are just hobbies. But my vidya gayman machine is serious fucking business !!

Please just go back to /g/.

Name: Anonymous 2012-08-28 21:59

>>76
Who needs to use text files as databases when you have an OS that makes handling binary files just as easy?
Probably people who need portability across platforms.

Name: I am so hungry. 2012-08-28 22:16

Teenage *nix, you know by now, Do not feed the trolls

*nix was designed to be useful to developers. Windows was designed for users. I hope OP, you enjoy windows 8. It is leap for your future

Name: Anonymous 2012-08-28 22:28

>>57

I bet you think free() zeros out memory blocks as well.

Name: Anonymous 2012-08-28 22:49

>>82
Yep. Better to let the memory leak. That's the Windows philosophy !

Name: Anonymous 2012-08-28 23:00

>>81
;-; But it's so tempting to help feed them. I know I shouldn't but I'm finding it difficult to stop myself.

Name: Anonymous 2012-08-28 23:32

>>81
*nix was designed to be useful to developers. Windows was designed for users.
LOL. Look at these and tell me which one is better for developers:

http://msdn.microsoft.com/en-us/library/windows/desktop/hh447209%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/windows/apps/br211377.aspx
http://en.wikipedia.org/wiki/.NET_Framework

http://www.gnu.org/software/libc/manual/html_node/index.html
http://www.lynuxworks.com/products/posix/function-calls.php3

Face it. UNIX and its spawn are useless to both developers and users. No one uses it unless they're faggots.

Name: Anonymous 2012-08-28 23:35

>>79
Actually /g/ cums all over UNIX and Linux--one of the reasons I hate that place so much

Name: Anonymous 2012-08-28 23:52

>>85
* Google's data centers
* Amazon's data centers
* Facebook's data centers
* Pixar's rendering farm
* Large Hadron Collider
* Windows Vista

Most of these things were built on *nix.

One was build on .NET.

Can you guess which one ??

Name: Anonymous 2012-08-28 23:53

>>87
Linux is free. Of course everyone is going to use it for raw, interaction-free computation.

Name: Anonymous 2012-08-29 0:02

>>86
Okay, then back to forums.thedailywtf.com with you, freedom-hating fagshit.

Name: Anonymous 2012-08-29 0:06

>>88
But Google has banned use of Windows internally, while offering Apple's substantially more expensive Unix-base Macs to their employs [http://www.telegraph.co.uk/technology/google/7792685/Google-bans-Microsoft-Windows-on-office-computers.html].

Pixar also use Mac OS X internally. As does Facebook, despite the fact that they are close business partners with Microsoft.

Why aren't these highly educated/skilled/paid developers flocking to your glorious superior development environment?

Name: Anonymous 2012-08-29 0:23

>>90
Why aren't these highly educated/skilled/paid developers flocking to your glorious superior development environment?
Because Java++.

Name: Anonymous 2012-08-29 1:04

>>21
Windows NT doesn't provide special facilities for the ``Recycle Bin'' either.  It's a shell construct just (un)like it is in Unix.

Name: Anonymous 2012-08-29 1:15

>>55
http://www.mcpressonline.com/operating-systems/ibm-i-os400-i5os/journal-management-on-the-as400.html
The journal receiver-the container into which OS/400 writes its journal entries-is a true audit trail: no one on the system can manually modify its contents, so there's never any question about its accuracy. You can, however, display the contents of the journal receiver anytime. Inside, you'll discover a surprising number of different types of entries, including a time stamp, a user ID, a job ID, and (if the journaled object is a database file) a picture of the actual record after it was changed. You can also configure the journal receiver to maintain a picture of the record before the record is changed.
If you ran a server that contained anything valuable, what would you rather have: OS-level file journaling that protects against accidents and malevolence, or rm -rf * .oops? No malware for either OS/400 or VMS has ever been discovered in the wild.

Name: Anonymous 2012-08-29 1:16

>>1                            `
>2012
>not using Haiku


ISHYGDDT

Name: Anonymous 2012-08-29 1:25

Name: Anonymous 2012-08-29 1:36

>>93
OS/400's journaling and VMS' Files-11 are two very different things. What they have in common are (1) they aren't pure filesystems, and (2) they both have significant computational and storage costs. As long as you're muddying the waters, why not compare Oracle DB, Volume Shadow Copy, and ext3 too.

Name: Anonymous 2012-08-29 1:43

http://packages.ubuntu.com/quantal/safe-rm

wrapper around the rm command to prevent accidental deletions

Name: Anonymous 2012-08-29 1:54

>>79
The entire internet and the web and the whole entire infrastructure that depends on Unix is just a really big toy.
The internet depends on PHP and JavaScript too. Unix is a toy because it was designed for single-user non-networked operation, like MS-DOS. Unix ("castrated Multics") was to Multics what MS-DOS ("Quick and Dirty Operating System") was to various DEC OSes. Both are cut down toy versions of OSes that were big for their time but small by today's standards. The whole idea behind Unix and MS-DOS security is that nobody would try to attack the machine on purpose. Microsoft realized that DOS was obsolete and created Windows NT.

Name: Anonymous 2012-08-29 2:06

>>96
Here are more different things: Trash/Recycle Bin and FAT Undelete. What they all have in common are (1) ways to recover a file that has accidentally been deleted and (2) they aren't part of Unix. Ext3 journaling is more like the USN Journal which are not ways to recover files that have accidentally been deleted.

Name: Anonymous 2012-08-29 2:21

>>98
Networking was a bolt-on thing for Multics too. Not that Multics is the best example of this anyway - the canonical ARPANET OS was Tenex.

Windows NT is hobbled forever by its Win32 userspace.  The kernel is the only part of NT that's even remotely defensible. As of the 2.6 Linux kernel, there isn't even a whole lot left that's special about *that*.

Name: Anonymous 2012-08-29 2:55

>>93
If I was running a server with anything valuable, which I do, I would have backups, because guess what: HARDWARE FAILS

Name: Anonymous 2012-08-29 2:58

>>100
Saying that Unix and MS-DOS were non-networked helps explain that they were "secure" because "nobody would try to attack the machine on purpose" when they were created. They were toy OSes, not designed for the real world of the internet and/or multiple users on one machine simultaneously. In the modern world where everything is connected to the internet and there are malware writers, Unix and MS-DOS are inadequate. ``Fixing'' a buffer overflow by writing a note in the man page doesn't work anymore.
Networking was a bolt-on thing for Multics too.
Of course, an OS created before the internet would not be expected to have ARPANET networking until it was actually invented.

Name: Anonymous 2012-08-29 2:59

>>98
The whole idea behind Unix and MS-DOS security is that nobody would try to attack the machine on purpose.
The whole idea behind Windows security is ``do you want to install this toolba...oh fuck it, of course you do, toolbars are fucking awesome !''

Name: Anonymous 2012-08-29 3:03

>>99
Linux is not a certified UNIX.

OS X is a certified UNIX.

OS X has a trashcan for retards.

Therefore, all your criticisms are invalid. HAND !

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List