2,872 reputation
11041
bio website stevenvh.net/steven.php
location Flanders, Belgium
age 54
visits member for 2 years, 1 month
seen Jul 15 at 9:27

That's "Steven" (with the "n" at the end)


"The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts." — Bertrand Russell


Product designer, consumer electronics: audio (with Philips), home automation.
Done computer science in a previous life too.


Belbin team roles: Plant and Resource Investigator


Personal values: respect, honesty, pride, modesty, fairness


I yell because I care


favorite candy


Feb
3
accepted Selecting multiple columns from a matrix?
Feb
3
accepted relative scale of elements in ImageCompose
Feb
3
comment Determining the week of a year from a given date
@John - Thanks for the upvote (I guess it's yours). Have you considered accepting a different answer, given that Heike's is not correct? (Doesn't have to be mine; mine is derived from Hans' answer.)
Feb
3
accepted How can I get a running sum for a list?
Feb
3
comment Determining the week of a year from a given date
@John - a year is at least 365 days long, which is 52 weeks + 1 day. If 1 January is week 1 (that's if it's a Monday, Tuesday, Wednesday or Thursday), then that extra day is in the 53th week, provided 1 January of the next year is a Friday, Saturday or Sunday. They're before week 1 because week 1 is the first week with a Thursday in it, so it's not week 1, nor week 52, because week 53 already started. If 1 January is a Friday, Saturday or Sunday then 1 January is the last week of the previous year, and 31 December will be week 52.
Feb
3
comment Determining the week of a year from a given date
@John - The code in my answer (which you also commented to) gives the correct week numbers. I explained there how you can have a week 53.
Jan
26
comment How can I create a fountain effect?
@cormullion - you mean "if you don't like" ;-).
Jan
26
comment relative scale of elements in ImageCompose
Actually, when I think about it IMO the Epilog makes more sense: first you plot the data, and then you indicate which points are relevant, instead of first indicating the relevant points on an empty page. But I'm nitpicking, and that on a Saturday night :-). HANWE!
Jan
26
comment relative scale of elements in ImageCompose
I can see the upvote indicator, and +2, but I'm not sure it was +1 before I voted.
Jan
26
comment relative scale of elements in ImageCompose
No, it's fine, and together with ssch's solution I like it better than kguler's. The reason for the transparency is that I'm more used to Epilogs than Prologs. I realize that I still often make the wrong choice == a lot to learn!
Jan
26
comment relative scale of elements in ImageCompose
Aha, a cheat! :-) I was thinking of cutting out the disk from a plane, like in CSG, but this is easier, of course. Thanks, +1. (I admit that I also cheat by just placing the purple dots over the blue ones, instead of replacing them.)
Jan
26
comment relative scale of elements in ImageCompose
Nice, thanks a bunch. +1 for now. (For an accept I'll wait to give others the chance to post an answer too.)
Jan
26
awarded  Custodian
Jan
26
reviewed Reject suggested edit on How to convert a hex color string to RGBColor?
Jan
26
asked relative scale of elements in ImageCompose
Jan
25
revised Selecting multiple columns from a matrix?
added 193 characters in body
Jan
25
asked Selecting multiple columns from a matrix?
Jan
19
revised Efficiently extracting an array subset given a separate array
couple of LFs inserted to get rid of the horizontal scrolling
Jan
14
revised How can I get a running sum for a list?
benchmark results added
Jan
14
comment How can I get a running sum for a list?
I've thought of the Transpose + Take too, but I'm not sure it will be the fastest. I'll benchmark the different answers later and report back. In any case, thanks.