Slashdot Mirror


User: JohnBaleshiski

JohnBaleshiski's activity in the archive.

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

Comments · 32

  1. Hello World is easy in PHP. on PHP 5 Recipes · · Score: 5, Funny
    Pfff, "Hello World!" is cake in PHP. They really couldn't make it easier:
    <?php
    $arrData = array(72,101,108,108,111,32,87,111,114,108,100,33) ;
     
    for($i=0; $i<count($arrData); $i++) {
            $char = $arrData[$i];
            $char = fConvertChar($char);
            print $char;
    }
     
    function fConvertChar($char) {
     
            $char = 72 + 2 * $char / 4 * 2 - (8.32 * 8.65384);
            $char = chr($char);
            return $char;
    }
     
    ?>
  2. Re:Same basic idea, but the execution is different on DIY Projector Plans Released · · Score: 1

    > Dude... this is someone who builds their own LCD projector. What wife? I have a wife and I'm going to build one when we get our house early next year. Of course, she told me not to waste my money and forbid me (almost) from doing it. That, my friends, is what the finished basement is for. She will have no say in what I can do or not do there. I'm going to heat our house in the winter not from oil, or gas, but from cpu exhaust. Of course you give up other things that that privilege - such as the rest of the house now belongs to her. :)

  3. Re:Newsweek and Slashdot: redefining fluff. on Google's Ten Golden Rules · · Score: 2, Insightful

    > Wow...an article written by Google about how great Google is...the very definition of conflict-of-interest.

    Your grasp on marketing is outstanding. :) Seriously, no offense meant but that's what every successful company does. "We're great and here is why..." Would you buy from a company that said "We are not great?" Didn't think so.

  4. Re:The full text of the book on Hardening Linux · · Score: 1

    > ifconfig eth0 down
    > There, I've save y'all $20

    That only partially secures the box. If you have multiple IP addresses, you MUST stop all of them like so:

    ifconfig | grep Link | awk '{print $1}' | perl -e 'while() { $_ =~ s/[\n\r]//g; system("ifconfig ${_} down"); }'

    NOW your box is secure, from the net at least. :)

  5. Re:Read the Fine Summary on Intel Mac OS X Catches Up With Older Brother · · Score: 2, Informative

    > I give the hackers a week, if not more than a
    > month, to find a way around it and release the
    > unprotected ISO on the P2P networks.

    You underestimate hackers. OSX 10.4.3 is already distributed, and yes, TPM has been cracked. And it probably was as trivial as changing a JE/JZ instruction to an unconditional JMP. I'd be surprised if they didn't have this check in my locations, install and OS though. THere are probably a few checks that are still there but have not yet been triggered.

    I give hackers about a day to break 10.4.4 when it comes out. Apple is really wasting their time.

  6. Re:I can't believe AOL got fined for this on AOL Fined for Making it Hard to Cancel Service · · Score: 0, Redundant

    [quote] When I wanted to cancel my AOL service, all I had to do will fill out a form. The form was conveniently located in the basement at the bottom of a locked filing cabinet, in a dis-used lavatory with a sign on the door saying 'Beware of the leopard.'[/quote]

    Well you found the form, didn't you?

  7. Image is easily defeated on SiteKey to Prevent Phishing · · Score: 1

    Once you have the credentials, the phishing webserver and make a call to the real site and return what the site presented.

    You can't rely on a webpage for security. Period. Other authentication methods are needed.

  8. Re:CmdrTaco == automated script on AMD Alleges Intel Compilers Create Slower AMD Code · · Score: 1

    It wouldn't be a Perl compiler. If anything, that's php. If it was perl, the subject would be "CmdrTaco eq automated script" :P

  9. Re:No comments and /.ed already? on Zalman Showcase Massive P4 Heatsink · · Score: 1

    Coral cache links? No offense to anybody involved in the project, but I'm not sure they are worth it. They are always slow for me. Always. Maybe the coral network is slashdotted??

    Try http://mirrordot.org/ instead
    Picture and article comes up just fine.

  10. Re:PHP not OOP??? Hah! on Microsoft IIS v7 Details Emerge · · Score: 1

    > loosely typed variables are very much a bad thing

    No argument here. Using hungarian notation makes life a little easier, but certain bugs can still appear without strong type casting.

    > OO doesn't even come close to the real deal

    What does it lack?

    > no support for SOAP or any of the WS-* technologies

    PEAR modules can provide these.

    > OO manages to be a factor 2 to 3 times slower than it was in PHP 4

    gcc 3.0 was slower than gcc 2.9 but it is now much faster. PHP5 is not mature. We still use PHP4 although PHP5 provides some nice features.

    > Lastly, for something that's generally accepted to be open-source, it's a remarkably expensive platform to develop for

    Real men use vi. ;) Just kidding of course. Although I use vi about 70% of the time, using Ultraedit or notepad for that matter on Windows is very cheap / free. We have not had any need for Zend Studio yet. So far our linux development, staging, and production environments have cost nothing so far in terms of being able to develop in PHP.

    I admit that I'm an open source zealot. I will say C# (I hate VB and ASP) is a nice language. Having coded in C/C++ before, it was very easy to sit down and "just do it" to steal Nike's slogan. On the other side, coming from a perl background, PHP was also very easy to pick up.

  11. PHP not OOP??? Hah! on Microsoft IIS v7 Details Emerge · · Score: 1

    Caching (of files, of DB calls, of anything) can easily be implemented via PEAR. OOP does exist, and I use full classes ALL THE TIME.

    If you have coded PHP for a long time, you obviously where stuck on PHP3 and have not checked out any recent features. PHP has become much more robust and I'm willing to bet I can code a site in PHP at least as fast as you can code one in ASP.NET. Not trying to be flame bait and I'm not going to get in a flame war, but if you are trying to say "Yay ASP.NET, PHP sucks because it's not OOP and is slower to code for" you are mistaken. And yes, I have coded a web application in C# so I do have a reference point.

  12. Re:s/RFID/Induction on Mouse Uses RFID Instead of Batteries · · Score: 1

    s/RFID/Induction/gm

  13. Re:Passion, Yes--But Not What They Have In Mind on Your Chance to Meet Bill Gates · · Score: 1

    > I see Apple and Tux stickers

    I see Tux and Redhat around here. Haven't seem an Apple sticker in years. I have also seen 1 Windows reference - a license plate in Connecticut ASP-NET

  14. Sideous is not dead. on Review: Star Wars Episode III · · Score: 1

    > No, Vader destroys Sideous and himself in one selfless act.

    Did you see the body? Then Darth Sideous is not dead. The prophecies were misread by the council.

  15. As an American ... on U.S. Rejects Canadian Rejection of DMCA · · Score: 1

    > I say it's way past time Canada and
    > the rest of the world told the US to
    > go fuck itself.

    As an American, I say it's way past time Canada and the rest of the world told the US to go fuck some of it's own policies and that it's not the only country in the world that matters. Our current administration is fueling the hatred, not helping it.

  16. Quality, Cheap SIP phone? Sure. on Asterisk Breeds A Cottage Industry · · Score: 2, Interesting

    Do you have a good speakerphone already for pots? Keep it and buy a Sipura 2000. It provides 2 lines and I bought one for $82 on eBay. At home, I have 2 normal cordless phones connected to it, and of course Asterisk running on a dedicated box. Good stuff.

  17. Re:excellent toolkit on Frenzy - FreeBSD-based LiveCD for sysadmins · · Score: 1

    > It's pretty annoying the way it defaults to Russian if you don't press e within three seconds during boot up.

    'cmon! I thought all *BSD people were more technically savvy than most. I mean, so you burn 2 cd's; The first one, and then the second where you change the default language to english.

    Sheesh, it's a simple mount, vi, umount, cdrecord.

    And yeah, yeah, hold the emacs comments to yourself. Real men use vi. :)

  18. Not how it works on Tracking a Specific Machine Anywhere On The Net · · Score: 2, Informative

    There is an imperfect crystal on your boardboard. This is the realtime clock. It will tick many many times a second. Let's assume for arguments sake, that this clock will tick 2143123321 times a day. Let's also assume that if this crystal was perfect, it should tick 2143123920 times a day.

    The difference - 599 ticks, is the clock skew. You can set your clock with ntpd 86400 times a day (once a second), and your clock skew will be ~599 ticks. You can set your clock once a week with ntpd, and your clock skew will STILL be ~599 ticks. Clock skew it independant of what time your clock thinks it is.

    By clock skew, they mean the difference by which each computer counts time. That is what is being measured.

  19. Not to be picky, but ... on Open Source Advocacy The Right Way · · Score: 1

    > that low level languages like C and Forth

    lea dx, msg
    mov ah, 9
    int 21h
    ret
    msg db "Assembler is the only low level language.", 13,10,0

    -----

    printf("C and forth are high level languages.");

    Secondly, what is Olog(n)? Perhaps you meant log?

    Last, large corporations don't care if their programs are slower. Throw more hardware at the problem! What they do care about is getting the product developed and out to market as fast as possible.

    Perhaps by calling C and forth low level languages, you instead meant to talk about Rapid Application Development (RAD) IDE's vs. standard language IDE's. C/C++ is a high level language. Period. Now, use Borland C++ Builder, it's still a high level language but with a RAD front on it that allows you to develop complex applications quickly.

  20. Re:Unpossible to Clean SpyWare? on Microsoft Warns of Impossible to Clean Spyware · · Score: 1

    > Fortunately the only way to defeat a BartPE scan
    > is to install a BIOS virus - and almost nobody
    > does that any more. :-)

    Anymore? Try ever. There were some proof of concept bios viruses that would only be able to infect certain versions of motherboards that by default had the jumper set to allow flash writes. It was rather impractical and never attempted in the wild to any success.

  21. Where is your supporting data? on Random Number Generator That Sees Into the Future · · Score: 1

    Interesting, but show me the data you used to "debunk" this. You can speculate anything you want, but without supporting evidence, your theory doesn't hold weight.

    I'm skeptical about this of course, but I do not think we can debunk it just yet.

  22. Flash? Not good enough. GIMP? on Cooking With Linux · · Score: 2, Informative

    Flash for Linux, DrawSWF, Spalah Flash, SWF Tools gAnim8, and OpenOffice all do swf with varying degrees of utility.

    I work as a web developer for a marketing agency, and I have the only Linux workstation in the building. I also have a Windows workstation, so it is very easy for me to compare both platforms.

    Evolution works well even for corporate email. I use GAIM on both machines, play MP3's on the Linux box, and do most of my work in vi (yet there are other editors that work well, I just like vi).

    There are 4 applications holding me back from being able to ditch my Windows machine. Two of those may work well with WINE, but I have not had the time to test them.

    Internet Explorer: It is a _MUST_ that I test my code in IE, even though my main browser is Firefox. This may work in WINE.

    Photoshop 7: I heard this also works in WINE.

    Visual Studio/C#: Mono has made good strides and I look forward to being able to use it, but my work with it deals with a large production environment for a major company and I cannot afford to have something not work just because I decided I wanted to develop on Linux. I'm waiting for Mono V3.

    Flash: Yes, other tools exist, but none compare to Macromedia's Flash, and I need to be able to compile Flash 6+ with full support. The tools are not there yet.

    That being said, I use my Linux box a good 70% of the time.

  23. But you can still get the game. on No More Players for World of Warcraft - For Now · · Score: 2, Interesting

    > You can't come and play here

    Try eBay. I have one copy, and my fiance wanted to play. (It's a good way to get her to not complain that I am playing the game).

    I read this post, went to eBay, and 15 minutes later I bid on and won a copy for $75.03. The guy emailed me the CD key, and I'm installing it now.

    Yes, there have been server problems especially on Tichondrius (where I was playing). Switching to another lower population server is working well so far.

    Seriously, if you want to play (and you should), go her yourself a copy on eBay now.

  24. Re:Extensible? XML Allows much more on Are Extensible Programming Languages Coming? · · Score: 2, Insightful

    I'm not a fan of using the wrong tool for the job. At work we normally use PHP for web applications, but when I see an advantage, I will stray from the "norm" and use Perl.

    XML can be a very good candidate for coding logic. We are starting to do this with several libraries we have developed for manipulating data. It is much easier to get a text document at a major company published than it is to get a DLL published. The DLL is the main engine, controlled by XML documents. We can then create a "custom version" of the library by supplying different XML documents that contain layout and logic. We can write the engine once, then customize it via XML.

  25. Re:I don't get it. on XLiveCD: Cygwin and X For Windows On A Live CD · · Score: 1

    This is fantastic.

    At work, we have a linux box running DB2. I'll save the DB2 bashing for another time. But, in order to see the DB2 control panel (since we moved the CPU into a locked room), I have to use my linux workstation. With this application from Cygwin, the other developers who do not have a linux machine can do the same!