• Breaking News

    Thursday, September 27, 2018

    Cloudflare is now a registrar web developers

    Cloudflare is now a registrar web developers


    Cloudflare is now a registrar

    Posted: 27 Sep 2018 05:30 AM PDT

    Is a freelance developer responsible in any way if a client chooses not to be GDPR compliant?

    Posted: 27 Sep 2018 01:56 AM PDT

    If a client decides that the GDPR cookie notice is causing a loss of sales and wants it removed, then would a sub contractor or freelance developer be on the hook for any fines that result from removing it? Or would that be entirely the clients responsibility, especially if they have been warned that it would make them uncompliant?

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

    Fronteers (a Dutch association of front-end devs) wants to become a member of W3C

    Posted: 27 Sep 2018 06:33 AM PDT

    Starting as a webdev without any experience

    Posted: 27 Sep 2018 10:02 AM PDT

    So about a month ago I made a post here, where I asked if I should accept a position as a webdev.

    Now in that post I made it explicity clear that I had NO experience and still all of you told me to accept the offered webdev position.

    Now I dont know if all of you are either huge trolls or live in a Disney Fantasy where everything has a happy ending, because I dont see how else any webdev in his right mind would tell a somebody like me: "Yeah sure start a webdev job without any experience".

    So me, the naive idiot that I am, got up on my first day with the attitude "This wont be a walk in the park, but youll learn and youll get better".

    As all of you know it indeed isnt a walk in a park. Its more of a hike. An endless one. Where you are constantly walking up a mountain. Made of glassshards. And despite knowing that its less painful to just hike up the endless mountain, my dumb ass constantly tries sprinting.

    My first weeks were highly stressful, spent with blood, tears and regret, as the realization creeped in that I had made the wrong choice.

    I spent countless hours asking myself how I passed my apprenticeship and came to the conclusion that the experts, that let me pass, had sever mental disabilities. On my final presentation that counted for 50% of my grade I was asked what GET and POST does and I could not answer. But somehow these buffoons let me pass.

    Would you let somebody, that didnt know what GET and POST is pass? To potentially apply at some important location, work with sensitive data and open the companies clients up to countless security risks?

    My code has so many security holes I started calling my project swiss cheese. I mean anybody could drop the sites database with SQL-Injections, theres a lack of sessions, allowing every dingus access to any site, no matter if theyre logged in or not and probably 50 other risk, of whose existence I dont even know yet.

    And while were on my code, you know that feeling of looking at your old code and going: "Oh boy.." as you silently sit there, realizing how dumb you were?

    Now imagine learning at the pace that I am right now. I realize how shitty my code is every week! I once was finished with my daily tasks early and thought I would clean up my code. Comment, create functions for redundant tasks, the whole 9 yards. It took me 3.5 hours and I was so proud!

    Well that was 3 weeks ago and guess what? My code is still garbage!

    Just today I spent the entire day trying to add a paginator to my tables! So what followed was 1 hour of finding the right plugin, 3 hours of grasping how it even works, 2 hours before I could get it to work on A COMPLETELY SEPERATE FILE and the last hour was spent, realizing that I shouldnt have originally loaded my tables with PHP.

    Because my tables had search functions and if you searched for something AJAX was used, so my search-function was basically rebuilding the entire table and filling in the data with jQuery now.

    And tomorrow I will have to go through EVERYTHING IVE DONE SO FAR and replace all the PHP with jQuery. ALL THAT SIMPLY SO THE TABLE HAS PAGES.

    I feel betrayed by all of you. Because just today I realized that this wasnt some learning-phase that will pass. This is web-development. A constant state of "I really have no clue what Im doing", "This'll suffice for now" and stress. The perfect excuse to not cut down my smoking, because my co-devs are also going for smoke breaks hourly, because how the fuck couldnt you smoke when youre a webdev.

    This job is like building a card-house out of wet crackers with a half-burnt instruction-manual in chinese, that gives the wrong instructions half of the time.

    My Stackoverlow Account was banned from Posting within 2 weeks! So now I can either keep making throwaways until G-Mail runs out of adresses or I can google my problems...

    Just to find a Post perfectly describing my Problem, with a bunch of answers asking OP why hes doing it this way and not that way. Just to get happy, when finally finding the correct code to copy and paste, only to find out that that function was thrown out in the latest update. Just to go through an existential crisis weekly, after I spent 2 hours with googling and still dont even know how to approach the problem.

    How you people willingly subject yourself to this and sadistically send in a naive noobie like me, without any guilt, is beyond me! What are you? What happened to you? Where you abused? Did the abuse make you enjoy pain? Unable to live without constantly punishing yourself?

    I mean why the fuck does jQuery think that NULL and Null are variables, but totally gets that null is null. Why is my boss calling me full-stack when Im constantly creating the most ugly shit, that barely works and pass it off to my co-dev to make it look pretty. Why does google only show the right results when my co-worker googles my problem. Why DID I PASS MY APPRENTICESHIP. WHO THE FUCK LETS AN APPLICATION ENGINEER PASS THAT CANT EVEN DESCRIBE WHAT OBJECT ORIENTED PROGRAMMING IS. FUCKING IMBECILES THATS WHO

    I feel like a sad clown trying to juggle 4 balls called HTML, CSS, PHP and Javascript. But unlike real juggling clowns, I just keep juggling when most of the balls have fallen to the ground. I keep juggling until I get really good at juggling 1 ball. Then 2 balls. Then 3 bal... Oh fuck they all fell to the ground again. And when theres a rare occurence where I am actually juggling all the balls at once, it lasts like 2 seconds before they all fall to the ground again. But I have been so supremely brainfucked by this job, that I get happy. Who the fuck is completely failing at his job and gets happy when he actually manages to do what he is supposed to, for a minute?

    All that just to get called pen-pusher or office monkey. Looked down upon by people that lift heavy things all day because I dont lift heavy things. And I cant even judge them for it! They stay in shape, go home satisfied after work and dont grow grey hair by 22.

    All in all, the job is like a toxic relationship. Constantly reminding yourself of the good times. Creating your first few lines of code and how beautiful it was. Telling yourself that it'll get better but being aware of the silent voice in the head whispering: "you know it wont".

    In all seriousness tho guys, thanks for encouraging me. Im feeling how my knowledge is growing by the day and am happy with my job. Its not what I want to do until im 65, but its fun for now. Also the office is totally badass. Without yall telling me to accept the offer, I mightve passed on it and wouldve missed some of the best time in my young life.

    You guys are awesome!

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

    Should i just give up?

    Posted: 27 Sep 2018 01:39 PM PDT

    Spent the last year trying to learn web development. Javascript really just hasn't sunk with me. I do have some projects that I created, but i had a lot of help and if I had to recreate them, it would prob take me a long time. I started my first developer job monday of this week and just had a meeting with the head of IT. He said the senior dev raised some concerns and they were hoping I would be a little bit more up to speed at this point. I think they are going to give me another week tops. I probably shouldn't think that it's already over and done with, but is it possible I just suck at coding, and won't ever get better.

    Feeling pretty discouraged right now. I only ever worked retail sales jobs and hated it everyday. I got this job and I was hella excited. Now i feel like maybe thats all I am destined for.

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

    Cloudflare Registrar - wholesale domain registration

    Posted: 27 Sep 2018 06:39 AM PDT

    Mobile Websites Can Tap Into Your Phone's Sensors Without Asking

    Posted: 27 Sep 2018 12:35 PM PDT

    SpaceChop: Open source HTTP service for image processing

    Posted: 27 Sep 2018 03:42 AM PDT

    Question about CORS

    Posted: 27 Sep 2018 01:42 PM PDT

    Okay so I'm trying to hook up to this API. The API has given me this snippet from their documentation:

    $(function() { var params = { // Request parameters }; $.ajax({ url: "https://api.theirsuperbservice.com/accessToken/get?" + $.param(params), beforeSend: function(xhrObj){ // Request headers xhrObj.setRequestHeader("client_id",""); xhrObj.setRequestHeader("client_secret",""); xhrObj.setRequestHeader("Ocp-Apim-Subscription-Key","{subscription key}"); }, type: "POST", // Request body data: "{body}", }) .done(function(data) { alert("success"); }) .fail(function() { alert("error"); }); }); 

    Fair enough, I fill in the client id, secret and subscription key (as variables). If I run the code as-is I get this error:

     Failed to load https://api.theirsuberbservice.com/accessToken/get: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://mycrazydomain.com' is therefore not allowed access. 

    I contact their support, they tell me to setup CORS. I add the following header through ExpressJS (and also on a test through PHP):

     Access-Control-Allow-Origin: "*" Access-Control-Allow-Headers: "Origin, X-Requested-With, Content-Type, Accept" 

    This does essentially nothing, still the same error. Logging out the return value just gives me some simple JSON telling me 404 not found.

    This makes me wonder if it's their headers that are not allowing me, am I correct in assuming so? I've tried contact support like I said and they just said I had configured CORS wrong. But checking out the network tab I can see that the initial page (my side) has access-control-allow-origin set.

    What am I to do? Where am I to look? I feel so incredibly stupid and I've tried reading into CORS more but yet still here I am just as clueless as before.

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

    Should frontend needs determine how backend is designed, or should a backend be built only with itself in mind?

    Posted: 27 Sep 2018 06:01 AM PDT

    I know it's kind of a broad question but this debate happened during lunch today.

    I'm a frontend developer and I said that the "need" chain should move in one direction, e.g:

    • Customer needs a new site/application and tell us their needs
    • UX & UI guys determine user flow and design
    • Frontend implements the design and determine what they need from backend
    • Backend implements the server side code and databases and determine what server infrastructure they need
    • IT / Devops sets up the infrastructure

    My point was that everyone in the chain should base their work on what the team "above" needs. That I've too many times seen it go straight from Customer --> Devops --> Backend and so on....

    Some of the backenders in my team did not agree and said that "a competent and well designed backend is one of the most critical parts of a system, so they should only worry about how to build the best backend"

    Wanted to hear your thoughts and experiences on the matter.

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

    Full Stack Engineer wanting to get into Design - need advice

    Posted: 27 Sep 2018 12:53 PM PDT

    Hey Guys,

    I'm a full stack engineer, with ~4 years experience. I'm an avid side projector even sold some of them for > 100k. But I feel like when it comes to design I just start coding and don't really plan things out. Sometimes I draw something on scratch paper to lay things out but I kinda just design as I go. Things end up being kinda shitty looking or inconsistent. Or I just use a design system (e.g. bootstrap, [bulma](https://bulma.io/documentation/), [material](https://material-ui.com/)) and so I get some of that consistency but it ends up looking like everything else on the web.

    All the designers I have worked with are really into sketch and seem to be able to whip things up pretty quickly. My experience with development is that things are actually not that hard if you just dive in. I know a lot of people that say stuff that is like "oh, its harder than you think" but from my experience those are the people that typically don't get shit done and just complain / put other people down.

    So my question for all the builders.

    1. As a developer do you know sketch?
    2. How long did it take to learn and be able to product some decent looking things?
    3. Does it improve your process of building things (e.g. more consistency, better designs)
    4. Is it quicker to mock things in sketch and then build them out? e.g. can you style and lay things out quicker in sketch than using css? Refine in sketch and then start hacking at the code?
    5. If you know css well is sketch kinda a waste of time? e.g. "Why would I need GUI when I can make the code do it"

    A couple sites I've been working on (for context).

    http://periodic-boats.surge.sh/

    https://careerminer.co/

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

    30-seconds-of-code: Curated collection of useful Javascript snippets that you can understand in 30 seconds or less.

    Posted: 27 Sep 2018 08:27 AM PDT

    Who buys web development services?

    Posted: 27 Sep 2018 03:45 PM PDT

    I am a freelance web developer and I'm looking to get some sort of direction to try and cold contact people to sell web development services to.

    I create landing pages, full stack apps, platforms, front end, back end type of Node/Javascript code.

    What kind of people / businesses buy web development services?

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

    Should I ditch frameworks when practicing?

    Posted: 27 Sep 2018 11:39 AM PDT

    Heya!

    I'm a noob dev. I've been coding a lot since a month now.

    I'm practicing some coding. Mainly by just attempting to make websites I see. I find all those monkey see, monkey do tutorials rather lacking.

    I do notice the frameworks are quite limiting at times, and due to my lack of understanding of doing a lot of code without them, I get stuck from time to time.

    So my question: Should I learn HTML, CSS & JavaScript, without the help of any frameworks at first?

    My first challenge is creating this page, with all animations included, without the help of any frameworks. Do you think this is a good idea?

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

    What email provider should i choose?

    Posted: 27 Sep 2018 03:04 PM PDT

    So, as photographer i need to send a higher number of emails than a normal person do on daily basis.

    So im in a search for one and i would want your recommendations.

    What i need:

    • IMAP support to read emails on my IPhone.
    • A really good amount of storage to send/host the pictures.
    • Able to add my custom domain.
    • Ad-Free. Cannot contain ads.
    • Cheap or free if possible
    • Able to add atleast 2 aliases, one for work and personal (custom domain). Yes, i use a custom domain for personal emails too.

    Hope you guys read it and get me some good recommendations! (I'm trying to go non-google, if possible).

    Thank you in advance and have a nice day!

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

    How to answer interviewer: "what's your desired salary?"

    Posted: 27 Sep 2018 06:16 AM PDT

    • applying for my first real FT webdev jobs

    • my current job is $15/hr

    • apparently even now I believe that I'm overskilled for the job and underpaid

    • because I'm 21 I have no concept of salary/skill ratio

    50,000 sounds great making 28,000 a year... But if I'm worth 60,000 then I want that. But I have no idea if I am worth that much.

    So when I tell recruiters a salary I desire, they will always end up negotiating down to save money of course.

    Do I just start slowly increasing the number I tell them until I notice i hit a cap on the offers I receive?

    The best would be an easy go-to that shows "if you know _____ then you're probably worth $____, if you know __ then you're worth $_____.... Etc" just to get SOME IDEA

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

    Safe to exchange a drupal session cookie for a JWT?

    Posted: 27 Sep 2018 02:45 PM PDT

    I know this seems kind of odd, but here is the situation:

    1. We have a legacy drupal 7 site with a VERY large number of user accounts registered in Drupal's built in user system (this is terrible, but it's what we inherited)
    2. We have some new backend REST-ish microservices that expect JWTs. For various reasons, they cannot access Drupal's session table.
    3. There is a new user service in development, but issues with migrating data means it can't go live for a while.
    4. Dealing with our Drupal codebase is incredibly painful.

    Proposed (temporary!) solution is as follows:

    1. Run an authorization service with access to the session table. A /get-token endpoint checks for a drupal session cookie, looks up the user, and generates a JWT with claims/roles appropriately. CORS on this service is set to a whitelist of origins (which includes the main domain, and a couple specific subdomains).
    2. SPAs make a /get-token request to the authorization server (setting the "with credentials" flag). It returns a relatively short lived JWT.
    3. JWT is stored in SessionStorage, and used for all connections to the new APIs.
    4. Renewal is handled by simply calling /get-token again.

    Longer term solution involves a API gateway exchanging opaque-tokens for JWTs that are only ever seen by the backend microservices.

    Is this insane? What are some potential security issues with this approach? The main one I can see is that content injection/ XSS-style vulns on any of the domains leads to leakage of the JWT.

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

    Cross-posting; Teaching Kids How to Code

    Posted: 27 Sep 2018 02:07 PM PDT

    Hello everyone,

    I am going to start teaching kids how to code. I am thinking of doing various subjects over time. I might start with web development or basic programming, then possibly start going into fields like cyber security and/ or software development. I would like to get responses from other teachers who may have done any of these to give me little direction for curriculum planning and perhaps a way to present this to kids in the 9-11 age range.

    I wouldn't mind hearing what age ranges you feel are appropriate to teach these subjects.

    A little about me. My wife and I home school our kids and she runs a fairly big homeschool field trip group. Lately she has been getting a lot of requests asking if I would like to teach their kids coding, since I am a web developer. I never really thought much about teaching kids before until now haha. I would appreciate any help or advice you guys can provide.

    Thank you guys for all your help and time.

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

    hyperConsole - hyperConsole allows you to load libraries into the page, so you can experiment with them using devTools.

    Posted: 27 Sep 2018 05:51 AM PDT

    Any simple integratabtle database api?

    Posted: 27 Sep 2018 01:19 PM PDT

    I am working on a project where I have to keep record of individuals progress of selling items. Individuals are asked to sell items and when the item is sold, I want to add record to their account showing that they have sold item. Buyers can make purchases using paypal or credit card and the api should also provide that as well. I already have website and I am just looking for api that I can integrate to my website. I am also open to non api suggestions(like forms).

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

    Do you try to dissuade your clients from using modals?

    Posted: 27 Sep 2018 12:59 PM PDT

    If so, to what extent will you go to in supporting your stance?

    Do you have any examples of very well-executed modals that did not instantly make you want to dismiss them?

    submitted by /u/Slap-The-Bass
    [link] [comments]

    [tutorial] How to build a Blog with React, Apollo & GraphQL: Ep 7 Apollo Server & GraphQL Schema

    Posted: 27 Sep 2018 12:58 PM PDT

    Had to make a snake game in Vanilla JavaScript for a take home assignment for an interview recently, thought I'd share :)

    Posted: 27 Sep 2018 12:55 PM PDT

    Beyond confused about MongoDB. Help Please.

    Posted: 27 Sep 2018 12:45 PM PDT

    Hi All,I have spent my entire day trying to understand anything about MongoDB. I have yet to actually get it running correctly. I have tried installing it through HomeBrew, which appeared to work, but still couldn't actually get the DB running. I also tried installing through the websites download, but then my command line didn't recognize any mongo commands. Can someone please help!?All I really want to do is some simple CRUD operations. But at this point, I'd be happy with any light being shed on this. Basically, I have installed it successfully with HomeBrew, but thats it, I don't know how to continue. When I get to the part of the documentation about actually running the DB (https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/) I have no idea what is being asked.

    Is there a simple MongoDB explanation/tutorial? Is MongoDB still being used, is there a better service? Really, I am just trying to learn more about DB's and creating / reading / updating / deleting entries in a database. Is there a simple TODO app with MongoDB tutorial out there? Any help is very appreciated, Im at a complete loss here.

    EDIT: For clarity, I was trying to follow this tutorial: https://medium.freecodecamp.org/build-restful-api-with-authentication-under-5-minutes-using-loopback-by-expressjs-no-programming-31231b8472ca which requires a mongoDB running. That's when I trailed-off into learning how to run a MongoDB server and here we are. :)

    Thanks!

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

    No comments:

    Post a Comment