# User Portlet

Todd Rowland
Discussions
I think you probably want to define your own function, because the builtin functions (that I am aware of) behave differently. For example, it could be (to get n bits) Two[n_,x_]:=IntegerDigits[2^n-x,2,n] Note that BaseForm is good for...
I was thinking this could be a classroom discussion idea, but I would also be interested in what people think (or what any machine thinks). How much of a pie is a slice of pie? or what is the maximum before any more pie counts as too much pie. ...
Your syntax is a little unusual, but it did work. The error message is coming from the rule, which gets evaluated before being applied. It is at the lowest level, the second part of ReplaceAll[string, rule] where the rule has its right...
Thanks for sharing this sequence. I wonder if this isn't obvious somehow, but the blocks of size larger than 1 are not equally distributed. For size 2, it is about twice as likely to not have a repeat, n = 15; ko = Prepend[Nest[ ...
Thanks for posting this, Sander. There are other examples of bit hacks and I have always wondered whether others are out there waiting to be discovered. Here there is the possibility of long range effects due to carrying. More wild possibilities...
Looks like a great book. About (iii), I see from the table of contents that this is a big book. To learn Wolfram Language, you are probably not suggesting to read the whole book, but it is enough to do chapters 1-3 (and maybe skip part of 3). ...
I think the problem is that, if you were doing this with tensor operations only, is that you would need a contraction operation akin to Diagonal. It seems like the syntax (currently allowed) for [PartLayer][1] is insufficient for this. Take the...
Recently I decided to work on some of my own projects, and so I left Wolfram Research after almost 17 years. I still have some time on the side to do some consulting if anyone needs a consultant for a project involving Wolfram technologies. ...
Ok, there is a lot to say here, but I should first of all say that I am not really an expert. I think that there has been some implementation of nonstandard analysis in the Wolfram language, although I cannot remember where. About using Wolfram...
What do you think of the idea of automatically judging if a piece of data was beautiful? This could mean the data in an image (ImageData) or maybe the result of a computation (e.g. CellularAutomaton), or anything, although I am thinking of a list or...