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

 



Forgot your password?
typodupeerror
Compare cell phone plans using Wirefly's innovative plan comparison tool ×

Comment Re: How about (Score 1) 230

I've been making screen dimming apps for Android (RootDim and ScreenDim) for a long time, and have often wondered why the minimum system brightness on just about all devices is so high. Here is my hypothesis. If one sets the display to a level where it's visible but not bright in pitch black conditions, the display may be invisible in normal conditions. This could result in customers complaining their device is broken as they can't see the screen. (But there are alternatives to just setting the minimum high. They could have warnings, or they could turn brightness up even in manual adjustment mode if the light sensor gets enough light.)
One piece of advice I have is to go for OLED rather than LCD screen. On LCD, black is gray in low light conditions a the backlight leaks.

Comment BASIC on TS-1000 (Score 1) 515

I got a Timex Sinclair 1000 when I was 10, as well as a simple book about BASIC programming. Eventually, that got upgraded to a TS-2068. There wasn't much family budget for games for me, so I wrote a number of my own. Did a bit of Z80 assembly for better speed. Then when the family got a PC, I learned C, FORTRAN, some Pascal, and 8086 assembly.

Comment Poetic APIs (Score 1) 405

IANAL, but I could imagine a case where someone names a method with a copyrighted haiku: void old_pond_CR_a_frog_leaps_in_CR_waters_sound(). (From Wikipedia's example of a haiku translation; I don't know if their example is copyrighted, but you get the point.) In that case, I think it's not an unreasonable case that the API is copyrightable at least in part. In such a case, even code calling the API--not just an implementation of the API--would require a fair-use defense. I would hope such a fair-use defense would be possible.

So, yes, my example shows that it should be possible for an API to be copyrighted, at least in theory (whether java.lang is sufficiently poetic is a different question!). But the example also shows that unless a fair-use defense is possible, programming is really stifled.

Comment Different math from K-12 (Score 2) 616

It's hard to do almost any programming without understanding boolean operations (both logical and bitwise), and one will be really limited if one doesn't understand binary arithmetic and how hexadecimal works. I don't think this stuff is ordinarily taught in grades K to 4. One isn't going to understand how what integer types in many languages do unless one understands modulo-2^n arithmetic. Again, that's not ordinarily taught in grades K to 4. It may not even be taught in grades 5 to 12 (no doubt depends on school). None of this is *hard* mathematics, but it's mathematics nonetheless.

Generally speaking, all algorithms should probably be thought of as mathematical entities. So whenever one is trying to figure out an algorithm for a task, one is doing mathematics. It's not the sort of mathematics one typically does in K-12, but it's mathematics nonetheless. And it's not uncommon to have to do a little bit of traditional mathematics on the side to figure out if you're going to run out of memory or take too long.

And even if you're not trying to understand an algorithm yourself, at least you need to be able to understand statements like "Worst case performance of a merge sort is O(n log n) while the average case performance of a bubble sort is O(n^2)" in order to choose between off-the-shelf ones.

Comment Re:Done to _gouge_ the customer better (Score 1) 379

If most of their customers aren't using off-brand or foreign cartridges, then Xerox isn't losing money from these customers using off-brand or foreign cartridges.

Without the locking, Xerox is only losing money from those customers who would otherwise use off-brand or foreign cartridges. And _these_ customers might well abandon Xerox if the locking is in place. Whether this would be a net loss to Xerox depends on (a) whether they make any money on the printers themselves, (b) how likely they are to leave Xerox and (c) how much money Xerox makes on the foreign cartridges.

Slashdot Top Deals

"Being against torture ought to be sort of a bipartisan thing." -- Karl Lehenbauer

Working...