• Breaking News

    Monday, January 3, 2022

    Bosses mocked my salary. Feeling like trash. web developers

    Bosses mocked my salary. Feeling like trash. web developers


    Bosses mocked my salary. Feeling like trash.

    Posted: 02 Jan 2022 05:22 PM PST

    Not telling my company's name because I don't want to lose my job. So I work in a DeFi company and the C levels did a community AMA where they received a question about them paying less than $1k a month to their employees, which they laughed and answered that you can't get talented devs for that much money. Here's the fucked up part: I earn $900 a month and so do most of my team. They even started joking about this over slack.

    Here's how that works. I signed up with a recruiter who got me and many other devs a job at this company. My contract (not direct with the company but a middle-man company) states that I should get two rises the first year and that will set me at $1.5k, it also states that I will be getting some incentive bonuses, it has been 6 months since i started working there and neither has been mentioned ever. I tried asking about a rise and got told it wasn't possible yet.

    I'm not sure how to feel about all of this mess. Not sure if I should try reaching up to the company bosses and tell them what's going on since I don't want to lose my job. But surely i won't be signing up again after the year long contract is over.

    Please share your thoughts with me, how can i stop feeling like crap here?

    EDIT:
    To clarify, no I'm not on the US. The company is in Switzerland, the recruiter is in UK.

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

    Not every showoff project is geared towards developers

    Posted: 02 Jan 2022 06:17 AM PST

    I've seen this twice in the last 24 hours and I am assuming there is more, people show off something cool they have built and someone in the comments responds with:

    I could build it in 5 minutes

    it's so simple to do it why are people impressed by it

    this browser api is well known its not impressive

    Some people build beginner projects and while we all know photoshop is better than your little watermark editor or your effects editor, it is still a cool project and there is no need to point it out especially to beginners

    Basically those projects can be divided in 2: beginners getting their feet wet, which doesn't mean anything useful so any comments pointing that out are useless and just end up hurting the op

    Second type is projects for non developers in which case it doesn't matter of you can do it in 2 minutes, or that you cam automate it, it's a nice project for muggles, and the op should still be proud even if you could do it better or faster

    As a new years resolution let's try to keep our comments constructive and helpful, not try to destroy every aspiring programmers dreams

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

    List of Full Stack developers worth following in 2022

    Posted: 03 Jan 2022 12:57 AM PST

    What’s the difference between a traditional CMS (like Word Press or Kentico) and a headless CMS (like Contentful)?

    Posted: 02 Jan 2022 07:34 PM PST

    I work in a Marketing department that is asked to vet Contentful. And we keep hearing that Contentful is a headless system but I guess we're looking for a ELI5 answer, specially since I'll probably have to explain to my coworkers the difference.

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

    Best place to look for front-end remote positions?

    Posted: 03 Jan 2022 03:48 AM PST

    Hi all,

    After years of trying to find a career for myself, it seems like front-end fits me perfectly. However, I'm struggling a bit with getting work experience. Here is my current planning/progress:

    1. Complete multiple tutorials on HTML/CSS/JS (done)
    2. Complete mini sites as portfolio pieces (just starting)
    3. Update portfolio with github progress and mini sites
    4. Send CV / portfolio out to different companies (was thinking LinkedIn)

    I've looked at a few sites, but all require many years of experience or focus on backend positions. Any help would be greatly appreciated.

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

    New Years Resolution

    Posted: 02 Jan 2022 07:38 PM PST

    My new years resolution for this year is going to be to set up one or more websites that together make me more than a minimum wage job would. My first idea is to do a job board. I know that job boards are over done, but I am at a junior level in terms of skill and think that I can actually finish making the project if I get down to it. Here is to hoping 2022 I can make something more of myself.

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

    How to host background video asset?

    Posted: 03 Jan 2022 01:35 AM PST

    I need to put a background video on a page I'm developing. It's 38MB big. The website is hosted on Netlify. I implemented a couple of background videos already that were 5-15MB large by just adding the mp4 files as an asset and linking to it with a <video> element, but they blew up the costs when the pages received a lot of traffic. So i'm hesitant to add a new, bigger video.

    I saw people embed youtube videos as background, but i don't understand the limitations there. Surely youtube wont just allow you to play their videos for free.

    How do you guys do this?

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

    Products page with just PHP

    Posted: 03 Jan 2022 04:19 AM PST

    Hey

    Pretty new to webdev and I need some help. Trying to make an e-commerce type of website, but for now I'm only interested in displaying products (so no logins, no actual buying).

    So the question is, what would be the smart way to store and display all the different products, using PHP without hardcoding the products into the website?

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

    How I dealt with running out of memory on a DO droplet while building a CRA 5.0.0 app.

    Posted: 02 Jan 2022 09:31 PM PST

    Hello, everyone!

    I have a React app that I'm running on an Express server on a Digital Ocean droplet. Over the holidays I've made some updates to it and also updated the versions of create-react-app as well as react-router, etc. This caused me to run out of memory when trying to build it as a part of my deployment process.

    Normally, the obvious way to fix it is to increase the amount of memory that Node is allowed to use. The default is 2Gb, and changing your

    react-scripts build 

    to

    react-scripts --max-old-space-size=4096 build 

    would double the available RAM and solve the issue. However, in my case the problem was that the droplet (Ubuntu Server) I use is in the $5 tier, which means it only has 1Gb of RAM available.

    The good news was that the build was still efficient enough to stay under the 2Gb Node limit, but that knowledge wasn't helping.

    The solution that I came up with is also pretty obvious, but since it's not something many of us deal on regular basis, it took me a bit to think of it.

    Swap files!

    I'm not using a lot of the available disk space on my droplet and so I was able to dedicate 4Gb to a swap file. Excessive, I know, but it's not like I'm using it for anything else and I can always reduce it if necessary.

    Here is how to do it:

    1) Make sure you have enough space:

    Run the following command free -h in the terminal and it will tell you know much memory you have available and what's the status of your swap file if any.

    2) Create a swap file. You will probably need to use sudo with this command:

    Run this command fallocate -l 4G /swap1 and make sure to set the size in gigabytes. I used 4, but your needs may very well vary. You can also name the file itself whatever you want. I named mine swap1 just in case I'll want to add another later.

    3) Make sure only the root can mess with this file. You will probably also need sudo:

    Run this command chmod 600 /swapfile and it will change permissions on the file.

    4) Actually enable it. You will probably also need sudo:

    Run this command swapon /swapfile to flip the switch.

    Boom! You now have +4 Gb of memory for all your memory-intensive needs!

    Hope this helps someone!

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

    Can I build a site that detects similar images with PHP?

    Posted: 02 Jan 2022 11:31 PM PST

    Hello, I want to build a PHP program where users upload images and see if it is already on the site. How can I accomplish this? Please keep in mind that my website has more than 100K+ images. I need something that will give fast results.

    In other words, how can I read images and check for similarities?

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

    New year project: download all personal OneDrive photos, store them locally and train a ML model (object detection) to tag family member names, later I can search all images have my son, etc. Please find details in comment.

    Posted: 02 Jan 2022 11:15 PM PST

    How to hide video url like udemy?

    Posted: 03 Jan 2022 12:43 AM PST

    Hello guys, I am new to web development and I would like to know how can you hide the video url like udemy or any other online learning portal does.

    the example of video tag in udemy is something like this -

    <video class="vjs-tech" id="playerId__22706548--5_html5_api" preload="auto" controlslist="nodownload" tabindex="-1" src="blob:https://www.udemy.com/e1a98fa7-dba0-4b9e-b2fb-e218562dc245"></video> 

    the src attribute is not referencing a .mp4 extension file. Help me understand this.

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

    Is it okay to use PUT for an endpoint but reject if resource doesn't exist?

    Posted: 03 Jan 2022 06:00 AM PST

    I understood PATCH should be used when the client only provides the fields it wants to change of the resource, other fields shouldn't be changed.

    I want the client to provide all the fields of the resource since it has them and it reduces complexity, which fits PUT, but I also want to reject a PUT request to a resource that doesn't exist, which doesn't fit PUT as PUT should create the resource if it doesn't exist.

    The resources that are being touched here already exist with some default structure and id (the PATCH and PUT are for a nested field inside this structure, so id can't be changed), so POST is irrelevant.

    So which request fits better for replacing a resource but not creating it if it doesn't exist?

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

    My website knows where you live

    Posted: 01 Jan 2022 07:12 PM PST

    A little bit of fun. Don't take this too seriously.

    If you go to my website at tomontheinternet.com and visit the "About You" section, you'll see information about your OS, browser, and physical location.

    I made a video explaining how this works.

    submitted by /u/tom-on-the-internet
    [link] [comments]

    Are there any good ways to show/hide select options yet?

    Posted: 02 Jan 2022 08:40 PM PST

    I haven't had to deal with this for a few years, but I now have a project which requires me to show/hide select options based on other fields in a form. The options that are being shown/hidden are within optgroups. It is important for this requirement that existing selections are not cleared and that the order of the options (and which optgroup they are in) is maintained.

    In the past I remember there were three basic approaches:

    • Using display:none on an option (doesn't work for all browsers).
    • Removing/adding options (doesn't maintain order, e.g. if I remove option B from options A,B,C and then re-add it with append, the order is now A,C,B).
    • Replacing the select with a new select that has the relevant options (doesn't keep existing selections).

    Most of my searches are showing older results that suggest one or more of the above options.

    Does anyone know if there is a good way to do this now, or a library that handles it well? Thanks!

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

    How to allow custom entered HTML in item description, but make sure no JS gets entered?

    Posted: 02 Jan 2022 01:13 PM PST

    I am not sure how to describe this, but what I am looking for is a way to allow a user to use HTML tags (such as <ul>, <strong>) in an item's description, but making sure that there isn't any JS since the data will be served to other clients. Would I just need to make sure that there are only a certain set of tags that are available and disallow the <script> tag?

    Thanks!

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

    Plain HTML/CSS/JS with database

    Posted: 03 Jan 2022 01:43 AM PST

    Hello r/webdev , i've recently been trying to get my feet wet in aws and web dev and connecting my front end (currently hosted on amplify) to a database (not sure if i should use an aws service or firebase).

    Everywhere i turn to, they're using some sort of javascript framework. I'd like to practice just one project without any framework, what resources should I be looking at?

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

    Any websites stil use EJS

    Posted: 02 Jan 2022 07:25 PM PST

    I was learning about EJS and it seems pretty cool. I did some searching and a lot of results say that REACT Angular and Vue have overtaken the place of server side template engines like EJS.

    Is it still worth learning and making a project in EJS? Are there any big sites that use EJS that could look at?

    Edit: Thanks for the replies all

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

    How do I put a site online?

    Posted: 02 Jan 2022 09:09 PM PST

    Hey all, I've been working as a frontend dev for a few months now and I've also made various test projects as I went through college/learned on my own. The thing is I never had to actually put anything online outside of GitHub pages and Heroku. Even then, I've only ever used Heroku to make a website accessible online once. Anyways, I need to figure out how to get a site online for a personal website, but I'm not sure what to do or where to start. I know (think?) I need a domain and SSL cert, but not sure what else I need. I'd appreciate if someone could go through the actual steps of putting a site online after you have a local version up and running.

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

    What was your first webdev job pay?

    Posted: 02 Jan 2022 11:24 AM PST

    I am more interested in hearing from those that had no prior work experience and no degree. I understand that everyone's circumstances are different but I am interested in hearing what your first salary was like and what kind of company you worked for and what your job duties entailed. I know I may get berated for asking this but thanks to anyone who answers!

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

    What would be the best/easiest platform for a members page?

    Posted: 03 Jan 2022 12:48 AM PST

    For example, if I want to make pages for football clubs and allow ppl to sign up and become members for free so that they can post things on the page?

    Is there anything easier than WordPress that will be good for unskilled ppl to use?

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

    MacBook Pro M1 in hot city

    Posted: 03 Jan 2022 04:19 AM PST

    I have a 2015 15" MacBook Pro and I normally use <Node / React / Storybook / jest> servers at the same time.

    The thing is that I live in a hot city (around 35-38 celsius) and all the reviews of the MacBook Pro m1 are from reviewers from cold cities. I would like to know if the MacBook will turn on the fans all the time when developing. My current MacBook is loaded all the time with its fans at 100% making a lot of noise, I'm planning to change for the new 16" MacBook Pro.

    I would like to know, how the new MacBook Pro behaves in warm/hot cities?

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

    Do I need to know frontend and backend both to build a website?

    Posted: 02 Jan 2022 06:23 PM PST

    I am thinking to build a portfolio website which videos and photos will be uploaded and have email forwarded function like ex) contact@abc.com connected with my Gmail account.

    And I am learning frontend part now but only know basic of html and css yet.

    Initially I was planning to get a domain first and take more time learning things and build my website on my own as I am not so hurry for that yet.

    But I am not sure how things work and if I need to know backend knowledge to build a website too.

    Then I guess I will probably have to go for no-code required hosting companies such as Wix or Spacesquare..

    Any advice would be appreciated

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

    Where do you have your Postgres instance? RDS, GCP etc?

    Posted: 03 Jan 2022 12:19 AM PST

    In setting up Hasura and need to point it to a Postgres instance, but not on the cheapest/scalable service to use?

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

    Upgrade webpack from v4 to v5

    Posted: 03 Jan 2022 12:03 AM PST

    **problem solved, see below**

    Hi there,

    following problem, I'm currently try to upgrade webpack from v4 to v5. I upgraded all loaders, plugins etc. but when I try to run webpack, the following error appears:

    Cannot read property 'tab' of undefined

    After some google search I found out, that this error is mostly generated by some old loaders which doesn't support webpack 5. My problem is, I don't know which loader / plugin cause this error, because no further information is given in die CLI.Is there a way to get more data (maybe the error stack trace) in the CLI with webpack 5?

    Thank you in advance

    Edit: format

    Edit 2: Found out that the vue-loader causes the problem. Have to do more research why the vue-loader v15 doesn't work with webpack v5. Thank you u/CreativeTechGuyGames for your input.

    Edit 3 (solved): The problem was the initialization of the vue-loader.
    The part new VueLoaderPlugin() was not in module.exports.plugins, it was in module.exports.resolve.plugins
    After moving the code part outside the resolve section, it works now.

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

    No comments:

    Post a Comment