Messages - svv1999 [ switch to compact view ]

Pages: [1] 2next
General Software Discussion / Re: Monitor the size of files
« on: July 15, 2010, 04:53 AM »
Well, crap, that's what the limit column was going to be for when I got around to adding the functionality for it. 
It seems funny how much effort one can produce for a one liner in cygwin:
ls -s -1 --block-size=<maxAllowedSize> <filenames> | gawk -- '$1>1'


Code: Ruby [Select]
  1. def shutter_clicked
  2. if || @camera.memory_card_full?
  3.   // the camera either got turned off by mistake or is full
  4.   // TODO: write error handling and detect which problem
  5.   // for now let's just return without an error.
  6.  return
  7. end
  8.  // ok, camera is ready so let's capture the image
  9.   // TODO: make sure to reset camera state later
  10.   capture_image
  11. end
From this code fragment I conclude:
  • The coder created his code on the fly
  • The coder created his code from some sample, therefore the intents he expresses in comments might be wrong
  • The coder might not know the generic prereqisites of "problem"
  • The coder might not know the difference between detecting a problem and exploring its causes
  • The choosen language has no constructs to signal incompleteness of the code
  • The coder is a friend of trivial redundant comments
  • The choosen language has no constructs for ad hoc protocols
  • The choosen language might not have constructs for protocols at all
If there is some interest to discuss these points I will give further reasoning.

Mini-Reviews by Members / Re: Avafind mini review
« on: March 10, 2007, 03:35 PM »
There exist some problems with this program:

- refreshing the search cache cannot be delayed to idle times
- on startup the program sometimes crashes without identifiable reason
- mount points are not detected. This yields, that the content
  of mounted partitions appears one more time for each mount point


Living Room / Re: Skype users: beware
« on: May 19, 2006, 05:50 PM »
What is illegal in one country can be totally acceptable in another

Perfectly true. In the former German democratic republic software was like carbon dioxide: once emitted everybody was allowed to use, copy and distribute it.

The problems with the Skype EULA are

1. you are not allowed to proof a hack in your copy of skype and are at the same time responsible for the consequences of that hack.

2. you can do what you want between the date of the termination of the license and the date of the deletion of all copy's under your control.

3. the period between both dates is unspecified.

4. Once terminated you can revive the license by simply getting a new copy and account.

i want to echo longrun's very wise advice
I am echoing none of you. The only total failure I ever had, announced itself by sporadic losses of compressed drives under Win95.
Since then I am content with Maxtor/Quantum HD's and their offline drive fitness test utility. This utility allowed me to replace two HD's in time, i.e. during the guarantee period. A third HD is considered faulty by this utility since about six years, but is still used for tests of Linux distributions without any problems.

Pages: [1] 2next
Go to full version