• Breaking News

    Wednesday, April 28, 2021

    Outstanding, comprehensive TDD tutorial for frontend development web developers

    Outstanding, comprehensive TDD tutorial for frontend development web developers


    Outstanding, comprehensive TDD tutorial for frontend development

    Posted: 28 Apr 2021 11:44 AM PDT

    https://outsidein.dev/about-this-guide.html Fantastic guide, from kanban board to finished module, using TDD and CI/CD every step of the way. The author is a fantastic technical writer. I can't believe it's free.

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

    Did I have some delirious fantasy of what being a web developer would be like? I'm on my first week and it feels horrible so far.

    Posted: 28 Apr 2021 09:27 AM PDT

    Ughhhh I don't even know where to begin from. I started my first job this week and I feel horrible because I'm not really enjoying it at all so far, because it differs so much from what I was imagining.

    I have used Vue.js quite a lot for the projects I did in my spare time but I applied for a job listing that asked for experience in HTML, CSS and React/Angular or other frameworks. My thought process was that by "other frameworks" they might also mean Vue.js, so I decided to apply. I thought the worst that could happen is for me to not get a call.

    Later that day, I got invited to a 15-20 minute interview where the 2 main guys introduced themselves and asked me about the languages and technologies I use. Then they gave me a super simple React task to validate a couple of input fields. I had no experience with React and they knew that, but I still did the task by reading the documentation and drawing parallel with Vue.js.

    The next day they invited me to second interview and offered me a job rather rapidly, even though they knew I had zero experience with React. The problem now is that I just finished my third day at the job and I feel completely horrible, demoralized, useless and like I'm not learning anything. Most tasks take me so long to finish and I can't bring myself to study or do any other programming after 8 hours of stressing about the tasks. Worst part is that I know these tasks are on the easy side and soon I'd most likely start getting even harder ones.

    I was assigned to a teammate who tells me which Jira tasks to do and who helped me a bit with settings things like git up, but aside from that I don't and won't have any training/mentorship. It's my third day and I already feel bad when I have to ask him a question about anything because he's also a developer and has his own tasks. Every minute spend on explaining stuff to me is a minute lost for him.

    What makes everything so difficult for me is this:

    • They're using React alongside with more complex stuff like React-Redux and Redux-Saga when I can barely do the simplest React concepts right now. I need to study React, React-Redux and React-Saga but I just CAN'T learn anything without implementing it myself at least once. The problem here is that I'm too tired and can't be asked to code more after 8 hours of stressing out about my shit performance. Maybe I shouldn't have accepted a job with a framework I have no knowledge of.
    • I'm dropped into a huge codebase with dozens of components, actions and reducers. I can barely follow the logic. It's super hard figuring things out when someone else has written the code/variable names/folder structure/etc. Some of the folder/files names make no sense to me because they're sound so "general" that I can't figure out their purpose.
    • Some of the things I love about web development is the "change" I see after every line I write. Conjuring the layout through CSS, creating HTML elements or components, styling them, making GET/POST request to my API and rendering the data, trying to make the website score the highest SEO possible, adding the validation and seeing those red errors light up, hosting the website I've made on DigitalOcean for the world to see. Sadly, I've done none of that so far, I just read Jira tickets and fix smalls bugs. I haven't written a single line of HTML, CSS and I haven't created a single component. I know you gotta start from somewhere, but I don't think I'm learning anything by doing that. I just don't know man... maybe I just have some delirious fantasy of what being a web developer is like.

    I can't stop thinking about the fact that if this is really all there is to web development and it doesn't grow on me, I would've spend/wasted years of studying and doing projects for nothing. I'd also be left with no idea of what to do in life as a job. Thanks for taking the time to read my pointless rant.

    Oh I also forgot to mention that I'm completely remote from the get go so I've literally only talked to the 2 main developers and my mentor. Aside from my mentor, there isn't anyone else I can really talk to in case I wanted to get someone's opinion on what's the best approach to fix an issue.

    Thanks fellas, I really appreciate all the kind tips and pointers!

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

    Microsoft joins Bytecode Alliance to advance WebAssembly – aka the thing that lets you run compiled C/C++/Rust code in browsers

    Posted: 28 Apr 2021 02:47 PM PDT

    Spring Boot - A Java backend framework

    Posted: 28 Apr 2021 11:42 AM PDT

    I have recently come across Spring Boot which is a Java backend framework and I was wondering what is the general opinion about this framework. Is it easy to learn? Is it more scalable than Node.js? Is it popular? Is there anyone who has worked on it in the past and can give me some advice or suggestions? Basically any insight would be greatly appreciated!

    Thanks!

    submitted by /u/-normal_guy-
    [link] [comments]

    A collection of front-end debugging script snippets to be used in the Sources panel in Chrome DevTools.

    Posted: 28 Apr 2021 06:23 AM PDT

    CSS in TS

    Posted: 28 Apr 2021 07:17 AM PDT

    CSS in TS

    Honest question: why is this a thing? I've been working with CSS for years and haven't tried anything related to CSS in TS or JS. If you are able to manage your styles with utility classes or classes for components in CSS directly, why would you use something like this?

    I'm in no way criticizing the technology, I just want to know what problems tools like this one solve. If I'm able to style all my views with CSS with no problem, should I learn something like this and move to this approach?

    Sprinkles - Atomic CSS in TS

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

    SPA: Memorizing dark mode CSS style

    Posted: 28 Apr 2021 11:42 AM PDT

    How/when should the currently selected theme be applied to DOM on new page refresh in a SPA?

    In a SPA, right before the page is displayed the body tag has no classes, and white (browser's default) background will flash for a fraction of a second.

    So if you're trying to do it in DOMContentLoaded, it's already too late.

    The solution I came up with was, to read the theme from localStorage and as the page loads, add the class name within the first <script></script> tags, which will be read before <body> is loaded into DOM.

    Is this pretty much the only solution? Is there a better alternative? How would you do it?

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

    Are mass username claims inevitable?

    Posted: 28 Apr 2021 06:43 AM PDT

    Working on a platform with user accounts. Is there anything you can do other than email verification to prevent people from botting and claiming a bunch of usernames? I suppose captchas, but they're not perfect and someone could even manually claim if they wanted.

    Not that I expect famous people to make accounts and find that they're usernames have been taken, but you never know. Also just don't like the idea of someone going around claiming common usernames

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

    Recommendations for good c# / .Net youtube resources?

    Posted: 28 Apr 2021 07:12 AM PDT

    Im moving from front end to a full stack role internally soon. I understand c# and backend languages to the extent that i can read the syntax and understand what its doing.

    However I'd love to see a bit of "real code" being written just for some exposure. I am currently on childcare leave after my baby arrived so i have very little time to write code; however i can sit on youtube for hours while im rocking her or shes napping etc.

    I love a channel called "fun fun funtion" which was a dude called MPJ teaching Javascript principles so anything remotely like that would be sick.

    EDIT: just to be clear i dont need a crash course from zero; I understand OOP etc; what i really would benefit from is just seeing some coding projects being written to get an idea of how you architect a codebase and "where the f*** to start".

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

    Are tables still used to create a layout?

    Posted: 28 Apr 2021 11:04 AM PDT

    I want to create a page with a navigation column on the left and a main body section on the right using basic HTML only, no CSS or scripts. It used to be done with tables, but would that be considered bad design today? Are there any options other than tables to create that basic framework?

    Thanks!

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

    A backend to serve multiple frontend clients?

    Posted: 28 Apr 2021 11:52 AM PDT

    Hey guys, I got a couple of questions and would really appreciate some input into this.

    I offer a cheap deal for simple websites that practically require little to no backend logic. I was wondering if it was possible to have a backend (created with Django Rest) that could serve as many frontends (done in Vue.js) as I would want and more importantly, what are the risks/benefits of doing it this way?

    On a somewhat related note, if any freelancer reads this, how much do you guys usually charge for monthly hosting? Is there a formula or something based on how much you're paying vs. what you charge your clients?

    Cheers!

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

    What are the technical fun/hard parts of freelance?

    Posted: 28 Apr 2021 03:26 PM PDT

    Hey guys,

    I'm a senior developer turned manager who has been doing freelance work on the side for the last 6 months and I'd like to reach out to others about their experience. I'm looking for input on freelancing from recent bootcamp grads all the way to senior developers. I'm looking for different perspectives on the "business of freelancing" (like invoicing or requirements gathering) as well as the technical areas (like migrations, SEO or frontend). If you have other thoughts on freelancing I'd love to hear it.

    What I'd love to know:

    1. What is your experience level when you started freelancing?
    2. What parts of the "business of freelancing" do you enjoy?
    3. What parts of the "business of freelancing" do you avoid?
    4. What technical aspects of freelancing do you want to do more of?
    5. What technical aspects of freelancing do you want to do less of?
    6. What is the biggest challenge of freelancing?
    submitted by /u/Donnyboy
    [link] [comments]

    Starting point?

    Posted: 28 Apr 2021 11:33 AM PDT

    Bear with me dudes; I know there's a monthly beginner's post. But I would greatly appreciate a very brief guidance on where exactly I should start as a fresh-off-the-press beginner (leaning towards front end).

    So far I'm starting off with learning code through freecodecamp and was going to branch from wherever that gets me. Is there a better spot to dive in? Maybe a YouTube lecture on web development as a whole? Articles I should read?

    I'm finding that as I learn, there are built-upon concepts that I do not know, and was wondering if it's because I chose the wrong rabbit hole.

    Again, I am both well aware and fully utilize the pinned beginner's post. I just need some help wrangling/giving structure to this thing. Chasing my tail a bit here.

    Thanks in advance!

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

    Is there any tutorial/course for making React + Spring Boot CRUD app?

    Posted: 28 Apr 2021 03:12 PM PDT

    As the title suggest, I'd like to know if there is any good tutorial where the presenter builds a full application using React and Spring Boot. Even if it's Udemy or something that is paid I'd be willing to buy, I just need to see the full process of building the front end, the back end, and connecting the two.

    Thanks!

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

    Is this type of transition even possible/feasible

    Posted: 28 Apr 2021 03:01 PM PDT

    I was browsing dribbble's homepage and came across this design for a drink recipe app. You can view the demo as a gif here if you can't access dribbble for whatever reason.

    I'm referring to the transition between two pictures when you select a drink. I'm just so confused by it. I have a vague idea on how I could implement something like that, perhaps using lottie js to basically create an animation for every single picture on the site, or idk, I don't think that would work either.

    Is this kind of effect doable somehow? And if yes, is the solution feasible for a production website, with possible dozens of recipes?

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

    Got lost when when switching from a frontend developer to marketer ?

    Posted: 28 Apr 2021 08:34 AM PDT

    So, I was a frontend develper and I still love doing that!

    I was working for a company then I switched to an other company !

    I was 100% frontend ( started working on backend on last month before leaving )

    Then I passed an interview, a new company was looking for a frontend developer

    Then I have passed an interview, a frontend interview, they asked me about my marketing background, I shared with them just few stuffs because I worked with Facebook ads and shopify, etc .. not a big deal ..

    I started first working as a frontend, I was working with a Pardot platform ( belong to SALESFORCE Now ), I was working only on landing pages design for a client, designing forms, iframes integrations, etc ..

    My lead said that he wants me to move to Marekting and work on the functionnal parts, I said Yes, because why not ? I started learning stuffs and everything was good ..

    Then I am now joining a client project, and it is terrible, I mean the language they speak, Wouaah ..

    I was used to words like Bugs, library, packages, version, .. and all I hear Now is Leads, prospects, Nurturing, Conversion, sales cloud .. I mean we had a meeting few minutes ago and my teammate said a dev technical term ( snippets ) and clients and everybody did not get what is a snippets, a new Ocean ..

    Now I am stressed really, I am panicking, because I feel like I am not contributing to anything really, I just listen to people talk, and I don't want to lose my job .. it is scary because I was so happy by joining and working as a Frontend in the beginning !! but now, everything has changed ..

    do you thing I have to tell my lead ? this ?

    I am in my first two months doing just marketing, and it is a big levell marketing .. so LOOOST

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

    Text-to-Speech Options / Recommendations?

    Posted: 28 Apr 2021 02:13 PM PDT

    I have noticed a trend for news site to include text-to-speech options. Examples (using random article links to illustrate):

    What technologies are best for this? I know that you can do these easily with chrome extensions but I wish to provide a native button directly on the page. Could you recommend vendors for me to look at? I am looking at AWS Polly right now but am also looking at on-the-fly solutions if it can save an MP3 to a CDN.

    I actually am not sure if The Hill uses a text-to-speech service because the audio is of significantly better quality than most TTS services I have tested. (so if you know, do tell!)

    Thanks in advance

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

    How nuts do you go with formatting in PR review?

    Posted: 28 Apr 2021 02:03 PM PDT

    Most notably when reviewing JS, I'm basically a human sonarlint and I call out every single little thing. I'm worried it's a little overkill but IMO typos and incorrrect indents distracts from reading the code and therefore focusing on the logic. I don't want my team to think I'm just trying to delay the work further, but I can't help it.

    Am I going overboard, and is there anyone who has gotten reviews like this? What's your opinion on seeing all those comments?

    Edit: Forgot to add, we don't use formatting extensions because there's a lot of old code in the codebase, and certain diffs would be insane.

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

    What can i use to create animations with images/gifs in a website?

    Posted: 28 Apr 2021 01:40 PM PDT

    For my portfolio i want to create something unique and for that i want to make some animations with images, like changing images over time to create a feel of movement, or moving images within the website space and etc.

    What language should i use to achieve something like that?

    And is there a specific name for that? Because when i search for website animations its only something related with buttons or hover things.

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

    Faster load time for web pages with videos?

    Posted: 28 Apr 2021 09:51 AM PDT

    I often create web pages that use autoplay full-screen background videos, and my load times are always painfully slow. I try to get the file sizes down as much as possible, and in some cases even convert them to gifs, but no matter what I do it takes ages to load. I'm hosting on the free version of Heroku - would my issue be fixed by just upgrading to a paid version? I've read that this can help. A good example of the kind of load times/image quality I'm looking for is https://bjork.com/ which loads almost immediately and the video quality is superb. thank you!! :)

    EDIT: Just now seeing in that the Bjork site uses a youtube video as the src - does this dramatically reduce load times vs. hosting the files on-site?

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

    Galen framework or Cypress ?

    Posted: 28 Apr 2021 09:09 AM PDT

    Trying to figure out what would be better for functional and responsive layout testing automation.

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

    Can a custom HTTP request header be set on the server-side?

    Posted: 28 Apr 2021 08:57 AM PDT

    Is it possible for a server to setup a custom header in the response to a request, and then get the same header back in the next request from the client(without the client doing anything on its part) i.e. automatically that custom response header is copied in the next request to the server.

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

    How do I make a navigation bar?

    Posted: 28 Apr 2021 12:10 PM PDT

    How do I make a navigation bar?

    I am trying to create a navigation bar on my website. This is the important code I have so far. The bullet points are still not being removed and the list items aren't horizontal. Any help would be nice, thanks.

    <section id="navigation">
    <ul>
    <li>nav link 1</li>
    <li>nav link 2</li>
    <li>nav link 3</li>
    <li>nav link 4</li>
    </ul>
    </section>

    #navigation {
    list-style-type: none;
    margin: auto;
    width: 50%;
    text-align: center;
    display: inline;
    padding: 10px;
    height: 30px;
    width: 30%;
    margin-left: auto;
    margin-right: auto;
    }

    What the navigation bar shows with the code above.

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

    No comments:

    Post a Comment