• Breaking News

    Tuesday, June 25, 2019

    The Gospel According to Blake Watson web developers

    The Gospel According to Blake Watson web developers


    The Gospel According to Blake Watson

    Posted: 25 Jun 2019 02:31 PM PDT

    Saying "no" to free work

    Posted: 25 Jun 2019 12:26 PM PDT

    Ever since I picked up webdev, I was approached by tens of people asking me to make their app, website, etc. for "stakes" in their non-existent startup, and sometimes even asking me to do it for just "experience" (ie. free work).

    I fell victim to quite a few of these in my earlier years but I have since somewhat learned how to reject such offers – but I'm not the best at it. I still feel bad saying no to someone when I can see they're passionate about the idea they have, even though they probably don't understand the sheer scale of their ambitions.

    So, I'm curious, how do you approach situations like these?

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

    Show Reddit: Compress json-data based on it's json-schema

    Posted: 25 Jun 2019 01:14 AM PDT

    Freelancers: Do/Have you use a placement agency?

    Posted: 25 Jun 2019 02:22 PM PDT

    Freelance developers, do you use or have or have you used a placement agency for finding gigs? I mostly mean standard typical agencies as opposed to the freelance marketplaces like Upwork or TopTal.

    How often did/do you find work? Are they woth it? Would you reccommend them?

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

    Job search timeline?

    Posted: 25 Jun 2019 12:28 PM PDT

    So I graduated with an associates of applied science in web and software dev at the beginning of may.

    After 2 weeks off (gotta take a little vacation), and then a week and a half working on my resume, LinkedIn, and portfolio site, I've been job searching for about a month.

    I've put out maybe close to 30 applications and I've had one interview for a position I wasn't qualified for but a friend got me the interview.

    How long does it usually take to get a job, and are willing to relocate?

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

    How to rewrite CSS gradually to a new and cleaner version?

    Posted: 25 Jun 2019 01:23 PM PDT

    A new design has been drawn for a website that we are working on. We are planning to implement changes gradually - one day the layout will change slightly, another day some of the elements will change etc.

    The old CSS rules are convoluted and interlaced with each other. We would like to update the code to a more modern version - to use BEM.

    The problem is that we don't know in how many places a rule is used in so we can't just remove the rules except the most specific ones. And because of the specifity wars in the old CSS, the BEM rules will not trump the old rules.

    Have you guys got any experience on gradual move to BEM and dealing with the specificity of the old rules? The only idea that we came up is to configure some preprocessor to include !important in every rule of the new CSS and use that until we feel safe to remove the old CSS file entirely. The idea feels idiotic, is there anything more sane to do instead?

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

    Intensive mentoring in programming, feedback on code and questions

    Posted: 25 Jun 2019 02:02 PM PDT

    I have setup a community a few weeks ago for people to find studybuddies, request exercises - and get feedback, get long-term mentoring, ask questions and hangout. This is for almost all languages. If there's a language missing, just hit me up! If you are interested, you're welcome. If you're not, well.. Sorry for this post then, hope you don't find it annoying it's all free!

    The link: https://discord.gg/bhSwuDS

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

    Is there any cross-browser compatible way to save a web URL to a user's desktop?

    Posted: 25 Jun 2019 01:23 PM PDT

    I am working on a project for someone that wants users to be able to drag a web URL from the webpage to their desktop and essentially create a bookmark to their website for them. They want an icon (the site's logo) to always be saved with the web URL.

    Is there any way to do this in Chrome? Is there any way to explicitly specify the desktop icon for a website (rather than just taking the favicon)?

    Because of privacy concerns, I know scripting bookmarking and file-saving is somewhat difficult cross-browser in JS, but if there is actually any programmatic way of doing this I'd be interested as well.

    From what I've tried so far, the only way to include an icon with the web URL is if you grab the site information in the address bar when using Firefox or IE and drag it to your desktop. It will then save the website's favicon as the icon. I also added additional favicon sizes in the header of the web site in case it is dependent on that.

    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> <link rel="manifest" href="/site.webmanifest"> <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"> <meta name="msapplication-TileColor" content="#da532c"> <meta name="theme-color" content="#ffffff"> 

    Ideally, I'd expect a user to be able to drag an anchor link from the website to the desktop and have the icon that is saved to their desktop be an explicitly defined site logo if possible.

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

    [CSS/JS] Fade text on scroll? No overlays, within the text element itself

    Posted: 25 Jun 2019 02:27 PM PDT

    [CSS/JS] Fade text on scroll? No overlays, within the text element itself

    I have a simple webpage in Gatsby with lots of paragraphs scrolling up. I want to have the text fade to transparent as you scroll up. Attaching example. Can be either:

    • Gradient fade: the "color" of the text would be a gradient that goes from 0%–90% as fully opaque, to 90%–100% as fade out gradient. Concern – legibility/accessibility.
    • Line by line fade: The topmost line is 25%, line right under it is 50%, line under that 75%, etc etc. It gets more transparent as the text gets closer to the top of the page. I assume this is a better option since it doesn't mess with legibility?

    The challenge:

    This fade, whether gradient or line by line, has to happen within the text element as the entire page has a subtle low-contrast image background that scrolls up as the text scrolls up.

    Any help or insight very appreciated!

    https://i.redd.it/mkrz2of7lk631.png

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

    Before Flash goes quietly into the night on 2020, I HAVE to believe that some of you still remember the glory days of Flash like Neostream and 2Advanced, do you have any Flash site for me to check out to member the old times ?

    Posted: 25 Jun 2019 10:45 AM PDT

    If Freelancing is a "secret ticket" into making big bucks, why isn't it advertised more?

    Posted: 24 Jun 2019 10:30 PM PDT

    I often here that Freelancing will get you $150/hour and financial independence from working for big corporations.

    If that's the case, why isn't it promoted more to the general masses as a "secret trick" to making money? EVERYONE and their grandma would be doing freelancing, yet most people aren't freelancing?

    Let's say I start out by knowing absolutely nothing at all. After 2-3 years, I learn Web Development, and get basic clients and workflows. Why aren't MORE people doing this?

    Am I missing something?

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

    Lead gen tips for an introvert?

    Posted: 25 Jun 2019 04:33 PM PDT

    I am super shy in person.

    I thought about starting a blog, but there's so much competition it would take a mountain worth of work to get leads.

    I have been working on upwork, and clients are stingy.

    I am looking for the first step towards generating fruitful leads.

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

    What was a project you did that really helped you master and understand the fundamentals, sparking your excitement for web dev?

    Posted: 25 Jun 2019 04:25 PM PDT

    How can I protect my purely frontend webapp from theft?

    Posted: 25 Jun 2019 12:13 PM PDT

    Hi there!

    I've developed some simple webapps that are purely front-end, only client-side code, HTML, JS, CSS. No server side code at all. Found a hosting place, bought domains, etc, all the hassle.

    My question, is there any way to protect it from easily being stolen? I had some past bad experiences, where a site of mine (with several articles I wrote) had been just saved down and published elsewhere without my consent (with ads).

    I have a few things in mind, but all of these seem ineffective:

    • obfuscating the code as much as possible (it only helps in making changes to the content harder)
    • adding some nasty JS code that checks if the domain is my domain (any experienced coder will find it quickly and just remove it)
    • watermarking images (well, it helps proving the content is mine, but won't do much else)

    I know I can't fully prevent theft, at best they can still copy-paste the text content from my sites, but still, I'm looking for ways to make it harder.

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

    Beginning web design resources

    Posted: 25 Jun 2019 03:57 PM PDT

    I'm learning to increase my job prospects, right now I've been doing this at work because I have net access there for stuff like w3schools.

    Are there any resources with like PDFs or something? I'm stuck with phone net at home and it's not intuitive for learning

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

    A video with coders talking about their web stacks

    Posted: 25 Jun 2019 03:52 PM PDT

    Hi folks,

    I was wondering if you have seen some videos/ can recommend some videos that show some programmers talking about their code, either in detail or in abstract.

    Perhaps some movies?

    Gotta admit, graphic designers have it better, because there are countless movies about typography, the process, etc.

    Maybe there are videos/movies like that in the programming world?

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

    Around How Much Should I Charge for a Web Application Like This?

    Posted: 24 Jun 2019 07:40 PM PDT

    **Update: I got $300 so far. I'll make sure we have a set agreement prior to doing any work in the future. Also, he works for his dads real estate company that will be implementing the software once it's done, so it's not just some kid with just an idea.

    Okay so I just graduated college with a solid GPA and my bachelors in computer science. I never had any internships although I had a job doing basic HTML/JS work. I have lots of experience from classes alone.

    I'm interviewing for full-time jobs but in the meantime I decided to do some freelance work at Upwork.com to pay the bills. I found a project pretty quick building a web application from scratch in HTML/JS and it took me approx. 20 hours to do (~17 hours of work, 3 hours learning) as it was a bit complicated. It's basically just a web application with a form that takes in the clients details for a real estate transaction and is used to create a Word .doc which can be downloaded from the browser. I've attached screen shots of the site so far (just need to improve the UI and add one more feature then i'm done).

    The issue is that the client is a 19 year old who said he has a low budget but will give equity in the software as he plans to sell it to companies to use. So I will continue to work on it - add in backend dev like registration/login and eventually payment.

    But for now, he's going to pay me for what I have currently. I see rates on here anywhere from $30-150+/hr for freelance work. Can anyone give me an estimate for how much I should ask for what I have currently?

    Here's a pic of the site and then a pic of the created word doc that was downloaded:

    https://imgur.com/a/uFvvpfm

    Would appreciate any ideas as I have no clue what to charge lol. We decided that we would agree on a price once I was close to finishing as I was unsure how long it would take

    Thanks!

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

    Does anyone here know of a sub like this, or want to help me create one?

    Posted: 25 Jun 2019 03:08 PM PDT

    jQuery AJAX in IE11 sends some dashes and numbers to Laravel POST

    Posted: 25 Jun 2019 03:02 PM PDT

    jQuery AJAX in IE11 sends some dashes and numbers to Laravel POST

    Title + how do I get rid of it? I have some inputs, one of which is a file input so my jQuery looks like this (note Laravel is 4.2 not 5+):

    $registrationForm.submit(function (e) { e.preventDefault(); var formData = new FormData(this); $.ajaxSetup({ headers: { 'X-CSRF-Token': $('meta[name=_token]').attr('content') } }); $.ajax({ url: window.location.pathname, type: 'POST', data: formData, beforeSend: function beforeSend() { // }, success: function success() { // }, error: function error() { // }, cache: false, contentType: false, processData: false }); }); 

    It works fine from every browser but when sent from IE11 it adds something like this to input: -----------------------------7e337a1b31814--: and it shows up if I use $input = Input::all();. How do I get rid of it?

    EDIT: If I console.log response in which I put input all it looks like this:

    https://i.redd.it/nnmoi8cpsk631.png

    In chrome it's basically the same except that one line, I know it's a boundary string cause by contentType: false, but how do I get rid of it? And why does it only show when using IE11?

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

    How Can I Maximize Adsense Revenue?

    Posted: 25 Jun 2019 03:01 PM PDT

    One of the things I've prided myself on is keeping my website(s) light on ads. I've favored good ad placement with just two, maybe three ads tops, over just spamming the entire page with ads. Basically, each page is to show a significant amount of content, with a very reasonable amount of ads in comparison that don't interrupt the experience very much.

    The problem? Well, lots of them. The ads that show are often unrelated to content. Why? I have no idea. But I have no doubt that irrelevant ads have major effects on CTR and overall revenue. I often see websites much like mine running Google ads that seem way more relevant and I've never figured out how they do this.

    My site uses Wordpress and is free to use. Basically, it involves users being able to print/download documents within a certain niche, more or less. I've pretty much had an ad in the right sidebar, and down below after the content, right above the "previous/next" navigation links/buttons to go to older or newer posts. That specific unit seems to be the source of most of the revenue, with the right sidebar ad being MUCH less. I recently started experimenting with one banner before the site content, but I'm not really sure how it's doing. I used to have one up top next to the site logo, but it peformed poorly so I ditched it. What have been your best locations in cases where you only have two or three ads on a page?

    Also... Even IF my site is free to use, do you think I could benefit some something like an amazon carousel or something like that, showing products in my niche that people might be interested in purchasing? I've wondered if that's just self-defeating, since the purpose of my site is to basically print those particular products out yourself, rather than purchasing them, if that makes sense... I have no doubt an Amazon carousel would bog down my site as well.

    All in all, I'm just trying to max out site revenue with whatever traffic I have, without bogging down the experience too much. I know it's all about balance, but I think I can do better with the same amount. Just being smarter about what and where I place them, know what I mean?

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

    Need help storing a subreddit's /top posts for the day.

    Posted: 25 Jun 2019 02:49 PM PDT

    I'm trying to create a website that'll project on my desktop using wallpaper engine, that'll show the top posts of the last 24 hours to TodayILearned, with the title, a preview image, and the link to the source (which is usually a wikipedia citation). I found this on GitHub, but it would be too redundant for my picky task. Any help appreciated!

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

    Are All Google Ads Asynchronous Now?

    Posted: 25 Jun 2019 02:44 PM PDT

    I can't seem to find a straight answer. A single ad makes my score plummet on Page Speed Insights, so I'm wondering if the only two ads on my page are for some reason, not async. I remember there used to be an option but I'm not seeing it anymore.

    Are there any other ways to make ads impact site speed less? I try to just keep them to a minimum in spots I've found more profitable to keep things snappy, but that still doesn't mean I'm maximizing revenue with the speed I've managed to maintain. Any thoughts on this?

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

    What are the best ways to determine if a specific framework is good for production?

    Posted: 25 Jun 2019 02:38 PM PDT

    This is actually a discussion I had with my colleague the other day, we were debating whether or not we should stick with the framework we're currently using down the line.

    Just for some context he's had a few months in Express JS. As for me, I have worked several years in Laravel and I find the approach very elegant to write with.

    Naturally since we're on a tight schedule I went looking for a similar alternative when I knew the company is focusing on JS. That's when I stumbled upon Adonis.

    Do note that this colleague of mine has never tried Adonis, (which I think he should before passing judgement) and that he's working on another front end project in Angular.

    He stated that Express is a better framework to end up with because:

    1. A higher adoption rate, Adonis is too new for answers (means Express must've done something right, and that it has more resources to look up, hence easier hires too)

    2. Beginner friendly

    3. Unopinionated frameworks are easier to maintain (he stated he's not a fan of opinionated frameworks)

    My response was:

    1. The higher adoption rate of 5k vs 15k github stars is due to it being around the market for so long.

    2. (I agree to this, but) Adonis is fairly well documented.

    3. I disagree, I think this is a matter of the approach and coding philosophy one holds, as well as the use case.

    Convention over configuration is something I look for a lot nowadays, to have everything we need to start, to focus on solely business logic.

    I favour a DRY (Don't Repeat Yourself) approach, that Wrapping and Abstracting code to an extent helps with maintainability

    (As business logic is all that's left in the controller).

    My colleague favours the WET (Write Everything Twice) principle not exactly but he did say that redundancy is okay, that by not wrapping and using pure code every time makes it easier to understand

    (I disagree to an extent)

    He mentions that since I'm from a Laravel background I might be biased (true enough), and that in using a less popular framework creates technical debt for the company and that currently no one understands it more than i do.

    (I'm training the new guys to code in it though).

    I know this looks more like a post to vent

    (kinda is)

    But it kept me thinking, which spawns the question "What are the best ways to determine if a specific framework is good for production".

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

    Transform a Sketch design into living coded components - React/React-Native/Vue/Next

    Posted: 25 Jun 2019 02:30 PM PDT

    How to implement a "How to code" functionnality?

    Posted: 25 Jun 2019 01:41 PM PDT

    So I would like the user to be able to tell the app things like:

    A) Do this N times

    B) Do that until X

    C) Record these results each iteration

    etc.

    I could just have an input box and implements an api that defines what "this" and "that" the user have access to, but I would prefer it to be more instinctive and secure (XSS) Like a Google game a saw once about how to program using blocks for loops and everything.

    If it's not clear, I could provide an example.

    Tl;dr: what could work is an implementation of the Excel Macro Recording functionnality but applied to my site's possible actions (buttons, move things around, etc.)

    Thanks for your ideas and inputs.

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

    No comments:

    Post a Comment