Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×
User Journal

Journal Journal: representing numbers

I notice a tag popping up around slashdot, namely hex09f911029d74e35bd84156c5635688c0. The context of the tag is irrelevant to any civilized person, but I was intrigued with the prefix hex, presumably to indicate the number was base 16. I wonder if the use of the prefix, instead of the more traditional 0x, was due to the increasing distance between the technical elite and the hardware

As I am sure we all know, a digital computer represents all information by either an on or off state, which is typically represented numerically as 0 or 1, respectively. As the digital state is often implements as an analog current, there is often some firm threshhold value, above which the state is said to be on.

Therefore to represent a peice of information, such information must first be encoded in as a number, then the number encoded into a series of off or on states to represent that number. This is where binary notation comes from. Using only 0 an 1, in principle we can represent any number as easily as using the 0-9. For instance, using base 2, the number representing in decimal form as 4 would be 100. Perhaps a bit verbose, but quite adequate when one can complete thousands of operations every second.

The verbosity, however is a problem for humans. For instance, to represent the decimal number 9 requires us to write 1001. While a digital device has no problem with this, and humans working to hardwire code have no problems, as the amount of information to encode becomes greater, humans wish to have more information density.

Which is where Octal, or base 8 representation emerges. Octal notation groups three states, or bits, in one. In octal instead of only using the digits 0 and 1, we use 0-7. This means that to write the decimal number 7 instead of writing 0b111, we write 0o7, i which the 0o prefix means octal.

Octal was nice when bits were base of the computers, but soon information grew so much that we began to group bits together. The smallest traditional grouping of bits is the nibble, which contains 4 bits. This means the biggest number that can be held is 0b1111 or the decimal number 15. This lead to the idea that we might want a numbering system that can represent numbers up to decimal 15, and the hexadecimal system was used. In this system, digits go from 0-F. Therefore the decimal number 7 is written 0x7. The decimal number 15 is written 0xF, 0o17 or 0b1111. One can see that even though the computer does not care, it is easier for people.

Hexadecimal was quite used prior to the mid 80's. While programming tasks were easily handled through the alphanumeric keyboard, with minimal special keys, formatted text processing required copious use of the entry of special codes. Even in programming, it was useful to direct many function directly through the hardware using hex.

So, obviously, with the huge bit capacity, it is quite easy to see why we use hexadecimal to represent numerical values. What is not so obvious is why we represent using the longer form hex09f911029d74e35bd84156c5635688c0 rather than 0x09f911029d74e35bd84156c5635688c0.


Journal Journal: Beware of gifts with stange Apples? 3

I love my Apple computers. I have a G4 tower in the back room. I have powerbook that I injured a while back but still serves me faithfully. I have a newton 2100 in my pack, a broken newton 2100 and another old newton in storage. I have a Mac Classic, a perfoma, and all manner of half assembled portables and desktops. I reluctantly gave up my Apple /// because of space considerations, and I regret it to this day.

It has been a strange ride over these 20 years. Shape tables on the Apple ][. A EPROM burner in another Apple ][ to program an EEPROM for use in a Z80 controller for flight. Printing WYSIWYG documents for the first time from a Mac to an imagewriter. Horrible fonts and resolution. Embarrassing. But such excitement to not have to embed the Epson codes directly into the AppleWriter document.

And then Macs that actually ran fast enough to do work. And then Macs with harddrives, separate monitors, expandable innards. Appletalk replaced with ethernet. And then SCSI gone and all my stuff had to be replaced with Firewire stuff.

But through all this time I have never felt betrayed. Until today. Yesterday I happily installed the MacOS update. I have complained a bit in the past week about the fact that they combined security and feature updates, and I hope they have learned from this experience, even though the probably have not, but i am over it. Sort of.

But today I noticed something strange. Moving advertisements on my web pages. Could it be that my preferences for images got messed up? No, checked my pref files everything as I left it. Could it be that more sites are manually changing images? Unlikely but i looked at the page source just to be sure. No, nothing there. The source for the web pages is essentially what it has been for these sites. Check for flash, try some scripts, then give up with a static images. So could it be Flash? I don't have flash on my computer. It eats up too much time. Do a search for the file, not there. Forgot where the file was stored, so i just go back to double checking preferences and the source of the web pages. Maybe I missed something. It sure looks like flash, though.

Finally get a brainstorm and go to the macromedia site. Yep, it starts playing a flash movie. I definitely have been infected by the annoyware virus. But how, and where it is? I finally find a web page with the directory location. It is in the library directory. Not the user one, but the main one. The one that needs administrator access. Find the file, check the date. It was the date and time I installed the MacOS update.

Now, i have no proof that the update came with a flash payload. I could have accidently installed it some other way. All I have is circumstantial evidence and i do not want to make false accusations. But the install time was during the time i was installing the update. I go through great pains not to install flash and avoid sites that require it.

On the other hand flash is becoming tricky, and someone may have set up a trojan that got it onto my computer. Could have been Apple could have been someone else.

And the only thing that the knowledge base lists is Safari enhancements. Which of course brings a whole separate set of problems, like what if I don't want to use Safari.

I am telling you. I am so close to getting a Intel piece of crap, installing Linux on it, and just running the command line with the occasional X for the rest of my life. It was not so bad when all we had was the command line.

Journal Journal: on moderation

"A right of free correspondence between citizen and citizen on their joint interests, whether public or private and under whatsoever laws these interests arise (to wit: of the State, of Congress, of France, Spain, or Turkey), is a natural right; it is not the gift of any municipal law, either of England, or Virginia, or of Congress, but in common with all other natural rights, it is one of the objects for the protection of which society is formed and municipal laws established." --Thomas Jefferson to James Monroe, 1797.

The following is some thoughts on altering the /. moderation system. I do not believe any of these ideas are novel or unique, but the application of these ideas may help with issues such as scalability and the promotion of long term discussions within an article posting. The main concepts in this modified moderation proposal are moving to labels instead of numbers for moderation, continuously variable starting moderation points based on karma, and non linear moderation scoring.

First, I believe /. should move to labels for moderation in leu of the current numbers. These labels could be 'horrible', 'unrated', 'default', 'fine', 'great', 'terrific', and 'super' , respectively corresponding to moderation of -1 to 5. The labels will need to be tweaked with the idea that labels will reflect the status of a comment. For instance, a current '1' comment would be unrated because this is the default posting for a logged in user. I do not use the karma labels to avoid confusion.

Underlying these labels would be an expanded, and scalable counter. To determine the range of the counter, one would set the increment for a category. If we select the increment to be 20, for instance, the counter would go from 0 to 101. A comment at 0 is 'bad', a comment at 101 is 'terrific', and everything else is evenly divided into groups of 20. For instance, the structure might look like
horrible 0
unrated 1-20
default 21-40
fine 41-60
great 61-80
terrif 81-100
super 101

In the discussion below I will assume that moderation counter starts at zero. I will also refer to the increment as defined above. As an aside, is feasible to make the increments nonlinear, and there are reasons to do this, but I believe the such functionally can be incorporated into the moderation procedure.

The next issue is the starting moderation based on Karma. Currently logged in users start at 1 and eventually get a point. If the user is subsequently very bad, they will lose the point. This system is effective, but imprecise. I feel it gives a new user excessive benefits, delays additional benefits until the user reaches top status, and does not quickly punish bad behavior. My suggestion is that anonymous users start at the low end of unrated, which in general is 1. All registered users would have their starting moderation calculated based on karma, as described below.

If we assume that the underlying karma count sets a neutral karma to zero and goes positive and negative with increasing and decreasing karma, we might calculate default moderation as

default_moderation=offset + karma*scale.

This equation has two variable. The first is offset, which is where we give logged in users a boost over anonymous users. For instance, if the offset is equal to the increment, a new logged in user will still start with 'unrated' comments, but a single moderation would guarantee the comment would become 'default'. The other variable is scale. To be consistent with the current system, this should cause a user with maximum karma to in the 'great' rating. This could be done by having each label change in karma add half the increment. Therefore, a karma of 'positive' and 'good' would make the moderation increasingly 'fine', while a karma of 'excellent' would have moderation in the middle of great. The application of this is that the default moderation is a continuous function based on karma, which we assume also changes continuously with user behavior.

Moderation itself should not change from the point of view of the moderator. The moderator will still choose a label and moderate. However, /. will now have fine control over the points awarded. For instance, each moderation might only award 3/4 of an increment. Or perhaps we want to encourage users to look for new good comments rather than just continue to moderated existing highly moderating comments, so we might only award 1/3 of an increment to any comment that is already 'terrific' Maybe we see that most comments posted in the first 5 minutes of an article are useless, so the moderators on those articles on get to award 1/3 of an increment until the comment reaches 'fine' status. Maybe we want to encourage moderators to look at new comments, so a moderator will only be able to award 1/4 increments to any comments that is past a certain time threshold. It may be decided that a funny comment is less valuable than an insightful comment, or an overrated tag is less valuable than a insightful tag. In summary, because moderators will still only have a certain number of moderations, regardless of the actual points awarded, the moderator can be discouraged from certain actions by making those actions less forceful.

There are several possible pitfalls in this proposal. First, the moderation of a comment will not necessarily lead to the change in moderation status for an article. This may confuse moderators. Second, communicating the variable moderation points may be prohibitively difficult. If such information is not communicated to user at the time of moderation, this proposal may not be an improvement over the current system. Third, an increased amount of computation may be necessary to display as moderation page. This increased load on the web-server may prove excessive.

A final comment on the '3 day limit' for moderation. I believe this limit is excessive and does not encourage the important activity of moderation. My suggestion is based on when the user logs into /. First, if a user does not log into /. within 24 hours of being awarded moderation points, the moderation points go back into the pool. If the user logs in within the 24 period, the user will then have 24 hours to use the points. If the points are not used in that period, they go back into the pool.

User Journal

Journal Journal: out come the freaks

Dear is my friend--yet from my foe, as from my friend, comes good:
My friend shows what I can do, and my foe what I should.

--Johann Christoph Friedrich von Schiller

I received an email recently about my sig. The email asked what was a freak. I wanted to answer that question in my journal. In addition, I also wanted to discuss why I chose to put Freaks in my sig instead of Fans.

First, what is a freak. If we look at the FAQ, we see that a freak is a person who has chosen you as a foe. This, in my opinion, is a much more significant event that another choosing you as a friend.

To get excessively philosophical, the act of choosing a foe is also an act of preparing for conflict. For some people this choice may be a petty expression of violence. However, for others it may a genuine declaration of the willingness to grow, learn and become a more complete person. As the quote above indicates, a foe can be the ideal way to discover what one should do. I hope to have the time to look at comments carefully enough to chose quality foes.

User Journal

Journal Journal: negative moderations

I have been meta-moderating a lot lately. It is interesting to see how people use their moderation points, especially in modding down a post. If we look at the section of the FAQ on how moderation works, we see that we are to concentrate on modding good posting up, while reserving our negative points for for spam, true trolls, and the like.

Yet once again I saw a perfectly reasonable post marked off-topic, and I had to mark it as unfair. It was not exactly on-topic, but it was a valid and useful reply to the comment. Why a moderator would waste points marking it off-topic is beyond me. Were there not enough good comments that day? Are there some whose only mission in life is to to promote personal agendas? I do not know.

I try very hard to limit my negative moderation to truly harmful posts(goatse, etc). It seems if a post relates incorrect information, that post will invariable attract comments that correct the error, and those replies will usually get modded higher than the original comments.

Slashdot Top Deals

Did you know that for the price of a 280-Z you can buy two Z-80's? -- P.J. Plauger