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

Pages: 1-

c2.com

Name: Anonymous 2015-03-11 9:31

Does your program lack A Design Pattern?
Smug lisp weenies insult your code?
Does your favorite language get undeserved critique?
Ever thought of reading TVtropes for programming?
http://c2.com/cgi/wiki?WelcomeVisitors

Name: Anonymous 2015-03-11 12:36

Name: Anonymous 2015-03-11 14:16

TVtropes for programming
Hey, I invented that phrase.

Name: Anonymous 2015-03-11 15:33

http://c2.com/cgi/wiki?SICP responds with a zero-length reply.
Must be some Zen thing.

Name: Anonymous 2015-03-11 16:35

>>4
It works if you write it as:
http://c2.com/cgi/wiki?SiCp

Instead of having syntax for links to other pages in their wiki, every CamelCase word links to an article of that name. As a result, there are no articles with names that are not in CamelCase.

Name: Anonymous 2015-03-11 18:24

SICP - this book is intended for beginners, since those who are advanced enough will only be wasting their time reading this book.
If you're a beginner, starting with SICP is like discussing the next major physics theory without learning any physics. You'll learn to philosophize and throw around grand but meaningless ideas.
Starting with C and Assembler is a better way. You'll learn the internals first, find out what's behind the abstractions. You'll know how procedures are actually called, and what some of the issues are.
In fact, towards the end of chapter 4, the authors themselves admit that their simplistic view of computers and languages is severely deficient if they want to descirbe things properly, so in charter five they introduce register machines.
No wonder so many students I've talked with complained. They couldn't understand what all of this encapsulation meant, since they had no idea of the basic underlying process--simple pushes onto a stack and jmp instructions. The way they presented structures such trees and lists, with pairs, is also a very braindead approach. C pointers are much more intuitive and flexible.
Aside from the book's wrong approach, it's also terribly written. I tired to like it, but books can only be so boring before you start to feel aversion towards it.
The book promises to make a better programmer out of you, to teach you how to think about programs, but this promise is not kept.
Those things which it presents that are relevant to overall philosophy of programming are already widely known as it is. The other things they present are completely useless. In short, you will not gain any valuable insight and won't see any revelations or any radical and vastly superior methods of thinking about programs. It's just mundane drivel here.

Name: Anonymous 2015-03-11 19:55

>>5
Silicon + Cp? What the hell is Cp?

Name: Anonymous 2015-03-11 20:03

>>6
Agreed 100%, abstract is shit while concrete is king. Which is why I only read C/C++1 books which have a chapter on conio.h.
--
1 of course writing pure C or pure C++ is impractical, the only way to do something practical is to mix approaches of both!

Name: Anonymous 2015-03-11 21:29

C2 is a watered down version of Know your Meme for enterprise appers.

Name: Anonymous 2015-03-11 23:41

Name: Anonymous 2015-03-12 1:45

Check dubs on a daily basis.

Name: Anonymous 2015-03-12 5:51

>>8
people like you critique conio.h without understanding its purpose and appeal. It is a minimal header that allows console functionality not exposed by C standard, which is highly useful for text input/output.
Curses/ncurses libraries implement the same functionality, which is very useful in Unix world. I doubt you would critique a book if it was about ncurses, because in your worldview Unix=good,windows=bad and by association getch() in ncurses is good and getch() in conio is bad(the minority of mac/lunix users on the planet might complain about "cross-platformness" while ignoring the largest platform). If you look past the abstraction, the real code is using the same functionality implemented differently. Conio is just windows specific and doesn't require any special handling, just plain function calls unlike curses which need to be properly initialized and handled, not to mention having much more internal state and code size. Conio beats curses by simplicity and ease of use, which are sought for by people who want minimum dependencies and cruft to include in their programs. The appeal of conio is not because of some standard or mandate to use, it because its useful and simple.
Reducing or removing conio doesn't solve anything(as mingw maintainers think) and people wouldn't automatically start using curses libraries, just because they need a single getch function.

Name: Anonymous 2015-03-12 6:09

>>12
Yeah but how about this witches brew?

Name: Anonymous 2015-03-12 6:09

