The Spectre of Math

November 30, 2009

Real Analysis

Filed under: Mathematics,Teaching — jlebl @ 3:38 am

So the colleague of mine who was teaching my real analysis course for me went a bit faster than I expected and therefore he went straight through to the end of my prepared material. The bad part of this is that I had to prepare new material, the good part is that I really am going to get through Picard’s theorem (existence and uniqueness of ODE) as I wanted (that’s just a cool theorem, and it uses all the things learned in the course). So I spent today writing that section and polishing up the notes overall.
I am getting very close to being “functionally complete” with the notes. I now even made a webpage for them. They still lack the Taylor theorem section (which I did not cover in class) and some extra exercises in places. Just another few hours worth of work should be good for a first draft kind of quality.

November 22, 2009

MSIE vs. Firefox

Filed under: Technology — jlebl @ 4:19 pm

Yesterday I saw the diffqs page for the first time in IE at my dad’s place. Of course the whole thing was jumbled. Apparently writing to standards is not enough. When the DOCTYPE line is not just right IE will start ignoring certain parts of your CSS. So it happens that in IE, the ads that were supposed to be on the right, out of the way, were unstyled and at the top taking up a whole page. So you had to scroll down to see the content. I guess that could have reduced the number of downloads. So I tested a few days worth of logs to see what the percentage of IE vs. Firefox users are among people looking at the diffyqs page, to see how it could affect the numbers. So in 829 real users with identified browsers, there were 665 various Firefox uesrs (more than 450 of those were version 3.5), there were 122 IE users, 39 Safari users, and 3 Opera users. I guess majority of the users are students and those are more likely to use Firefox. There were 38 Linux users and 125 mac users and the rest were windows users.

Anyway, IE is fairly braindead.

November 18, 2009

advancecomp

Filed under: Linux,Technology — jlebl @ 10:11 am

poking around I just found advancecomp which uses the 7zip compression deflate algorithm which seems to get often better results than running optipng with the full 1000 trials. Though I guess running first optipng and then advpng is probably best. optipng optimizes for the correct filter and advpng then might (not always) get better compression. It would be good if optipng also tried the 7-zip algorithm. The plot2-nq8.png didn’t decrease anymore, but plot2.png went down by 2k and is now 51k.

adsense, diffyqs, pngnq, optipng, zareason

Filed under: Linux,Mathematics,Teaching,Technology — jlebl @ 9:21 am

Firstly, I have so far made about $3.50 on adsense over past 3 weeks or so. I’m soooo rich. Strangely this correlates with a drop in diffyqs downloads. However, it can’t possibly be from the ads (that is, my first theory was that with the ads less people hit the download link). But the hit rate dropped as well (though I don’t have very good statistics of that before I installed adsense). The first, and I think the main, reason that the hit rate dropped is that geocities went offline. One of the main sites for free textbooks was on geocities. Though the site has a mirror somewhere else, the majority of hits seemed to have come from the geocities site. I assume it will take some time before things get realigned. Just as a side note, there have been over 3200 unique IPs downloading the notes so far.

I think the other reason the hit rate dropped is that we are well inside the semester, so most people taking university courses that were looking for online notes have already found them. I wonder if there will be a “before finals” spike, and if the traffic will pick up in the beginning of the spring semester as it did in the beginning of the fall semester.

One thing that threw me off last time is that the site appeared on stumbleupon. So the hit rate I saw the few days after installing adsense was actually overinflated. Most people that hit the site with stumbleupon never download the pdf. I suppose that’s understandable. When a random person is presented with the possibility of looking at differential equations, they will quickly run away. The hits that come from either google or some of the textbook listing sites frequently result in downloads. Obviously, people searching for “differential equations” are likely to download a textbook on said topic. The normal day hit rate is nowdays more like 100-200 hits with about 10-20 downloads.

The other interesting observation is that the extra stumbleupon traffic, which occasionally happens and make the traffic spike up up to 10 fold the usual levels, doesn’t result in more clicks on the adsense ads. I assume this is because the ads are targetted. They are tutoring or textbook selling sites generally, so a random person is also less likely to click them.

Just for kicks I played around with pngnq to quantize the pngs appearing on the site. Quantizing things to 256 colors reduces size substantially, and if the picture is not a photograph, the quality reduction is not bad. For example, see the full version and the quantized version. The size of this png went down from 53k to 22k. Quantizing does not always result in smaller files though, so always check. That picture was originally even bigger. The stupidest way to save a png results in a far larger file, I think this one was over 70k originally. So you always want to run optipng on all pngs. That generally results in substantial savings already losslessly. I ran optipng on all .pngs on the entire website and generally got anywhere from 10-50% reduction. I also ran it some time ago through the pngs appearing in the genius docs, so that should slightly reduce the ondisk footprint on genius when installed.

