Slashdot Mirror


User: JeffSchwab

JeffSchwab's activity in the archive.

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

Comments · 38

  1. dd on Write Bits Directly Onto a Hard Drive Platter? · · Score: 1

    1) You want logical locations, not physical locations. I promise.

    2) On Unix-like systems, you can open the device node, and seek directly to the locations of your choice.

            int const fd = open("/dev/sda", O_RDWR);

    3) If you have a predetermined image you want to slam onto the disk, use dd. Depending on what else you want to do, other command line programs may also be useful. For example:

    ~$ uname
    Darwin
    ~$ sudo hexdump -n 600 /dev/disk0
    0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    *
    00001b0 00 00 00 00 00 00 00 00 38 2d 00 00 00 00 00 fe
    00001c0 ff ff ee fe ff ff 01 00 00 00 2f 60 38 3a 00 00
    00001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    *
    00001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa
    0000200 45 46 49 20 50 41 52 54 00 00 01 00 5c 00 00 00
    0000210 ab 81 40 18 00 00 00 00 01 00 00 00 00 00 00 00
    0000220 2f 60 38 3a 00 00 00 00 22 00 00 00 00 00 00 00
    0000230 0e 60 38 3a 00 00 00 00 48 75 00 00 de 3e 00 00
    0000240 fa 0c 00 00 7d 31 00 00 02 00 00 00 00 00 00 00
    0000250 80 00 00 00 80 00 00 00
    0000258
    ~$

    Good luck.

  2. hoist by one's own petard on "Patent Markings" Lawsuits Could Run Into the Trillions · · Score: 1

    Note: if ever there were a page that cries out for the Readibility bookmarklet, this is it.

    irony: n. An obvious spelling error in the most salient part of a complaint about poor readability.

  3. Re:Anyone using Lynx? on Happy 5th Birthday To Firefox · · Score: 3, Insightful

    I'm not sure why this got modded "funny." A lot of my Linux interaction is command-line only, and elinks is a life-saver. On occasion, e.g. when the only documentation for a package is in HTML, the console-mode browser is almost indispensable.

  4. Re:Another impediment in getting rid of flash on Tired of Flash? HTML5 Viewer For YouTube · · Score: 1

    Heck, I still see Java applets around

    Java applets are indispensable for some things. Web-based VNC cilents are a good example.

    It would be nice to have a truly portable, general-purpose programming environment for web-based applications. Unless the browser providers get their collective act together (especially MS), I don't think AJAX is the answer. What bug me the most are the gratuitous differences in DOMs and CSS interpretation.

  5. Usenet on What To Do Right As a New Programmer? · · Score: 1

    1. Use revision control, e.g. Subversion.

    2. Use a formal bug-tracking system. At the very least, numbered text files full of issue descriptions.

    3. Start spending some time in the relevant Usenet groups for the languages and technologies you'll be using. This will expose you to the gamut of good and bad practices, let you hear multiple sides to every argument, and put you in a position to make up your own mind about what conventions you care to follow.

  6. Philip K Dick was prescient on Homeland Security Department Testing "Pre-Crime" Detector · · Score: 1

    Minority Report, anyone?

  7. Re:Does any serious IT geek *not* use usenet? on Comcast Discontinues Customers' USENET Service · · Score: 1

    Huh? There are plenty of moderated news groups.

  8. Re:So? on Comcast Discontinues Customers' USENET Service · · Score: 1

    Yes. I recently moved back to a Comcast-serviced area, and was severely dismayed to learn (just this past Saturday) that Comcast no longer provided Usenet access. I got a paid Giganews account instead for ~$7/month.

    Usenet is as important to me as (say) instant messaging, and not far behind web browsing and email. I recommend that anyone who hasn't used it, give it a shot. I like the comp.lang.* and sports-related groups, m'self. It's fun, I get to have discussions with people who share my interests (but often have very different vantage points), and when you have a knotty technical problem, it's a great place to look for answers. Usenet archives alone have answered more of my technical questions than Wikipedia.

  9. And look forward to working in their sugar mines. on Hubble Finds Unidentified Object In Space · · Score: 1

    I, for one, welcome our new unidentified overlords.

  10. Re:Politics out of science? what about religion? on Obama Answers Science Policy Questionnaire · · Score: 2, Funny

    Jeez, did anybody here not grow up in Massachusetts?

    (I, too, grew up in a town in Massachusetts, and yes, it had a larger population than Wasilla, Alaska.)

  11. Re:Goes to show on Red Hat, Fedora Servers Compromised · · Score: 1

    I wonder what % Linux already has, if we count embedded systems and devices that aren't ordinarily considered "computers." Cars, ATMs, portable media players, DVRs, household appliances...

    MIT students hacking the T notwithstanding, it seems virus authors are still mainly interested in desktop systems. Maybe because financial data are more likely stored on desktops than on portable devices? Are there PDA viruses?

  12. Re:Oymoron anyone? on Huge Lenses To Observe Dark Energy · · Score: 1

    It's String and Fairy dust, I say!

    Turtles, all the way down.

  13. Re:The placement of Pg Up/Down and Home/End sucks on A Video Tour of the MSI Wind and Other Netbooks · · Score: 1

    Yep. ^F and ^B in Vim. I do miss Home and End on Macbook, though, when in other applications (e.g. web browser). It was a relief to find that Fn+Delete gives tradition Delete functionality, and that Fn+Up/Down give Page Up/Down.

    I've been looking for a new, small laptop myself lately, and I've just about decided to go with a $550 Dell with Ubuntu pre-installed.

  14. Re:MachIne Learning for Embedded PrOgramS opTimiza on Using AI With GCC to Speed Up Mobile Design · · Score: 1

    GCC is easier to remember? Ok, that really isn't an acronym (or bacronym I guess... is it?)

    GNU Compiler Collection, where GNU's Not UNIX, and UNIX is a play on MULTICS, the Multiplexed Information and Computing Service.

  15. Re:Just deserts... on IT Students Contract Out Coursework To India · · Score: 1

    Huh? You think not doing your own homework is a way to avoid poverty? My experience has been that the folks who actually take the time to learn the technologies are the ones who eventually make the most money from them.

  16. Re:Never too late on Sun Spokesman Says "We Screwed Up On Open Source" · · Score: 1

    For good reasons. Sun may be the single worst-managed large company in America.

  17. Re:Interesting quote from the AP on AP Files 7 DMCA Takedowns Against Drudge Retort · · Score: 1

    Without actual news stories to quote and make fair-use copies from, bloggers would be left to writing about taking their dog to the vet, or how the baby barfed on grandma's shoes, or whatever.

    Just think of all the great veterinary stories we've missed because of all this noise, or as you spell it "news."
  18. Re:Imagine the first alien message! on ET Will Phone Home Using Neutrinos, Not Photons · · Score: 1

    "Then I ram my ovapositor down your throat and lay my eggs in your chest, but I'm not an alien."
    --
    http://www.mst3ktemple.com/Sounds/tm-ovapositor.wav

  19. Re:Surely this is not the only source of entropy! on Debian Bug Leaves Private SSL/SSH Keys Guessable · · Score: 1

    What would be a better source of randomness?

    HW RNG is already on video game systems; Cell processors have magical registers you can read to get eight random bits at a time. AFAICS, that's the only real solution to this problem. It's already common to use the system clock to seed non-critical RNGs on PCs, showing that the need for HW-based RNGs is widely known and long-standing.

  20. Re:New Species I Haven't Heard Of? on Warning Buoy Network Protects Right Whales · · Score: 1

    They haven't caught on to the mice yet though. ;) Hyper-intelligent shades of blue are probably more disturbed by the light pollution than by the noise.
  21. Atkins? on Scientists Discover Teeny Tiny Black Hole · · Score: 2, Funny

    I'd love to know XTE J1650-500's secret. I've tried diet and exercise, but I'm still only down to 3.9 solar masses and 16 miles across.

  22. Re:Stating the obvious problem on FBI Posts Fake Hyperlinks To Trap Downloaders of Illegal Porn · · Score: 1

    Can I have X-moz: prefetch added to all my HTTP requests?

  23. Re:Well, what did you expect? on Posting Publicly Available URL Claimed a "Hack" · · Score: 1

    There used to be a hill you could sit on in this town that let you watch over the fence into a drive-in movie screen. Is that theft? No; it's just spillover, a consequence of where the theater was located. They are broadcasting into the public space. http://en.wikipedia.org/wiki/Externality

    "Economic theory considers any voluntary exchange to be mutually beneficial to both parties, for example a buyer and seller. Any exchange, however, can result in additional positive or negative effects on third parties. Those who suffer from external costs do so involuntarily, while those who enjoy external benefits do so at no cost."
  24. Re:Do the dew? on CES 2008 Hall of Shame · · Score: 1

    "High density" is a widely applicable description of industry.

  25. Re:Another one? on EU Launches Yet Another Antitrust Probe Into Microsoft · · Score: 1

    Even if they pay, how much is really a sufficient disincentive? If Microsoft hadn't been Microsoft, would they still be Microsoft? -- 0x4d653f2020576861742061626f7574202a796f752a3f