Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
User Journal

Journal Journal: Mini rant: Stupid code (2)

More on the stupid code:

Some_Func, which is called at the end, INSERTs the new batch number to the log TABLE and includes an EXCEPTION block catching DUP_VAL_ON_INDEX and OTHERS.

User Journal

Journal Journal: Mini rant: Stupid constants

I am looking at a stored PROCEDURE as it takes too long to run. Besides the CURSORs, DECODE()s where NVL() should be used, and a UNION, there exists this stupidity up front:

csSpace CONSTANT CHAR(1) :='';
cnZero CONSTANT NUMBER(1) :=0;

How many things can you spot that is just plain wrong with that?

User Journal

Journal Journal: Chronicle: Got a new job 2

I was looking for a job and an interview required references. I decided to put down an erstwhile supervisor and coworker, but only after aksing their permission. They both agreed, and i never heard back from that (first) place. (Not because of bad reviews, the head hunter explained they were excellent.)

User Journal

Journal Journal: Chronicle: Emailed Walmart about confusing item description 4

Walmart has a Slinky for $3.00. The description says: Clearance! Was $1.86. That seemed backwards.

So, i sent an email from their website:

Metal Slinky http://www.walmart.com/ip/Metal-Slinky/882938#Q%26A+Exchange

says the price is $3.00. The description says "Clearance! Was $1.86" Isn't that backwards? Because it went to clearance the price went up?

User Journal

Journal Journal: Verbiage: I love Amazon reviews 2

I love Amazon because of the product reviews. Even when Slashdot was promoting the Amazon boycott over the 1-click patent, i mentioned (can't find my comment, /. seems to stop comment history in 2007 :( ) that B&N was terrible in that they only have positive comments on their website. A negative comment i left on B&N was deleted shortly thereafter. Amazon, however, keeps even the bad reviews.

Comment Moo (Score 1) 5

If you can name the process that shows the banner, just kill it. That's what i did under XP when there was an annoying process running. A friend kindly wrote the script for me.

Option Explicit

Dim objWMIService, objProcess, colProcess
Dim strComputer, strProcessKill
strComputer = "."
strProcessKill = "'***filkename***.exe'"

while (true)
        Set objWMIService = GetObject("winmgmts:" _
                & "{impersonationLevel=impersonate}!\\" _
                & strComputer & "\root\cimv2")

        Set colProcess = objWMIService.ExecQuery _
                ("Select * from Win32_Process Where Name = " & strProcessKill )

        For Each objProcess in colProcess
                objProcess.Terminate()
        Next

        WScript.sleep 20000
wend

Slashdot Top Deals

If you think the system is working, ask someone who's waiting for a prompt.

Working...