>>12
So whats your solution, genius?

Name: Anonymous 2015-03-12 6:27

>>14
1. make conio.h a standard C header like stdio.h.
2. if #1 is unavailable, port conio.h to mac/linux and include with C compilers there.
3.if both #1 and #2 are rejected, modify/fork curses to replicate exact functionality of conio.h(simple one line function calls without state/init/global variables*(or at least make them optional)) and nothing else.
4.Whine about use of conio.h

Name: Anonymous 2015-03-12 7:16

>>12
<stdio.h> is useful for text input/output. <conio.h> is useful for estimating how pissed off Big Angry Indian when he Bangs Keyboard with Fists, <stdio.h> isn't. This is the appeal of <conio.h> observed by its largest audience -- Indians like things to happen immediately when they bang keyboard and they are generally too poorly educated to find/use libraries that aren't terminal-based.

Seems pretty silly to even need a terminal input/output library on windoze though, when they were obsoleted by windoze 95. With that said, Windoze is a shit platform that I wouldn't ever want to support, because supporting it is often like banging your boobs with a fucking hammer.

Name: Anonymous 2015-03-12 7:18

>>12
go back to readin' MSDN, by the way

Name: Anonymous 2015-03-12 7:26

>>17
not reading MSDN
ignore vast majority of users
deal with compatibility hacks and glue layers made by other people since you know shit about win32 api
develop on linux and pretend its the dominant desktop platgform

Name: Anonymous 2015-03-12 7:57

>>18
Who are you quoting?

Name: Anonymous 2015-03-12 8:15

What if i told you Linus himself reads MSDN(and he reads about Visual Basic!!) on a MacBook Air, dislikes GPLv3,hates GCC, loves pointers and is really proficient in Visual Basic?
2.6.<odd>: still a stable kernel, but accept bigger changes leading up to it (timeframe: a month or two).

2.<odd>.x: aim for big changes that may destabilize the kernel for several releases (timeframe: a year or two)

<odd>.x.x: Linus went crazy, broke absolutely everything, and rewrote the kernel to be a microkernel using a special message-passing version of Visual Basic. (timeframe: "we expect that he will be released from the mental institution in a decade or two").
http://en.wikiquote.org/wiki/Linus_Torvalds
http://arstechnica.com/information-technology/2009/07/linus-torvalds-microsoft-hatred-is-a-disease/
http://wordaligned.org/articles/two-star-programming
https://plus.google.com/115250422803614415116/posts/hMT5kW8LKJk
http://www.itworld.com/article/2873200/11-technologies-that-tick-off-linus-torvalds.html
http://www.computerworld.com/article/2530314/enterprise-applications/q-a--linux-founder-linus-torvalds-talks-about-open-source-identity.html
http://techcrunch.com/2012/04/19/an-interview-with-millenium-technology-prize-finalist-linus-torvalds/
http://blog.codinghorror.com/linus-torvalds-visual-basic-fan/
http://www.zdnet.com/article/linus-vs-the-gplv3/

Name: Anonymous 2015-03-12 8:27

>>20
The scriptkiddies minds with "lame windoze sux and visual basic is shit,linux rulez " would be blown the fuck out when they see Linus coding apps in VB on Windows. Its like reality doesn't obey their delusion and somewhere there is a windows laptop owned by Linus Torvalds with tons of Visual Basic code and texts downloaded from MSDN.

Name: Anonymous 2015-03-12 8:33

I knew using latest GCC is risky, but this takes the cake.
Adding Jakub to the cc, because gcc-4.9.0 seems to be terminally broken.

Lookie here, your compiler does some absolutely insane things with the
spilling, including spilling a *constant*. For chrissake, that
compiler shouldn't have been allowed to graduate from kindergarten.
We're talking "sloth that was dropped on the head as a baby" level
retardation levels here:

https://lkml.org/lkml/2014/7/24/584

Name: Anonymous 2015-03-12 8:38

