Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
User Journal

Journal Journal: Wow, I Need to Get a Life 5

This weekend (I think, maybe earlier), Slashdot published some statistics about the most active people. Apparently I am in the top four most active commenters for the past month and the past quarter. This is quite depressing.

In happier, and unrelated news, my FreeBSD commit bit was approved this weekend, so I can now cause untold destruction on the Internet at large...

User Journal

Journal Journal: You can't be friends with bullies 38

If someone is willing to wallow in the mud, calling names, and making fun of someone just because they're different, well... you just can't be friends with that kind of person. What are they saying about you behind your back? What are they going to say about you if you rub them the wrong way?

Better to just cut ties, and walk on by. Bullies will never be good friends, and if you stand up to them, you're just going to get in a yelling match, until you're both hoarse.

It reminds me of the feminists who go beyond equality and turn into man-hating bigots themselves. Trying to solving a problem by becoming the problem is not going to fix anything at all.

User Journal

Journal Journal: Geothermal vs Solar Power 1

Here are the basic numbers on aailable geothermal vs solar power (since this has come up in discussion more than once).

The surface area of the Earth is about 5.1 x 10^14 m^2. The cross sectional area is about 1.3 x 10^14 m^2 (one quarter of the surface area, of course).

Per this paper found as a cite on wikipedia, the total heat flow out from the Earth's interior is 4.42 x 10^13 W, or 0.0867 W/m^2. Of course, the available power is much less because it's only the subsurface-surface temperature difference that's available.

Total solar irradience is 1361 W/m^2 by NASA's latest estimate (so about 1.7 x 10^17 W across the entire cross section), or about 1000 W/m^2 on the surface at noon on a cloudless day. Averaged over the day-night cycle (surface area vs cross-section, so 250 W/m^2), and taking clouds into account that's about 180 W/m^2 (I can't find a solid source on that yet, but it looks close).

So, total solar power flow is about 4000 times as large as total geothermal flow. I'm not quite sure how to estimate the (ideal) available power as a percentage of the total geothermal power flow, but if we use a WAG of 50%, then the available power from solar is also about 4000 times per square meter more than geothermal - significantly more if we average solar power only across populated latitudes.

User Journal

Journal Journal: What Phone? 6

My current phone is a Nokia N80. I've had it a few years and I'm reasonably happy with it, but it has a fault with the charging circuit and it's pretty bulky, so I'm thinking about replacing it. Unfortunately, there seem to be about 3,000 different options with no competent way of way of working out which one is sensible.

I mainly use my phone as... a phone. So, the most important feature for me is the ability to make and receive calls. Because I am a cheapskate, this includes SIP (and WiFi), since my SIP provider charges a lot less than my mobile provider when calling landlines. I really like WebOS in terms of UI, but that seems to rule the Pre out because the only WebOS SIP client is alpha quality and doesn't integrate with the address book. This is something that Nokia does really well - the SIP client is fully integrated, so I can just select someone from my address book and select Internet Call to make the call. No extra skill required.

Beyond that, the only thing I really need is to be able to sync contacts via bluetooth and to use it as a modem via bluetooth - both pretty standard features, I'd assume, since my last three phones have had them.

In terms of smartphone features, I'm not that bothered. A programming environment that supports native code so that I can port my ObjC runtime would be nice - I have no interest in VM-based crap - but aside from that I don't have any strong requirements.

I would, however, like decent battery life and a small size, and ideally a nice camera. The bulk and poor battery life of my N80 means that I quite often leave it at home.

So, any suggestions?

User Journal

Journal Journal: Why do you need so much CPU to collect a comment Slashdot? 13

I'm using OpenBSD, and as a result, my webbrowser options are somewhat limited. I love XFCE, so I'm using that, so naturally, I chose to use Midori to do my webbrowsing.

Frustratingly though, anytime I want to type out a response or comment, or even in this field here, Midori's usage spikes up to some 60~78%! So, my typing ends up looking all 300 baud modem like (yeah, I read that story, too.) So, like what is it Slashdot? Why do you need to sit there and cycle through a bunch of javascript while I'm typing things out?! I don't see any cool nifty text editing options, I don't see anything in fact to justify you jumping on a spinlock and taking it for a joy ride.

Does anyone have any clues as to what slashdot is supposed to be doing with all this CPU time?

Space

Journal Journal: 3d galactic map with time calculations? 8

Ok, here's an odd request. Maybe someone out there has an answer for me.

I know we've been making huge advances in mapping distant celestial bodies, their speed either across our field of view or relative direction (to or from us) with red/blue shift, etc. I was curious to if there has been any publicly available project which creates a 3 dimensional representation of that data, and allows for adjustment of time.

The way I understand it, in theory with enough data, the known universe could be collapsed (virtually) to the time of the big bang.

I've had an idea for a (fictional) story, which I'd like to be able to back up with at least something resembling factual information. For example, the Earth takes roughly 250 million years to make an orbit all the way around our galaxy (one "Galactic year"). If you were looking at Galaxy X and Galaxy Y, and for particular intervals. Imagine a line drawn from a fixed point in each Galaxy. Would it be possible to determine if the Earth (or at least a close part of our galaxy) would intersect that line, or look back to when that did happen? ... and save the supercomputer comments for some other time. :)

