Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Comment Re: mercury in CFLs is a net good (Score 1) 173

You obviously know nothing about electronics and magic smoke

Good point -- it's been a while since I've had a puff of that, if you know what I mean...

Seriously, though, I'm picturing a scenario where you accidentally drop a CFL or LED. Besides the mercury vapour issue, it's also nice that one of these stays fully functional after a drop.

Comment Re:Lua[0]? (Score 1) 729

The positional argument for starting with 0 makes sense in C, because it's such a low-level language. It makes sense to expose this low-level view on arrays so you can do things like pointer arithmetic.

For anything higher-level, you'd think the language should make things easier for people who deal with everyday countable items. But even in an otherwise nice high-level language like Python you can find some thoroughly messy array logic, because it basically takes the positional idea even further. While a[0] is the first item, a[0:2] is a range of the first two items, instead of three. The logic is called slices: you start at position 0, which is just before the first item, and end at 2, just after the second one. You've spanned a distance of 2, over the first 2 items.

Comment Re:Lua[0]? (Score 1) 729

Physicists and mathematicians have indexed, say, vectors, starting with 1 for ages, except in recent times where sometimes they use 0 for very special reason (like chapter 0 in a book).

One common example of vector indices is in relativity. Since we traditionally used indices 1 to 3 for spatial dimensions, it made sense to keep them that way. The spatial dimension was given index 0 probably to denote its special/fundamental position (e.g. energy in the energy-momentum vector).

The traditional programming language of scientists, Fortran, starts its arrays with 1 by default, but it can also be instructed to start wherever you want. For example -n to +n is sometimes quite convenient.

Comment Re:Geeks AND Nerds (Score 1) 226

Also, considering something like Star Trek, there is some comfort in imagining a society where intellect and honesty are rewarded rather than ridiculed. Which, of course, can be a central aspect of speculative fiction; how far can an ideal geek society go, or do you need someone to be an asshole to take action in the end.

However, I agree with the OP to some extent. As a science/math/electronics/programming/music geek, I've never understood the stereotypical geek fascination with games, comics and other plasticky entertainment. Reading books I can understand, collecting superhero figures not that much.

Comment Re:The death of memorization is greatly exaggerate (Score 1) 359

That may seem funny, but to me this is all about memory management. Brains/CPUs with larger L1/L2 caches are better, because there is always the I/O overhead. Computing analogies also explain a lot about bureaucracies -- at some point the I/O starts to outweigh the benefits of a multiproc system. This is why flat organizations with localized decision-making are more efficient.

Comment Re:This raises an interesting problem for Germans. (Score 1) 312

it is über, not uber in the anthem.

Oh, right, because the name Uber is not influenced by the German "über" preposition/prefix in any way, and neither is the colloquial usage of uber-, as in "ubergeek". Must be pure coincidence.

(Where I'm from, we also use the über prefix for words like übergeek. It's not really that hard to spell or pronounce, but I guess for truly international usage you need to fall back to ASCII.)

Comment Re:Ecosystem (Score 1) 108

The enormous numbers of the Passenger Pigeon actually suggest that they were the beneficiaries of an extreme environmental disruption that occurred a few centuries earlier: the sudden and dramatic disappearance on the large scale agricultural and horticultural societies of Native Americans when ~90% of the population died from successive onslaughts of pandemic disease brought by the arrival of populations from the Old World (Europeans and Africans).

Is that an African or a European pigeonocide?

Comment Re:For fuck's sake (Score 2) 67

Stop spelling it "BitCoin", it's "Bitcoin", as in common grammar rules where you don't put a cApITal in the middle of a word.

That so, TeknoHog?

Well I can spell my own name in any bloody way I want. But if you're going to spell the name of a product/technology then please find out how to spell it first.

Slashdot Top Deals

Work is the crab grass in the lawn of life. -- Schulz

Working...