Slashdot Mirror


User: QuoteMstr

QuoteMstr's activity in the archive.

Stories
0
Comments
2,609
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 2,609

  1. Re:pop. 600,000 (and up) on High-Tech Start-Ups Put Down Roots In New Soil · · Score: 1

    You probably want the US Metro Area Rankings instead, actually. Unfortunately, a lot of economic activity occurs outside of cities. (tl;dr: sprawl.)

  2. Re:More to it than that. on IBM Wants Patent For Regex SSN Validation · · Score: 1

    I never stated that regular expressions were limited to matching strings with limited length; instead, I said that strings of limited length could be matched by regular expressions. A rudimentary familiarity with logic may be useful to you.

  3. Re:More to it than that. on IBM Wants Patent For Regex SSN Validation · · Score: 1

    Right. A finite length is a sufficient, but not necessary condition.

  4. Re:More to it than that. on IBM Wants Patent For Regex SSN Validation · · Score: 3, Informative

    Strictly speaking, it does, but it might be large. As a quick and dirty test, here's the result of evaluating (regexp-opt (loop for x from 0 to 700 collect (format "%d" x )) nil) in Emacs:

    "1\\(?:0[0-9]\\|1[0-9]\\|2[0-9]\\|3[0-9]\\|4[0-9]\\|5[0-9]\\|6[0-9]\\|7[0-9]\\|8[0-9]\\|9[0-9]\\|[0-9]\\)\\|2\\(?:0[0-9]\\|1[0-9]\\|2[0-9]\\|3[0-9]\\|4[0-9]\\|5[0-9]\\|6[0-9]\\|7[0-9]\\|8[0-9]\\|9[0-9]\\|[0-9]\\)\\|3\\(?:0[0-9]\\|1[0-9]\\|2[0-9]\\|3[0-9]\\|4[0-9]\\|5[0-9]\\|6[0-9]\\|7[0-9]\\|8[0-9]\\|9[0-9]\\|[0-9]\\)\\|4\\(?:0[0-9]\\|1[0-9]\\|2[0-9]\\|3[0-9]\\|4[0-9]\\|5[0-9]\\|6[0-9]\\|7[0-9]\\|8[0-9]\\|9[0-9]\\|[0-9]\\)\\|5\\(?:0[0-9]\\|1[0-9]\\|2[0-9]\\|3[0-9]\\|4[0-9]\\|5[0-9]\\|6[0-9]\\|7[0-9]\\|8[0-9]\\|9[0-9]\\|[0-9]\\)\\|6\\(?:0[0-9]\\|1[0-9]\\|2[0-9]\\|3[0-9]\\|4[0-9]\\|5[0-9]\\|6[0-9]\\|7[0-9]\\|8[0-9]\\|9[0-9]\\|[0-9]\\)\\|7\\(?:00\\|[0-9]\\)\\|8[0-9]\\|9[0-9]\\|[0-9]"

    What regular expressions can't do is match strings that aren't described by a regular language. Roughly speaking, if what you're trying to match has a maximum length, you can match it with a regular expression. (For a more formal description, see the Pumping Lemma.)

  5. You reap what you sow on Canada's Conference Board Found Plagiarizing Copyright Report · · Score: 5, Insightful

    This is the kind of crap that results from a casual disregard for plagiarism in schools. It's awful here in the states, and I imagine just as bad in Canada. Copying that freshman assignment leads to copying conference reports later on in life. Any form of plagiarism is corrosive to real progress.

  6. Re:Bulletin? Bulletin? on BPA Leaches From Polycarbonate Bottles Into Humans · · Score: 2, Interesting

    Not anywhere near quickly enough, considering that the vast majority of polycarbonates still contain BPA. As long as the cost saving of BPA exceeds the sales lost, companies won't move a bit. Parents with young children tend to be hyper-vigilant, so sure, companies will remove BPA from baby bottles. But people don't pay as much attention to other products.

  7. Re:Bulletin? Bulletin? on BPA Leaches From Polycarbonate Bottles Into Humans · · Score: 4, Insightful

    Can the US government finally get on the fucking ball and ban BPA? I'm sick of catering to business interests.

  8. Re:I've always wanted something like this... on The Future Might Be BIOS and Browsers · · Score: 1

    It's just the inner platform effect all over again

    Thanks.

  9. We have no history on The Future Might Be BIOS and Browsers · · Score: 4, Insightful

    We repeat the same lessons every generation, don't we?

    We have our own terrible business languages, our own non-relational databases*, our own stupid development fads, our own overwrought RPC protocol, our own profoundly ignorant ways to "disable" things for the user, our own wasteful incompatibilities, our own locked-down propretiary platforms, and the same casual disregard for proper security.

    This industry has no sense of its own history. Instead of benefiting from the innumerable hours past programmers spent solving universal problems, we ignore and reject their work, and with only a few exceptions, we spend countless hours solving solved problems.

    By the time we work through the mess, another generation of programmers will have rejected our work, and will be well on the way to repeating the cycle. It's depressing as hell.

    (Come to think of it, I don't think I've ever written a post that offended so many software developers simultaneously.)

    * RDBMs systems didn't come first; people started using them over navigational databases for good reasons that still apply today.

  10. Re:Umm, welcome to recursion on The Future Might Be BIOS and Browsers · · Score: 1

    Let's call this process the Virtualization Treadmill, like the better-known Euphemism Treadmill.

  11. Re:Prediction on Right-to-Repair Law To Get DRM Out of Your Car · · Score: 1

    Or are people not suppose to vote for the guy who they feel is the most qualified? When did casting a ballot equate to throwing away your vote if your guy doesn't get elected?

    Yes. That's our system. It's not the one we should have, but it's the one we do have. To cause change, we either need to work within the system or start a revolution, and me, I'd much prefer the former, thanks.

  12. Re:Good. on Right-to-Repair Law To Get DRM Out of Your Car · · Score: 1

    My Prius already *has* a perfectly good touchscreen. There's no reason it couldn't also display diagnostic information.

  13. Re:Doesn't anyone read the warnings? on Craigslist Fights Back, Sues SC Atty General · · Score: 4, Insightful

    Craigslist makes money and regardless of my feelings on free speech, it shouldn't be profiting from illegal activity.

    Are you implying that your opposition to illegal activity is stronger than your commitment to free speech? That's the sentiment evil men use to create nightmare police states.

  14. Re:Good. on Craigslist Fights Back, Sues SC Atty General · · Score: 4, Insightful

    Sufficient demand for a service will create a market. Maybe, instead of trying to plug the extraordinarily leaky dike holding back vice, we should embrace, tax, and regulate it. Craigslist prostitution ads aren't a problem per se: they merely constitute another signal telling us it's time to re-examine some of our old prejudices.

  15. Re:Design or implementation flaw? on Mac OS X Users Vulnerable To Major Java Flaw · · Score: 4, Interesting

    technical details here.

    The gist of it that the Java Calendar code temporarily elevates its privileges in order to deserialize a ZoneInfo object. If you substitute your own object's serialization for the ZoneInfo, you can get the Java runtime to create any object you want. Some questions:

    1. Didn't anyone realize how dangerous arbitrary privilege elevation is?
    2. Didn't anyone think that it might be overkill to elevate privileges in order to read a timezone?
    3. How many other similar vulnerabilities are lurking in the standard library?
  16. Re:The Difference Between Science and Politics on Ocean Circulation Doesn't Work As Expected · · Score: 1

    I know you're kidding, but holy crap are hybrids ever fools' gold. The nerd in me thinks that regenerative braking is too cool of a technology to just ignore, but we need to figure out a do this without causing more NET carbon output, and without the terrible battery-chemical-mining pollution to boot.

    When will you people stop touting this ridiculous myth? It's been thoroughly debunked.

  17. Re:But does it work? on Court Orders Breathalyzer Code Opened, Reveals Mess · · Score: 1

    scientifically proven

    Science "proves" nothing. It merely provides supporting evidence. You should be automatically skeptical of anyone who uses the phrase "scientifically proven" --- either he's lying to you, or he doesn't know the caveats that go along with the scientific method.

  18. Re:This should be a lesson... on Hacker Destroys Avsim.com, Along With Its Backups · · Score: 5, Informative

    pv < /dev/zero > /dev/device is pretty nifty too.

  19. Re:backwards on NY Bill Proposes Fat Tax On Games, DVDs, Junk Food · · Score: 1

    That's an excellent idea, actually: a (non-refundable) tax credit for gym memberships, exercise equipment, and so on. Write your congresscritter and propose it. (Or write your state legislator, who might be more responsible.)

  20. Re:SCTP an interesting example on Have Sockets Run Their Course? · · Score: 1

    There was a kernel bug, and most likely also a bug in the OP's program. No program, no matter how badly written, should cause a kernel panic.

  21. Re:SCTP an interesting example on Have Sockets Run Their Course? · · Score: 1

    select and poll are perfectly fine for small network daemons. Sometimes the reduction in code complexity is worth a negligible performance hit. Not every program needs to wait on 10,000 sockets all at once.

  22. Re:SCTP an interesting example on Have Sockets Run Their Course? · · Score: 3, Informative

    It works, but it is not nice.

    So use a wrapper, like sctp_send from libsctp. There's no reason the kernel proper has to export these interfaces.

  23. Re:Paying in Pennies on The Pirate Bay Seeks Interesting Route To "Pay" Fine · · Score: 1

    and this is Iowa

    Iowa's a mighty progressive place these days, actually. I'm from New York, and even I have to admit that Iowa City isn't half bad.

  24. Re:That's an interesting way to bankrupt a company on The Pirate Bay Seeks Interesting Route To "Pay" Fine · · Score: 4, Informative

    There's a $0.25 limit on payment in small coins (e.g., pennies) and a $10 limit on payment in large coins

    There is no such limit.

  25. Re:A Message From a Loyal Fan (Maybe Spoilers) on Is a $72.5m Opening Weekend Enough For Star Trek? · · Score: 1

    Indeed. Transporters are too powerful and require too many plot contortions. Every Trek series has had to deal with these devices by finding ways to temporarily disable them and move the plot forward. If transporters would stop working and if time travel were to become impossible, the Trek universe would be better off for it.