Slashdot Mirror


User: Just+Some+Guy

Just+Some+Guy's activity in the archive.

Stories
0
Comments
11,329
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 11,329

  1. Re:MS BJ's on Microsoft Office 2007 to Support ODF - But Not OOXML · · Score: 1

    Patty the Daytime Hooker? Yeah, we'd complain.

  2. Re:These guys have balls on Mac Cloner Psystar Ships First Service Pack · · Score: 1

    EULA's are not active contracts, and are largely invalid because you cannot read them in entirety (or at all usually) on the packaging before making your purchase, leaving you vulnerable to stipulations that were unknown at the time of purchase.

    Out of curiosity, what's to prevent you from modifying software you bought to remove the EULA dialog before you ever agree to the EULA? Since that's not an inherently illegal action, wouldn't that be a positive defense?

    Publisher: Your honor, the EULA says he can't do that!
    Defendant: I removed the EULA before I read it.
    Publisher: That's not allowed! I says so right there in the EULA!
    Defendant: Which I never read.
    Judge: Dismissed.

    Any lawyers care to opine?

  3. Re:Python comes with SQLite on F/OSS Flat-File Database? · · Score: 1

    Which is fine. Adapters don't have to support all the styles, they just have to tell you which one they support.

    Did I other imply otherwise? :-) I just wish the sqlite3 module maintainer would update it to use pyformat params, although it's still perfectly functional.

  4. Re:how about... on F/OSS Flat-File Database? · · Score: 1

    It does require a little more sophistication than just reading the file a line at a time and splitting at the commas, but not much more.

    I was being a little rhetorical, having parsed CSVs before. Still, in no way can that be considered "a little more sophisticated". Given a file with a unique separator - that is, one not contained in the data - you can darn near mmap() the file and walk across it. That small bit of extra processing to handle escapes can easily add an order of magnitude more cycles to the workload.

  5. Typo hunting on UK Teen Cited For Calling Scientology a "Cult" · · Score: 0, Offtopic

    starting about 1 munite in

    What's a munite? And what's it in?

  6. Re:how about... on F/OSS Flat-File Database? · · Score: 1

    a comma delimited file?

    Umm... just write a few one-liner perl scripts to get info out.

    Those inevitably suck for almost anything where the data isn't guaranteed to be 100% consistently formatted. If a column is zip codes, you're probably OK. If it's a company name, say, you're good until the first time you need to store "Acme, Inc.". How do you escape commas? Do you quote the whole column? If so, then how do you escape quotes?

    CSV files are of the devil. They're so attractively simple at first, then BAM!, they get you when you least expect it. At least consider less-common characters like pipes or carets.

  7. Re:Python comes with SQLite on F/OSS Flat-File Database? · · Score: 1

    Actually, the Python SQLite adapter supports the standard Python DB API (PEP 249), and so you can just follow its recommendations (which includes using placeholders).

    Yes and no. While it's DBAPI 2.0 compliant, it only supports the "qmark" paramstyle:

    >>> sqlite3.paramstyle
    'qmark'

    (Python 2.5.2 on FreeBSD 7.) The "named" paramstyle looks an awful lot like dkf's Tcl example. My favorite is "pyformat", such as in my PostgreSQL example, but alas sqlite3 was telling the truth above when it claimed not to support it:

    >>> mydb.execute("insert into contacts values(%(first)s, %(last)s, %(email)s)", {'first':'Spooky','last':'Monster','email':'spook@spammity.spam'})
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    sqlite3.OperationalError: near "%": syntax error

    "qmark"-style parameters are just fine, though:

    >>> mydb.execute("insert into contacts values(?, ?, ?)", ('Spooky','Monster','spook@spammity.spam'))
    <sqlite3.Cursor object at 0x83206e0>
  8. Re:Python comes with SQLite on F/OSS Flat-File Database? · · Score: 2, Informative

    I don't know if the python bindings are of that same quality; if they are, they're top notch.

    The sqlite3 module as shipped with Leopard says that it supports question mark substitution, so his example would be better written like:

    mydb.execute("insert into contacts values(?, ?, ?)", ('Spooky', 'Monster', 'spook@spammity.spam'))

    BTW, the same could be written for PostgreSQL like:

    mydb.execute("insert into contacts values(%(first)s, %(last)s, %(email)s)", {'first': 'Spooky', 'last': 'Monster', 'email': 'spook@spammity.spam'})

    Hopefully sqlite3 will get the same standard substitution in the future, but at least it is possible to do it safely today.

  9. Re:Sigh.. on Greenpeace Complains Game Consoles Aren't Green Enough · · Score: 1

    Justin Timberlake?

    James Taylor, son.

  10. Re:Lies, Damn Lies, and Apple sales figures on 66% Apple Market Share For Sales of High-End PCs · · Score: 1

    Take a look at a brick and mortar store retail store that sells computers. You probably won't see anything over $1000, because that's not what the market that buys computers there wants.

    Take a look at a new car lot. You probably won't see anything over $50,000, because that's not what the market that buys computers there wants. Unless there's a BMW sign over it.

    Why is it so hard to believe that people want luxury items? Sales of HD TVs are through the roof, and apparently some people are even buying Blu-Ray players. Is it impossible that the same people with that level of disposable income might - gasp! - want a nice computer, too?

    Put differently, the gap in absolute price between an average Dell and an iMac is a whole lot smaller than the difference between a Ford and a Mercedes. I'm not in the least surprised that quite a few people who can afford the small luxuries in life think that Apples are a good deal.

  11. Re:Correction on 66% Apple Market Share For Sales of High-End PCs · · Score: 2, Informative

    I guess it must be true if you read it on the mac site?

    Forget apple.com. How about The Open Group saying that OS X is Unix?

  12. Re:A friend.... on Anti-Keylogging Recommendations? · · Score: 1

    Actually, I think "spouse" is pretty relevant. Think your babysitter's digging through your hard drive? Get a new one. Don't trust your maid? Get a new one. Landlord gives you the creeps? Move. But it'd be a whole lot harder to just get rid of a spouse (ask Hans), and the emotional consequences for doing so are hopefully more significant than deciding not to hire the same plumber next time.

  13. Re:Impossible on Anti-Keylogging Recommendations? · · Score: 1

    Well, I meant those as examples, not an exhaustive list. But yeah, there's an almost unlimited number of ways an attacker could get information.

    Oh, and another protection: format the drive, re-install Windows, and immediately install TrueCrypt to encrypt the entire drive (same idea for Linux, but the original question was for Windows). That should go a long way to prevent non-hardware attacks.

  14. Impossible on Anti-Keylogging Recommendations? · · Score: 2, Insightful

    There's no way to be 100% certain that nothing's being logged. Possible data gathering points:

    • Software logger in the OS
    • Rootkit
    • Keyboard plugged into a hardware logger
    • Keyboard contains a hardware logger
    • Computer case contains a hardware logger
    • Linksys router is actually running Linux, using tcpdump to log outbound packets or forward them to another computer

    No, there is no software you can run that will tell you if you're being monitored, by virtue of the fact that such software is impossible.

    Have her get a cheap laptop - maybe an Eee PC - and configure OpenVPN to a friendly router. You're a geek, right? If you're serious about her privacy, make it happen.

  15. Re:Just say no on Keeping Customer From Accessing My Database? · · Score: 1

    Due to other client data being in the same database I am unable to allow you access.

    Note that the story didn't mention anything about other clients, and if that was actually an issue, I think management would probably have nixed the idea already. As much as we tend to joke about PHBs, darn few are unable to grasp that concept.

  16. Re:A simple suggestion on Keeping Customer From Accessing My Database? · · Score: 1

    You are selling them INFORMATION that you compile from YOUR data... you are not selling the data itself.

    That's the kind of thing you have to establish well before this point, though. It might be awfully hard to make the case that their queries is fundamentally different from the output of your queries.

  17. Don't be a jerk on Keeping Customer From Accessing My Database? · · Score: 1, Insightful

    As a DBA, my heart sinks at the thought of amateurs pawing through my database. Unfortunately, 'because you are stupid' is not considered a valid business reason to reject their request. So can any Slashdotters assist me in building my case to restrict access? Have you experienced a similar situation? Have you had to support this sort of end user access? How would you advice me to keep my customer away from my precious tables?

    Let me translate that into non-Oracle DBA terms:

    "Whine! Whine! Whine! I hold the key! Me! This is magic! Whine!"

    Another translation into Customerese:

    "It's my data AND I WANT TO SEE IT, NOW!"

    Seriously, what non-ego-driven reason do you possibly have from not allowing your customers to access their property, aka "their data"?

  18. Re:It's not completely their fault on Carl Icahn Takes on Yahoo's Board · · Score: 1

    As far as I know, IBM has never complained that they didn't get the operating system they were promised.

    For a parallel, see check kiting. Banks don't particularly like it when you make promises in hopes of being able to keep them.

  19. Re:yes, I use it on IE 7.0/8.0b Code Execution 0-Day Released · · Score: 2, Funny

    Sorry, I could not keep from modding this funny.

    It didn't take.

  20. Re:It's not completely their fault on Carl Icahn Takes on Yahoo's Board · · Score: 1

    That depends.. Did he giggle during the execution?

    The hanger or the Cub Scout?

  21. Re:It's not completely their fault on Carl Icahn Takes on Yahoo's Board · · Score: 1

    None of that is evil. Deplorable, yes. Despicable, yes. Devoid of ethics, yes. Evil, no.

    What does a fella have to do to earn the "evil" label in your book? Hang a Cub Scout?

  22. Re:It's not completely their fault on Carl Icahn Takes on Yahoo's Board · · Score: 5, Insightful

    This is Slashdot, for heaven's sake - the most popular place on the Interweb where one of the world's richest men can take the billions he has personally earned as the Former CEO of one of the most successfull software companies in the world and give it away to save lives and fight HIV/AIDS and a host of other diseases that kill millions of children each year...and be called "evil".

    He's called "evil" because he got his money by

    • Monopoly abuse ("that's a nice little program you've got there, Stac...")
    • Running competitors into the ground (no, that's not business as usual)
    • Raw hypocrisy ("Open Source is Evil. Just don't look at ftp.exe.")
    • Flat-out fraud ("sure, IBM, I have an OS I can sell you")

    The guy's an ass who's held computing back for the last 25 years through actions that'd get you and me imprisoned, or at least run out of business.

    By your logic, it doesn't matter how he got his wealth as long as he gives a little bit away. Well, nuts to that. Warren Buffett's doing pretty OK for himself and I'm unaware of any similar allegations against him.

    It's OK that Bill's fake-donating money to charity, but he's still an ass.

  23. Re:The one feature common to all now - bloat and s on Moving Toward a Single Linux UI? · · Score: 1

    Here's a twenty; go buy some RAM.

    Yeah, I miss my Amiga too, but at $20 a gig, I don't mind throwing a little memory at a problem if it means I can develop robust software in a tenth the time.

  24. Re:Multiple UI is probably a good thing. on Moving Toward a Single Linux UI? · · Score: 3, Informative

    But they are completely unsuitable on my thin clients.

    How thin are you talking? KDE 3.5 runs pretty good on my K6-3/333MHz laptop with 384MB of RAM, and it's actually fast on my Eee PC at 630MHz.

  25. Re:They already have a common UI. on Moving Toward a Single Linux UI? · · Score: 1

    My first Unix window manager was Window Maker, and for some reason I always lumped it in the same category as AfterStep. Tell me, what is it about AS's virtual desktops that you like so much?