User Journal

Journal Journal: Happening faster than I thought it would... 5

After the bankruptcy "reform" of the last decade (which only applied to the lower income levels), we knew it was only a matter of time before the return of debtors' prison and forced work camps. There was never any question that this was where Reaganomics would take us.

I guess I just didn't expect that we'd see it so soon. When the new privatized prison system meets debtors prisons, something very very ugly is going to emerge. And it appears it's going to happen within the next couple of years.

If you are very very wealthy, and you find yourself unable to pay your debt, the government will force citizens to make you whole. If you are part of the working or lower classes and find yourself unable to pay your debt, you have become an enemy of the New Corporate State and will be treated accordingly.

User Journal

Journal Journal: JC, I hardly knew ye 3

Unless there's a system failure (which is a distinct possibility), Jeremiah Cornelius, an iconoclastic and highly prolific Slashdot journal writer has packed it in and closed his account. Links to his journals are dead and his account only shows the UID number, not his user name.

While sometimes his opinions were the kind that made me uncomfortable (which is something, being iconoclastic and a pain in the ass bordering on the trollish myself), I will miss his energy and his strongly held sincere beliefs.

If he's gone elsewhere, I'd like to know which online community a guy like him would join. We;ve lost some long-time Slashdot users recently. I hate to see a good one go.

User Journal

Journal Journal: Slashdot comment thread life expectancy 15

I've noticed a trend lately (like in the last couple years). Comment thread lifespans are becoming shorter and shorter. I'm usually good about going back to my messages, and keeping up conversations in the thread. It seems not everyone else is.

    If anyone who programs here reads this, do your own research against the database, and see what mean life expectancy of comment threads is. I almost guarantee if you run it against all stories from the beginning, you'll see it's tapering off.
    What I have observed with my comments, even the occasional first post, is that the thread will die off at about 2 to 3 days, regardless of how interesting the conversation is getting. It seems people just aren't interested in going to older stories, which isn't surprising since it's a pain to get to older stories. Look for a story from two weeks ago. Type in some keywords in the search? No way.. Pointy-clicky through the More buttons, good luck there.

    Still, it's easy enough for people to keep up with running conversations. Well, I assume so. When we were forced into the new theme, I had to be sure my messages box was at the top left. Maybe I'm one of the few who actually set up for that, or most people are set for no notifications. Either way, it's becoming disappointing where conversations don't run their course. I don't think it's me... I have week and month long conversation threads going with friends and colleagues, even if every 3rd message (for colleagues at least) is "you are dumb, now send what we asked for". :) No offense to any colleagues or ex-colleagues who may read this. I'll assure you to your face that I'm not talking about you, but sure as hell when you aren't looking, I'm going to point at you and say "it was him".

So back to the topic... I wish more of you would keep up your ends of the conversation. It's hard talking about interesting subjects, and when I've written a well thought out reply, it's just exceeded the MTTL (mean time to live) for a thread, and it's abandon. Well, except for the random troll who goes back through old threads and writes TL;DR, but he barely counts as anything. :)

    Maybe Slashdot can gear up something more conducive to actual conversations, rather than a few hundred drive-by comments that are dead end conversations. I really miss the intellectual (or quasi-intellectual, sometimes) conversations, now replaced by a short thread lifespan and high churn of stories.

