Search found 2357 matches

by aldimond
Sun Mar 30, 2008 9:41 pm UTC
Forum: Religious Wars
Topic: best terminal emulator
Replies: 47
Views: 9523

Re: best terminal emulator

@xyzzy: Just whaw and no window manager sounds really cool. I'll have to try some time. I love Konsole's "random hue" feature for colors. Otherwise tabbing and menubars don't fit with my terminal needs (with FVWM and 6 virtual desks I'm sort of the opposite of xyzzy), so I usually stick wi...
by aldimond
Sun Mar 30, 2008 8:15 pm UTC
Forum: Religious Wars
Topic: x86 assembly syntax
Replies: 38
Views: 21675

Re: x86 assembly syntax

Sure, nobody's writing assembler, so why do we bother arguing at all?

(this is the Internet, that's what it's there for! :lol: )

Y'all are just lucky I didn't rant about using "bourgeois, regex-based lex" to read assembly language.
by aldimond
Sun Mar 30, 2008 7:09 pm UTC
Forum: Religious Wars
Topic: x86 assembly syntax
Replies: 38
Views: 21675

Re: x86 assembly syntax

I didn't mean it was unbearably hard to write, I meant it was unbearably ugly. It can get away with "Is it a register? No. Is it a literal? Aha!" Not even a special case in that logic. A programmer looking at code might go through that process, but might also want to think about generally...
by aldimond
Sat Mar 29, 2008 10:15 pm UTC
Forum: Religious Wars
Topic: x86 assembly syntax
Replies: 38
Views: 21675

Re: x86 assembly syntax

I didn't mean it was unbearably hard to write, I meant it was unbearably ugly. I'm not saying it's hard to special-case out the register names. I'm saying it's needlessly complex. Needless complexity doesn't have to be very complicated, it just needs to be needless. And it propagates to the way you ...
by aldimond
Sat Mar 29, 2008 7:58 pm UTC
Forum: Religious Wars
Topic: Distro Whores...I mean Distro Wars!
Replies: 246
Views: 48712

Re: Distro Whores...I mean Distro Wars!

Most big distros have their own patched versions of kernels. Red Hat used to have an old version of 2.4 with lots of 2.6 features backported to it, for a more extreme example. Anyway, kernel support for hardware is only the first problem. Next is userspace support for those kernel features. That mig...
by aldimond
Sat Mar 29, 2008 7:37 pm UTC
Forum: Religious Wars
Topic: x86 assembly syntax
Replies: 38
Views: 21675

Re: x86 assembly syntax

strlen("4(%eax)")==strlen("[eax+4]")==7 False. strlen("4(%eax)")==strlen("[eax+4]") is 1, which most definitely does not equal 7. Ha, that's what I get for writing in C around here. Some people would think it looks better than "K&R syntax C", bu...
by aldimond
Sat Mar 29, 2008 8:58 am UTC
Forum: The Help Desk
Topic: Linux keyboard and mouse remapping
Replies: 1
Views: 1183

Re: Linux keyboard and mouse remapping

If you absolutely need that combination of features just keep using Windows and this one particular program that does all those specific things. I think you can turn anything you want into a modifier key with xmodmap, and then capture sequences in some app that captures all the keystrokes; for most ...
by aldimond
Sat Mar 29, 2008 6:13 am UTC
Forum: Religious Wars
Topic: Best *nix Desktop Environment/Window Manager/whatever
Replies: 243
Views: 47801

Re: Best *nix Desktop Environment/Window Manager/whatever

I didn't mean to start a flamewar about Firefox. There's another thread for that. I was just justifying why in the face of that UI problem that annoys me every day I don't just switch to Konq (which I've tried a few times and usually run across some website that didn't work very well in it), as a le...
by aldimond
Sat Mar 29, 2008 5:24 am UTC
Forum: Religious Wars
Topic: x86 assembly syntax
Replies: 38
Views: 21675

Re: x86 assembly syntax

I'm not sure how one lets you shoot yourself in the foot more than the other. It's the same instruction set. And Intel syntax isn't any more terse. strlen("4(%eax)")==strlen("[eax+4]")==7 . Of course, if you're writing assembler code, I don't think terseness is something you're w...
by aldimond
Fri Mar 28, 2008 5:44 am UTC
Forum: Religious Wars
Topic: x86 assembly syntax
Replies: 38
Views: 21675

Re: x86 assembly syntax

