• Breaking News

    Friday, March 8, 2019

    Beginner Questions - March 08, 2019 web developers

    Beginner Questions - March 08, 2019 web developers


    Beginner Questions - March 08, 2019

    Posted: 08 Mar 2019 05:15 AM PST

    If you're new to web development and would like to ask experienced and professional web developers a question, please post below.

    Etiquette

    • Remember, that questions that have context and are clear and specific generally are answered while broad, sweeping questions are generally ignored.

    • Be polite and consider upvoting helpful responses.

    • If you can answer questions, take a few minutes to help others out as you ask others to help you.

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

    Using CSS Grid the right way

    Posted: 08 Mar 2019 05:04 AM PST

    How would you prepare for a "Front End Engineer" interview at Google?

    Posted: 08 Mar 2019 10:55 AM PST

    I have my first interview on Monday for this FE engineer position at Google.

    It asks for 1 year experience (I have 3-4 years but no degree).

    I think I'm weak at data structures/algorithms and also struggle sometimes with technical terms, but other than that I think I'm a strong candidate.

    As it's a FE position it also asks for design experience which is probably what I'm strongest at.

    The preferred qualifications include:

    Preferred qualifications:

    • Experience with HTML5 and CSS3 web standards.
    • Knowledge of web libraries and frameworks, such as AngularJS, Polymer, Closure or Backbone.
    • Developed web design skills and user experience fundamentals knowledge.
    • Familiarity with the full web stack, including protocols and web server optimization techniques.

    So I was going to look over this Github page and make sure I was comfortable with most of the information on there..

    https://github.com/h5bp/Front-end-Developer-Interview-Questions

    Does that seems like a good way to prepare for this?

    Would love any suggestions or advice :) thanks!

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

    Computer science degree required to be a freelance developer?

    Posted: 08 Mar 2019 12:24 PM PST

    I love coding/developing and so far I've been doing well learning on my own, however I lack motivation in a classroom due to the slow pace and working a full time job for a corporation doesn't sound desirable at all. I have a high work ethic and a lot of passions but I'm also fairly ADHD so I can't imagine myself doing JUST one thing. Id like to do freelance developing along with a different part time career and maybe various odd jobs to keep me from going stir-crazy. IF this is possible, should I just go through with my degree or maybe major in something else and continue building my portfolio and self teaching? Im fairly young so sorry if I sound naive.

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

    Software Development Estimates, An Analogy

    Posted: 08 Mar 2019 04:13 AM PST

    Researchers asked 43 freelance developers to code the user registration for a web app and assessed how they implemented password storage. 26 devs initially chose to leave passwords as plaintext.

    Posted: 08 Mar 2019 07:56 AM PST

    Dart is dead for modern web dev. It never was in serious contention but it's now (almost) official

    Posted: 08 Mar 2019 01:10 PM PST

    https://github.com/dart-lang/sdk/issues/27445

    We don't plan to support this API in the short term. None of our core users require it and would involve substantial effort to implement it correctly.

    tldr: Dart will never support web components so can't reasonably be used for modern web development unless what you want can fit within the confines of Angular Dart

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

    Can't hardly keep myself together

    Posted: 08 Mar 2019 12:54 PM PST

    So upfront the usual mobile excuse and the warning that this might be a slight rant

    So I just started to work at this company, not as developer. They use internally a self build tool which is pretty neat as it bundles several other tools we have. Some guy made it back in the day with html CSS and JavaScript, using bootstrap. When he left another guy took the project over.

    So I during the last weeks, I used this tool on a daily basis, and got some Ideas for improvements. When I approached maintainer, carefully to ask a couple questions, I was shocked. I asked if they had a git repo and he said not because it's confidential and companies property. I told him that he could use a private repo but I think he didn't understand what I was saying there. I asked so where does the code sit? He told me on his laptop.

    Today he came up to me and asked if I had experience with frontend frameworks as he didn't know which one to choose to introduce a new dashboard for the managers. I personally think this is a bad idea as it adds more overhead and requires more specialised knowledge. When he leaves the company they will have to hire an expert for this framework. If he would leave it "vannilla" every freshman could maintain it.

    So now I don't know what to do. Should I try to educate him? Should I try to explain my managers what actually is going on as they have now idea of web development? What do you think guys?

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

    How to handle localhost domains?

    Posted: 08 Mar 2019 03:18 PM PST

    I have a growing list of web servers I need to develop on, usually I connect to them via the browser like so: localhost:8000, localhost:8001 , etc. Essentially run each server on it's own port.

    Managing these ports and remembering which one belongs to what project is just cumbersome. Ideally I would like to access my projects like so: proj1.local, proj2.local, etc.

    I'm on macos and I am familiar with the /etc/hosts, but this won't solve the issue in regards to multiple ports (the hosts file deals with DNS alone).

    Any suggestions?

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

    Social color namer (takes a while to load)

    Posted: 08 Mar 2019 04:42 PM PST

    Gmail custom domain redirect

    Posted: 08 Mar 2019 04:34 PM PST

    So I've had an email redirect to gmail for my custom domain through namecheap for a while, but I was wondering how would I go about setting it up to go the other way too? Right now, when I send an email it sends as the gmail address, but I would like it to show up as my domain while still keeping it gmail. What do I need to do that?

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

    Wordpress won't print error log for my .php files? (Even though DEBUG is enabled in wp-config.php)

    Posted: 08 Mar 2019 04:28 PM PST

    Hi, been stuck on an issue- starting a .php project but I can't debug at all because my error log isn't printing out. Tried a lot of solutions on the internet but nothing appears to be working.

    I do have a debug.log file that updates, but it only prints out errors from my plug-ins, none from my files.

    Permissions info: Permissions aren't marked with something like 755 but in english as "read" or "read & write". All of the files I'm trying to execute are "read & write", and I tried moving them in the same folder as the plug-ins which are working, but I'm still not getting any errors printed out.

    Here's the debug part of the file for wp-config.php file, tried putting in everything I could find that's supposed to enable the debug, no luck:

     /** * For developers: WordPress debugging mode. * * Change this to true to enable the display of notices during development. * It is strongly recommended that plugin and theme developers use WP_DEBUG * in their development environments. * * For information on other constants that can be used for debugging, * visit the Codex. * * @link https://codex.wordpress.org/Debugging_in_WordPress */ define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); // Disable display of errors and warnings define('WP_DEBUG_DISPLAY', false); @ini_set('display_errors',0); // Use dev versions of core JS and CSS files (only needed if you are modifying these core files) error_reporting(E_ALL); ini_set('display_errors', 1); define('SCRIPT_DEBUG', true); //define( 'WP_CACHE', true ); require_once( dirname( __FILE__ ) . '/gd-config.php' ); define( 'FS_METHOD', 'direct'); define('FS_CHMOD_DIR', (0705 & ~ umask())); define('FS_CHMOD_FILE', (0604 & ~ umask())); // log php errors @ini_set('log_errors','On'); // enable or disable php error logging (use 'On' or 'Off') @ini_set('display_errors','On'); // enable or disable public display of errors (use 'On' or 'Off') @ini_set('error_log','/var/chroot/home/content/p3pnexwpnas11_data02/53/41840853/html/wp-content/php-errors.log'); // path to server-writable log file 

    Here are the files I have right now with a description of their functionality, that may add insight:

    https://newfastuff.com/wp-content/apps/php_files/just_show_error.php (Just trying to prnt to the error log. I get a 500 error, for some reason the first time it executed it loaded the theme and gave me a 404 error; I originally just had error_log in there, but while troubleshooting someone recommended I add the top two lines to "load" the page before executing on it)

    <?php $parse_uri = explode( 'wp-content', $_SERVER['SCRIPT_FILENAME'] ); require_once( $parse_uri[0] . 'wp-load.php' ) error_log("Attempting upload", 0); ?> 

    https://newfastuff.com/wp-content/apps/php_files/hello_world.php (verifies the .php actually works, prints out the directory path for future use)

    <html> <head> <title>PHP Test</title> </head> <body> <?php echo '<p>Hello World</p>'; ?> <h3><?php echo $_SERVER['DOCUMENT_ROOT']; ?></h3> </body> </html> 

    https://newfastuff.com/wp-content/apps/php_files/upload_file_from_url.php (does what I want it to do, successfully loads an image from a URL, but I also wish for it to upload to a folder on Wordpress, which it won't do, and won't print any errors for)

    <?php $image = 'http://www.google.com/doodle4google/images/d4g_logo_global.jpg'; $imageData = base64_encode(file_get_contents($image)); echo '<img src="data:image/jpeg;base64,'.$imageData.'">'; error_log("Attempting upload", 0); $filename = sanitize_text_field($_FILES["image"]["name"]); $deprecated = null; $bits = file_get_contents($_FILES["image"]["tmp_name"]); $time = current_time('mysql'); $upload = wp_upload_bits($filename, $deprecated, $bits, $time); ?> 
    submitted by /u/PeterPorky
    [link] [comments]

    React is pretty frustrating

    Posted: 08 Mar 2019 08:48 AM PST

    I feel like at this point I'm 100% stuck while trying to understand react (or frameworks in general). I've been following courses, watching plenty of tutorials, reading a ton of articles, and they all seemed to make sense. I then started working on a simple react project in order to better understand the main concepts and boy, am I feeling lost. Nothing makes sense anymore, and react just seems to be complicating things. I was finally starting to feel kinda competent with my vanilla JS skills, but now I'm feeling so frustrated. Is this normal? Will it get better?

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

    JetBrains finally released a VS Code Keymap for IDEA

    Posted: 08 Mar 2019 02:50 PM PST

    Outside-In TDD on Android

    Posted: 08 Mar 2019 02:21 PM PST

    What do you consider a large project?

    Posted: 08 Mar 2019 01:36 PM PST

    Hello everyone!

    I know the answer to this question comes down to many factors, even one's programming experience, and can vary from project to project.

    That's why I'm curious how do you approach this and what metrics you take into consideration. Are there any obvious, recurring signs that can make this evaluation really easy?

    I'm mostly interested in projects built by a single person, but feel free to share any examples from your experience.

    Cheers!

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

    Cloudflare seems to have completely deleted puu.sh from their system with no warning

    Posted: 08 Mar 2019 01:32 PM PST

    VPS for small WordPress website?

    Posted: 08 Mar 2019 01:26 PM PST

    Hello there, I'm looking for VPS for small WP website. I don't expect much traffic on the beginning (less than 200 FB fanpage likes, around 700 instagram followers at the moment). So the most important thing is reliability (high uptime) and reasonable speed (considering the price). Location is Europe, preferably Poland or Germany. Currently I'm thinking about basic DigitalOcean droplet or Hetzner Cloud. Is there any other good or any better choice? Thanks for help.

    submitted by /u/Loki-1
    [link] [comments]

    Sqoosh Image Compressor

    Posted: 08 Mar 2019 01:10 PM PST

    How many/Which icons do you include in your <HEAD> ?

    Posted: 08 Mar 2019 12:54 PM PST

    I guess this is a sort of survey question.... Currently making a PWA and of course I want the icons to be pretty.

    I'm trying to cover my basis (ios, Android, Win) and the number of icon-files/<head> tags has gotten to be absurd.

    What is your current go to?

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

    Hosting For Multiple Sites

    Posted: 08 Mar 2019 12:50 PM PST

    What is a good web host for multiple sites (3-5) capable of 30-50k visitors a month? I have been looking into dreamhost.

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

    Whats the modern way of starting a static html project?

    Posted: 08 Mar 2019 12:39 PM PST

    Have been doing react projects for the past year.
    Was using gulp and a little bit of webpack + browser sync before.

    Wondering if there's now a cli tool to start developing in browser sync + sass, with plain static html, without all the hassle of installing/configuring webpack plugins and configs?

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

    Ethical Advertising

    Posted: 08 Mar 2019 11:33 AM PST

    Paypal Sandbox Issues : Return/Success URL works BUT Transactions Doesn't Show in Sandbox and No IPN

    Posted: 08 Mar 2019 11:13 AM PST

    Paypal Sandbox Issues :

    This doesn't seem to be a coding issue, rather a Paypal settings issue. As IPN is working on IPN simulation test.

    I have searched a lot on Google and Reddit but can't find a similar issue. Only find some people reporting that it didn't work for them in Sandbox but worked in LIVE. So I guess there is could be an issue with sandbox settings.

    What is Working

    Return URL works - Payment is made on Paypal's site and the user is redirected to the success page.

    Success page receives - token,PayerID

    IPN Simulation works ( The one where you give the URL with custom return values and it pings the URL. Not the transaction IPN )

    What is NOT Working

    When I log into sandbox.paypal.com with the test merchant account I don't see any transactions. Shouldn't the successful transaction from 'What is working' be listed here ?

    No IPN notification. I have set up the IPN URL in the merchant account settings.

    Is this an issue with Paypal Sandbox IPN ? I haven't received a single successful ping from the dummy transaction on Paypal.

    What really confounds me is why are my transactions not shown in the Sandbox merchant account ?

    ________________________________________________________

    I am not able to code the post IPN part as I can't test whether the Invoice ID passed is being received and if it does, in which format .

    I don't wan't to test this on LIVE unless that's the only option left.

    Please guide me.

    If you can think of anything I might have missed it will be of great help!

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

    Do you use blue light filter software (like f.lux) in order to protect your eyes when coding? Does it actually reduce eye strain?

    Posted: 08 Mar 2019 11:12 AM PST

    No comments:

    Post a Comment