[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
explain to me in first year novice CS student why linux is a
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 39
Thread images: 10
File: 1377440017710.jpg (96 KB, 630x566) Image search: [Google]
1377440017710.jpg
96 KB, 630x566
explain to me in first year novice CS student why linux is a better designed OS than windows.
>>
Too many reasons to list.

Why should I put effort into explaining this to you? This thread will be dead soon and you won't care what I say.

If you're in your first year of CS and don't understand why Linux or at least some Unix system is better, then your school is shit.
>>
>>51480527
>shit school
I'm planing on going to college next year bro.
>>
>>51480527
This, but if you want a quick answer, just compare the Linux API to the Windows's one.
>>
>>51480494

because its a unix clone.
and unix was written by programmers for programmers. it has an underlying philosophy which once you grasp it means that problem solving is easier. as opposed to winblows which is just an abortion with no consistent, underlying philosophy whatsoever.
>>
File: dunno-lol.jpg (70 KB, 604x443) Image search: [Google]
dunno-lol.jpg
70 KB, 604x443
ITT: pic related

It doesn't matter though because, design does not equal implementation. Linux is a shit.

>>51481077
>because its a unix clone
Linux is not unix.
>>
>explain to a first year novice CS student
>i'm not in my first year actually
ok
>>
>>51482818
>Linux is not unix.

which would be why i said its a CLONE
>>
It's not.
>>
>>51482818
Sure is paid Microsoft shilling/FUD/lies in here.
>>
>>51480494
>uses drive letters instead of more flexible mount points or binds.
>filesystem so shit they tried to implement a pseudo filesystem (winfs) on top of it to get around it.
>registry is just c struct dump, and is so poorly documented that modern windows versions come with corrupted segments of registry out of the box.
>no shared library versioning leading to DLL hell.
>uses the fucking escape character as a path separator so that lazy assholes didn't have to put a space between program arguments.
>program execution checks every part of the path with a space as another program.
>most programs in C:\Program Files, so many programs can be hijacked by a well placed C:\Program.exe.
...and now I am sick of listing these.
>>
>>51480494
because it was ratted off from an even better kernel
>>
Linux doesn't do stupid shit like rendering fonts at the kernel level like Windows does:
http://www.infoworld.com/article/2630400/malware/hackers-will-exploit-windows-kernel-bug.html
>>
>>51480494
Ever got an error message on windows? You get an error code that can stand for half a gazilion problems. On Linux you typically get get an error telling you exactly what's wrong instead of some bullshit error code.
>>
File: reasons to linux.png (179 KB, 509x1607) Image search: [Google]
reasons to linux.png
179 KB, 509x1607
>>51480494
NTFS doesn't support question marks in filenames.
>>
File: 1402799873222.png (328 KB, 478x361) Image search: [Google]
1402799873222.png
328 KB, 478x361
>>51483145
>>most programs in C:\Program Files, so many programs can be hijacked by a well placed C:\Program.exe.
This is absolutely genius, why didn't I think of it before?
>>
File: 2015-11-22_22h46_23.png (52 KB, 1314x926) Image search: [Google]
2015-11-22_22h46_23.png
52 KB, 1314x926
>>51483220
>NTFS doesn't support question marks in filenames.
uwot?
>>
Position interdependent code. Also ELF is the superior format over PE.
>>
>>51483145
>>most programs in C:\Program Files, so many programs can be hijacked by a well placed C:\Program.exe.

Care to explain?
>>
>>51483272
That's obviously a wacky unicode character, not a standard ASCII question mark. You aren't fooling anyone.

>inb4 hurr hurr it still looks like a question mark so it's okay
The point is that a filesystem should be well designed to prevent this arbitrary character restriction nonsense.
>>
>>51483274
Maybe he thinks C:\ has higher priority in %PATH% than something in program files, but it's not even IN my PATH and Loonix uses the same concepts anyway
>>
>>51483274
In batch, if you run, say
C:\Program Files\test.exe
Windows first checks for a C:\Program.exe, then a C:\Program Files\test.exe.
This is so lazy people don't have to quote paths to some executables.
If you place a C:\Program.exe, some scripts with unquoted paths will run it since it is picked first on the path.

Thank god windows doesn't do this when you make the exec system call (or whatever the fuck it is called in windows.
>>
>>51483313
>tfw Loonix lets you name files / and it gets really confusing
>>
File: 1368205358738.jpg (22 KB, 226x199) Image search: [Google]
1368205358738.jpg
22 KB, 226x199
>>51483272
>Glorious Arch Linux Poster
Care to explain?
>>
Because it is.

/thread
>>
>>51483332
But you're wrong.
Here's my %PATH% and I've not done anything special to it.
C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common


>>51483336
A series of copypastas in my gcopypasta collection. Earlier today I used ``Hi, fellow Arch user!''
>>
>>51483360
share folder kek
>>
>>51483384
https://www.dropbox.com/sh/l164pkv16si02uw/AADueucyCRFKhfRugS3bqbVta?dl=0

change the dl parameter to 1 to get a zip download of it or click the link on the page
>>
File: but thats heresy.png (119 KB, 402x564) Image search: [Google]
but thats heresy.png
119 KB, 402x564
>>51483272
https://support.microsoft.com/en-us/kb/100108
>NTFS Naming Conventions
>File and directory names can be up to 255 characters long, including any extensions. Names preserve case, but are not case sensitive. NTFS makes no distinction of filenames based on case. Names can contain any characters except for the following:
?  "  /  \  <  >  *  |  :

>Currently, from the command line, you can only create file names of up to 253 characters.


https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx#naming_conventions
>The following reserved characters:
    < (less than)
> (greater than)
: (colon)
" (double quote)
/ (forward slash)
\ (backslash)
| (vertical bar or pipe)
? (question mark)
* (asterisk)


So see >>51483313, I guess.

>>51483335
It doesn't let *me* name files "/"! I even asked politely!
>>
File: comic_551c6bca8852f.png (602 KB, 1200x1122) Image search: [Google]
comic_551c6bca8852f.png
602 KB, 1200x1122
This
>>
>>51483360
It has nothing to do with PATH, windows actually BYPASSES PATH for this, cmd.exe is specially doing these checks for path qualified programs, since many windows programs have spaces in their path.

Basically, if you run
C:\Program Files\Steam\steam
cmd.exe first tries to run
"C:\Program.exe" "Files\Steam\Steam"
then
"C:\Program Files\Steam\steam.exe"
>>
>>51483421
Oh I see what you're saying. Still this is not a problem unique to windows.
If you tried to run /muh games/steam in Loniux it would try to run /muh

You need to escape the space IRREGARDLESS of OS
>>
>>51483360
You have no clue what you are talking about, do you? Path has literally NOTHING to do with this.

Write a small program that prints "hello", call it "Program.exe", and put it in C:\
Next, write another program that prints "bye", call it whatever you want, and put it in C:\Program Files

Open up the shell, and type in "C:\Program Files\whatever.exe", without the quotes, and post back with the output.

It's interesting that you are so clueless yet still post as if you weren't entirely retarded.
>>
File: 1325012608680.jpg (706 KB, 1440x900) Image search: [Google]
1325012608680.jpg
706 KB, 1440x900
>>51483405
This is incredible, thanks.

REUTERS - A team of scientists at MIT have discovered a link between desktop operating system choice and several serious social and mental disorders. The team did a wide-ranging survey across three states of 20,000 males and 10,000 female users ages 18 to 25, drawn from users of three popular desktop operating systems; Microsoft Windows, Apple OS X and Linux. The volunteers were divided into groups according to their operating system and subjected to a series of tests meant to determine their individual IQs as well as cognitive, social and behavioural abnormalities.

The results of the testing showed that the group with the highest mean IQ by some margin was the Linux test group, averaging at 117, levels expected of good undergraduate students.The Windows and Apple groups averaged at 103 and 101 respectively, well within expected ranges. The Linux group showed highly elevated levels of several socio-cognitive disorders including several linked to pedophilia and violent outbursts, while the Apple group seemed to be the most socially adjusted. The Apple group were also determined to be more likely to be musicians or consider themselves artists and had a higher proportion of homosexuals, at 43%, than either the Windows or Linux groups, who were both closer to the expected average of 9%.
>>
>>51483448
The difference is that linux forces you to do it, so everyone does it.
Windows lets you get away without escaping them, so vulnerable scripts might be written without the writer realizing it.
>>
junior year cs student here

the only thing that linux has over windows is how easy it is to install things like APIs

you just type a line in a command in linux, where you need to do 502392302 things following fairly convoluted instructions to install some of the older APIs

getting fucking xerces API to work was the most non-trivial trivial thing I've ever done.
>>
File: syntax error.jpg (304 KB, 1600x1280) Image search: [Google]
syntax error.jpg
304 KB, 1600x1280
>>51483448
"Program Files" is a pretty terrible name for a critical default folder, then, wouldn't you say?
>>
>>51483470
You can also escape spaces in *nix with backslashes.
>>
>>51480494
Thats some good bait right there
Thread replies: 39
Thread images: 10

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.