radioblog sq6jnx

  • rss
  • Blog
  • Hamscripts
    • cbr2tex
  • QSL INFO

f-spot issues

July 20, 2011 | 6:59 pm

Long time no see… Sorry.

Two days ago I’ve imported all photos found on different medias into f-spot. Unfortunatelly, there were lots of files to delete, because, basically, I didn’t know WHAT am I importing (photos? icons from different kind of software? JPEG-ed diagrams??).

There was lot of deleting, but it seems that files were removed from f-spot database, not from disk (what was my intention).

Now facts: There are 20217 and only 1342 entries in photos.db (just for reference, its location is ~/.config/f-spot). Have to find some way to delete this stuff…

I’ve found a script which does the opposite thing.

I’m very weak in bash and/or Perl, so I wrote this tiny script in Python:

import os
import sqlite3

ROOT = u'/media/TREKSTOR/zdjecia'
DB = u'/home/miszka/.config/f-spot/photos.db'

WHITELIST = set((u'photos.db', u'cleanup.py'))

conn = sqlite3.connect(DB)
c= conn.cursor()

for top, dirs, files in os.walk(ROOT):
for nm in (set(files) - WHITELIST):
c.execute(u"select id from photos where base_uri||filename=?",\
(u'file://'+os.path.join(top, nm),) )
if c.fetchone() is None:
print os.path.join(top, nm)
os.remove(os.path.join(top, nm))

It doesn’t remove empty directories, but you can do it on your own with find -type d -empty -delete

Well, it isn’t beautifull, I’m sure you can do everything in much less lines, but it workded for me.

Finally: you’re using it on your own responsibility.

Comments
No Comments »
Categories
English
Comments rss Comments rss
Trackback Trackback

2xSOTA, 1xDoblet = …

April 15, 2009 | 7:27 am

On Saturday I’ve visited Radunia (SOTA SP/SP-002), on Monday Kłodzka Góra (Klodzko Mountain, SOTA SP/SS-013) with my mom (family easter mountain trip ;)
Equiped with FT-817 5W (~4 SSB), MFJ-941D (big, but not so heavy), Norcal Doublet and (fortunately) 2M handy (Alan CT-145 from the early ’90s).

On both summits I’ve made more QSOs with this handy (~3.5W) than on 7 & 14 MHz bands with doublet.

OK, I knew it’s a compromise antenna, very short, but I was hoping It’s something better, though! It was very hard to make a QSO and every time I’ve heard “your sigs are very weak” or I couldn’t even make a contact.

I think I would have to say “I apologize” to dipole antenna and make new one, from the same material as I’ve made Norcal Doubet. It will be my third detachable dipole antenna, 7 & 14 MHz (maybe also 21 & 28 MHz, a fourbander) tuned between CW and SSB QRP frequencies…

Comments
No Comments »
Categories
English
Comments rss Comments rss
Trackback Trackback

Doublet antenna

April 11, 2009 | 6:16 am

On Thursday I’ve made NorCal Doublet Antenna and checked it if it tunes on *any* band (it does tune on every 10-40M), yesterday I’ve checked if I’m able to make ssb qsos with this antenna and ~4W from my 817 (and I was able).

What’s the best in this “doublet” is that its extremely lightweight (+/- 3 carton spools) and it can be erected on my fishing pole without any support! Yesterday and on Thursday it was standing next to the tree.

Now it’s time to check it on the summit! Today I’m leaving for Radunia, SOTA SS/SP-002, where I’ve been almost one year ago, 31.05.2008. The sad thing is I’m taking MFJ 941D ATU with me, which isn’t pocket size or lightweight…

Comments
No Comments »
Categories
English
Comments rss Comments rss
Trackback Trackback

Pennykey

April 3, 2009 | 2:46 pm

I’m not a CW operator, but wannabe. I’m trying to make CW qsos, but using straight key makes me sick, I feel like wasting my time.

Unfortunately, I can’t afford buying a bug from MFJ, Vibroplex, Bencher, etc… Frankly speaking, I can, but it would be stupid to take such thing into backpack for SOTA hillwalking.

I’ve been thinking about making my own cheap MFJ, or MK44 (or even buying one).

BUT, I’ve found out, that computer mouse has two, quite good buttons, so I can make a “iambic key” by resoldering old mouse.

Here are some photos of two mouses (I’ve destroyed one when trying to take some elements out from it):

pennykey (2 keys) pennykey2 (2 buttons)

Maybe it isn’t as good as any of mentioned bugs, but it works quite good. When making your own remember to CUT ALL tracks which end on buttons!

penny key (whole device)

