Welcome to Hardcode Sign in | Join | Help

October 2007 - Posts

Nice article about Google, Jaiku and the future (via Dragos), Nokia has been doing this for ages (at least 3 years back), too bad it never "took off" - the main reason for that is in my opinion not partnering with carriers to use their Nokia Presence Server.

Nokia had also pioneered bluetooth social networking with Nokia Sensor, again a very old application that has never been successful despite being backed by the famous mobile phone company, this should be a lesson to learn for the followers.

Just came back from the Internetics event here in Bucharest, attended only the two first presentations. It wasn't very interesting, the guy that presented was touting Microsoft WPF for implementing interfaces with great experience that users would be delighted to use, he insisted on the WPF readers for New York Times and Daily Mail, nothing revolutionary, why invent a useless program instead of better designing your website.

My friend Adrian points me to scanf_s that is not usable just by simple replacing scanf( src, "%s", dest) with scanf_s but you also have to add an additional parameter for every string or character read, specifying the buffer size. For example, if dest was char dest[10] you'd have to write scanf_s( src, "%s", dest, 10), otherwise an access violation will occur.

Infoarena, the only (?) site in Romania about the CS contests, algorithms etc, has a blog.

ROFL - here are the http headers for any blog hosted on wordpress.com:

X-hacker: If you're reading this, you should visit automattic.com/jobs and apply to join the fun, mention this header.

X-Pingback: http://xxxxx.wordpress.com/xmlrpc.php

Vary: Cookie

.... etc 

Mika Raento from Jaiku shares the source code of ContextPhone, the product that was the basis for the successful Jaiku product. It's full of gems and, if you are coding for Symbian, go check it out.

I have no idea why but in Vista it's not possible anymore to select lots of files and change their access permissions (the Security tab does not appear). The only way to do that is using the icacls command-line utility, for example run this to grant full access for Everyone for all the files in the current folder:

icacls *.* /grant Everyone:(F)

... from Nokia, and 6301 is its first mobile phone to support it. I'm still wondering how many operators will support this considering the wlan-based free calls - a business model may be installing hotspots in crowded areas and charging for voip (less than for gsm of course) ?

Dragos points me to mobilecomplete, well, Nokia has something similar: RDA.

Bluetooth async connections in J2ME can theoretically be implemented by using another thread to timeout blocking operations ... except, just a second, how can you stop Connector.open ? Let's leave that to the server where I am trying to authenticate - oh wait, that doesn't timeout neither ?
Until the official HashSet<T> becomes available in .NET 3.5, here's a simple generic class that does the exact same thing - get rid now of that Dictionary<T,object> variables! Actually what pissed me off most with Dictionary isn't that dummy value parameter but the fact that Add throws an exception if the key was already present.

Isn't it sweeet ? 

More details here

Here's a nice collection, I particularly like the stock exchange one even if it's not very mainstream and the webcam one, albeit kind of useless :).

From here:

MEDICINE: Brian Witcombe of Gloucester, UK, and Dan Meyer of Antioch, Tennessee, USA, for their penetrating medical report "Sword Swallowing and Its Side Effects."

PHYSICS: L. Mahadevan of Harvard University, USA, and Enrique Cerda Villablanca of Universidad de Santiago de Chile, for studying how sheets become wrinkled.

BIOLOGY: Prof. Dr. Johanna E.M.H. van Bronswijk of Eindhoven University of Technology, The Netherlands, for doing a census of all the mites, insects, spiders, pseudoscorpions, crustaceans, bacteria, algae, ferns and fungi with whom we share our beds each night.

CHEMISTRY: Mayu Yamamoto of the International Medical Center of Japan, for developing a way to extract vanillin -- vanilla fragrance and flavoring -- from cow dung.

LINGUISTICS: Juan Manuel Toro, Josep B. Trobalon and Núria Sebastián-Gallés, of Universitat de Barcelona, for showing that rats sometimes cannot tell the difference between a person speaking Japanese backwards and a person speaking Dutch backwards.

LITERATURE: Glenda Browne of Blaxland, Blue Mountains, Australia, for her study of the word "the" -- and of the many ways it causes problems for anyone who tries to put things into alphabetical order.

PEACE: The Air Force Wright Laboratory, Dayton, Ohio, USA, for instigating research & development on a chemical weapon -- the so-called "gay bomb" -- that will make enemy soldiers become sexually irresistible to each other.

NUTRITION: Brian Wansink of Cornell University, for exploring the seemingly boundless appetites of human beings, by feeding them with a self-refilling, bottomless bowl of soup.

ECONOMICS: Kuo Cheng Hsieh, of Taichung, Taiwan, for patenting a device, in the year 2001, that catches bank robbers by dropping a net over them.

AVIATION: Patricia V. Agostino, Santiago A. Plano and Diego A. Golombek of Universidad Nacional de Quilmes, Argentina, for their discovery that Viagra aids jetlag recovery in hamsters.

 

Highly exaggerated but on the other hand presenting some well-documented truths, not very socialist because Naomi Klein only asks for boycotts, selective purchasing and transparency for companies and the products they are selling, definitely worth reading. The book was written in 1999 and I'm very interested to find what the activists have accomplished in 7 years.

Many of the things written are common sense now, but that is explainable as it's kind of old. Studies traditional product development (that is, shrink-wrapped products that are sold in boxes) and services that at that time were mainly consulting and custom software development. While can be boring at some times or too verbose, it is still an interesting read for beginners :).

Ok so Microsoft finally decided to release the source code for the .net framework libraries - cool except it's about 6 years late! Let's see what they could have avoided if they did this in the first place ...

35000 threads in the .NET forums at microsoft.com

200000 threads about ASP.NET issues / inquiries 

4 suicidal attempts due to terrible bugs in the framework