on May 3rd, 2007
Did you ever change your jabber server?
Lost possibility to browse chat history?
(yes - that does sound like a bad commercial)
You can use PsiLogMerger, to resolve this. Specify translations -> for example -t msn.firsthost.com=msn.secondhost.com will update logs from secondhost only with all messages from firsthost, skipping duplicates.
Needs only ruby to run. Run with -h for usage help. Have fun.
Posted in fun, programming, useless | No Comments »
on February 27th, 2007
Now, that I’ve added adwords and ggl search to DailyMotion, Veoh, etc. videos browser, google stopped indexing me. Seriously, what’s wrong with them? Index me, link’s there…
Posted in fun, useless | 7 Comments »
on December 21st, 2006
C-sharp shell? Great!
Although my friend, when asked whether he would like to have a shell with bindings to Java, replied “System.out.println(”NO”);”… I was playing around with different shells. Zoidberg (perl), psh (perl), zsh (almost normal), etc.
Power shell would be nice, if it didn’t try to export objects into some strange new shell language constructs (cmdlets). If the thing they wanted to achieve was similarity to shell, then normal stripping of “()” and “,”, that can be deduced from context would be enough… Of course making some namespace default for searching objects (Cssh.Something), would be appropriate. “Var” keyword from C# v.3 can also come handy.
I haven’t tried cssh yet, but I can’t wait to do it! Downloading as I write it.
Just downloaded… It’s probably NOT what you’d like to use - it’s just for files, but a good start anyway.
PowerShell port was already proposed, but author doesn’t respond to emails, so project was probably dropped. Still - it’s nice to see, that some people want to get the same things I do…
As most people shout “Yet another shell and object one? NOOOOOOOOOO!!!!!!!” while reading this, I’ll tell what I want in a real linux object shell and why I’d like it to be there:
- foreach(i in Interfaces) if(!i.IsAlias) echo Format(”interface {0}: {1}”, i.Name, i.Ip);
- echo Partitions[”/dev/hda”].Capacity
- echo new Ping(”10.1.1.29″).GetAverage(5)
- prcs = Processes.Get(”terminal-name”)
foreach(prc in prcs) if(!Processes.Current.IsChildOf(prc)) Kill(prc);
- Iptables.Add(”Input”, new Iptables.SourceFilter(”127.0.0.1″), Iptables.ACCEPT)
(even if that doesn’t seem that nice in this case - think about creating one SourceFilter (or some complex ‘pseudo-query’ object) from other sources (network monitoring?) and using it to create rules in real-time.
- Autocomplete objects through Reflection with tab button - easy
- …
You know what processes are there - no need to grep ps. You get numbers you want - no need for awk. You know what was the problem, because of exceptions - no need to browse man for return code listings. You want to run commands - there are no problems with quotes in command / quotes in your command line / quotes in file arguments - there are only Strings.
PS1: I only found original post by google alerts - try it out :)
PS2: There was a c# shell - discontinued unfortunately :( But in case it disappears, I’ve got sources… in case…
Posted in fun, mono, programming, useless | 1 Comment »
on December 12th, 2006
… and official stats on last.fm (or lack of them) are lame. But I like stats, because stats are fun.
20 min. of mono coding and 6 hours of profiles indexing later results came. So what’s interesting in last.fm profiles? Mostly country and sex profiles. Every country has similar number of users hiding sex, but m/f ratios are very different. Mainly:
- Finland is Winland: 29.4118% M <-> 70.5882% F
- Switzerland is a don’t-go-there-man country: 92.8571% M <-> 7.14286% F
- General proportion is about 60% M <-> 40% F
Per age: (% of M) minus (% od F):
- unknown = 20.9581
- 13: -5.26316
- 14: -13.3333
- 15: -11.5385
- 16: -4.89914
- 17: -1.96937
- 18yo: 7.89981 (google spam ;)
- 19yo: 22.7621
- 20: 17.5758
- 21: 23.8994
- 22: 32.0197
- and grows… 30: ~70
Young girls like last.fm? Per number of friends:
- 00-05: 25.2016
- 05-10: 22.0175
- 10-15: 8.92857
- 15-20: 15.5963
- 20-25: 8.49673
- 25-30: -10.1449
- 30-35: 7.54717
- 35-40: 6.52174
- 40-45: 5.61798
- 45-50: 9.52381
- >50: -23.0769
Girls have more friends. Splitting friends by country gives nothing and is more useless than this whole post. More stats will follow, if there’s more stuff found.
C# library for interacting with last.fm will be published as soon, as I change separator to something other than “,” (thanks “Taiwan, Republic of China”). Currently it can poll profile details, friends lists, feeds, shouts and aggregate that in db4o.
Posted in Research, fun, useless | 3 Comments »