Slashdot Mirror


User: Ricdude

Ricdude's activity in the archive.

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

Comments · 248

  1. Re:WTF on The Commercial Future of Torrrents · · Score: 1

    Just some random ideas:

    1) SSL connections to a centralized tracker: You pay for the content, you download your own .torrent that includes personal authentication information to allow access to the centralized tracker.

    2) Per-user authentications with public key exchanges added to the protocol: You contact a peer, you have to answer a challenge by decoding with the peer's public key (from the tracker) and your private key. Your public key is maintained by the tracker.

    3) All public keys are specific to a given .torrent: New torrent file to share, everyone makes new keys for the transactions.

    I think the key to understanding the "more restrictive" part of it really more understanding that "higher grade content" will require a "less permissive" sharing model. The key to success with any such system, IMHO, is offering content at a price that encourages people to cough up the cash instead of seeking "alternate" distribution networks... Charge $1.00 to download a dvd-quality episode of a one-hour TV show, and you'll see a lot of people who are not likely to go looking for content elsewhere...

    I'm sure there are better ways, but if I were to have a summer to kill on such a project, that's the first step I'd take...

    Is it perfect? I'm sure it isn't. Is it "good enough" to start more serious work? What do you think?

  2. Re:disagreed on a number of points on Successful Strategies for Commenting Your Code · · Score: 1

    I do find the prefixes helpful, but you really do need to be religious about it. I've convinced some of my coworkers to try my style, and the few who've made a serious commitment to it think it's improved their work.

    You'd think that double vs. float thing would be easy to catch, but when you're trying to solve a set of 16 non-linear equations (i.e. 16 variables, with a screen full of calculations), it makes it easy to catch which of the 50 divisions is the one causing you problems. Or, at the very least, if you don't include (or can't easily find) the type information, it makes it really tricky to figure it out.

    Editors and environments have improved somewhat over the state of affairs when I was working on that system, though. It might not be as useful now as it was then. I'll have to look into eclipse, as I've heard wonderful things about it. It may take some training to keep my fingers from the emacs shortcuts, but if it's worth it...

  3. Re:disagreed on a number of points on Successful Strategies for Commenting Your Code · · Score: 1

    I'm the kind of nut that likes (a variant of) Hungarian notation. And I typically have to break my for loops over two lines because I use very descriptive names for my variables, so they aren't really mutually exclusive. When properly followed, it makes this error perfectly clear:

    m_fComplete_pct = 100.0 * ( complete / iTotal );
    Oh, yeah, integer division truncates, and doesn't round. Also, note the unit specifier on the variable. Makes it easier to track time variables in particular (seconds? nanoseconds? timeval?).

    Some people like to complain about having to go change all the references when the type changes (you have). However, I find that if the type can be easily changed from one to another (e.g. double to integer), it's usually worth double checking the logic everywhere that variable is referenced anyway.

    My personal preference for my version of Hungarian notation is based on many years of fixing other people's broken code, and trying to avoid making the same boneheaded mistakes myself. My Hungarian style tells me, at a glance, a variable's scope: m_fComplete_pct is a member variable of a class, complete is a local variable, iTotal is a procedure argument. If it's not a local variable, the type is also indicated: m_f... is either floating point or double, iTotal is an integer. nTotal would be an unsigned integer. Local variables are defined close enough that a page up or two will usually indicate its type. However, in a larger inheritance hierarchy, there's no telling where m_f... would have been defined, so it's handy to drag around its type as well.

    There's a lot more to it than that, but rather than post the whole document, I'll just leave you with the jist of it. The key is consistency, whatever approach you find working for you.

  4. Re:Don't tab inline comments! on Successful Strategies for Commenting Your Code · · Score: 1

    Commandment T: Tab stops shall be set at 8 characters. No more. No less. Indents, I'm not so picky about, as long as they're a factor of 8 (3 and 5 just freak me out...). If you're using a real programming editor (e.g. vim or xemacs, and not notepad!) the editor should keep things straight for you.

    If it gets really bad, there's always: Ctrl+Home, Ctrl+Space, Ctrl+End, Ctrl+Alt+\

  5. Re:2 things on Best Setup for Mapping in Undeveloped Countries? · · Score: 1

    For solar charging of your laptop: http://www.realgoods.com/renew/shop/product.cfm/dp /1000/sd/1006/ts/3415278

    They also have solar battery rechargers and rechargable batteries for the GPS unit.

    I would think the key to what you want is something with plenty of memory for storing the village locations and, perhaps more importantly, the routes to access them.

    Also, some reading material might be useful depending on where you plan on going. (http://www.amazon.com/exec/obidos/tg/detail/-/006 0011602/qid=1121378747/sr=8-1/ref=pd_bbs_ur_1/103- 2873278-2601459?v=glance&s=books&n=507846). Usually includes when the local rebels prefer to lay their mines, how to bribe your way out of various situations without actually offerring to bribe anyone, etc...

  6. Re:(lame comment) on 83,431 Recited Digits of Pi · · Score: 1

    Go on, start reciting them. Let me know when you're done...

  7. Re:And the heating system on If Bad Software Developers Built Houses... · · Score: 4, Insightful

    This is why building codes state unambiguously how thick joist must be, and how far you are allowed between them, how thick posts must be to hold up a deck of size WxD, how to anchor posts to foundation, what to use for foundation, how deep cement anchors must be embedded in the ground, etc.

    "Standards", as far as software construction, are non-existent. Well, there are some style guides out there, but most of them conflict with most others. "Style" guides usually focus on inane issues like indentation and variable naming, instead of including insightful issues like, "C library functions that operate on strings without checking lengths should not be used: (list of functions to avoid)." Classifications of error conditions and how to recover or adequately respond to them are also usually lacking (what's a warning? what's an error?)

    When issues like this are developed for software, and people actually follow them, you'll see greater consistency in software.

  8. Re:Makes more sense than hydrogen on Filling Up On Algae · · Score: 1

    No retrofit necessary for biodiesel. That's the beauty of it. Older vehicles may need their fuel lines and any rubber seals replaced, but they'll need to be replaced anyway to run on ULSD (ultra low sulfur diesel), which will be mandated in the US next year. Even the older cars can use a biodiesel blend (e.g. B5 = 5% biodiesel, B20 = 20% biodiesel, etc.) with no modifications to the cars.

    If gasoline powered vehicles were mandated to be FFV capable (i.e. can run up to E85), we'd be well positioned to transition off of petroleum products for fuel. Or at the very least, to drastically cut back on our transportation energy import needs...

  9. Re:Sirius losing to XM? Absofuckinglutley on Sirius in Negotiations With Apple · · Score: 1

    Sports? NFL? NASCAR? I could care less.

    I have XM, and I'd say, 97% of the time it's pegged on the Punk channel. I don't mean neo-pop-punk like Green Day, Blink 182, etc. I mean real, live, classic, nasty, Punk. The Descendents, Operation Ivy, NOFX, Black Flag, Dead Kennedys. Hell, they even played Mary Prankster last week. Fungus 53!

    The 3% of the time I get to drive the car, it's pegged on Air America Radio (and whatever they fill in the programming gaps with).

    My main choice for going with XM over Sirius was purely number of subscribers. When I checked XM had something like 5 times as many subscribers. And in a medium that doesn't allow cheap switching from one to the other, that's what drove my switching. It's not like cable vs. satellite, tv where you you just send your monthly check to someone else. With satellite radio you're talking an investment of $100 or more. Plus the monthly fee. That's something most people aren't goni to switch overnight for.

    No matter how many Stern fans there are. (There's more to life than Stern, trust me.)

  10. Re:Cross-promotion on Star Wars Sickout · · Score: 1

    No different than CNN hawking Harry Potter and Austin Powers...

    In this case, it's not a right wing conspiracy, it's a "no media diversity" issue.

  11. Re:MPG science on Hybrid Drivers Provide Real-World Mileage Data · · Score: 1

    1) Try it at 65 and see how it goes.

    2) Go 60 uphill, and once you pass the hump, go 70 downhill, see what happens.

    It's impossible to predict exactly how any engine/transmission/car will behave differently with respect to all the variables involved. However, you will get maximum mpg in the highest gear, at the lowest rpm maintainable in that gear.

    I drive a diesel VW, and on my last tank, I got 49 mpg. I keep detailed mileage records, and by far, the most influential factor in mpg is the top cruising speed. Slow it down to 65, and watch your mileage go up 5%. Well, watch mine, anyway. =). Oh, and (for non-hybrid cars), try drive such that you don't need to touch the brakes (coast up to red lights, etc). That's good for maybe another 5% right there.

    Acceleration speed doesn't seem as important, as you don't spend all that much time accelerating, compared to driving at speed. Likewise, if you don't need to hit the brakes, you've not wasted any fuel accelerating faster than you needed to in order to get to your destination. Hybrids reclaim some of the braking losses, so it doesn't affect them the same way as an old gasser or diesel...

  12. Re:Here's how I would handle it. on Network Penetration Scans and Executive Reaction? · · Score: 1

    I have a theory that the job of a purpose of a good network administrator is to keep all unnecessary packets off of the network. This is the result of minimizing what you need to support, and therefore what you need to fix. This is an excellent example of applying this theory.

  13. Re:how about just.... on Daylight Savings Change Proposed · · Score: 1

    Big Oil Lobby.

    Nice thought, though.

  14. No. on EZTree Shuts Down · · Score: 1

    Ian Anderson is the flautist/guitarist/vocalist for Jethro Tull, and as far as I know, is still alive, and making music. Ian Hunter is the former lead singer for Mott the Hoople.

    And, please, Is There Something I Should Know? The only Duran Duran albums worth listening to are the first two... =)

  15. Re:No offense... on mc chris Answers Your Questions · · Score: 1
    Why would you watch several seasons in one sitting of a show you don't like?

    Talking points for the blonde behind you in Chemistry.

  16. Re:Common sense on FTC Tells CompUSA to Pay Up QPS Rebates · · Score: 1

    $30?

    Just yesterday, from CompUSA, no less, I bought a wireless-g router, pcmcia card, and pci card. Price before rebates, $180. Price after rebates, $28.

    Nowadays, it's easier than ever to cash in your rebates. CompUSA and Best Buy print you separate receipts for each rebate, so you don't even have to photocopy them anymore. Although, thanks to the new All-In-One printer,scanner,copier, it's easier than ever to do that, too!

    I just have to remember which rebate gets the UPC, and which one(s) get the photocopy.

  17. Re:Um, no on The Return Of The Pop-Up Ad · · Score: 2, Funny

    Teach me to wait to sign up for an account...

  18. Who would be talking about mass extinction? on Brightest Galactic Flash Ever Detected Hits Earth · · Score: 1

    n/t.

  19. Choose the right toolkits on Migrate Win32 C/C++ Applications to Linux · · Score: 1

    and they'll do the work for you. The ACE libraries are invaluable for cross platform network programming (Winsock? What's that?), and the TAO CORBA implementation can't be beat. I prototype code on my Win32 laptop all the time, copy the same source files to solaris, and recompile with no problems. Well, ok, it took a day to get the makefiles straightened out, but now, I can take the

    For GUIs, I lean towards Tcl/Tk. It's as cross platform as it needs to be, and GUIs really come together fast with it.

  20. Re:Why do programmers hate vowels? on How Not to Write FORTRAN in Any Language · · Score: 1

    But a pointer to what, exactly?

  21. Why do programmers hate vowels? on How Not to Write FORTRAN in Any Language · · Score: 1

    Is tmp really any more meaningful than temp? pnt vs. point?

    As long as programmers remember that source code is not for the computer to understand, but for *programmers* to understand, those of us who get paid to fix broken code will have a much less stressful life...

  22. Whatever algorithm they use... on AI Bots Pick The Hits of Tomorrow · · Score: 1

    it isn't working.

  23. Re:Hydrogen is a Boondoggle - Biodiesel on The Physics of the Hydrogen Economy · · Score: 1

    More importantly, where are we driving so much and why do we need to drive there?

  24. Re:Better Stick on GEICO vs Google Ads: Google Wins · · Score: 1

    Hmm. I wonder if the "bait and switch" legislation could be used in this case. At least as far as the ads go. The problem as I see it is enforcement. It's one thing if major companies buy each other's trademarks as adwords (coke, pepsi, shasta, etc.).

    But you can't just stick to trademarks, as they are somewhat dependent on their target market. "Windows" is trademarked by Microsoft as it applies to the computer industry. "Apple" is trademarked by Apple as it applies to the computer industry, and by an entirely different group when applied to the music industry (thus the lawsuit over the iTunes music store).

    As one of my former bosses used to say, whilst motioning as to offer someone a look inside a soup-sized can, "Worms?"

  25. Re:60mpg? 90mph? Old news I'm afraid on ZAP Smart Car Approved for Sale in the US · · Score: 1

    Once the US switches to ULSD (ultra low sulfur diesel), diesel engines can use the same advanced exhaust treatment systems currently in use in Europe today. The high sulfur content of US diesel fuel kills the nitrate and particle reduction systems. But once ULSD is the national standard, diesel emissions will be no worse than gas engines, and you have the option of running domestically grown, all natural, no-sulfur biodiesel. Yummy.