• Breaking News

    Friday, June 4, 2021

    been working on my own gaming platform for example (collision, velocity, mass, etc) so I decided to implement that on this simulator I'm not done yet and it's probably not an accurate solar system lol this was all created with vanilla JS, HTML, CSS web developers

    been working on my own gaming platform for example (collision, velocity, mass, etc) so I decided to implement that on this simulator I'm not done yet and it's probably not an accurate solar system lol this was all created with vanilla JS, HTML, CSS web developers


    been working on my own gaming platform for example (collision, velocity, mass, etc) so I decided to implement that on this simulator I'm not done yet and it's probably not an accurate solar system lol this was all created with vanilla JS, HTML, CSS

    Posted: 04 Jun 2021 10:01 AM PDT

    Don't use functions as callbacks unless they're designed for it

    Posted: 03 Jun 2021 11:09 PM PDT

    Web developer salary in Italy is Shit, why????

    Posted: 04 Jun 2021 02:13 AM PDT

    Why is the salary for web developers in Italy is so low? It is literally the same amount of money you'd make if you worked as a cashier in a super market. I don't mean to demean cashiers but I'm just saying learning web dev is a long and complicated process why is it treated like any job you'd get without any education or experience?

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

    Had one of the worst interview experience today and I'm feeling hopeless.

    Posted: 04 Jun 2021 12:26 AM PDT

    I was made to take an online assessment as a part of interview process, the website was just very bad, you have to be in full screen mode but the I cannot go to the next question without exiting the full screen as a result there was a number of warnings on logs but here's the best part, there was coding section, I was supposed to write code and I wrote the first line and clicked enter button to go to next line, guess what the "enter" button is directly assigned to "submit" option as a result my one line of code was submitted, no warning, conformation what so ever, I got a chance after a long time for an interview and this happens.

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

    The Developer’s Guide to Web Accessibility Auditing and Tooling

    Posted: 04 Jun 2021 01:16 PM PDT

    Chrome console - where to set tabs like Console, Elements, Application, Network

    Posted: 04 Jun 2021 12:43 PM PDT

    Chrome console - where to set tabs like Console, Elements, Application, Network

    I know the console fairly well and have an entire monitor dedicated to it. However, I'm always finding that some tabs disappear and I can't find them collapsed anywhere, or in the settings unchecked.

    This may be my own accidental doing where a key command hides something, but I want to master how to return my console to my desired layout, quickly. It would be nice if the comprehensive Settings gear had a Tabs section with simple checkboxes by the ones you want visible.

    https://preview.redd.it/strey4vfya371.jpg?width=1085&format=pjpg&auto=webp&s=a58688f511151231056df24b763c2946069afce7

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

    Do I upload the deployment ready or the local host version of my files when uploading to GitHub?

    Posted: 04 Jun 2021 03:50 PM PDT

    If I want to upload my vscode files to GitHub (for documentation), do I just upload all the files with them being changed to work with the heroku app for deployment, or should I revert the changes so anyone can simply run it with local host.

    For example, in index.js in the api folder, should I keep the const url as 'whatever.heroku.etc.' or should it be how it was earlier with 'localhost/etc.'

    Also, should I get rid of the build folder in the client, or does it not matter?

    I hope my question(s) makes sense. Thanks!

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

    Looking for practice technical interview assessments

    Posted: 04 Jun 2021 02:51 PM PDT

    Hi there,

    I have an interview for a leadership role, and I am told that my first interview is a "1 hour coding exercise" with a developer, so I am looking for ideas to practice before the interview.

    Didn't find much on Glassdoor, except 1 person said they were asked to write a URL shortener in 1 hour, with any language they want.

    If you have technical exercises that are about an hour long, would love your input!

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

    Is px the best way to define area, size or length in CSS?

    Posted: 04 Jun 2021 02:45 AM PDT

    There are people who use 720p, 1080p, 1440p and 4K displays. So, isn't px a bad way to do anything in CSS with? Should I still use px or is there a better unit to use?

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

    .net stack development docs?

    Posted: 04 Jun 2021 08:05 AM PDT

    Can anybody point me to a good resource for knowledge on web dev .net stack?

    I don't want to argue about why that's the worst platform.

    Thanks

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

    Itemize Bill for Website Redesign

    Posted: 04 Jun 2021 01:47 PM PDT

    I recently got a contact that is interested in my work.

    Her budget is pretty high and I have the skill set to take on the work. However, I don't want to mistakenly overcharge her (I've always been on a salary so this is new to me).

    If a client asks for a redesign and she's in the medical field how would you itemize the bill? There is currently no billing on website or products to sell. It's just a web presence for a medical office.

    Her hosting provider is ancient so we're going to set her up with a vps then get started with the design work.

    I may do a/b testing and google ads afterwards if she's interested so feel free to include that in budget.

    Thanks

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

    Fastest way to crank out a simple website for freelance?

    Posted: 04 Jun 2021 09:52 AM PDT

    So I'm a full time front end dev used to working with react for large web applications, however, I was recently approached by someone who wanted me to make them a simple website for their business, as a side thing (one long page, a couple other pages linked to as well)

    It doesn't seem like it would require very intense customizability / interaction. I could crank this out with a react app, but maybe that's overkill, and would take too much time doing custom styling etc. I get ads for no code tools like web flow all the time, and was wondering if anyone would recommend a similar no-code tool for a project like this. I'd love a tool where I could actually edit the underlying app code, but one that allows me to crank out the site as fast as possible. What do you all recommend? Wordpress? Webflow? Something else?

    The client wants to design the site in photoshop, and have me implement it, so a drag and drop tool with no customizability probably won't do, but I can always discuss trade offs etc if there's some tool that's somewhere in between that and full custom code someone recommends.

    Thanks!

    Tldr: as an experienced react dev, but inexperienced freelancer on small scale projects, how can I make an easy website, as fast as possible

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

    If a company hires another company to make their website, do they pay for the hosting themselves or do they go through the company that made the website each time?

    Posted: 04 Jun 2021 12:01 AM PDT

    as in the title, also, do companies pay for edits to the website like changing text etc?

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

    CSS and javascript don't load when accessing my site from domain.com. Accessing directly from my public ip works correctly. Any ideas?

    Posted: 04 Jun 2021 01:20 PM PDT

    I recently made this post on /r/nginx about this issue, but I'm not entirely sure nginx is the problem so I figured I'd post here also.

    I'm trying to make a super simple self-hosted webpage using nginx, but I can't get my css and javascript files to load correctly. When I access the webpage at publicip, everything loads and works fine, but when I try going to domain.com, only the html loads. In the console, I get the error "Resource interpreted as Stylesheet but transferred with MIME type" and in the network tab, I've confirmed that they are loaded as text/plain content type. Switching my DNS from Cloudflare to the Namecheap default didn't fix the issue, so I'm still not sure if my DNS or nginx is to blame. Anyone have any suggestions?

    Edit: the full response headers from domain.com/main.css are

    Age: 7900 alt-svc: h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400 Cache-Control: max-age=14400 CF-Cache-Status: HIT CF-RAY: 65a3a8f688740c40-DFW cf-request-id: 0a7a27ee1500000c405e26a000000001 Content-Encoding: gzip Content-Type: text/plain Date: Fri, 04 Jun 2021 21:44:34 GMT ETag: W/"5e73cc2c-16e9" Last-Modified: Thu, 19 Mar 2020 19:46:52 GMT NEL: {"report_to":"cf-nel","max_age":604800} Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v2?s=cSKsUwO05f506veHrgKidl%2Fuh2ae%2FHYdywQ2PhFdR%2BEE02WSPdUkUWawcGq1ZsAvXau19qTwOw80VBzysi1Wvu5JKJ1EuHHwChYuQzkFKMEklWPkJOgFF4AiTQkS"}],"group":"cf-nel","max_age":604800} Server: nginx/1.14.2 Vary: Accept-Encoding 

    and the response headers for ipaddress/main.css are

    Accept-Ranges: bytes Content-Length: 5865 Content-Type: text/css Date: Fri, 04 Jun 2021 19:50:08 GMT ETag: "5e73cc2c-16e9" Last-Modified: Thu, 19 Mar 2020 19:46:52 GMT Server: nginx/1.14.2 
    submitted by /u/luigman
    [link] [comments]

    Is Web Development a Viable Option for Making Passive Income?

    Posted: 04 Jun 2021 01:10 PM PDT

    Hi, backend developer here. I'm a freshman at college, and I'm doing an internship at a software company.

    I am curious to hear if it would be worth learning web development for the sole purpose of passive income. I would love to throw together something that generates ad revenue, or just some kind of project that can have me create more money for myself. I can only work during the summers, college is too demanding for a job, so passive income is important to me so that I can still be improving during college.

    Right now I have a Youtube channel that makes me ~$10 a day passively. I don't get much gratification out of making videos anymore though. I am wondering if web development might be a better path for me to generate this income but do it in a way that actually develops me professionally and aligns closer to my interests. I know nothing about web development though, the closest I've gotten to experience with it is having to use Selenium to pull things from a website for my job.

    My question is, is this realistic? Can I generate ad revenue, or create some kind of product online that could serve as income for me throughout the year? Is there a better CS-related path for me to take with the backend knowledge I already have?

    Any and all input would be greatly appreciated!

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

    Advice Requested - Web design "assistance" requested of me

    Posted: 04 Jun 2021 01:08 PM PDT

    I'm wanting a little advice, what other people would do in this situation...

    A guy I know gave his friend my contact information, as that guy wants a job done (both front-end and back-end). The guy wants a "search engine" but it talking about a web scraper, he wants to "search" various sites that he chooses, extract data from them, and then make it searchable on his new site.

    He claims he has a web developer lined up, but they're a little busy at the moment; he wants to discuss his idea with another web developer (me), to expedite the process, to get something started while his other developer finishes a few other projects.

    My question is: I don't want to explain to the guy how to do what he wants done, or explain how he's wrong (and if another "developer" hasn't tried to correct him with his "search engine" idea, they may not exist or they if they do, in my opinion, they're not well versed); so how would anyone advise me to proceed with being all "okay, I can help, but for a price" without sounding like a complete asshole?

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

    JQuery - How to use $(this) in a each loop?

    Posted: 04 Jun 2021 12:31 PM PDT

    Hi,

    I'm trying to get my fancybox data-caption to take the figcaption of the image dynamically. I created this code

     $('.blocks-gallery-item' ).each(function(){ $(".fancybox").attr('data-caption', $(this).find('figcaption').html()) }); 

    However, I don't know why it only take the caption of the last item instead of adding the caption to the corresponding item.

    Ex:

    <ul> <li class="blocks-gallery-item"> <figure> <a href="" class="fancybox"> <img> </figure> <figcaption> </li> <li class="blocks-gallery-item"> <figure> <a href="" class="fancybox"> <img> </figure> <figcaption> </li> <li class="blocks-gallery-item"> <figure> <a href="" class="fancybox"> <img> </figure> <figcaption> </li> </ul> 

    I want to add data-caption inside each <a> that is matching the correct figcaption.

    For now, it just take the last figcaption it find and put it to all <a>, so all items have the same fancybox caption...

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

    Localhost not displaying site correctly on iPhone

    Posted: 04 Jun 2021 12:13 PM PDT

    [SOLVED—see update below]

    I'm building a portfolio page as practice and I'm trying to use Live Server on VS Code to see a preview of the site across devices. It looks great on Chrome on my MacBook, but I also have my iPhone connected and for some reason, everything looks tiny.

    Here's what it looks like on my iPhone when viewing the page in CodePen (perfect) vs. what it looks like when viewing the page via localhost: https://imgur.com/a/cDYVDMH

    Been trying to troubleshoot but having trouble finding this exact problem. My best guess is that it has something to do with the media queries I'm using and the fact that Safari usually interprets the width of the iPhone 11 Pro's screen as 375px when it's actually 1125px, and maybe, because I'm loading this page as a local file, Safari is rendering it based on the phone's literal screen width? And if that's the case, how can I fix it?

    Here's the CodePen with the whole project as well (WIP): https://codepen.io/cutlersheridan/pen/vYxZWBj?editors=1100

    UPDATE:

    Ahh solved it thanks to this StackOverflow answer.

    Just had to add the responsive meta tag: <meta name="viewport" content="width=device-width, initial-scale=1.0">

    Should've brushed up on what goes at the start of the HTML file when I switched from CodePen, which includes everything at the top automatically and invisibly, to VS Code.

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

    How should I prepare for a selection test?

    Posted: 04 Jun 2021 11:24 AM PDT

    So I applied for a summer frontend course. The course will mostly focus on JS, Angular, HTML and CSS but prior knowledge of those technologies is not required. What they will be testing are some general programming skills, OOP, and git basics.

    What kind of concepts should I specifically focus on? I do have some background in programming but it's been quite some time since I've written any serious code so I definitely need a reminder, especially when it comes to OOP concepts.

    What type of tasks are usually given to test such basics? Should I look into recursion, sorting algorithms, algorithmic complexity and similar or is that too advanced?

    Is there some literature/ videos/ quick course or anything in general you would recommend for me to get back into it in a short period of time (about a week)?

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

    Am I using too many SQL joins in my API query?

    Posted: 04 Jun 2021 11:20 AM PDT

    I have a web app that stores information about employees, and I have an API that interfaces between the front-end and my database. When the API receives a request to GET a list of all employees, I want the API to send a response which gets parsed into JSON and looks something like this:

    https://i.imgur.com/mpwX92y.png

    Here is an entity-relationship diagram of my DB:

    https://i.imgur.com/0hTgcyY.png

    And here is that same diagram with some dummy-data:

    https://i.imgur.com/DhbLVPj.png

    The two tables in the yellow square are junction tables that help handle a couple many-to-many relationships. A few important points to mention:

    1. An employee can work at multiple offices.
    2. An employee can have different titles at different offices.
    3. An employee can have different customers at different offices.

    I want to query this dataset and get a result that shows the employee's name, their job title, and their customers for specific office location (Utica in this example). The query I came up with uses FOUR joins. The query and result are shown here:

    https://i.imgur.com/oBQLOwo.png

    Then, using Javascript in my API, I iterate over the records and create an Object like the one I showed above:

    https://i.imgur.com/mpwX92y.png

    In my opinion, this seems very hacky.

    • I don't like how I used 4 joins.
    • I don't like how I queried a result that has duplicate information (employee and jobTitle is repeated for each unique instance of customer). Imagine if there were 50 employees had 100+ customers each.
    • I don't like how I had to use Javascript to iterate over the whole result to create the response I was looking for.

    Is what I'm doing okay or is there a better way to go about it?

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

    How to link directly to photoshop and open a given PSD file

    Posted: 04 Jun 2021 10:42 AM PDT

    I'm not sure this is even possible but what I want to do is the following:

    I have a PSD file on my site, and I want a button which when clicked will launch photoshop & open that PSD file from my site. The file will be hosted in dropbox so photoshop accessing it should be possible. I'm not finding any way to launch photoshop from a browser. Any ideas?

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

    How much time would I have to invest to create a site similar to Letterboxd?

    Posted: 04 Jun 2021 10:25 AM PDT

    I don't have much prior knowledge about programming, much less web development, and I have no clue how long it would take me to actually build a site like that. Before I just start a really time-consuming project like this on a whim, I want to have some sort of expectation. I have no clue what I'm going to get into; if it will take me several weeks, months, or even years, so I thought this would be a good place to ask for some advice.

    In case anyone wants to know why I had a dumb idea like this: There is not a single decent community or site whose main focus is to exclusively track TV shows. That's all I'm going to say.

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

    Free Automated Adblock Tester

    Posted: 04 Jun 2021 09:48 AM PDT

    Built a community driven personal project for creating and sharing shorts based content on programming and other topics [ Built on ReactJs, React Native & Java Spring Microservices ]

    Posted: 04 Jun 2021 02:11 AM PDT

    Built a community driven personal project for creating and sharing shorts based content on programming and other topics [ Built on ReactJs, React Native & Java Spring Microservices ]

    Hi ,

    I am an experienced developer, primarily a backend+ DevOps guy. The lockdown period of 2020 gave me some time to work on a personal project that makes learning programming ( or for that matter any topic) quick and concise.

    [screenshots below]

    The idea was a platform to create and discover shorts ( 30 seconds reads called microideations ).The UI is simple and intuitive and will allow learning related content using simple swipe gestures.The experts can access the web interface created in React and create content in their area of expertise. The backend is an API layer created out of Java microservices.

    The star of the show, the app is in React native (This was my natural choice as I learned React for the web portal ).

    Screenshots

    ReactJS

    React Native

    Javascript

    Spring framework

    App in action ( React Native )

    Programming shorts

    Ideator UI for creating shorts ( React JS )

    ReactJS portal

    The app is free to use ( No ads, no mandatory registration ) for as many users as I can personally support. It has over 250 ideations on- Java- Spring framework- Kotlin- Data structures & Algos- React- React native- Databases

    I request everyone to use this as a resource and if you are an expert in any field or development or programming, contribute content ( shorts ) on your area that you can share with others.

    Downloadhttps://play.google.com/store/apps/details?id=com.microideation.appWebsite: https://www.microideation.com/My Profile: https://www.microideation.com/mi-profile.html

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

    No comments:

    Post a Comment