User Name
Password

Go Back   Planetarion Forums > Search Forums

Showing results 1 to 79 of 79
Search took 0.01 seconds.
Search: Posts Made By: Atamur
Forum: Programming and Discussion 16 Sep 2003, 00:49
Replies: 10
Views: 4,454
Posted By Atamur
I type faster than I click. I find it quicker to...

I type faster than I click. I find it quicker to type up CREATE TABLE sql statement in vim and paste it into mysql than I can do the same thing through myCC.
Forum: Programming and Discussion 16 Sep 2003, 00:45
Replies: 10
Views: 4,052
Posted By Atamur
When I write code for my company, I always do...

When I write code for my company, I always do everything in English. When I write something for my own amusement, I often use words from my native tongue for variable names.
Forum: Hardware and Tech Support 21 Jun 2003, 23:52
Replies: 11
Views: 5,975
Posted By Atamur
Looks good. You might want to opt for 2 memory...

Looks good. You might want to opt for 2 memory modules to take full advantage of nforce2 chipset.
Forum: Programming and Discussion 11 Jun 2003, 21:27
Replies: 17
Views: 3,259
Posted By Atamur
Re: Re: Re: Web Design

*shrug* He did get a few jobs that way. I'm not talking about large jobs. Tiny companies that have 4-page websites. He was only charging them a couple hundred dollars. I remember he did a...
Forum: Planetarion Discussions 11 Jun 2003, 09:56
Replies: 29
Views: 4,407
Posted By Atamur
I bet they are doing it so that jolt could get a...

I bet they are doing it so that jolt could get a tax break as an educational institution.... :D
Forum: Programming and Discussion 11 Jun 2003, 01:24
Replies: 17
Views: 3,259
Posted By Atamur
Re: Web Design

A friend of mine did the following. He found local small businesses with really terrible websites, redesigned one of the pages of their existing website and then approached them with a proposed...
Forum: Programming and Discussion 7 Jun 2003, 12:47
Replies: 6
Views: 3,317
Posted By Atamur
learn perl ;)

learn perl ;)
Forum: Programming and Discussion 7 Jun 2003, 10:41
Replies: 6
Views: 3,317
Posted By Atamur
do the two connections have to interact with each...

do the two connections have to interact with each other? because if not, you can launch two separate processes...
Forum: Programming and Discussion 30 May 2003, 03:33
Replies: 10
Views: 2,958
Posted By Atamur
Re: Hokay, Perl questions start here :)

I think you need to be a bit more specific about the data structure you are trying to work with. Perl has 3 data structures. scalar, list, and hash. From your description you seem to want a hash...
Forum: Programming and Discussion 27 May 2003, 23:27
Replies: 6
Views: 2,633
Posted By Atamur
If you don't have a whole lot of tables and it's...

If you don't have a whole lot of tables and it's a one-time thing you have to do, the simplest thing is
right-click a table in MSAccess,
select Export,
select ODBC in the Save As Type list box,...
Forum: Strategic Discussions 23 May 2003, 02:57
Replies: 24
Views: 3,284
Posted By Atamur
Must feel good to have a forum named after you,...

Must feel good to have a forum named after you, Tacticus. :D
Forum: Programming and Discussion 4 May 2003, 02:23
Replies: 3
Views: 2,467
Posted By Atamur
A few suggestions. 1. when you have a...

A few suggestions.

1. when you have a series of if conditions and intend for only one of those conditions to be true, use "else if".

i.e.


if (condition1)
statement1;
else if...
Forum: Programming and Discussion 2 May 2003, 20:38
Replies: 13
Views: 3,453
Posted By Atamur
don't speak ill of regexps. they and other...

don't speak ill of regexps. they and other poorly readable constructs/languages are the core of programmers' job security.
Forum: Hardware and Tech Support 9 Apr 2003, 01:28
Replies: 2
Views: 7,346
Posted By Atamur
Re: Windows 2000: can you change rights from the commandline?

cacls command does that.


Displays or modifies access control lists (ACLs) of files