Finally, I’ve discovered the first harware flaws in zareason alto 2550 laptop. The sound is kind of crappy and very low volume. It is very substandard actually. This includes using headphones, so it is not just crappy speakers. There is a small possibility that this is a software issue, but I think it is more likely to be the hardware is kind of crap. The other fault I found is that the case is not well thought out at certain points. When you pick up the laptop in certain ways the plastic sort of snaps as two pieces of plastic slide under each other and then back. That’s kind of distressing, I hope it doesn’t break and that it is just cosmetic. Overall though I’m still satisfied enough that I would buy it again.

November 12, 2009

New computer (Zareason) and Karmic

Filed under: Linux,Personal,Technology — jlebl @ 4:13 pm

So my old dell has reached an old age where I was starting to be afraid the harddisk would go (some of the SMART disk parameters were getting pretty high, I didn’t ever worry in the days before I knew what these were). I suppose I could just replace the HD, but also the screen hinge was slowly going as well, as seems to be a problem with dells (at least for me).

I considered buying a dell with linux, but none of the specs looked good, and the specs that did look good didn’t ship with linux. I wanted a smaller laptop but with a decent resolution. I don’t need a graphics powerhouse I don’t play games. I had the 15 inch monstrocity. The new 15 inch inspirons had even a worse resolution (what’s wrong with these people, I don’t care how wide my screen is, make it high enough so that things fit, especially with the current UI, height is at a premium. I feel like new laptops are the equivalent of driving a tank). And the 15 inch inspirons are heavy. They also have the 13 inch studio, but that sucked for different reasons. And there were no other choices.

So scrap dell. I looked at System76 and Zareason. I was a little bit skeptical as I had before been burned by a bad “linux preinstalled laptop.” I finally decided for Zareason Alto 2550. The machine is very cool and so far no problems with the hardware. Karmic has had several issues already (such as CDs not moounting) that have been fixed by updating to the latest -proposed.

Verdict:

1) Zareson is very cool. They even sent me screwdriver with the laptop so that I could open it and look inside (of course I did just that). The machine is lighter than the inspiron, the screen is the same height but shorter. The keyboard takes a bit getting used to (that is once I’m used to the inspiron location of keys), but it is good. There is a fingerprint reader which apparently doesn’t work without some proprietary nonsense, but who cares, it’s not something I’ll be using anyway. Of course it is a generic barebones laptop that zareason just put together, so they don’t have 100% control of the hardware. The barebones hardware is MSI-made as far as I can tell. The ubuntu key ont he keyboard is cool, even though it is achieved by a sticker. And I finally don’t have to peel off the windows sticker from a new laptop (there is an ubuntu sticker).

2) Ubuntu should probably make the stabilization period longer. Hold off another 2-3 weeks, make another one or two release candidates with deep freeze. All the geeks will upgrade to release candidates anyway, so it is not an argument (actually geeks will generally update in the alpha stage). I usually update during beta sometime. A final ubuntu release should be more polished. And it seems it always gets polished in another few weeks past release, so waiting a few more weeks would result in far less bad publicity. When reading the buglists, it always seems that many bugs are found just before release, but the fix cannot be pushed through in time. This says to me that the release is too early. And this has always been the case with ubuntu, it’s nothing new with karmic. But as ubuntu is getting more widely adopted, the new userbase will be far less forgiving of problems in a “released” version which should be stable.

November 3, 2009

conservatives using communist terminology

Filed under: Politics — jlebl @ 3:53 pm

So I heard that an anti tax law on the ballot (today I presume) is called TABOR (taxpayer bill of rights). First thing that came up in my head was red flags waving and militaristic communist music. See I assume they used the name because of Mount Tabor in Israel (what does transfiguration of christ have to do with tax limitations is beyond me). However, being a czech that grew up in communism, Tábor means an entirely different thing. The more radical branch of the Hussites (the Taborites) started the town and made a commune there. Suffice it to say the commune did not work actually, but it was used by the communists as an example of the first fairly large scale experiment in communism (they ignored the very religious aspects of course as the town is also named after Mount Tabor because the Hussites were religious fanatics). Anyway, naming something TABOR feels very communist to me. I’m sure they didn’t mean it, but it gave me a laugh anyway. The Taborites were also mostly nutcases and plunged central europe into 200 years of economic and cultural stagnation, culminating with a 30 year war that killed around 90% of central european inhabitants. I’m sure it’s the same kind of result we want from our tax laws.

The Rubric Theme. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

Join 25 other followers