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/
Options

YA[Programming]T :: Interview? That's an MVC thing, right?

19293959798100

Posts

  • Options
    SporkAndrewSporkAndrew Registered User, ClubPA regular
    Echo wrote: »
    I'm slowly warming up to CodeIgniter. (Pun not intended.)

    Apart from the whole "its PHP :rotate: " it's not too bad.

    CodeIgniter is probably one of the nicest frameworks for PHP out there. I like it a lot.

    The one about the fucking space hairdresser and the cowboy. He's got a tinfoil pal and a pedal bin
  • Options
    zeenyzeeny Registered User regular
    Echo wrote: »
    I'm slowly warming up to CodeIgniter. (Pun not intended.)

    Apart from the whole "its PHP :rotate: " it's not too bad.

    CodeIgniter is probably one of the nicest frameworks for PHP out there. I like it a lot.

    I don't have an opinion on the framework as I have never actually worked with it, but the people who have been coming to interview with codeigniter background haven't been doing too hot relative to the rest of the candidate pool. Small statistical sample, anecdotal etc.

  • Options
    NightslyrNightslyr Registered User regular
    zeeny wrote: »
    Echo wrote: »
    I'm slowly warming up to CodeIgniter. (Pun not intended.)

    Apart from the whole "its PHP :rotate: " it's not too bad.

    CodeIgniter is probably one of the nicest frameworks for PHP out there. I like it a lot.

    I don't have an opinion on the framework as I have never actually worked with it, but the people who have been coming to interview with codeigniter background haven't been doing too hot relative to the rest of the candidate pool. Small statistical sample, anecdotal etc.

    Symfony and Zend are generally considered to be the high-end, enterprise frameworks, so you'll probably find better candidates there. AFAIK, CodeIgniter, CakePHP, and Kohana are the tier below.

  • Options
    zeenyzeeny Registered User regular
    Nightslyr wrote: »
    zeeny wrote: »
    Echo wrote: »
    I'm slowly warming up to CodeIgniter. (Pun not intended.)

    Apart from the whole "its PHP :rotate: " it's not too bad.

    CodeIgniter is probably one of the nicest frameworks for PHP out there. I like it a lot.

    I don't have an opinion on the framework as I have never actually worked with it, but the people who have been coming to interview with codeigniter background haven't been doing too hot relative to the rest of the candidate pool. Small statistical sample, anecdotal etc.

    Symfony and Zend are generally considered to be the high-end, enterprise frameworks, so you'll probably find better candidates there. AFAIK, CodeIgniter, CakePHP, and Kohana are the tier below.

    The best candidates are those with C background;o)

  • Options
    InfidelInfidel Heretic Registered User regular
    I rarely work OT, and I'm not paid for it.

    But if I did, I'd get a "bonus" for "good work." My company is relatively decent on (a) not relying on OT usually and (b) compensating.

    Unfortunately since we're a consulting company we often don't have control of our hours, the client often sets the schedule and we can only help avoid the fuckups so much sometimes. Fortunately my client is health/government right now and super regular. :D 38.75 hours a week, not a fraction more! >_>

    OrokosPA.png
  • Options
    Joe KJoe K Registered User regular
    bowen wrote: »
    You get paid overtime though?

    Also I bet dollars to donuts you're not exempt because you do their IT work. There's a rule about that for programmers.

    no, that's not a rule for "programmers". it's supposed to be a rule for "professionals" or "management". Professionals being like PE's, JDs, MDs, managers being the people who decide when and where to work.

    If you don't have control over your schedule, what you're working on, when you're working on it chances are that they have you classified as "salary exempt", but are in all honestly "salaried, non-exempt" under every interpretation of the law. This is kindof like retail pushing everyone into a "assistant manager" position that is little more than a sr. clerk. they don't have independence, they don't have control, they simply get shafted by being "exempt". The law is clear, but many companies are still abusing the shit out of classifications in order to avoid OT, because what are you gonna do, unionize you filthy pinko socialist communist? :rotate:

  • Options
    bowenbowen How you doin'? Registered User regular
    Yeah that's more right.

    I imagine the worker protections in Canada are much better, eh infidel? Also I had contemplated moving up there a while back but it seems impractical in terms of immigration. Especially since moving my fiancee who's a transplant patient seems like it'd be a fucking nightmare.

    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
  • Options
    DrunkMcDrunkMc Registered User regular
    As bad as things get around here, I remember working for the giant defense company with their bullshit hours and red tape, and put things in perspective. The best thing about this job is I do 8 and skate. Love it. 3:30 comes and I leave. If (most) people are talking to me and its 3:40 they always pause and ask if I have to go.

    Most companies don't realize how quickly people can burn out and you'll get better work out of people in the long run by doing 40hrs a week.

  • Options
    an_altan_alt Registered User regular
    I can only comment on the BC rules, but up here salary is defined as 40 hours per week and after that is overtime. There is a high-tech exemption, but iirc it involves a defined payout for a specific project or something along those lines.

    Pony wrote:
    I think that the internet has been for years on the path to creating what is essentially an electronic Necronomicon: A collection of blasphemous unrealities so perverse that to even glimpse at its contents, if but for a moment, is to irrevocably forfeit a portion of your sanity.
    Xbox - PearlBlueS0ul, Steam
    If you ever need to talk to someone, feel free to message me. Yes, that includes you.
  • Options
    bowenbowen How you doin'? Registered User regular
    DrunkMc wrote: »
    As bad as things get around here, I remember working for the giant defense company with their bullshit hours and red tape, and put things in perspective. The best thing about this job is I do 8 and skate. Love it. 3:30 comes and I leave. If (most) people are talking to me and its 3:40 they always pause and ask if I have to go.

    Most companies don't realize how quickly people can burn out and you'll get better work out of people in the long run by doing 40hrs a week.

    There are some rumors going around that 10 hour work days and 3 day weekends are better. And also, 35 hours a workweek provides just as much output. But the problem is I'd see the later meaning "well you're working less so we'll pay you less."

    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
  • Options
    InfidelInfidel Heretic Registered User regular
    bowen wrote: »
    Yeah that's more right.

    I imagine the worker protections in Canada are much better, eh infidel? Also I had contemplated moving up there a while back but it seems impractical in terms of immigration. Especially since moving my fiancee who's a transplant patient seems like it'd be a fucking nightmare.

    Yeah, the exemptions make a lot more sense up here.

    For one, your job title has no bearing whatsoever on your status. The court would only look at your responsibilities. Labeling me a "Manager" doesn't make me exempt under the management clause, unless I actually do significant management duties. The exemption threshold for salary is also much higher, being "double the industry average" which is nearing six figures nowadays.

    OrokosPA.png
  • Options
    bowenbowen How you doin'? Registered User regular
    Well that's certainly nice. Ugh.

    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
  • Options
    DrunkMcDrunkMc Registered User regular
    bowen wrote: »
    DrunkMc wrote: »
    As bad as things get around here, I remember working for the giant defense company with their bullshit hours and red tape, and put things in perspective. The best thing about this job is I do 8 and skate. Love it. 3:30 comes and I leave. If (most) people are talking to me and its 3:40 they always pause and ask if I have to go.

    Most companies don't realize how quickly people can burn out and you'll get better work out of people in the long run by doing 40hrs a week.

    There are some rumors going around that 10 hour work days and 3 day weekends are better. And also, 35 hours a workweek provides just as much output. But the problem is I'd see the later meaning "well you're working less so we'll pay you less."

    I tried doing "Flex time" which was the 10hr work days and I was off every Friday. It felt good at the time, but when I changed jobs and went back to 8/40 I liked it better. Because of the long hours Mon-Thursday, I couldn't get anything done but work on those days. So Friday I spent doing all the errands I couldn't get done Mon-Thurs and I just got tired and didn't enjoy the Fridays off at all.

  • Options
    Jimmy KingJimmy King Registered User regular
    Yeah, I'm with you DrunkMc. I have friends that love doing 4x10 hrs. I suppose it works well if you've already got spare time anyway throughout the week or if you've just got a couple of longer tasks that only need done occasionally. I tend to have a lot of little stuff that needs done daily or nearly daily, so decreasing my available time to do them 4 days per week is just no good.

  • Options
    TomantaTomanta Registered User regular
    I don't get any errands or get anything done on days I work as I usually don't feel like doing anything when I get off. I'd probably love 4x10.

    That said, I applied for our NOC once and learned that they do 4x12 (then 4 days off) and switch days/nights every 4 weeks. That sounds terrible so I never reapplied.

  • Options
    TofystedethTofystedeth Registered User regular
    edited September 2012
    Anybody good with simplifying Boolean algebra expressions? I've got a homework problem that is flummoxing me.
    Supposed to simplify
    F = AB'C + BD + BCD' + AB'C' + ABC'D
    The assignment says it can get down to 3 terms, 6 literals.
    I can get it down to
    F=AB'+BD+BC+AC'D
    I checked with the logic software that came with one of our books, and apparently the further reduction removes that AC'D term, but I've spent the last 15-20 minutes trying to figure out how and coming up short.

    Even broad hints would be helpful. Not lookin' for answers...

    Tofystedeth on
    steam_sig.png
  • Options
    bowenbowen How you doin'? Registered User regular
    My 8th grade general algebra is firing off a distributive property on the BD + BC part for some reason.

    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
  • Options
    TofystedethTofystedeth Registered User regular
    edited September 2012
    Here was my process so far:
    F = AB'C + BD + BCD' + AB'C' + ABC'D
    AB'(C+C') + BD + BCD' + ABC'D (by distributive property)
    AB' + BD + BCD' + ABC'D (by law of complementarity)
    A(B' + BC'D) + BD + BCD' (distributive again)
    A(B' + C'D) + BD + BCD' (simplification theorem 11D : XY' + Y = X + Y)
    AB' + AC'D + B(D + CD') (distributive again)
    AB' + AC'D + B(D + C) (11D again)
    AB' + AC'D + BD + BC
    and here I'm stuck. I'm guessing either after I removed that first term, or after the first time I used 11D I was supposed to use a different technique, but nothing I've tried has yielded greater results.

    Tofystedeth on
    steam_sig.png
  • Options
    ecco the dolphinecco the dolphin Registered User regular
    edited September 2012
    Anybody good with simplifying Boolean algebra expressions? I've got a homework problem that is flummoxing me.
    Supposed to simplify
    F = AB'C + BD + BCD' + AB'C' + ABC'D
    The assignment says it can get down to 3 terms, 6 literals.
    I can get it down to
    F=AB'+BD+BC+AC'D
    I checked with the logic software that came with one of our books, and apparently the further reduction removes that AC'D term, but I've spent the last 15-20 minutes trying to figure out how and coming up short.

    Even broad hints would be helpful. Not lookin' for answers...

    Is there a typo somewhere? How did you convert from ABC'D to AC'D?
    Would BDAC' suggest anything?

    Edit: I see how you simplified it down now. Inntteerreessttinnnnggg

    ecco the dolphin on
    Penny Arcade Developers at PADev.net.
  • Options
    centraldogmacentraldogma Registered User regular
    edited September 2012
    Those "+" are suppose to be "and" symbols, right? Because that is totally throwing me.

    centraldogma on
    When people unite together, they become stronger than the sum of their parts.
    Don't assume bad intentions over neglect and misunderstanding.
  • Options
    TofystedethTofystedeth Registered User regular
    + is actually OR. Multiplication is AND.

    steam_sig.png
  • Options
    bowenbowen How you doin'? Registered User regular
    Something tells me I'd really enjoy doing these if I was taught the nomenclature.

    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
  • Options
    TofystedethTofystedeth Registered User regular
    Anybody good with simplifying Boolean algebra expressions? I've got a homework problem that is flummoxing me.
    Supposed to simplify
    F = AB'C + BD + BCD' + AB'C' + ABC'D
    The assignment says it can get down to 3 terms, 6 literals.
    I can get it down to
    F=AB'+BD+BC+AC'D
    I checked with the logic software that came with one of our books, and apparently the further reduction removes that AC'D term, but I've spent the last 15-20 minutes trying to figure out how and coming up short.

    Even broad hints would be helpful. Not lookin' for answers...

    Is there a typo somewhere? How did you convert from ABC'D to AC'D?
    Would BDAC' suggest anything?

    Edit: I see how you simplified it down now. Inntteerreessttinnnnggg
    Yes it would suggest to me the correct process I think.
    Simplification 10. X + XY = X
    Can't believe I didn't see that earlier.

    Yer a pro.

    steam_sig.png
  • Options
    TofystedethTofystedeth Registered User regular
    bowen wrote: »
    Something tells me I'd really enjoy doing these if I was taught the nomenclature.
    Yeah, it's actually pretty fun. It was really frustrating to hit one of these that gave me so much trouble after I breezed through the last several assignments. Hubris I suppose.

    steam_sig.png
  • Options
    SmasherSmasher Starting to get dizzy Registered User regular
    I can see why it's redundant but I'm having trouble figuring out the formal steps to do so.

    Informally:
    If the last term is false it can be dropped because everything is OR'd together.
    If the last term is true, then A is true.
    Either B or B'; if B' then AB' is true and the last term is redundant.
    Assume B is true.
    If the last term is true, then D.
    Since B and D are true, BD is true.

    Ah, got it.

    Formally (minus the names because I forget them):
    F=AB'+BD+BC+AC'D
    F=AB'+BD+BC+AC'D(B+B')
    F=AB'+BD+BC+ABC'D+AB'C'D
    F=AB'+BD+BC (ABC'D is redundant with BD, and AB'C'D is redundant with AB')

  • Options
    PhyphorPhyphor Building Planet Busters Tasting FruitRegistered User regular
    Ahh good old boolean reductions. I've always liked using k-maps to do them

    http://en.m.wikipedia.org/wiki/Karnaugh_map

    Though obviously that won't work if you need the step-by-step rules

  • Options
    TofystedethTofystedeth Registered User regular
    Yeah he told us today once we learn k-maps we're not gonna need to go through all this. I think maybe we get to that Thursday or next week.

    steam_sig.png
  • Options
    urahonkyurahonky Registered User regular
    The most dangerous thing you can do is stand in a doorway and announce "there are free doughnuts in the break room". The poor guy almost got trampled.

  • Options
    NightslyrNightslyr Registered User regular
    PHP dilemma:

    I have a client who wants to expand her site into e-commerce. She can't afford a 100% custom job, so I'll have to use pre-packaged software. Can anyone recommend something that:

    1. Is nicely coded
    2. Can plug into an existing user membership system
    3. Has a nice back-end so she can add/remove inventory

    Bonus: Do any of them allow for actual credit card payments out of the gate, or would I have to go through the whole payment gateway stuff?

    Right now, she's looking at a generic WYSIWYG sitebuilder that doesn't mention how much it costs per month/year, and I have the feeling it's a rip-off. There's no way to actually get at its back-end, either, so I'm wary.

  • Options
    InfidelInfidel Heretic Registered User regular
    Rule 0: Don't handle credit cards yourself. Let a payment processor always do it.

    What is the existing site that you want to integrate user accounts with?

    OrokosPA.png
  • Options
    urahonkyurahonky Registered User regular
    The thing I fucking hate about Java Swing is that the .setSize property never does shit... It just decides to do whatever the fuck it wants.

    I have a list and I did:
    JList list = new JList(listOfNames);
    list.setSize(100,200);
    list.setPreferredSize(new Dimension(100,200));
    list.setMinimumSize(new Dimension(100,200));
    list setMaximumSize(new Dimension(100,200));
    

    Guess what isn't 100 x 200?

  • Options
    urahonkyurahonky Registered User regular
    Wow... I didn't actually type in the maximum size, so I decided to be thorough and just put it in there... And of course it works. How does that make sense?

  • Options
    PhyphorPhyphor Building Planet Busters Tasting FruitRegistered User regular
    You see, your problem is that you're using swing. Swing is terrible!

  • Options
    Joe KJoe K Registered User regular
    @Nightslyr - drupal is a nifty solution that may be right up your alley. not exactly easy to do the first time however...

  • Options
    urahonkyurahonky Registered User regular
    Phyphor wrote: »
    You see, your problem is that you're using swing. Swing is terrible!

    Yes it is. Ugh...

  • Options
    SporkAndrewSporkAndrew Registered User, ClubPA regular
    edited September 2012
    Yeah, unless you want to deal with PCI headaches never handle CCs yourself, always pass off to payment processors.

    From the limited experience I've had, CubeCart has been OK. It's not the prettiest thing out of the box, but it's fairly idiot-proof. There's payment plugins that cover everything from Paypal to Sagepay to Google Checkout, and it doesn't take long to re-skin.

    You'd probably have to write something to convert existing users though.

    SporkAndrew on
    The one about the fucking space hairdresser and the cowboy. He's got a tinfoil pal and a pedal bin
  • Options
    NightslyrNightslyr Registered User regular
    Infidel wrote: »
    Rule 0: Don't handle credit cards yourself. Let a payment processor always do it.

    What is the existing site that you want to integrate user accounts with?

    Sounds good. I was looking at this: https://stripe.com/ Seems interesting, but I'm a newb when it comes to this shit.

    The site is a small, shitty WordPress site at the moment, but she wants a complete rewrite from the ground up. There's no membership system with this version, but it's in the planning stage. It will be up before the e-commerce part. The idea is to create a quilting club of sorts that would allow for shop discounts and access to certain areas of the site itself. Behold and laugh at my horrible design skills: http://thesewingdivaquiltshop.com/ It's a site I inherited from some, even shittier wannabe dev. Should have seen what it looked like before.

    But, yeah, the idea is to drop WP and do a better job all around. The design (obviously) doesn't work, so nuke it from orbit and try again.

  • Options
    NightslyrNightslyr Registered User regular
    Joe K wrote: »
    @Nightslyr - drupal is a nifty solution that may be right up your alley. not exactly easy to do the first time however...

    Her needs are pretty small, so Drupal may be overkill. It's basically simple blog + shop that she's looking for, and she hates doing the updates herself. I'm trying to keep things bare-bones for ease of use. Without WordPress (seriously, fuck WP).

  • Options
    NightslyrNightslyr Registered User regular
    edited September 2012
    I think I might just go with Stripe. It may mean more work for me, but not a lot more than needing to re-skin and write hooks/hack something to integrate with the rest anyway.

    That said, I think I'll learn Drupal on the side. I know that at least some of it is based on Symfony, so it's about as quality a CMS/platform PHP can have. Something I need to learn anyway.

    Nightslyr on
  • Options
    EchoEcho ski-bap ba-dapModerator mod
    My favorite part about writing a presentation to teach some basic programming: I learn new stuff myself.

    I'm entirely self-taught when it comes to programming, so naturally there's plenty of obvious fundamentals I've missed.

    Today's small but very interesting discovery: any time you print an object in Ruby, it calls #to_s on it. Which is very obvious in hindsight. And this lets me do lots of fun stuff by overriding #to_s in my own classes.

This discussion has been closed.