• Breaking News

    Friday, September 10, 2021

    First Complete React app ( would love some feedback) 😄 web developers

    First Complete React app ( would love some feedback) �� web developers


    First Complete React app ( would love some feedback) ��

    Posted: 10 Sep 2021 10:31 AM PDT

    How many hours do you really work?

    Posted: 09 Sep 2021 07:44 PM PDT

    Hey I started my first formal IT work in Nov 2020, and It's full remote.

    My schedule is of 8 hours + 1 hour break, on that time I often spend like 3/4 hours watching yt videos , reading and playing guitar, Is it common? I can't focus too much

    Being honest, sometimes I'm very focus and I tackle 2 cards in a day but I never work more than 5 hours in a row.

    Technologies: React & Java

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

    Why are hyperlinks blue?

    Posted: 10 Sep 2021 05:00 AM PDT

    Are the different colors in my html file telling me I'm doing something wrong?

    Posted: 09 Sep 2021 08:05 PM PDT

    Is this real? A CS degree is worth 5+years (let alone 10)in industry? And Java in For UI Position?

    Posted: 09 Sep 2021 09:21 PM PDT

    JavaScript Eventing Deep Dive

    Posted: 10 Sep 2021 11:32 AM PDT

    Finding Help .. Contractors?

    Posted: 10 Sep 2021 12:27 PM PDT

    So I just started web design and I'm thinking ahead here. Where is the best place to find help? Like illustrators or other developers for big projects. I tried Upwork and that didn't work out well for me. The first guy that responded to my ad sent me a link to his "Portfolio" that sent me to a virus. The other two that responded their profile looked/sounded sketchy. Any other ideas?

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

    Is there any Web Api that has map directions with navigations?I am building this for my school and have not found any apu that can do this except the Google api, which costs too much, is there any way i can get this to work with a less priced api, and one that will give navigation also on the Web?

    Posted: 10 Sep 2021 10:17 AM PDT

    Go, Kotlin, Java Microservices with gRPC and UI

    Posted: 10 Sep 2021 01:23 PM PDT

    EyeDropper API Dropped

    Posted: 10 Sep 2021 04:14 PM PDT

    ELI5 Canvas magic

    Posted: 10 Sep 2021 09:59 AM PDT

    Hi all,

    I'm a JavaScript/TypeScript dev and work as a frontend software engineer with mainly Angular2, so I feel I am pretty confident in my ability to produce decent web applications.

    However stuff like this completely blows my mind: https://map.newworld.com/en-us/

    How is something like this even achieved? I've dabbled in canvas.js stuff but never to this kind of level. Is this mainly carried by the art assets? The interactivity is amazing.

    Any insights?

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

    uncaught error on line 38

    Posted: 10 Sep 2021 03:39 PM PDT

    uncaught error on line 38

    const urlToFetch = `${weatherUrl}?&q=${$input.val()}&APPID=${REDACTEDforPRIVACY}`;

    I've got main.js:38 Uncaught SyntaxError: Invalid or unexpected token

    not sure what I did wrong. this comes from the Codecademy course: Wanderlust

    https://www.codecademy.com/courses/learn-intermediate-javascript/projects/wanderlust

    I've reached the end, but I got this error and the page isn't displaying.

    https://preview.redd.it/hit2l1767rm71.png?width=1280&format=png&auto=webp&s=699761322b8ee6f666f38d7e176ff7593eccbe87

    // Foursquare API Info const clientId = 'REDACTEDforPRIVACY'; const clientSecret = 'REDACTEDforPRIVACY'; const url = 'https://api.foursquare.com/v2/venues/explore?near='; // OpenWeather Info const openWeatherKey = 'REDACTEDforPRIVACY'; const weatherUrl = 'https://api.openweathermap.org/data/2.5/weather'; // Page Elements const $input = $('#city'); const $submit = $('#button'); const $destination = $('#destination'); const $container = $('.container'); const $venueDivs = [$("#venue1"), $("#venue2"), $("#venue3"), $("#venue4")]; const $weatherDiv = $("#weather1"); const weekDays = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']; // Add AJAX functions here: const getVenues = async () => { const city = $input.val(); const urlToFetch = `${url}${city}&limit=10&client_id=${clientId}&client_secret=${clientSecret}&v=20180101`; try { const response = await fetch(urlToFetch); if(response.ok) { const jsonResponse = await response.json(); const venues = jsonResponse.response.groups[0].items.map(item => item.venue); console.log(venues); return venues } } catch (error) { console.log(error) } } const getForecast = async () => { const urlToFetch = `${weatherUrl}?&q=${$input.val()}&APPID=${REDACTEDforPRIVACY}`; try{const response = await fetch(https://api.openweathermap.org/data/2.5/weather) if(response.ok) { const jsonResponse = await response.json(); console.log(jsonReponse) return jsonResponse } } catch(error) { console.log(error); } } // Render functions const renderVenues = (venues) => { $venueDivs.forEach(($venue, index) => { const venue = venues[index]; const venueIcon = venue.categories[0].icon; const venueImgSrc = `${venueIcon.prefix}bg_64${venueIcon.suffix}`; let venueContent = createVenueHTML(venue.name, venue.location, venueImgSrc); $venue.append(venueContent); }); $destination.append(`<h2>${venues[0].location.city}</h2>`); } const renderForecast = (day) => { const weatherContent = createWeatherHTML(day); $weatherDiv.append(weatherContent); }; let weatherContent = ''; $weatherDiv.append(weatherContent); } const executeSearch = () => { $venueDivs.forEach(venue => venue.empty()); $weatherDiv.empty(); $destination.empty(); $container.css("visibility", "visible"); getVenues().then(venues => renderVenues(venues)); getForecast() return false; } $submit.click(executeSearch) 

    Here's the instruction:
    21.

    Before the try
    code block, create a const
    called urlToFetch
    that includes:

    • the base weatherUrl
    • the q
      parameter (representing the location query) with a value of the user's input ($input.val()
      )
    • and your API key as the APPID
      parameter

    Don't forget to join parameter key-value pairs after the API key with &
    .

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

    microservice framework on aws

    Posted: 10 Sep 2021 03:12 PM PDT

    So far I've been able to launch 4 styles of deployment on aws, but I'm unsure which is best to go with for a microservice framework.

    1. API Gateway with Network load balancer to EC2 [ internet -> api gateway -> vpc link -> network load balancer -> ec2 running flask ]
    2. Application load balancer to EC2 [ internet -> application load balancer -> ec2 running flask ]
    3. global accelerator to application load balancer to ec2 [ global accelerator -> application load balancer -> ec2 running flask ], although I did not notice much different with global accelerator on
    4. API Gateway with lambda [ internet -> api gateway -> single lambda with all routes ]

    Unsure which route to go with. Slightly overwhelmed!

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

    Career change: Graphic designer vs. Web Developer

    Posted: 10 Sep 2021 02:54 PM PDT

    I apologize if I am posting this to the wrong community but I really don't know the best place to ask this question.

    Currently I am working full time as a mental health therapist. However, over the past 5 years that I have been working in this field, my quality of life has decreased significantly. Primarily, I just find myself drained from working with my clients in any capacity. For the past 3 years I have desired to make a career change but just haven't had the courage to do it. I've been teaching myself graphic design and motion graphic design in my free time and have recently started modeling in Blender as well. Art has always been a passion of mine and my source of self care but over these past 3 years I've been trying to build up enough skill (and confidence) to fully make a career change to becoming a motion graphic designer. Unfortunately, without any former schooling and no network in the field, my process to change careers has been incredibly slow. I've also been a bit discouraged as I've heard that becoming a motion graphic designer without a degree is much more difficult because the field is very competitive.

    So in comes option 2. This past year I also started teaching myself coding. Coding has been another little thing I have enjoyed since the Myspace days and it also fuels some of the creative spirit I have. I have considered pursuing a career as a full stack developer (again, without going to school) At the moment, I have been splitting my time between working full time as a therapist, learning motion graphic design skills, and learning code. I don't believe this is a very helpful way to go about things so I wan to hone in my focus.

    TLDR: As someone who is a mostly a beginner/self taught and has no intention on going back to school for either, which field is more available to make a career change into? Motion graphic design, or web development?

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

    It feels like there's not enough time in the day to stay on top of all the new things happening in dev while also having a full time job and trying to work on personal projects and contribute to open source.

    Posted: 10 Sep 2021 05:54 AM PDT

    And yet I feel constantly pressured to do all of these things. How do I learn to cope with the fire hose of information and expectation while being a merely average developer?

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

    Suggestions needed for animating looping carousel I created

    Posted: 10 Sep 2021 10:45 AM PDT

    Infinite Loop

    Posted: 10 Sep 2021 02:10 PM PDT

    Infinite Loop

    I just started a full stack bootcamp. Right now I'm on JS. The project is to create a rudimentary 'to do' list that runs in the js console. Every time I run my code it prints incorrectly and on repeat. Any help would be greatly appreciated. Here is my code:

    https://preview.redd.it/c1u6psdrsqm71.png?width=446&format=png&auto=webp&s=351f41469ace05fdb570535b80a314d953d7eb94

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

    Aspiring to become a Javascript / React JS Developer. Should I focus on a specific programming paradigm for my portfolio projects?

    Posted: 10 Sep 2021 02:04 PM PDT

    As the title says. I am going through and doing a handful of these project ideas:

    https://github.com/florinpop17/app-ideas

    I wanted to know if it would benefit me to stick to a specific programming paradigm/style like OOP or Functional Programming, or if it would actually be okay to stick with procedural for the smaller scale things such as the calculator.

    Obviously, I will still be using functions and the necessary data type, but I might map functions to an object, to create a "function map".

    Here is an example of my current style:

    https://github.com/AmishBaztard/Calculator/blob/main/script2.js

    Should I just continue to code things like this? Or would it help me find a job if I stuck to pure functions, or purely OOP? Perhaps I can do a different version for each project? Procedural, FP, and OOP.

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

    Best way to know what page a user just came from?

    Posted: 10 Sep 2021 09:59 AM PDT

    I am building out a project that requires each page to have a link that says "< Back to _____ " where the blank is the page that they were just on. Ex. "Back to listing", "Back to profile", etc.

    What is the best way to go about knowing what to populate the text as? Right now I am trying to use window.localStorage history, but it's not seeming to work correctly. It's showing the wrong url's in the history for some of the cases when I coming from a general "browse" (/browse/search?=) page instead of a specific listing or profile with an id in the route (listing/1234).

    Not quite sure how to proceed. thanks in advance!

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

    Got a front-end role at a startup company. I have a question.

    Posted: 10 Sep 2021 01:30 PM PDT

    So, they hired me and let me know that I'll be with the marketing most of the time (for now) to work on website revamp. But now I'm assigned to coming up with a script for a demo video of how our soon to be launched product and I'll be creating the video as well. My first thought was, isn't writing a script for the video direction marketing team's job? Our tech team has already showed them the whole demo, so they should understand how the whole thing works and that they should have an idea of how the video's direction is gonna be. But they asked me to come up with a script and create the video, lol. Do note that they know my background, this is my career change and I was doing marketing before this too.

    Should I make things clear the next time I have a meeting with my boss? My boss is not in the marketing team but he is involved with it. My worry is that, if there's a first then there'll be a second. Thanks!

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

    How do you test sites on different viewports?

    Posted: 10 Sep 2021 12:45 PM PDT

    I'm aware chrome / other browsers have viewport preview options but testing my sites on unique devices on older OS's (or devices that have other unique attributes) will always reveal some strange issues or layout problems.

    What is the best approach for efficient testing of sites on different mobile and tablet viewports, how do you approach this?

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

    Apple Magic Wireless Keyboard or Full Size Mechanical Keyboard?

    Posted: 10 Sep 2021 12:40 PM PDT

    I'm docking my macbook pro for the first time and I haven't typed on a mechanical keyboard for years. Can't decided if I should just go with the magic keyboard or a mechnical keyboard?

    Will writing code all day on a mechnical keyboard change my life for the better or should I just stick to what I know?

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

    Is it possible to point a domain name like website.com to a subdirectory website like mysite.com/website?

    Posted: 10 Sep 2021 12:23 PM PDT

    Hi all, I have various websites using the format: mysite.com/sitename. Would it be possible to point a domain name like website.com to a subdirectory website with the URL like mysite.com/website?

    If so, how would one go about doing this?

    Thanks!

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

    Advice on validating the absence of certain text in source

    Posted: 10 Sep 2021 12:22 PM PDT

    I want to be able to configure "If regex A is matched in any of these source files, that's a build failure, so return 1".

    The use case are things like: - I want to outlaw console.log or TODO - I want to avoid known bad import paths (eg. ol/src vs. ol/) - I want to avoid valid but undesired imports such as lib/file importing app/file

    I'm thinking I just need some tool that lets me define regexes and which sub-trees to look in, and if found, return 1. Then I could have it run prior to eslint and jest.

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

    My experience with the Strapi CMS while customizing it for our requirements

    Posted: 10 Sep 2021 03:17 AM PDT

    No comments:

    Post a Comment