khz
user #49981
4196 posts
14 karma points
[view profile]
[email user]
subject: Re: How different are compilers?
in reply to jadefalcon1 in message #1920:
Yeah, this a rather lateish return, but anyway:

Text editors strengthens the nerdiness, but not necessarily your programming skills. They aren't one and the same. It's not cooler to develop in emacs, no matter how many times people tell me an IDE isn't for "real computer people" (a.k.a complete nerds - and not in a good way). It's just mental masturbation.

Programming is a conceptual art. It's not about knowing the most short commands in emacs, nor is it about having the entire C++ API in your head.

-kHz

Unbowed, Unbent, Unbroken
- House Martell
message 1921/1969 2007-01-07 16:44:54 (-0600)
superbiscuit
user #56324
3942 posts
15 karma points
[view profile]
[email user]
subject: Re: How different are compilers?
in reply to khz in message #1921:
What's a good IDE for mostly perl/bash scripting, some html.

message 1922/1969 2007-01-08 15:29:41 (-0600)
jadefalcon1
user #21137
6625 posts
21 karma points
[view profile]
[email user]
subject: Re: How different are compilers?
in reply to superbiscuit in message #1922:
I know it's not addressed to me, but there's a few things I use:

In console world, I use ViM. Nice coloring, etc.
In Winders world, I use primarily UltraEdit, and Activestate's Komodo. There are things I dislike about all three, but they're all equally capable. Komodo does some really nice formatting shit, and UltraEdit does some really awesome file manipulation shit. ViM does things a console app was never meant for.

yeah, them's the Three Editeers.

~Jade Falcon [mail][blog][page][FTP]

"I'll get over you, I know I will. I'm the King of Wishful Thinking." ~ Go West
message 1923/1969 2007-01-09 13:22:03 (-0600)
ygolohcysp
user #37187
526 posts
6 karma points
[view profile]
[email user]
subject: Ill probably regret asking.
Okay, I'm setting out to build an actual web-page. Most of it will be fairly straight forward. I have done one or two simples ones before. Things have changed greatly since then. I've tried a few tests recently, and found it rather frustratingly stupid that every browser treats things differently. So, what is the preferred way of doing a page that will at least mostly be the same in IE, Firefox, Opera, and or any other browsers? html, xhtml, xml, css, any others?

Also, there will end up being some very textual based sections on this page. While creating a template for the page, and having any pics on it reside in one folder instead of a copy for each page isn't hard, I'm wondering about another option. If I have .txt files, or the text saved in a mySQL server, is there a way to have just one page where clicking on links just changes the text displayed rather than loading a whole new page?

Thanks in advance for all your criticism on my questions. ;-)


ygolohcysp
(insert nonreadable handwriting here)
message 1924/1969 2007-01-16 05:48:42 (-0600)
thrashbluegrass
user #55828
2534 posts
12 karma points
[view profile]
[email user]
subject: Re: Ill probably regret asking.
in reply to ygolohcysp in message #1924:
Don't know about the CSS issues, as I've been out of that game for quite some time.

As for the changing text, you should be able to play around with div/span tag properties in order to define a source for the innertext. You should check out a primer on DHTML.

The habitual acceptance of authority disguises the fact that it is derived from violence.
message 1925/1969 2007-01-16 08:12:34 (-0600)
ygolohcysp
user #37187
526 posts
6 karma points
[view profile]
[email user]
subject: Re: Ill probably regret asking.
in reply to thrashbluegrass in message #1925:
Cool. Will do. While you have at least pointed me in the right direction for one of the answers, I think you could have done way better at making fun of me and or my questions. You're slipping.


ygolohcysp
(insert nonreadable handwriting here)
message 1926/1969 2007-01-16 11:01:31 (-0600)
thrashbluegrass
user #55828
2534 posts
12 karma points
[view profile]
[email user]
subject: Re: Ill probably regret asking.
in reply to ygolohcysp in message #1926:
Okay, you're a homo.

Feel better?

The habitual acceptance of authority disguises the fact that it is derived from violence.
message 1927/1969 2007-01-16 12:33:47 (-0600)
khz
user #49981
4196 posts
14 karma points
[view profile]
[email user]
subject: Re: Ill probably regret asking.
in reply to ygolohcysp in message #1924:
My (slightly drunk) suggestion is trying to export as much formating as possible into CSS, using div-tags. Other than that, I've fallen completely in love with PHP. It is the way to interact with a mySQL database. All other options (so far) are inferior. If you had any knowledge in Swedish I would have a page that'd be an absolute must read - completely awesome short introduction entirely devoid of fuss. However, you do not, so I'll just contend myself with saying if you want layout to look half-decent, then css is the way to go. If you want to extract things from a database, PHP will be your friend.

