Slashdot Mirror


User: H20

H20's activity in the archive.

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

Comments · 10

  1. The Perks of Being a Wallflower on Books that Changed Your Life? · · Score: 1

    All about being alienated and why you should love it. A must for anyone who didn't have the best years of their life in high school.

  2. The Way of Smarty on PHP Template Engines? · · Score: 1

    I must say that I'm quite disappointed with the quality of many of the posts that have been made thus far. Many users seem to have missed the initial point of templating and the many advantages offered by using a solid template engine over inline PHP/HTML 'soup'.

    First, a templating engine enforces a set of rules that makes it easier to separate your business and presentation logic because you think of your PHP as code and your templates as presentation. Secondly, the level of reusability goes way up with a proper engine. As an experiences Smarty user, I now have an arsenal of generic modifiers, functions, and blocks that make generating output pages very easily and they can be shared quickly via the Smarty forums (sure you can share functions, but the naming convention and unform behavior of Smarty allows for higher simplicity). Thirdly, template engines offer shorthand {} instead of and insulate your from pulling in global variables and such in the output pages, producing much cleaner and accessible presentation templates. Lastly, Smarty is developed by a dedicated team that made templating their 'deal' and it frees your hands to concentrate on the real work -- the development of your application.

    As to the performance question, if you feel that you should do everything via raw PHP output pages for the sake of speed you are being very shortsited. Performance hits can be mediated by using an accelerator such as Turck MMCache or the Zend Optimizer -- if you are running a production site you should definitely augment PHP with a bytecode cache. Secondly, Smarty can be configured to generate pages via the flexible built-in caching mechanism much faster than your pages -- unless you like reinventing the wheel on this front too. Once Smarty has compiled your template and follows your caching strategy, you are running pure PHP on as many pages as possible, according to the design of your cache.

    - Blake

  3. THC on Building Social Skills in Gifted Youths? · · Score: 2, Insightful

    Honestly, the best thing to do is wait until high school and then get the youngster into smoking pot. Nothing relieves tensions and motivates social interaction, especially among the gifted, like a good old fashioned bong hit.

    -B

  4. DarkIce + Sound Card on Removing Ads from a Live Audio Stream in Unix? · · Score: 1

    Here at ibiblio we have a machine with a radio tuner attached to the line in on the unit's sound card. We then run darkice, a GPL icecast/icecast2/shoutcast live streamer capable of delivering streams to multiple hosts simultaneously. The ogg and mp3 streams produced are then whisked off to our icecast and icecast2 servers which serve up simulcasts. Works pretty well for us. I haven't looked into any facility for removing ads from the stream, but it seems like you could hack the code to add some sort of DSP filter before the encoding is done.

  5. Visual SlickEdit on Recommended Text Editors for Win32? · · Score: 1

    This is hands down the best text editor for Windows, and it's pretty righteous for all the many other platforms it supports as well. It sports built-in syntax hilighting and tooltip style help for every language from Ada to XML (and I do mean every language -- does your editor know Intel assembler? How about OS/390 Assembler? SAS?). It also has a built-in FTP client, integrated version control (CVS, RCS, Source Safe, etc), a rather diesel calculator, an extremely nice diff utility (DiffZilla), integration with everything from GNU style build tools to Visual Studio .NET, and on and on. Plus an excellent tagging system which can build you an API reference as you code. :)
    I believe the phrase is 'bitching'. Anyway, scamper on over to http://www.slickedit.com and try not to freak too much at the price. ;)

  6. Re:LDAP on Cross-platform Password Management? · · Score: 1

    Both PHP and ASP can communicate with LDAP without a problem. Indeed, a surprising amount of free software in the *nix world can communicate with LDAP. I'll bet $5 that the distro you are running on has support for not only authenticating against LDAP, but also pulling service, public key, network, aliases etc. data from the server as well. On the Windows side, that much loved 'Active Directory' is nothing more than an LDAP server with a fancy schema and ranch dressing. You can bridge the gap with increasing success using the Samba development code or TNG branch built with LDAP support. As for Outlook, you get LDAP support in the form of a centralized Address Book that can be contained in the LDAP directory. This goes for many other mail clients as well -- Outlook isn't that nifty no matter what any one tells you. You could complete this recipe by integrating your favorite MTA and POP3/IMAP server into the authentication system (again, you'd be surprised at the amount of software that will build against LDAP) and quite possibly your DNS and RADIUS server.

  7. Some other possibilities on Flickering Monitors? · · Score: 1

    First of all, you almost certainly need to invest in either a voltage regulator or a UPS (which will perform the same function) to clean up the power going into your monitor/machines.

    Secondly, check the proximity of items that are very high voltage and contain magnets. Something missed by a lot of people that can cause this problem is the proximity of your speakers/subwoofer to your monitor. I have a 21 inch ViewSonic monitor and a set of Klipsch ProMedia 4.1 speakers and they don't like each other very much when they get too close together.

    Cheers,
    Blake

  8. Road Runner SMTP on SMTP-Friendly ISPs? · · Score: 1

    I reside in Chapel Hill North Carolina and maintain the servers for a small (though growing!) dot com business. We currently use Time Warner's Road Runner (nc.rr.com domain) for our office business connection and regularly use the SMTP gateway from Road Runner for various domains.

  9. Wow. on At Last And At Length: Lars Speaks · · Score: 1

    Throughout the interview I was stunned time and time again by Lars utter inability to articulate any points in a more than infantile manner. I mean it's ridiculous, he's started a witch hunt to capture those 'fuckers' 'fucking' with his 'fucking music', and shit -- so to speak. He demonstrated a profoundly deep ignorance toward the technology he is seeking to combat and responded to the question of Gnutella and emerging technologies as future targets because the companies will mature and then somehow grow into an entity capable of being sued. Funny since in the question and _everything_ describing Gnutella makes it clear that there is NO centralization. The guy is an utter moron.

  10. A different perspective on Suck on Linux Evolution · · Score: 1

    Alright, I read it, and yes it was a bit painful. However I am not easily disillusioned. I was always told that writing is infinately more interesting when it contains quotations, which seems contradictory to me because in most cases the quotes that reach my ear merely have a ring, and not a meaning. But to break my own rule, and quote Michael Douglas as the infamous Mr Gecko in 'Wallstreet': "Greed is good." But more seriously, the injection of money is fine. I am a firm believer that the truest path towards any goal lies in maintaining a sense of moderation in all things involved. Noble causes are fine, and self indulging egocentristic greed is fine as well, when taken in proper balance. The Open Source community did not get caught with its pants down, and the innoncence and purity of the movement was not lost in one fleeting moment. What must be remembered is that we now find ourselves poised on a slippery slope, and maintaining this precarious equilibrium is an absolute must. We find ourselves suddenly in the adolescence of Open Source at large, there is money to be made and that is great, its the surest sign that we have beaten the odds as a community. That's the key here: Community. Red Hat succeeded because many, many hobbyist and student programmers, as well as seasoned 'hardcore' developers slaved away for a very long time, and now there are benifits to be had. Money is not suddenly the chief concern of the Linux developers, and there is no sudden rush to push product out the door. The license under which all the code currently exists did not vanish, and the spirit of altruism still remains. Still free to download, modify, and hack; but if your good enough at it, you may get a bit of livelihood as a bonus.