Popular posts from this blog
Shortest Sudoku solver in Python
Mark Byer's site has some more Sudoku solvers here's a short one in Python that's only 178 bytes long: def r(a):i=a.find('0');~i or exit(a);[m in[(i-j)%9*(i/9^j/9)*(i/27^j/27|i%9/3^j%9/3)or a[j]for j in range(81)]or r(a[:i]+m+a[i+1:])for m in'%d'%5**18] from sys import*;r(argv[1]) On the site is also shown a longer Perl version at 185 bytes: use integer;sub R{for$i(grep!$A[$_],@x=0..80){%t=map{$_/27-$i/27|$_%9/3-$i%9/3&&$_ /9-$i/9&&($_-$i)%9?0:$A[$_]=>1}@x;R($A[$i]=$_)for grep!$t{$_},1..9;return$A[$i]=0} die@A}@A=split//, ;R I think the Python version is slightly easier to understand, although they are both quite cryptic. I'm not sure why I find these programs fascinating. I think it reminds me that any program can be written in such a way that it's cryptic, even in Python. In addition, the code is small enough that you should be able to figure out how it works, and may learn something the process. Related is: how t...
wny am I happy about the death of some people?
Unfortunately, I'm staring to be happy that certain people have died. Like Fred Koch and, more recently, Donald Rumsfeld.. Frankly these are both people that should be celebrated for dying and not continuing the evil they perpetrated. More succinctly, they should be remembered for doing more evil than good during their lifetime and it is overall better that they have died than live a minute longer on this earth. These people can't repent but others (like Mitch) should link about their legacy. How many of us will be so happy that they are dead. Donald isn't the worst of them, but should be remembered for all of the evil that they have committed.
Comments
Thanks for posting a picture of the stand, I couldn't remember the name of it.
I would go back to Salzburg if I was in Europe just for one more of those.
I know of only one place to get them in the states: Vail Sausage Company in Vail, Colorado. The owner is a chef from Austria!
I've looked for Vail Sausage Co. but does it go by another name and do you remember where in Vail it was located? I was hooked on Bosna when I was in Salzburg in the 1980's.
Thanks so much,
Cherie