-kHz

Unbowed, Unbent, Unbroken
- House Martell
message 1928/1969 2007-01-16 13:55:02 (-0600)
thrashbluegrass
user #55828
2534 posts
12 karma points
[view profile]
[email user]
subject: Re: Ill probably regret asking.
in reply to khz in message #1928:
"have a page that'd be an absolute must read"

read: top-notch Harry/Ron slashfic

The habitual acceptance of authority disguises the fact that it is derived from violence.
message 1929/1969 2007-01-16 14:00:50 (-0600)
khz
user #49981
4196 posts
14 karma points
[view profile]
[email user]
subject: Re: Ill probably regret asking.
in reply to thrashbluegrass in message #1929:
I don't even know what that means, so the joke is sort of off point...

-kHz

Unbowed, Unbent, Unbroken
- House Martell
message 1930/1969 2007-01-16 14:02:02 (-0600)
thrashbluegrass
user #55828
2534 posts
12 karma points
[view profile]
[email user]
subject: Behold, and tremble
in reply to khz in message #1930:
Harry/Ron slashfic

The habitual acceptance of authority disguises the fact that it is derived from violence.
message 1931/1969 2007-01-16 14:39:58 (-0600)
khz
user #49981
4196 posts
14 karma points
[view profile]
[email user]
subject: Re: Behold, and tremble
in reply to thrashbluegrass in message #1931:
You sound frustrated. You need some male loving again? I hear Jade's into the whole anal business these day...

-kHz

Unbowed, Unbent, Unbroken
- House Martell
message 1932/1969 2007-01-16 15:25:40 (-0600)
ygolohcysp
user #37187
526 posts
6 karma points
[view profile]
[email user]
subject: Re: Behold, and tremble
in reply to thrashbluegrass in message #1931:
You know, people that continually spout out words like homo, and continually find more and more reading material concerning gay activity do make me slightly worry. It reminds me of how much you wanted me to stop by when/if I'm in the area. I remember something about you wanting to get me drunk...

:-p

By the way, thank you, khz
ygolohcysp
(insert nonreadable handwriting here)
message 1933/1969 2007-01-16 16:46:52 (-0600)
jadefalcon1
user #21137
6625 posts
21 karma points
[view profile]
[email user]
subject: Re: Ill probably regret asking.
in reply to ygolohcysp in message #1924:
I'd say your best bet is to stick with the W3C standards, and cross your fingers for IE. Firefox has some web developer extensions that check W3C compliance, and you can use IETab in Firefox to switch rendering engines quickly.

Yeah.....standards are good, unless you're Microsuck.

~Jade Falcon [mail][blog][page][FTP]

"I'll get over you, I know I will. I'm the King of Wishful Thinking." ~ Go West
message 1934/1969 2007-01-20 21:22:08 (-0600)
rehab
user #76230
150 posts
2 karma points
[view profile]
[email user]
subject: Re: getting back into programming
in reply to jadefalcon1 in message #1934:
I've just spent the last 9 hours doing a c++ assignment for a friend of mine for free.

Its the first proper piece of programming i have done for almost 2 years an i have to say i really enjoyed it, C++ is now way better than shitty M$ C# which i used a lot of a couple of years ago. :-)

Although i have decided that Char arrays suck balls, although it might be down to the way i was using them and my own ineptness.

The assignment was to create a fully linked list of structs (i would have used a class not a struct) using pointers, and populate it from a supplied .dat file. Then build search algorithms to find whatever.

Me being me wetn totally over the top and now my poor friend who sucks at programming is going to hand in a solid piece of code for the first time, with all destructor's taken care of and good error handling. He is going to get found out in a heart beat.

I am glad i enjoyed it because i start my new graduate software engineer job in a few weeks, hence my new found generosity ;)

The job is really cool, its building software to go in fighter jets and navy ships for BAE.








Don't shoot the wounded
message 1935/1969 2007-08-03 18:17:41 (-0500)
jadefalcon1
user #21137
6625 posts
21 karma points
[view profile]
[email user]
subject: Re: getting back into programming
in reply to rehab in message #1935:
I now officially hate the Prolog language. That AI class was rough. I spent more time fighting the language than I did the concepts.

~Jade Falcon [mail][blog][page][FTP]

FUCK THE WORLD &trade
It's shitty
message 1936/1969 2007-08-19 19:57:07 (-0500)
thrashbluegrass
user #55828
2534 posts
12 karma points
[view profile]
[email user]
subject: Re: getting back into programming
in reply to jadefalcon1 in message #1936:
Check out lisp, or a lisp-derived language like scheme, and see what you missed by having an idiot for a professor.

