Slashdot Mirror


User: Compaqt

Compaqt's activity in the archive.

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

Comments · 2,833

  1. PHP alternatives on The PHP Singularity · · Score: 5, Interesting

    The one big redeeming feature of PHP is you set up a single DB server (or even multimaster) plus multiple webservers, and bam! You're sharing objects/sessions among the webservers. Doesn't matter what webserver the next request hits, the session's there.

    By contrast, that simple thing is something that other environments struggle with. I remember ads for "Share Java POJOs" as if that was a huge deal, and the CEO of some firm that did that said people told him that was a godsend. I'd imagine it's the same for Python and Ruby.

    1. Java. Huge memory footprint. Admins hate it because it doesn't conform to certain Unix conventions.

    Try this: Download any one of a number of open-source Java CMSs or ERM systems. Then watch the Java exceptions flow down your console screen. Good luck figuring them out. Static analysis rules, except when it doesn't.

    Java's great if you're writing an desktop app for geologists trying to find oil or a backend bank system. For your average, ho-hum, billion-dollar website: not so much.

    2. Ruby: You go to war with the webserver they give you, not the one you want.

    3. Python: Great language and library. A shame it was hobbled by the whitespace issue, which meant that some programmers didn't check it out who should have. Anyway, it's hard for Beta to get traction against VHS.

    Anotherwords, PHP is good enough. "Worse is better."

    Since the three environments above are monolithic, if there's a problem, it's a problem for every client logged in. PHP, by contrast, follows a Unix minimalist philosophy: if a PHP FCGI instance (or even an Apache mod_php instance) crashes, it's just that one instance. No problem, user hits F5, reloads, PHP's stateless, you get the session back, keep calm and carry on.

    When Marc Zuckerberg or a number of other entrepreneurs started hacking out Facebook, they started out with PHP, just because it's light and fast, and easy to get something up on the wall. Nobody cares about the elegance of Python or Ruby, it's all about time to market.

    Finally, nothing about "you can't debug PHP", in today's discussion, please. You can very well step through PHP code. Use Netbeans and something like xdebug. Or Eclipse.

    PHP: Paraphrasing Churchill, it's bad, but the alternatives are worse.

  2. Re:XDA Developers on Google Unveils Nexus 7 Tablet, Nexus Q 'Social Streaming Device' · · Score: 1

    Overinflating a few psi shouldn't hurt, right? I normally overinflate 2 psi in dry weather to get a little better fuel efficiency.

  3. Knight-Ridder Tablet on U.S. Judge Grants Apple Injunction Against Samsung Galaxy Tab · · Score: 1

    >...

    So long as we're talking about old tablets, let's pull out the good-old Knight-Ridder Tablet. Were you unaware of it, or did you post about all the others and not this one?

    Same form factor? Check
    Black bezel? Check
    Simple, uncluttered design? Check
    Oh, and rounded corners-Check (what else are they supposed to be? Razor sharp?)

    Pictures

    The Knight-Ridder was cited in a sane ruling by Judge Koh.

    By the way, can anyone what brand of phone the current ruling's judge uses? Likely Apple.

  4. Re:Predictably... on High-Frequency Traders Are the Ultimate Hackers, Says Mark Cuban · · Score: 1, Interesting

    Although I'm skeptical about HFT, re: money isn't speech--

    Do you propose that people can only exercise their first amendment rights by talking (creating sound from their vocal chords)?

    The moment you use anything beyond that (TV ad, pamphlets, booklets, books, DVDs, even a bullhorn), you're spending money.

    So how do you propose to allow people to exercise their free speech rights without spending money?

  5. Re:Is that serious, or a straw man? on ADA May Force Netflix To Provide Closed Captioning On Content · · Score: 1

    If it's not a sacred document, there's nothing to prevent Congress from deciding it doesn't want people to post on the Internet. Or hand out pamphlets. Or whatever else you might like to do.

    The Constitution also prohibits private laws (laws targeting specific individuals). If the Constitution is not a sacred document, there is absolutely nothing preventing Congress from sentencing user Darinbob to prison simply because it feels like it.

    Deciding that you don't have to abide by the rules simply because you have 50%+1 in the legislature today is a sign of a failed (or failing) state.

  6. My Firefox agent string says on On Orbitz, Mac Users Offered Pricier Hotels First · · Score: 1

    C= 64

    They showed me Motel 6 listings.

  7. Re:this is new how? on Arizona H-1B Workers Advised to Carry Papers At All Times · · Score: 1

    I thought it was you have to be doing something ELSE illegal (speeding, drunk, assault/battery, theft) for them to also ask about SB1070.

    Sort of like how seatbelt laws are enforced (only if you're stopped for some other reason).

  8. Re:Voyager on Ask Slashdot: How To Introduce Someone To Star Trek? · · Score: 1

    Wait, you mean the checkbox that says "No Karma Bonus". It's still there.

    By the way, how's that supposed to work? I regularly (monthly or so) get +5 mods, yet every post starts out at +1. When I first signed up, it was +1 for a while, then they started out at +2. Later, they have always been +1 regardless of checking No Karma Bonus or not.

  9. Re:Not Intended to be Industrial Grade on Samsung Galaxy S3 Face Unlock Tricked By Photograph · · Score: 1

    > how much work you'd have to put into that every single day.

    Well, no, actually I don't.

    I know the size of your screen.

    I just need to know how fat your fingers are so I can calculate F and W.

  10. Two Motorolas? on Motorola To Buy PDA-Inventor Psion For $200 Million · · Score: 1

    They both use the Motorala trademark at the same time? How does that work out?

    And do they have an agreement not to get into each other's business? Does this change that?

    And are these the same guys that make bar code scanners?

  11. Re:but... on Samsung Sues Aussie Patent Office In Apple Suit, Apple Sues Back · · Score: 1

    Yeah, they tried that, as someone referenced above.

    The problem is, the competitor they went to is LG, also an Android maker. That didn't turn out so well (quality problems), so they had to turn back to Samsung (haha).

    There's also CMI, but they have quantity issues.

  12. Re:Excuse me to be ignorant but on Samsung Sues Aussie Patent Office In Apple Suit, Apple Sues Back · · Score: 1

    Um, yeah, someone posted above that the Galaxy III is beating the iPhone in sales in the UK (which AFAIK isn't a totally carrier-dominated market).

    Prior to that the Galaxy II was beating the iPhone 4s.

    And, yeah, the Galaxy III beats the pants off the iPhone 4s. Nice new design, thinner than the iPhone, and 1280 x 720 pixels (Super AMOLED).

    If the iPhone 5 comes out with lower specs than the Galaxy 3, expect the iPhone to wither except among fans. Prediction: they will delay the release until they can get something better than the Galaxy 3, but by that time Samsung will already have something better lined up.

  13. Re:Does Your Co. Mind if their Security's Breached on Ask Slashdot: What's Your Take On HTTPS Snooping? · · Score: 1

    Good point, I see what you're saying.

    I would say: if your (vendor) company is providing a service, then the customer would properly be the buying company, not its employees.

    On the other hand, there's no reason for employees to be accessing personal services (like Dropbox) from work.

  14. Re:Of course its legal on Ask Slashdot: What's Your Take On HTTPS Snooping? · · Score: 1

    Their health insurance is provided by the company in the first place.

    Normally, your employer knows every ailment you have because they're sent reports from the health consortium.

  15. Car analogy on Ask Slashdot: What's Your Take On HTTPS Snooping? · · Score: 1

    Here's what a lot of people seem to be missing:

    The concept of a company. Company: it's a grouping of people, people who come together for the purpose of making money.

    Think of an athletic team: it's a grouping of people whose purpose is to win games. In order to do that, you practice. What would you think of a teammate who starts checking his Facebook in the middle of practice? Do it on your own time, you're here to work.

    Car analogy: You're in the pit. You've got a car coming in. At that time, a co-worker decides to email his doctor about his bad knee. And another decides that's just the time to pay his telephone bill. Work, already!

  16. Ode to factory workers on Ask Slashdot: What's Your Take On HTTPS Snooping? · · Score: 1

    >If the answer is basic dignity or financial ruin,

    I think white-collar workers have it far too easy.

    Here's a shoutout to blue-collar workers who get to work 5 min before 8AM, get back to the work stations when lunch ends, and do an honest day's worth of work. They're not checking their Facebook every 5 min or expecting their employer to provide a computer to facilitate that.

    The (spoiled) white collar worker will talk about "human dignity" when asked to do work for their money. Businesses bought and supplied computers for workers because they believed it would increase productivity. It is not a human right.

    Later, when the Internet became prevalent, computers were networked and inter-networked, on the chance that people might need to contact suppliers/vendors. Web access was provided on the off chance you might need to research something.

    To talk about human dignity is to say that workers without computers aren't humans!

    Just to recap: Your employer provides you with an air-conditioned office. Your own desk, phone and computer. Ergonomic chair. Fast Internet access. And you resent that they install some sanity checks to make sure you're using the provided resources in order to achieve business goals?

  17. Re:You have no right to privacy at work on Ask Slashdot: What's Your Take On HTTPS Snooping? · · Score: 1

    Why are you doing your banking at work?

    It's Internet banking--you can do it at any time, including at home on your own computer, with a strong password stored in a password vault.

    If it only takes 5 minutes, do it at home.

    If it takes an hour (you're researching stocks, then executing buy orders), you're wasting the company's time, and, by extension, bringing down your peers.

  18. Re:You have no right to privacy at work on Ask Slashdot: What's Your Take On HTTPS Snooping? · · Score: 1

    I agree that dev jobs are creative.

    The best thing to do when I've needed to think is to take a walk and get some real air (not from the HVAC), preferably where there are trees. Dev companies like M$ like leafy campuses--take advantage of that. Take a small whiteboard with you.

    I would submit you will think much more clearly than if you spent 10, or even 30 minutes melting your brain on Facebook or break.com.

    Google has "think rooms" with the same purpose.

  19. Re:Leave your job, no. Do your job, yes. on Ask Slashdot: What's Your Take On HTTPS Snooping? · · Score: 1

    Very good point. I wouldn't ask an employee to use personal equipment to access to company network.

    Leaving aside questions of equity (who pays for it), there's also the matter of security.

    Out-of-office support should happen on company-provided smartphones with company data plans.

  20. Re:Leave your job, no. Do your job, yes. on Ask Slashdot: What's Your Take On HTTPS Snooping? · · Score: 1

    >free time / as I'm working

    That's a big dichotomy you've set up there. Free time (lunch break) is a lot different from "as you're working".

    Also, listening to music is quite different from checking forums. There isn't one thing you could be doing to improve your work process as opposed to reading random forum posts?

    Finally, if everyone is listening to Internet music continuously, that's a lot of bandwidth usage, just so people won't have to use an old-fashioned device called a "radio" (or even an MP3 player).

  21. Re:Leave your job, no. Do your job, yes. on Ask Slashdot: What's Your Take On HTTPS Snooping? · · Score: 1

    Not to mention that certain Youtubes can create an environment ripe for lawsuits.

  22. Intel integrated video on Torvalds Slams NVIDIA's Linux Support · · Score: 1

    You get open source drivers.

    It's just fine for most business use (outside of 3d modeling).

    It's probably OK for light gaming, too.

    Works out of the box, no driver download necessary.

  23. No, officer, you see this is actually wider than it is long, once you orient it like Apple says to.

  24. Re:Perspectives on Ask Slashdot: What's Your Take On HTTPS Snooping? · · Score: 1

    Wait, I understand how IT looking through a specific person's history may be a violation of your company's policy, and that that may require sanctions (up to termination), but why involve a third party (the police)?

  25. Re:Don't do personal shit at work on Ask Slashdot: What's Your Take On HTTPS Snooping? · · Score: 1

    You're kidding, right?

    Does your online banking site, that you use to pay the telephone bill, or whatever, stop working when you get home at 6 or 7pm?

    The personal call you need to make to your cousin Jimbob, wouldn't it be better if you called him in the evening when it's both your and his off-hours?

    Regarding your lunch hour, I fully support your taking all of it everyday, and not doing any work during that hour.