CACLS filename [/T] [/E] [/C] [/G user:perm] [/R user [...]]
[/P user:perm [...]] [/D user...
Forum: Programming and Discussion 8 Apr 2003, 20:16
Replies: 5
Views: 2,676
Posted By Atamur
that sucks... :( I have done that to myself a...

that sucks... :( I have done that to myself a number of times. The best defense against this is a quick ci -l every now and then...
Forum: Programming and Discussion 8 Apr 2003, 01:44
Replies: 1
Views: 3,645
Posted By Atamur
check the useful links thread on Strategy forum.

check the useful links thread on Strategy forum.
Forum: Programming and Discussion 7 Apr 2003, 12:02
Replies: 6
Views: 3,800
Posted By Atamur
"$@" (quotes are significant) quotes each $n...

"$@" (quotes are significant) quotes each $n variable individually.


~>cat t.sh
#!/bin/bash
a() {
echo "$3"
}

a $*
Forum: Programming and Discussion 5 Apr 2003, 09:21
Replies: 6
Views: 3,800
Posted By Atamur
I think your friend needs to replace ...

I think your friend needs to replace
install_softA $*withinstall_softA "$@"

i haven't done any shell scripting in a few years so i could be wrong
Forum: Programming and Discussion 1 Apr 2003, 19:54
Replies: 7
Views: 2,697
Posted By Atamur
Since you don't have a primary key in your data...

Since you don't have a primary key in your data model, you cannot distinguish between a new row and an updated row.

You can find all rows in table one that cannot be found in table 2, all rows in...
Forum: General Discussions 29 Mar 2003, 04:09
Replies: 6
Views: 2,666
Posted By Atamur
Re: I am a sociopath

Perhaps you should join them...
Forum: General Discussions 29 Mar 2003, 03:29
Replies: 1
Views: 2,529
Posted By Atamur
42

42
Forum: General Discussions 29 Mar 2003, 02:10
Replies: 23
Views: 3,691
Posted By Atamur
Re: Rumsfeld threatens Syria

Syria is safe for a while. Since we are taking countries out in alphabetial order, Jordan, Lebanon, Pakistan, and Saudi Arabia will go down before we get to Syria. Notice that Iran and Egypt are...
Forum: General Discussions 28 Mar 2003, 00:51
Replies: 55
Views: 6,878
Posted By Atamur
http://www.g2mil.com/RPG.htm

http://www.g2mil.com/RPG.htm
Forum: Planetarion Discussions 26 Mar 2003, 07:40
Replies: 25
Views: 3,874
Posted By Atamur
Re: PA is unbalanced in itself !

This would hurt planets that have low roids/score ratio. In other words, smaller and recently bashed ones.
Forum: Strategic Discussions 26 Mar 2003, 02:03
Replies: 17
Views: 3,279
Posted By Atamur
Ahhh....... All is well now.

Ahhh....... All is well now.
Forum: Strategic Discussions 26 Mar 2003, 02:02
Replies: 7
Views: 3,019
Posted By Atamur
Thumbs up very very spiffy :). but you have a few small...

very very spiffy :). but you have a few small deviations from the published stats (http://main.planetarion.com/manual/stats.php).

gryphon empres
phoenix empres
avenger wpsp
mantis crystal cost...
Forum: Programming and Discussion 26 Mar 2003, 01:19
Replies: 2
Views: 3,041
Posted By Atamur
there's sprintf function which works mostly the...

there's sprintf function which works mostly the same as in C. There's also
Number::Format (http://search.cpan.org/author/WRW/Number-Format-1.45/Format.pm) module if sprintf is not good enough for...
Forum: Strategic Discussions 25 Mar 2003, 22:39
Replies: 17
Views: 3,279
Posted By Atamur
Where is Tacticus when a sarcastic remark is so...

Where is Tacticus when a sarcastic remark is so badly needed?
Forum: Strategic Discussions 25 Mar 2003, 17:58
Replies: 35
Views: 5,206
Posted By Atamur
There's another possibility. There may be an...

There's another possibility. There may be an amount of "free" resources per battle that ziks can capture without poofing. Say, first n% of your score's worth of ships per tick of battle are...
Forum: Programming and Discussion 24 Mar 2003, 18:53
Replies: 7
Views: 3,682
Posted By Atamur
doesn't php have perl-like regexp support? in...

doesn't php have perl-like regexp support? in perl you could do

s/^(.{100,}?)\W.*$/$1.../

to keep everything up to the first non-word charcter after 100 characters and replace the rest with ...
Forum: General Discussions 24 Mar 2003, 11:02
Replies: 1
Views: 2,729
Posted By Atamur
it is!

it is!
Forum: Strategic Discussions 24 Mar 2003, 09:29
Replies: 35
Views: 5,206
Posted By Atamur
public stats aren't much use if the formulae are...

public stats aren't much use if the formulae are secret.
Forum: Planetarion Discussions 24 Mar 2003, 05:54
Replies: 32
Views: 3,372
Posted By Atamur
This may be the most passionate discussion over...

This may be the most passionate discussion over percentages that I've ever witnessed. ;)
Forum: Strategic Discussions 23 Mar 2003, 23:41
Replies: 35
Views: 5,206
Posted By Atamur
It's hard to work anything out from reports with...

It's hard to work anything out from reports with so few rogues. Since we don't know for sure if rounding is done to the closest integer, always up, or always down, the error magin on these numbers...
Forum: Planetarion Discussions 23 Mar 2003, 00:17
Replies: 32
Views: 3,372
Posted By Atamur
Re: Roid Scan Stats Needed

You cannot really produce a calc that's more accurate than the existing calcs which calculate the probability distibution exactly. But if you really want to get ahold of large number of scan...
Forum: Planetarion Discussions 23 Mar 2003, 00:12
Replies: 12
Views: 3,115
Posted By Atamur
Everybody knows that the cathaar are all...

Everybody knows that the cathaar are all secretely working to develop weapons of mass stunning. It's not racism. It's preemptive self-defense.
Forum: Strategic Discussions 20 Mar 2003, 19:49
Replies: 15
Views: 3,240
Posted By Atamur
This is just bad (or good, depending on which...

This is just bad (or good, depending on which side you're on) luck.

We know from the battle report that attacker stunned 76 scarabs and 32 black widows. So defender's 144 spiders, 24 scarabs and...
Forum: Programming and Discussion 9 Mar 2003, 13:17
Replies: 2
Views: 2,710
Posted By Atamur
COUNTIF(<range>,"Y")

COUNTIF(<range>,"Y")
Forum: Planetarion Discussions 5 Mar 2003, 02:31
Replies: 6
Views: 3,843
Posted By Atamur
Re: Suggestion: Ingame link to forum target=_blank

links with target are evil. if i want to open a linke in a new window, i'll use my browser's open in a new window feature (duh). I hate it when website designers deside for me when to open new...
Forum: Strategic Discussions 1 Mar 2003, 00:39
Replies: 22
Views: 6,408
Posted By Atamur
Although I don't think it's really useful, you...

Although I don't think it's really useful, you can right-click (or ctrl-click) and check "Account for attacking ships killed by faster defender" to get the numbers you are looking for. This, of...
Forum: Strategic Discussions 23 Feb 2003, 03:16
Replies: 22
Views: 6,408
Posted By Atamur
just downloaded opera to see what it looks like. ...

just downloaded opera to see what it looks like. the latest version of it sure look spiffy. The matrix displays more or less correctly but opera doesn't seem to support oncontextmenu event without...
Forum: Strategic Discussions 22 Feb 2003, 02:27
Replies: 22
Views: 6,408
Posted By Atamur
Re: Re: r9 matrix etc.

Multiple times per round actually. If I remember correctly, there were 3 formats last round. They have to follow the PA Design Commandments, you know... Thou shalt not reuse format of ship stats...
Forum: Strategic Discussions 22 Feb 2003, 00:45
Replies: 22
Views: 6,408
Posted By Atamur
r9 matrix etc.

Predictably, I had to rewrite the stat parser again. I bet a few more tweaks will be made and then the stats will be reposted in a different format again.
...
Forum: Programming and Discussion 19 Feb 2003, 04:23
Replies: 27
Views: 5,662
Posted By Atamur
Any form of security - computer or otherwise - is...

Any form of security - computer or otherwise - is only valid as long as the expense of circumventing it exceeds the value of the secured possetions. If your data is valuable enough for somebody to...
Forum: Programming and Discussion 18 Feb 2003, 22:56
Replies: 27
Views: 5,662
Posted By Atamur
Yea yea. Anybody who stores sensitive data on a...

Yea yea. Anybody who stores sensitive data on a machine that a potential intruder might walk up to deserves what's coming to him. Without physical security, any system is inherently vulnerable.
Forum: Programming and Discussion 12 Feb 2003, 23:13
Replies: 25
Views: 185,890
Posted By Atamur
http://www.topcoder.com - a great place for...

http://www.topcoder.com - a great place for coders to pit their skills against others. numerous practice problems that can be solved and validated in java, c# and c++. regular coding...
Forum: Programming and Discussion 12 Feb 2003, 13:44
Replies: 5
Views: 2,338
Posted By Atamur
are you permitted to use Collection framework or...

are you permitted to use Collection framework or are you supposed to write your own sorting routine?


class LastNameCmp implements Comparator {
public int compare(Object o1, Object o2) {
return...
Forum: Programming and Discussion 9 Feb 2003, 23:59
Replies: 58
Views: 7,237
Posted By Atamur
Just because you can theoretically address 2^64...

Just because you can theoretically address 2^64 or 16mil TB of memory, doesn't mean you have that much of it :D. Besides, the only time this sort of logic is used is 4 or 5 piece endings. But those...
Forum: Programming and Discussion 9 Feb 2003, 23:44
Replies: 58
Views: 7,237
Posted By Atamur
Right on. How many ppl proudly announce that...

Right on. How many ppl proudly announce that they have 128meg video memory but have no idea what you are talking about when you ask them what kind of 3d games they play? Numbers sell. P4 1.4 wiht...
Forum: Programming and Discussion 9 Feb 2003, 16:49
Replies: 58
Views: 7,237
Posted By Atamur
iirc, Intel's Itanic is able to run 32-bit code...

iirc, Intel's Itanic is able to run 32-bit code through emulation albeit at a significant performance penalty.
Forum: Hardware and Tech Support 4 Feb 2003, 20:43
Replies: 9
Views: 5,558
Posted By Atamur
http://www.vcdhelp.com <-- everything you ever...

http://www.vcdhelp.com <-- everything you ever wanted to know about making vcd's but were afraid to ask.
Forum: Hardware and Tech Support 2 Feb 2003, 23:07
Replies: 10
Views: 5,791
Posted By Atamur
When they say "8-port switch/hub", they count the...

When they say "8-port switch/hub", they count the maximum number of connections going into it. So you will never be able to connect an 8-port switch to 9 devices (uplink connection to another...
Forum: Programming and Discussion 29 Jan 2003, 23:35
Replies: 2
Views: 2,268
Posted By Atamur
$html =~ s#:(.*):#<a href=$1>$1</a># you may...

$html =~ s#:(.*):#<a href=$1>$1</a>#

you may want to read perldoc perlre. all sorts of magic can be accomplished with regular expressions...
Forum: Programming and Discussion 29 Jan 2003, 18:05
Replies: 7
Views: 2,442
Posted By Atamur
hehe. as far as puns go, it's not a bad one. :D

hehe. as far as puns go, it's not a bad one. :D
Forum: Programming and Discussion 29 Jan 2003, 02:33
Replies: 4
Views: 2,424
Posted By Atamur
early versions of norton utilities had an awsome...

early versions of norton utilities had an awsome disk editor. i remember once trying to fix my partition table with it.... took me half a day.
Forum: Programming and Discussion 29 Jan 2003, 02:31
Replies: 6
Views: 2,328
Posted By Atamur
sure it may be simpler. but, to quote Dr. Evil,...

sure it may be simpler. but, to quote Dr. Evil, it's just not evil enough...
Forum: Programming and Discussion 29 Jan 2003, 02:19
Replies: 6
Views: 2,328
Posted By Atamur
Haven't you read the latest XP license? PC...

Haven't you read the latest XP license? PC manufacturers must now include a device that will drive a nail through the hard drive when you attempt to tamper with your OS.
Forum: Programming and Discussion 28 Jan 2003, 04:39
Replies: 6
Views: 2,390
Posted By Atamur
*shrug* i didn't invent this. i'm just answering...

*shrug* i didn't invent this. i'm just answering the guy's question. Personally, i frown at websites that so much as dare open links in a new window; let alone try to download fonts.
Forum: Programming and Discussion 28 Jan 2003, 04:28
Replies: 6
Views: 2,390
Posted By Atamur
http://developer.netscape.com/viewsource/wyner_dyn...

http://developer.netscape.com/viewsource/wyner_dynfonts.html

more information can of course be found at
http://www.google.com/search?&q=dynamic%20fonts

the site in question, btw, does not...
Forum: Programming and Discussion 23 Jan 2003, 22:23
Replies: 3
Views: 2,173
Posted By Atamur
Re: perl crap person requires shove in the right direction..

variable is not interpolated inside single quotes around $logDir/*_log. replace with double quotes.
Forum: Programming and Discussion 23 Jan 2003, 13:26
Replies: 11
Views: 2,651
Posted By Atamur
loading one file at a time in memory will be much...

loading one file at a time in memory will be much faster then a line at a time.
Forum: Programming and Discussion 23 Jan 2003, 11:32
Replies: 11
Views: 2,651
Posted By Atamur
[QUOTE]Originally posted by W [B] ...

[QUOTE]Originally posted by W
[B]
...............


why not simply gobble up the entire file into memory? it would be faster and simpler.
Forum: Programming and Discussion 23 Jan 2003, 01:04
Replies: 11
Views: 2,651
Posted By Atamur
($text) = $html =~...

($text) = $html =~ m#<blah>(.*?)</blah>#is;
Forum: Programming and Discussion 13 Jan 2003, 21:07
Replies: 9
Views: 2,762
Posted By Atamur
Re: Bloody printer cartridges

Every epson printer I ever dealt with chugged ink like a drunken sailor. For those who are looking to buy a new printer, Tom's hardware did a printer review in december...
Forum: Programming and Discussion 12 Jan 2003, 20:49
Replies: 2
Views: 2,350
Posted By Atamur
in order to do this, you have to have <property...

in order to do this, you have to have <property environment="myenv"/>
somewhere before you start referencing "myenv.blahblah".

http://jakarta.apache.org/ant/manual/CoreTasks/property.html
Forum: Strategic Discussions 12 Jan 2003, 00:06
Replies: 70
Views: 6,961
Posted By Atamur
Re: With mil scans unchanged and ob still in...

especially if cluster and parallel get faster eta for attacks...
Forum: Programming and Discussion 21 Nov 2002, 01:33
Replies: 41
Views: 5,270
Posted By Atamur
PHP is a special purpose language. if you don't...

PHP is a special purpose language. if you don't know what exactly you want, stick with something simple and general purpose. VBScript comes to mind (assuming you are using windows). If you are...
Forum: Programming and Discussion 21 Nov 2002, 01:28
Replies: 7
Views: 3,034
Posted By Atamur
i don't know about winME or winXP, but win2k...

i don't know about winME or winXP, but win2k comes with winchat. it's conveniently not included in start menu. just try typing winchat at command prompt.
Forum: Programming and Discussion 20 Nov 2002, 06:11
Replies: 6
Views: 3,499
Posted By Atamur
I wouldn't worry about it. Just make sure you...

I wouldn't worry about it. Just make sure you don't do something like
while (! -e file);
If you sleep after each check, there should be no problem.
Forum: Programming and Discussion 16 Nov 2002, 21:07
Replies: 7
Views: 3,816
Posted By Atamur
Re: 3D maths site

this tutorial seems decent.
http://chortle.ccsu.edu/vectorLessons/vectorIndex.html

There were a few more links produced by...
Forum: Programming and Discussion 13 Nov 2002, 15:51
Replies: 7
Views: 2,824
Posted By Atamur
sys a: (if memory serves me...)

sys a:

(if memory serves me...)
Forum: Programming and Discussion 12 Nov 2002, 17:28
Replies: 12
Views: 3,363
Posted By Atamur
here's perl code in functional programming style....

here's perl code in functional programming style.

sub subsets {
my ($first, @rest) = @_;
return ([]) unless $first;
my @restsubsets = subsets(@rest);
return (@restsubsets, map {[$first,...
Forum: Programming and Discussion 3 Nov 2002, 01:59
Replies: 5
Views: 3,055
Posted By Atamur
the easiest thing to do is to have a hidden span...

the easiest thing to do is to have a hidden span right after the image and then unhide it when the image is clicked. something like this:

<img src=......
Forum: Programming and Discussion 29 Oct 2002, 20:44
Replies: 8
Views: 2,764
Posted By Atamur
if you want to move objects in response to mouse...

if you want to move objects in response to mouse events, you have to have an even handler. something like this:

<body *******move="moveit(event, 'p2')">

<script>
function moveit(e, id)
{
...
Forum: Programming and Discussion 29 Oct 2002, 20:20
Replies: 3
Views: 2,330
Posted By Atamur
to answer your original question, you can...

to answer your original question, you can evaluate an expression (which can be just a variable name) with eval function. e.g.

a5="hello"
document.write(eval("a1"))


However, for what you...
Forum: Programming and Discussion 26 Oct 2002, 03:47
Replies: 8
Views: 2,764
Posted By Atamur
Re: HTML: placing characters or pictures on specified coordinates

<img src=... style="positioning: aboslute; top: 50pt; left: 100pt" />
Forum: Programming and Discussion 25 Oct 2002, 21:59
Replies: 22
Views: 3,563
Posted By Atamur
why should text editor do these things? IMHO...

why should text editor do these things? IMHO text editor should edit text. parsing source code sort of pertains to text editing and vi does it very well (with tags). just type :ts...
Forum: Programming and Discussion 24 Oct 2002, 21:41
Replies: 22
Views: 3,563
Posted By Atamur
editing text is the bulk of work in any software...

editing text is the bulk of work in any software project. As for OO stuff, the only thing that java IDEs offer that a good text editor doesnt is a conext-sensitive popup list of methods when you hit...
Forum: Programming and Discussion 22 Oct 2002, 17:13
Replies: 22
Views: 3,563
Posted By Atamur
Vim (http://www.vim.org) of course. Once you get...

Vim (http://www.vim.org) of course. Once you get used to vi, you never go back...
Showing results 1 to 79 of 79

 
Forum Jump

All times are GMT +1. The time now is 15:55.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2018