The habitual acceptance of authority disguises the fact that it is derived from violence.
message 1937/1969 2007-08-20 09:26:13 (-0500)
jadefalcon1
user #21137
6625 posts
21 karma points
[view profile]
[email user]
subject: Re: getting back into programming
in reply to thrashbluegrass in message #1937:
Eh, she's no idiot. She knows her shit inside-out, upside-down, backwards, etc. I've seen Lisp, just read a little. I've been told of Scheme by one of my coworkers.

I'm not sure any of that is for me. I like recursion, sure, but not that much!

~Jade Falcon [mail][blog][page][FTP]

FUCK THE WORLD &trade
It's shitty
message 1938/1969 2007-08-20 22:35:04 (-0500)
hello28
user #76638
24 posts
0 karma points
[view profile]
[email user]
subject: Re: How different are compilers?
in reply to jadefalcon1 in message #1920:
I've always used dev-c++ as a compiler, though ive never really used anything that requires more than what dev-c++ offers. its basic and easy to use, so i dont see the point of using another one at the current time




-Necro



"Going to war without the French is like going hunting without an accordian"
message 1939/1969 2007-08-21 16:44:57 (-0500)
hello28
user #76638
24 posts
0 karma points
[view profile]
[email user]
subject: Re: How different are compilers?
in reply to hello28 in message #1939:
Then again, my computer language background is very.. limited.. rfor the moment.. i feel like a programming noob.




-Necro



"Going to war without the French is like going hunting without an accordian"
message 1940/1969 2007-08-21 16:50:27 (-0500)
jadefalcon1
user #21137
6625 posts
21 karma points
[view profile]
[email user]
subject: Re: How different are compilers?
in reply to hello28 in message #1940:
We were all n00bs once, although some will no longer admit it.

Depending on what you're doing, you're going to get away from C and C++ sooner or later. I still prefer C++ over any other language, currently, but there are some others that do things better. Prolog is great for fast prototyping something, but it's got enormous overhead, it's both procedural AND declarative, and it relies extremely heavily on recursion. Perl is very powerful, but its current stable versions run interpreted only (no compiling) and its syntax rules are so lax that you can get away with sixteen different kinds of murder. Really good perl-slingers can do all sixteen in a few lines or less.

There's more, but you get the idea. Every language has its niche. Some are just less broad than others. Brainfuck is an intentionally esoteric and impractical language. Take a look at the 'Hello World' program in that!

~Jade Falcon [mail][blog][page][FTP]

FUCK THE WORLD &trade
It's shitty
message 1941/1969 2007-08-21 18:17:32 (-0500)
sayerbloke
user #13745
228 posts
2 karma points
[view profile]
[email user]
subject: Re: How different are compilers?
in reply to jadefalcon1 in message #1941:
I tried to get my old C++ compilers working for something over the weekend.

Two are old DOS based ones that didn't want to co-operate, Borland C Builder I just had a version copied off an old harddrive but no installer so that wouldn't run and I couldn't find my "backup" copy of Visual Studio. Besides, I'd be surprised if I could remember how to use that it's been so long.
message 1942/1969 2007-08-22 03:56:26 (-0500)
thrashbluegrass
user #55828
2534 posts
12 karma points
[view profile]
[email user]
subject: Re: How different are compilers?
in reply to jadefalcon1 in message #1941:
C++ is a powerful, widely-used, and extremely ugly language. There's no need to have a language of that high a level also require you to manage memory, when it damn well stomps all over memory via polymorphism.

I'm starting to have to move into Java, which I also find ugly. I'm in need of going into perl/python/ruby for professional reasons, but my hobbyist hacking is done in C, because I find it a simple and elegant language.

The habitual acceptance of authority disguises the fact that it is derived from violence.
message 1943/1969 2007-08-22 07:35:21 (-0500)
jadefalcon1
user #21137
6625 posts
21 karma points
[view profile]
[email user]
subject: Re: How different are compilers?
in reply to sayerbloke in message #1942:
C and C++ are a lot more fun under *Nix. Things are just easier that way.

Thrash: I've got a Systems Programming incomplete to finish from last year. By the time I'm done with it, I may be doing more in C and less in C++. What I like about using C++ is that you can use all the C stuff where you want, but fall back on the C++ stuff if you want. It's nice to have the choice.

~Jade Falcon [mail][blog][page][FTP]

