Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
User Journal

Journal Journal: All pseudo and no random?

I had a slightly odd experience today. I was listening to my mp3 cd player (it plays ordinary data cds with mp3 files on them) in shuffle mode, with a CD containing around 100 songs on it. I began idly wondering which song would be next - and got it right every time. 4 songs in a row and I guessed each right. I've once had the same experience when seeing a live band with a friend, but looking back on it that one can be explained by the fact we'd seen the same band a year before; perhaps they played the same songs in the same order. This time is harder to make sense of. I know from experimenting (No, I don't have too much time on my hands, I just like to know how my gadgets work) that the shuffle order is not determined purely by the cd, the same cd played five times on shuffle gives five different shuffle orders. (I haven't listened to this particular cd more times than that). The cd player has no (accessible) clock, so I don't think that is likely to be a random seed element, although it's possible. Frankly I'm stumped.

Anyone else had such an experience? Is it normal to have something like this happen to you because there are so many things that could happen with probability around 1e-8 that one of them will? Or should I start to worry?

User Journal

Journal Journal: I'm the champ! 7

Hello. You've just met Suffolk's under 17 chess champion. And under 16 last year, and under 15 the year before that. And since the title wasn't competed for this year, I can probably claim the under 18 championship as well. But rather than being happy for winning, I'm saddened by the fact that I've had no competition for the past 2 years. The once proud Suffolk Junior Open is now just a shadow of itself, having shrunk to a twelfth of its former size. What went wrong? I've seen many people blame computers for the demise of chess, citing Kasparov's defeat as the reason for a loss of interest - why would I want to learn something computers can do better than people? I hope this isn't the cause, though, as I fear if so, other games will inevitably follow. Pure mental games will be first, I know a lot of companies have their sights set on Go, and although so far the best computers are not that much better than you or me, and certainly no rivals to the masters, the problem is parallelizeable and merely a question of scale. Apologies for any inadvertent misrepresentations, but AIUI Deep Blue etc. win by combining the rudiments of what humans would call a feel for a position with the ability to brute force forward about eight moves. The brute force will be no help with Go, but we know computers can do the other part. Not as well as humans, yet, but it's merely a matter of time. I remember reading about when Deep Blue sacrificed a bishop for the attack. Once that happened, I think humans were pretty much done for.

The conquest of compuers will not be limited to such pure mind games though. Computers can already do pretty well at Poker, not champion level yet but getting there. I predict we'll see a Settlers of Catan playing computer before long which can hold its own against human opponents - or at least those who aren't prejudiced against it. And then we'll see one which can beat them. And once they have mastered diplomacy, although robotics is still in its infancy, I think we will inevitably see computers moving to compete in the physical arena. And they will eventually win. Will we see all games reduced to cock-fights where it's not the competitors anyone cares about, but the people behind them? I hope not. I enjoy competing as a human, against humans. I hope the troubles chess is facing now are simply due to its bad "marketing", the poor image it has, and perhaps greater use of internet chess rather than physical tournaments. And I hope it will recover. But I fear it won't. Mikey

User Journal

Journal Journal: Making progress 1

Looks like I'm making some progress with my linear magnetic accelerator. First off I've discovered that you can put some little caps in series to pretend they're a higher voltage one. So I'm going to have 3 banks of 25 capacitors each, in series, for a total operational voltage of about 300v, capacitance just over 8mf. Which is pretty much as good as I'd been hoping for. I have some thick copper sheets to make the connections. I'm still waiting on the copper pipes to make the rails and the liquid nitrogen to cool them, but I'm getting there. I now need to accquire some compensating resistors so that I don't blow all my caps up when one goes, but other than that things are looking good.
Programming

Journal Journal: Python going downhill

Python is, imo, the cleanest and nicest programming language around. With its good layout, near-total lack of unnecessary syntax, understandable keywords and operators, and unobtusive but powerful object system, there's nothing I'd rather code in. But I recently discovered that someone had managed to do what I'd thought impossible: obfustucating python.

