Slashdot Mirror


User: Emil+Brink

Emil+Brink's activity in the archive.

Stories
0
Comments
563
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 563

  1. Re:Out of curiousity... on A Mobile Robot For Modeling The World In 3D · · Score: 1

    Typically these actually use an infrared beam rather than a true laser.
    You make it sound like a natural contradiction, I just wanted to point out that there are of course infrared lasers too.

  2. Re:Before anybody gets too worked up... on Google Considering Merger With Microsoft · · Score: -1, Redundant

    I'm sure this is Melinda Gates' least favorite nickname for Bill...
    It's like the oldest joke around, but... Isn't plain old "microsoft" worse?

  3. Re:Sun is indifferent to the x86 Solaris. on Sun Solaris Vs Linux: The x86 Smack-down · · Score: 1

    Oh my $DEITY! You just took a number, like 290 million, and multiplied it by what seems to be the number four! This is unprecedented, what do you have over there to help you, a computer?! I'm shocked. Shocked, I tell you.

  4. Nice article? [Whine] on Maxtor's 300 GB Monster Reviewed · · Score: 1

    A "nice article" at Tom's? What's next, military intelligence and beautiful BASIC code? Now, I'm no native English speaker, but I always manage to find minor, I don't know, "bumps" in the language and grammar in articles at Tom's. The first paragraph in this article contains the sentence "They all pale, however, compared to Maxtor's monster, which has a full 300 GB of write space" which illustrates my point. Is "write space" typical usage? It doesn't seem familiar, at least not to me. I've more or less stopped reading Tom's for this reason, and because I find their format a bit too obnoxious.

  5. Re:Improvements? on Interview With Bjarne Stroustrup · · Score: 1

    Sure, strncpy() exists, but is has truly weird semantics in my opinion, I never use it as a no-overrun string copying function. For those, I prefer snprintf() if available, or just use glib and go for its g_snprintf() call. All of these, of course, are C. Oh, and for the size argument of these calls, I always try to use sizeof on the destination buffer, if it is an ordinary C vector. If it's on the heap, there's usually a variable holding the size from the allocation call anyway, and then that is used of course. Just my two hundredths of a currency unit.

  6. Re:Eternal pet peeve on Adding System Calls (an OpenBSD Example) · · Score: 1

    I wasn't being complete since I wanted to, er, not sound too dorky. The sizeof operator takes a single argument, that's true. If the argument is to be a type name, such as int or your struct foo, then that type name needs to be a cast expression, which as we all know is simply the type name in parens. Using a type name without parens is, as far as I know, a syntax error.

  7. Eternal pet peeve on Adding System Calls (an OpenBSD Example) · · Score: 1
    Now, I know the code in the article is only sample code, and as such need not be perfect as long as it gets its point across. I'd say it does that just fine, it was an interesting read. But I can't help feel a bit saddened by code such as this snippet:
    size_t len;
    char buffer[1024]; /* must bounds check all user values */
    if (SCARG(uap, len) > (size_t)1024)
    return(EINVAL);
    Here, the author needlessly repeats the "1024" constant, which introduces a fine opportunity to make an error by only changing the buffer definition and not the constant, later on. In my world, cases such as these is where you really want to use the sizeof operator, and simply write that check like so:
    if (SCARG(uap, len) > sizeof buffer)
    return EINVAL;
    Also note that this gets rid of the cast, since the sizeof creates a value of type size_t. There are no parens involved, since neither sizeof nor return are function calls. This seems to be a matter of personal style, though. Of course, sizeof is properly used in the copying call, so I guess this is just a minor point anyway. I also suspect there's an off-by-one error lurking in there, but am not familiar enough with the OpenBSD copying semantics to be sure.
  8. Re:My own experience from No Windows to XP... on Linux Users Try FreeBSD 5, Windows · · Score: 1
    Can I add something to that list? If so, I'd like:
    • The ability to open a new browser window, without cloning the existing window on Ctrl-N!
    Thank you. Whose freaking idea was that anyway, I've never wanted to clone a window, and I do my fair share of web browsing. It takes time, wastes network bandwidth, ignores my setting to have a blank start window, and is simply a pain in the rear whenever I browse using IE. Please, all Windows experts, how do you turn this off?
  9. Re:I-Mark pens are nice... on When Word Processors Are Out: What's The Best Pen? · · Score: 1

    Isn't writing all about making the pen change direction? Things that have inertia typically resist having their direction of movement changed, at least that's the idea I have of the concept. So, I think in theory you need to work harder to write using a heavy pen. Still, I guess it's not that much work anyway, and a more solid feel might be comfortable.

  10. Re:Alas, poor SGI on Linux In Hollywood: Status Report · · Score: 1
    If only there would be a free OS for MIPS I'd be a happy camper
    Um, does it have to be an exclusive? That sounds weird. I'm pretty sure there are free OSs that build on MIPS, such as Linux and at least a couple of the BSDs... Right?
  11. Re:rio karma too on iRiver Announces A New Ogg/MP3 Player · · Score: 1

    I'm no MP3-geek, but an Ethernet port did sound interesting so I clicked the link in the parent. I got the impression the Ethernet port is not on the actual player, but on a docking station.

  12. Re:Good, but one crevat on Y: A Successor to the X Window System · · Score: 1
    The line-edges of the cube form a "Y" shape. Slick.
    Agreed, that is kind of neat. I didn't even notice it though, since I was too confused by Y's logo's similarity to another related project's logotype. Weird.
  13. Re:Memory mapped disk? on First Round of AMD Athlon 64 Reviews In · · Score: 1

    Maybe that's so. But at least you could cut the cost in half by realizing that you can build 8 GB from only four 2 GB modules! Amazing, huh? *Ducks*. ;^)

  14. Re:David Hasselhoff on Interview with Linus Torvalds from NYT Magazine · · Score: 1

    I have, twice (once sitting in the audience when he spoke at a Swedish university, once at a book signing). I still recognize him , but I think he is, um, starting to look a bit more, um integrated into American culture, or something. *Ducks*. ;^)

  15. Re:Stupid question... on Creating Your Own Printer? · · Score: 1

    According to Swedish electronics press, PrintDreams are about to go bankrupt, they are unable to find the funding required to take the product to the market. Which is a shame, IMO, since it's such a cool concept. They have some prototypes, but nothing that is ready for mainstream sales, so I guess it qualifies as (thick?) vapour.

  16. Re:Modding of Articles on Prevayler Quietly Reaches 2.0 Alpha, Bye RDBMS? · · Score: 1

    Um, scoop.k5.org seems to be solely about the development and use of Scoop itself... I would guess that makes its audience a bit smaller than that of Kuro5hin, so I don't quite understand the recommendation.

  17. Re:3000 times faster than Mysql? on Prevayler Quietly Reaches 2.0 Alpha, Bye RDBMS? · · Score: 1

    That's horribly buggy!! In C, main() returns int . And a function taking no parameters should be defined as (void), Since main() must take either zero or two arguments, your code is incorrect there, too.

  18. Re:Jerry Pournelle's requirement on Word Processors: One Writer's Retreat · · Score: 1

    No, since the Jerry-option only changes the view of the document, not the document itself. It's a setting in the program itself, not in the data it processes. If you load the same document in someone else's Word, where the option is turned off (or, indeed, print it to paper) it will not have a blue background. Geddid?

  19. Re:again? on Mini-ITX AmigaONE Board · · Score: 1
    [...] is compatible with old Amiga software?
    Um, if it's really going to be compatible with "old Amiga software", it better do The Right Thing when said software pokes $DFF180 and peeks $BFE001. Which I somehow doubt, I didn't see any register-level emulation of the original Amiga hardware listed in the specs... It'd be cool, though! :)
  20. Re:i'm interested... on Java Desktop System Rivals XP, OSX in Usability · · Score: 1

    But, er, that is still not an actual 1:1 screenshot, but a bit minified. Annoying.

  21. Re:hm on Computer Audio - To USB or Not to USB? · · Score: 1

    FireWire is a twisted-pair differential signal.
    Just like USB, of course.

  22. Re:Gnumeric is ok, but not THAT hot on Gnumeric Turns 5 · · Score: 1

    Since it's cool to pick nits in the Famous People's code, given an opportunity, shouldn't that name pointer be declared const? It sure looks like an input parameter in the original code linked to in the article blurb. Heh.

  23. Re: Gave it all up on Will Caffeine Cause Health Problems? · · Score: 1
    Make it be known that we water drinkers are the cheap tightwads we're stereotyped to be!
    Aha, another member for my soon-to-be-started Dropped Negation Club. Welcome! ;^)
  24. Re:The most useful keyboard for me. on Searching for Keyboards Loaded with Features? · · Score: 1

    The superior tactile click of the IBM keyboard from the PC-AT era. I don't think these are around any more, and nothing still even comes close.

    Since others have already pointed out current sources for this keyboard, and I can't really comment on that since I haven't ordered anything from them, I guess it's up to me to just point you to The Article, in case you hadn't read it. Whoa, that became a very long sentence.
  25. Re:Console Love on Future of 3d Graphics · · Score: 1

    Um, I don't think the actual idea under discussion here was changing the brand of the CPU (IBM in the case of the GameCube, a MIPS variety in the PS2), but actually removing it from the system altogether. Mm'kay?