Slashdot Mirror


User: adamfranco

adamfranco's activity in the archive.

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

Comments · 305

  1. Know of a sanitizing script in PHP? on The Anatomy of Cross Site Scripting · · Score: 1

    I'm developing a GPLed PHP application and was just wondering if anyone knew of an html sanititizing script that would allow for the input of a list of allowed tags.

    I need something with a GPL-compatible license.

    I guess I could just re-write Brad Choates's Sanitize Plugin in PHP, but it would be nice to not have to go through the trouble. :-)

  2. Re:But what about us carousel owners? on LOTR: Two Towers Extended Edition Reviewed · · Score: 3, Funny

    Come on, be creative: install a toilet IN your couch!

    Then, you can put up a website about it, post here, and become a geek GOD!

  3. Re:Internet was free before banner ads on Norton Antivirus 2004 Ad Blocking - Tough Call? · · Score: 1

    You are spot on. I for one pay $15 per year for domain name registration and the costs associated with maintaining my own webserver. Granted my site is not all that interesting except to friends and family, but I am willing to cough up the cost to say and do what I want to say and do with my site.

    I think that the vast majority of providers of interesting and worthwhile -- yes, worthwhile is a personal judgement -- content are willing to pay that minimal (generally less than $75 per year) cost. What will be lost if all advertisement ceases are the hordes of Geocities sites that have long since been abandoned by their authors. Like the parent said, this is not a bad thing.

    The thing that will be "hurt" the most are the revenue streams going to news sites. There may have to be a bit of change in their business model, but the content won't go away. Something along the lines of "Pay to get access to this week's news or see it late for free" might work.

  4. Re:Because the eVACS system is not an improvement. on Touch-Screen Voting Snags Continue · · Score: 1

    I completely agree with you that a paper trail of receipts is needed. This is a feature that should be reasonably easy to impliment though.

    the same issues exist with free software-operated and non-free software-operated voting machines.

    It may be true that the developers introduce similar bugs, errors, and design flaws. The BIG difference though is that open systems allow for the PEOPLE of the country to look for those problems and verify that they are fixed. With proprietary systems, the people must trust the machine provider.

    I don't trust Diebold or ANY voting machine provider with my liberties. I want to be able to check (maybe by via a proxy of a large number of my peers) that the systems are accurate.

  5. Re:SNL Celebrity Jeopardy on 'Matrix Revolutions' Opens Today · · Score: 1

    Unfortunately, until we change our voting system it will be [virtually] impossible to get a third-party president.

    In the USA we use what is called a plurality vote. This means that you choose one person that you want from a list.

    Other ways of voting include the following:
    Approval Vote - check the box next to anyone you wouldn't mind seeing in office. As many or few as you like. The winner is the one with the highest total.
    Borda Count - Similar to the aproval vote, but you rank your choices. Ranking can either start at a given number, i.e. rank your top five choices, or it could allow for the whole field. The winner is the one with the total number of points.

    To use the previous ellection as an example, both of the above methods would allow someone like me to show my approval of Nader, Gore, and Bradly (and maybe even McCain). If we used one of those methods McCain would probably be president as he was generally like by most and seemed like a decent human being (for a republican at least ;-) ).

    Using our plurality vote though, "a vote for Nader is a vote for Bush" as it removes a vote from Gore.

    Another wrench thrown in (and which partially stems from the plurality vote and is completely exasperated as a problem by the plurality vote) is the primary system. In our primary system, the candidates must play to the extremes of their party, meaning that those who go to the general election are not the centrists who most of the country would be happy with. This invariably leads to our constant situation of having to choose between the lesser of two evils.

    Whew. Discover Magazine had an excellent article on this which I got much of my info from.

  6. Why don't we get our system from Australia? on Touch-Screen Voting Snags Continue · · Score: 5, Insightful

    Electronic voting in the US is in horrid shape.

    Seriously, why don't we get/license the well working system that was put in place in Australia? Yes, its not domestically produced, but the source is there and can be verified. If domestic production is an issue, do we have any reason to believe that all of the Windows code in the Diebold machines was written on American soil? Also, it works. When our own system can say that a switch could be considered, but for now I'd like my vote to be counted on software that has proven itself.

  7. Re:Doesn't look promising on 'Matrix Revolutions' Opens Today · · Score: 1

    I guess that I should have said that it would have gone down as one of the top Hollywood movies of all time.

    Compared to the rest of the crap from Hollywood it was pretty good. Compared to movies like Amelie or City of God (an incredible Brazillian movie), the Matrix is something akin a plastic Happy Meal(TM) toy.

  8. Re:SNL Celebrity Jeopardy on 'Matrix Revolutions' Opens Today · · Score: 1

    first line in that particular skit

    If I remember correctly...

    Keanu: "I know kung fu!"
    Trebek: "For the last time; no, you don't."

    Off-topic, but who cares! :-)

  9. Re:Doesn't look promising on 'Matrix Revolutions' Opens Today · · Score: 2, Insightful

    But that's Hollywood for you - you can't just make one great movie and leave it alone.

    This is the thing that is most sad about the current situation with the Matrix. If they would have just let the original stand alone, it would forever go down as one of the top movies of all time. All its open-ended questions would continue to keep people coming back to it for years (I've seen it probably 20 times so far).

    The advent of the sequels simply ruins the aura and mystery surrounding the original by explaining away most of the parts that could be taken as insightful or even philosophical and replacing them with crap that is trying way too hard to sound philosophical.

    On top of all that, Keanu was incredible in the first one precisely because he was playing a char actor that was supposed to have no clue what was going on (his only mode of acting) and that was being pushed by others to his destiny. Now that he has reached that destiny, he just looks like an out-of-his-intellectual-league nitwit like he does in Speed and all the rest of his movies. Watch the SNL Celebrity Jeprody episode featuring "Keanu" for an intelligent critique of him as an actor. ;-)

  10. Re:Linux for the desktop - it's already here on Red Hat's CEO Suggests Windows For Home Users · · Score: 1

    While I heartily aggree with you on Debian packages and absolutely love the Debian box a friend set up for me, Debian really needs a slick and easy installer like Red Hat has. This past weekend I spent about 15 frusterating hours try first to do a chroot install from Red Hat, then installing from a floppy, only in the end to have the whole thing unable to read my LVM and refuse to do much of anything.

    I guess I'll try a Knoppix install next weekend, but that means I'll have to remove all kinds of crap. Anyway, I have been using Red Hat, Mandrake, Libranet, FreeBSD, and Debian on my various desktops and servers for going on two years (I even just got Battlefield 1942 running via WineX -- SCORE!) and I still am having a bitch of a time getting Debian going.

  11. Re:A serious question on Red Hat Linux Support To End · · Score: 1

    I make my living writing open source software. I eat. I'm not rich, but I get by and love what I do.

  12. Re:Easiest diet ever... on Hackers On Atkins · · Score: 1

    It doesn't differ from calorie counting with the exception of fiber content affecting the value.

    Why would I pay $45 for it? Well, they have a huge database of both generic and brand-name foods with the values already worked out. I head to, say Au Bon Pain and eat their Turkey Club. Searching the database reveals 14points (and allows me to pop it over to my day's meals), no more measuring or looking up ingredients needed. Likewise, the online points tracker and low-calorie recipie search are just easy to use. For me, the difficulty of other diets caused me to stop using them after a short time. This is so easy that I have no excuse not to stick with it.

  13. Re:Easiest diet ever... on Hackers On Atkins · · Score: 1

    if its a Butterfingers candy bar its zero points (or insert whatever random marketing oppurtunity that paid for it)

    Well, I just looked up Butterfinger and got a result of 6 Points, or about 1/5 of my daily total. Seems to be pretty accurate. Like I said before, I like this because of the lack of gimmick. No products (shakes, bars, etc) being pushed as far as I can tell.

  14. Re:Easiest diet ever... on Hackers On Atkins · · Score: 2, Interesting

    In the most basic way, this is what the WeightWatchers diet is. After trying just about every diet out there (with little success) I started on the WeightWatchers program. I must say that it is the most reasonable and straight forward diet that CONTINUES to work in the long term. The one and only rule of the plan:

    CaloriesIn = CaloriesOut

    Basically, the WeightWatchers plan just simplifies the calculation of how many calories you are taking in and burning so that you can keep the ratio appropriate. When I first started last month I was quite surprized to find out that on my average day I was eating about TWICE what I needed. I eat pretty healthily in general, bike to work, and do ~15 hours of aerobic exercize per week, but it was all those little things that kept blowing my calorie intake through the roof and preventing weightloss. A perfectly healthy meal can be completely ruined by ranch dressing, cream in my coffee, a butter pat, and a cookie.

    Anyway, to make an increasingly long story short, via the WeightWatchers program I learned where my food choices could be slightly modified in order to drastically cut my calorie intake. You only loose 2 pounds per week, but you just keep loosing it without any cravings, since there are no "banned" items. If you want cheesecake or a big night out, bank up points the rest of the week or exercize that day. Just keep that "CaloriesIn = CaloriesOut" equation true.

    Oh a more geek note: The WeightWatchers site is pretty awesome. Their browser sniffer doesn't like Mozilla Firebird, but spoofing to Netscape fixes that. The main part is a "Points tracker" interface where you search for and enter what you ate for the day. Its really easy and they have a HUGE database of the "Points (TM)" values for just about every food. No need to read the nutrition info on packages. Lots of other cool stuff like a weight-tracker which plots your weekly weight progress. Just well designed stuff (with the exception of the browser sniffer bit).

    Sorry to keep ranting on, but this has been the most helpful thing for me primarily because there is no gimmick. There's just education on where to find and how to go about eating fewer calories in every-day fair.

    Anyway, I hope this helps someone. The $45 fee for the online service is DEFINATELY worth it. If nothing else, it gives you a monitary guilt trip for sticking to it for the first month. :-) My first month I lost 10 pounds (199lbs down from 209 at 5'10") and am continuing to drop. And, I still eat cheesecake; just now on days where I exercize enough to make up for it.

  15. Re:One lone vote... on Lindows Announces Nvu - Frontpage For Linux? · · Score: 1

    I must agree heartily with you. I use BBEdit all day every day developing web apps in PHP and it is the greatest thing ever. Some favorite bits:

    - REALLY easy to use global find and replace (with regexs if desired).
    - Diff viewing between files.
    - Keystrokes set-able for things like
    /*********
    * Comments
    *********/
    - Keystrokes for indenting/denting the currently hightlighted text.

    Basically, BBEdit just rocks and the menu structure is logical without lots of button-bars to swap in and out (like Bluefish). At home I use vi, but for heavy coding, BBEdit is king.

  16. Re:Rsync and Ssh on Distributed Data Storage on a LAN? · · Score: 4, Informative

    Here is a nice page that explains how do do this. Even better, it shows how to do nice incremental backups using only slightly more space than the source (for the differing file versions). This makes for a pretty cheap and easy backup solution.

  17. Re:What's the Ferrari's "limited range"? on The World's Fastest Electric Car · · Score: 1

    What percentage of people live more that 150 miles from work though? For most its less than 50. With normal driving amounts (not counting long trips) you would only need to charge every two days or so.

    I drive a little Honda that gets 33 miles to the gallon (with an 11gallon tank) and I only fill up every two weeks. Granted, I usually bike to work, but this car would be great for me if it didn't cost so much.

  18. Re:Where's the energy saving? on The World's Fastest Electric Car · · Score: 1

    The most important fact here is that most powerplants are not emitting their pollution directly onto crowded downtown streets.

    Actually, the two most important factors separating power-plants from autos are as follows:

    1) Efficiency of generation increases as the power-pant grows. Small gas engines are much less efficient than large diesel-powered generating stations or train engines.

    2) Localized pollutants are easier to collect By law (at least in the US) power plants are required to have high-tech chemical scrubbers that remove all sorts of nastyness from their exhaust. Because of the variablility of operating environments and size/weight requirements for autos, these scrubbers are not possible for mobile use.

    For these and the reasons you mentioned, "bottled energy" from power-plants via batteries, hydrogen, or something else is much cleaner than a gasoline engine.

  19. Re:If you are too cheap for an AV program.... on Top 10 Software Titles Every Home PC Needs? · · Score: 1

    The rest of these replies all say good things about Firebird, and I agree.

    I HAVE been using Thunderbird -- since the day after it was released.

    Opinion: Awesome, with a few caveaots. Thunderbird works great. I have never had it crash, stop working, or do anything unexpected. It just works, and well.

    The only issues with thunderbird are the few un-implimented features:
    - can't put signatures before replies
    - lack of system integration on *NIX machines means that you have to copy paste links instead of clicking.
    - A couple of other things, but I couldn't find them. :-)

    Perfectly adequate for most people (who can copy/paste a link)

  20. Re:Only /home? on Viruses and Market Dominance - Myth or Fact? · · Score: 1

    Remember, it is the *DATA* that is important, not the programs.

    For viruses to spread and cause this data-loss, they have to be (and use) programs. If they can't do this, then they can't propagate or delete your data.

    If any binary (compiled for your distro/architecture) named "*.exe" can delete or overwrite data on your coworker's system, then spread itsself to your identical system, then your data is in trouble. If it can do the delete bit, but not the propigation bit, then your data is a bit more safe. If it can't do either (as in it needs to explicitly be given "execute" permissions to do ANYTHING), then your data is even more safe.

    Yes, data is the thing to care about (and bandwith of your internet connection), but securing that requires preventing programs (viruses are programs) from running which you don't want to run.

  21. Re:Mod parent up! on Viruses and Market Dominance - Myth or Fact? · · Score: 1

    Well, OS X falls into just about everyone's definition of an "easy to use computer", though for many no computer is easy. It uses the standard unix file permissions and root access through intelligent use of sudoers. Easy to use and secure.

  22. Re:Scum on FBI Investigating Lamo Via Patriot Act Provision · · Score: 1

    Well, I voted for the lone independent in the House, Bernie Sanders, and he voted against the USA-PATRIOT Act. Unfortunately our independent senator, Jim Jeffords, and democratic senator, Patrick Leahy, both voted for the shit. They WILL be grilled on that when their re-election comes if I have to travel to meet with them or track them down on their way to starbucks.

    I guess my point is, independents SOMETIMES can happen and work, but you need a tiny liberal/libertarian (its a weird New England combo) to make it happen. Vermont is pretty cool in this respect; there is a socialist bent toward providing education, healthcare, and environmental protection mixing with a libertarian bent of keeping the government from telling people what to do with themselves outside of the above mentioned areas.

  23. Re:It may be non evil... on Magnatune - a Non-Evil Record Label? · · Score: 1

    The thing I like about Magnatune vs. emusic is the low cost of entry. I was checking out emusic last week, but the up-front cost is pretty high (I seem to remember $120). Even if I am paying more in the end, the $6 here, $6 there model is easier to get into.

    Maybe if emusic had both models I'd be more inclined to use it.

  24. Re:It may be non evil... on Magnatune - a Non-Evil Record Label? · · Score: 1

    I just listened to, then bought the above-mentioned album. Pretty frickin cool.

  25. Torrents? on 2.4GHz Wireless Video from Model Rocket · · Score: 1, Offtopic

    Can someone who actually downloads these put up some .torrets? There seems to be little hope of seeing these already...