User Journal

Journal Journal: Quote of the Day 18

âZ"[T]he truth is that privilege always lies with the majority. They're so used to being catered to that they see the lack of catering as an imbalance. They don't see anything wrong with having things set up to suit them, what's everyone's fuss all about? That's the way it should be, any everyone else should be used to not getting what they want." --David Gaider

This is regarding the seeming imbalance of options for Straight Male Gamers in Dragon Age 2, and a response to someone suggesting that there be a "No Homosexuality" menu option.

User Journal

Journal Journal: Things I learned today. Browser URL length limitations 2

For a long time, I've followed what I've read regarding URL lengths. 255 characters is it. Never let it get longer than that.

    By the RFC's, 255 characters is the guideline, to maintain backward compatibility with old browsers, old proxy servers, and other miscellaneous hardware that may be in the way.

    I went looking for more information, but found conflicting or outdated information. Who cares what the limits on Netscape 4 or MSIE 5 were.

    In my own personal MythBusters kind of way, I wanted to see what the limitations really are.

    What fun would it be without coding something up to handle it. :) I would share the code, but it seems Slashdot doesn't like that much. Basically, it would generate a URL, something like http://example.com/test.php?pad=11111 , and use a javascript redirect to send it back to itself. On receiving it, it would read the number of characters of the full URL, then add an increment to the pad. It printed the length of the request, and the full URL in the browser, so I could see where it was at. I introduced a 1 second pause so I could read the output.

    Initially my increment was 1, but that takes an awful long time, even with keepalives cranked up. I worked my way up to 500 per exchange, so the test would move along quickly. Watching the server stats, the keepalives were doing their job perfectly. The same connections were reused until their life expectancy ran out.

    I couldn't just give a redirect header. Browsers tend to not like that. My initial test with Firefox showed the problem. The default for network.http.redirection-limit is 20. Even turning that up to 999999 would stop pretty quickly (at about 500, if I remember right)

    My test client machine is a Windows 7 Ultimate machine with a Phenom II x4 955 and 8GB RAM. My test browsers are MSIE 8.0, Chrome 9.0, Firefox 3.6.13, and Safari 5.0.3. During the tests, I did not run into problems with CPU or memory utilization.

    My test server is a Slackware Linux 13.1.0 machine with two dual core Xeon 2.8Ghz CPUs and 4GB RAM. It is using Apache 2.2.17 and PHP 5.3.5. Other than custom configuration options, it's a fairly plain version of Apache and PHP. No patches. The OS is pretty clean. All non-essential ports and tasks are disabled. During the test, I did not run into any CPU or memory utilization problems.

    On the first run I observed:


        MSIE 8.0 4095
        Chrome 9.0 8190
        Firefox 3.6.13 8190
        Opera 11.01 8190
        Safari 5.0.3 8190

    I looked around a little. Apache lets you lower the length of the URL in the config file, but not increase it. The default is 8190, exactly as tested. Time to go patch Apache!

In httpd.h
/** default limit on bytes in Request-Line (Method+URI+HTTP-version) */
#ifndef DEFAULT_LIMIT_REQUEST_LINE
#define DEFAULT_LIMIT_REQUEST_LINE 16777216
#endif /** default limit on bytes in any one header field */
#ifndef DEFAULT_LIMIT_REQUEST_FIELDSIZE
#define DEFAULT_LIMIT_REQUEST_FIELDSIZE 16777216
#endif /** default limit on number of request header fields */
#ifndef DEFAULT_LIMIT_REQUEST_FIELDS
#define DEFAULT_LIMIT_REQUEST_FIELDS 16777216
#endif

    8190 was obviously set by people with no ambition. 16.7 million? That's a real URL! :) And before anyone says it, no, I wouldn't normally make the URL longer than I'm willing to type. Just like the MythBuster folks wouldn't normally put a dead pig in a car to see if it stinks. It's all in the name of science I tell you! :)

    So limits upped to 2^24, recompile complete, and we're ready to test again. While watching the compile, I had to ask myself, "does PHP have a limit too?". I guess not. Here's the results.


        MSIE 8.0 4095
        Chrome 9.0 122560
        Firefox 3.6.13 111060
        Opera 11.01 132560
        Safari 5.0.3 131060