3. You can't possibly tell me that "4(eax)" makes more sense than "[eax + 4]" I learned on AT&T syntax and never had a problem with the addressing modes. If your C-level thinking is *(a+4) then [eax + 4] makes sense. But that's very rarely how you actually write programs. Us...
by aldimond
Fri Mar 28, 2008 5:15 am UTC
Forum: Religious Wars
Topic: Best *nix Desktop Environment/Window Manager/whatever
Replies: 243
Views: 47801

Re: Best *nix Desktop Environment/Window Manager/whatever

Unadvanced is one thing. Flamingly broken is another. The web is damn near unusable today without a popular browser (I hate the web, but that's another rant), which on Linux pretty well means Firefox, and Firefox's method of choosing helper applications on Unix makes me cry. To the extent that I jus...
by aldimond
Thu Mar 27, 2008 10:01 am UTC
Forum: Religious Wars
Topic: Editors
Replies: 267
Views: 134524

Re: Editors

The default install of FreeBSD has nvi (a vi clone) and not vim; vi is symlinked to nvi and remains so after vim installation. At least that's how it was last time I had a working FreeBSD machine. Fair enough to me. nvi is what you want sometimes. Like when your IDE controllers go berserk and change...
by aldimond
Thu Mar 27, 2008 8:30 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0378: "Real Programmers"
Replies: 201
Views: 57019

Re: Real Programmers Discussion

(i.e. stay away from the mouse as much as possible) The mouse is actually faster than the keyboard (even for an expert Vim user like myself) for most cursor movement and text selection, and eliminates the need for much of vi-style modality (even as modern Vim crams more and more features into incon...
by aldimond
Tue Mar 18, 2008 1:41 am UTC
Forum: Serious Business
Topic: Bear Stearns: the sky is falling
Replies: 24
Views: 9424

Re: Bear Stearns: the sky is falling

whos idea was it to give loans to people who cant pay it back? seriously im fine with the idea of corporations but please stop fucking everything up. it seems we need some unbiased referee in board meetings giving out penalties for bad/illegal ideas. 2 minutes for subprime lending. youre an idiot. ...
by aldimond
Tue Mar 18, 2008 1:20 am UTC
Forum: Serious Business
Topic: Scientology: Really a Religion?
Replies: 82
Views: 11710

Re: Scientology: Really a Religion?

Collecting money is a necessary condition for being a business. Well, possibly not, but if it's not that doesn't affect my main thrust: I don't think it's a sufficient one. My running club in college collected money from its members and from a University fund to go to relay races and to keep up our ...
by aldimond
Mon Mar 17, 2008 3:58 am UTC
Forum: Serious Business
Topic: No sane and rational person
Replies: 88
Views: 8254

Re: No sane and rational person

I don't understand how you can respect people that do tech jobs at the army if you don't respect people that are on the front lines. The tech work is meaningless without force up front. It's a group with common missions, and needs people with different sets of skills to succeed in those missions. It...
by aldimond
Wed Mar 12, 2008 5:57 am UTC
Forum: XKCD Meetups
Topic: SUPRIZE MEETUP! In Chicago. - JUNE 21 - THAT'S NEXT SATURDAY
Replies: 67
Views: 9352

Re: SUPRIZE MEETUP! In Chicago.

I haven't been around for a while. But now I'm back. Sort of. Not to the degree I was before, since I have more going on now than I used to. On the CTA it probably takes an hour at least to get to Evanston from downtown. Maybe longer on a weekend, having to take an all-stop red-line train and transf...
by aldimond
Tue Mar 04, 2008 4:24 am UTC
Forum: XKCD Meetups
Topic: SUPRIZE MEETUP! In Chicago. - JUNE 21 - THAT'S NEXT SATURDAY
Replies: 67
Views: 9352

Re: SUPRIZE MEETUP! In Chicago.

That all said, if I am in town and participating, I'll offer my apartment in Uptown as a space for partying, corrupting of youth, etc. Or even a place to crash for people coming from out of town, provided we mutually find eachother sufficiently not-creepy during the course of the day's events. But i...
by aldimond
Tue Mar 04, 2008 4:18 am UTC
Forum: XKCD Meetups
Topic: SUPRIZE MEETUP! In Chicago. - JUNE 21 - THAT'S NEXT SATURDAY
Replies: 67
Views: 9352

Re: SUPRIZE MEETUP! In Chicago.

I might come if it's not one of the weekends I'ma be out of town running relay races. Yeah. If we're going to try to rickroll/whip-roll Millennium Park we should be prepared to get kicked out very quickly, likely before we finish getting our instruments out. There's always lots of police around the ...
by aldimond
Mon Mar 03, 2008 11:06 am UTC
Forum: General
Topic: INTRO THREAD THE THIRD
Replies: 10922
Views: 2321518

Re: INTRO THREAD THE THIRD

Erm, hi, all. Sort of feel like re-introing since I've been gone so long. Don't know exactly what the proportion of the population is 'round these parts that was around when I posted up a storm a few months ago to the total, anyhow. Sorry I've been gone so long. As in, I really haven't posted much s...
by aldimond
Sat Oct 27, 2007 1:42 am UTC
Forum: Coding
Topic: Funniest/Most Annoying Code Comments
Replies: 662
Views: 141568

Re: Funniest/Most Annoying Code Comments

In the codebase I work on there are lots of comments written to vent frustration about how much VB5 and MySQL 4 suck.

My favorite that I've seen is "LAST TRAIN TO HACK-CENTRAL!"
by aldimond
Sat Oct 27, 2007 1:40 am UTC
Forum: Coding
Topic: What do you use your programming skills for?
Replies: 39
Views: 5503

Re: What do you use your programming skills for?

I code for the lulz.

My work coding definitely falls in this category.
by aldimond
Fri Oct 26, 2007 3:33 am UTC
Forum: Religious Wars
Topic: Is Java is a bad language for beginners?
Replies: 234
Views: 132321

Re: Why Java is a bad language for beginners

I'm not so sure about perl. Perl gives up a lot of legibility in favor of terseness, and it is very light on compiler errors/warnings, which are usually more useful than just getting broken output. Python or Ruby might be better, or they might not be; I haven't used either very much. I wouldn't nece...
by aldimond
Fri Oct 26, 2007 1:27 am UTC
Forum: Coding
Topic: Does anyone here...
Replies: 38
Views: 5284

Re: Does anyone here...

Haha, good old calculator erasure. Yay high school. On the TI-82 after you erased your memory the calculator said "Mem cleared" on the screen. Some people made "Mem cleared" programs that would display it on your screen, making it look like you'd cleared your memory. Apparently t...
by aldimond
Thu Oct 25, 2007 11:54 pm UTC
Forum: Religious Wars
Topic: Is Java is a bad language for beginners?
Replies: 234
Views: 132321

Re: Why Java is a bad language for beginners

Heh, not so much. To actually understand why this outputs "Hello, World!" you have to understand what a reference is, and understand what the assignment operator is really doing. i'd think System.out.println("Hello, World!"); would always output "Hello, World!"... :sho...
by aldimond
Thu Oct 25, 2007 5:43 am UTC
Forum: Religious Wars
Topic: Best *nix Desktop Environment/Window Manager/whatever
Replies: 243
Views: 47801

Re: Best *nix Desktop Environment/Window Manager/whatever

Where is the love for fvwm? It has pretty reasonable defaults (if you remove all config files completely) for the most part, despite the horrible that the University of Illinois EWS lab folk unleash on their users, and is exceptionally configurable. You can make it do just about anything you want in...
by aldimond
Thu Oct 25, 2007 3:25 am UTC
Forum: Religious Wars
Topic: Is Java is a bad language for beginners?
Replies: 234
Views: 132321

Re: Why Java is a bad language for beginners

I got into a bit of an argument in another thread because I think Java's way of referring to data is inconsistent and lots of people disagree. Uhm... references are easy. Maybe they have a bad name... an alternative name for them is "aliases". Pass by reference (alias), and you get to cha...
by aldimond
Wed Oct 24, 2007 1:49 am UTC
Forum: Religious Wars
Topic: Is Java is a bad language for beginners?
Replies: 234
Views: 132321

Is Java is a bad language for beginners?

I got into a bit of an argument in another thread because I think Java's way of referring to data is inconsistent and lots of people disagree. If Java's system of references and the way that strings are assigned and passed as parameters wasn't a horrible mess, then this forum would not be filled wit...
by aldimond
Wed Oct 24, 2007 1:30 am UTC
Forum: Coding
Topic: Java: Viable tool or root of all evil?
Replies: 7
Views: 2397

Re: Java: Viable tool or root of all evil?

I am going to take my discussion of why I think Java is a bad programming language for beginners to a different thread, 'cause it's off-topic here.
by aldimond
Tue Oct 23, 2007 2:25 pm UTC
Forum: Coding
Topic: Java: Viable tool or root of all evil?
Replies: 7
Views: 2397

Re: How to learn java for cs ab test?

It's one thing for analogies to languages with pointers to not work. It's another thing for a language to have three types of variables (normal objects, immutable strings where literals are sort of string objects but not quite, and primitives that act like C integers except that they can't be refere...
by aldimond
Tue Oct 23, 2007 8:16 am UTC
Forum: Coding
Topic: Does anyone here...
Replies: 38
Views: 5284

Re: Does anyone here...

As far as kernel coding goes... my last two years of college and my first year out of it were mostly kernel coding. Most of my hard classes were at the kernel level. I don't work in the kernel now (not many kernel prog. jobs in this city, or really any other place where I want to live). And, just li...
by aldimond
Tue Oct 23, 2007 6:52 am UTC
Forum: Coding
Topic: Java: Viable tool or root of all evil?
Replies: 7
Views: 2397

Java: Viable tool or root of all evil?

Split from this thread . thought strings were reference-counted in Java? I.e. if I do String s1 = "apple"; String s2 = "apple"; The JVM will only allocate one instance of "apple" and point both s1 and s2 to it? ...although, it might not. I don't remember... I don't rea...
by aldimond
Tue Oct 23, 2007 4:36 am UTC
Forum: Coding
Topic: Alternatives to the dreaded goto
Replies: 114
Views: 18434

Re: Alternatives to the dreaded goto

Yeah... for those reasons and many more, if you're working on code that's useful to anyone but yourself you very rarely have a choice of languages. So far in four years of college and just over a year of professional programming I haven't once had a choice of code language for a programming project....
by aldimond
Tue Oct 23, 2007 4:03 am UTC
Forum: Coding
Topic: Fizzbuzz!
Replies: 81
Views: 225820

Re: Fizzbuzz!

I decided to get addicted to code golf for a while, and I did the little-endian calculator one in C. And I'm currently the low man for C, with these 184 characters of noise: main(i){char*f,a[99],b,*c;while(gets(a)){b=*(strchr(a,32)+4)-'d';i=strtoul(...
by aldimond
Sun Oct 21, 2007 4:01 pm UTC
Forum: Coding
Topic: Fizzbuzz!
Replies: 81
Views: 225820

Re: Fizzbuzz!

Woo, have come up with a much better way in bash, currently at 51 bytes. I'll spoilerize this, 'cause it doesn't suck as much as my last attempt. seq 100|sed -e15~15cFizzBuzz -e3~3cFizz -e5~5cBuzz Yes, this is not so much bash as sed. Sue me. Maybe I'll do one fully in sed. Edit: It's at 46 like...
by aldimond
Sun Oct 21, 2007 9:19 am UTC
Forum: Coding
Topic: Fizzbuzz!
Replies: 81
Views: 225820

Re: Fizzbuzz!

I don't know how some dude got down to 43 in bash... I'm hovering around 101 with a()(o= ((i%3))||o+=Fizz ((i%5))||o+=Buzz (((i%3)*(i%5)))&&o+=$i echo $o ((i++)) ((i-101))&&a) i=1 a I'm definitely not an expert on crazy bash syntax... so if there are cheaper ways to do math and condi...
by aldimond
Sat Oct 20, 2007 4:32 pm UTC
Forum: Coding
Topic: Securing LaTeX
Replies: 8
Views: 2755

Re: Securing LaTeX

A chroot jail can be broken out if you're root... but not if you're a regular user, and it's impossible to exploit something to get privilege escalation since nothing is suid in your jail. It would be nice if it was impossible to do anything malicious in a chroot jail, just because there are no fil...
by aldimond
Sat Oct 20, 2007 7:46 am UTC
Forum: Coding
Topic: Securing LaTeX
Replies: 8
Views: 2755

Re: Securing LaTeX

Access to the file hierarchy at large on some systems can give away information, even without write privileges. In particular, user data; many systems leave plenty of user data world-readable if the users aren't conscious of it. Even if that's all that chroot is good for hiding, that's good for some...
by aldimond
Sat Oct 20, 2007 6:48 am UTC
Forum: Coding
Topic: Funniest/Most Annoying Code Comments
Replies: 662
Views: 141568

Re: Funniest/Most Annoying Code Comments

This is how one writes a loop to search a linked list in x86 assembler (lots of references to constants/labels defined in other places, you knew that... and the calling convention is irregular for x86, that was part of the assignment). This is my code from about 2 years ago. I was being very silly. ...
by aldimond
Sat Oct 20, 2007 5:45 am UTC
Forum: Coding
Topic: Securing LaTeX
Replies: 8
Views: 2755

Re: Securing LaTeX

Yeah, definitely use chroot. You'll need a self-contained TeX install. Might be a bit tricky, but doable. And you'll want to prevent anything from being messed up inside of the chroot environment, including temporary files that other runs of the process might create. Try to store as little as possib...

Go to advanced search