• Breaking News

    Tuesday, March 30, 2021

    Emmet in CSS is quite powerful. Here's an example of chaining CSS abbreviations when centering elements in the body. One line to quickly create 4 CSS rules. web developers

    Emmet in CSS is quite powerful. Here's an example of chaining CSS abbreviations when centering elements in the body. One line to quickly create 4 CSS rules. web developers


    Emmet in CSS is quite powerful. Here's an example of chaining CSS abbreviations when centering elements in the body. One line to quickly create 4 CSS rules.

    Posted: 30 Mar 2021 02:31 PM PDT

    -Hey man, can you code something like Reddit for me? -Well, uhh, can a mechanical engineer build a car from scratch?

    Posted: 29 Mar 2021 11:43 PM PDT

    I get these ridiculous questions all the time. I have fun answering them. I just feel sad because people underestimate our work.

    What laughable questions you get about your job?

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

    Poor Man's darkmode

    Posted: 30 Mar 2021 03:34 PM PDT

    "We do not pay offshore rates such as double and triple the cost of a living wage in the respected country. If you are outside of the United States and asking for $50 an hour in India, please do not apply... "

    Posted: 30 Mar 2021 12:58 PM PDT

    I just saw this job posting https://talent.hubstaff.com/jobs/full-stack-developer-needed-for-develping-medical-solutions https://prnt.sc/1104yfd and I'm not sure what to think...I feel bad for anyone working for that kind of employer. Just because I'm not from US (I'm from EU) I should work for pennies? Or I should be paid just enough to cover my costs of living, as they say, god forbid that anything is left after paying bills? And I should eat what? Grass? Is that the thinking that US devs are so much better?

    What a freaking sad company. I'm just short of sending them an email about such discrimination, but again I'm not sure why I'm even bothering with such company.

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

    Unsplash is being acquired by Getty Images

    Posted: 30 Mar 2021 09:33 AM PDT

    Building a Magical 3D Button

    Posted: 30 Mar 2021 09:31 AM PDT

    Harvard CS50 Web development course for free without Certificate (Python, SQL, JavaScript, HTML, CSS)

    Posted: 30 Mar 2021 03:50 PM PDT

    Clean and animated website advice

    Posted: 30 Mar 2021 06:56 PM PDT

    I have a client that wants to offer service subscriptions (3 different plans), so no shipping involved though we would need to know the address of the users because we'll be selling home services.

    We're using shopify right now because I have limited experience and shopify has the bold subscription app that allows for recurring purchases and shopify as a whole allows for customer accounts. I tried square space initially and that didn't work for subscriptions.

    The problem now is that the themes for shopify aren't animated. There are very limited on scroll effects, or hover effects. Obviously these effects are done by web developers with years of experience. But I'm wondering if there is another platform i can use that has better themes/templates. Even the paid shopify themes arent what we're looking for.

    Any suggestions? Wordpress has more options but some other posts have been made saying WP aren't the best. Are there templates that look simple but have animations? What's an easy way to get started making custom sites? I have an interest in graphic design and with this client i have been gaining experience with html, css, and js for about 6 months a few hours a week. Not looking to make this a career but more like a hobby (just as a background on my experience and commitment).

    This is a site that has the elements we would want: https://iti.ca/en/

    Thanks in advance

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

    What does a typical day of remote work look like?

    Posted: 30 Mar 2021 06:48 PM PDT

    For those of you who work remotely part-time or full-time, what does a typical day look like for you? How often do you have to join meetings on Zoom? How often do you check in with your team? How do you communicate with your boss and your co-workers during the workday?

    Edit: I'm asking about people who worked remotely before Covid, but I'm also interested in what it's like to work remotely if you're currently working from home because of the pandemic.

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

    Best practices for cookie notices

    Posted: 30 Mar 2021 04:31 PM PDT

    Developers who work with designers, how many screen sizes do you expect the designer to provide you with in their Sketch or XD design files?

    Posted: 30 Mar 2021 04:01 PM PDT

    Especially for a very high-budget website that needs to be built responsively. Are there other assets you expect designers to hand off to you before development of the feature/layout/site begins?

    I usually tell the designers that I'll need mobile and desktop minimum but encourage them to provide tablet as well that the more screen sizes they provide, the less guess work and room for error there will be.

    However, I get a lot of push back from designers and am often pressured to build responsive sites with just very large desktop layouts because the designers don't have time to provide all screen sizes and there is time pressure from clients. This has led to inefficiencies and double the dev work, because if I guess wrong, I have to then redo my work or else they have a lot of feedback about how I 'interpreted' their designs on different screen sizes, especially since they are very particular about alignment, spacing, etc.

    Just wondering what the industry standards are and how many screen sizes it is reasonable to expect.

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

    At your company, where do you keep all of your codes?

    Posted: 30 Mar 2021 06:20 PM PDT

    Git? Or on physical drive? Or somewhere else?

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

    How Tail Call Optimization Really Works - Forget About Recursive Functions

    Posted: 30 Mar 2021 02:05 PM PDT

    Responsive design for 4k screens?

    Posted: 30 Mar 2021 05:43 PM PDT

    Hi All,

    Do we need to make our site responsive for 4k screens? A lot of sites ( or all) don't seem to support it after 1400px (eg. fonts are small at 4k with chrome's dev tools). Opening reddit with crome's dev tools at 4k shows what I'm conveying.

    Another point would be Bootstrap.

    Bootstrap's breakpoints also supports only for 1200px screens and above. I.e

    // Extra small devices (portrait phones, less than 576px) // No media query for `xs` since this is the default in Bootstrap // Small devices (landscape phones, 576px and up) @media (min-width: 576px) { ... } // Medium devices (tablets, 768px and up) @media (min-width: 768px) { ... } // Large devices (desktops, 992px and up) @media (min-width: 992px) { ... } // Extra large devices (large desktops, 1200px and up) @media (min-width: 1200px) { ... } 

    I don't know the reason why that's the case. Is it because most 4k monitors have an option to scale to at ~1400px width?

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

    API for shopping for food items? (like Instacart?)

    Posted: 30 Mar 2021 05:40 PM PDT

    I'm looking for some service with an api available for ordering food items. Similar to AllRecipes how they have (or used to have had?) integration with Instacart. It seems like it's an exclusive deal and am wondering if there is anything else comparable that anyone knows about for programmatically ordering though a similar shopping and delivery service?

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

    Is BrowserStack still the best option for testing multiple devices?

    Posted: 30 Mar 2021 07:49 AM PDT

    I used them a few years ago but not sure if any competitors have stepped up that are worth trying

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

    Why are the emails landing into the spam folder of the recipient?

    Posted: 30 Mar 2021 01:42 PM PDT

    I know someone who has a local business that sells/buys/rents pallets. Unfortunately many of his emails (while having a conversation with a client) lands in the spam folder of the recipient. I dont know why, the content of the mail is mostly a few sentenced, an attachment in a form of a pdf and the mail signature. The mail signature looks like this:

    ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––

    https://vimeo.com/57483f7d89 <- (a link to an image-movie of the company)

    Office: ----- the address

    Tel.: ––– the phone number

    E-Mail: –––the mailadress
    Homepage: ––– the homepage

    ––– two pictures with a logo

    ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––

    does someone has an idea what the reason could be? or how to figure the reason out? and solve it? Would be so thankful

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

    Guidelines for web dev code review?

    Posted: 30 Mar 2021 04:20 AM PDT

    Hi, I've been thinking a lot about code review lately. It can be a very effective way to improve code quality, yet many people seem to be struggling with it. Maybe more effective guidelines would be helpful to people who are reviewing code for design and quality (let's leave syntax out of it...).

    Code quality can be divided into four categories: Performance, Maintainability, Reliability, and Security. With that in mind, here's a partial list of things to check for.

    • Test cases pass

    • Tests cover new fixes or functionality

    • Failure modes are reasonably tested

    • Use of new dependencies is described (eg in architecture.md)

    • Use of new languages and tools has appropriate level of approval

    • Running time of any new algorithms is known (eg avoid n2 or greater on large-ish data)

    • Long running tasks run in the background

    • Avoid complex SQL and un-indexed joins

    • Queries should fetch data in batches (use LIMIT)

    • Transform data inside the database when possible

    • Security sensitive area of the code are identified and receive extra review

    • Check permissions on any data modification action

    • Filter query data by permission/scope/visibility

    • Avoid custom security code

    • Overall flow of the code makes sense. Avoid complex design patterns that don't serve a real purpose

    • Don't break encapsulation of modules, or introduce cycles in the call graph.

    • Access each dependency from a dedicated module. Don't sprinkle use of a dependency (eg cloud service) all over the code base.

    • Follow REST or equivalent (eg GraphQL) when adding or modifying web services

    • Document and explain new HTTP routes. Ensure they make sense within the existing scheme

    • Be aware of "blast radius" when making changes to web services or database schema. Understand other consumers of the resource.

    • Update the version and change log appropriately

    Loads of detail could be added to each one. But I'm trying to keep it fairly high level, yet detailed and comprehensive enough to be useful.

    Would love to here suggestions/alterations/critique etc.

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

    Is still necessary to compile ES6 code to ES5 in production for browsers?

    Posted: 30 Mar 2021 12:53 PM PDT

    For the past few years I, like most people I think, have been writing mostly ES6 code in development and compiling it with babel to ES5 when deploying to the production environment. However, lately I have been wondering if we haven't reached a situation that most browsers can run ES6 code natively. Can I use shows that most active browsers nowadays support ES6 code. So I was wondering if it now better to just write ES6 and don't alter it (apart from module resolving) and prevent all the bloat that a tool like babel adds to make the code compatible with ES5.

    Does anyone here use pure ES6 code in production?

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

    Credit card processor suggestion - client is having issues with Braintree

    Posted: 30 Mar 2021 04:18 PM PDT

    I am a developer and have implement Braintree for a client who has been using it for over 7 years, but recently he has complained that Braintree is going downhill - he mainly complains that reports have bugs confirmed by Braintree, and he's also seeing more declined transactions lately.

    He is asking me to switch to Paypal Payments Pro, but it looks like they handle recurring subscriptions differently from Braintree. With Braintree, we are able to control the recurring charges ourselves. I know that Paypal bought Braintree, but looks like they haven't fully incorporated their technologies yet.

    Any suggestions on other credit card processor? From personal experiences maybe? Is anyone else having problems with Braintree as well?

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

    I'm attempting to automate a form input with javascript and none of the typical blur() tricks are working

    Posted: 30 Mar 2021 07:19 AM PDT

    I have a bunch of Google Forms to fill out and I was hoping to automate it. I've taken over a colleague's self-made chrome extension that essentially runs javascript on the form to fill it out. The form recently changed and it's no longer working. Enter me.

    The form is publically accessible and you won't be able to submit without the a proper PIN:

    https://docs.google.com/forms/d/e/1FAIpQLScqqajvq3W-u8VGWTb3dfs6QcTMW_l-jGDMWhIcihxDPwvAkA/viewform

    My issue is that the text fields are not getting updated when I progmattically enter information.

    IE:

    document.querySelector('input[type="email"]').value = 'a@a.com' 

    The email fills out properly, but if you click 'next' at the bottom it says that it needs to be filled out. I've tried dispatching events, keypresses, blurs, and I've officially run out of ideas.

    Any help would be greatly appreciated

    EDIT: If it helps or hurts at all, I've come across this SO question regarding Google's JS Actions https://stackoverflow.com/questions/61114051/which-function-does-this-jsaction-call.

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

    Color gradient to cover navbar and first section into main content?

    Posted: 30 Mar 2021 02:31 PM PDT

    https://imgur.com/a/rXXhqZ6

    So i am trying to figure out the best way to have a gradient cover the navigation menu, and the main hero content. I currently have a gradient set to the body tag, but I know this isn't the correct way to do it, as I want the rest of the content to be white.

    Wrapping a div around <header><nav><div> doesn't seem like a good idea to me. The only thing I can think of is maybe having a div inside my main tag, setting the height, applying the gradient, and then positioning absolute. Again, I'm not sure if this is the correct way.

    I've created an example codepen with my current code

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

    Client’s Wordpress is too complex for me. Is it my fault?

    Posted: 30 Mar 2021 04:38 AM PDT

    I apologise if this is a wrong place to ask, but I really need to know about this.

    Although I've never worked in any web development company, I'm fairly confident in my html/css skills and know the basic knowledge of how to make the theme of Wordpress, and created a couple of clients' Wordpress themes from scratch in the past.

    Right now I'm working as a web designer to work on the client's website, can't reveal the details but it's a relatively huge corporate website.

    The problem is, it's way too complex to fix/add features the client requests. I looked at the source and apparently the former developers used their own framework to build the website, and I feel like that might be the reason why it's so hard to get a grip on the structure. To me it looks unnecessarily messy and huge, more than 25 plugins are installed (some of them are disabled and left), I've seen the css code where more than 100 lines could be shortened in 1 line

    (Like

    .example1 {
    width: 100px;
    }

    .example2 {
    width: 100px;
    }

    .example3 {
    width: 100px;
    }

    And so on, repeating to .example100)

    Now I'm really not sure what to do but honestly what I would love to know the most is if it's because of me lacking the skills required or they made it way too complicated (or maybe both).

    What do you guys think?

    Thanks.

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

    Does anyone have any success stories from making the jump to QA from dev?

    Posted: 30 Mar 2021 01:56 PM PDT

    I'm seriously considering walking away from development and getting into QA.

    It's a combination of a few things. I'm burned out working in development and it seems like I'm in roles that are a step or 2 behind the latest and greatest trend. I also don't have a lot of free time outside of work to stay up to date with latest and greatest trends. I'm assuming that this wouldn't be an issue in the QA area.

    It might be nice to get a fresh start and do something new.

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

    No comments:

    Post a Comment