• Breaking News

    Thursday, January 9, 2020

    Today I just realized that I've been wasting my career focusing on simple, basic, trivial technologies like Javascript, HTML, and CSS. web developers

    Today I just realized that I've been wasting my career focusing on simple, basic, trivial technologies like Javascript, HTML, and CSS. web developers


    Today I just realized that I've been wasting my career focusing on simple, basic, trivial technologies like Javascript, HTML, and CSS.

    Posted: 09 Jan 2020 09:13 AM PST

    Background: I work as a front-end engineer, mostly building corporate management software using Angular.

    I get an email from one of our marketing guys:

    Hey /u/seedlio*,*

    We recently hired an agency to build us a new website in wordpress. They just finished and handed it off. Now, we need to migrate all of the content from our current Hubspot website to wordpress, and may have to update the website structure itself last minute.

    Do you know anyone you can recommend to help? We don't need anyone with programming skills*. It is really simple and will only use* basic, trivial web development skills like Javascript, html, and css.

    Best,

    McDouche

    Now, before everyone starts attacking Marketing Douche, he knows what he's talking about. He used to edit his Myspace layouts back in the day.

    Update: I ended up hitting him with this, "In contrary to what you said, if the job is to programmatically migrate and possibly make updates the site structure itself, we will in fact be needing "programming skills". It is not prudent to under estimate the amount of work this can turn into, nor trivialize the work itself or the skills needed."

    submitted by /u/seedlio
    [link] [comments]

    How to Negotiate Work-From-Home at Your Current Company

    Posted: 08 Jan 2020 10:13 PM PST

    Negotiating a work from home arrangement in between of orthodox office setup is tricky. But, change is always hard, be a pioneer because a flexible work arrangement is totally worth it.

    Follow these steps if you want to ask work from home, read here:

    • You need to analyze and compare your productivity, focus, and time management skills while working from home against an office setup.
    • Before you start negotiation on a flexible arrangement for work, be sure to include answers to all the doubts your manager might have.
    • Bring a strategic plan/proposal to the table, with a clear outline of your work schedule and responsibilities.
    • Your work schedule should not be drastically different from your current working hours.
    • Suggest a trial run of working from home for a month or two.
    submitted by /u/k_tuned
    [link] [comments]

    Generative Placeholders

    Posted: 09 Jan 2020 04:32 AM PST

    Preventing Access to Include Script Files

    Posted: 09 Jan 2020 09:30 AM PST

    Hi, I'm trying to create an error script that will show document errors like 404.

    I'm able to redirect to it via the .htaccess file with the following line:

    ```ErrorDocument 404 /error.php```

    But I also want to prevent access to error.php so I'm placing it outside the webroot that is set in my host.

    In this case I unable to access error.php via the .htaccess file.

    What can I do in order to redirect to a php script that is outside the webroot?

    Also I wondered if there's a way to prevent access to include files without moving them outside the webroot in case it's a shared host that don't give the option to manipulate the apache server.

    Edit: Also, how do websites like Amazon.com do redirects? Because if I go type in this URL Amazon.com/asd123.asd it sends me to it and shows the error page.

    submitted by /u/Tactical_Powered
    [link] [comments]

    Have you ever had a job where you felt you’re infinitely in over your head?

    Posted: 09 Jan 2020 08:08 AM PST

    I specialized as a UX Researcher and Designer for eight years before I decided to bail and do a 7-month frontend coding bootcamp. I'm socially anxious and wanted to do something less focused on working with people, especially in the awkward interview/testing situations, and suspected I'd like coding more from the times I'd done it here and there over the years.

    I got super lucky and ended up loving coding more than anything I've ever tried in my life, and contrary to being the lazy student scraping by in college, I was top of my class and helping others along. I've never been happier or more fulfilled than spending literally all day every day designing and building various apps, and I felt like I found my "thing".

    I took my time job hunting and found something I was really excited about and seemed to be really excited about me, but six weeks in the situation is unbearable. I'm on a team of eight people total, and the lead Frontend guy quit, leaving me on my own as the only Frontend person. Everyone else on the team has degrees (some PHD) in comp sci or coding and are busting ass to build what I've typically seen teams three times the size build in three times the amount of time, even at Google. I've had to ask a lot of questions and learn about things I've never encountered, like remoting into Apache servers and running deployment scripts, learning about docker and kubernetes, learning how to develop Microsoft office addins, the list goes on. Many of my questions are rookie questions I'm sure, and all these busy and much more experienced people seem frustrated I have so many questions and can't do more six weeks into the job. They are expecting to give me tasks involving complex Haskell code, which is super gnarly, and to just figure it out.

    I have changed jobs a ton over the years as a contractor, and I have never felt like the challenge of a new job was insurmountable, let alone THIS insurmountable. I'm devastated that I feel like such a drag on the team and that this job isn't working out, and I feel ridiculously insecure. At the same time, part of me is proud that in that time I independently learned enough of their Frontend and a new framework to build dozens of small features and fix dozens of bugs in that time, in addition to designing and building the Frontend for a new SPA they're starting up. I'm shocked there are no one on one meetings with anyone, onboarding to familiarize me with the tech stack or codebase, etc and feel set up for failure. I don't have the experience to know how much of this is due to me being a beginner vs would be shocking to any developer, but the others seem disgruntled at the pace at worst, but ultimately enjoy their autonomy and freedom.

    I could continue to go on and on, but hoping this is enough to get some insight from experienced developers on wtf is going on and what I should do.

    tl;dr- got a job that is way over my head and people seem frustrated, can't figure out what to attribute to my own shortcomings vs the environment, and donno what to do about it.

    submitted by /u/47milliondollars
    [link] [comments]

    Can't track down four broken links.

    Posted: 09 Jan 2020 04:50 PM PST

    Every website audit I'm running is coming up with four broken links on my Wordpress website but I can't seem to track them down to eliminate them to save my life. They're not static pages though and I can't even find where they're being linked from.

    Page: SEOtographer

    404's being reported...

    /?post_type=scheduled-action&p=19078
    /?post_type=scheduled-action&p=19079
    /?post_type=scheduled-action&p=19084
    /?post_type=scheduled-action&p=19085

    Can anyone provide assistance? This has been driving me nuts all day.

    submitted by /u/TacoTacoTacoPoop
    [link] [comments]

    What is happening on this Air Canada page? It looks like a list of possible errors for anything on the site.

    Posted: 09 Jan 2020 04:04 PM PST

    Sr UI/UX Designer looking to get back into front-end coding

    Posted: 09 Jan 2020 09:49 AM PST

    Hi there. I've been a professional web designer for 12 years. When I first started, in addition to visual design direction, I was fairly comfortable with HTML and CSS. And could usually reverse engineer some jQuery to meet the needs of whatever project I was working on.

    This many years later, my role focuses solely on UI/UX direction using static and interactive prototyping tools to communicate ideas and never really getting to code. I miss it, and am considering pivoting my focus to doing more general front-end design work, including coding.

    The thing is, I'm so out of the loop. Where should I start to get back up to speed? What technologies or code frameworks are most relevant / scalable / worth learning?

    Thanks!

    submitted by /u/countless_rooftops
    [link] [comments]

    Any suggestions on how to create an Eater style map + directory?

    Posted: 09 Jan 2020 03:40 PM PST

    Example here:
    https://la.eater.com/maps/best-new-burgers-los-angeles-restaurants

    I work for a ticketing company, and we power the ticketing for a lot of awesome wine + food festivals. I wanted to create something similar to the link above, but using our clients instead of burger spots. Any suggestions on where to start?

    Ideally I would use an HTML template as a base (something like http://themestarz.net/html/locations/), but am open to any kind of suggestions. Thank you in advance!

    submitted by /u/sammogil
    [link] [comments]

    Deployment questions for client application - React.js/Express.js/Node.js/MYSQL

    Posted: 09 Jan 2020 01:09 AM PST

    Hello all,

    I just finished building an inventory and tracking system for a company. I am now getting ready to deploy it to a real domain/host now so that my client may use it forever.

    I have very minimal experience in this area and am looking for any advice as to where the best deals are with great security features and data backups as well.

    They are looking to save money and I am looking for a solid straight forward path.

    My app is currently on 2 separate repos. Front-end is a react.js app currently running on Github pages for free. My backend/API/Node.js/Express.js server is running on a Heroku free account using a JawsDB add on for my MySQL database using a Sequelize ORM.

    Questions:

    - Where do I get a domain for my react app, and a domain for my API? Do I need both?

    - Should they be deployed separately like they are?

    - Is a snapshot enough for data backups?

    - How do I hide the code from potential threats?

    My client has a marketing site deployed on dreamhost.com, but it seems like that is more focused on Wordpress websites. I am really ignorant in this area and would love any advice or resources that you have time to share. Thank you so much, I just want to choose the best option for my client because they plan to use this indefinitely. Please let me know if I can explain anything better or if you have any further questions.

    submitted by /u/CurlyNipples
    [link] [comments]

    Should I keep building and learning from a single stack or be trying to expose myself to other stacks here and there

    Posted: 09 Jan 2020 09:20 AM PST

    Edit: Context - Still seeking first job

    I'm wondering if I should maintain focus on learning/exploring MERN stack ( fairly popular in my area) and building projects and keeping up with it and making it bascially all my portfolio projects for now, OR

    Show versatility and have projects of different stacks and languages instead.

    I accepted I can never learn everything, and I may be asked to learn to use something different than what I have been practicing, but from lurking around I commonly see nobody likes a jack of all trades master of none. So I was wondering what the best way to go about this is.

    submitted by /u/Hump_Master
    [link] [comments]

    Accessing props of props in for..in loops (JS)

    Posted: 09 Jan 2020 03:16 PM PST

    I have an object that looks something like this:

    const object = {

    totalAnimals: 4,

    animal: {

    'gorilla': { color: 'black', weight: 220 },

    'octopus': { color: 'orange', weight: 30 },

    'robin': { color: 'red', weight: 0 }

    }

    }

    And I want to access the color prop in a for...in loop, where the for is the animal prop. So I have a for...in loop that looks like this:

    for (const prop in object.animal) {
    console.log(prop.color)
    }

    But naturally this does not work (undefined).

    How does one access the props of the iterated props in the for...in loop?

    submitted by /u/SierraTargon
    [link] [comments]

    How do we feel about sending text passwords?

    Posted: 09 Jan 2020 03:15 PM PST

    I've been working on a Web Application at my job (new features / bug fixes). The project is getting to the point where they are getting ready to use it in the real world. There is a Lead / more experienced developer that I've been working under for the last 10 months or so and now I'm starting to be more on his level after a year. The application will have an account for users with a temporary password. The other dev wants to email text passwords to these users for them to use it and sign in to reset the password to theirs. I've mentioned multiple times that that is a bad idea and raises security concerns. I've never done it before but I'm pretty sure a better way would be to send a reset password link with a token that expires after x amount of hours. After it expires then they would have to request a new one after authentication (security question etc). What do you guys think? Text passwords would probably be easier. This company is a marketing agency with 2 software projects so its not a software develop environment; all the care about is money not delivering a good product. What do you guys think about text passwords vs i guess api auth?

    submitted by /u/UntouchedDruid4
    [link] [comments]

    How can I make recommendations based on a category and time? Something like TED recommendations, but I want to recommend articles and videos from other websites(for example articles from The Guardian and videos from YouTube)

    Posted: 09 Jan 2020 03:09 PM PST

    How to Use the Star Wars API in About 50 lines of PHP

    Posted: 09 Jan 2020 02:52 PM PST

    How to prevent SQL injection when creating website builder?

    Posted: 09 Jan 2020 02:46 PM PST

    I am creating a simple "website builder" and all it does so far it generates a new container on the click of a button and the text can be edited to whatever they want. However, I realized that I am now vulnerable to SQL injections as the new container happens on the client side. So what do I do? Any methods out there? Could not find anything relating to this on stack overflow :/

    submitted by /u/Gashanian
    [link] [comments]

    How can you do web development without internet access? ie on a flight.

    Posted: 09 Jan 2020 10:55 AM PST

    I have a 16-hour flight coming up and for a few days, I will be in a country where my internet is not guaranteed.

    I have some proof of concept work in React I'd like to try during this time. This seems like quite the hurdle because even at work I'd need to look up documentation or install npm packages. How do you approach web development without internet access?

    submitted by /u/stevezease
    [link] [comments]

    Laptops for remote programming - Touchscreen vs NoTouch

    Posted: 09 Jan 2020 10:53 AM PST

    I'm learning web development & programming at home in absolute solitude and devoid of social interaction and I figured I need to code outside to break the "depression". Which is exactly why I've been looking into laptops.

    I've narrowed it down to a handful of models:

    • Dell Inspiron 14*
    • Lenovo IdeaPad S540
    • Huawei Matebook 13*

    \these models can be touchscreen)

    I gotta admit, before I've tried a touchscreen laptop I was skeptical, but being able to quickly select code blocks or scale web pages and move things around through the screen felt so natural and awesome (like Tony-Stark-moving-shit-around-level-natural). Definitely beats the touchpad in terms of precision or speed (in my experience).

    Anyone out there who can share their experience? I'd like to purchase this hardware next week but I'm still not sure (some noTouch models can be more powerful for the same price, hence the dilemma).

    Also if anyone used any of these laptops before, how do you like it?

    Huge post, apologies and happy coding everyone :)

    submitted by /u/MisterMeta
    [link] [comments]

    Need help finding badly designed websites

    Posted: 09 Jan 2020 02:25 PM PST

    Hello everybody,

    For a school assignment I have to redesign a badly designed website in terms of the Ten Usability Heuristics ( https://www.nngroup.com/articles/ten-usability-heuristics/ ). On the badly designed website we have to find at least 15 problems, but unfortunately I can't seem to find any. It's not about the website being ugly or old. I hope my problem is described clearly enough. Thank you

    submitted by /u/Piemelbrie420xxx69
    [link] [comments]

    What's a commonly misunderstood term or concept in the web dev field that really grinds your gears?

    Posted: 09 Jan 2020 01:44 PM PST

    Any html/css website templates that use jinja template engine?

    Posted: 09 Jan 2020 01:25 PM PST

    Hello and thank you for any advice and help!

    I have just finished Miguel Grinberg's Mega Flask tutorial. In this tutorial he uses flask-bootstrap for simple html/css templates that use the jinja expressions for ease of use with the flask framework. My question is, are there other templates out there I can download that have a different css style but still use the jinja expressions for ease of use with flask? Maybe there is even a better way to go about this altogether if I want to use Flask for my website?

    Thanks in advance, DC

    submitted by /u/rednirgskizzif
    [link] [comments]

    Pulsing play button issue - Can I use this on Wordpress?

    Posted: 09 Jan 2020 01:20 PM PST

    Planning to learn back end/Node. Should I do the Helsinki full stack course or learn from Udemy instead?

    Posted: 08 Jan 2020 07:07 PM PST

    My plan right now is to delve into the back end. I was originally planning to buy a Udemy course on Node/Express/MongoDB etc. from Jonas. But I also know the University of Helsinki's full stack course is of high quality. Now I am in a dilemma - should I do the MOOC or Jonas' Udemy course?

    Jonas' udemy course is just under 50 hours long, which is ... very long indeed. Not sure how long the MOOC is.

    Those of you who have completed the full stack MOOC, how did you find it? Do you understand just the fundamentals now, or do you actually feel quiet confident in your understanding of full stack, more than just the fundamentals?

    If you have completed Jonas' course, I would like to hear from you even more!

    Anyway, TL DR is - should I just do the Helsinki full stack MOOC, or do the Jonas' Node course?

    submitted by /u/5ecured
    [link] [comments]

    The ultimate guide to master tree data structures step-by-step

    Posted: 09 Jan 2020 12:29 PM PST

    No comments:

    Post a Comment