 |
SQL Server 2005
[reply]
|
09/27/05 11:23 AM EST posted by JER email web |
|
|
The day is almost upon us when this will be valid T-SQL... Hooray!!!!
declare @n int set @n=3 select top (@n) * from MyTable2
http://www.databasejournal.com/features/mssql/article.php/3532226 |
|
 |
Fantasy Apprentice
[reply]
|
09/24/05 10:17 PM EST posted by JER email web |
|
|
In the '80s, I remember fellow nerds gathering for day-long drafts in their Fantasy Baseball leagues. Then the internet brought Fantasy Football into the mainstream. But now they've come up with something that brings a whole new meaning to the term "fantastic:" It's The Apprentice Fantasy Game, where users can predict what will happen in this week's episode and earn points.
What The F**k!!!?!??!?! |
|
 |
Silly spam of the Week
[reply]
|
09/19/05 02:55 PM EST posted by JER email web |
|
|
Subject: Have you worried about who will take care of my child when I'm gone
Body: If you are the parent, grandparent or guardian of a child who suffers from Cerebral Palsy, Erb's Palsy or other birth injuries then please call or visit us now.
My Only Question: Why am I worried about who will take care of someone else's kid if I have a child who has cerebral palsy??? |
|
|
|
|
I really got a kick out of the following:
Be that as it may, “profiteering” strikes most of us as unsavory. But it depends on the context. After all, were we serious about criminalizing price gouging, we would throw every member of the National Association of Realtors behind bars. Although the markup on housing is far more dramatic than the markup on gasoline, we don’t seem to mind. Why? Because most of us getting gouged on Sunday afternoon at the open houses hope one day to do likewise. Apparently, Americans approve of gouging as long as they’re the ones doing the deed.
Full article here, in favor of gasoline price gouging |
|
|
|
|
I really don't consider myself a Fantasy fan, but there are two series stringing me along right now. October 11 brings us Book 11 of The Wheel of Time and on November 8 we'll finally see book 4 of A Song of Ice and Fire. What is everyone reading these days? TWOT lost its focus ages ago and ASOIAF is brilliant but it's been 3 years since the last book... I've heard that the Sword of Truth series is good but I read Wizard's First Rule and thought it was a bit too young adult-ish. Is Harry Potter in the same league as Jordan/Martin or is that also a kids' series? |
|
 |
The Shroud of Torino
[reply]
|
09/01/05 11:22 AM EST posted by JER email web |
|
|
According to the AP, the 2006 Winter Olympics will no longer be hosted in "Turin" but have instead moved to "Torino." The physical location hasn't changed, mind you, just our media's perception of how it should be spelled. This is yet another entry in a long list of PC pronunciations/spellings of foreign words.
This PC silliness reminds me of one of my favorite all time op-ed pieces, which appeared in a November 2002 issue of National Review. Entitled Gutter Politics, the article is essentially a rant about the American media's PC aversion to English pronunciations of foreign words. So Qatar changes from KA-TAR to GUH-TER, Cuba becomes COO-BA -- the list goes on and on. At the time the article was written, the GUH-TER pronunciation really hadn't taken hold yet and most journalists still said KA-TAR. Those times seem so long ago. |
|
|
|
|
Ryan, here's the answer that Jake e-mailed to me. Most of it is RJ45 to me, and I'm still not clear what forwards and backwards means, since 91 isn't prime. I'm assuming "backwards" is a mathematical term meaning something else...?
After thinking about it (more), I realized the question has nothing to do with the largest integer (Unsigned ect), but rather has only to do with the consecutive pairs of prime. To begin, build a vector of 2 digit primes:
* pn:{[n]&0,2=+/0={x!/:x}1+!n};P: pn 100;a:#P;P:$P(4+!(a-4)) *
* P *
*("11"*
* "13" *
* "17" *
* "19" *
* "23" *
* "29" *
* "31" *
* "37" *
* "41" *
* "43" *
* "47" *
* "53" *
* "59" *
* "61" *
* "67" *
* "71" *
* "73" *
* "79" *
* "83" *
* "89" *
* "97") *
* *
*Then matrix transpose the vector. Find all distinct values of the second digit of the primes. This is 1 3 7 9. Return to a new vector all numbers where the first digit is 1 3 7 or 9. This leaves the sucessors for each node. *
* *
p:+P;a:?p[1];b:p[0];i:0;H:()
while[i<#a;
H:H,& a[i] ~' p[0]
i+:1]
P[H];R:+P[H]
R
("11"
"13"
"17"
"19"
"31"
"37"
"71"
"73"
"79"
"97")
* *
*Now build a 2 matricies, left and right with connectivity on the number. See below * Lmx R Rmx 71 31 ("11" 13 17 19 71 31 "13" 31 37 71 31 "17" 71 73 79 71 31 "19" 97 73 13 "31" 11 13 17 19 73 13 "37" 71 73 79 97 17 "71" 11 13 17 19 97 17 "73" 31 37 97 17 "79" 97 19 "97") 71 73 79 * *
*From here it's pretty obvious, start from the tail which is the R value where the length of Rmx=1*
* *
*.......................79*
* *
*Then fill in*
* *
*19 97 ................79*
* *
*Using recursive search (eliminate used fields) 2 nd iteration below each time selecting max Rmx that hasn't be used.*
* * Lmx R Rmx 71 31 ("11" 13 17 19 71 31 "13" 31 37 71 31 "17" 71 73 79 71 31 * "19"* *97* 73 13 "31" 11 13 17 19 73 13 "37" 71 73 79 97 17 "71" 11 13 17 19 97 17 * "73"* 31 37 97 17 * "79"* *97* *79* *19* * "97")* 71 *73* *79* * *
*Once you're done, you have the numbers *
* *
*19 97 73 37 71 13 31 17 19
*
*Select the and prime indices (2 removed) and you have *
* *
19737131179
*This is the digit that works forwards and backwards. To just work forwards add the largest value from the original prime vector where the second digit is the 1 st digit of this number, or 61*
* *
619737131179 |
|
 |
[reply]
|
09/15/05 09:41 AM EST posted by galiras email |
|
|
i like all of music type
|
|