Notes:
    1) I aborted the tests after I got bored.

    2) Chrome stopped displaying the full URL at about 32,000 characters. It truncated it at the ?, but did process correctly. If you have a 32,000 character URL, expect people to not be able to copy it from Chrome very easily. :)

    3) I started all the tests very close to the same time, and aborted them all very close to the same time. I don't normally use anything but Firefox, so I have several utility toolbars (webmastering, packet examination, and SEO analysis) that are installed. The others are clean.

    4) You can't use this as a benchmark saying any browser is faster than another, because I was limited by upload bandwidth at home.

    During the test, I was watching my uplink bandwidth graph. I'm on a residential line. It was clear where the upload bandwidth is cut off at (about 700Kbps). Due to the nature of this test, Every request was sent to the server, and returned to the browser, so like it or not I needed to use the same bandwidth each way. If I have a moment of sheer boredom at work or a datacenter sometime, I may repeat this test on a LAN. It's doubtful though.

    So in conclusion....

    1) All the modern browsers tested, except MSIE are effectively unlimited to the size of the URL they can handle.

    2) MSIE is still limited to a URL length of 4095 characters. I don't see a workaround for this.

    3) Apache is limited by default to 8190 characters, but this can be corrected with a patch.

    4) Regardless of what these components proved they could do, you can still encounter problems with firewalls, content filters, proxy servers, etc. Don't expect to be able to use over 255 characters.

User Journal

Journal Journal: Deep in the Heart of TeX-Ass 3

Years ago, when my wife was finishing her PhD in Math, I helped her with putting her dissertation into the required format, which was a TeX document. The main thing I remember about it was how much trouble it was just to lay out a document. It was hard enough for her to do all the very difficult Math work and get ready for her PhD defense, but to then require her to learn TeX just seemed like piling on.

The other day, my daughter, who's now a Math grad student, came to me and asked if I knew anything about TeX. It caused a sickening deja vu as I realized that after all this time, TeX is still the required format for technical documents.

Now, I understand the elegance of TeX, and I can appreciate the need for a standard way of typesetting such documents. I've seen the Chinese students taking class notes in TeX and I'm aware of the place TeX holds in the Math, physics and engineering communities.

But jesus christ on roller skates, can no one come up with something a little easier to learn and use? I'm a musician and composer and arranger. I score films. Creating formatting and typesetting a music manuscript is at least as exacting and formalized as setting up a document to show some equations, some graphs and a figure or two. I've got a handful of excellent professional software that makes writing (and printing) music as easy as writing a business letter. I don't have to write code just to put in a D.S. al coda for heaven's sake.

When I was working on my own dissertation decades ago in critical theory, I remember using the DOS version of Nota Bene, because that was what my adviser used and by gawd, that was what I was going to use. It was like an even more baroque version of Wordperfect with all sorts of code and macros and packages for diacritical marks. But the world has moved on since then and now there's open office to fill all my document needs.

I guess I'm just venting a bit, thinking about my daughter having to learn tex on top of everything else she's got going on, and I know I'm going to get hit with questions, which means I'm going to have to go back and brush up. I'm about to install LateX on my machine for the second time in over 20 years and if nothing else, can I get some encouragement? Maybe an explanation of why time has stood still in this one area?

Now let me go get some aspirin.

User Journal

Journal Journal: More BillDog, less RailGunner 28

I want more people like BillDog to have the perspective, and voice of the right. People like RailGunner take the rhetoric up to 11, and it drowns out all the sanity of their arguments.

At least BillDog is willing to sit down discuss things rationally, understand your point of view... and then dismiss you as evil. (Kidding, slightly... ok, I'm joshing with a bit of fact, and a bit of fiction.)

User Journal

Journal Journal: PopeRatzo's Recession Buster

Wait until Saturday evening, when the point spread hits 5, then take the Bears and the points.

Send my share of the winnings to the EFF or the ACLU.

Slashdot Top Deals

A morsel of genuine history is a thing so rare as to be always valuable. -- Thomas Jefferson

Working...