Welcome to Hardcode Sign in | Join | Help

August 2006 - Posts

Given a coin, compute Random(a,b) that is x, a <= x <= b, each number between a and b having the same probability to be chosen. What's the expected time for your function ?
Does anyone know a better solution than (b-a)/2 ?

Krogos Software launches urbee, an innovative application in the mobile field. Built with J2ME, it consists of a midlet that displays a structured list of events during the current week - and it's always with you.
There is an option to sync with the latest event feed broadcasted by the site.
I want a framework for editing .RC / .RES files, with classes like Dialog, Control, and save / load functionality, of course. Although I guess no-one will do it now because standard Windows resource usage has declined since .NET came over.
Well I wouldn't consider Placebo as one of my favourite bands, still their performing was very good:

Everyone knows the "manhole problem": Why are manhole covers round and not rectangular?.

Try to answer the following questions:
    - Given a planar convex shape S, find the minimum length of a linear gap where the shape can be "inserted" (example: S = circle, minlength=diameter; S = rectangle, minlength = min(w,h) )
 * - The same for a concave shape.

Theoretical info related to the manhole problem: Reuleaux triangle, Curve of constant width.
Simmilarily to Remote Desktop, now that GDrive may coming, Microsoft should abuse their No.1 OS supplier position to be successful monopoly in this area also: add a "Live" online data hosting service with a Vista(XP-addon via Windows Update also ?)-included client to mount the online drive as a "My Computer" drive - no hassle, no third-party software involved.
Here are some pictures: