Suivre ce blog
Administration Créer mon blog
22 juin 2013 6 22 /06 /juin /2013 20:43

Not related to astronomy, but simple and usefull stuff.

 

My photo manager, ShotWell, stored all my photos in a /year/month/day/ tree. I wanted

all my photos to be stored by month only (/year/month/).

 

I have more than 8.000 photos (30 GB), so, I wrote a small script moving

all the files in the parent directory, in the recursive manner, removing all the

empty folders once the job done.

 

My script :

 

#!/bin/bash

 

# get all the full files names

find . -type f | while read -r file do

    # for each file

    # remove the file base name

    folder=$(dirname "${file}")

    # remove the folder name

    subfolder=$(dirname "${folder}")

    # move the file to the sub folder

    mv "${file}" "${subfolder}"

done

# remove all the empty folders

find . -type d -empty -exec rmdir {} \;

 

It could help somebody...

 

Best regards !

Partager cet article

Published by thx8411
commenter cet article
29 avril 2013 1 29 /04 /avril /2013 22:04

I worked a lot on qastrocam-g2 5.0, more 4000 code lignes changed...

 

Changes planned :

 

- Uses cmake for building, instead of the old automake/autoconf system.

- Better dependencies management, less libraries required.

- The old libavifile library as been replaced by libav/ffmpeg.

- The migration form Qt3 to Qt4 is almost done.

- qastrocam-g2 becomes a "pure"  Qt4 app. No Qt3Support needed.

- Packages also available for rpm distributions (packages build on Mageia 2)

 

qastrocam-g2 on Qt4 snapshot :

 

Screenshot-from-2013-04-29-22-14-31.png

Partager cet article

Published by thx8411
commenter cet article
29 avril 2013 1 29 /04 /avril /2013 22:03

qastrocam-g2 4.9.1 has been relased. It's the last version using Qt3. See this post for details :

 

qastrocam-g2 4.9 to be released soon

 

Best regards !

Partager cet article

Published by thx8411
commenter cet article
28 mars 2013 4 28 /03 /mars /2013 09:59

Hi !

 

I will soon release the qastrocam-g2 last version, 4.9.

This version will be the last "old style version". The next

version (5.0) will introduce many changes (building with

cmake, new package generation, qt4 migration, libavifile suppression).

 

Version 4.9 changelog :

 

Cameras :

 

- Philips :

- philips cameras partialy supported on kernel 3

- bug on gamma fixed

 

- QHY5 :

- exposure slider changed

- gains table changed

- filter added for noise bands

- short exposure mod added

- available frame sizes changed

- moves using ST4 port not time limited any more

 

- camera simulator added

 

Telescopes :

- telescope simulator added

- generic LX200 telescope added

- nextstar (1.6+) telescope added

 

Packaging :

- qwtplot3d no more needed

 

Guiding :

- the sound alert can be disabled

- lost star alarm added in guiding module

- Ra and Dec can be inverted on telescope keypad

 

Output :

- basic lucam-recorder SER format support

 

Many bugs fixed and many GUI improvments added !

 

Screenshot-from-2013-03-28-10-19-05.png

 

Best regards !

Partager cet article

Published by thx8411
commenter cet article
23 mars 2013 6 23 /03 /mars /2013 01:06

Hi !

 

I worked a bit on astrofocuser. No new features, just a better packaging. See

the changelog :

 

Version 1.1.2

 

  • now builds with cmake
  • source package generation added
  • debian package generation added
  • rpm package generation added
  • icon added
  • desktop entry added

 

Hop it will help !

 

Download page : link

 

 

astrofocuser

 

Best regards !

Partager cet article

Published by thx8411
commenter cet article
19 mars 2013 2 19 /03 /mars /2013 00:47

Hi again !

 

The qastrocam-g2 source code has been migrated from CVS to subversion on

sourceforge. CVS was a bit outdated ;-)

 

Best regards !

Partager cet article

Published by thx8411
commenter cet article
18 mars 2013 1 18 /03 /mars /2013 22:09

Hi !

 

I worked a bit on astroavibrowser. See the changelog :

 

Vers. 0.4

- max frame building

- sum frame building

- median frame building

- mean frame building

- buttons refresh bug fixed

- libavifile not needed anymore

- ffmpeg deprecated APIs removed

- framerate bug fixed

- now builds with cmake

- source package can be build with cpack

- output can be forced to RGB24 instead of Y800

- tweak added for gstream raw DIB negative height bug

- binary name changed

- help file added

- deb package can be build with cpack

- rpm package can be build with cpack

- memory release bug fixed

- autoselection added

- memory leak in processing module fixed

 

I will now ditribute rpm and debian package, for both i385 and amd64

architecures. It will be released soon...

 

Download page : link

 

Screenshot-from-2013-03-18-22-13-19.png

 

Best regards !

Partager cet article

Published by thx8411
commenter cet article
24 octobre 2012 3 24 /10 /octobre /2012 15:26

Two small fixes for AstroFocuser :

 

- The FWHM should now be accurate if you just have one star in the window

- It use a bit less of CPU time.

 

Best regards !

 

Partager cet article

Published by thx8411
commenter cet article
6 septembre 2012 4 06 /09 /septembre /2012 13:55

If you want to use astrofocuser on ubuntu 10.04 LTS, you have to set the visual effects of appearance settings to

"Normal" :

 

transparency_activation.png

 

 

Best regards !

Partager cet article

Published by thx8411
commenter cet article
6 septembre 2012 4 06 /09 /septembre /2012 11:17

I just wrote a simple tool in order to help star focusing under GNU/Linux. This tool

just compute the FWHM of the picture behind it.

 

Link : link

 

Screenshot :

 

astrofocuser.png

 

It needs Qt 4.5 or above. It's just a pure Qt / C++ app, it should also work on windows (but not

tested at this time)

 

Best regards !

Partager cet article

Published by thx8411
commenter cet article