• Breaking News

    Tuesday, February 23, 2021

    How Spotify makes text on images readable web developers

    How Spotify makes text on images readable web developers


    How Spotify makes text on images readable

    Posted: 22 Feb 2021 07:05 PM PST

    Rant: I'm getting sick of having to learn a new bloody framework every two years

    Posted: 22 Feb 2021 04:45 PM PST

    As in title. So far I've been through the following: Backbone, AngularJS, Angular 4, the mad CoffeeScript thing a former boss built, and React; with tooling there's been Bower, Grunt, Gulp, and Webpack; with tests there's been Mocha, Jasmine, Karma and Jest. NPM got switched out with Yarn briefly and then came back. RxJS pops up occasionally. Redux doesn't seem to be getting replaced at the minute but I'm sure some fucker working on something which does the same job but with some minor optimisation, different syntax, and a lot of NEWER.

    I'm now seeing a lot of jobs cropping up with Vue and Ember and I just can't bring myself to deal with this shit any more. All the dumb packages with cute names and websites showing off how Netflix or L'Oreal is using them; how it's built With Love and gives a great dev experience; it is fucking intolerable. And that's without the hundreds of Medium articles that you have to wade through to determine if something is worth trying or not.

    I'm fine with learning new things if I'm actually new things, but given that 80% of the work in web development is displaying big lists of numbers I don't think any of this shit counts. It's enough to make me want to go back to C++ and that doesn't help anyone.

    Rant over, have a lovely day.

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

    I just botched a great job opportunity because my brain got lazy

    Posted: 23 Feb 2021 08:07 AM PST

    This is more a PSA than anything but I'm pissed at myself so it's also my therapy.

    I just got out of a technical interview for a high up position with a startup that would have landed me a significant pay raise as well as options as the company is still in the early stages of an IPO. But thanks to the pandemic and me slowly doing less development at my current job and more support, my brain has become soft to critical thinking. I never really noticed it until I was hit with those critical thinking questions in the interview and I just froze. The most embarrassing moment in my 20+ year career, locking up on simple javascript questions that I normally can do in my sleep. Yet, here I was staring at a shared blank text document unable to parse a simple query string from an object (something I have done multiple times for various reasons in my life). I just want to crawl under a rock and die.

    I know I'm being dramatic but I'm just so mad at myself. I should have prepared better but I was too confident that I had the job in the bag that I didn't prepare enough, and that's my fault. Just a reminder for all of you, no matter if you're fresh out of college or some old fart like me, you can never over prepare for something like a job interview. I guess I'm stuck turning out cookie cutter Wordpress sites for a bit longer :/

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

    Unpopular opinion: frontend is harder than backend

    Posted: 23 Feb 2021 06:34 AM PST

    Sincerely "A fullstack developer"

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

    Time to Dethrone JPEG: A Comparison of Next-Gen Image Codecs

    Posted: 23 Feb 2021 05:09 AM PST

    As a freelancer, how much money do you make in a day?

    Posted: 23 Feb 2021 11:10 AM PST

    Hi!

    I am 17 years old and I started my web dev business a while ago (started coding at like 11-12 years old). I was stuck with a big contract that took me 500h for like 2500$. Not fun, but I am making my money back with the changes they ask me (and that I charge them 50$/hour). Like, yesterday I made 300$ in an evening.

    So, while doing that, I started to look for new contracts and it's going remarkably well. Like, I got a 500$ contract with an email and a phone call for a website I make from a theme. It doesn't take a lot of time, it's affordable for my client and easy for me (I do some SEO and optimization). This website would take me less than a day to do.

    So, I started thinking: I just made around 1000$ in two days. And for a 17 years old, it's pretty mindblowing. I find it hard to believe that if I spend my summer doing that, I will make 10k$/month. I was wondering if it's sustainable.

    Did I get a stroke of luck? Are those the average numbers for a freelancer? Do you think I will be able to sustain that on the long term?

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

    Are CDNs as useful or important anymore?

    Posted: 23 Feb 2021 02:19 PM PST

    With the recent issues of using caches as a super cookie and browsers isolating caches, one of the main benefits of using a CDN is now being lost for the sake of preventing tracking. We'll no longer benefit from a first-time user already having some asset cached.

    There are still other reasons to use a CDN, of course. But one of the main reasons is being basically eliminated.

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

    How exactly do services (like Facebook) render videos like "Friendversary"?

    Posted: 23 Feb 2021 07:25 AM PST

    I'm currently working on a service that needs to render video based off templates. I'm currently building a flask API with moviepy. Moviepy is throttled by using the majority of processes via CPU with no GPU processing.

    So this got me wondering, how do services like Facebook produce these videos? Is it possible for me to deploy something similar via EC2 that's *relatively* cost effective?

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

    What would you charge a client for backing out of an agreement and transferring a website over to them.

    Posted: 23 Feb 2021 01:27 PM PST

    So I did some work for a company and they never had me sign any contracts. Hired me as office admin (still no contract) but when they found out I had a bunch of media skills they took full advantage. I created two websites and made them a facebook and instagram account that I was managing. Well I got fed up with being used so found myself a new job and left on good terms. They agreed to let me continue my work on the websites and social media on a freelance basis. Well this week they decided that they were not going to go through with the agreement and want everything transfered over to them. I told them there would be a fee since changing all the permissions will take time and I am now loosing out on all that revenue, asking $1000 and they are refusing to pay it. They believe I am withholding their property. What would you charge for this and what would you do in my situation? Any guidance would be appreciated.

    Edit: I was not hired to build websites. I was hired to do office administration.

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

    Feeling Overwhelmed!

    Posted: 23 Feb 2021 04:12 PM PST

    I set my goal this year to get a job as a developer (or designer, as I'm interested in both). However, I'm intimidated by all of the languages, frameworks and libraries companies want you to know.

    I'm also coming up short with ideas on sites and web applications to build.

    I only really solidly know HTML & CSS with a little JS sprinkled in. I've worked with Angular, Node, Express, and TypeScript but it's been nearly a year since I've done anything with them.

    What should I be doing to reach my goal this year and where can I find ideas to portfolio projects? Thanks for the help!

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

    How does Email Architecture look like? for example Gmail, Yahoo

    Posted: 23 Feb 2021 04:01 PM PST

    Hey, I'm just studying the email sending and receiving architecture from just keen interest.

    I know, email works with SMTP, POP3 protocols. But Gmail offers an API to send email without using the SMTP server.

    So, my question is: is there any SMTP server used while sending with the API? Like, when I hit the send API, it will relay the request to the Gmail SMTP server and that server will take responsibility to send email to whatever "To" address it is. It can be the same (Gmail), or other like yahoo.

    Or, Gmail just uses the send API to insert the data into the database and when the "To" address owner opens up his inbox, it will fetch the data from the database. Of course, it will not work for non-Gmail addresses.

    I know, that's very specific and not so open on the internet about how they work. But, let's see if I can get anything from you guys. Cheers!

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

    How can I make this effect in HTML [netflix.com textbox]

    Posted: 23 Feb 2021 09:23 AM PST

    Is web development a fun career?

    Posted: 23 Feb 2021 11:20 AM PST

    Dumb question, I know, but do you find your career to be fun? Has it gotten more or less fun over time?

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

    Cooke not set for different IP address or domain — JWT authentication issue

    Posted: 23 Feb 2021 02:42 PM PST

    I have a Next.js app for the front-end and a separate API gateway that uses Nest.js. I enabled CORS and added 127.0.0.1 to origin.

    Everything works fine on localhost and the HttpOnly cookie holding JWT token is set successfully.

    But if I try to use the external IP (added it to CORS origins as well) of my router to access my Next.js app — I see login page, enter credentials and click Login button. But I'm being redirected to the same Login page.

    When I check Application tab — the cookie fails to be set for different IP address.

    Is it possible to make cookies work for different IP address/domain?

    If not, is there a better way of authenticating so that it's possible to use the website on different IPs/domains?

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

    Storing and retrieving millions of ad impressions per second at Twitter

    Posted: 23 Feb 2021 02:20 PM PST

    Creating a browsable interface for downloading files from an external website

    Posted: 23 Feb 2021 02:10 PM PST

    If this is in violation of rule #6, or would be a better fit for a different subreddit, please let me know and I'm happy to edit the post or move it elsewhere...

    I have roughly 10,000 large files (~1-10GB each) that are stored in an archival website with very poor UI (out of my control), and I would like to make these files more easily accessible to users. The natural directory structure of these files is about 5 layers deep, and I know all of the names of the files, directories, and the download url's for each file in the archival website.

    What are my best options for creating a web interface for users to browse these files (ideally using the native directory structure of the files via some click/drop-down menu style interface) and download them? Ideally, I would like to allow the user to browse the files, click a checkbox for the ones they want, and then run some script (I'm not sure if it matters if this is done client-side or user-side) to generate a "download script" for them - some bash shell script that contains a list of wget commands. All users would have Unix-based systems.

    Is there a concise way of achieving this goal? I'm very experienced in Python coding and have minor experience with HTML, but little to no experience with Javascript, PHP, or similar. I've seen some jquery examples for replicating a file explorer, but this seemed to be based around directly downloading the files themselves... I can't host the files themselves due to size constraints, and can only point the user to the archival urls. A given user might need a few hundred of these 10,000 files, so having them go through an interface and download one-by-one would also be suboptimal, which is why I'd really like some sort of checkbox system to generate a bulk download script.

    I'm not looking for anyone to hold my hand or code the website for me, but any pointers on possible directions to take and search terms to use would be greatly appreciated.

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

    Resources for interview prep

    Posted: 23 Feb 2021 01:57 PM PST

    Hello all, I've been doing web dev for pushing two years as a part time gig / hobby. I had a full time job in the real estate industry that paid the bills so I never thought much about jumping into the software industry. However, I think I'm ready to get out of real estate for good and pursue web development full time.

    I've worked with a couple senior engineers on freelance projects and they have both told me they feel that I'm ready to start putting in job applications. I'm currently waiting for a resume writing service to finish my resume up and I'm using this time to study for the interview process.

    Could anybody provide some resources on coding interview questions / prep? I've never had any interviews for coding.... Any help is much appreciated.

    I'm working with the MERN stack, but ideally would prefer to work front end only... Not sure how relevant this is.

    Thanks for your time and I hope everybody is doing well.

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

    Any compliancy laws for storing medical data?

    Posted: 23 Feb 2021 07:34 AM PST

    Hi all

    I've recently been offered a project by a private clinic to handle the storage of patient data records taken during home visits.

    They require a backend system and doctors and nurses on call will take notes via a mobile app and send them back to the office when they visit a patient.

    Outside of the standard Data Protection Act, are there any other compliancy laws directly related to storing sensitive medical records in the UK? The data will be stored on a dedicated server and I will of course be looking to heavily protect the data regardless but just wanted to know of any additional requirements I might need to be aware of.

    Thanks

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

    Current state of user management systems (login/register/selfsevice/management)

    Posted: 23 Feb 2021 01:12 PM PST

    For the last few years most of my programs just used an existing oauth provider or ldap. The last time i wrote a "user management" system myself was when php3 was "hip". So please excuse me if this is a stupid question.

    Whats the current state of user managment systems? Are people still writing them from scratch or is there some app/lib out there that handles most of that stuff already? "That stuff" as in login/register/activation mail/passwort reset/etc.

    I currently plan to write the backend in Go, but please don't limit your answer to a certain language.

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

    Resources to learn how to write a framework?

    Posted: 23 Feb 2021 01:05 PM PST

    Hi all, I want to write a backend web framework in typescript. What are some good resources I can look at in order to learn how to architect my own framework? I tried looking at the code of my favorites (rails, nest.js) but it was hard to gauge what is all needed when making such a program.

    Sorry if this is a stupid question, I know how to write a backend for a specific website/use case, but I don't know how to go about making it more generic.

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

    Is there way to check if the browser is the active program?

    Posted: 23 Feb 2021 12:55 PM PST

    Hi everyone,

    Just a quick question from a person who's not a webdev, at all.

    I'll have an online test and i'd like to be able to use other programs during the test, while it's not allowed.

    I will be passing the test on Chrome. The test displays a warning message when your mouse is in the top part of chrome (the favorites/tabs/URL bar of chrome) indicating that you may be flagged as cheater for leaving the tab. Anyway, this message does not show off if I just alt tab to another program, or even if I put my mouse in the windows bar on the bottom of my screen to switch to another program. Do you think the site has any way to detect when chrome is no longer the main windows on my computer ?

    • Additional question. There are some written questions in the test, and in the text entry box, the spell checker is disabled. Do you know if there's an easy way for me, as a user, to allow the spell checker in these boxes ?

    Thank you very much in advance for helping me

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

    Starting a development agency

    Posted: 22 Feb 2021 10:47 PM PST

    Hey guys,

    Is anyone interested in starting their own software development agency?
    I started and ran a custom agency for 8 years (recently sold it last year), and are now looking to give back any hints-and-tips for developers looking to start their own businesses.

    My experience is very much software developers starting an agency... I can't really help "someone with an MBA start an agency" - as I only know what worked for me, and for the first few years especially, being able to build software whilst also running the business was integral.
    For reference my agency focused on custom software, not so much "websites" but more "web apps". We did a lot of internal tools for businesses which was a good money maker. We were small (< 6 peeps), all highly technical, and made great money considering our lean team size.
    I've also just started Dev to Agency - a blog/guidebook/newsletter around how a full-stack developer can start and successfully run a software development agency - and whilst I have only just started writing content, I hope one day to have a really great (free) library to help people learn from my learnings.

    I'm no smarmy business dude, i'm just a software dev who learn a bit about business along the way.
    Anyways, just wondered if anyone had any questions I'm happy to help!

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

    Newbie to web-dev: Do I need a backend for a create-react-app application utilising firebase when I am hosting on Heroku?

    Posted: 23 Feb 2021 12:22 PM PST

    Hello all.

    I really hope this isn't a stupid question but I am self-taught Python programmer (2 years now) with good knowledge of Flask and have just finished spending around 6 months learning JS, React, and most recently Firebase.

    As such I have been able to build a basic create-react-app application, hosted on Heroku, which performs user authentication with live-database CRUD actions from Firebase, and rendering to a google map using react-google-maps.

    I will begin to work on a large project targeted towards business users and am at the project-design stage. I intended on this project for the past two years on this crazy learning journey but now that I'm finally here I'm questioning whether I actually need to go and learn a backend system like Django whenever I can achieve (I am pretty sure!) everything using only a basic create-react-app along with firebase then hosted on Heroku.

    Even in my wildest dreams I don't think the website would reach beyond a few thousand unique hits in a month.

    Am I asking the right questions here, or perhaps overlooking something? Thank you for any feedback!

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

    A Fabulous February Firefox — 86!

    Posted: 23 Feb 2021 08:32 AM PST

    No comments:

    Post a Comment