• Breaking News

    Tuesday, March 26, 2019

    How, in general, does Node.js handle 10,000 concurrent requests? web developers

    How, in general, does Node.js handle 10,000 concurrent requests? web developers


    How, in general, does Node.js handle 10,000 concurrent requests?

    Posted: 26 Mar 2019 05:52 AM PDT

    Just got done with my technical phone interview at Google for a Front End Engineer position.. this was my experience.

    Posted: 26 Mar 2019 09:00 AM PDT

    A month ago I applied for a FEE position at Google and after the HR call (which was very easy, questions about my career etc), they scheduled me for a technical phone interview for 2 weeks out.

    I was sent a packet with all the information that I should be comfortable with. There was a lot of of emphasis on data structures and algorithms so I spent 90% of my time working on leetcode questions.

    During those 2 weeks, I probably studied 3-4 hours each day. I ended up completing about 70 questions (36 easy, 25 medium, 8 hard). I was feeling quite optimistic.

    The questions I got during the technical phone interview were not about data structures/algos at all... It was completely practical, functions and callbacks and that sort of thing.

    Not what I was expecting. The question was super vague in the beginning and didn't make much sense to me. It took me 20-25 minutes trying to understand the question, I'd write some steps down and realize that I didn't understand the question, but the interviewer was nice and we worked together until I finally understood.

    At that point, once I had understood, 25-30 minutes of the interview had passed and I began coding. Super easy problem once you understand. It took me 10 minutes or so to get the final answer, with him adding some new conditions as I coded, but they were vague conditions as well.

    All in all, with no pressure and having a clear definition for the question, it would've probably taken no more than 7 minutes to code, but I think they intend these questions to be vague, and difficult to understand at first.

    Either way, I feel frustrated. Like I could've done better.

    • Since I only really studied Algos/DS I may as well not have studied at all.

    • The question was easy if you surround yourself with code on a day to day. My code was no more than 20 lines of code.

    I don't know, I feel really indifferent. If I got to the next round I wouldn't be surprised, if I got rejected, I wouldn't be surprised. Was there another coding problem after the one I had completed? I'll never know. Did I do well? I'll find out in a week.


    My key takeaways for anyone in the same position

    • If it's a FEE position you're going up for, study up on some practical front end code. You won't be allowed to Google syntax or anything for that matter, at least I wasn't allowed.

    • Get a clear definition for the question. Make sure you understand 100% before starting to code.

    • Talk through what you are thinking.. Sometimes you'll even be given a hint.

    • I think feeling like you completely failed is normal.

    Would love to hear from others that went through this process.. What was your experience?

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

    Not sure if this is the right place to ask this, but who do you recommend for hosting your website?

    Posted: 25 Mar 2019 09:21 PM PDT

    If this is the wrong place to ask, please point me in the proper direction.

    I have been working on the HTML and CSS of a portfolio/blog website to put on my resume, but I am not sure where to host it. I hear that Godaddy is not really that great with customer service, and since I plan on adding some javascript and maybe Ruby on Rails to the site, I am not sure if Wordpress would be a good place since thats more of a "don't need to program" type of service. I considered hosting it myself, but all I have is a raspberry pi and a questionable wifi signal right now. What would you recommend?

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

    /r/webdev backend alternative?

    Posted: 26 Mar 2019 05:43 AM PDT

    Hi, I love r/webdev but is there an alternative for backend development ?

    I have looked at the links in the sidebar, they are good but not what i am looking for.

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

    What cool and useful things am I missing by using my IDE as a glorified text editor?

    Posted: 26 Mar 2019 07:13 AM PDT

    I've used WebStorm for a long time. I have come to terms with the fact that I know about 1% of the functionality. It's the most robust I've used in terms of code completion, import assistance, and refactoring function and class names. I also have a plugin that shows git blame by line at the bottom.

    What am I missing out on? What super rad things are included in my IDE that can help me be a better developer or make my life easier?

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

    How To Boost Your Productivity & Get Sh*t Done

    Posted: 26 Mar 2019 05:53 AM PDT

    Best / Most cost effective cross browser testing tools?

    Posted: 26 Mar 2019 03:15 AM PDT

    I was looking at getting an annual subscription to browserstack but then I thought I would look at their competitors to see if there were any better offers / value for money products out there.

    Should I just go with Browserstack?

    Is there a service out there just as good but cheaper?

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

    What modern options are there for having a muted, auto playing animation on a site?

    Posted: 26 Mar 2019 04:38 PM PDT

    I originally was trying to figure this out for my Wordpress blog, but came to realize that it might be a more general problem.

    I write articles that often need animated gifs/movies to illustrate topics. I'd really like them to autoplay when someone scrolls down to them; none of them have sound and they're all pretty short and small.

    In the past, I was using gifs, which worked okay, but they were typically kind of large (~4MB each, and I wanted to use a bunch of them). I switched to using mp4's recently, but noticed that even when I select "autoplay" and "loop" when I enter them in the WP dialog, they appear in the source for the page with the right attributes, but don't all autoplay. Usually, either one or none do.

    I've since read a few articles saying how browsers are starting to not allow autoplay. I've also read some stuff saying that they do, if it's muted. I found this guy's question and tried it, and it does indeed work for me. However, I don't really want to have to enter separate code for each video I enter.

    (additionally, there's some weirdness where I added wordpress filters that should have solved this, and added that exact muted code to each video, and that for some reason doesn't work.)

    Anyway, to be honest, I just want the end result: autoplaying gifs/vids/whatever. It seems like I must be missing something: is there no option for a muted, small animation that auto plays? If it's muted, it doesn't make sound, and it doesn't seem to be a bandwidth thing, because browsers have no problem trying to load tons of high res still images.

    What's the best thing to do here? thanks!

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

    Why won't audio play for me?

    Posted: 26 Mar 2019 04:17 PM PDT

    I am trying to get audio to play when I press a button. I am using html and js but nothing is happening when I press them. Any ideas?

    HTML

    JS

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

    Is it possible for me to download the json data from setlist.fm?

    Posted: 26 Mar 2019 04:01 PM PDT

    I want to grab down all the json data for the deftones artist on setlist.fm and I was wondering if there is a way to do it without the API. If I'm using an api is it easy to grab that much data and is it possible to do all of that with javascript?

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

    Using google maps api, How would I get that restaurant description?

    Posted: 26 Mar 2019 08:19 AM PDT

    Is it possible to deploy a django app on hostgator?

    Posted: 26 Mar 2019 11:13 AM PDT

    So basically my company uses HostGator which is a company that sells reseller sell servers and I was trying to deploy a Django app to it but I don't know how ? Is it the same way you do it with digitalocean ?

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

    Discouraged!

    Posted: 26 Mar 2019 11:05 AM PDT

    Bit of a rant here:

    I've been learning Full Stack Web Development for about 2 1/2 years now. I've attended a bootcamp, watch tons of tutorials, trrry 'building' things on my own, studied lots of CS and brushed up on interview questions. I do have a very busy life (2 year old and another baby on the way) and I recently started a new job - HOWEVER I did hear back from one of the companies I applied to for a Front end dev position. I passed the 1st phone screen and the 2nd as well which was with their lead dev. They ended up sending me a take home project, which I was really psyched about.. to even get that far in the process. All of this said, and I just feel like I don't even know where to get started with the darn thing. It's a decent amount of logic (still really working on the logic side of things - pretty big in this industry, lol) Just mad at myself because here I've done all this hard work, and there's this company that clearly sees something in me, but then the darn take-home project just feels overwhelming. I worry I'm too entrenched in 'tutorial hell' and am used to too much handholding. I definitely have the drive and excitement at the idea of landing that job, but maybe I'm just baby-ing myself too much. I'd love to hear if anyone else has faced a similar situation. - what did you do?

    tl;dr: been studying full stack dev for 2.5 years - finally making progress with a company but the take home test just feels so over my head (lots of logic). Rather discouraged and feel frozen when trying to even attempt the assignment.

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

    Borderline scam?

    Posted: 26 Mar 2019 05:02 AM PDT

    Code review "nits"

    Posted: 26 Mar 2019 02:38 PM PDT

    What exactly is GitHub? Explain like I'm 5.

    Posted: 26 Mar 2019 02:33 PM PDT

    Sorry if this isn't the right place to ask but Im very new to web developing and I've been using Codepen for the past few months and absolutely love it. However Im having a hard time understanding what exactly Github is and how to use it.

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

    Simple Slide Show in vanilla js & sass

    Posted: 26 Mar 2019 02:26 PM PDT

    I wanted to create a simple slideshow / carousel thing that I could really simply drop into a project without requiring jQuery or other framework. Its my first attempt at creating a vanilla widget like this so let me know your thoughts and where I can improve it.

    https://github.com/Badgerswork/SimpleSlideshow

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

    How I created a network port scanner with JavaScript

    Posted: 26 Mar 2019 06:42 AM PDT

    Why do I have this gap at the top of my page and how do I fix it?

    Posted: 26 Mar 2019 02:09 PM PDT

    I don’t know what my job is can you help?

    Posted: 26 Mar 2019 01:47 PM PDT

    Hi! I have been working for 10 years mostly as the sole developer. I spent the first 5 years making Flash games and now that is dead, I spent 2 years making HTML games where I contributed a fair amount to rising game engines open source and I have spent the last 3 years writing a large customisable game platform where I done all the architecture and API design using Angular. Still a few months left on that project.

    I just spent a year on a personal portfolio in my spare time too written in Angular with a Lab section that has stuff like physics based cloth, webgl particle rendering, canvas rendering and stuff like boids.

    So my history is a couple of dozen games, my day to day life is webpack, TypeScript, Angular and internal libraries, and my branded portfolio is interactive simulations.

    But what does this make me? I'm not an Angular Developer as I may lack traditional software development processes and I am not really a game developer as I am a little out of touch there. What's more is that I have only ever built apps, I have no traditional web experience. Never touched jquery, never touched Wordpress. Straight from flash to Es6.

    I know a ton about the DOM but only very limited CSS and I can write fairly large robust apps but don't follow a test driven process.

    From what you have read, what would you call me? I am reaching out because 10 years is a long time to be content for but I want a change of scenery, something less scattered and maybe a bit more formal and focused.

    I'm 36 years old and I am scared of the big bad job world outside of my sheltered bay. I have been staring at this empty page for 2 hours and still on the title. "I am (hacker) and I am a...."

    If you have the time, I'd appreciate any advice

    submitted by /u/H-a-C-K-e-R
    [link] [comments]

    2019 Low cost / budget mail @ domain.

    Posted: 26 Mar 2019 01:47 PM PDT

    Zoho/Yandex/Miigadu all have free tiers. Which used to be good. But unfortunately that changed.

    • No self-hosting.
    • For personal use (just a few emails)
    • only email service no packs/bundles
    • cheap.

    Thank you.

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

    Can someone explain how this script from Virgil Abloh's page works?

    Posted: 26 Mar 2019 01:27 PM PDT

    I understand what it does and how it works (more or less), what I don't understand is, how it chooses the pngs. Based on temperature or on time? And can you reverse engineer their names so you'd find all pngs?

    setTimeout(function(){

    var tempString = "https://api.openweathermap.org/data/2.5/weather?lat=" + latIP + "&lon=" + lonIP + "&appid=62586c3c7465e498380af78d50211e67&units=metric&lang=it";

    //console.log(locIP + ' | ' + latIP + ' | ' +lonIP + ' | ');

    $.get(tempString, function (response) {

    $('.temperatura').text((Math.round(response.main.temp * 10) / 10).toFixed(1));

    $('#weather img').attr('src', 'https://canary---yellow.com/wp-content/themes/virgilabloh/images/'+response.weather[0].icon + '.png');

    // console.log(response.weather[0].icon);

    }, "jsonp");

    }, 1000)

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

    Is there an open source headless CMS similar to WordPress multisite?

    Posted: 26 Mar 2019 01:10 PM PDT

    I'm trying to find something that makes it easy for me to charge someone to setup a new blog and create blog posts that I can embed into their existing website while using our platform to manage the blog.

    Edit: To clarify, a paid framework like ButterCMS wouldn't work for me because of their pricing model. If someone needs to switch to our platform for some reason and already have 50+ blog posts they want to migrate over then it would cost us $24/mo for just that one user. I think it also limits user accounts which in this scenario wouldn't work as each blog owner would need it's own account.

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

    No comments:

    Post a Comment