Comments
No Comments »
Categories
English
Comments rss Comments rss
Trackback Trackback

datas are on the way!

February 26, 2009 | 9:32 pm

Good news: I’ve somehow found Polish postcode data on the Internet and retrieving Polish callbook data is on a good way.

Now I’m working on Czuwaj Award and I have to say that I’m making some progress.

It seems that hamak is a working (but unfinished) proof of concept!

Comments
No Comments »
Categories
hamak
Comments rss Comments rss
Trackback Trackback

hamak

February 23, 2009 | 2:22 pm

[Informacja po polsku poniżej]

I’ve starting working on hamak a HAMradio Award tracKer. I want it to be a script for automatic hamradio award tracking (with GCR list export), extensible plug-ins, separate scripts for every single award.

Currently, most popular awards in Poland are based on SPPA Award but before implementing any of these I will need:

  • table of Polish post codes (post code, city, powiat, gmina) — impossible to find on Internet, I’ll have to contact Poczta Polska
  • some callbook information (callsign, postcode) — due to Polish law will have to ask Polish Callbook administrator.

If you’re able to send me full table of Polish postcodes please contact me (i.e. via comments). Until I’ll find these data I’ll try to implement Czuwaj Award, or SP-OTC Award as it’s easy to find SP-OTC members list.


Zaczynam pracę nad programem hamak, HAMradio Award tracKer. Ma to być program automatycznie śledzący postępy w zdobywaniu dyplomów krótkofalarskich (z eksportem w postaci listy GCR), rozszerzalny poprzez plug-iny, osobne dla każdego dyplomu.

Obecnie najpopularniejsze dyplomy w Polsce są mniej lub bardziej oparte o program SPPA, ale zanim będę mógł zaimplementować te dyplomy potrzebuję:

  • listę polskich kodów pocztowych (kod pocztowy, miejscowość, powiat, gmina) — niemożliwe do znalezienia w Internecie, trzeba będzie poprosić Pocztę Polską
  • wyciąg z danych Polskiego Callbooka (znak, kod pocztowy) — z powodu restrykcyjnego prawodawstwa polskiego w dziedzinie ochony danych osobowych trzeba będzie o nie zapytać administratora Polskiego Callbooka.

Jeśli możesz mi dostarczyć listę polskich kodów pocztowych, proszę skontaktuj się ze mną (np. poprzez komentarze). Dopóki ich nie zdobędę postaram się zaimplementować któryś z tych dyplomów: Dyplom “Czuwaj” lub też SP-OTC Award jako, że w łatwy sposób można znaleźć listę członków SP-OTC.

Comments
1 Comment »
Categories
English, hamscripts, po polsku
Comments rss Comments rss
Trackback Trackback

Puzzle!

February 20, 2009 | 2:27 pm

Today something what is not related to hamradio, sorry.

But: can you connect circles 1-1, 2-2 and 3-3 so the lines don’t go out of inner frame or intersect each other? Belive me, it’s very easy (but I was amazed):

puzzle

Isn’t it? ;)

Comments
No Comments »
Categories
English
Comments rss Comments rss
Trackback Trackback

cluster analysis

February 13, 2009 | 10:02 pm

DX cluster analysis is up again!

About three weeks ago I was asked by hamradio.pl admin to turn my dx cluster analysis script in cron down because it makes MySQL server to hang (or, at least, stay at 90-99% CPU use for hours), so I’ve put one more # in my crontab…

Today I’ve checked how many entries are now (since july’08) in my table: over 11110100001001000000, 1.1M actually…

As I don’t need so many entries I’ve deleted most of them, leaving more/less 60 000 entries and started my update script. As expected everything was OK and after some time data were updated.

Unfortunately, you will have to wait few days (up to one week) until data will fully update and statistics shown on diagrams will be statistically true.

Comments
No Comments »
Categories
English
Comments rss Comments rss
Trackback Trackback

cbr2tex

| 1:52 pm

I’ve finally decided to publish cbr2tex.py. You can find more information about it on it’s own page.

Happy TeXing ;)

Comments
No Comments »
Categories
English, hamscripts
Comments rss Comments rss
Trackback Trackback

0.9kg of QSLs…

February 12, 2009 | 2:50 pm

Here is how my (ready to send) QSLs look like:

cards

I don’t know is it much, or not, but I hope that my region’s QSL manager won’t be angry…

As I said: ~300 cards, ~900 grams; it gives ~3g/card.

Comments
No Comments »
Categories
English, hamscripts
Comments rss Comments rss
Trackback Trackback

« Previous Entries

Navigation

  • English
    • hamscripts
      • hamak
  • po polsku

Search

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox