HNHacker News
TopNewBestAskShowJobs

randv

8 karma · joined September 26, 2009

submissionscomments
randv··on Microsoft Agent Framework
nice, are there other frameworks that are similar or better?
randv··on Planes in 3D Space
super cool...thanks
randv··on Sam Bankman-Fried Has a Savior Complex—And Maybe You Should Too
Always read all articles with writers motivation/agenda in mind. this is why I like research / tech articles that are thoroughly backed by data or math!
randv··on A regular expression to check for prime numbers (2007)
steps:

- it is turning the number into a string of 1s 3 => 111 4 => 1111 and so on

- then trying to simulate divisibility test by trying to find perfect groups of '11' to simulate division by 2 failing which (that is the backtracking part) and trying find perfect groups of '111' to simulate division by 3 and so on...

Clever but very inefficient

randv··on A regular expression to check for prime numbers (2007)
- it is turning the number into a string of 1s 3 => 111 4 => 1111 and so on

- then trying to simulate divisibility test by trying to find perfect groups of '11' to simulate division by 2 failing which (that is the backtracking part) and trying find perfect groups of '111' to simulate division by 3 and so on...

Clever but very inefficient

randv··on A regular expression to check for prime numbers (2007)
while compact and looks elegant...

it is basically trying to group by 11 (divide by 2), if there no match (via backtracking) group by 111 (divide by 3) and so on

not very efficient by any stretch esp with string matches.

randv··on 2048 implemented in 487 bytes of C
nothing is returned from function s?
randv··on A glimpse of undefined behavior in C
I observed this when I was back in school using a simpler expression i = 0; i = i++;

the answer will be different in different compilers. I use this as an interview question ever since, not to get the right answer but to understand the candidates thought process in solving the problem and his/her understanding of operator precedence :-)

randv··on Math notes to take you from one year of college calculus to grad student level
I dont know your level, for someone like me who studied mathematics years ago but not applied it for years, I found "In pursuit of unknown, 17 equations that changed world" by Ian Stewart very helpful. While it is not a detailed math book, it gave me enough pointers to refresh and prepared me to dive deeper through other material.
randv··on Am I An Outlier, Or Are Apple Products No Longer Easy To Use?
finding the search on contacts has never been easy on iphone!
randv··on Founder of ZOHO Gives Bootstrapping Tips on Mixergy
$40 mil revenue is largely from their products and services on the network management and element management side (called AdventNet). They are not exactly a typical startup.
randv··on Don't give money [that's restricted] to Haiti
I agree with the unrestricted donation part. My money went MSF primarily because they had a staff of more than 700 people before the earth quake struck and knew how to help the country.
randv··on The Dark Side of Customer Development and Lean Startups
Good analysis and I agree with you on using custdev as a tool in your tool kit rather than follow it like a religion. Another point, Steve always talks about shortcutting the custdev process if you happen to be the SME on the subject. If you know lot about what customers want in a area because you have experience in then you can skip portions of it.