FUCK THE WORLD &trade
It's shitty
message 1944/1969 2007-08-22 17:38:54 (-0500)
jadefalcon1
user #21137
6625 posts
21 karma points
[view profile]
[email user]
subject: Re: How different are compilers?
in reply to thrashbluegrass in message #1943:
Oh, and: Java SUCKS. Why should I have to remember all the pathing for the libraries and include six of them just to display text?

Stupid fucking language.

~Jade Falcon [mail][blog][page][FTP]

FUCK THE WORLD &trade
It's shitty
message 1945/1969 2007-08-22 17:40:24 (-0500)
rehab
user #76230
150 posts
2 karma points
[view profile]
[email user]
subject: Re: How different are compilers?
in reply to jadefalcon1 in message #1945:
Someone said that your favorite language is which ever you were first taught to use. Well thats a load of shite because i got taught Qbasic/Visual Basic first at school and it blows goats. Then i did pascal and turbo pascal which was better but still not great, then Delphi which i quite liked at the time, probably because its pascal but for GUI's. Then i got taught C++ at university and after the initial mind fuck that is trying to remember which syntax belongs to which language, i grew to love it. Oh i also did some C# which at first i liked because it is quick and easy, especially for GUI stuff, but now i hate it because they basically took C++ and changed it just enough to totally screw you over, it also makes you lazy.

Anyway come next month i am going to be learning ADA 83 for my new job, apparently neither ADA 95 or ADA 2005 are stable enough for "mission critical systems" :S . Apparently its a lot like pascal so fingers crossed i'll like it.

As for Java, i've done a fairly good job at avoiding it so far, hopefully that will continue.
Don't shoot the wounded
message 1946/1969 2007-08-22 20:56:52 (-0500)
jadefalcon1
user #21137
6625 posts
21 karma points
[view profile]
[email user]
subject: Re: How different are compilers?
in reply to rehab in message #1946:
C# == J# == Java. Ask Sun. Ask Microsoft. That's precisely what it is. Hell, look at the library setup. Dead giveaway.

I did learn some Visual Basic 6 back in Community College, and I messed around very little with batch scripts in DOS before that. I still prefer C++ over everything else. After I learn PHP, Python, Perl, and get good with C, I may change my mind.

~Jade Falcon [mail][blog][page][FTP]

FUCK THE WORLD &trade
It's shitty
message 1947/1969 2007-08-22 23:16:22 (-0500)
paradox
user #2731
2505 posts
15 karma points
[view profile]
[email user]
subject: fucking optimizer
Did I miss the bulletin?

Apparently there are some serious changes in PS/SQL performance when moving from Oracle 9i to 10g and it's really starting to annoy me.

I get major performance hits on 10g when using a LEFT OUTER JOIN that I didn't have in 9i. Changing the join to a sub-select, when applicable, helps to alleviate some of the performance trouble, but not completely. And you can't convert every outer join with a sub-select.

I think it's related to the new optimizer in 10g, so I started adding the /*+rule*/ hint to the beginning of some of the more complex views I have setup. That seems to help the most. I would rather not rely on this, and let the optimizer do it's job, but I can't put my finger down on the actual cause.

Has anyone else seen this? Any PS/SQL or Oracle geeks that can explain why my outer joins now take up to five times longer to complete?


"I think I know, I don't think I know.
I don't think I think I know, I don't think I think." - Ed
message 1948/1969 2007-08-24 11:42:52 (-0500)
paradox
user #2731
2505 posts
15 karma points
[view profile]
[email user]
subject: Re: Ill probably regret asking.
in reply to khz in message #1928:
I've said it before: I love CSS. It enables you to separate structure from design in web development, which is just too clumsy using html alone.

I've only recently got my feet wet with PHP, but that looks like a sweet language. I don't mind ASP, but it's security blows. ASP.Net is just a cludgy form of Java. I really want to start converting my ASP to PHP, just need to get a test system with Apache setup.

"I think I know, I don't think I know.
I don't think I think I know, I don't think I think." - Ed
message 1949/1969 2007-08-24 11:46:33 (-0500)
jadefalcon1
user #21137
6625 posts
21 karma points
[view profile]
[email user]
subject: Re: Ill probably regret asking.
in reply to paradox in message #1949:
Fortunately for you, my friend, all you need do is include mod_php in Apache and you're most of the way there. After that, you just start hammering at the PHP itself.

Have fun! I've gotta learn it too, 'cause it looks pretty damn nice.

~Jade Falcon [mail][blog][page][FTP]

FUCK THE WORLD &trade
It's shitty
message 1950/1969 2007-08-24 23:08:09 (-0500)
username: password: