topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday April 24, 2024, 3:33 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - crono [ switch to compact view ]

Pages: prev1 2 [3] 4 5 6 7next
51
Hi,
I'm searching a tool, which acts like a "email-filter-rules" but on the filesystem level. I think a few example help to understand what I mean:
  • I download a new credit card bill from my banks website. I review it and put it than in the folder "D:\docs\bills\mastercard\". The tool would recognize the new pdf in the folder and would run a batchfile to gpg-encrypt it and the wipe the pdf.
  • I store my ripped CDs as FLAC (lossless), but my Mp3 Player dont support it. I want to copy the FLACs to a folder and automatically run a FLAC2MP3 conversion, copy it to the player, delete the MP3 from the filesystem
  • I load photos from my camera to "I:\Fotos\Inbox\" - the tool runs and makes me Thumbnails and stores them in a folder, archives the original Fotos in a Folder, starts uploading the Pics to Smugmug and sends a mail to people a list
Ok, this sound very complex, but I think the tool wouldn't be to hard to code.
It has to monitor the Folders (like FileSystemWatcher Class in DotNet), when a new File is preset check if the preconditions are ok (for example filetype = pdf) and then run a couple of Batchfiles or scripts one after another. The tool only have to call the Scripts...

Before I start writing it myself: Do you know a tool which can do this? OpenSource prefered

52
Are you sure VBC.exe is wrong? AFAIK is the compiler the same in all VS-Editions only the IDE differs. Maybe you could trace it by using "Process Explorer"?

53
General Software Discussion / Re: Encrypt single file?
« on: July 18, 2007, 07:08 PM »
I like GnuPG too and used it a lot, but now I basically use AxCrypt . Its Open source under GNU General Public License and comes with a very nice commandline Interface. It can produce "self-decrypting" Exe-Files to decrypt the data on Machine with no AxCrypt Installation.

54
Coding Snacks / Re: Page data harvest
« on: July 18, 2007, 06:57 PM »
Hi,

HTML is often poorly written. It could be hard to parse if, for example, end-tags are missing. I highly recommend to "sanitize" it with HTML-Tidy before start parsing. Set the "output-xml" option to get well formed XML which could be parsed with any XML-Parser-Libary (DOM/SAX) - this is often easier than using RegEx.


56
Hi, the FTP-Size-Tool request was mine :) Thanks  :Thmbsup:

57
Hi Tomos,
I tried to dive into "Openoffice.org XML Export Filter"-Programming. This would be the "cleanest" way to do it, but I haven't found the time right now.
The #-thing would work at least I believe...

Try:
@echo off
set infile=%1%
sed -e "s/#/\[br\]/g" "%infile%" > temp1.txt
sed -e "s/;/\[\/td\]\[td\]/g" temp1.txt > temp2.txt
sed -e "s/$/\[\/td\]\[\/tr]/g" temp2.txt > temp1.txt
sed -e "s/^/\[tr\]\[td\]/g" temp1.txt > temp2.txt
echo [table] > table.txt
type temp2.txt >> table.txt
echo [/table] >>  table.txt
del temp1.txt
del temp2.txt
Its untested - please try it :)

58
Im working on my Master of Computer science - 7 weeks to go :)

59
General Software Discussion / Re: PIM's
« on: May 15, 2007, 11:42 AM »
Oh my God... PIMs... I searched for so long... but for me only Essential Pim (http://www.essentialpim.com) worked. EPim provides Contacts, Schedule, Todo and Notes. Version 2.0 is currently in Beta (see the EPim-Forum for access). It's simply, fast, leaves a relatively small Memory footprint. I used the free version for years and got an update to the pro version last year.

My personal ranking:
1) Essential Pim
2) Agenda at once
3) Outlook 2007

Some pro's and con's of the Tools I tried:

ToolProCon
MonoCalendar     
  • Nice Gui
  • Opensource
   
     
  • Buggy
  • Calendar only
   
NomadPim     
  • Opensource
   
     
  • Slow
  • Huge memoy footprint (Eclipse based)
   
Rainlendar     
  • Small and focused
   
     
  • I dont like the Desktop concept
   
Haystack     
  • very very cool Project
  • much more than a PIM
   
     
  • Seems to be dead since 2004
  • much more than a PIM ;)
   
Calgoo     
  • Google Calendar based (automatically synced)
   
     
  • Calendar only
  • feels kinda slow
   
Aethera     
  • Stable and full featured
   
     
  • Its so ugly, in my opinion
  • Dead since 8/2005
   
Outlook 2007     
  • Stable and full featured
   
     
  • to Expensive
   
      Chandler
   
     
  • Successor of the world famous PIM "Ecco"
  • Got a nice book about its development ;)
  • Opensource
  • Looks really nice
   
     
  • In early stage of development
   

60
This is really a problem. SED goes through the CSV line by line and I see no way to change this. One possible solution is, that you dont put multiple lines in one cell, but instead use some kind of seperator - # for example - which could be translated to a simple
.
I tried to save the Spreadsheet as HTML, but then you lose the Linebreak. Hmmm... I try to find a solution.

62
Sounds like your SED is not found. To make sure, open a command prompt ([Windows]+[R] -> cmd). Type "sed" - if you got something like "command not found", you have 2 options:

1) Change the path in your Batchfile to "C:/Program Files/YOUR_PATH_TO_SED/sed.exe"
or
2) Add SED to your path, so it is available everywhere. How to: http://www.computerh.../issues/ch000549.htm

after this, it should work correctly.

I notice my csv file has varying amounts of separators -
sometimes three at the end of of a line, sometimes just one
Hmmm... Sorry - must be a problem with OOo. Maybe there are some Blanks in the cells?

63
Keep it simple - this sounds like a job for sed (download it from the gnuwin32 Project). You can run a Batch file with some sed commands to replace text and convert your CSV

The Batch file
@echo off
set infile=%1%
sed -e "s/;/\[\/td\]\[td\]/g" "%infile%" > temp1.txt
sed -e "s/$/\[\/td\]\[\/tr]/g" temp1.txt > temp2.txt
sed -e "s/^/\[tr\]\[td\]/g" temp2.txt > temp1.txt
echo [table] > table.txt
type temp1.txt >> table.txt
echo [/table] >>  table.txt
del temp1.txt
del temp2.txt

call it on the commandline
c:\ convert.bat MyCSVFile.csv
or simply Drop the CSV onto the Batchfile. The Result will be saved in as "table.txt"

Demo Input:
13;»;Alien Quadrilogy;0
16;?;Alien: Director's Cut: Special Edition;2
17;?;Alien Quadrilogy Bonus-Disc;1
18;?;Alien - Die Wiedergeburt: Special Edition;2
19;?;Aliens - Die Rückkehr: Special Edition;2
20;?;Alien³: Special Edition;2
21;21;American Beauty;1
23;23;American Psycho: Special Edition;1
24;»;Ang Lee Limited Edition;0

Demo Output:
13»Alien Quadrilogy0
16?Alien: Director's Cut: Special Edition2
17?Alien Quadrilogy Bonus-Disc1
18?Alien - Die Wiedergeburt: Special Edition2
19?Aliens - Die Rückkehr: Special Edition2
20?Alien³: Special Edition2
2121American Beauty1
2323American Psycho: Special Edition1
24»Ang Lee Limited Edition0


[table]
[tr][td]13[/td][td]»[/td][td]Alien Quadrilogy[/td][td]0[/td][/tr]
[tr][td]16[/td][td]?[/td][td]Alien: Director's Cut: Special Edition[/td][td]2[/td][/tr]
[tr][td]17[/td][td]?[/td][td]Alien Quadrilogy Bonus-Disc[/td][td]1[/td][/tr]
[tr][td]18[/td][td]?[/td][td]Alien - Die Wiedergeburt: Special Edition[/td][td]2[/td][/tr]
[tr][td]19[/td][td]?[/td][td]Aliens - Die Rückkehr: Special Edition[/td][td]2[/td][/tr]
[tr][td]20[/td][td]?[/td][td]Alien³: Special Edition[/td][td]2[/td][/tr]
[tr][td]21[/td][td]21[/td][td]American Beauty[/td][td]1[/td][/tr]
[tr][td]23[/td][td]23[/td][td]American Psycho: Special Edition[/td][td]1[/td][/tr]
[tr][td]24[/td][td]»[/td][td]Ang Lee Limited Edition[/td][td]0[/td][/tr][/table]


bye

64
General Software Discussion / Re: E Texteditor experiences?
« on: May 13, 2007, 10:51 AM »
It replaced Notepad++ for me, because of the better RegEx Search & Replace Function. Notepad++ RegEx is based on Scintilla Regex implementation which is limited (for example, it supports no $1...9 in the replacement string). The other big plus is the Cygwin integration. If you are familiar with one scripting language (Perl, Ruby, Python...) you can do everything with "e" - this is the thing which makes me love this tool. If you are just looking for a "ready to use" Texteditor, I would stay with the more mature tools like Notepad++ because "e" lacks a lot of features right now...

65
For books I like to use http://www.librarything.com/ its a really nice online service and fits my needs very well. If they had an offline client it would be perfect.

66
http://www.invelos.com/ is back online  :Thmbsup:

67
It's not exactly a Raid - you cant do RAID5 with one or two Discs imo. The FAQ says:

Q. Does Drobo use RAID?
A. No, the patent-pending technology within Drobo is not RAID and was developed specifically to perform data management and configuration tasks automatically so that you don't have to. Drobo does utilize advanced storage concepts such as virtualization, but it is not a derivative of RAID

But if you look to the calculator at http://www.drobo.com/drobolator/ and enter 4 500GB Disc you got 1500 GB for storage and 500 GB for protection. This is the same which you get with a RAID5 System of 4 500 GB Discs. 500 $ for the "empty" case aren't cheap, but it's OK -do you know the Kaleidescape system? THIS IS EXPENSIVE... - watch the experience Video on http://www.kaleidesc.../products/index.html

bye

68
Would a "Thumbnail-in-Contextmenu" Tool do th job?
If yes, try XN Shell View (http://perso.orange....endownloadwin32.html)


69
General Software Discussion / Re: E Texteditor experiences?
« on: May 04, 2007, 11:17 AM »
I use it since end of January on a daily basis. It totally rocks. Especially with the underlying cygwin integration is gold. Maybe Mouser could get a discount on it?

70
General Software Discussion / Re: DVDProfiler 3.0 is finally out !
« on: April 20, 2007, 07:21 PM »
Hi Ken,
I have no clue whats going on, I tried today to reach the page but it seems to be down...  :down:

71
2nd double Post on one day...  :-\

OK - I know why it crashes. I run it with the dotNet Runtime Debugger and it reports me an unhandled Exception:
Unhandled exception generated: (0x15f6784) <System.UnauthorizedAccessException>
  _className=<null>
  _exceptionMethod=<null>
  _exceptionMethodString=<null>
  _message=(0x15f6698) "Der Zugriff auf den Pfad C:\Program Files\Gemeinsame Dateien wurde verweigert."
  _data=<null>
  _innerException=<null>
  _helpURL=<null>
  _stackTrace=(0x15f6964) <System.SByte[]>
  _stackTraceString=<null>
  _remoteStackTraceString=<null>
  _remoteStackIndex=0
  _dynamicMethods=<null>
  _HResult=-2147024891
  _source=<null>
  _xptrs=0
  _xcode=-532459699
Exception is called:UNHANDLED
It tries to read "C:\Program Files\Gemeinsame Dateien", but fails.  I will forward the log to the dev - maybe he could use it...

72
General Software Discussion / Re: foobar...honestly...WTF?! WTF?!
« on: April 19, 2007, 08:29 AM »
30k songs still shouldn't amount to 100 megabytes of in-memory metadata... that's some very sloppy code and data structures then!
Depends on the Metadata - you can have a lot of CoverArt in you metadata for example. But your right - it shouldn't be in Memory... My Foobar with a lot of custom config takes about 15 MB with a normal playlist (about 1000 Files)

//edit: Sorry for the double post

73
General Software Discussion / Re: foobar...honestly...WTF?! WTF?!
« on: April 19, 2007, 08:24 AM »
Check out http://www.fooblog2000.com/ for some nice configs :)

74
I fear the problem is, that I`m using a german version of Vista...
could be two things - either, the notorious UAC problem or the program can't see beyond "C:\Program Files\".. :)
UAC shouldn't be the problem - I tried it wit UAC endabled and disabled. Any idea how to check if it can see beyond "C:\Program Files\" ? I checked the env-vars and %PROGRAMFILES% is set to C:\Program Files\ - I thought it may be a problem, because german Vista displays C:\Program Files\ as C:\Programme\ in Explorer, bu it seems to be ok...

75
It starts fine - Staring -> Downloading Programm definitions -> Scanning Computer *Crash* - no matter if I run it as Admin or normal User... I fear the problem is, that I`m using a german version of Vista...

Pages: prev1 2 [3] 4 5 6 7next