- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Oh dear. Please move to Linux forever and leave game development to us, professionals!
Admin
Oh wow, I've just got into work today and started reading the moronic retorts from Erik Naggum after the whole forum called him out on generally being a retard. How does this guy survive life being such a self-absorbed idiot? Thanks for the laugh Erik, this is how all days should start!
Admin
Given that his are the only posts with a glimmer of intelligence, I figure he won't be back.
Admin
Clearly Erik has contracted the "overly aggravated tech" virus that I had earlier this week (see my vitrioloic outpourings in "Validating a Date with a Sledghammer" for details!).
Sorry Dude!
Although, on that note:
Did you ever consider that perhaps Linux geeks don't give game development the attention it deserves?Admin
Here developers write PL/SQL, DBAs only install the scripts into the database (because developers aren't supposed to have the admin username/password for the production machine, not because we're technically incapable of doing it ourselves). It's a good division of labour, they don't have to think and we don't have to stay up nights to run things after office hours :)
Admin
I've seen a lot of situations where DBAs were extremely hostile towards developers, refused even speak with them, let alone do anything to help them solve problems. Apparently that attitude is pretty common in the industry and whenever developers get a chance they vent their frustration at the situation.
Where I'm working now there's not much hostility, but DBAs are almost never in direct contact with developers to the point where most of them never even work in the same location (they have their own office some 100 miles away where developers never come).
The difference: Developers generally tend to be less aggressive, more often than not resorting to quips and jokes rather than namecalling and open insults than are many DBAs.
Admin
Thank you for that, you made my day.
Admin
A schooner is a sailboat, but a sailboat isn't necessarily a schooner (it could be a sloop, a yawl, a ketch...)
Who's next?
Admin
I'm not sure what you're getting at. Unix environment variables are case-sensitive on every shell I've used. Then you imply that a "Windows-y user" wouldn't know that case is important.
Or maybe it's that you're not sure what you're getting at. Either way, you just made a dope of yourself.
Admin
Then I humored the possibility that the poster and editor were [predominantly] Windows users unfamiliar with (or not used to) the case-sensitivity in UNIX environments, and therefore, less likely to catch what seems like an error in the submitter's solution (and since he seems to know a thing or two about UNIX shell scripts I have to assume he knows better, which suggests that the error may, though not necessarily, have been introduced by the author/editor).
So I fail to see how I made a "dope" of myself. ::)Admin
I enjoyed sliding the scrollbar up and down rapidly and watching the pattern oscillate.
Admin
/bin/sh friendly:
for i in
seq 2 119
; do file="$file,$WORKSPACE/ewprd${i}_$DATECODE.dmp"; doneAdmin
The phrase "Thom passed on the suggestion" is confusing. By "passed on" you mean "ignored." But I initially read it as to mean "sent it up the chain," making the rest of the sentence make absolutely no sense. :)
Admin
seq(1) is nice trick; I hadn't seen that command before. However, your code does not correctly handle the first filename in the list (your list will start with a ',').
Admin
I actually wrote shell script that uses dtrace to compare both methods of initializing the variable. The "static" initialization (i.e. the very long line) is much, much faster. malloc(3) is called 11 million times when the 4-line loop is run with 100 iterations!
Admin
Admin
The REAL Erik Naggum on TDWTF? That we may be deserving of such an honor!
No, but you appear to be the first who would make such a claim without bothering to use his browser's text search function first. In two words: You fail.
You fail once more. The point in personal development is not to establish an ego, it's to kill the goddamned thing! Your confusion is understandable however because you probably don't know what an ego is in the first place. While the English syllable "self" isn't a foolproof way of catching the ego, it's a good start.
But now for something completely different - your poster child LISP! While you rightly criticize C++ for being inelegant (not that I would use the same wording), C++ has one thing going for it: It's blazingly fast (also, it's more interoperable than mostly anything else).
It may be said that purity and elegance beat performance. However, and this is the argument I fiendishly prepared, I will now propose a language which is both more pure and more elegant than LISP, which is a bastard (by which I merely mean "multi-paradigm programming language", of course) just like C++. This language is Haskell. In fact, it's the only general purpose language I know of where expressions are free of environmental side effects. Also, Haskell is a much faster growing functional programming language in terms of adoption and availability of libraries and tools.
But then, we might reason, LISP may still be useful assuming it sacrifices some of the high-falutin' purity and abstraction that characterize Haskell for performance. Unfortunately this is incorrect. The Glasgow Haskell Compiler butchers Common LISP and Scheme alike, performance-wise.
There you have it - you're the language bigot who's outbigotted, and your personal pet language is completely redundant (apart from customizing Emacs, of course). Oh, the irony.
Of course, I don't have anything against you, just your "established" ego, or let's call it the old dogma you can't teach any tricks to.
Admin
Haskell:
A bit shorter still because no special case for the first file name is necessary (intercalate handles that).
Admin
Admin
Apart from rejecting the much more elegant alternative, did you guys end up fixing the first one? If not, I'm afraid that the .dmp's for ewprd117 will not be backed up because of the typo $WORKSAPCE ...
Admin
Actually the interesting thing is that it can have either meaning in America based on the context in which it was used.
Admin
News flash: CPython is the cannonical python interpreter, it's case sensitive.
Admin
Why is the "119" hard-coded in that script?
Admin
I seriously wish every developer was forced to work as an operational DBA, with the responsibilies that comes with it, for a few critical systems (i'd say anywhere between 200-900 instanses, heterogenous in vendor, hardware and versions) for lets say 6 months.
then come back and whine about not getting sys/sysadm/sa rights, about lack of change mgmt, about the incompetense of their DBA's, and my favourite of the day: that any decent dev would make a decent DBA.. hint: it's not only technology, by a mindset.
There is more then one type of DBA in the world...
but, as someone said earlier, hey, please try, more money for the freelance DBA's who actually ARE worth their salt ;)