Windows 9 (And Pandora) appreciation thread



  • @Arantor said:

    Yes. Except in my world, I pinned WampServer to my start menu, the result is that with literally 3 clicks, including the UAC prompt, I can start the multiple services it starts.

    Well your world sounds amazing. What color is the sky there?


  • Discourse touched me in a no-no place

    @Arantor said:

    I pinned WampServer to my start menu, the result is that with literally 3 clicks, including the UAC prompt, I can start the multiple services it starts.

    You know, if you used runas /savecred you could probably cut that down a click or two.

    </troll>



  • You could also save a click by making a VBScript icon on your desktop. Or hell, a batch file, why not.

    Or hey, use a non-shitty IDE like Visual Studio that just starts its own web server services if/when needed because it's not shitty or made by idiots who write shitty shit.



  • @blakeyrat said:

    Well your world sounds amazing. What color is the sky there?

    Blue.



  • Holy shit. I can't imagine any color stranger for a sky than blue.

    BTW, I live in Western Washington.



  • @blakeyrat said:

    You could also save a click by making a VBScript icon on your desktop. Or hell, a batch file, why not.

    Or hey, use a non-shitty IDE like Visual Studio that just starts its own web server services if/when needed because it's not shitty or made by idiots who write shitty shit.

    Yes, in theory I could do that. Except as you may have forgotten...

    #I USE FUCKING PHP. I AM WELL AWARE I AM TRWTF. I AM JUST COMPOUNDING MY RWTFNESS AND YOU'RE NOT HELPING



  • There has to be at least one PHP IDE that isn't shit and a half. How do you debug?



  • @blakeyrat said:

    There has to be at least one PHP IDE that isn't shit and a half. How do you debug?

    Notepad++ and a PHP extension to give me stack traces on every error that comes up, even the minor warnings. Debugging PHP is a fun exercise in futility.



  • How do you set a conditional breakpoint?

    #taunting



  • @blakeyrat said:

    How do you set a conditional breakpoint?

    #taunting

    $array = array($every, $fucking, $variable, $I, $care, $about, $and, $maybe, $GLOBALS, $for, $TRWTF);
    throw new Exception(print_r($array, true));
    


  • @Arantor said:

    YOU'RE NOT HELPING

    Did you ask for help?



  • @flabdablet said:

    Did you <em>ask</em> for help?

    No, but I don't exactly appreciate it being made extra clear how much TRWTF I am. 👿


  • Discourse touched me in a no-no place

    @blakeyrat said:

    You could also save a click by making a VBScript icon on your desktop. Or hell, a batch file, why not.

    That's probably what he does....



  • @FrostCat said:

    That's probably what he does....

    You know WampServer does more than just start shit, right? It actually starts the control panel which also does things like let you switch between versions of PHP, MySQL and Apache.

    But I guess it's easier to bash than to actually find out why something might be so. If I were to configure services I'd have a shit-ton of them and have to manually switch them around a lot more than I currently do since I do have to test in multiple versions of things for compatibility reasons.

    But don't let any of that get in the way of reminding me just how much of TRWTF I am, will you?


  • Discourse touched me in a no-no place

    @Arantor said:

    You know WampServer does more than just start shit, right?

    Nope. I know just enough PHP and Apache to be dangerous. I don't generally use 'em.

    @Arantor said:

    But don't let any of that get in the way of reminding me just how much of TRWTF I am, will you?

    Back up, dude, I'm not the one picking on you here[1]. I even put a </troll> tag after making a UAC crack.

    Having said that, you could consider leaving WTFWorld behind and doing some other kind of development...

    [1] Well, not more'n a little.



  • @FrostCat said:

    Having said that, you could consider leaving WTFWorld behind and doing some other kind of development...

    We had that discussion before, when he was suffering a PHP crisis of faith like 2 months ago. He didn't stop, apparently.

    I can't speak for FrostCat, but:

    @Arantor said:

    You know WampServer does more than just start shit, right?

    I don't even know what the fuck it is. (And no, I also don't care.)

    I was just pointing out that something that's obviously a Service shouldn't be run as an application.


  • Discourse touched me in a no-no place

    @blakeyrat said:

    We had that discussion before, when he was suffering a PHP crisis of faith like 2 months ago. He didn't stop, apparently.

    I sort of vaguely remember that.

    @blakeyrat said:

    I was just pointing out that something that's obviously a Service shouldn't be run as an application.

    Sometimes, for some reason--usually a bad one--you want to run an application as a service, and there are applications that run an arbitrary other application as a service. It's every bit as dumb as it sounds. I thought WampServer might be something like that, but I didn't bother thinking too closely about what it was; TBH I thought it was just a shorthand for a WAMP stack.

    Hell, I can't even remember what the M in [LW]AMP is.



  • I wasn't suffering a PHP crisis of faith as such months ago (though I am flattered anyone remembered)... actually more like the fact that I feel like I'm in the wrong industry entirely. I'm good at what I do, at least plenty of people seem to keep telling me so (not that I ever really believe it)... but I don't feel I can get out of PHP while in the programming industry because I don't feel smart enough to learn another language to the point of being competent at it. I've played around with Python, Node.js and C# but I come back to PHP time and again because... well, I've been doing PHP for almost 12 years, Zend certified (though thankfully not in Zend Framework) and I don't generally make too many WTFs of the code variety because I think about what I'm doing. (That's a lie. I overanalyse everything like mad. The only benefit is a general discouraging of WTFery, but it's not by any stretch of the imagination making me immune to it.)

    And I don't feel smart enough to get out of this. I don't feel smart enough to be here most days, and while some of my calling myself TRWTF is playing up to the crowd, there's a little too much that isn't.

    Spent quite a bit of the last few days just debating whether to carry on with the coding thing or just go find an office junior job. On paper I might be horribly overqualified for that, but I don't ever feel it. I read my resume - even though it's accurate - and I sometimes feel like I'm reading someone else's.

    Like with my writing... I used to have this unshakeable belief in my writing, and well, we know how this turned out in recent days.

    You want TRWTF? What the hell was I thinking that I fitted in here? Most of the people here... I'm quietly in awe of. Yes, even (especially) @blakeyrat. I feel like I have no business here. At least I'm not suffering from the WTF that I'm smarter than I am - because I'm really not.

    Though there is one consolation, I can actually write a FizzBuzz that works. So that's something, right?


    As for something that's not a service, how do you deal with needing to switch between multiple versions of the same service for testing purposes?

    This is why it doesn't run as a service, ultimately, because you'd have to install a ton of versions of services and that isn't going to work well from what I remember of doing it...



  • @FrostCat said:

    Hell, I can't even remember what the M in [LW]AMP is.

    It stands for Mario Bros.


  • Discourse touched me in a no-no place

    @Arantor said:

    I've been doing PHP for almost 12 years, Zend certified (though thankfully not in Zend Framework) and I don't generally make too many WTFs of the code variety because I think about what I'm doing.

    If you can code competently in one language you can probably learn another, you know. That doesn't mean you'll pick it up overnight.

    Take something you've written and port it.

    @Arantor said:

    And I don't feel smart enough to get out of this.

    You remember the advice you got about writing?

    @Arantor said:

    As for something that's not a service, how do you deal with needing to switch between multiple versions of the same service for testing purposes?

    That will be specific to the service. The language I use, Progress, uses a service to communicate between different utilities. I have three major versions on my desktop at work; you have to tweak each one's registry settings to tell it to listen on a different port, and then the utilities for the version that isn't using the default one take additional command-line parameters or whatever, which is a little WTF, but what else are you gonna do? In your case, perhaps that means you need to run multiple copies of Apache on different ports, I don't really know.



  • @Arantor said:

    You want TRWTF? What the hell was I thinking that I fitted in here? Most of the people here... I'm quietly in awe of. Yes, even (especially) @blakeyrat.

    That is because Blakeyrat is an undisputed genius of our age. This is not a WTF.

    @Arantor said:

    I feel like I have no business here. At least I'm not suffering from the WTF that I'm smarter than I am - because I'm really not.

    Dude, I got two things to say to you:

    1. Remember that conversation in the writing thread about how everybody's faking it until they make it? Yeah, that applies here, too. Spend some time coding in an office and getting a sense for what the bell curve of talent looks like, and you'll find that pretty much everybody on the DailyWTF forums is in the top 20% or so. Almost by definition: bad coders don't talk about code after work. Or... talk about code while slacking off from work (they're on Facebook instead.)

    2. Research the Dunning-Kruger effect. It's a very very important cognitive bias to know. And once you do, once you have absorbed it into the very base of your brain, you will realize the folly of posting what you just posted. Sometimes negative one equals one.

    EDIT: it might also help to remember that this undisputed genius of our age is unemployed and recently got mostly-fired from a job. (Then again, I kind of got fired for being too efficient, so. I dunno what to bucket that one under.)



  • I remember your posts where you analyze various hacked PHP applications and discuss different security strategies and HTTP headers etc. I could barely follow.

    Everybody feels like an imposter when operating within a huge field and measuring up against the top people that congregate here. It helps me that I work closely with some junior devs, so my ego is boosted before being crushed here. Find a gig in an office somewhere and work closely with ordinary timecard punchers. You'll feel better about yourself.


  • BINNED

    @Maciejasjmj said:

    Java update also used to very heavily insist on elevating itself.

    Java update is a turd with some shit sprinkled over it for good measure. It's Failure with a capital F. It asking for elevating is the least if it and your problems.


  • BINNED

    @Arantor said:

    Can you improve upon that? Maybe my world isn't quite so crazy, you know.

    Other people would write a 3 line script to net start their shit. Like it worked since NT4. Or is that when you get the prompt?


  • BINNED

    @Arantor said:

    YOU'RE NOT HELPING

    Maybe there is a PHP self-help group in your area?



  • @Arantor said:

    You want TRWTF? What the hell was I thinking that I fitted in here? Most of the people here... I'm quietly in awe of. Yes, even (especially) @blakeyrat. I feel like I have no business here. At least I'm not suffering from the WTF that I'm smarter than I am - because I'm really not.

    Imposter Syndrome is pretty common in our industry, possibly equaled only by the amount of people on the other side of the Dunning-Kruger Effect.

    Basically, the industry is full of highly skilled people who realise the field is so big it makes them feel incompetent, and useless imbeciles who think they're savant masters of coding. And a handful of mentally stable people as the glue.


  • Discourse touched me in a no-no place

    @trithne said:

    Imposter Syndrome is pretty common in our industry

    And it sounds spot-on as a diagnosis for @Arantor, given what he was saying upthread. Fortunately, it seems that the main part of the cure seems to be to admit that the syndrome exists.



  • @Arantor said:

    And I don't feel smart enough to get out of this. I don't feel smart enough to be here most days, and while some of my calling myself TRWTF is playing up to the crowd, there's a little too much that isn't.

    Feel the incompetence and do it anyway.



  • @Arantor said:

    I used to have this unshakeable belief in my writing, and well, we know how this turned out in recent days.

    There is nothing wrong with your writing, and a great deal right.



  • @FrostCat said:

    you have to tweak each one's registry settings to tell it to listen on a different port, and then the utilities for the version that isn't using the default one take additional command-line parameters or whatever, which is a little WTF, but what else are you gonna do?

    You could always install a bunch of loopback adapters and give each instance its own IP address rather than its own port number.



  • @blakeyrat said:

    Sometimes negative one equals one.

    Also, consistent substitution of i for negative i doesn't break anything.


  • Discourse touched me in a no-no place

    @Arantor said:

    I don't feel smart enough to be here most days

    Likewise - I just stay clear of the stuff I don't understand and luckily there's still enough left to make amusing (or occasionally useful) responses to.


  • Discourse touched me in a no-no place

    @Luhmann said:

    Other people would write a 3 line script to net start their shit. Like it worked since NT4. Or is that when you get the prompt?

    Elevation required IIRC.

    Can't double check at the moment as UAC is disabled on this machine.


  • ♿ (Parody)

    @flabdablet said:

    And yes indeed, you're not mistaken: he said any exe file, and he meant it. Windows contains a mechanism deliberately designed to facilitate privilege escalation exploits.

    This looks like creating a script that anyone can write to but setuid to root. Which is to say, misusing tools for evil.



  • Well maybe. The difference is that the setuid mechanism is not inherently dangerous by design; there are ways to employ it safely (/bin/sudo is a setuid executable, for example). There is literally no way to use runas /savecred without creating an exploitable security hole.

    Filed under: unsafe at any speed


  • Discourse touched me in a no-no place

    @flabdablet said:

    You could always install a bunch of loopback adapters and give each instance its own IP address rather than its own port number.

    Most likely true, but it's probably just as much work; then you have to configure other things differently.



  • Picking which IP address(es) to bind to is often better supported by servers than picking ports is by clients; it's pretty much a basic requirement for servers that run on machines with multiple non-loopback NICs.

    It is certainly true that setting up multiple, independently-bindable loopback IP addresses on Windows involves far more work than it ought to, especially if you want to script it.


  • Discourse touched me in a no-no place

    @flabdablet said:

    Picking which IP address(es) to bind to is often better supported by servers than picking ports is by clients

    I highlighted a key word here; in the example which I gave, many of the internal tools aren't internet-aware as such, and offer no way to specify an IP address. For example:

    dbcheck -query -all -port 1234 #ping all known database servers on this machine

    Update: Huh--it turns out there actually is a -host param for that particular util, but I don't know if the service takes one, I'd have to go track down the documentation.



  • @dkf said:

    Fortunately, it seems that the main part of the cure seems to be to admit that the syndrome exists.

    It did a lot for me - I'm a self-taught .Net programmer who talked his way into a job and did all his learning after that fact. I had (and still have, to an extent) Imposter Syndrome in spades. What really helped me out was actually this site - Seeing the submissions of code so blatantly bad that even I would cringe at it told me that I was actually alright.

    Also Stack Overflow. The questions people ask on that fucking site...



  • @blakeyrat said:

    Sometimes negative one equals one.

    In PHP I bet it does sometimes.



  • PHP, when asked to convert a string into an int, will set lowercase-L to 1, on the logic that they look kind of similar if you squint.



  • @trithne said:

    It did a lot for me - I'm a self-taught .Net programmer who talked his way into a job and did all his learning after that fact. I had (and still have, to an extent) Imposter Syndrome in spades. What really helped me out was actually this site - Seeing the submissions of code so blatantly bad that even I would cringe at it told me that I was actually alright.

    ^^^
    This! Although I'm the other side of that process (a db developer/admin come sysadmin come web developer come IT support come bulb changer) considering trying to talk myself into a more serious/focused developer job. This site does perform a valuable role in reassuring the paranoid and giving a slap to the arrogant and can be quite a good place for info when things like Heartbleed and Shellshock appear.


  • Grade A Premium Asshole

    For me the most annoying part of UAC is that it blanks all of my monitors to the desktop wallpaper when it pops up its nagging prompts. I have not turned it off on my new machine yet, but I apparently ran with it turned off on my prior machine for several years with no ill effects. I agree with @cartman82 in that if it does not tell you what the hell it is wanting to do (as Android does when installing an app, and if you can do it on mobile devices then how fucking hard can it be?), then you cannot make an informed choice other than just looking at it and saying, "This installer is from Google and I trust them...for the most part. Go ahead UAC, give it carte blanche."

    It is psychological masturbation.


  • Discourse touched me in a no-no place

    @LurkerAbove said:

    a db developer/admin come sysadmin come web developer come IT support come bulb changer

    I'm probably going to regret this pendantry, but the word you want is cum. It's Latin.



  • A cum web developer! How very dare you!

    Edit: Forgot to say: I resemble that remark.


  • Grade A Premium Asshole

    @FrostCat said:

    the word you want is cum. It's Latin.

    It is Latin that will also trigger work content filters. You filthy, filthy, person.

    Pervert.


  • Discourse touched me in a no-no place

    @Intercourse said:

    It is Latin that will also trigger work content filters. You filthy, filthy, person.

    Pervert.

    I can't help it you work for perverts.

    I guess you can't have talk about people who get good grades in college and graduate cum laude where you work, either.



  • @FrostCat said:

    I guess you can't have talk

    Talk but don't type


  • Grade A Premium Asshole

    @FrostCat said:

    I guess you can't have talk about people who get good grades in college and graduate cum laude where you work, either.

    https://www.youtube.com/watch?v=zJTwjw9u4iA



  • @Intercourse said:

    For me the most annoying part of UAC is that it blanks all of my monitors to the desktop wallpaper when it pops up its nagging prompts.
    Though it makes it much less secure, you can change the policy so it doesn't switch to the secure desktop. (Computer Configuration ➤ Windows Settings ➤ Security Settings ➤ Local Policies ➤ Security Options ➤ User Account Control: Switch to the Secure Desktop...: Disabled ).@Intercourse said:
    It is psychological masturbation.
    That it may be, but at least it stops the Java Updater and other rogue malware from silently installing for all users without your knowledge.


Log in to reply