As was foretold, we've added advertisements to the forums! If you have questions, or if you encounter any bugs, please visit this thread: https://forums.penny-arcade.com/discussion/240191/forum-advertisement-faq-and-reports-thread/
We're funding a new Acquisitions Incorporated series on Kickstarter right now! Check it out at https://www.kickstarter.com/projects/pennyarcade/acquisitions-incorporated-the-series-2

[Programming] Thread: Turning off the LAMP stack for mood lighting

11718202223100

Posts

  • bowenbowen How you doin'? Registered User regular
    Infidel wrote: »
    Right, documentation is only about the particulars of the company and its products. Not the role in general.

    Step 1: Hire a fucking developer/accountant/manager/whatever.

    There, they should know this shit or you failed at hiring.

    Anyone worth their salt should be able to figure out the nuances in a month or two. Granted you're paying someone to learn your shit, but, that's kind of like.. de facto for anything beyond burger king.

    I really don't understand the mindset of "we need the ability of someone in India to bust open a catalog and be able to perform your job" levels of documentation.

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
  • InfidelInfidel Heretic Registered User regular
    bowen wrote: »
    Infidel wrote: »
    Right, documentation is only about the particulars of the company and its products. Not the role in general.

    Step 1: Hire a fucking developer/accountant/manager/whatever.

    There, they should know this shit or you failed at hiring.

    Anyone worth their salt should be able to figure out the nuances in a month or two. Granted you're paying someone to learn your shit, but, that's kind of like.. de facto for anything beyond burger king.

    I really don't understand the mindset of "we need the ability of someone in India to bust open a catalog and be able to perform your job" levels of documentation.

    Not everyone is in the position, but it definitely is necessary sometimes.

    Like they're bringing down the hospital systems on Monday evening and need to be back up Tuesday early morning and it is impossible without me performing my tasks. What happens if I just don't show up that evening?

    We had a guy that wasn't that old or unhealthy or anything just up and die a few weeks ago, sudden stroke. People were calling his cell, his home phone, etc. cause he is interfaces and responsible for some activation items.

    It is a little awkward when you get a distraught wife.

    OrokosPA.png
  • bowenbowen How you doin'? Registered User regular
    That also fails back to single point of failure. Our culture is so obsessed with minimizing employees and expenses that almost all companies that aren't gigantic rely on like 1 person for each essential job function. So if I up and die, this company would literally be fucked for about... I'd say 4 months.

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
  • urahonkyurahonky Registered User regular
    That's funny because I was just talking about this with a contractor. The problem is that people don't share information on teams anymore. If someone builds something they try to keep it as light on the details for one reason: job security.

    Contractors are especially guilty of this. They find a niche and they hunker down. I had a hell of a time trying to figure things out about Informatica at one of my previous jobs... Their answer was to talk to this one guy, or the "informatica expert". Every time I did he would give me vague answers or just offer to get it done for me.

  • InfidelInfidel Heretic Registered User regular
    bowen wrote: »
    That also fails back to single point of failure. Our culture is so obsessed with minimizing employees and expenses that almost all companies that aren't gigantic rely on like 1 person for each essential job function. So if I up and die, this company would literally be fucked for about... I'd say 4 months.

    You're an example of where documentation is important.

    Because the options are hire and train someone to be on standby effectively (not likely an option with your size) or to have documentation to get someone up to speed asap if you're unavailable.

    There is another dude that is basically kept on retainer and kept up to date, just in case something happens to me, at the health client.

    OrokosPA.png
  • bowenbowen How you doin'? Registered User regular
    They could hire and train someone, but they'd refuse because it'd be expensive. They definitely have the ability to afford it, hands down.

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
  • urahonkyurahonky Registered User regular
    God damn it. Everything I can find about Business Objects online is around 2004-ish in age.

  • bowenbowen How you doin'? Registered User regular
    Probably because that's when it was relevant?

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
    urahonky
  • RendRend Registered User regular
    First (real) day at BigCorp.

    For the next week or so my task is to familiarize myself with the android sdk. I have literally been told to tinker for the next couple weeks. At the point I feel comfortable with what I'm doing, I'll get going with actual assignments.

    And I even get to use git!

    Goddang I have been waiting for this day for a long, long time. Feels good, man. Feels real good.

    DelmainbowenInfidelurahonkyEchoEtheamightyjongyoNightslyrLt Muffin360ecco the dolphinThe Anonymous
  • DelmainDelmain Registered User regular
    Make sure to ingratiate yourself well so when I move out to Cali you can give me all the recommendations.

    =D

  • bowenbowen How you doin'? Registered User regular
    Grats man. That's good.

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
  • Ed GrubermanEd Gruberman Registered User regular
    My job right now was created because another guy in the company is planning to retire at the end of the year so I'm responsible for trying to get up-to-speed before he leaves. But one of the other reasons I was hired is because I said I could write macros in Visual Basic and had taken some CS courses in University. The reason this appealed to them is that it was a starting point for some overlapping skill sets so that if the 2 guys who know how to use the database leave, I will hopefully know enough to takeover.

    This being said, I have a lot to learn. And brings me to the purpose of this thread. It seems like we are mostly using Cygwin and SQL for various uses. My experience is in VB and Java. Can anyone recommend some good online resources for learning shell programming or SQL? Like @Rend, I've been left to kind of tinker and develop myself while I wait for someone to retire in 6 months but just sitting and reading textbooks is not particularly stimulating

    steam_sig.png

    SteamID: edgruberman GOG Galaxy: EdGruberman
  • bowenbowen How you doin'? Registered User regular
    Holy jesus, people use cygwin in production environments? D:

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
    mightyjongyoNightslyrThe Anonymous
  • Ed GrubermanEd Gruberman Registered User regular
    edited May 2013
    I'm not entirely sure all the things he does with it but he's definitely running Windows and pulls up Cygwin on occasion. He occasionally has to process multi-GB files of data and finds that it's much quicker to do it in command line than anything else.

    Edit: I've been working both in Cygwin and a Linux VM to teach myself command line stuff.

    Ed Gruberman on
    steam_sig.png

    SteamID: edgruberman GOG Galaxy: EdGruberman
  • DelmainDelmain Registered User regular
    bowen wrote: »
    Holy jesus, people use cygwin in production environments? D:

    Yeah, I don't know why anyone wouldn't just use a linux distro...

    bowen
  • TofystedethTofystedeth Registered User regular
    Phyphor wrote: »
    ... and maybe I should include a login system and a whole administration system built on a flat file database...

    don't forget your captchas

    Don't forget vague dialog options ("OK" or "Submit") and UI elements that don't quite behave in the typical manner, eg. strange tab orders or things that don't submit when you hit enter.

    steam_sig.png
  • TofystedethTofystedeth Registered User regular
    Speaking of which. SCC why does your user admin software automatically set the date when the user's password was last changed to Jan 1 1900?
    It doesn't expire it and force them to change it, it just prevents them from logging in at all. And if you set the date yourself before submitting the password update? It still goes to the bogus date. You have to reset their password, save, then pull up their account from the beginning and reset only the last changed date and save again.

    steam_sig.png
  • bowenbowen How you doin'? Registered User regular
    Delmain wrote: »
    bowen wrote: »
    Holy jesus, people use cygwin in production environments? D:

    Yeah, I don't know why anyone wouldn't just use a linux distro...

    At this level of the game yeah. VM it in virtualbox if you absolutely need to have those commands.

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
    Delmain
  • EtheaEthea Registered User regular
    Cygwin in production environment doesn't shock me anymore. I have seen that happen when a deployed system has to be windows for bad policy reasons.

  • EchoEcho ski-bap ba-dapModerator mod
  • bowenbowen How you doin'? Registered User regular
    Echo wrote: »

    The fuck?

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
  • EchoEcho ski-bap ba-dapModerator mod
    edited May 2013
    bowen wrote: »
    Echo wrote: »

    The fuck?

    In ancient Java, Cthulhu lies, dreaming

    Echo on
  • PhyphorPhyphor Building Planet Busters Tasting FruitRegistered User regular
    Who cares about those 10% of errors anyway?

  • RendRend Registered User regular
    images?q=tbn:ANd9GcTZs_nJ9lC-WLekF6dRYjfzMDKuw80dDhDoNVGIQEYvPHvpJd8i
    images?q=tbn:ANd9GcSlBWWgXvZSowepOg9g9vEZ9c4sApfAPWzg_jFzVeM8C2O-1cLL

    Kakodaimonos
  • Jimmy KingJimmy King Registered User regular
    Phyphor wrote: »
    ... and maybe I should include a login system and a whole administration system built on a flat file database...
    Do it.

    I built a web based knowledgebase thing once for a helpdesk, used in production, which used system calls out to grep to search through text files in directories as its "database". It was also cgi written in tcl which took the cgi input from apache on stdin, passed that into a .csh script, which started the tcl interpreter and passed in the cgi params. It used mod_auth_ldap to authenticate against a windows domain.

    It was amazing
    that it worked.

  • PhyphorPhyphor Building Planet Busters Tasting FruitRegistered User regular
    Flat file is not enterprisey though... But XML is!

    InfidelEchobowen
  • SmasherSmasher Starting to get dizzy Registered User regular
    Doing a regex on text is much easier when you're not accidentally sqeezing all characters instead of just whitespace.

  • PhyphorPhyphor Building Planet Busters Tasting FruitRegistered User regular
    Why would you do that ever?

  • SmasherSmasher Starting to get dizzy Registered User regular
    What, squeezing whitespace?

  • PhyphorPhyphor Building Planet Busters Tasting FruitRegistered User regular
    edited May 2013
    Squeezing non-whitespace

    Or rather
    Squezing non-whitespace

    Phyphor on
  • SmasherSmasher Starting to get dizzy Registered User regular
    That was the accidental part.

  • PhyphorPhyphor Building Planet Busters Tasting FruitRegistered User regular
    The question is why is that even an option in the first place

  • SmasherSmasher Starting to get dizzy Registered User regular
    Ah, gotcha.

    Maybe you want to generate a bunch of random letters but don't want adjacent pairs to repeat? </reaching>

    But seriously I figure it's one of those things where they went "I can add this functionality with pretty much no effort, so why not?".

    Echo
  • TofystedethTofystedeth Registered User regular
    You know someone, somewhere is using that functionality in an application that is critical to their business, and would be lost if it was every deprecated.

    steam_sig.png
    DelmainEcho
  • EtheaEthea Registered User regular
    Well technically carriage returns and new lines aren't whitespace so you could squeeze those.

    I could try to make a case for a really bad run length encoding program to use squeeze, but I expect it would be a horror.

  • bowenbowen How you doin'? Registered User regular
    As a professional, I'm all about telling people to go fuck themselves and their antiquated business practices.

    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
  • EchoEcho ski-bap ba-dapModerator mod
    Ethea wrote: »
    Well technically carriage returns and new lines aren't whitespace so you could squeeze those.

    That's what strip and chomp are for.

  • EtheaEthea Registered User regular
    Echo wrote: »
    Ethea wrote: »
    Well technically carriage returns and new lines aren't whitespace so you could squeeze those.

    That's what strip and chomp are for.

    chomp and strip doesn't remove multiple carriage /new lines from a middle of a string, therefore squeeze is needed!


    I am being sarcastic.

  • DiannaoChongDiannaoChong Registered User regular
    edited May 2013
    bah my wittiness was dumb because I misread the previous post.

    DiannaoChong on
    steam_sig.png
  • IncindiumIncindium Registered User regular
    edited May 2013
    Speaking of which. SCC why does your user admin software automatically set the date when the user's password was last changed to Jan 1 1900?
    It doesn't expire it and force them to change it, it just prevents them from logging in at all. And if you set the date yourself before submitting the password update? It still goes to the bogus date. You have to reset their password, save, then pull up their account from the beginning and reset only the last changed date and save again.

    Jan 1 1900 is the default value in SQL Server for datetime if you set the value to 0.
    DECLARE @dt DATETIME
    SET @dt =0
    SELECT @dt
    
    Results:
    1900-01-01 00:00:00.000
    

    So probably a datetime field in the db that isn't nullable and defaults to 0.

    Incindium on
    steam_sig.png
    Nintendo ID: Incindium
    PSN: IncindiumX
    Infidel
This discussion has been closed.