Posts

Showing posts with the label monitor

bkil.hu has moved

The host of bkil.hu has decided to switch servers and inform me only afterwards with an e-mail that got into the spam folder for most people. You get what you pay for. That means my secondary private mail addresses gave bounce messages for about 60 hours, sorry about that. I only check them when I have time. By the way, I found out all about this issue when running ping. It's a great habit of mine to do that daily. Actually, I have a trivial script running in the background to endlessly send a ping packet to bkil.hu once in a few minutes to keep my wireless links active for dumb access points. Too bad I rarely check its output in detail. That just gave me an idea! ;-)

Trivial calculation related to computer displays (core version)

Here's the core of the other version. I made something similar at first (except that it used zip ++). I have subsequently upgraded it to an ever neater form, but this does essentially the same. Read this one if you are short on time! ;-) #!/usr/bin/runhugs -- Calculates basic LCD monitor parameters from diagonals. -- -- Copyright (c) bkil, 2009 -- License: GNU GPL v2 (or later), see the -- attached gpl-2.0.txt for details. -- --Changelog: -- 2009.01.20 v0.0 first release -- 2009.01.22 v0.1 refactoring: cleanup, typo in comments -- 2009.01.29 v0.2 refactoring: friendlier names, Html type -- 2009.01.30 v0.2.1 messy version -- --the routine that calculates all the parameters -- input: diagonal, horizontal pixels, vertical pixels -- getparams :: Float -> Int -> Int -> String getparams diag_inch xi yi = show diag_inch ++ "in; " ++ show a ++ ":" ++ show b ++ "; " ++ show xi ++ "px; " ++ show yi ++ "px; " ++ show dotpitch ++...

Trivial calculation related to computer displays v0.3.1

Here's a simple program I wrote to aid in comparing basic data about standard computer displays. Enjoy! I will upload it to it's regular place later, but I need a bit more time than usual this time. Edited to version v0.3.1 on 2010.04.07 -- Calculates basic LCD monitor parameters from diagonals. -- -- Copyright (c) bkil, 2009 -- License: GNU GPL v2 (or later), see the --  attached gpl-2.0.txt for details. -- --Changelog: -- 2009.01.20 v0.0 first release -- 2009.01.22 v0.1 refactoring: cleanup, typo in comments -- 2009.01.29 v0.2 refactoring: friendlier names, Html type -- 2009.02.04 v0.3 refactoring: tidied comments, improved formatting, --            fixed a few names (CamelCase), used html more -- 2010.04.07 v0.3.1 DPI, EEE, widescreens added -- --HTML substring type newtype HtmlChar = HtmlChar Char type Html = [HtmlChar] instance Show HtmlChar where          show (HtmlChar ch) = ...