Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror

Comment: dupe dupe dupe... (Score 1) 494

by cellocgw (#49740117) Attached to: The Brainteaser Elon Musk Asks New SpaceX Engineers

I know people don't RTFA, but apparently nobody RTFP(osts) either. we've got, what, 30 identical wrong answers (north pole only), 30 people who don't understand the difference between 1 mile from the South pole and 1mile+ X/pi ?

Just for that: imagine a Beowulf cluster of starting points in the Southern Hemisphere...

Comment: speed isn't everything (Score 1, Flamebait) 241

by cellocgw (#49710079) Attached to: How Windows 10 Performs On a 12-inch MacBook

Granted, for many users, speed matters. But, here are some other concerns.

1) The Registry File. Enough said.
2) Under OS X, open any kind of file in any kind of editor. Go back to the Finder window, rename the file, move it to a different folder no problem. Can't be done under Windows. Half the time, even after you close the file (not the editor app), the app fails to 'release' the lock and you STILL can't rename the file.
3) None of Microsoft's pseudo-shell implementations come close to bash/csh/ksh in useability.

For most users, most of the time spent on a computer is in dealing with the UI/GUI/UX (whatever you want to call it). That's what matters; raw speed of calculation is the primary need of a rather small subset of users (who probably buy time on a cluster node :-) )

Comment: alternatives (Score 3, Insightful) 203

by cellocgw (#49652949) Attached to: Critics Say It's Time To Close La Guardia Airport

I find it far easier and more pleasant to take the train from Boston. Presumably the same holds for folks from Philly.

I'd also like to see more business travellers learn to use video conferencing instead of blowing off a few gigajoules on the theory that face-to-face is the only acceptable way to hold a meeting.

Comment: Re:Stupid sudoku solver? (Score 1) 230

by cellocgw (#49623011) Attached to: Singapore's Prime Minister Shares His C++ Sudoku Solver Code

hmmm.... solving fizzbuzz....
( code is in the R language BTW)

fbfun1 <- function(xfoo) {
xfoo<-1:xfoo
fbfoo <- 1+(!as.logical(mod(xfoo,3)))*(as.logical(mod(xfoo,5))) + 2*(as.logical(mod(xfoo,3)))*(!as.logical(mod(xfoo,5)))+3*(!as.logical(mod(xfoo,3)))*(!as.logical(mod(xfoo,5)))
 
fbbar <- unlist(lapply(fbfoo, function(x) switch(x,0,'fizz','buzz','fizzbuzz')))
return(fbbar)
}
 
fbfun3 <- function(xfoo) {
xfoo<-1:xfoo
fbfoo <- 1+(!as.logical(mod(xfoo,3)))*(as.logical(mod(xfoo,5))) + 2*(as.logical(mod(xfoo,3)))*(!as.logical(mod(xfoo,5)))+3*(!as.logical(mod(xfoo,3)))*(!as.logical(mod(xfoo,5)))
fbtab<-cbind(1:4,c('','fizz','buzz','fizzbuzz'))
fbbar <- fbtab[fbfoo,2]
return(fbbar)
}
 
fbfun4 <- function(xfoo) {
fiz<- rep(c('','','fizz'),length.out=xfoo)
buz<-rep(c('','','','','buzz'),length.out=xfoo)
fbbar <- unlist(lapply(1:xfoo, function(j)paste(fiz[j],buz[j]) ) )
return(fbbar)
}
 
# or completely sleazy:
fbfun5 <- function(xfoo) {
fiz<- rep(c('','','fizz','','buzz','fizz','','','fizz','buzz','','fizz','','','fizzbuzz'),length.out=xfoo)
return(fiz)
}

Comment: so far so good (Score 1) 179

by cellocgw (#49613661) Attached to: Why Scientists Love 'Lord of the Rings'

An awful lot of scientists (at least us old guys) like Asimov & Heinlein and various other scifi authors who gave us all sorts of words which have graduated to general useage. (not to mention, say "Dammit, Jim, I'm a doctor" and "reverse the polarity")

OTOH, I shudder to think that maybe in 50 years someone will write "all scientists love GoT and name things after the characters."

Good day to avoid cops. Crawl to work.

Working...