But we build the kernel with -mno-red-zone. We do *not* follow the
x86-64 ABI wrt redzoning, because we *cannot*: interrupts while in
kernel mode *will* use the stack without a redzone. So that
"-mno-red-zone" is not some "optional guideline". It's a hard and
harsh requirement for the kernel, and gcc-4.9 is a buggy piece of shit
for ignoring it. And your bug happens becuase you happen to hit an
interrupt _just_ in that single instruction window (or perhaps hit
some other similar case and corrupted kernel data structures earlier

Name: Anonymous 2015-03-12 9:01

>>21
If it was possible to film him doing it("Linus the VB developer") this would be the perfect trolling of lunixtards. Show it at Linux conventions disguised as "Linus Torvalds - kernel hacking". To make it less obvious don't show parts with visible windows icons.
And than film their reaction when they realize what kind of code it is. Stallman eating his foot droppings/fungus/crap is mundane in comparison.

Name: Anonymous 2015-03-12 9:39

>>24
Its not possible since its been a decade last he used it.
But, somewhere in this world there is database created by Linus Torvalds in Visual Basic 6.0(and pre-XP windows probably). Hopefully he switched to Mono or .NET for his toy projects.
http://c2.com/cgi/wiki?LinusTorvaldsOnVisualBasic

Name: Anonymous 2015-03-12 9:54

>>25
Since he changed the joke to mention .NET he probably upgraded somewhere before 2008.
https://lkml.org/lkml/2002/4/1/65
From Linus Torvalds <>
Subject Upcoming rewrite of kernel
Date Mon, 1 Apr 2002 15:35:02 -0500


Hi folks,

I have been dealing with maintaining Linux in a mixture of C and Assembler for over twelve years now. While it has been a lot of fun, every day dealing with these essentially dead languages has become harder and harder for me, and other programers seem to agree.
Thus, starting with Linux 3.0 (to be released hopefully by next summer), the kernel will be completely rewritten in the easy-to-use Visual Basic language. This will eliminate all issues involving buffer overruns, as well as streamlining porting of Windows programs to Linux, since Microsoft (who will now assume ownership of Linux) assure me that Windows is written entirely in VB as well.

Microsoft has also stated that they intend to incorporate Windows features, such as the RRS (Rapid Random Shutdown) in Windows 95, into Linux 3.0.

Linus

https://lkml.org/lkml/2008/7/15/497
Or like with X11R6, that became X11R7 after 11 years, there might be in
a few years some big change that will warrant a 2.8 or 3.0 (the rewrite
of the kernel in Visual Basic .NET ;-) ).

Name: Anonymous 2015-03-12 10:40

What if Linus Torvalds secretly plays windows games, watches anime and posts on /prog/ when he can't handle LKML anymore? We'll never know.
http://en.gigazine.net/news/20091023_windows7_linus_in_akiba/

Name: Anonymous 2015-03-12 11:23

Name: Anonymous 2015-03-12 11:24

>>28
plus.google.com
Shalom!

Name: Anonymous 2015-03-12 11:40

>>21
Linus coding apps in VB on Windows
*programming

Name: Anonymous 2015-03-12 12:07

>>28
Linus Torvalds
+Ramón Rocha: there is a BonziBuddy in the clippy.js git repository.?
Ramón Rocha May 14, 2013
Ha! I thought you were joking but sure enough:
https://github.com/smore-inc/clippy.js/blob/master/agents/Bonzi/map.png

Name: Anonymous 2015-03-12 12:41

wtf

Name: Anonymous 2015-03-12 13:39

>>28
What i noticed reading hundreds of his posts.
Every "call" to tech support on his blog is instantly answered by his loyal neckbeard army while normal users get the RTFM, fixityourself and WONTFIX treatment from the same exact neckbeards. Ebin memes too. He would fit right at /g/ if he isn't posting there already.

Name: Anonymous 2015-03-12 18:05

>>33
Ask him to check his Linus privilege.

Name: Anonymous 2015-03-12 22:51

>>12
Conio isn't windows specific but dos specific

Name: Anonymous 2015-03-13 6:18

Name: Anonymous 2015-03-13 11:53

>>33
You're just mad that Linus-sempai will never notice you

Name: Anonymous 2015-03-13 17:13

>>37
Linus-creampai.

Name: Anonymous 2015-03-13 18:48

>>38
U MENA LINUS-中出し

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