Most of this is standard stuff like odd functions, funny variable names and abuse of global variables (which is less useful in python because of the need to explicitly declare any globals). But one thing which stuck out as a truly powerful technique (so much so that there's a page on obfustucating programs with this) is abuse of the lambda statement.

Python lambdas are odd creatures. The thing is they can only contain expressions, not statements. This means they are less powerful than lambdas most functional programmers are used to, and also that you have to use the incredibly ugly hacks seen here if you want to make them do things. The intent may have been to stop overuse of the lambda statement, but if so that's a very dangerous thing to do, and it's backfired here. Hopefully this will be fixed soon.

However, this highlighted for me the state of the general Python functional section. A lot of functional things are being added to Python; one commentator claimed that like all languages, it was tending asymtopically towards lisp. But far too many of these features feel rushed and bolted-on, like the Perl object system. Making python obfustucatable via an unpythoninc functional system can and will ruin for me the language I love. I think this needs to be taken a bit slower and more carefully.

Movies

Journal Journal: Not impressed

Finally got to see The Incredibles today. I'm very disappointed. I was hoping to see computer animation mature to the point where a computer animated movie is no longer just about the computer animation, but also about being another movie. That sort of happened with Final Fantasy, and with luck will happen completely with Advent's Children. It sort of happened with The Incredibles, in that it was just another action movie. Unfortunately it was one that sucked. It reminded me in a bad way of Spy Kids, in that the villan used every cliche in the book. Although there was some awareness of this ("You've got me monologing"), it wasn't enough to offset the complete lack of innovation. The whole "we're a team as a family" thing was very Thunderbirds (the movie, not the series which absolutely RULED), and made it seem like a naff kids' movie. The plot, although mildly amusing, was even more nonsense than usual action-movie fare, and utterly predictable, and the characters, with the possible exception of violet (although why wasn't she hotter?) were just unlikeable. All in all I'm very let down.
User Journal

Journal Journal: Looking forwards

I think I'm turning into a goth. I realised this a couple of days ago, looking for some t-shirts. I found the only shops with t-shirts I remotely liked were being run and patronised entirely by goths. I'm also finding this increasingly with music I listen to, people I like, and generally things I do.

I never made any conscious decision to do this. I've always been fiercely individual. But I've also always written bad poetry, been fairly but not completely non-mainstream, and moaned about how awful life is. I think I'm really at the age where most people actually stop being goths, but I've always been late developing socially (and early academically).

I've always aimed to avoid being part of any groups when I've thought of them at all (Whenever anyone asks me what I am, I say I'm just a simple country boy), except possibly "hackers". However, from what I read a lot of the goth stuff is about being individual. And I do like their music, and black suits me, at least better than anything else. And I've already convinced more than one person I'm a vampire.

So, time to get some black nail polish then? Comments anyone?

Mikey

User Journal

Journal Journal: Merry Christmas!

Message to Azalemeth at 12:00:17
    /me had very fun christmas party last night
Message to Azalemeth at 12:00:24
    has headache now, but it's worth it
Message from Azalemeth at 12:00:24
    OOgh
Message from Azalemeth at 12:00:24
    Lucky
Message from Azalemeth at 12:00:35
    Oooh, lol
Message to Azalemeth at 12:00:38
    I kissed more people than in the entire rest of my life
Message from Azalemeth at 12:00:46
    XD
Message to Azalemeth at 12:01:01
    of course, not so hard for me, but still...
Message from Azalemeth at 12:01:09
    /me REALLY wishes that his school had christmas parties
Message from Azalemeth at 12:01:15
    Or that he was invited to normal ones.
Message from Azalemeth at 12:01:16
    Actually.
Message from Azalemeth at 12:01:20
    Wait, I am, I just can't go
Message from Azalemeth at 12:01:21
    Blast
Message from Azalemeth at 12:01:23
&#160;&#160;&#160;&#160;<_<
Message from Azalemeth at 12:01:26
&#160;&#160;&#160;&#160;How much did you drink?
Message to Azalemeth at 12:01:29
&#160;&#160;&#160;&#160;lol, ouch
Message to Azalemeth at 12:01:32
&#160;&#160;&#160;&#160;erm, 3-5
Message from Azalemeth at 12:01:44
&#160;&#160;&#160;&#160;Bottles of whiskey?
Message from Azalemeth at 12:01:46
&#160;&#160;&#160;&#160;Units?
Message to Azalemeth at 12:01:48
&#160;&#160;&#160;&#160;3 or 4 and then a friend poured half of his into my mouth
Message to Azalemeth at 12:01:49
&#160;&#160;&#160;&#160;pints
Message to Azalemeth at 12:02:20
&#160;&#160;&#160;&#160;/me thinks the last may have been a mistake
Message from Azalemeth at 12:02:28
&#160;&#160;&#160;&#160;And you were sick from that?
Message to Azalemeth at 12:02:34
&#160;&#160;&#160;&#160;as I couldn't hear anyone and was being told to leave people alone
Message to Azalemeth at 12:02:34
&#160;&#160;&#160;&#160;no
Message from Azalemeth at 12:02:52
&#160;&#160;&#160;&#160;lol
Message to Azalemeth at 12:03:14
&#160;&#160;&#160;&#160;well, was being told to leave the particularly nice girl alone anyway
Message to Azalemeth at 12:03:36
&#160;&#160;&#160;&#160;only hot teacher left before I'd had my fourth, which was probably a good thing
Message from Azalemeth at 12:03:46
&#160;&#160;&#160;&#160;XD
PC Games (Games)

Journal Journal: Seems they might be right

I'm once again looking for good "big" open source games. And once again it seems that only formerly propriety ones fit the bill. I've just been playing Pingus. It's a good game, but far far too short to be any good. I've also just downloaded cube, where the same problem seems to apply. Open source game engines seem to be good, but open source data not so much. Like the common complaint that open source doesn't have good user interfaces, or graphics, or documentation, it seems that anything other than the actual code is looked down upon, and so doesn't get done. We need either a shift in ways of thinking, or more propriety games for linux.
KDE

Journal Journal: RIP aRTs, 1998-2004

Sad to see that arts will no longer be maintained. Of course in recent years its shortcomings have become more and more apparent. GStreamer looks set to become a worthy successor - it's more advanced, more modular, and nicer to work on - but it's still not stable enough for my purposes yet. My first real software project involved arts, and I'm sad to see it go. Hopefully this will at least allow better integration between KDE and Gnome. But I have yet to see an easier way for me to play a sound, except possibly the very simple libao which although great for output cannot handle codecs of any sort.

It will be greatly missed.

GNOME

Journal Journal: Going back

Well, the funny hats and fishing rods have finally got to me, I'm going back to KDE. Seriously, I've found that 2.8 is a big improvement on 2.6, but it's still not as good as KDE. There were two main things that annoyed me. The first is relatively minor, and that's the difficulty of finding a good rss reader that compiles ok on my system. I eventually found a few by searching for "gnome panel news ticker", but many minutes were wasted because "gnome panel rss" just gave technology articles from sites with rss feeds, and even after finding the query it took a few attempts to find one that would compile cleanly. Gnome always has problems on this system with not knowing to use -liconv, probably because I have a few remnants of an old install in /usr/local that I've never been able to entirely get rid of. Anyway, this problem surfaced in the configure script of the first program I tried, which meant there was no makefile editing solution. The second one failed with a "normal" compile error. Anyway, that was my own peeve. Surely it couldn't be that hard to include a ticker with the desktop like knewsticker, especially given that they include a stock ticker.

My second problem, however, was very simple and much more major. There seemed to be no way to get to non-gnome programs through the menus. KDE simply integrates the gnome menus; although it does lead to a few doubled entries with the wm-agnostic programs which are smart enough to add themselves to both, it is generally a very good thing. Even before this, it had a good menu editor which you could use to add your own menu entries. Now my apologies if I've missed anything obvious, but I could not for the life of me find such a tool under gnome. This is really a basic component of a modern desktop and I cannot believe it was not available, but I could not find it anywhere. I have no problem editing config files, I use fluxbox when I'm using OOo and/or blender, but the majority of users do. I'm afraid this latest foray only reinforced my belief that KDE is the only real choice for new users.

Finally, something which is probably personal taste but I found very annoying. No, it's not the "spatial" nautilus, having a minor love of AROS I can handle that, although I do think that the user should have the choice especially in Free software. I'm talking about the separation of all the control centre modules. That's fine for when just tweaking settings, but for initial setup I really don't want to be going applications-desktop settings-advanced-modulename over and over again. Far better to have the modules available both separately and grouped under a parent application - just like KDE does it, really.

Gnome is definitely improving. With a decent widget and icon theme (Surely I cannot be the only one to think the default icons are hideous. The widgets I can accept, but they look rather 1995 to me - I want mine to *glow*. But I can accept that a warm glow to me would be garish fluoresence to others) I can comfortably use it as my day-to-day desktop. But I constantly felt trapped by the lack of a menu editor and what seems a far less powerful panel. I am also worried by gnome's seeming tendency to limit the user's choice with regard to spatial nautilus, control centre and the aformentioned menu problem. In this way in particular, it feels like the gnome devs are getting clannish and retreating, to form a small devoted community of zealots that accepts no outsiders, and slowly withers away to nothing. I hope this is all just a mistake and there's a nice menu editor hidden away somewhere that could do with being accessible by a right click. Failing that I hope that the gnome community will open up more, work on a unified menu standard like the existing unified desktop standard, and gradually integrate, leading to a final blended ultimate linux newbie desktop combining the best bits of both kde and gnome (hey, I can dream, can't I?). I say newbie not as a disparagment, but because I suspect that the goals of ease of use and power are incompatiable. Certainly having both of them and being lightweight is impossible. So I suspect there will always be a place for a few alternatives, fluxbox, enlightenment, fvwm etc, although I hope they will try and use compatiable technologies like XFCE does with gnome. But anyway, I hope that gnome and kde will blend together, as I don't see how having to implement things twice does anything other than hurt the community. My fear is that the GNOME people will become fearful of KDE and everyone, and become another group of fanatics, like the people who still insist on running amigas for everything. (Yes, I like aros, but it's not useable as a modern system for day-to-day work). It may prolong the ultimate life of gnome as we know it, rather than being absorbed into kde, which is at least a possibility should they open up and integrate. But a kde including the best bits of gnome, or even the other way around, would be better, to my mind, than one "winning" and the other gradually fading into obscurity. The immortality of NeXT, whose legacy can be seen in more or less every modern gui, is to me preferable than immortality through zealotry.

As I write this, I read about how aRts is being abandoned. I think, although it is not yet decided, that this is a case where kde will move to gnome's solution (gstreamer) now that it has become stable, as they have done before with IPC (using DCOP, a "working well enough right now" solution, until D-BUS, a next generation and good in principle solution, became stable). I hope that the gnome people will have the courage to do the same when it becomes clear that some of their technologies are inferior to the kde counterparts.

Update: the lack of KDE apps in the menus was a config issue on my system which is fixed now. GNOME people have told me how to edit menus; although it is possible, it is still (IMO) incredibly nonintuitive and I wish they'd improve this.

Slashdot Top Deals

"The only way I can lose this election is if I'm caught in bed with a dead girl or a live boy." -- Louisiana governor Edwin Edwards

Working...