by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Eugene Irwin
    @YoungSimba85
    Thanks, I am also working on a personal project that will be added to my portfolio. Its a horror anthology site titled "A Walk At Night" I will commit it to github in the next couple of months. At the moment I am struggling with building a custom modal window layout for the panels of the stories.
    G7470
    @G7470
    That sounds really cool! I'm interested to see what it's all about!
    Eugene Irwin
    @YoungSimba85
    I don't know what everyone elses coding experience is, but has anyone had to deal with chrome no longer supporting autoplay audio? Im searching for viable workarounds as there is atmospheric music that adds to the user experience of my site. Chrome threw a wrench in that aspect of the site with their new rules.
    G7470
    @G7470
    I haven't personally. I haven't messed with that aspect of it yet, but I was planning to. If you do find a workaround for it, let me know
    Eugene Irwin
    @YoungSimba85
    Thanks for chatting everyone, stay cool and have a nice night!!!
    G7470
    @G7470
    Thanks, same to you! Stay safe!
    G7470
    @G7470
    Hey all! I hope everyone has bared the storm that came through today. Personally got a little water in my basement but otherwise not bad. What is everyone up to tonight?
    Lily Romano
    @Lilyheart
    If it's anything like chrome mobile, audio will not play until a user interacts with the page in some way.
    I made a website with a timer. I couldn't just set the audio off when the timer ended. But, I could attach the sound to the start timer button and immediately "pause" the sound and resume it when needed.
    So when the user clicked the button to start the timer, it also technically started the audio file.
    that was a few years ago tho
    Eugene Irwin
    @YoungSimba85
    @Lilyheart
    Lily coming through with the assist! It was a design choice to leave off audio controls. I felt it takes away from the immersiveness of the design. Now that it seems to be a necessity I will have to find a creative solution. Thanks for the help!
    Lily Romano
    @Lilyheart
    Many visitors to a site will leave if there are no audio controls. As a general design rule, auto playing music is frowned upon regardless of immersion.
    There are many reasons for this. Accessibility, performance (not everyone has high speed), cost (not everyone has free internet or has data caps), and annoyance to name a few.
    G7470
    @G7470
    Hi all! What is everyone working on tonight?
    Eugene Irwin
    @YoungSimba85
    Wrapped up sorting Multidimensional arrays and now Im working on string manipulation and regular expressions.
    Then the clippers play at 9
    G7470
    @G7470
    Nice! Multidimensional arrays are really interesting. It's great how much data you can actually store in them
    Eugene Irwin
    @YoungSimba85
    Learning to recall that data or cycle through it wasnt much fun
    G7470
    @G7470
    Ah, yeah, that part isn't the greatest, lol
    Eugene Irwin
    @YoungSimba85
    @G7470 If you don't mind me asking. What field do you work in?
    G7470
    @G7470
    @YoungSimba85 I work in IT at a University
    G7470
    @G7470
    Hey all! What is everyone working on tonight?
    G7470
    @G7470
    Hey all!
    Eugene Irwin
    @YoungSimba85
    Eating Chili and going over comparing strings.
    Also eating Doritos
    Lily Romano
    @Lilyheart
    mmmm Doritos :)
    G7470
    @G7470
    Doritos are really good!
    Eugene Irwin
    @YoungSimba85
    Who is this community is familiar with PHP?
    G7470
    @G7470
    I am familiar
    What are you having issues with?
    Eugene Irwin
    @YoungSimba85
    splitting strings using strtok( ), Im sorry to say that I don't understand its relevance in place of using explode( )
    What purpose would you use strtok over explode?
    G7470
    @G7470
    It really depends on what you're using it for. If you only have one delimiter and a fairly small-sized string, explode() could probably be used over strtok(). Basically, strtok() is more memory-conscious, but explode() is more...shall I say, consistent? on the return value. Sometimes strtok() can return values that PHP can interpret differently than intended if the string is "complex" and you are trying to break it up into tiny pieces
    While I wouldn't suggest they could be used interchangeably from a professional perspective, on a practical standpoint (along with the fact that being memory-conscious isn't as important as it was several years ago), they could be used interchangeably for the same purpose
    Eugene Irwin
    @YoungSimba85
    @G7470 Would you say explode() would be more optimal for breaking down email addresses to determine the proper address to send them to?
    Seems like strtok would be suited for a censorship application, i.e pulling offensive language from strings.
    G7470
    @G7470
    Yeah, I would say that explode() would be more optimal for that purpose
    Eugene Irwin
    @YoungSimba85
    In case anyone was interested the Celtics are starting to drag the Miami heat. Celtics by 15 tonight!
    Eugene Irwin
    @YoungSimba85
    No sports fans?
    G7470
    @G7470
    Sorry, been working on a project. I've been following basketball some. Looks like they're in OT right now
    Eugene Irwin
    @YoungSimba85
    Yeah, the Heat just came back and won.........sports
    G7470
    @G7470
    Dang. It has been a good playoff so far though
    G7470
    @G7470
    Hey all! What is everyone working on tonight?
    Evander
    @evantides
    Hi!
    I have homework right now that i need to work on. I'm attending a class at General Assembly
    G7470
    @G7470
    Oh nice! That sounds really neat. How is that class going?
    Lily Romano
    @Lilyheart
    I have homework right now that I need to work on... but ugh.
    G7470
    @G7470
    I know that feeling, lol